**** BEGIN LOGGING AT Thu Dec 03 03:01:14 2015 Dec 03 03:01:27 20 GB for an SDK is... Stupendious. Dec 03 03:01:51 Arahael: what sdk Dec 03 03:02:24 gordon_: The 'latest' one. Dec 03 03:02:50 gordon_: Seems 13 GB are in 'system-images' Dec 03 03:03:33 Which consists of android-21, android-22, and android-23, the latter being 5.6 GB. Dec 03 03:05:00 Anyone know why changing background of an imageview changes its size? Dec 03 03:05:41 Arahael: so that's emulator memory images Dec 03 03:06:27 Leeds: It's more than my virtualbox and dosbox installs, combined. Dec 03 03:07:01 I'm just surprised. Dec 03 03:08:32 Leeds, you happen to know anything about what I asked above? Kinda stuck... Dec 03 03:08:40 drose379: no idea Dec 03 03:08:46 Agh Dec 03 03:09:33 Arahael: one android image is 1.2 gb Dec 03 03:12:42 Anyone have experience with custom drawables as view backgrounds? Dec 03 03:13:54 Having an issue where whenever I change the background of my imageview, the image zooms way in Dec 03 03:16:29 gordon_: Yeah, I suppose it makes sense though I never chose to download them. I expected that the SDK be just an SDK. Incidentially, I don't think xcode is this big, even with their emulators. Dec 03 03:17:44 they aren't the sdk, really Dec 03 03:17:50 drose379: drawables have their own margins Dec 03 03:18:02 the view will adjust its own to match when you set the bg Dec 03 03:18:10 This kind of makes sense... Dec 03 03:18:20 So I need to set matching margins for the bg? Dec 03 03:19:05 is it the cat icon agian? Dec 03 03:19:24 What do you mean Dec 03 03:19:31 Yes, im working with my cat and dog icons Dec 03 03:19:54 can you pastebin the drawable and the layout? Dec 03 03:20:15 Yep, one moment.. gonna try to add padding and see if it works Dec 03 03:20:45 Works, thanks alex_PP Dec 03 03:20:51 You lead me in the right direcion Dec 03 03:23:31 how's you project coming along drose379? Dec 03 03:23:54 Not bad, thought I was ready to look into releasing, but I had a few people look at it and I think I need to re-vamp some of the design Dec 03 03:23:57 Thanks for asking Dec 03 03:26:26 hi Dec 03 03:27:08 Just installed Android Studio and tried one of the example projects. It didn't run. http://stackoverflow.com/q/33983285 Dec 03 03:27:08 UpdateCheck: failed to get a URL: 51 (Error) Dec 03 03:28:18 I'm trying to figure out why these deep links will not work. The flow is supposed to go like this: webbrowser redirects to a page in the app -> login screen opens -> intended page (instead of the home page) Dec 03 03:28:54 searching google seems to suggest that other people are having problems using a custom android:scheme as opposed to http Dec 03 03:29:02 couldn't find any solutions though Dec 03 03:52:24 AlexTaylor: are you in China? I had many problems with Gradle+Android Studio updating when I was in CHina, even when I was using my VPN Dec 03 03:52:49 i didn't update libs on my apps frequently because it was so difficult to connect Dec 03 03:52:54 -.- Dec 03 03:53:56 I don't know many other countries that block Google. So maybe you have the same problem as I did Dec 03 04:01:22 anyone has experience of requesting location using pending intent? Dec 03 04:06:32 liuwenhao: Nope, not in China Dec 03 04:06:37 But am behind a proxy Dec 03 04:07:36 are you just testing the proxy for your emulator? Dec 03 04:08:32 liuwenhao: Nope, I need a proxy to connect to the internet on my host. So I've set the http_proxy env var everywhere Dec 03 04:14:46 does anyone else have problems with using a proxy with the emulator Dec 03 04:15:11 I have to restart the emulator all the time because the internet connection will suddenly quit Dec 03 04:18:33 pfn: please don't force 1.0.0-beta-2423 into kotlin-plugin, last beta have bug in android-extentions Dec 03 04:20:07 pfn : at least I suppose it's android extentions Dec 03 04:20:42 vigilancer, you can choose which kotlin version you want to use by using kotlinVersion := "1.0.0-beta-..." Dec 03 04:20:53 pfn : I know) Dec 03 04:20:57 then it's not forced Dec 03 04:20:59 it's just default Dec 03 04:21:19 pfn : yeah, poor word choice Dec 03 04:22:00 pfn : when it's default and you getting error like "java.lang.NoSuchMethodError: kotlin.ArraysKt.joinToString$default(" Dec 03 04:22:15 it's not obvious that it's about kotlin version Dec 03 04:26:02 hmm Dec 03 04:26:16 i still need advice about request location using pending intent Dec 03 04:27:33 https://devnet.jetbrains.com/message/5564954 Dec 03 04:27:36 heh, nice, unanswered Dec 03 04:28:21 I guess there can be an abi incompatibility that would make kotlinVersion fail to work Dec 03 04:31:17 thing is i do requestlocationUpdates/singlelocation and i dont get a blinking location fix Dec 03 04:35:21 what's in kotlin android extensions ? Dec 03 04:39:53 gordon_: https://kotlinlang.org/docs/tutorials/android-plugin.html Dec 03 04:43:46 CedricBeust have you seen the 'kotlin in action' book, is it significantly better than the web site ? Dec 03 04:45:56 ok, something that I dont need Dec 03 04:46:00 thank you CedricBeust Dec 03 04:47:24 gordon_: Pretty useful if you write Android apps Dec 03 04:47:56 how can i find out if my device can read/write MiFare nfc cards? Dec 03 04:49:52 https://www.reddit.com/r/Android/comments/3v7as9/for_andy_rubin_android_comes_calling_again/ Dec 03 04:52:35 i wonder if he's going to recruit the orginal danger employees Dec 03 04:53:43 haven't read much about this anywhere though "In the meantime, Google has grown increasingly concerned over Apple’s lock on the high end of the smartphone market and is taking steps to change that." Dec 03 04:54:20 Typical journalism sensationalist with no credible evidence to back it up Dec 03 04:54:21 Is there any way to get Gradle to not rebuild the project every time Android Studio is relaunched? Dec 03 04:54:29 except maybe "internal sources that don't want to be named" Dec 03 04:54:35 but i suspect some of it is because people pay for privacy (Apple) ; it doesn't matter how much money you dish out - there isn't much privacy with android. Unless you got black phone, etc Dec 03 04:55:11 liuwenhao lol, how many times do you relaunch AS Dec 03 04:55:12 As opposed to Apple that offers great privacy because... well, Apple tells you so and you should really believe them Dec 03 04:55:35 maybe they do, maybe they don't - but they can , google can't Dec 03 04:56:07 not often g00s, but enough for it to be annoying (takes around 30 seconds to build every time I launch and maxes out my cpu usage) Dec 03 04:56:19 hello Dec 03 04:56:23 liuwenhao yeah, it takes about 2minutes on my machine Dec 03 04:56:31 I have some errors with Android Studio 2.0 so I have to relaunch alot more often than I did when I was using 1.5 Dec 03 04:56:58 hm ok. maybe install both side by side Dec 03 04:57:26 it could be a while before 2.0 is ready to human consumption ;) Dec 03 04:57:32 s/to/for Dec 03 04:58:33 I hate having a computer without admin Dec 03 04:58:40 oh no Dec 03 04:58:52 I have to use emulators because they won't let me have usb access yet Dec 03 04:58:56 RustyShackleford a work computer ? portable apps are your friend :D Dec 03 04:59:27 then I tried to run an adb command from powershell Dec 03 04:59:51 Do they not want you to do your job? -.- Dec 03 04:59:59 are you kidding I can't use the terminal ever? Dec 03 05:00:36 I'm a new hire and trying to look smart. It's not going so well. I wonder how these guys deal with this Dec 03 05:03:17 hello my friend invited me to make a game with him and I am trying to set this up... there is a bird collecting coins Dec 03 05:03:50 if (coin.collides(bird.getBounds())){ Dec 03 05:03:50 coin.setIsHidden(true); Dec 03 05:03:50 coinCount += 1; Dec 03 05:03:52 } Dec 03 05:04:09 is there a way i can print this coinCount Dec 03 05:04:23 in a certain position? Dec 03 05:09:55 Is it bad practice to comment certain parts of my manifest? Any downsides to it? Dec 03 05:10:50 Or should I just leave it default since the manifest is viewable by any user of the app? Dec 03 05:13:24 liuwenhao: Nothing wrong with it Dec 03 05:13:38 I do that occasionally, e.g. to explain a permission that might be surprising to someone Dec 03 05:13:59 Yeah, that's what I was going to do, add reasons for all the permissions in the manifest for any devs who come after me Dec 03 05:14:17 Thanks Dec 03 05:14:26 Yup, that's a good thing. Actually, I believe it should be possible to display such explanations to the user at install time Dec 03 05:15:07 (by "I believe", I mean "I wish", not "I think it's possible") Dec 03 05:15:47 That would be a great feature... which is why it probably won't happen :) Dec 03 05:16:18 1-star uninstall reviews because of permission paranoia are the worst Dec 03 05:17:08 Yup, these are the most common Dec 03 05:17:43 one thing i'm still trying to understand is why BLE requires location permission Dec 03 05:17:46 But then again when your flashlight app needs identity, location, internet, SMS, etc permissions I can see why it pisses people off Dec 03 05:22:57 with a tractor like this, farming can be fun http://www.gizmag.com/ferrari-sky-jump-v95-dualsteer-tractor-tracks/40713/ Dec 03 05:23:00 BLE can do local location Dec 03 05:23:13 liuwenhao algorithms can gleem location from photos too Dec 03 05:24:02 do photo apps not need location permission to embed exif location data? Dec 03 05:24:15 liuwenhao i mean from image data ;) Dec 03 05:25:31 ah true. I didn't even know that exif could hold location data until that guy from Mythbusters got robbed after posting a picture near his house on Twitter Dec 03 05:25:40 and they knew he was gone Dec 03 05:27:13 http://www.nytimes.com/2010/08/12/technology/personaltech/12basics.html?_r=0 this one, old story but more relevant than ever :D Dec 03 05:28:03 liuwenhao i dont mean exif or geotag; i mean machine learning algorithms that can identify the location a picture was taken Dec 03 05:29:07 even google image search could do this years ago Dec 03 05:29:25 just upload an image to google and it will try to identify where it was taken, or the subject Dec 03 05:29:51 Oh I see Dec 03 05:32:23 That sounds like it would be a fun project to work on Dec 03 05:53:26 hi guys Dec 03 05:53:47 i decompiled an apk modified it and need to recompile into apk again how i do iT? Dec 03 05:55:52 theWhisperIn, what did you use to decompile? apktool? Dec 03 05:59:34 no Dec 03 05:59:38 i uploaded it Dec 03 05:59:55 to a website that gave me everything Dec 03 06:00:33 KevinM: http://www.javadecompilers.com/apk Dec 03 06:02:39 Oh, so it's like dex2jar? Never had to recompile an app that way and I doubt it's easy unless you can leverage the Android build tools to convert your jar back to the dex. Dec 03 06:03:17 hello Dec 03 06:03:20 just asking Dec 03 06:03:23 k Dec 03 06:03:32 I am a student of Computer Science and I do not know Dec 03 06:03:37 whether I am lucky or not Dec 03 06:03:46 but during this afternoons draw lots Dec 03 06:03:51 theWhisperIn, your best bet is probably to use apktool to decompile, modify the smalis, and then recompile with it. Dec 03 06:03:59 I got my thesis to do Android Mobile App Dec 03 06:04:13 and I just learned Java programming about a year ago Dec 03 06:04:35 given my beginner's skills on Java Dec 03 06:04:40 people can see all your java code from decompiling your apps? Dec 03 06:04:58 though I can understand Java language though but is it advisable I go ahead with my Android App thesis Dec 03 06:05:31 please advise as I still have this afternoon to confirm with my thesis or not Dec 03 06:05:37 thanks Dec 03 06:05:38 njcomsec, eh kinda. You can approximate it. Dec 03 06:06:57 so whats to stop someone ripping game code and just changing the assets Dec 03 06:07:08 like same game with different graphics Dec 03 06:07:12 Nothing. Not different from any other software. Dec 03 06:07:30 i guess Dec 03 06:08:15 Although proguarded Java is pretty hard to make sense of after decompilation Dec 03 06:08:46 thanks i will look into that Dec 03 06:08:53 Yeah. If you're serious though, and don't mind taking lots of notes, it's definitely doable. Dec 03 06:08:59 is scala easier to understand before or after proguard ? Dec 03 06:09:10 lol Dec 03 06:09:18 It's even harder to understand before obfuscation Dec 03 06:09:26 nah Dec 03 06:09:30 scala is nice Dec 03 06:09:43 bah Scala is history Dec 03 06:09:47 i can barley make sense of my own code anyway lol Dec 03 06:10:48 If you're interested in learning how it works decompiling your own code is a great way to go Dec 03 06:11:26 true Dec 03 06:11:48 classyshark makes that even easier now https://github.com/google/android-classyshark Dec 03 06:12:54 easyOnMe, I don't think we can answer that for you. if you're asking if Android is "hard" then I'd have to say not really and you're already ahead of the game if you have a background in Java. So make of that what you will. Dec 03 06:14:31 easy, do you even have a choice? if you drew this Dec 03 06:14:33 KevinM: No I am just asking given my level of skill at Java which is around beginner to intermediate or just beginner level to be conservative Dec 03 06:14:59 Do you think I can make some head way if I pursue the thesis on Android Mobile App Development Dec 03 06:15:07 if you have a choice, why not pick something you know better? Dec 03 06:15:08 just asking of an honest opinion Dec 03 06:15:21 g00s, looks like JD-GUI. Good find, thanks Dec 03 06:15:24 I have php and java to choose Dec 03 06:15:44 KevinM its in a google repo, i wonder if jesusfreke did it Dec 03 06:15:49 but seems like android mobile app is something not anyone in class is willing to take Dec 03 06:16:30 easyOnMe nobody knows your capabilities, so nobody can answer that question for you Dec 03 06:16:32 so just asking if given a beginner's level of Java skill will it allow me to at least make headway in the android app development Dec 03 06:16:43 ok Dec 03 06:16:44 it depends hw much time you have Dec 03 06:16:44 How much time do you have to work on this? Dec 03 06:16:45 kids in highschool have written android apps Dec 03 06:16:50 six months Dec 03 06:16:52 the structure of android apps is different to java Dec 03 06:16:54 CedricBeust: why do you think scala is history? Dec 03 06:16:58 activities etc Dec 03 06:17:08 Six months is plenty of time given the resource that are freely available on the Internet for Android these days. Dec 03 06:17:12 *resources Dec 03 06:17:20 KevinM: ok so its doable Dec 03 06:17:23 good good Dec 03 06:17:30 If you're willing to put in the effort, I don't see why not Dec 03 06:17:35 that's all I am asking the rest is just WILL POWER Dec 03 06:17:45 ok thanks man Dec 03 06:17:51 gotta go to work Dec 03 06:17:54 Good luck Dec 03 06:17:58 gordon_: gut feeling, all the mistakes made and a pretty flat adoption now trending down Dec 03 06:18:14 reason I am asking is because courses in Android Development in my country is very expensive Dec 03 06:18:20 g00s, If he did wouldn't it show in the commit history? Dec 03 06:18:24 equivalent to $1000 Dec 03 06:18:26 us dollars Dec 03 06:18:34 easyOnMe: PLenty of interesting stuff happening on mobile, it's a safe bet Dec 03 06:18:39 so I reckon better learn it from googling and youtube Dec 03 06:18:40 KevinM oh yeah, (duh) Dec 03 06:18:46 CedricBeust: well, functional features are nice in scala. maybe kotlin will take place (with all functional features) Dec 03 06:18:51 easyOnMe, So you want to teach it to yourself? Dec 03 06:18:53 and some web frameworks will come Dec 03 06:18:59 KevinM: no learn it well Dec 03 06:19:01 Yup my money is on Kotlin for now, like it was on Scala in 2008. We'll see. Dec 03 06:19:07 I cannot teach if I do not know it too Dec 03 06:19:17 at least after I graduate this year I got a job straight away Dec 03 06:19:28 CedricBeust so you have a history of bad bets :D Dec 03 06:19:39 easyOnMe, so you are planning to take a class then? Dec 03 06:19:40 ACtually I was being nice, I never really bet on Scala Dec 03 06:19:41 i guess that means Ceylon is going to win then \o/ Dec 03 06:19:48 CedricBeust: scala became popular after play framework as I remember Dec 03 06:19:48 KevinM: no got no money man Dec 03 06:19:49 hehe Dec 03 06:19:50 I did bet on Java in 1995 for my PhD, though Dec 03 06:19:55 I am a self supporting student Dec 03 06:19:57 who'd bother with all these java alternatives when most tutorials are in java? Dec 03 06:20:11 gordon_: it never really becamse popular. It received some extra exposure for a few years and nothing came out of it Dec 03 06:20:12 easyOnMe, so you are teaching it to yourself then? w/ Internet, etc Dec 03 06:20:12 I work at McDonalds after school then work on my thesis Dec 03 06:20:31 easyOnMe good internet at McDs :) Dec 03 06:20:38 oh, there is a McDs app in Play Dec 03 06:20:53 I got interested in Android Mobiel App training ad I saw this morning on my way to school then when I inquired it was like WOAHHHHHHHHHHHHHHHH Dec 03 06:20:57 why expensive Dec 03 06:21:09 g00s: I am at library now Dec 03 06:21:17 g00s, until some of them I've seen now have signs posted that you can't "hang out there" for more than 20 minutes. I'll have to take a photo next time. Dec 03 06:21:17 easyOnMe: you can make big data analysis with spark about mac's fries Dec 03 06:21:24 trying to download Android SDK and all that stuff to make headway Dec 03 06:21:36 gordon_: what is spark Dec 03 06:21:38 easyOnMe: starting android now is easy Dec 03 06:21:58 KevinM: yup I am learning and teaching myself Dec 03 06:22:18 easyOnMe: http://spark.apache.org/ Dec 03 06:22:21 I do not have the dollars to pay for the android training Dec 03 06:22:37 you dont need android training Dec 03 06:22:45 If you're motivated, you can learn a lot of Android on your own, no need for a training Dec 03 06:22:49 there are a lot of tutorials for free - even on youtube Dec 03 06:22:52 is Android Studio 2.0 lighter than 1.5? Dec 03 06:23:07 it's the same Dec 03 06:23:08 but likes to crash Dec 03 06:23:14 easyOnMe, as long as you put in the necessary time and have a solid Internet connection there's no reason you can't be sufficiently knowledgeable in six months. Dec 03 06:23:24 gordon_ does it seem more responsive (the editor) Dec 03 06:23:28 gordon_: ok while I am here in the library can you suggest resources that I can speed up my learning of android programming Dec 03 06:23:28 emphasis on the Internet connection, really. Dec 03 06:23:38 KevinM: sure man Dec 03 06:23:42 no problem Dec 03 06:23:59 I have the library during school time and mcdonald's during work time Dec 03 06:24:11 once I get back home I study the video tutorials Dec 03 06:24:12 Yeah, Google search is your best friend Dec 03 06:24:17 this going to be cool then Dec 03 06:24:23 KevinM: yup Dec 03 06:24:41 hope I can tap on you guys if I get stuck on a bug that is difficult to solve Dec 03 06:24:48 glad to be here Dec 03 06:25:06 easyOnMe: there's guy on youtube called 'twistedeqation' check it Dec 03 06:25:12 I am using Windows 7 64bit Dec 03 06:25:13 *equation Dec 03 06:25:32 g00s: not really Dec 03 06:25:34 Wasn't there an official Android course from Google that was decently cheap? Can't remember what site it was on Dec 03 06:25:44 hope this is enough for Android Dev Programming Dec 03 06:25:46 KevinM: there was one Dec 03 06:26:06 g00s, gordon_, font rendering on Mac is still pretty meh for what it's worth Dec 03 06:26:30 3i really find it hard to find an answer... Dec 03 06:26:30 gordon_, discontinued? Probably a little old by now Dec 03 06:26:43 https://www.udacity.com/course/developing-android-apps--ud853 Dec 03 06:26:43 ok done Dec 03 06:26:47 that was it I think Dec 03 06:26:48 KevinM OH NO! i thought they fixed that .... it comes with its own JRE now right ? Dec 03 06:26:53 is possible to test an app from linux? Dec 03 06:27:03 when i request for location... with pending intent... i get no fix Dec 03 06:27:24 at least intelliJ 15 comes with its own JRE; you need to enable AA or something Dec 03 06:27:35 g00s, 2.0 Preview tells me it's on an Oracle-build of 1.8.0-b17 Dec 03 06:27:53 interesting. i thought they were bundling an openjdk Dec 03 06:28:04 They might be, but it appears to be using my system JRE Dec 03 06:28:16 oh, you need their JRE for the font fix Dec 03 06:28:33 Any docs on how to force it to their OpenJDK JRE? Dec 03 06:28:36 should be a blog about it somewhere Dec 03 06:28:40 what can be used to run apk from linux? Dec 03 06:28:52 theWhisperIn, emulator Dec 03 06:28:58 theWhisperIn this really insn't #android-reversing ;) Dec 03 06:29:02 (just like any other platform) Dec 03 06:29:14 emulator which one? Dec 03 06:29:23 The official Android SDK emulator? Dec 03 06:30:18 so guys Windows 7 is sufficient for Android Programming right Dec 03 06:30:43 that is all I have Dec 03 06:30:47 Yes Dec 03 06:30:54 ok good Dec 03 06:30:54 easyOnMe, the link g00s posted for the udacity course is a viable option if you want something more structured. 200 USD for the full thing. Dec 03 06:31:06 Good afternoon Dec 03 06:31:08 sorry, the link gordon_ posted Dec 03 06:31:11 KevinM: man I have to be honest Dec 03 06:31:20 I have to rely on my wits and brows here Dec 03 06:31:27 no more extra dollars to spend Dec 03 06:31:43 easyOnMe: first month is for free I think Dec 03 06:31:43 working at mcdonalds is for allowance sometimes not even enough Dec 03 06:31:51 the udacity course is free - you don't get credit Dec 03 06:31:56 g00s, Oh wait. The fix is still to use 1.6? Dec 03 06:32:11 g00s: never mind it is ok so long as they offer new knowledge Dec 03 06:32:17 KevinM i thought 15 came with openJDK patched with subpixel AA Dec 03 06:32:38 g00s, It could. I was just reading this doc which could be old : https://sites.google.com/a/android.com/tools/tech-docs/configuration/osx-jdk Dec 03 06:32:47 the ones I watch from youtube uses the old version of android studio so sometimes it is a bit confusing to follow as the one I have is android studio 1.5 Dec 03 06:33:31 I think you can access the course material for free you just don't get some of the extra stuff, once you sign up. (Correct me if I'm wrong) Dec 03 06:34:04 my processor is 2.4GHz Intel Core Duo and my memory is 4096MB Ram Dec 03 06:34:16 just wondering sometimes it seems slow for me Dec 03 06:34:32 that's why I ask whether my laptop is enough Dec 03 06:34:32 Get 8Gb as soon as you can Dec 03 06:34:55 I tried borrowing from our lab but the one left is an ubuntu 14.04LTS 32 bit Dec 03 06:35:13 so when I installed the android studio it does not allow for the emulator to even run Dec 03 06:35:23 installed the AVD many timies Dec 03 06:35:25 times Dec 03 06:35:28 still not running Dec 03 06:35:36 easyOnMe thats what i have, can't really use the emu (need device) Dec 03 06:35:40 and the laptop does not support accelerator Dec 03 06:35:56 g00s: which one the Windows 7 or the ubuntu Dec 03 06:36:07 i have mac Dec 03 06:36:37 g00s: man I was asking about my ubuntu and windows issue Dec 03 06:36:48 how can that me similar to your mac OS Dec 03 06:37:05 easyOnMe i am having hard time you are a CS major Dec 03 06:37:06 is the solution you arrived applicable to my case too Dec 03 06:37:18 *hard time believing Dec 03 06:37:20 g00s: you are a CS major too Dec 03 06:37:30 g00s: why? Dec 03 06:37:43 have time believing Dec 03 06:37:51 you need to have good pc Dec 03 06:38:27 gordon_: well guys I have to make do with what I have Dec 03 06:38:47 so I am looking for a work around until the day comes I can buy a new laptop Dec 03 06:39:51 I'm gonna have to develop an Android app for a class of my apprenticeship. The teacher said we're free to pick an idea we want to do. I know I have plenty ideas, but they may not ideally cover a lot of ground on what Android can do. So I wonder if there are any famous tutorials that work along a concrete example to cover a big part of the frameworks features. Dec 03 06:39:55 @easyOnMe good luck Dec 03 06:40:52 TestBird_Luke: really Dec 03 06:41:00 that is how difficult my situation is Dec 03 06:41:12 you mean it would be tough to continue on Dec 03 06:41:13 my laptop is from 2007 Dec 03 06:41:22 with laptop I got Dec 03 06:41:37 HD movies are taxing on it Dec 03 06:41:49 g00s, took a cursory look and I don't see a JRE packaged within Studio and all the resources I've found say to just use 1.6 Dec 03 06:42:11 KevinM hm, i saw this on the jetbrains blog Dec 03 06:43:31 KevinM: jvm 1.6 is not supported anymore Dec 03 06:43:42 java9 will soon be out, why use 6 ? Dec 03 06:43:56 hm maybe not soon after all Dec 03 06:44:18 well... wait half a year Dec 03 06:44:36 hope with jigsaw, programs will start faster Dec 03 06:44:42 (like with python for example) Dec 03 06:44:43 Because 1.6 on Mac is a custom release by Apple to use Quartz-based font rendering Dec 03 06:45:08 I'm using 1.8 and dont complain Dec 03 06:45:27 i tried 1.8 and it looked so bad i had to go back to 1.6 Dec 03 06:45:51 oracle does greyscale AA on Swing on mac Dec 03 06:46:04 maybe if you have retina display, its ok Dec 03 06:46:09 Depends on how sensitive you are too it, I suppose. I find 1.8 to be god awful but I don't want to put an ancient JRE on my laptop. Dec 03 06:46:36 i tried both didn't notice anything going faster Dec 03 06:47:52 The custom JRE bundled with IntelliJ stuff helps (a lot) but still isn't perfect. Dec 03 06:48:13 And I haven't figured out if there's a way to use that custom JRE with Studio yet Dec 03 06:48:45 hm Dec 03 06:48:51 * g00s scared Dec 03 06:49:15 are you currently on 1.6? Studio 2.0 will /probably/ still work on it? Dec 03 06:49:58 seems like I'm on retina ;) Dec 03 06:52:23 yeah, Swing is kinda dead end Dec 03 06:52:43 otoh JavaFX didn't seem to take off ... Dec 03 06:53:01 javaFX... Dec 03 06:53:07 wonder if jetbrains rewrites for javafx some day Dec 03 06:53:21 JavaFx doesnt have native looks either Dec 03 06:53:28 oracle wasn't fixing this font AA bug in Swing because its deprecated Dec 03 06:53:38 its ok with JavaFX though Dec 03 06:54:00 g00s: what is the difference between JRE and JDK Dec 03 06:54:01 eh, java on the client just sucks, i hate using java apps Dec 03 06:54:11 i wish it would just die and stay on the server Dec 03 06:54:19 wish javafx would behave like Qt Dec 03 06:54:36 or there were official, good supported qt bindings Dec 03 06:54:40 Here's how it looks for me Dec 03 06:54:42 https://imgur.com/a/Qp38M Dec 03 06:55:27 hmm. its ok i guess, not great Dec 03 06:55:45 Font size 14 on a non-retina mac Dec 03 06:55:53 oh the bottom is oracle jre, so yeah Dec 03 06:56:35 g00s: at least in 10 years all the poor java client devs get to use a slightly less shitty ui framework Dec 03 06:58:10 I don't have a rendering of 1.6 available but the IntelliJ variant manages to get much closer if I remember correctly Dec 03 06:58:40 KevinM : you should definitely get one with retina. with Pragmata font looks fantastic Dec 03 06:58:58 by the way new Macbook pro have enough power for development Dec 03 06:59:09 KevinM in AS 2.0, can you go to "Appearance & Behavior -> Appearance" and what options are there for Antialiasing ? Dec 03 06:59:12 Haha I'll let you know when I have that kind of cash Dec 03 07:00:05 g00s, both are set to "Subpixel" and I haven't changed those so it must be the default. Dec 03 07:00:21 Greyscale and none are both options as well Dec 03 07:00:43 KevinM, slim 2015 version not as expensive as top Pro. okay, if I'll be around) Dec 03 07:01:12 g00s, Interestingly, I don't see a difference when I swap between subpixel and greyscale so it must always be greyscale, I'm betting Dec 03 07:02:51 vigilancer, I've been using a MacBook Pro for Android development for quite some time so I don't know what you mean by the new ones Dec 03 07:03:20 They have high-DPI, yes, but they've always been sufficiently powerful Dec 03 07:04:04 KevinM, http://www.apple.com/macbook/ Dec 03 07:04:45 Um, ok? Dec 03 07:05:47 ok even for android development. for web also is enough I suppose, if can leave on 12" screen Dec 03 07:06:13 *if you can live with Dec 03 07:06:23 I already have a MacBook... Dec 03 07:06:50 Even if I spent $1000 on a new top-spec MacBook Air it would be just about on par with the MacBook Pro I have now Dec 03 07:06:57 just, you know. sharing experience and all Dec 03 07:06:57 cool looking car :D http://www.gizmag.com/zarooq-sand-racer/40684/ Dec 03 07:07:10 how come all cars these days look so boring, why can't they be like that :D Dec 03 07:08:02 I don't complain about cars these days since I watch a movie/tv show from the 90s to early 2000s to know what ugly cars truly looked like Dec 03 07:08:28 KevinM like the SUX 2000? Dec 03 07:08:40 Although, you don't need to do that. Just go outside and you're bound to see some ugly 90s crap on the road lol Dec 03 07:08:53 oh 6000 https://www.youtube.com/watch?v=fl8mQhxhE_Q Dec 03 07:09:04 haha Dec 03 07:10:04 Good example: Pretty much any oldsmobile from the 90s or late 80s Dec 03 07:12:35 KevinM i have a 90s dodge dakota :D Dec 03 07:13:24 vigilancer, I'll have Pragmata a go though. Not a big fan of condensed fonts for development but worth a shot Dec 03 07:13:44 g00s, you lucked out then hah Dec 03 07:13:49 dodge dacota is awesome Dec 03 07:13:57 why not dodge ram 3500 Dec 03 07:14:24 Now, if you drove a 90s dodge caravan (or any year...) then I'd say something else lol Dec 03 07:14:35 with a gatling gun on roof Dec 03 07:20:32 KevinM : yeah, I doubted at first, but it's surprisingly good looking. set it as default in IDEA, iTerm, Textual Dec 03 07:21:01 Interesting Dec 03 07:22:22 KevinM : for some vim plugins you'll need patched Paragmata version, but patch can be found in google Dec 03 07:23:55 g00s, when I mouse over a collapsed field it looks like subpixel rendering works: http://i.imgur.com/LYh41Bn.png Dec 03 07:24:01 but only for that part... Dec 03 07:24:17 oh man Dec 03 07:24:23 Might be buh request worthy. Dec 03 07:24:25 *bug Dec 03 07:24:34 that looks like crap Dec 03 07:24:44 if it runs with 1.6 i'll keep using that Dec 03 07:25:30 Same as my earlier screenshot, but yes Dec 03 07:27:59 The "Switch Boot JDK" thing appears in Studio 2.0 but it doesn't seem to do anything http://blog.jetbrains.com/idea/2015/05/intellij-idea-14-1-4-eap-141-1192-is-available/ Dec 03 07:28:30 (greyed out) Dec 03 07:30:06 If I have some time I'll see about filing a bug report. The Studio team does actually respond to tickets, thankfully. Dec 03 07:32:55 This appears to be the latest comment from Google on the issue (just use 1.6) https://code.google.com/p/android/issues/detail?id=115326#c1 Dec 03 07:33:13 Since IntelliJ has made some progress on this front it might still be worth creating a new issue Dec 03 07:33:57 KevinM have to make sure th, idea is using the right jre to boot Dec 03 07:35:28 I don't follow Dec 03 07:37:58 KevinM intellij has a search order for JREs, even if one is bundled with it Dec 03 07:38:06 it may go for JAVA_HOME first Dec 03 07:38:33 so if you have Java 8 installed somewhere, you may have to tell it to use its own internal one Dec 03 07:38:47 only the bundled one fixes fonts, or so i hope Dec 03 07:41:42 g00s, from my experience it selects the bundled one, at least on Yosemite Dec 03 07:41:55 It might choose 1.6 if you have 1.6 though. Dec 03 07:42:22 But I have the latest JRE and just the latest JRE but it still chooses the bundled one Dec 03 07:42:23 they had a whole blog entry about this, and now i can't find it Dec 03 07:43:18 That's usually how it goes lol Dec 03 07:51:41 KevinM: what is thread local? Dec 03 07:53:19 anyone can help me fix this error, with android studio's fragment template generator? Caused by: java.lang.RuntimeException: com.example.helloworld2.Main2Activity@fae39ce must implement OnListFragmentInteractionListener Dec 03 07:53:45 squ, It's a way of providing access to a object that isn't thread safe without having to synchronize on it Dec 03 07:54:24 I see Dec 03 07:54:26 Here's a decent SO post: http://stackoverflow.com/a/817926/238374 Dec 03 07:54:56 For reference, I wasn't really using it correctly in that screenshot, I was just messing around :P Dec 03 07:56:02 ok Dec 03 07:56:37 for fun, you may be interested to know that, [[NSThread currentThread] threadDictionary] is ios way providing thread-local dictionary (java HashMap) Dec 03 07:57:22 why can't I add an in app product to the dev console unless the uploaded apk has the billing permission? what if I want to add it on the next update? Dec 03 08:07:31 anyone has experience with exoplayer ? Dec 03 08:07:48 for some reason seekTo() function doesnt work for my stream Dec 03 08:18:12 squ, interesting. Thanks Dec 03 08:18:29 nevermind, fixed it. followed this one to the letter, http://developer.android.com/intl/es/training/basics/fragments/communicating.html , just assume OnHeadlineSelectedListener is the same as OnListFragmentInteractionListener Dec 03 08:18:34 ok Dec 03 08:19:16 duncannz, As a work around you could try releasing an alpha APK on the alpha channel and setting the permission there Dec 03 08:19:21 No idea if it'd work Dec 03 08:20:03 So you'd technically be fulfilling the requirement of having your "latest" APK with the billing permission. Dec 03 08:20:23 Even if only you or one other person has access to the alpha channel Dec 03 08:21:31 ohhhh it works :O Dec 03 08:24:54 is Lollipop capable of showing an ethernet connectd device in settings? Dec 03 08:25:50 I can see eth0 from the shell and configure it from there, an ethernet status icon appears when android boots and then disappears once wifi gets enabled Dec 03 08:25:55 but no ethernet settings in UI Dec 03 08:41:55 ttomasic: why not take a look for yourself? https://android.googlesource.com/platform/packages/apps/Settings/+/lollipop-mr1-release Dec 03 08:56:12 hey,anyone used facebook call to action for video ? for instance when u click the button next to a video, it redirects you to playstore or appstore according to the phone u used Dec 03 09:06:49 Napalm: thnx, checking out the link Dec 03 09:10:55 could anyone tell me why this might not be saving data correctly? http://hastebin.com/abuvazuxeg.avrasm whenever i load it, it only displays the most recent item saved, as opposed to everything i've written to it. Dec 03 09:50:12 Hi all, what's the best way to filter local List ? I have found this http://stackoverflow.com/a/16856736/1723525 but can I use something like this? Dec 03 10:10:00 FrancescoV, sure, why not Dec 03 10:10:59 FrancescoV, except it's guava, if you don't want to use that, you need to do a bit more Dec 03 10:11:30 Zharf, ok thanks :) Dec 03 10:14:03 apache commons also has a CollectionUtils.filter Dec 03 10:14:47 Zharf, is this case sensitive or not? Dec 03 10:15:07 or is this something you need to take care yourself? Dec 03 10:16:58 you need to do that yourself in the predicate, it's just regular comparison Dec 03 10:19:11 FrancescoV: just create a filter function, its simple enough Dec 03 10:19:19 yeah.. Dec 03 10:20:57 eventbus vs rx. who do you prefer? Dec 03 10:21:36 gdrc: rx Dec 03 10:22:19 never used eventbus and not too big fan of rx, but it's ok occasionally Dec 03 10:23:32 i've never found a definitive answer to: how do I make http call with android properly? Dec 03 10:24:00 I've tried rx with retrofit but there's some bugs Dec 03 10:24:39 gdrc: what problem do you have ? Dec 03 10:24:41 depends on what you're looking to do, I guess Dec 03 10:24:46 but what bugs Dec 03 10:24:57 gdrc: http://sourceforge.net/projects/streamsupport/ Dec 03 10:25:06 backport of Java 8 stream APIs Dec 03 10:25:25 trapped in sourceforge -.- Dec 03 10:25:39 gordon_: NetworkOnMainThread, it's a bug of okhttp with rx Dec 03 10:25:59 gdrc: rx is single threaded Dec 03 10:26:06 gdrc, never had problems with it myself Dec 03 10:26:17 by default, you need to create new thread for that and subscibe to android main thread Dec 03 10:26:26 get RxAndroid Dec 03 10:26:34 retrofit might be nice too Dec 03 10:26:39 https://github.com/square/retrofit/issues/1328 Dec 03 10:28:11 oh yeah, I've not actually used retrofit2, only retrofit1 Dec 03 10:28:34 I also use retrofit1 Dec 03 10:28:38 *used Dec 03 10:30:20 me neither, I'm using retrofit 1.6 Dec 03 10:32:41 apparently I used 1.9 Dec 03 10:32:48 I've used retrofit2 Dec 03 10:32:54 I really like it Dec 03 10:33:39 I also never used RxJavaCallAdapterFactory, which the bug reports seem to indicate is enabling this problem to surface Dec 03 10:36:52 but couldn't you just use unsubscribeOn(Schedulers.io()) Dec 03 10:39:03 FrancescoV: https://gist.github.com/slightfoot/26363245234b7ef9445b Dec 03 10:40:12 that's pretty much what guava/commons does too Dec 03 10:40:24 except use Collection instead of List Dec 03 10:41:01 Napalm, that's some nice magic over there ;) thanks! Dec 03 10:41:07 np Dec 03 10:42:03 FrancescoV: just static import the filterList function Dec 03 10:42:19 static imports *shiver* Dec 03 10:42:23 FrancescoV: I just added an example to the class comment for use with Retrolamba Dec 03 10:46:37 thanks :) Dec 03 11:01:48 nexus 6p is nice Dec 03 11:26:03 Hi, after trying to apply the experimental NDK plugin for Android Studio, I get this error: Dec 03 11:26:06 Error:No such property: android for class: com.android.build.gradle.managed.AndroidConfig Dec 03 11:27:43 That after applying this plugin apply plugin: "com.android.model.application" Dec 03 11:28:05 as done following this tutorial: apply plugin: "com.android.model.application" Dec 03 11:28:07 eish Dec 03 11:28:28 I mean this tutorial : http://tools.android.com/tech-docs/new-build-system/gradle-experimental Dec 03 11:30:59 NeoFrontier: hey, what version of Gradle is your project using? Dec 03 11:31:16 NeoFrontier: are you meeting the requirements on that page? Dec 03 11:31:27 NeoFrontier: also note the new versinos of the plugin https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view Dec 03 11:40:03 Napalm, its an open source project I imported to Android Studio. I change the gradle-wrapper.properties line to: distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip Dec 03 11:40:30 Napalm, as far as I know I am meeting the requirements. Dec 03 11:42:01 Just don't see why when I change the plugin as previously mentioned the system does not know android for class... Dec 03 11:42:30 NeoFrontier: File > Project Structure > Project > Gradle version Dec 03 11:43:34 2.5 but I see the plugin version is 1.2.3 that should be something else. Dec 03 11:48:41 http://www.theregister.co.uk/2015/11/01/linus_torvalds_fires_off_angry_compilermasturbation_rant/ Dec 03 11:48:43 lolll Dec 03 11:49:00 NeoFrontier: thats totally the wrong plugin and version Dec 03 11:49:18 NeoFrontier: what version of Android studio are you using? Dec 03 11:49:25 1.3 Dec 03 11:49:41 @ Napalm Dec 03 11:49:52 well the latest stable is 1.5 Dec 03 11:49:59 you might want to consider that Dec 03 11:51:45 yeah looks like I have enough data to do that. Dec 03 11:54:23 Has anyone ever seen USB debugging break NFC? It was working before I turned it on (actually I turned on Helium to try and backup a phone before testing a new app version on it) and now it isn't. Dec 03 11:56:21 Isnt Napalm something dangerous ? Dec 03 11:58:14 :) Dec 03 11:59:12 :) Dec 03 12:02:09 There's an awful pun in there somewhere about smelling Napalm in the morning, but I don't think we should go there. Dec 03 12:02:16 lol Dec 03 12:02:24 lol Dec 03 12:03:01 I think this channel just turned into a chemistry channel. Even with Helium backup.s Dec 03 12:15:21 Damn I accidentally installed Android Studio 2 preview. Dec 03 12:15:46 I wonder how the NDK support is on that ... Dec 03 12:16:19 NFC now just seems to take forever to turn on, and then sometimes it does, sometimes it doesn't. Reboots make no difference. Factory reset made no differnce. Agh. What am I missing. Dec 03 12:22:39 hello Dec 03 12:23:27 im using FragmentManager, a navigation drawer and some fragments including google's MapFragment Dec 03 12:25:40 and when I come back to the MapFragment, it gets recreated so drawer's animation lags a bit Dec 03 12:26:15 how can i avoid recreating the whole map view everytime? Dec 03 12:30:36 nvm i've found a solution here: http://stackoverflow.com/questions/25240605/create-mapview-programmatically-in-android-mapsv2 Dec 03 12:52:24 if i revoke a permission at runtime, is the app supposed to restart? Dec 03 12:53:25 rhcake: no Dec 03 12:53:50 rhcake: you mean in code? Dec 03 12:54:07 in the app settings Dec 03 12:59:22 on the 2 devices i've had the app restarts when revoking a permission, was wondering it's the inteded behaviour Dec 03 12:59:48 rhcake, was it a configuration change event? Dec 03 13:04:30 <_3mpty> I'm not sure but I think that process gets terminated Dec 03 13:04:38 Mavrik doesnt look like it Dec 03 13:07:09 E/Ads﹕ JS: Uncaught ReferenceError: AFMA_ReceiveMessage is not defined (:1) i keep getting this error in logcat when i launch my app Dec 03 13:07:16 is it the emulator or my app? Dec 03 13:08:26 Ah its a threading issue. Dec 03 13:16:45 is this an ok way to start a new thread, etc in onCreate? http://pastebin.com/0wWpXgMX Dec 03 13:18:40 nope apparently, i get this error: Can't create handler inside thread that has not called Looper.prepare() Dec 03 13:20:02 google didnt yield any relevant results, so what's the consensus on this, is the app supposed to close when revoking a permission ? Dec 03 13:22:33 <_3mpty> rhcake: https://stackoverflow.com/questions/32958449/android-marshmallow-callback-when-user-revokes-permissions-from-settings Dec 03 13:22:56 <_3mpty> CommonsWare usually knows what he's doing Dec 03 13:23:17 neat, ty _3mpty Dec 03 13:24:51 <_3mpty> but still I would advice to experiance empirically with some logs and few tries Dec 03 13:26:57 anyone know what these errors mean? http://pastebin.com/3RquZW68 Dec 03 13:37:29 ive made a class called GPSTracker (which does what the name suggests), and it extends Service and implements LocationListener, however it does not update or change a marker using Google api based on location Dec 03 13:40:36 ..do you start it? Dec 03 13:40:46 yes, in onCreate Dec 03 13:41:29 <_3mpty> debugger and check if your marker update position code is called Dec 03 13:41:51 ..do you do anything other than implementing LocationListener in order to listen for location callbacks Dec 03 13:43:17 squirrel, like what? Dec 03 13:43:23 http://pastebin.com/bq276ASx Dec 03 13:43:26 is where i initialize Dec 03 13:43:39 excuse the formatting.. dunno what happened there Dec 03 13:44:26 <_3mpty> hmm I wouldn't expect that location is avail just after play services starts connection Dec 03 13:44:32 <_3mpty> it's pretty async api Dec 03 13:44:40 it just goes to 0,0 and the marker is placed, however i send the locaiton via ADM Dec 03 13:45:05 oh, i was running that through a thread Dec 03 13:45:10 made in onCreate Dec 03 13:45:54 i-i d-don't even Dec 03 13:51:45 dunno what happened there. timed out. Dec 03 13:52:18 <_3mpty> thornekey: show more code of that tracker. Dec 03 13:53:44 _3mpty, this is the class itself http://pastebin.com/jq3M3XdS Dec 03 14:00:37 does it look ok in your opinion, _3mpty Dec 03 14:01:09 <_3mpty> Like fat cat in front of computer Dec 03 14:01:15 hahaha Dec 03 14:01:16 <_3mpty> (pastebin have load issues now) Dec 03 14:01:27 ohk Dec 03 14:01:29 <_3mpty> (and funny placeholder) Dec 03 14:01:42 <_3mpty> anyway I'll take a look in few minutes Dec 03 14:01:57 thanks, would you like me to put it on ideone? Dec 03 14:02:24 <_3mpty> nope, at least not now Dec 03 14:02:27 ok Dec 03 14:06:25 <_3mpty> how is that you're implementing LocationListener but I cannot see @Overrided methods? Dec 03 14:06:42 <_3mpty> you've cutted out those for simplicity of pasted code? Dec 03 14:06:52 yes Dec 03 14:06:54 theyre empty Dec 03 14:06:54 thornekey: why are you extending service... Dec 03 14:07:17 you might want to read a bit about services in android Dec 03 14:07:20 <_3mpty> anyway if you requestedLocationUpdates - it doesn't mean that after that you will get location but getLastKnownLocation Dec 03 14:07:30 <_3mpty> you will get it in onLocationChanged callback Dec 03 14:07:32 http://ideone.com/3Dxm0u Dec 03 14:07:33 <_3mpty> it's async Dec 03 14:07:35 Hm Dec 03 14:07:36 ok Dec 03 14:08:09 <_3mpty> in 46 line you're checking if locationManager is not null but just before that you're calling method on it Dec 03 14:08:46 <_3mpty> it's not needed, your will get (maybe) nullpointer before anyway Dec 03 14:08:52 ok Dec 03 14:08:53 <_3mpty> move check up or remove it Dec 03 14:08:55 Hmm Dec 03 14:09:20 <_3mpty> instead empty block for !gps && !network (line 33) Dec 03 14:09:27 <_3mpty> just return and rest without else Dec 03 14:09:41 <_3mpty> less blocks - more readable code (usually :P) Dec 03 14:10:09 Ok, so in order to fix this delema i should first re/move those things Dec 03 14:10:32 no, in order to fix this dilemma you should study Dec 03 14:10:41 obviously Dec 03 14:10:52 i was following a guide on this Dec 03 14:11:40 <_3mpty> also somehow this ui method in service is killing my eyes :D Dec 03 14:11:48 :/ Dec 03 14:12:14 <_3mpty> there're few other small issues, but above ones 've biggest priority Dec 03 14:13:59 <_3mpty> learn more about services, if you need this location now and for production, search for some library and study how it's done Dec 03 14:16:54 ok ill do that, also ive re/moved the above issues Dec 03 14:19:53 How do these shadows look: http://i.imgur.com/GkMtToy.png Dec 03 14:20:10 <_3mpty> one is red other is gray Dec 03 14:20:18 Right Dec 03 14:20:22 One is selected ,the other is not Dec 03 14:20:24 <_3mpty> :] Dec 03 14:20:40 Point is, do they look shadow like? Dec 03 14:20:49 <_3mpty> I'm not sure if it's enough to indicate selection Dec 03 14:21:02 maybe highlight around the button/thing Dec 03 14:21:04 not a shadow Dec 03 14:21:14 Ahh but shadow is so much nicer :)_ Dec 03 14:21:18 Lemme show you a recording Dec 03 14:21:38 well thats your opinion :) Dec 03 14:22:06 <_3mpty> kinda looks like a shadow, but depends if other parts of app will keep same style, it's all about beeing consistent Dec 03 14:22:30 <_3mpty> and if you will try to use it in material like desing it will not be consistent I supose Dec 03 14:23:09 How does material design indicate selection? Dec 03 14:24:01 _3mpty, were getting somewhere! now the msg pops up "reeuires GPS to be enabled" Dec 03 14:24:17 this did not happen befoer Dec 03 14:25:32 Quick demo thornekey https://vid.me/bAAH Dec 03 14:25:40 I gotta adjust the drawable a bit Dec 03 14:25:54 Ahh i see Dec 03 14:26:02 when i see it in action i can agree it looks good Dec 03 14:26:11 but maybe stick with the blue theme? Dec 03 14:26:22 Well that red your seeing is actually my accent color Dec 03 14:26:30 Ah Dec 03 14:26:36 Since blue is my priamry, I was told not to use it here, Dec 03 14:26:45 Seems like a spot where an accent should be used, no? Dec 03 14:26:47 yea Dec 03 14:26:50 hm Dec 03 14:27:27 I'll brb thornekey Dec 03 14:33:49 _3mpty, it now places some form of marker. a blue dot.. but not the marker i expected, but definitely in the right location Dec 03 14:37:30 Who thinks that being a good developer and a good designer go hand in hand? Dec 03 14:38:37 If your working independently on an app Dec 03 14:58:12 Anyone got experience with Translation animations? Im trying to permanently move up this view when I click on it, it is moving up, but its sliding under the whitespace, it should be on top, and it also moves back down at the end of the animation: Any tips would be much appreciated Dec 03 14:58:17 Heres a recording of what is happening now: https://vid.me/p3Ih Dec 03 15:00:22 Translation doesn't actually move the view itself, it just applies the transform while rendering. Dec 03 15:00:40 For layout, touch handling etc. the view doesn't move, you need to update layout params after the end of animation yourself. Dec 03 15:02:50 Ok Mavrik, so set an AnimationListener, and when it ends, just set the new position of the view manually? Dec 03 15:04:24 Also, do you see how the view is actually sliding under the whitespace? It may be hard to see in that recording? But thats another issue Dec 03 15:09:52 I may have to re-do my entire layout to work with animation Dec 03 15:18:56 doze mode is pretty good, my nexus 7 still has 50% battery after being on standby since 11/28 and 1 he of screen Dec 03 15:19:40 So when I translate a view from yDelta:0 to yDelta:-10 Dec 03 15:19:51 What is actually happening, its moving up 10 pixels? Dec 03 15:20:15 I ask because I want to permanently keep the view there after the animation ends Dec 03 15:22:30 Also, can I do this with LayoutParams on the view? Dec 03 15:28:38 Quick question, is getJSONArray or alike case sensitive ? Dec 03 15:29:03 everything is case sensitive unless otherwise documented Dec 03 15:31:41 <_3mpty> thornekey: blue dot is default user position, not marker and it's handled by google maps internaly when enabled Dec 03 15:33:44 http://www.methodscount.com/ Dec 03 15:36:19 <_3mpty> nice one Dec 03 15:38:26 _3mpty, i know its the gps position. Dec 03 15:38:33 ive solved all that now Dec 03 15:38:48 now im just trying to update my custom marker to the gps posiiton Dec 03 15:38:55 using onLocationChanged Dec 03 15:38:59 proving hard ahah Dec 03 15:40:52 <_3mpty> I bet that hardest part is notify activity about new position, after that Dec 03 15:41:04 <_3mpty> it's just map.addMarker(GoogleMap) Dec 03 15:41:15 oh, no i can add the marker. Dec 03 15:41:20 im saying i want to update the marker Dec 03 15:41:24 when the gps position changes Dec 03 15:41:33 <_3mpty> keep instance of added marker Dec 03 15:41:42 ive done that Dec 03 15:41:49 in its own method Dec 03 15:42:19 <_3mpty> and marker.setPosition Dec 03 15:42:48 _3mpty, http://pastebin.com/Us5MjC4G this does not upadte it for some reason Dec 03 15:43:56 <_3mpty> you're removing and adding again, not update :) Dec 03 15:44:04 yes, but in the new location Dec 03 15:44:18 onLocation changed.. get the new location, then remove and add another Dec 03 15:44:47 the problem is getting it to check every time i think rather than make another/ update it Dec 03 15:45:57 <_3mpty> about not update part - are you sure that onLocationChanged was called? Dec 03 15:46:47 thats what im not too sure about, can i call it from my main class? even tho the whole location stuff is happening from another class or do i need to call that classes one Dec 03 15:48:46 <_3mpty> debugger to the rescue! Dec 03 15:48:55 ok Dec 03 15:49:07 <_3mpty> rly if you aren't sure about flow, just add few breakpoints and run Dec 03 15:49:22 ok Dec 03 15:49:27 <_3mpty> none died from using debugger Dec 03 15:49:30 <_3mpty> (i hope :P) Dec 03 15:49:33 also i changed it to this http://pastebin.com/mFRyKRh6 Dec 03 15:50:21 im now checking if onLocationChanged is running Dec 03 15:50:51 <_3mpty> k Dec 03 15:51:14 <_3mpty> if you will use more than one marker, consider caching icon Dec 03 15:51:50 thanks for that tip Dec 03 15:52:18 i will be using many markers Dec 03 15:52:46 _3mpty, also the onLocationChanged is nvr fired Dec 03 15:58:15 _3mpty, Hmm http://picpaste.com/pics/ex-VOZ4TvuX.1449158275.png Dec 03 15:58:26 this is what i see, when i change the gps location Dec 03 16:03:08 Can I animate a background drawable alpha? Dec 03 16:03:25 In an ImageView, not the actual image, just the background I'd like to fade out and in Dec 03 16:04:58 sure. Dec 03 16:05:14 Any idea where I should start? Dec 03 16:05:36 I know I can change the alpha of the View, but I am not sure how to target just the background drawable Dec 03 16:06:35 anyone can help me regarding git here Dec 03 16:06:51 because on git there is no one Dec 03 16:07:25 I ran and test this (https://gist.github.com/fmanzoor/57a375eacbabd1777bb7) script inside my cli created project Dec 03 16:07:31 not with the information given, usually when you ask for help with something you actually post your question Dec 03 16:07:54 Got the blank project to gradle build Dec 03 16:09:22 I wonder why google hasn't bothered updating 'android create project' Dec 03 16:09:29 it uses an old ass gradle plugin and wrapper Dec 03 16:09:36 it should be kept up-to-date as part of the sdk... Dec 03 16:11:44 seems like most people would create project from android studio Dec 03 16:15:57 why wont onLocationChanged get called >.> Dec 03 16:16:07 because you never registered for it? Dec 03 16:16:32 i did though, in my location manager class Dec 03 16:16:41 then you did it wrong, of course Dec 03 16:16:43 sorry, location listener Dec 03 16:16:52 or you're not getting the location lock you're expecting Dec 03 16:16:54 e.g. gps indoors Dec 03 16:17:04 im faking the gps coords Dec 03 16:17:13 the gps blue circle icon works Dec 03 16:17:21 im just trying to move a marker Dec 03 16:17:25 to that gps coord Dec 03 16:17:38 faking? via emulator? doesn't call onLocationChanged Dec 03 16:17:46 Ah Dec 03 16:17:48 mock location data doesn't do that Dec 03 16:17:51 so thats the issue Dec 03 16:18:05 is there a way to do it? Dec 03 16:18:20 all im trying to do is move a marker to the gps circle Dec 03 16:18:39 pfn, http://picpaste.com/pics/ex-VOZ4TvuX.1449159506.png Dec 03 16:18:57 no Dec 03 16:19:57 Hm Dec 03 16:26:33 Are there any secure techniques to implement so that a user doesn't have to enter login information each time an app starts? Dec 03 16:26:50 Amen pfn, CLI create project should give option to create to start gradle compatible project Dec 03 16:26:58 If they want us to use it Dec 03 16:27:26 jonky, OAuth2 with token being stored in AccountManager is a standard approach Dec 03 16:28:48 Mavrik are you familiar with GCM ? Dec 03 16:29:01 well I used it :P Dec 03 16:29:07 been to lazy to migrate to GCM3 tho Dec 03 16:29:27 ok have you used the support for Topics ? https://developers.google.com/cloud-messaging/topic-messaging Dec 03 16:30:20 i think that may more more recent feature Dec 03 16:30:20 nop, that's GCM 3 feature :) Dec 03 16:30:25 hm ok thx Dec 03 16:30:29 looks useful for some things Dec 03 16:30:57 what i'm trying to figure out: can one phone post a message to a topic, and other pick it up in pub/sub Dec 03 16:31:17 or is this only available when the pub is your own app server Dec 03 16:32:31 oh, that I did look into Dec 03 16:32:32 GCM topic messaging allows your app server to send a message to multiple devices that have opted in to a particular topic. Dec 03 16:32:36 It's server -> client only Dec 03 16:32:48 ah crap, ok thanks Dec 03 16:34:04 between GCM, mqtt, rabbitmq+websockets, GMS Nearby Nessages, lots of ways to half-skin a cat Dec 03 16:34:35 GCM should be the most reliable, i don't think the other methods can be used reliably now when your app is dozed or whatever Dec 03 16:38:50 Anyone of us has used any of the ORM library referred @ https://github.com/Trinea/android-open-project/tree/master/English%20Version#4-database Dec 03 16:39:06 Would love feedback/recommendation Dec 03 16:39:53 g00s, GCM will easily beat those even without dozer Dec 03 16:40:11 unless you have an excellent code base dealing with network conditions Dec 03 16:41:34 Mavrik so for this use case, how would you architect: a device receives sensor data from a BT device. that device must send received BT data to whoever wants to subscribe Dec 03 16:41:58 greenDAO claims to be light weight and smart Dec 03 16:42:15 can i do this solely with GCM, and would i have to stand up my own infrastructure Dec 03 16:43:14 You'll need a server Dec 03 16:43:29 or one of those silly platforms Dec 03 16:43:34 hehe Dec 03 16:43:52 I have only used ORMLite. I think it's pretty good. It does database schema generation in a sane format. The query builders classes are very nice, raw statements are possible as well. Dec 03 16:44:13 Database generation by annotating fields and classes. Dec 03 16:45:05 pduin: is it slim :-) Dec 03 16:45:15 And thanks a bunch for weighing in Dec 03 16:46:31 Not slim in code size I guess. My use case was for a couple of relatively large scale database apps. A couple dozen tables and tens of thousands of rows. Dec 03 16:48:11 330k in jar files Dec 03 16:48:20 I have been doing Django and don't want to write RAW statements anymore, thus ORM Dec 03 16:48:37 Hmm, not much if it gets the job done Dec 03 16:49:32 You looking to integrate the ORM library in an existing app? Dec 03 16:49:49 Because that can be a bit tricky in ORMlite Dec 03 16:49:52 Nope, starting out Dec 03 16:50:08 I mean starting on a clean slate Dec 03 16:50:08 Ah, ok Dec 03 16:50:53 So, if you recommend it then I am going to use it Dec 03 16:51:50 See if it fits your app first. Compare with a bunch of other ORM frameworks. Don't just take my word, always use the right tool for the job. Dec 03 16:52:59 I do and think that most of them will provide similar functionalities Dec 03 16:53:19 Looney, i just stubmled across this earlier today: http://www.sitepoint.com/5-best-android-orms/ Dec 03 16:53:28 it has a brief syntax comparison Dec 03 16:53:54 thanks jonky, will have a look at it Dec 03 16:54:18 Good luck on your ORM quest, Loony. I'm off Dec 03 16:54:58 Mavrik, and thanks. I think that might be acceptable if i encrypt the token using a key on a remote server Dec 03 17:00:57 jonky: the syntax of SugarORM is clear winner to me :-P Dec 03 17:02:19 Looney, similar to the django orm? Dec 03 17:05:01 Quite, to some extent Dec 03 17:05:42 Looney, i'll take a look at it later. im using django as a backend too Dec 03 17:07:55 Django is <3 Dec 03 17:08:06 You must be using the REST Framework Dec 03 17:08:36 These guys seem to have done some testing/benchmarking http://www.raizlabs.com/dev/2015/02/go-dbflow-fastest-android-orm-database-library/ Dec 03 17:09:15 yup, specifically, im using DRF with djoser and knox Dec 03 17:10:01 djoser provides registration/login endpoints for the API and knox encrypts auth tokens Dec 03 17:10:43 Well, use SSL for encryption and you should be good Dec 03 17:11:19 Djoser is good but my clients demand minimal signup information so I am happy to not use it :-P Dec 03 17:11:24 DRF stores the tokens in plain text. knox encrypts them Dec 03 17:12:35 minimal signup information? why is that an argument against djoser? Dec 03 17:13:06 Interesting https://github.com/daj/android-orm-benchmark Dec 03 17:14:39 ugh, exchange can block smart lock now? fml Dec 03 17:14:54 I need. to reinstate my email hack :( Dec 03 17:16:27 jonky, huh? what would encrypting a token achieve? Dec 03 17:19:47 So, GreenDAO is better than ORMLite as per last benchmark URL which I share Dec 03 17:19:52 *shared Dec 03 17:25:50 Looney : ORMLite is good if you have serious database structure, lot of data and all Dec 03 17:26:03 for small db it's overburden Dec 03 17:27:43 I've used it once, goal was basically map semi-large server db Dec 03 17:28:11 you can do virtually anything with it. but want you to?) Dec 03 17:28:15 Well, they did testing with 1000 and 10000 entries Dec 03 17:28:30 what about realm? :) Dec 03 17:28:33 I think that it's reasonable size for Android Dec 03 17:28:47 Is it godo Mavrik Dec 03 17:28:55 I am shopping/looking Dec 03 17:28:59 *good Dec 03 17:29:22 Mavrik, never tried, waiting for suitable case) Dec 03 17:32:15 Looney : for small db it's not benchmarks you should consider but how simple and clear api is Dec 03 17:32:30 Great point vigilancer Dec 03 17:32:35 well, imo Dec 03 17:32:42 I agree with you Dec 03 17:34:05 Realm claims good speed and comes with decent syntax, thanks Mavrik Dec 03 17:34:31 Looney, it's not sqlite though Dec 03 17:34:35 And I'm not sure how migrations are handled. Dec 03 17:35:54 Migrations are not issue, I am starting with clean slate Dec 03 17:36:59 he means between app versions I suppose Dec 03 17:37:58 in realm migration looks promising Dec 03 17:39:54 As said earlier, I am starting clean with clean slate Dec 03 17:40:21 So, now previous residues Dec 03 17:42:15 oh i was just reading about data residue on android. pretty interesting Dec 03 17:44:06 g00s : care to share link? Dec 03 17:44:30 their main website is https://sites.google.com/site/droidnotsecure/home Dec 03 17:46:09 Looney : between future db structure changes Dec 03 17:47:23 15.4% is a great acceptance ratio Dec 03 17:47:31 g00s , neat, thanks Dec 03 17:47:31 dragorn did you see that one? ^^^ Dec 03 17:51:07 What's the best way for checking how close to the dex/method count your app is? Dec 03 17:51:18 liuwenhao there is a gradle plugin Dec 03 17:51:37 dex-method-count ot something. caveat emptor: the the build must succeed Dec 03 17:51:59 Thank you, I'll check it out Dec 03 17:52:01 so if you find yourself with a failing build, it won't help much Dec 03 17:52:08 Not over the limit yet but I'm thinking it's gotta be close Dec 03 17:52:19 better safe than sorry :) Dec 03 17:52:26 absolutely ;) Dec 03 17:52:51 yup. dex is nothing but pain and suffering Dec 03 17:52:55 i submitted a enhancement to tools team to add report of method counts in AS, it was accepted a while ago ... maybe its in 2.0? not sure Dec 03 17:53:04 liuwenhao :http://www.methodscount.com Dec 03 17:53:34 The number of methods used by this app is too damn high Dec 03 17:54:00 Nice Vigilancer, I will check this out as well so I know which dependencies to remove when I'm over the limit Dec 03 17:56:41 Total methods in app-debug.apk: 57015 Dec 03 17:56:45 getting dangerously close :| Dec 03 17:56:59 liuwenhao :  why are you using deps that can be deleted in first place) Dec 03 17:57:56 there are a few I use for fonts and icons that could be replaced but are nice to have for ease of use and cleaner code Dec 03 17:58:03 the rest are mandatory Dec 03 17:58:34 liuwenhao : you can try proguard if have lots of deps Dec 03 17:59:23 liuwenhao https://goo.gl/zqS4i8 Dec 03 18:02:45 g00s, yeah Dec 03 18:03:00 any one have experience with Fresco? any downsides/weirdnesses? Dec 03 18:03:13 if its Fb, probably lots of weird Dec 03 18:03:27 vigilancer i see Glide being used a lot these days Dec 03 18:03:32 Where can I find the latest version numbers of com.android.tools.build:gradle:? Including alpha/beta releases Dec 03 18:03:44 explodes_ jcenter Dec 03 18:03:46 g00s, yeah, fb. thats why I'm asking) Dec 03 18:03:53 explodes_, jcenter Dec 03 18:04:23 Holy crap... I didn't realize Guava had 15,000 methods -.- Dec 03 18:04:30 haha Dec 03 18:04:31 Oh. THat makes sense Dec 03 18:04:33 I knew it was big but damn Dec 03 18:04:38 lol Dec 03 18:04:45 either copy stuff out of guava, or use proguard Dec 03 18:05:05 I will use proguard probably, guava is nice to have Dec 03 18:05:15 if it's about 1-10 methods from guava, just reimplement them Dec 03 18:05:22 so Swift is now open source. How long until there’s an Android port? Dec 03 18:05:49 s73v3r how much Sift do you know? i just grabbed the BNR book Dec 03 18:05:53 *Swift Dec 03 18:05:59 i know a good amount Dec 03 18:05:59 Don't most iOS devs still use Objective C for most things? Dec 03 18:06:07 it’s split Dec 03 18:06:08 jcenters search sucks Dec 03 18:06:42 s73v3r i'm wondering if at this point i can get in without learning obj-c too Dec 03 18:06:49 if you have an existing project, you’re probably sticking with ObjC for a while. Otherwise, unless you have a looming deadline, many people are choosing swift for new development Dec 03 18:07:19 I would be more interested in iOS development if I didn't have to use OSX Dec 03 18:07:28 you might still need to know some Objective-C. You won’t need to know the arcane internals of the runtime, but some stuff you might need, as the two are fairly close Dec 03 18:12:18 I would really like to learn Swift/Objective-C, but there is still too much about Android that I don't know Dec 03 18:12:30 public service announcement: instant run will not work if you need to use proguard to build your app (i.e. you've hit the method limit) Dec 03 18:13:35 once you know one, learning the other becomes both easier and harder at the same time :p Dec 03 18:15:53 @explodes_ good to know, thanks Dec 03 18:15:54 fk, there is instant run now. hope it's suck, because I've spend much time on dealing with sbt and protify Dec 03 18:16:11 liuwenhao: wait wait wait, i think i flubbed up Dec 03 18:16:17 let me run some experiments Dec 03 18:17:05 vigilancer: instant run is nice but it seems wonky at times Dec 03 18:17:10 vigilancer, instant run sucks Dec 03 18:17:19 not even remotely as good Dec 03 18:17:24 as what? Dec 03 18:17:36 as protify Dec 03 18:18:12 #1 instant run is slower (it's far from instant), #2 it doesn't support anything like kotlin, retrolambda, etc, #3 it doesn't support most code change types Dec 03 18:18:30 pfn, well, it uses sbt, which is awesome by the way, thanks pfn for promoting it) Dec 03 18:18:32 depends on what you need. Instant Run doesn’t require any setup, so if you’re not using Kotlin or retrolambda (I’m not), then it’s probably good enough Dec 03 18:18:50 it's not good enough if you really want instant run of your code Dec 03 18:18:58 it doesn't support most types of code changes Dec 03 18:18:59 it’s probably good enough for most Dec 03 18:19:10 if you have more advanced needs, then you can seek out protify Dec 03 18:19:16 is kotlin now officially not working? Dec 03 18:19:22 or why are you mentioning it Dec 03 18:19:37 officially? no Dec 03 18:19:41 presently? yes Dec 03 18:19:53 did you test it? Dec 03 18:20:09 just wondering why this is the case Dec 03 18:20:12 me? no, I have no interest in instant run nor kotlin; others on reddit have Dec 03 18:20:36 because it uses the new transform api in gradle plugin 2.0 beta, and neither kotlin nor retrolambda plugins support it Dec 03 18:20:46 i see Dec 03 18:20:55 or something like that, I think xavd mentioned something Dec 03 18:21:20 so its possible with some modification to existing projects if they migrate to that api Dec 03 18:21:41 http://tools.android.com/tech-docs/instant-run Dec 03 18:21:45 "what's supported by instant run" Dec 03 18:21:48 in a word: nothing Dec 03 18:22:54 android project with no libraries attached basically Dec 03 18:23:07 Is there any reason to use the new emulator over Genymotion? I never was able to get it to work Dec 03 18:23:25 liuwenhao, I can answer that once the new emu is out Dec 03 18:24:48 The emulator bundled with AS2.0 isn't the new one? Dec 03 18:25:04 All the virtual devices I make just hang on boot and never load Dec 03 18:25:04 it wasnt the new one last week i trieds Dec 03 18:25:38 From what I read, it's not out yet. Dec 03 18:26:36 Oh. I was mistaken. I guess I will try it again once it's actually out Dec 03 18:26:44 I hope it will be in soon Dec 03 18:26:55 my genymotion license expires in exactly 2 weeks Dec 03 18:28:17 vigilancer inevitable that instant run will eclipse protify Dec 03 18:28:27 i guy vs google team Dec 03 18:28:44 Hopefully the new emulator is at least on par with Genymotion Dec 03 18:29:22 Oracles VirtualBox is riddled with bugs Dec 03 18:29:23 i still wonder if it is genymotion like some people think Dec 03 18:36:39 g00s, the parts of that i read were super specific cases. I mean, worth fixing none th eless Dec 03 18:36:53 g00s, but not earthshattering. I guess i need to read all of them. Dec 03 18:37:06 is there a way to get a recyclerview inside a fragment inside a viewpager inside a fragment (in a framelayout) affect the appbarlayout on the root activity? Dec 03 18:38:02 Sixmsj have the child do hasOptionsMenu is probably easiest Dec 03 18:38:14 Is it just me or it's normal for gradle to take 10-ish seconds to clean project Dec 03 18:38:46 g00s: hasOptionsMenu affects the appbarlayout? what would the child be in this case, the fragment containing the recyclerview? Dec 03 18:39:04 g00s: If compare sbt/gradle popularity I tend to agree with your prediction. I can live with that, if protify will not be abandoned Dec 03 18:39:35 And seriously, why would lint fail? Dec 03 18:40:32 g00s, I'm using sbt instead of gradle - god, it's fast. in comparison of course Dec 03 18:40:39 Only 10 seconds to clean a project? What voodoo is that. Dec 03 18:40:47 vigilancer does sbt have flavors and variants ? Dec 03 18:41:02 Why have it in build process when you need to show "abortOnError false message Dec 03 18:41:15 TacticalJoke, it takes <1 second for me. Just delete the build folder :p Dec 03 18:41:21 well, pfn's plugin do have flavors support, but never tried it Dec 03 18:41:22 :D Dec 03 18:41:25 TacticalJoke: it's a virgin project with a single xml file inside layout folder Dec 03 18:41:52 vigilancer but yeah, if you are using sbt then you're outside the normal tools anyhow Dec 03 18:42:14 g00s : normal tools ) Dec 03 18:43:09 g00s : well, IDEA handle my sbt projects very well, can't say I miss something Dec 03 18:43:15 *handles Dec 03 18:43:54 but it needs time to adobt Dec 03 18:44:24 vigilancer what needs time to adopt? sbt for android? Dec 03 18:44:38 g00s, yes, sbt Dec 03 18:44:47 for android, thats not going to happen ;) Dec 03 18:44:54 sbt in general, and some plugins Dec 03 18:45:06 isnt sbt older than grade for android? Dec 03 18:45:50 well, I've been looking at bazel but according roadmap it will be 1.0 at least in end-2016 Dec 03 18:46:00 danijoo : so? Dec 03 18:46:32 vigilancer, you say it needs time to adopt but it had more time than what got adopted Dec 03 18:46:36 thats all i wanted to say ;) Dec 03 18:46:44 unless it's in the primary, supported android dev system, it's not going to get much traction Dec 03 18:46:53 yup Dec 03 18:47:01 (in other words, if it's not how android studio builds things, it's never going to be more than niche) Dec 03 18:47:05 danijoo lol Dec 03 18:47:40 also in my opinion declaring how a project should be built in scala is horrible Dec 03 18:47:44 syntax-wise Dec 03 18:47:50 but thats an opinion Dec 03 18:48:11 dragorn : definitely. but what options do we have. gradle frustrates me Dec 03 18:48:43 Gradle is still infinitely better than maven Dec 03 18:48:55 kobalt :p Dec 03 18:48:58 vigilancer gradle keeps getting faster, google team is doing good work there. only complaint left soon, will be that extending your build uses groovy, which is kinda crappy language too Dec 03 18:49:20 what do you mean by extending your build? Dec 03 18:49:27 but if you are writing lots of groovy, then ... i think thats bad. it should be put into a plugin, you can use groovy or java Dec 03 18:49:40 Do I need some plugin to fix indentation of my gradle file in vim Dec 03 18:50:10 bazel looks interessting in my opinion Dec 03 18:50:49 vigilancer, well, the beauty is, *you* can do anything you want, heh. There's people who compile using makefiles and vim, even. It's just a matter of what everyone else uses and what support there is for a given setup Dec 03 18:51:36 arguably anything that can generate class files and call aapt can build an android app Dec 03 18:51:49 dragorn , makefiles, ha?.. /me thinking Dec 03 18:51:53 ) Dec 03 18:52:20 vigilancer, http://androidappdevlopment.blogspot.com/2012/05/android-application-build-using.html Dec 03 18:54:02 I hate that "'try' can use automatic resource management" lint warning. `minSdkVersion` is lower than 19. :\ Dec 03 18:54:04 dragorn, ah, nice) bookmarked for time when I'm ready to go with vim only. I will be missing IDEA refactoring tho Dec 03 18:54:09 It cannot, Android Studio! Dec 03 18:54:11 WHY. Dec 03 18:55:01 TacticalJoke, disable it Dec 03 18:55:26 danijoo : bazel really looks promising. it's in homebrew already, they planning IDEA plugin. but it lacks kotlin support for now Dec 03 18:55:43 for me kinda dealbreaker Dec 03 18:55:53 Can anyone explain this error? Dec 03 18:55:55 Yeah, I end up disabling a few like this. Dec 03 18:56:07 vigilancer, until someone writes it :) Dec 03 18:56:17 tricknology: Not yet. Maybe after you post it. :D Dec 03 18:56:19 we hadnt had a kotlin plugin for sbt for a long time, too Dec 03 18:56:20 12-03 10:41:16.612: E/AndroidRuntime(21402): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.my.project-1/base.apk"],nativeLibraryDirectories=[/data/app/com.my.project-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgnustl_shared.so" Dec 03 18:56:28 Do I really need to have two build.gradle files? Dec 03 18:56:59 Like one @ https://github.com/SimonVT/android-menudrawer and the other inside the menudrawer? Dec 03 18:57:33 Yes Dec 03 18:57:37 danijoo : but happens I felt in love with sbt long after plugin rolled out) Dec 03 18:58:09 i use it for debugging only Dec 03 18:58:14 liuwenhao: Was your yes for me? Dec 03 18:58:18 One is for the entire project and one is for modules (i.e. your app module) @Looney Dec 03 18:58:21 my production builds still happen in gradle Dec 03 18:58:23 dont ask me why Dec 03 18:58:43 If you have multiple modules, the project gradle will apply to all of them Dec 03 18:59:17 * Looney thinks about reverting to ant or converting to mvn Dec 03 19:02:03 I think I figured it out Tactical Joker Dec 03 19:02:03 rather weird case.. Dec 03 19:02:03 I have a project A which uses library B Dec 03 19:02:03 B uses library C Dec 03 19:02:03 which contains armeabi Dec 03 19:02:28 I had to copy the /libs/armeabi folder to project A Dec 03 19:02:36 and its Android_Platform_adapter.jar Dec 03 19:03:26 ^ that was the key Dec 03 19:03:26 now I’m trying to include all that in B so that end user A doesn’t have to worry Dec 03 19:03:26 so far not so good :( Dec 03 19:05:51 Does mvn support skeleton project creation from command line? Dec 03 19:06:08 I know that someone here admitted using maven Dec 03 19:06:11 :-P Dec 03 19:06:36 admitted? Dec 03 19:06:41 What's up all. How do I get android studio to show me the expected class expression? Dec 03 19:07:22 confessed might be a right word perhaps Dec 03 19:12:02 Is there a way to catch a click on a subview in a view? Dec 03 19:12:13 Like completely prevent the subview from receiving any event Dec 03 19:14:22 danijoo, you realize, declaring a build in groovy, or kotlin is just as bad Dec 03 19:14:34 danijoo, you're basically saying, should just use maven Dec 03 19:14:36 or ant Dec 03 19:15:01 I dont get you Dec 03 19:15:11 Well maven does seem to support project creation using command line Dec 03 19:15:27 If I were to abandon ant, then this could be my choice Dec 03 19:15:38 danijoo> also in my opinion declaring how a project should be built in scala is horrible Dec 03 19:15:53 I really hate this youtube player thing Dec 03 19:15:53 that is exactly what you're doing with kobalt and gradle Dec 03 19:16:08 except in kotlin and groovy Dec 03 19:16:12 and the syntax is equally bad Dec 03 19:16:12 pfn, What I meant was the style. Dec 03 19:16:26 i think a project declared in gradle is easier to read Dec 03 19:16:50 thats all I wanted to say with that Dec 03 19:16:51 danijoo, uh, so, typing "androidBuild" syntactically is harder to read than "android { targetSdkVersion 21\npackagingOptions { exclude 'foo' }}" etc Dec 03 19:16:54 Does maven also require multiple pom.xml files per application/project Dec 03 19:16:57 it's not easier to read, not remotely Dec 03 19:17:02 it's not even /scala/ syntax for the most part Dec 03 19:17:10 it's a dsl, that easy Dec 03 19:17:17 danijoo, you're anti scala for some reason, whatever Dec 03 19:17:23 I wont discuss this since its clearly an opinion Dec 03 19:17:35 and was even marked as one Dec 03 19:17:54 but no, im not anti scala Dec 03 19:18:11 i just dont like it in config files Dec 03 19:20:18 there's no scala for most sbt config files Dec 03 19:20:23 you're blowing the problem out of proportion Dec 03 19:21:27 Looney: no Dec 03 19:22:02 * Looney heard +1 mvn from yawkat Dec 03 19:22:03 Looney, you barely have to touch the outer build.gradle. Just create it once and you're done Dec 03 19:22:21 OK danijoo Dec 03 19:22:25 Nah he clearly needs to load ALL the Scala dependencies :P Dec 03 19:22:47 oh, sorry, android. dont use maven for android, it sucks for android. Dec 03 19:23:43 pfn, all I said was _I_ dont like how its declared. No idea how you read so much into it. ;) Dec 03 19:24:06 pfn gets rather upset when people don’t believe Scala is the second coming Dec 03 19:24:08 its just an opinion. I wont force you to share it :p Dec 03 19:33:05 so i'm doing a tinder-like swipe thing for work, except full screen and no card animation. on ios i did it by manually animating subviews inside a view to move/fade them. on android, there seems to be a layout engine in the way? Dec 03 19:33:39 has nothing to do with scala Dec 03 19:33:47 the language of sbt can be completely devoid of scala Dec 03 19:33:57 but you talk about it as if that's your only option of writing sbt files Dec 03 19:33:58 I googled "tinder like swipe thing" but didnt find a good explanation :( Dec 03 19:34:01 that's what's annoying Dec 03 19:35:53 danijoo: well, there's a deck of cards and you either swipe left or right to accept/decline the card. accepting reveals more details, declining means you get the next card. Dec 03 19:36:14 danijoo: in my case it's a full screen 'card' and no fancy "move like a piece of paper" animation is needed. Dec 03 19:36:17 what’s in the way of the layout engine? Dec 03 19:36:26 i think the problem is the DSL is implemented in scala, and we expect the abstraction to leak in cases. so you may not normally see scala, but you'll be reminded its there sooner or later Dec 03 19:36:45 and most people not using scala directly don't want to be reminded they are using scala indirectly ;) Dec 03 19:36:53 s73v3r: oh no, it's the other way around. i want to move views around manually without anything trying to manage the layout except me. Dec 03 19:37:09 and what’s the problem? Dec 03 19:37:12 i need to move views around the screen. Dec 03 19:37:22 pfn, im very sorry if my bad formulation offended you personally. Dec 03 19:37:29 you can do that Dec 03 19:37:41 s73v3r: i'm a bit clueless about how one would handle such on android. there's an add view method but it's on a layout manager, apparently. Dec 03 19:37:47 yeah Dec 03 19:37:56 and as you swipe, you keep track of the transform Dec 03 19:38:08 yeah, i did it on ios so i know that part. Dec 03 19:38:15 There is a white space above my actionbar Dec 03 19:38:16 What do? Dec 03 19:38:23 but is there a layout manager called "do what i want"? Dec 03 19:38:25 Can actionbar have margins or something? Dec 03 19:38:54 g00s : +1, trying to figure out some specific things one have to look in sources from time to time Dec 03 19:38:56 Frame layout Dec 03 19:39:02 just use that, and then do what you did on iOS Dec 03 19:39:12 if you feel better then I can reformulate it and just say ¨I dont like how sbt dsl looks like¨ . Maybe you can live with that. Dec 03 19:39:13 s73v3r: ah Dec 03 19:41:06 s73v3r: hmm, any z-ordering available, or will i have to re-stack if i want to swap things around? Dec 03 19:41:28 should be Dec 03 19:42:33 FrameLayout all the things. Dec 03 19:43:32 s73v3r: hmm, docs talk about layout_gravity, and points me to a list of constants for particular positions. but what about continuous motion? Dec 03 19:43:57 What would make an ActionBar have a top margin of the size of the system status bar ? Dec 03 19:44:20 Ribesg, you cant do that with actionbar Dec 03 19:44:24 use toolbar Dec 03 19:44:32 danijoo, not trying to do that Dec 03 19:44:36 It's just happening Dec 03 19:44:58 I want to prevent that from happening Dec 03 19:45:01 maybe it actually is the status bar? :o Dec 03 19:45:05 No Dec 03 19:45:08 I've got the status bar Dec 03 19:45:14 a blank space of the size of the status bar Dec 03 19:45:18 Then the actionbar below Dec 03 19:45:24 thats weird Dec 03 19:45:43 fitSystemWindows would Dec 03 19:47:31 ThJ : aren't you looking for this? http://flavienlaurent.com/blog/2013/08/14/viewoverlay-when-how-and-for-what-purpose/ Dec 03 19:47:32 It's actually not plain blank Dec 03 19:47:32 just to use an example that explains what i want... suppose i made an equation of (x, y) offsets for simulating an earthquake on the phone with the view shaking about and then falling off screen... now how would i approach that on android? Dec 03 19:47:36 There is a weird line in the middle Dec 03 19:48:09 subviews for doing this are fine, there can be a subview that shakes loose. Dec 03 19:48:13 Thj: The same way you do in iOS Dec 03 19:48:30 you have your equation, which is going to be tracking the thumb motion, right? Dec 03 19:48:33 hmm, but on iOS it doesn't expect me to add views via a layout manager... Dec 03 19:48:41 doesn’t matter! Dec 03 19:48:48 stop worrying about the damn layout manager Dec 03 19:48:57 but it enforces positions and sizes... Dec 03 19:48:57 ThJ, you can still animate the views. the layoutmanager is independent of that Dec 03 19:49:12 no, it doesn’t. not if you’re using the Frame Layout Dec 03 19:49:20 seriously, just go and try it Dec 03 19:50:22 hmm, okay, so don't actually _use_ the gravity stuff, etc, just stick the view in there, then mess around with the bounds? Dec 03 19:50:37 pretty much Dec 03 19:51:09 also, I’m 90% sure there’s a library out there that does the Tinder thing Dec 03 19:51:21 at the very least, you might want to check out how they’re doing it Dec 03 19:51:47 the tinder thing in particular? yeah, but then it's a full-on simulation with the cards, which is not quite what i want. but i'll try the framelayout thing. Dec 03 19:52:21 it’ll be close enough to what you want Dec 03 19:54:47 The ViewOverlay that vigilancer posted is worth looking at too Dec 03 19:55:56 Ok Dec 03 19:56:05 I used Hierarchy Viewer from the Android SDK Dec 03 19:56:10 Got this http://i.imgur.com/xCZ5fHI.png Dec 03 19:56:20 The "ActionBarContainer" is selected Dec 03 19:56:41 I suppose the red rectangle is on the Toolbar, and the green thing is a margin? Dec 03 19:56:47 I really have no idea what's happening ._. Dec 03 19:57:10 Are you usuning toolbar or actionbar Dec 03 19:57:40 ActionBar Dec 03 19:57:47 But there's a Toolbar in it Dec 03 19:57:53 Because that's how Android works I guess Dec 03 19:58:39 See http://i.imgur.com/973nGV7.png Dec 03 19:58:59 It's actually an ActionBarContainer padding Dec 03 19:59:01 I think Dec 03 19:59:07 anyone used location updates from intents? Dec 03 19:59:10 When selecting "Toolbar" there's just the red rectangle Dec 03 20:01:22 The weird horizontal line in there is not even at the same height every time Dec 03 20:01:25 Wtf is this thing Dec 03 20:01:27 ow do I fix this Dec 03 20:02:30 hello Dec 03 20:02:57 no, there's no newbie question coming next. Dec 03 20:03:02 :) Dec 03 20:16:07 :( Dec 03 20:19:45 I have no idea what to do and google gives me nothing Dec 03 20:19:50 Like I'm the first one to get this error Dec 03 20:21:05 remove logic until its gone Dec 03 20:22:24 It comes on orientation change Dec 03 20:22:43 I think I understand why it's set Dec 03 20:22:54 I don't understand what sets it, how, and why it's not removed Dec 03 20:25:51 Ribesg: ActionBar is deprecated mate Dec 03 20:25:56 when I decompile my app that was compiled using proguard, it appears that my strings values don't exist in the decompiled source Dec 03 20:26:05 orbyt_, like I didn't know Dec 03 20:26:09 orbyt_, I've got no other option Dec 03 20:26:14 where does that stuff go when it gets compiled/minified? Dec 03 20:26:15 Ribesg: Use a Toolbar and then setSupportActionBar(toolbar); Dec 03 20:26:29 This does not work afaik Dec 03 20:26:37 I'm using the awful Youtube Player API Dec 03 20:26:38 orbyt_: Why `setSupportActionBar(toolbar);`? (I know that's always recommended, but I'm not convinced it's worth doing.) Dec 03 20:26:57 The only way to overlay the youtube player with something is with the ActionBar Dec 03 20:27:11 Let's see if I can replace it with a Toolbar.. Dec 03 20:27:15 To be able to get the default up button working and such, as well as overflow menus Dec 03 20:27:22 @ TacticalJoke ^ Dec 03 20:27:28 orbyt_: It's not needed. Dec 03 20:27:38 TacticalJoke: how else is it done? Dec 03 20:27:48 `android:navigationIcon="?attr/homeAsUpIndicator"` and `toolbar.inflateMenu(whatever);`. Dec 03 20:27:56 Oops, `app:navigationIcon`. Dec 03 20:28:00 TacticalJoke, in this case this call may make the youtube player api see the toolbar as the activity's actionbar Dec 03 20:28:13 I have no idea how it checks if the view covering it is "allowed" Dec 03 20:28:24 I know it's shitty because google produces awful things Dec 03 20:28:47 TacticalJoke: What is wrong with simply setting it as an actionbar and having those things get taken care of? Dec 03 20:29:03 i think what you do is a lot of boilerplate TacticalJoke Dec 03 20:29:06 orbyt_: That opts you in to the old ActionBar API, which sucks. Dec 03 20:29:15 danijoo: Less than what you do. :p Dec 03 20:29:27 So using a Toolbar I can still have the overlay thing right ? Dec 03 20:29:29 TacticalJoke, no but we already had this discussion Dec 03 20:29:35 I'm just trying to educate people (which Google fails to do here). You don't need to use `setSupportActionBar`, and IMO it's better not to. Dec 03 20:29:46 danijoo: What's wrong with educating people? Dec 03 20:29:50 Should we keep them in darkness? :) Dec 03 20:29:54 TacticalJoke: ah thats a good point i guess. Makes it easier to manipulate it as a simple View im assuming Dec 03 20:30:10 TacticalJoke, how about we just stay closer to my case of having a third party code do things Dec 03 20:30:12 orbyt_: It's still the same regarding it being a simple View. I just like not to use the old ActionBar API, personally. Dec 03 20:30:28 I just have a toolbar as a simple view in all my other activites Dec 03 20:30:36 Here I'm forced to have an old school actionbar afaik Dec 03 20:31:43 orbyt_: Actually, I guess it's not 100% equal regarding it being a simple View. `setSupportActionBar` does other things (e.g., adding `elevation`). Dec 03 20:33:21 i think my dependencies closure alone uses more than 65K methods, let alone the actual dependencies Dec 03 20:33:28 ^thats what I mean with boilerplate Dec 03 20:33:44 it does a ton of setup for you you dont have to do manually Dec 03 20:33:57 Yeah, but the boilerplate of `onCreateOptionsMenu` and `onOptionsItemSelected` isn't nice. Dec 03 20:34:10 TacticalJoke: Interesting. I've yet to try it your way, may test it later. Good looks Dec 03 20:34:11 Even `setSupportActionBar(toolbar);`, despite being one statement, is boilerplate. Dec 03 20:34:18 why are they worse then the menu listener ? Dec 03 20:35:01 orbyt_: Right, this is my point. Google never, as far as I can see, makes it clear that you can do this (e.g., there's no documentation talking about using `app:navigationIcon="?attr/homeAsUpIndicator"`). Dec 03 20:35:21 danijoo: Have you tried both? I have, and from what I've seen there's less boilerplate with using the new Toolbar API. Dec 03 20:35:26 And why not use the new Toolbar API? Dec 03 20:35:35 I'm not saying that everything new is better, but here is a case where IMO the new thing is better. Dec 03 20:35:53 yeah. i tried both Dec 03 20:35:58 its an IMO case :p Dec 03 20:36:11 with pros and cons on both sides Dec 03 20:36:25 How the fuck do I remove this padding? Dec 03 20:36:41 Is there a way to get the ActionBarContainer view? Dec 03 20:37:15 Ribesg: You ought to post your code instead of talking to yourself Dec 03 20:37:56 orbyt_, pretty sure that won't help, but wait a second Dec 03 20:38:05 I've accidentally highlighted something in android studio and I don't know how to unhighlight it Dec 03 20:38:10 Anyone know how? Dec 03 20:38:13 Ribesg, well.. it must be something in your code Dec 03 20:38:18 TinFury: Keep pressing Esc. Dec 03 20:38:18 or style or xml Dec 03 20:38:38 TacticalJoke, Nope Dec 03 20:38:55 turn it off and on Dec 03 20:39:07 See whether it says anything if you mouse-hover over it. Dec 03 20:39:22 https://gist.github.com/Ribesg/a645eb27beff2090fc7f Dec 03 20:39:28 Does that help Dec 03 20:39:30 nope.... i closed android studio and openend it as well. Dec 03 20:39:45 Maybe it's supposed to be there. Dec 03 20:40:10 TinFury could you post a screenie? Dec 03 20:40:13 Oh... it does say something Dec 03 20:40:26 Unchecked code. I guess the whole thing is a warnign Dec 03 20:40:32 Unchecked cast? Dec 03 20:40:42 Unchecked call Dec 03 20:40:42 hey all. I have a rooted device. I want to bring up a dummy networking interface. Any clues? Dec 03 20:41:17 TinFury: What is the line? Dec 03 20:41:59 http://pastebin.com/4f9TtLTy Dec 03 20:42:22 Hightlight starts at new GsonRequest Dec 03 20:43:36 ac_slater_, read the topic Dec 03 20:44:00 TinFury: GsonRequest is a generic type. Dec 03 20:44:31 danijoo: sorry mate Dec 03 20:44:33 TinFury, yes Dec 03 20:44:36 Ok that didn't seem to help Dec 03 20:44:46 Ribesg: Why not create a small reproducible project? Way easier to debug such things. Dec 03 20:45:00 New strat: trying to find tutorials on how to do this to to the opposite Dec 03 20:45:04 TacticalJoke, fun fact: it is Dec 03 20:45:10 Hmm. Dec 03 20:45:19 The actual problem occurs in a much much bigger cosebase Dec 03 20:45:42 codebase*, like the activity is a subclass of 4-5 others and it's in MVC etc Dec 03 20:45:53 So yeah I reproduced it in this single Activity Dec 03 20:47:33 You're doing stuff like `supportRequestWindowFeature(WindowCompat.FEATURE_ACTION_BAR_OVERLAY)` and `supportActionBar.setBackgroundDrawable(ColorDrawable(Colors.TOOLBAR_BACKGROUND))`. Can't you remove all that, piece by piece, and see whether things change? Dec 03 20:47:41 Seems kinda complicated for a "small, reproducible example". Dec 03 20:47:55 Are fragments necessary to reproduce? Dec 03 20:47:58 i thought the same Dec 03 20:48:28 Android Studio 1 - 0 Yours Truly :-( Dec 03 20:49:03 TacticalJoke, yes, I'm using the fragments Dec 03 20:49:19 TacticalJoke, I'm forced too, if I don't use them I have to use YouTubeBaseActivity Dec 03 20:49:26 I'll try to remove stuff Dec 03 20:49:47 but you dont need this to reproduce the padding bug, do you? Dec 03 20:49:58 what's the best place to put stuff like URL endpoints and GCM ids in an android app? BuildConfig? strings.xml? other? Dec 03 20:50:16 joshkovach, both are valid options Dec 03 20:50:47 AS 1.5.1 out Dec 03 20:50:51 I usually hardcode url endpoints Dec 03 20:51:03 For Linux as well g00s Dec 03 20:51:14 no changelog yet, right? Dec 03 20:51:21 I noticed in a decompile that BuildConfig values, when called in code, will render in plaintext, while I can't find a single string value from my resources in the decompiled source Dec 03 20:51:30 danijoo, I do, I think Dec 03 20:52:03 danijoo, I'm 100% sure the YoutubePlayer itself does some stuff to some window/decorview/Idontknow what things Dec 03 20:52:13 And it doesn't revert it afterward Dec 03 20:52:16 joshkovach, thats because buildconfig will create a java class where they are put as static variables Dec 03 20:52:49 in contrast to resources who gets added to the project as binary xmls Dec 03 20:53:29 good thing about build config is that you dont need context to access it Dec 03 20:54:21 yeah Dec 03 20:55:47 Removed some lines Dec 03 20:58:04 Currently experimenting with WindowManager.LayoutParams Dec 03 20:59:15 could this be a bug in anko? Dec 03 20:59:23 just a guess Dec 03 20:59:32 Yeah, that's another thing. There's no reason for a small reproducible project to use Anko. Dec 03 20:59:41 No idea Dec 03 20:59:47 How can you get window flags ? Dec 03 20:59:51 There's set, clear, add Dec 03 20:59:57 I don't see any getter or something like that Dec 03 20:59:59 Ribesg: Every tiny bit of complexity is, potentially, hours added to finding the problem. Dec 03 21:00:20 TacticalJoke, not going to rewrite all my app without Kotlin nor Anko, kthx Dec 03 21:00:29 You're asking about padding. Dec 03 21:00:48 Why would you add Anko to the equation? Dec 03 21:01:00 I don't mean to be rude -- it's just stuff like this ends up wasting so much time. Dec 03 21:01:03 Ribesg, its about creating a project to reproduce the bug, not rewriting it.. Dec 03 21:02:01 Maybe I'll end up doing that Dec 03 21:02:04 In a week Dec 03 21:02:12 But I want to try to debug it first Dec 03 21:04:05 How could a bug in Anko add a padding to the actionbar? Dec 03 21:04:45 who knows what their code does Dec 03 21:12:09 Well I found some kind of workaround Dec 03 21:12:40 This padding has exactly the height of the status bar Dec 03 21:13:04 So I set the flags allowing the content to go under the status bar Dec 03 21:13:12 This way the padding is hidden... Dec 03 21:14:55 I hope theres no QA between you and a release ^^ Dec 03 21:14:58 hi all, has anyone here written an app using qt-creator here ? Dec 03 21:15:30 Well it doesn't really work Dec 03 21:15:46 After a few orientation changes the actionbar goes below the system bar Dec 03 21:16:00 i.e. the buggy padding disappeared Dec 03 21:16:12 And now my own padding replaced it, below the half-hidden actionbar Dec 03 21:16:48 nobody can help you since you cant ditch out some possible errors Dec 03 21:16:56 or dont want to Dec 03 21:19:15 Yeah, the only practical way to figure something like this out is to create a new project and add code bit by bit until the problem presents itself. Dec 03 21:19:36 But I would need all of what I have now for the problem to appear Dec 03 21:19:38 At that point, either you know exactly what the problem is or you know where the problem is and can limit your scope. Dec 03 21:19:46 I'm 100% it's caused by something the youtube player does Dec 03 21:19:58 And this shit's code is obfuscated, so who knows what it does Dec 03 21:20:21 Ribesg: I doubt that is true. For example, I doubt you would need to use Anko to reproduce this. Dec 03 21:20:27 And those two statements I posted earlier. Dec 03 21:20:41 I agree for Anko Dec 03 21:20:43 But, well, it's your life. :D Dec 03 21:20:50 But I can't really remove other things Dec 03 21:21:02 You made me remove my background color change, which breaks the youtube player Dec 03 21:21:04 For example Dec 03 21:21:09 try replacing the youtube fragment with some empty fragment Dec 03 21:21:19 then you see if youtubefragment is the problem Dec 03 21:21:29 Could do that yeah Dec 03 21:21:54 replace anko with a simple xml, and you see if its anko Dec 03 21:22:12 its not like this will take hours for those few lines of anko code.. Dec 03 21:23:24 Damn Dec 03 21:23:33 No Ican't change the fragment, YouTube handles the fullscreen mode Dec 03 21:29:51 Ok I changed some code and there's no problem when replacing the youtube player fragment with an empty fragment Dec 03 21:41:11 "YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is obscured by android.support.v7.widget.ActionBarContainer" Dec 03 21:41:14 Ok fuck this Dec 03 21:49:11 sounds nasty Ribesg Dec 03 21:49:39 I'm just entirely dropping the idea to do it the legit way Dec 03 21:49:47 I heard a Dialog doesn't stop the playback Dec 03 21:49:53 I'll just use that Dec 03 21:50:23 DialogFragment? Dec 03 21:50:33 I'm getting a file from a filename with FileInputStream-object. But when i'm using it, i get a Filenotfound exception. I only have the fileName and it opens on my other environment. How can i create a this file if i only have this filename? Dec 03 21:50:56 anyone ? Dec 03 21:56:35 The "official" youtube help didn't even answer my question at all http://stackoverflow.com/questions/33998568/actionbar-overlaying-youtubeplayersupportfragment-from-youtube-player-api Dec 03 21:57:26 lexton, yep according to this, it should work http://stackoverflow.com/questions/14014087/views-overlayed-above-youtubeplayerfragment-or-youtubeplayerview-in-the-layout-h#comment19355797_14016025 Dec 03 21:58:22 Hello guys. I need some help with something I'm not completely sure about how to do it. Dec 03 21:59:16 I want to pull an image from a website that is updated every 10 seconds. I want that my smartphone updates the ImageView as the image of the website updates. Dec 03 21:59:20 I don't own that website. Dec 03 21:59:46 Any suggestion or hint? Dec 03 22:00:17 set up your own server to poll that website Dec 03 22:00:34 then when it updates, your server copies the image, and then uses GCM to update the app Dec 03 22:00:59 but first, ask the owner of the website if this is ok Dec 03 22:01:00 At least don't get the image directly from the app :) Dec 03 22:01:24 simply ripping someone else’s content off is pretty skeezy, and definately unethical Dec 03 22:01:51 Well it's an government organization. Dec 03 22:01:57 And ddos-ing their server is even less ethical Dec 03 22:01:57 yes, no matter what, make sure the app is getting the copy of the image from your server, not theirs Dec 03 22:02:00 what's the difference between a dialog's onDismissListener vs onCancelListener? Dec 03 22:02:18 cancel is called when someone explicitly presses the cancel button Dec 03 22:04:39 Would you still consider unethical if I stream the image and monetize my app by adding adds XD? Dec 03 22:04:47 yes Dec 03 22:05:50 Dammit. I was planning to monetize my app even if I told the owner of the website about my app. Dec 03 22:06:10 is it the Nasa image of the day? Dec 03 22:06:14 No Dec 03 22:06:51 if it’s government data, there is a case that the data does belong to the public Dec 03 22:06:52 but consider that it's the Nasa image of the day. Dec 03 22:07:22 hey all Dec 03 22:07:27 anybody have any idea what this error means: java.lang.IllegalArgumentException: Layout: -17 < 0 Dec 03 22:07:44 Well, not government data. It's citizen's data. Dec 03 22:07:52 what is it Dec 03 22:08:20 hm, so rxjava 1.1.0 is out - is it just a matter of APIs being deprecated / promoted ? Dec 03 22:08:27 Well, information that a citizen should know about. Dec 03 22:08:35 what is it Dec 03 22:08:49 you’re backtracking, and that makes me think it’s something that you shouldn’t be doing Dec 03 22:08:58 No, I'm not backtracking haha. Dec 03 22:09:11 yes you are Dec 03 22:09:15 Lol Dec 03 22:09:17 what data is it Dec 03 22:09:28 It's not data, it's an image. Dec 03 22:09:30 s73v3r: Is this a police investigation? Dec 03 22:09:38 Consider it to be the Nasa image of the day. Dec 03 22:09:44 "Answer the question or it's 10 years inside!" Dec 03 22:09:44 no, I won't Dec 03 22:09:56 He said it was government data at first, and now he’s saying it’s not Dec 03 22:10:05 I mean NASA image is government data... Dec 03 22:10:07 ranguro, use okhttp with caching enable to poll it from the device if you want the updates Dec 03 22:10:08 makes me think that it’s not anything that he has the rights to Dec 03 22:10:15 Thats because english is not my native language. Dec 03 22:10:30 Mavrik: No. Do not poll from the device Dec 03 22:10:35 ranguro, or do you have some other issue? 10 sec is a pretty nasty interval. Dec 03 22:11:07 @Mavrik, well the image in the website is updated every 10 seconds Dec 03 22:11:27 I wanted to mantain the rythim with the website but I could increase the interval to 20 seconds. Dec 03 22:11:33 or 30 seconds Dec 03 22:12:15 ranguro, while the app is running or on background? Dec 03 22:12:28 while the app is running Dec 03 22:12:52 if you set up your own server and GCM, you won’t have to worry about running or background Dec 03 22:13:06 GCM gives you 0 benefit with 10sec interval. Dec 03 22:13:27 it gives you the benefit that the devices aren’t polling Dec 03 22:13:39 which is a pretty crappy thing to do to someone else’s server Dec 03 22:14:14 join #design Dec 03 22:14:15 Not sure why do you think GCM will help with that. Dec 03 22:14:18 Oops Dec 03 22:14:35 Having a proxy HTTP server would help to ease the load on the 3rd party server. Dec 03 22:14:38 I think Mavrik is on the right track Dec 03 22:14:43 because you’d have one server that is his doing the polling, instead of many clients Dec 03 22:14:58 and then Google would be the one doing the heavy lifting of informing the clients Dec 03 22:15:10 s73v3r, that's... not the expensive part. Dec 03 22:15:14 get one server that loads the image every 10 sec Dec 03 22:15:17 Or will make any difference. Dec 03 22:15:21 and let the apps poll your own server Dec 03 22:15:25 Yes. Dec 03 22:15:30 That's the sane approach. Dec 03 22:15:34 but only if app is in forground Dec 03 22:15:41 Especially since you can update the server without updating the apps if the content changes. Dec 03 22:15:41 yes it will. the 3rd party server isn’t going to be the one slammed with device requests Dec 03 22:15:50 s73v3r, of course it will. Dec 03 22:16:01 The devices will hit it once every 10 seconds anyway because the content updates. Dec 03 22:16:23 Yes. Dec 03 22:16:42 Mavrik: No it won’t. Not if he copies the image to his own server, which is the ethical thing to do Dec 03 22:16:43 yeah in this scenario every 10 seconds would be a successful update so you gain nothing if you do the polling from a server but still hit the other one with the requests after an update gcm notification Dec 03 22:17:03 s73v3r, agreed, but GCM has absolutely nothing with that. Dec 03 22:17:22 GCM means that the phone doesn’t have to constantly poll a server Dec 03 22:17:25 At 10 sec GCM will even cause you issues because you'll be throttled by google. Dec 03 22:17:34 why would gcm help if you send the gcm at the same interval you would do the polling? Dec 03 22:17:40 s73v3r, you're just parroting same stuff without thinking what it means :) Dec 03 22:17:50 i am thinking about what it means Dec 03 22:18:13 Why would you use GCM Dec 03 22:18:15 You're copletely right, Mavrik and I understand your point. Dec 03 22:18:19 Just get the app to poll your server Dec 03 22:18:22 And have a real server Dec 03 22:18:47 offtopic but also: ask the owner :p Dec 03 22:19:11 The owner is a government institution dedicated to research Dec 03 22:19:18 still ask Dec 03 22:19:28 it will still have a contact address Dec 03 22:19:35 they may have plans to make their own app Dec 03 22:19:36 ranguro, anyway, if you have to get updates every 10 secs, you have to poll no matter what Dec 03 22:19:46 Ok Dec 03 22:19:55 Any suggestion to do that? Guide? link? Dec 03 22:19:57 smart way to do it is to put your own server inbetween that will cache images to ease the load on the target server and let you fix issues quickly without updating the apps Dec 03 22:20:48 the only real way of doing that imo because you dont want to update all apps everytime the server changes the site you are scraping from Dec 03 22:21:16 I want to increase the interval to be like 20 seconds or 30, whatever. Dec 03 22:21:45 not the 10 seconds that would be overkill for my app Dec 03 22:21:52 you could have a response from the server which would tell the app when to try again Dec 03 22:23:33 @Mavrik, are you there? Dec 03 22:23:46 you could also just send a cache-header with the image making the app to not do any future requests until this one expires Dec 03 22:24:30 Any suggestion on how to do the server setup? Dec 03 22:24:49 you could check out AWS Lambda, or maybe something like Heroku Dec 03 22:24:53 an easy setup Dec 03 22:26:09 I haven't done something similar before. Dec 03 22:26:53 ranguro, thats not really android related anymore Dec 03 22:27:01 server setup is a totally different topic Dec 03 22:27:17 Yes, I know. Dec 03 22:28:09 and I'm thinking that would be a hard thing to do. Dec 03 22:28:24 its not that hard Dec 03 22:28:32 you just have to learn stuff before doing it Dec 03 22:28:51 Yes Dec 03 22:29:15 you’d probably want to look into ruby, python, or maybe node Dec 03 22:29:28 or php Dec 03 22:29:53 hapi.js ! Dec 03 22:30:05 or kotlin Dec 03 22:30:12 or tomcat+java Dec 03 22:30:29 or this google stuff i forgot the name from Dec 03 22:30:38 i was trying to list things that it would be easy to get setup and started Dec 03 22:31:06 You suggested Heroku at first Dec 03 22:31:09 I think the easiest thing would be deploying that google cloud backend stuff Dec 03 22:31:14 Any of you guys know how to animate the background drawable of an ImageView ? Dec 03 22:31:21 because you can do it in AndroidStudio and easily combine it to your app Dec 03 22:31:32 Google Cloud Dec 03 22:31:37 Heroku is a hosting server, much like Amazon Lambda Dec 03 22:31:39 But I need to add a billing count for that Dec 03 22:31:40 I think Dec 03 22:31:54 pretty much anything, you will need to do that Dec 03 22:31:58 for the Cloud platform Dec 03 22:32:03 ranguro, you will need that anyway Dec 03 22:32:09 or you cant publish to play store Dec 03 22:32:26 you will probably be small enough at first to fit in the free tier of most services Dec 03 22:32:48 googles free tier is pretty huge yeah Dec 03 22:34:18 If all your doing is grabbing an image from a website why do you need a backend...? Dec 03 22:34:24 s73v3r if I use GCM I will still need to create the server, right? Dec 03 22:34:28 eys Dec 03 22:34:30 yes Dec 03 22:34:50 orbyt_: So thousands of phones aren’t slamming someone else’s server every 10-20 seconds Dec 03 22:35:34 s73v3r: ah right. Dec 03 22:45:56 Does cloudscrape work for this task? Dec 03 22:49:16 i don’t think anyone’s used it. They have a free trial, give it a whirl and see how it goes Dec 03 22:49:40 Da hell do I use a TransitionDrawable? Dec 03 22:49:51 I created it, now I want to apply it to a view, and transition Dec 03 22:50:14 Oh Dec 03 23:04:07 Anyone know how to pull the background drawable from a LinearLayout, I tried getBackground, but that returned me with a LayerDrawable, and I have it assigned as a TransitionDrawable Dec 03 23:07:12 Ribesg have you tried the Exoplayer mentioned in the link you posted earlier? Dec 03 23:07:20 Yep Dec 03 23:07:24 Works great! Dec 03 23:07:39 I'm using it to play HLS Dec 03 23:08:32 does it support m3u8 files? what about videos playing in a viewpager embedded in a recyclerview? Dec 03 23:09:09 I'm playing Hitbox streams in the ExoMedia player without any problem Dec 03 23:09:29 Ribesg in what kind of android layout? Dec 03 23:09:35 I'm not sure about recyclerviews Dec 03 23:09:47 Playing videos in Recyclerviews? feels weird and dangerous Dec 03 23:09:54 I'm just playing it in some simple layout Dec 03 23:10:00 linearlayout I think Dec 03 23:10:04 or relativelayout Dec 03 23:10:11 playing videos in a recyclerview is not easy Dec 03 23:10:21 But really, if a VideoView works, the ExoMedia player will work Dec 03 23:10:38 I'm using a textureview to play videos in the recylcerview Dec 03 23:10:54 Why would you play a video in a recyclerview? Dec 03 23:10:56 easier to resize and it supports hardware acceleration Dec 03 23:11:09 lexton: how fast are loads after scrolling? Dec 03 23:12:37 the videos are short in length, they load fast with enough bandwidth and low latency Dec 03 23:13:34 I've got a fun layout in my app, the main activity Dec 03 23:13:38 It's a viewpager of 3 pages Dec 03 23:13:52 I'll take a look at exomedia, hopefully it has features that I need Dec 03 23:14:17 Each page contains its own viewpager (with another tablayout) with 1-3 pages Dec 03 23:14:22 And each "subpage" contains a recyclerview Dec 03 23:14:27 Works flawlessly Dec 03 23:14:41 that sounds like a terrible ux tbh Dec 03 23:14:55 The first viewpager has no swipe action Dec 03 23:15:13 So there are 3 fixed tabs in the bottom to change first level categories Dec 03 23:15:16 Are you using a fragment adapter for the viewpager? Dec 03 23:15:21 Yes Dec 03 23:15:30 I made some tools Dec 03 23:15:49 do you have source code on github for it? Dec 03 23:16:07 Nope Dec 03 23:16:12 It's also all in Kotlin Dec 03 23:16:35 you should put it up on github Dec 03 23:16:46 especially since it's written in Kotlin Dec 03 23:16:52 https://gist.github.com/Ribesg/b520ed81060c59e762b8 Dec 03 23:16:59 Things like this Dec 03 23:17:15 I may put my entire "Android/ANko extensions" thing on Github at some point Dec 03 23:17:34 As if I make a second app, I will reuse them, so I will make a lib project containing them Dec 03 23:17:49 There's no reason for this lib not to be OS Dec 03 23:17:55 But for now it's in my app's codebase Dec 03 23:18:15 https://gist.github.com/Ribesg/0b9af4bcfbe9991c2dda Dec 03 23:18:42 lol Dec 03 23:18:45 ha! Dec 03 23:20:16 It's just a funny 140 lines Hello World Dec 03 23:20:23 Which actually only writes Hello Dec 03 23:22:15 lexton, also made this https://gist.github.com/Ribesg/0da0c83256a0cf60d9ad Dec 03 23:22:19 For my recyclerviews Dec 03 23:23:43 nice Dec 03 23:23:56 I need to learn Kotlin and Swift Dec 03 23:24:26 android studio needs a playground feature like xcode has Dec 03 23:24:52 Anyone have experience with TransitionDrawable, it seems like its adding padding when I apply it as a background to a LinearLayout Dec 03 23:24:52 I'm really not into Apple stuff Dec 03 23:25:10 But I'm working with someone who's a mac guy and who makes the iOS version of our app :) Dec 03 23:25:22 s73v3r did you get xcode from MAS? people left bad reviews saying MAS was struggling with it Dec 03 23:25:32 kotlin playgrounds would be awesome Dec 03 23:25:45 today? Dec 03 23:25:52 s73v3r no in general Dec 03 23:26:00 What's a playground ? Dec 03 23:26:03 i’ve not had too many problems with it Dec 03 23:26:28 a playground is similar to a python notebook Dec 03 23:26:33 https://developer.apple.com/library/ios/recipes/Playground_Help/Chapters/AboutPlaygrounds.html Dec 03 23:26:55 it’s a way to quickly prototype code in an instant run environment Dec 03 23:27:01 ok Dec 03 23:27:21 There's stuff for DSL for idea but no such thing Dec 03 23:27:31 The Anko IDEA plugin Dec 03 23:27:40 Which absolutly never worked for me x) Dec 03 23:30:52 a repl Dec 03 23:31:00 and if you want a repl, use any language but java Dec 03 23:31:03 problem solved Dec 03 23:31:14 for that matter, you can use any alternative language repl even if you're working /in/ java Dec 03 23:31:27 you just deviate syntax slightly for the repl Dec 03 23:31:36 intellij and eclipse both have workbooks that let you work in a repl Dec 03 23:33:35 ugh, how do I push/pull from a bare git repo Dec 03 23:33:43 fetch/push don't seem to do what I want Dec 03 23:33:47 problem isn’t solved, because the de facto language for Android development is Java. Dec 03 23:34:26 and java has enough of it’s own quirks that if I prototyped something in another language, I’d still have a bunch of work trying to make it work on Java Dec 03 23:34:43 that's pretty much untrue Dec 03 23:34:48 nope Dec 03 23:34:48 beanshell was a prime example of this Dec 03 23:34:56 there's very little work getting it to wo rk in java Dec 03 23:35:11 there’s that phrase “Getting it to work" Dec 03 23:35:28 implying that it doesn’t easily or reliably work out of the box Dec 03 23:36:04 regarding bare git repository: Have you tried a force push? Dec 03 23:36:10 i think clojure guys can repl on device, i haven't tried it yet Dec 03 23:36:24 i assume the destination is the bare repository Dec 03 23:41:25 Ok I have a Dialog Dec 03 23:41:46 I set a transparent background and all so that it looks like a normal view Dec 03 23:42:04 Now, how do I allow it to let pass events to the underlying activity? Dec 03 23:42:37 Like my Dialog is open, I disabled the cancel when you click out of the dialog box, and I clikc on a toolbar button for example Dec 03 23:42:41 How to make that click work? Dec 03 23:43:25 well I have no faith in the qt creator's ability to dev android apps. Dec 03 23:47:21 I would also have little faith in most things that required the NDK, perhaps games excluded Dec 03 23:57:04 s73v3r, problem isn't even the ndk, it doesn't even start to compile an apk to begin wiht Dec 04 00:07:38 g00s, I did it Dec 04 00:07:53 KevinM what did you do !? Dec 04 00:08:03 get the fonts working ? Dec 04 00:08:31 http://i.imgur.com/tgAcbsN.png Dec 04 00:09:26 KevinM that looks better - so what did you have to do ? Dec 04 00:09:52 g00s, I have it running on the JetBrains version of OpenJDK that is prepackaged with PhpStorm Dec 04 00:10:20 AS 2.0 doesn't come with the jetbrains jre ? Dec 04 00:10:30 Doesn't come with any JRE, afaik Dec 04 00:11:00 weird, because idea 15 does Dec 04 00:11:13 AS 2.0 is based on idea 15 Dec 04 00:11:46 maybe they left it out because its preview still, and it would make the d/l huge Dec 04 00:12:17 I dunno what their relationship is. You'd think they'd use the JetBrains JDK but perhaps Google doesn't want to package something they didn't strictly build? Dec 04 00:13:11 JetBrains apps automatically look for the "jre" directory in their .app/Contents folder which is their prepackged custom JRE. So I figured AS still has that logic in it. Copied over the jre directory from PhpStorm to Android Studio and boom it works Dec 04 00:14:17 and now, the Subpixel option in the settings actually does something when I switch between that and Grayscale Dec 04 00:16:40 KevinM yeah, looks like 15 comes bundled with 1.8u51 Dec 04 00:17:34 KevinM now, some people said they saw a glitch in the font rendering - like you see the greyscale AA and then the subpixel AA is later drawn over, did you notice anything ? Dec 04 00:18:02 On what VM? Dec 04 00:18:15 theirs Dec 04 00:18:24 IntelliJ? Dec 04 00:19:25 i guess i'll mess around when AS 2 is stable ;) Dec 04 00:24:25 g00s, For AS Java is listed as a system requirement so I doubt they're packaging it. Downloading the stable version now to see if it's in there Dec 04 00:25:28 AS stable doesn't have it Dec 04 00:25:47 like i said, jetbrains started bundling with intellij 15 Dec 04 00:26:03 Did they start bundling the JDK? (I just got here.) Dec 04 00:26:27 TacticalJoke 15 EAP and above, yeah Dec 04 00:26:57 That sounds handy. I've always hated the extra step of installing the JDK. Dec 04 00:27:08 on everything, or just on OS X? Dec 04 00:27:20 cause I remember they started bundling their own on OS X due to font wonkiness Dec 04 00:28:03 KevinM yeah, looks like 15 comes bundled with 1.8u51 Dec 04 00:28:12 Sorry, I thought you were talking about AS there for some reason Dec 04 00:28:45 I have a feeling they're going to keep telling people to use 1.6 Dec 04 00:29:01 since you can still use the 1.7 JDK with a 1.6 JRE Dec 04 00:30:26 Who's currently telling people to use 1.6? Dec 04 00:30:42 You can use 1.7 and 1.8 for Android. Dec 04 00:30:47 TacticalJoke, Android Studio team Dec 04 00:31:03 I thought they were telling people to use 1.7. ;o Dec 04 00:31:15 Not if you want decent font-rendering on Mac Dec 04 00:31:47 No idea if 1.6 still works on El Capitan. I would imagine it's going to break eventually. Dec 04 00:33:01 can't wait for 2.0. hoping that it's as good as it sounds Dec 04 00:33:11 android studio, i mean Dec 04 00:33:34 just started android and feeling the hassle of waiting for the emulator to receive the app Dec 04 00:33:45 "Swift is great, but feature for feature, Kotlin blows it out of the water." Dec 04 00:33:55 Seems to be the sentiment on . Dec 04 00:36:07 i saw people saying that, but I didn’t get a whole lot of actual meat ehind it Dec 04 00:36:09 behind it Dec 04 00:36:11 how can I read a fixture file in a test?, I've been doing this: final InputStream stream = RuntimeEnvironment.application.getApplicationContext().getAssets().open(FIXTURE_GET_RIDE_RESPONSE); Dec 04 00:36:50 I'll keep rolling with 2.0 P2 on the JetBrains VM and see if there are any issues. A good alternative to 1.6. Dec 04 00:37:09 I always get: FileNotFoundException: build/intermediates/assets/staging/debug/get_ride_response.json Dec 04 01:28:41 damnit Dec 04 01:28:44 error again on another machine Dec 04 01:28:53 same code just different machine Dec 04 01:29:16 gnustl_shared UnsatisfiedLinkError Dec 04 01:29:35 same device Dec 04 01:32:10 I can cause the error with this line Dec 04 01:32:11 System.loadLibrary("gnustl_shared"); Dec 04 01:49:22 hello everyone how is called the upper menu when you press and drag the one with announces.? Dec 04 01:49:45 where is clock signal.... Dec 04 01:50:44 The status bar? Dec 04 01:51:41 i think Dec 04 01:52:10 yes thats is lol :)) Dec 04 02:23:50 hi, I'm trying to build a release version of my app with proguard and minify enabled, I get a build error saying I have to fix warnings about it not being able to find class members in my dependencies Dec 04 02:27:03 then fix them Dec 04 02:28:38 Jonno_FTW forego proguard unless you need it, too much hassle Dec 04 02:30:10 fair enough Dec 04 02:30:19 all the warning are in my dependencies like jodatime and stripe Dec 04 02:31:01 Jonno_FTW i hope you aren't using the old jodatime :) Dec 04 02:31:18 I'm using 2.9.1 Dec 04 02:31:31 use threeten instead Dec 04 02:32:00 https://github.com/JakeWharton/ThreeTenABP Dec 04 02:34:34 also, what's the best cross platform development framework, I want to deploy to iOS and Android (maybe windows mobile)? Dec 04 02:36:51 wow, how was twitter among Google's best apps of 2015? we know this is a bunch of crap then Dec 04 02:37:39 It's improved significantly imo. Best app material is debatable. Dec 04 02:38:02 i just tried it a few days ago Dec 04 02:38:10 using lists is a pain in the ass Dec 04 02:38:46 actually didn't feel like a material app at all Dec 04 02:39:54 I quite like twitter Dec 04 02:40:14 hello ^^ Dec 04 02:40:17 my only problem with it is it doesn't support ACTION_SEND_MULTIPLE Dec 04 02:41:40 you're right that it isn't very material though Dec 04 02:42:02 at least they didn't add a side bar just for the sake of it :) Dec 04 02:42:03 I haven't tried Twitter in a while, but I used to hate it wasted screen space with those top/bottom bars. Dec 04 02:42:29 The only people that I've seen use Twitter lists are those #SEO tyoes Dec 04 02:42:31 *types Dec 04 02:42:38 And sometime I wonder if those are real people. Dec 04 02:42:49 Such a pain to have to go down the list (the opposite of what people generally do on Twitter) to get one of them to go away. Dec 04 02:42:50 i'm trying to read in some data from a file and i've got an Array>, but i'm having trouble with adding additional columns being added dynamically in the loop Dec 04 02:42:50 I've only just seen that they exist Dec 04 02:42:54 what are they? Dec 04 02:43:22 Twitter lists? You can add specific people to them to create a custom feed of sorts Dec 04 02:43:29 http://pastebin.com/1K914gxq Dec 04 02:43:36 bleugh, life's really too short Dec 04 02:44:41 i'm not sure how to make a new rectHolder, array for a new column Dec 04 02:44:55 alex_PP i think it would have been great for lists to go in Navigation Drawer Dec 04 02:45:12 agree to disagree g00s Dec 04 02:45:13 :) Dec 04 02:45:33 as is, you have to drill down into list1, go back up, drill into list2, go back up, etc Dec 04 02:45:44 unless i missed something Dec 04 02:45:46 i use different accounts for different jobs and swap account to swap topic Dec 04 02:47:04 hm, i see 2 twitter apps now in Play Dec 04 02:47:10 one has 'Ad' , the other does not Dec 04 02:50:05 weird, am i the only one seeing this. there are 2 official Twitter apps showing up in Play (app) Dec 04 02:53:16 I've only got Twitter and Periscope Dec 04 02:57:57 i cleared Play Store cache and only see one now **** ENDING LOGGING AT Fri Dec 04 03:00:40 2015