**** BEGIN LOGGING AT Sun Jan 15 03:00:01 2017 Jan 15 03:12:15 0% Scala :D Jan 15 03:54:37 as it should Jan 15 03:59:27 I am trying to achive this on my friends HTC but keep getting permission denined dev mode is on and usb debugging http://www.addictivetips.com/mobile/how-to-gain-s-off-radio-and-engineering-on-htc-desire-hd/ Jan 15 04:00:10 CedricBeust lol Jan 15 04:00:48 I know of exactly one person who advocates for Scala on Android and he's... not exactly rational about it :) Jan 15 04:01:18 missing rational advocates Jan 15 04:10:36 CedricBeust read any good books lately ? Jan 15 04:10:46 programming stuff or otherwise Jan 15 04:10:53 Sadly, haven't read technical books in years Jan 15 04:11:17 Used to, but haven't felt the need to in a while. Feels like books get outdated very quickly these days Jan 15 04:11:39 yeah i was looking at 'docker in action' and its already out of date, but thats a young tech Jan 15 04:12:47 its almost like buying a phone, there are good times and bad times to buy one (in the upgrade cycle) .. you don't by a new iPhone 10 mos into the cycle; with these tech books the sweet time to read them is a few months after they are released Jan 15 04:14:24 CedricBeust do you jenkins or travis ? where is a good place to learn more about how those work in the context of mobile app dev ? Jan 15 04:14:38 continuous delivery, setting up a pipeline, etc Jan 15 04:14:56 maybe not tool specific, more like 10,000 ft overview Jan 15 04:15:32 i noticed the fowler series has continuous delivery book, buts its like 10 years old ... not sure if things are much different now Jan 15 04:17:03 Aight my friend is getting impatient could someone please point us to the right direction? Jan 15 04:17:24 If the latest UncleBob blog posts are any indication, people that age are not exactly worth your time following Jan 15 04:19:21 oh, fowler is just the series editor. its those black-covered addison wesley books Jan 15 04:19:29 i think they just stamp his name on it :D Jan 15 05:17:07 Aight lets res ask and restart Hello im jlx and my friend wants to update his HTC desire hd but via adb we keep getting permission denined even debugging and dev mode is on can anyone give any advice? Jan 15 05:21:10 jlx: a) this is app dev not updates b) that's a pretty old phone c) do you get a debug notification on the phone? d) tried a different port and/or cable? e) what PC OS? f) if Windows, needs drivers Jan 15 05:23:11 A: Sadly windows and drivers are installed b: best knowledge should be here in any case heh. and yes its old asf i told him buy a proper phone (altough i use a brick myself) Jan 15 05:24:01 but we are missing something since we keep geting permission denined Jan 15 05:26:30 But leeds thank you for replying thou Jan 15 06:23:11 When refusing to accept a GoogleApiClient, how do I get the proper result code/which one is it? Jan 15 06:24:39 The documentation says that it's the number 13, but I'm getting 0 when I cancel the authorization of a gapi service Jan 15 06:25:03 https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult.html#CANCELED Jan 15 06:41:07 * raoul11 thepooshes thepoosh Jan 15 06:46:05 raoul11 is da BOMB Jan 15 06:46:19 raoul11: are you coming on Tuesday to the Google prefs thing? Jan 15 06:46:46 wasnt invited Jan 15 06:46:48 link? Jan 15 06:46:49 https://www.meetup.com/TLV-Android-Academy/events/234739496/ Jan 15 06:47:36 are there spots open? Jan 15 06:48:07 dunno Jan 15 06:48:09 if so register Jan 15 06:51:11 think im pending thepoosh Jan 15 06:51:18 registered though Jan 15 06:51:22 I'll be waiting for you there Jan 15 06:51:42 ran shmueli is lecturing? Jan 15 06:52:14 ran nachmani Jan 15 06:52:19 not shmueli Jan 15 06:53:58 KEKEK Jan 15 06:54:01 shmueli is the chef Jan 15 07:09:04 Nevermind about my question. Jan 15 07:58:45 squ: here? Jan 15 09:00:48 Is it normal just asking? Could it be cable? or something else? http://i.imgur.com/ezXDuU3.png Jan 15 09:01:48 Nah nvm it only happens with clear command nvm Jan 15 09:02:02 remebered it was persistent Jan 15 10:12:46 Hey guys I have an imageview with android:adjustViewBounds="true" and android:scaleType="centerCrop" and what it does it makes my imageview stretch full width in the listview but it keeps the aspect ration and it's not cropping anything Jan 15 10:13:41 Hi everyone Jan 15 10:14:07 what I want is if the width of the image is smaller than the parent then show that original width Jan 15 10:15:16 how about fitCeenter Jan 15 10:16:11 Ashiren I will try it now Jan 15 10:20:50 or see this http://etcodehome.blogspot.com/2011/05/android-imageview-scaletype-samples.html Jan 15 10:26:40 adjustViewBounds is usually pretty unreliable if you have arbitrary images Jan 15 10:26:43 I usually avoid using it Jan 15 10:40:20 https://s30.postimg.org/byjdqydwx/image.jpg Jan 15 10:40:33 This is how my listview looks Jan 15 10:41:29 The first 3 images are 200px width and the height range is about 100-150 and the last icon (music note) is 24 dp Jan 15 10:41:40 I want the 3 first images to be the real size Jan 15 10:42:44 http://pastebin.com/y1qNNhEd Jan 15 10:44:02 Is it possible that the image is already 200px in that screenshot? Jan 15 11:38:40 Hi My Munjeros,, I just got my hands on a 'New'old HTC desire HD (gsm, A9191). It's old but a love to me all the same. And much better than my really old galaxy Xcover GT s5690 with a ghostly crackelyzed screen. So I looked and saw that some HTC desire, atleast, is supported by rom cm-11-unofficial http://trueandroid.com/en/update-htc-desire-to-android-4-4-2-kitkat-via-cm11-unofficial-how-to/. So I Jan 15 11:38:46 went to adb and tried to set ... Jan 15 11:38:48 ... S OFF but cant get root permissions in the root shell. No write to sdcard or / 'su' 'push' and 'self' gives permission denied even though i have debug mode on on the phone, Am I a idiot to think that there is something seriously wrong.. or am I just an idiot? I found nothing useful on old onkel G How ever i thickled. I ask myself what the hell is happening to me.. I did a Factory reset! I know Jan 15 11:38:54 this eventually is not the ... Jan 15 11:38:57 ... place I should ask but we all know the spirit wanders here and that your knowledge coctails ofcource is the best! :-) Sorry? HELP! Please I'm so darn desperato and got important stuff going on! Jan 15 11:42:59 Android is 2.3.6 Jan 15 11:49:36 jirido, you need to go to #android-root for root stuff Jan 15 11:50:10 https://forum.xda-developers.com/htc-desire-hd Jan 15 12:02:52 I have a MySQL database inside raw/ and i was plannign to read from it by using Xenial Jan 15 12:02:52 i only need to read from it on startup and then i can ignore it Jan 15 12:02:53 how would one do so? Getting the resource path seems to be impossible because Jan 15 12:03:04 ... resources have no paths Jan 15 12:19:19 ButtonBarLayout has direction=local by default, but i don't want to have RTL on rtl phone, how should i keep it ltr always?! Jan 15 12:28:43 thepoosh: yes Jan 15 12:30:41 Is there a way to download android sdk without the sdkmanager? Maybe a github mirror? Jan 15 12:31:56 manager is just gui? Jan 15 12:35:33 what am I doing wrong here? none of the alarms trigger http://paste.ofcode.org/DC4ZmTt3dYbur5RcsLdrhN Jan 15 12:37:52 unlikely you'll find someone who willl read thru all your code and debug it Jan 15 12:38:02 alllllll the code? Jan 15 12:38:19 i only have doubts about line 10 Jan 15 12:38:23 and it's not unlikely Jan 15 12:38:25 bruh Jan 15 12:42:02 there is nothing wrong with the code, this is how alarms are set! Jan 15 12:42:09 i am baffled Jan 15 12:42:13 baffled I am Jan 15 12:42:33 java.sql.SQLException: path to 'android.resource://de.dralle.dralledvd/2131230720': '/android.resource:' does not exist Jan 15 12:43:02 I'M trying to connect to Uri.parse("jdbc:sqlite:android.resource://de.dralle.dralledvd/" + R.raw.movies); Jan 15 12:44:05 what kind of url is that Jan 15 12:45:41 I mean the scheme Jan 15 12:46:13 how could there be multiple schemes Jan 15 12:53:36 need advise: i am gettin a json from the api via retrofit/gson, which maps to a pojo. there could be occurences where some fields will be missing in the api - and i want to exclude those objects from the final list of legit pojos Jan 15 12:54:22 you'll have to iterate and remove them then Jan 15 12:54:48 isnt it possible to use a jsondeserializer? Jan 15 12:55:18 i am using it now, but once it catches the exception, it stops deserialization completely Jan 15 12:55:26 squ: I finally managed to make the fucking theme work Jan 15 12:55:28 sort of Jan 15 12:55:36 * raoul11 themes thepoosh Jan 15 12:55:42 :S Jan 15 12:55:51 raoul11: I am poorer today Jan 15 12:55:55 raoul11, you'd have to deserialize the entire json, I think, not the elements in a list separately Jan 15 12:56:01 wife scraped a car while talking on the phone Jan 15 12:56:13 am poorer than you Jan 15 12:56:27 Zharf: i am testing on a complete json which is basically a list of pojos Jan 15 12:56:47 code? Jan 15 12:56:56 lemme gather something Jan 15 12:58:28 How do I add a file to my classpath? Because i have a sql database file i want to read from Jan 15 13:03:13 Zharf https://gist.github.com/anonymous/f4aca63edb932094a8b411b3a760dbc9 Jan 15 13:03:36 the object is a plain pojo with setters/getters Jan 15 13:04:53 you'll need to register a deserializer for ArrayList Jan 15 13:05:07 hmm Jan 15 13:05:07 otherwise you can't skip elements in the list Jan 15 13:06:59 how should that deserializer look like? Jan 15 13:17:02 hi Jan 15 13:17:11 hi bob Jan 15 13:17:18 hi Mel Jan 15 13:17:26 hi thep Jan 15 13:17:30 heh Jan 15 13:17:31 hi rao Jan 15 13:17:36 :) Jan 15 13:18:17 freelancerbob: what's the news? Jan 15 13:18:19 looking for app or solution for android phones. App will run on android phones in shops where you see just product presentation and after click only internet explorer with internal page will appear. Jan 15 13:18:49 freelancerbob: cannot be done unless you build your own launcher Jan 15 13:19:00 which isn't too hard Jan 15 13:19:04 also Jan 15 13:19:06 internet explorer? Jan 15 13:19:08 you mean browser? :P Jan 15 13:19:28 tx: don't condescend the man Jan 15 13:19:50 Hey I've seen someone ask if they could get IE running on android Jan 15 13:19:53 because of compatibility Jan 15 13:19:54 tx: webview would be enough Jan 15 13:20:00 Endge is the BOMB! Jan 15 13:20:13 it finds everything super fast when I bing it Jan 15 13:20:33 freelancerbob: look into launcher and overriding the home and power buttons Jan 15 13:20:42 thepoosh: so on an old project of mine I am using google's gdata libraries Jan 15 13:20:52 which are old, but they are the lastest versions Jan 15 13:21:12 for some reason this makes the projects build time about 10 times longer than it should be Jan 15 13:21:27 and the build log spams with warnings (build is successful though) Jan 15 13:21:38 thepoosh: but how i lock that phone only for that application ? Jan 15 13:21:49 thepoosh: will you show it? Jan 15 13:21:55 not yet Jan 15 13:21:57 almost Jan 15 13:22:02 show it? Jan 15 13:22:05 freelancerbob: you listen to boot complete Jan 15 13:22:06 I missed some context. :( Jan 15 13:22:12 and start the app Jan 15 13:22:18 and disallow power and home clicks Jan 15 13:23:11 squ: http://imgur.com/a/jTEcr Jan 15 13:23:28 for some reason the hint text color only changes in the closed state Jan 15 13:23:33 and not the opened state Jan 15 13:23:47 did you used the my themes Jan 15 13:23:54 what is this? Jan 15 13:23:56 well, some of them Jan 15 13:24:00 do tell. Jan 15 13:24:04 tx: a 4 days old discussion Jan 15 13:24:08 ah Jan 15 13:24:09 about my poor layout skills Jan 15 13:24:16 you need to use all properties to color this thing, because I tested that on many phones Jan 15 13:24:20 squ: did you like the masking? Jan 15 13:24:24 Your keyboard is very pre 5.0 :P Jan 15 13:24:37 it's a Note 3 running 4.4.2 Jan 15 13:24:41 that'l do it. Jan 15 13:24:47 on purpose Jan 15 13:24:50 to check the support lib Jan 15 13:24:55 yeah Jan 15 13:25:02 I also have multiple newer devices Jan 15 13:25:09 I don't understand why people ask for help and then skip it Jan 15 13:25:10 N5 N5x N6 N6p Jan 15 13:25:12 OPO Jan 15 13:25:21 squ: I didn't skip it Jan 15 13:25:23 asked to search thru the logs and don't use it Jan 15 13:25:25 don't be like that Jan 15 13:25:33 I am putting it together Jan 15 13:25:49 don't be like that, you're my sunshine Jan 15 13:26:12 :3 Jan 15 13:26:13 your code has been open here since Wednesday Jan 15 13:26:16 <3 Jan 15 13:26:21 get the properties I listed in that paste to color this thing Jan 15 13:26:41 After many removing, swapping and excluding with my build.gradle file Jan 15 13:26:44 this: https://hastebin.com/eyowepaciz.vbs Jan 15 13:26:47 still happens every time Jan 15 13:26:47 all but, android:foregroundTint is not recognized by the system here Jan 15 13:26:52 and it slows everything down. Jan 15 13:26:59 and there are restrictions I cannot bypass Jan 15 13:27:04 due to the project settings Jan 15 13:27:12 thepoosh: tried support packages? Jan 15 13:27:15 this is not an app I'm making myself Jan 15 13:27:23 yeah, I have design and appcompat Jan 15 13:27:31 compile 'com.android.support:appcompat-v7:25.0.1' Jan 15 13:27:31 compile 'com.android.support:design:25.0.1' Jan 15 13:27:31 compile 'com.android.support:support-v4:25.0.1' Jan 15 13:28:14 try AppTheme too Jan 15 13:28:14