**** BEGIN LOGGING AT Sun Jan 18 02:59:59 2015 Jan 18 03:02:11 You're welcome, is what I gave you sufficient? It worked for me here. (of course the Frame is empty, so it's small, but everything is in order) Jan 18 03:08:37 oh man, FML. seems like the BLE operations need to be called on the UI thread for samsung devices Jan 18 03:08:51 * g00s headdesk Jan 18 03:08:53 * g00s headdesk Jan 18 03:08:56 * g00s headdesk Jan 18 03:10:07 Mavrik you around ? Jan 18 03:11:56 Well, Samsung properly f-ed up this time Jan 18 03:14:44 g00s, wow really? Jan 18 03:14:46 that completely f's up my design, because after beginning an operation i blocked using SynchronousQueue (as a rendezvous channel) until a matching response arrived Jan 18 03:15:02 and i can't block on the UI thread of course Jan 18 03:16:15 MikeWallaceDev: no i just constrained the child view that was causing the problem in the view i added to m2, by using resoruce qualifiers, for now it works so ill be fine Jan 18 03:19:40 ok Jan 18 04:05:03 Anyone know a good revert icon from the material design icon list? Jan 18 04:23:08 writing code to work with the Android BLE apis is like being Indiana Jones and having to step on all the right stones to cross the bridge, or certain death Jan 18 04:32:16 is there a way to clear the toolbar menu? Jan 18 04:32:35 if i call inflateMenu multiple times is there some other call i ust make to clear the menu so the inflations dont stack? Jan 18 04:33:05 there is invalidateBlahBlah Jan 18 04:33:30 invalidateOptionsMenu Jan 18 04:33:30 lasserix: you could just not inflate from the higher level class Jan 18 04:34:02 and then just decide what needs to be in the new version Jan 18 04:34:19 getMenu.clear Jan 18 04:34:24 i am using toolbar tho Jan 18 04:34:27 not as action bar Jan 18 04:34:36 ah, sorry Jan 18 04:35:13 now just go to figure out why its inflating the wrong menu Jan 18 04:35:38 doh cut and paste problems Jan 18 04:39:14 darn that cut and paste Jan 18 04:44:01 Am I being paranoid or is it a prevalent practice to downvote your competitors when they get too high in rankings? Jan 18 04:44:19 ratings* Jan 18 04:48:51 Agamemnus: no idea. hopefully google would do sometihng about that if it was found out Jan 18 04:48:58 is that something people really do? Jan 18 04:49:14 i don't know, feels like it Jan 18 04:49:28 weird Jan 18 04:53:21 you can buy like a 1000 ratings Jan 18 04:53:28 so im sure you can buy 1000 downvotes Jan 18 04:53:39 How can I resign an entire rom to resolve shared user id issues with modified system apks? I've tried resigning all apks and framework with my own platform key but I'm still getting signature issues with shared user id Jan 18 04:54:06 Is there something else that I need to sign other than all apks in /system/app and /system/priv-app and the framework? Jan 18 04:54:36 noderat please read topic Jan 18 04:54:42 Just noted that Jan 18 04:55:04 Whoops, my bad Jan 18 04:55:17 i know, i also saw some pretty obvious rating buying Jan 18 04:55:30 a few hundred ratings in the span of 3 days, then virtually nothing Jan 18 04:58:13 Dirty Deeds Done Dirt Cheap Jan 18 05:03:54 someone from google saw you talking about how you are Dr. Evil Jan 18 05:04:00 me? Jan 18 05:04:09 yes you Jan 18 05:04:18 I see Jan 18 05:04:32 Mouahahahahaha Jan 18 05:05:40 Agamemnus so whats next, whats after the puzzle app ? Jan 18 05:05:53 g00s, depends on some clients in Texas Jan 18 05:06:17 I'm helping them with a game Jan 18 05:06:21 and if that pans out Jan 18 05:06:38 (well i'm writing the spec, someone else is coding it.) Jan 18 05:06:57 I'll have extra $$$ to do a simulation game i've been planning Jan 18 05:07:17 need a lot of graphics Jan 18 05:07:21 Agamemnus native app or cordova ? Jan 18 05:07:30 gonna be javascript Jan 18 05:07:53 every few days I figure out another trick in Cordova Jan 18 05:08:02 so it's really not an issue anymore Jan 18 05:08:12 but then native, would have to relearn EVERYTHING.. Jan 18 05:16:00 Agamemnus: you're not publishing on iOS, are you? Jan 18 05:17:13 Leeds, not yet. Jan 18 05:17:23 I need to make or get plugins for that. Jan 18 05:17:30 a lot of work Jan 18 05:17:52 Also I need to modify my login system to work for iOS Jan 18 05:18:02 So I'd need to start reading about that.. Jan 18 05:25:50 // comments always start at the beginning of the line in AS and somewhere in the middle aligned to the code following. Any way to fix it. Jan 18 05:40:57 how do i reposition the status icon (charging/no alerts/priority/all alerts) on an android wear watch face? Jan 18 05:44:24 is there any reason why xmlns:android can't be xmlns:a ? Jan 18 05:44:35 no Jan 18 05:44:38 will that somehow break the world? Jan 18 05:44:51 it might break some tools, but it'll work Jan 18 05:44:59 if it does break anything, file a bug Jan 18 05:45:36 fair enough Jan 18 05:50:10 * pifon1 coughs Jan 18 05:56:00 * mantazer covers your mouth Jan 18 05:56:23 * mantazer doesn't want to catch a cold Jan 18 06:17:15 I need some suggestions on choosing the correct branch and the chipset from caf kernel sources Jan 18 06:24:31 is http://androidannotations.org/ similar to Dagger? Jan 18 06:25:05 in some perverse and obscure way, sure Jan 18 06:25:40 JakeWharton: thank you for your prompt response. Jan 18 06:26:27 it's similar like i'm similar to George Clooney Jan 18 06:26:52 can I say there are three DI in android like RoboGuice(Guice), Dagger and androidannotations? Jan 18 06:27:18 JakeWharton: :D Jan 18 06:27:46 I don't think AA does dependency injection Jan 18 06:28:05 JakeWharton: ic. Jan 18 06:28:18 i also don't think it's worth mentioning RoboGuice, just Guice Jan 18 06:28:50 JakeWharton: so, RoboGuice, Guice and Dagger only right now in the open source worlds? Jan 18 06:29:16 RoboGuice and Guice are the same thing Jan 18 06:29:24 from a dependency injection standpoint Jan 18 06:29:37 there's also plenty of other smaller injectors that you can use Jan 18 06:30:08 you mean like ButterKnife? Jan 18 06:30:13 no Jan 18 06:30:19 Butter Knife has nothing to do with dependency injection Jan 18 06:30:39 can you give me other smaller injectors names? Jan 18 06:31:01 JakeWharton: I want to compare all dependency injections in Android Jan 18 06:31:24 and list pron and cons and even evaluate them each one by one Jan 18 06:32:46 Spring, CDI, pico container Jan 18 06:33:20 oh… are they used in Android ? Jan 18 06:33:31 i don't know Jan 18 06:37:52 Spring looks like used in Android app development, the rest difficult to understand for me Jan 18 06:38:05 CDI is Java EE crap Jan 18 06:38:13 pico container is before my time Jan 18 06:38:13 :) Jan 18 06:39:02 JakeWharton: can You advice me to compare Spring, Dagger and Guice? Jan 18 06:40:11 why are you comparing them? Jan 18 06:40:39 what is the goal? Jan 18 06:41:06 to show that there are good things in android development :) Jan 18 06:41:16 to show current state of Android app development Jan 18 06:41:44 i wouldn't use Spring or Guice on Android for dependency injection Jan 18 06:41:52 if Dagger is good, then how to proof it? Jan 18 06:41:52 they are slow and memory inefficient Jan 18 06:42:54 that’s a good point then compare them by performance and memory inefficiency Jan 18 06:43:34 what other criteria can be? Jan 18 06:45:57 features, API, size Jan 18 06:46:35 JakeWharton: Awesome! :) Thank you a lot! Jan 18 07:15:17 Hi guys, I have a strange problem that is really getting under my skin. I changed a view's width from 60dp to 75dp and suddenly it looks like this: http://i61.tinypic.com/30j0jm0.png Jan 18 07:15:56 The problem view is the button that says "calculator" Jan 18 07:17:05 See how it's not properly lined up with the others? That's really getting under my skin, but I don't know why it's behaving this way Jan 18 07:17:44 It's inside a horizontal linearlayout Jan 18 07:30:55 post your layout Jan 18 07:48:56 turn off baselineAlign Jan 18 07:49:04 on the linear layout Jan 18 07:49:20 https://developer.android.com/reference/android/widget/LinearLayout.html#attr_android:baselineAligned Jan 18 07:51:38 JakeWharton, do you know how can I sign an android app in debug mode? Jan 18 07:54:20 lol.. Jan 18 07:54:23 google it Jan 18 07:54:30 pifon1, I've googled Jan 18 08:01:57 cristian_c: not enough Jan 18 08:02:10 cristian_c: why sign a debuggable version? Jan 18 08:02:13 thepoosh, how have I to search? Jan 18 08:02:27 why do you need to sign it? Jan 18 08:02:33 with your keystore? Jan 18 08:02:44 every apk is signed, the keystore differs Jan 18 08:03:07 thepoosh, I was told that app is not signed, because the package manager does not grant a specific permission Jan 18 08:03:22 every apk is signed Jan 18 08:03:25 lol Jan 18 08:03:34 why are you laughing? Jan 18 08:03:39 what am i missing?! Jan 18 08:04:00 I was told that the permission is not available to non signature apps Jan 18 08:04:22 thepoosh, I eas thinking to the guy that has told me Jan 18 08:05:35 shmooz i think you will like this :) http://www.forbes.com/sites/thomasbrewster/2015/01/15/researcher-says-progressive-insurance-dongle-totally-insecure/ Jan 18 08:05:39 then, I don't know why permission is not granted by package manager Jan 18 08:08:33 thepoosh, how can I make the package manager accepting to grant permissions to apps? Jan 18 08:09:04 I am not following you Jan 18 08:09:08 what are you trying to do? Jan 18 08:09:29 thepoosh, I'm trying to debugging an app developed by me Jan 18 08:09:29 Thank you, I'll try the baseline align. Jan 18 08:09:41 thepoosh, and i've read the logcat Jan 18 08:09:49 cristian_c: what specifically are you doing? Jan 18 08:10:46 thepoosh, I've put the in the manifest Jan 18 08:11:46 because an exception was raised during the execution Jan 18 08:11:56 * Hevvymetal looks around Jan 18 08:13:23 Thanks for the help, that did the trick. Jan 18 08:13:30 thepoosh, and the uses-permission element is needed to solve the permission problem, but when I install the apk, the package manager does not grant the permission use Jan 18 08:14:15 thepoosh, so, I was told that it's not available for non signature apps Jan 18 08:21:07 cristian_c: that permission is only available for apps signed with the system signature Jan 18 08:22:56 JakeWharton, ah, ok, not signed in general Jan 18 08:23:00 thanks Jan 18 08:23:03 correct Jan 18 08:23:04 :) Jan 18 08:23:47 signed is not enough, it's needed to sign them with system signature Jan 18 08:26:10 JakeWharton, thanks, I've found many stuff to do it Jan 18 08:26:11 :) Jan 18 08:40:03 I want my app to error out if a certain intent key was not passed, rather than passing it a defaultValue. The key is a timestamp, so any default value is meaningless really. Is there any cleaner option than this? Intent intent = getIntent(); if (! intent.hasExtra("key")) throw new RuntimeException("something something error"); long myValue = intent.getLongExtra("key", 0); Jan 18 08:40:31 I do not see any signature for Intent#getLongExtra other than (String key, long defaultValue) Jan 18 08:44:22 looks good to me Jan 18 08:45:23 ok haha Jan 18 08:45:53 just seems ugly passing a defaultvalue after checking that the defaultvalue won't be needed, instead of just not passing a default value Jan 18 08:46:01 sure Jan 18 08:46:18 you can also use something like -1 as a default value and then check for that sentinel value Jan 18 08:46:35 it's a timestamp Jan 18 08:46:38 could naturally be -1 Jan 18 08:46:46 how? Jan 18 08:46:56 the last second of 1969 Jan 18 08:46:57 pretty sure the sun will have exploded before a long wraps Jan 18 08:47:01 ah Jan 18 08:47:02 the past Jan 18 08:47:27 in that case, Long.MIN_VALUE Jan 18 08:47:45 unless you allow people to select like 200,000 B.C. Jan 18 08:47:48 haha Jan 18 08:48:05 ...now i'm curious what date that actually represents Jan 18 08:48:44 using Android-style millisecond timestamps or Unix-style second timestamps? Jan 18 08:49:14 i was trying unix time but wolfram alpha won't give me a value Jan 18 08:49:35 "-2^31 as unix time" worked, but using 63 doesn't Jan 18 08:50:16 their loading indicator appears to be the game of life. awesome. Jan 18 08:52:12 JakeWharton, I was wrong, I don't find stuff related to that matter Jan 18 08:52:41 cristian_c: there's a few permissions which only the system can be granted. installing apps without a prompt, for example Jan 18 08:53:05 ok Jan 18 08:56:20 JakeWharton: 292269055-12-03 (I'm guessing it automatically made it BCE) Jan 18 08:56:33 ha. oh geez Jan 18 08:56:41 Timestamp stamp = new Timestamp(Long.MIN_VALUE); Date date = new Date(stamp.getTime()); Log.d("DATE----------", date.toString()); Jan 18 08:57:26 JakeWharton, ok, but when I install the app, the user action is needed to install the package Jan 18 08:57:50 and some permissions appear in the installer window Jan 18 08:58:05 i'm quite surprised Java didn't barf on dates that old Jan 18 08:58:22 s/Java/ancient Apache Harmony Java/ Jan 18 08:58:57 http://i.imgur.com/dITfJcR.gif Jan 18 08:59:31 ! Jan 18 08:59:51 i almost mistook that for a live-stream from my webcam Jan 18 09:00:14 thepoosh, any ideas? Jan 18 09:00:39 root that phone! Jan 18 09:00:50 thepoosh, it's rooted Jan 18 09:13:16 JakeWharton can you think of any advantages / disadvantages between using a rx Scheduler.from(some executor) vs rxandorid scheduler on arbitrary handler ? Jan 18 09:13:43 i'm not very familiar with either to be honest Jan 18 09:14:19 ok, thanks Jan 18 09:17:12 JakeWharton, where can I find more info to do it? Jan 18 09:17:21 do what? Jan 18 09:18:23 oh hai Jan 18 09:18:25 :| Jan 18 09:18:29 can someone halp me?? Jan 18 09:18:30 hows it going thepoosh Jan 18 09:18:40 should it be Login or Log in? Jan 18 09:18:47 JakeWharton, telling the package manager to grant permissions contained in the manifest Jan 18 09:18:50 what about Log In? Jan 18 09:19:03 i think this has gone too far hevvymetal Jan 18 09:19:26 TacticalJerk: Sign in Jan 18 09:19:30 that's what google uses Jan 18 09:19:33 You're right g00s it did I'm just trying to have some fun Jan 18 09:19:40 duncannz yeah Sign In is good Jan 18 09:19:45 ok bai bai Jan 18 09:19:45 just tested it - Settings -> Add Account -> Google Jan 18 09:19:48 cya Jan 18 09:19:58 wait Jan 18 09:20:03 Sign in, not Sign In Jan 18 09:20:04 nvm Jan 18 09:20:05 does not help his case Jan 18 09:20:19 but it is frustrating Jan 18 09:21:05 SimonVT, I'm just gonna say Jan 18 09:21:19 now he's trying to pm, what an a-hole Jan 18 09:21:54 Your silence did not help the situation. Jan 18 09:22:38 g00s: it's all good Jan 18 09:22:48 our company decided to do one week sprints Jan 18 09:22:53 not sure i like it Jan 18 09:23:09 thepoosh 1 week iterations are too short Jan 18 09:23:11 thepoosh, any other ideas? Jan 18 09:23:19 cristian_c: no Jan 18 09:23:25 g00s: i think i agree Jan 18 09:23:41 but we need to show some virility groth Jan 18 09:24:17 thepoosh i remember reading some lit a while back on iteration length, best seems to be 2weeks-30days. shorter amounts just becomes dominated by overhead Jan 18 09:24:38 hmmm Jan 18 09:24:40 idk Jan 18 09:24:43 we'll see Jan 18 09:24:46 it's not up to mr Jan 18 09:24:47 me Jan 18 09:24:50 i mean, depending on what you do at the end, like demos, etc Jan 18 09:25:11 yeah hope it works out. every team different Jan 18 09:25:40 yeah Jan 18 09:25:55 I'm just doing a/b testing integration (done) and sticky notifications Jan 18 09:26:43 Why did TacticalJerk get banned? just curious Jan 18 09:27:11 because he's HevvyMetal / DroidSomethingR Jan 18 09:27:12 he jabbed tacticaljoke once or twice Jan 18 09:27:21 among many other things Jan 18 09:27:22 and then came in and did it again, ban evading Jan 18 09:27:23 looks bad Jan 18 09:27:32 really he's a nice guy Jan 18 09:27:37 but he's sensitive Jan 18 09:27:45 ok Jan 18 09:27:51 tacticalJerk == tacticalJoke? Jan 18 09:27:56 no Jan 18 09:27:56 no Jan 18 09:28:06 HevvyMetal? Jan 18 09:28:08 yes Jan 18 09:28:10 i like him Jan 18 09:28:11 ! Jan 18 09:28:13 :S Jan 18 09:28:23 ban thepoosh ! Jan 18 09:28:24 i like tacticalJoke more Jan 18 09:28:54 but g00s is my favourite! Jan 18 09:28:58 :P Jan 18 09:29:04 lol, favorite pita :) Jan 18 09:29:23 Agamemnus: This isn't the first time I've banned him. Jan 18 09:29:31 yes Jan 18 09:29:33 he told me Jan 18 09:29:50 SimonVT just don't make it any wider like, *!*@* :) Jan 18 09:29:53 but he says that you said you warned him earlier but you never did Jan 18 09:29:59 anyway yeah Jan 18 09:30:12 Oh, did tj get the boot too? Jan 18 09:30:19 no Jan 18 09:30:58 That was just HevvyMetal making sure the ban is permanent Jan 18 09:31:16 hmmmm Jan 18 09:33:09 although, I don't see why we encourage TacticalJoke to constantly ask inane questions Jan 18 09:33:33 speak of the devil Jan 18 09:33:36 Uhh... Jan 18 09:33:45 What inane questions do I ask? Jan 18 09:33:55 all of them Jan 18 09:34:09 mornin :) Jan 18 09:34:13 None of this is constructive Jan 18 09:34:19 You're simply an asshole, pfn. Jan 18 09:34:27 enough that just about everyone has tagged you a help vampire Jan 18 09:34:33 Go fuck yourself. Jan 18 09:34:43 Mavrik quick BLE question. did you every have any problems calling connectGatt / disconnect / discoverServices on samsung devices on non-ui thread ? Jan 18 09:35:03 I guess you deserve a permanent spot on my ignore list this time Jan 18 09:35:04 Although I agree, TacticalJoke goes way off topic... Jan 18 09:35:06 TacticalJoke bewarned, the ban hammer is close by Jan 18 09:35:11 bye Jan 18 09:35:15 g00s, I never got that far with my BLE stuff, the project was dropped beforehand :( Jan 18 09:35:21 Sure, g00s, but why do I have to put up with that nonsense? Jan 18 09:35:25 Mavrik :( Jan 18 09:35:26 is stackoverflow down for you as well? Jan 18 09:36:14 thepoosh: yep Jan 18 09:36:20 TacticalJoke: chillax Jan 18 09:36:34 that's unfortunate, can't code any more Jan 18 09:36:48 duncannz: i feel like the world has ended Jan 18 09:36:57 I'm fine. Just not tolerating people like pfn insulting me out of nowhere. Jan 18 09:37:10 thepoosh: you can always click the little arrow next to a google result and click Cached Jan 18 09:37:16 lol Jan 18 09:37:25 TacticalJoke: who gives a shit? Jan 18 09:37:37 it's the entire stackexchange domain Jan 18 09:37:42 ouch Jan 18 09:37:46 the dependency of the layman on stackoverflow is hilarious Jan 18 09:37:53 dude Jan 18 09:37:56 it's real Jan 18 09:38:05 no one writes docs anymore Jan 18 09:38:09 thepoosh: True. lol Jan 18 09:38:13 people just go on stackoverflow Jan 18 09:38:20 copypasta cargo cultists unite! Jan 18 09:38:27 lmao, funny thing Jan 18 09:38:28 SO popularity for a topic is a good indicator of how broken the docs are ;) Jan 18 09:38:37 i was talking with a guy a few days ago Jan 18 09:38:43 SO basically is the documentation. ;| Jan 18 09:38:46 he was semi-praising stack overflow Jan 18 09:38:54 and its system Jan 18 09:39:01 (redundancy system) Jan 18 09:39:04 it has a very nice system Jan 18 09:39:06 maybe a DDOS this time? Jan 18 09:39:14 however in linux this wouldn't have happened Jan 18 09:39:16 g00s: the docs could be perfect but enough people wouldn't read them that the tag would still be highly popular if it's a popular api Jan 18 09:39:16 or multiple earthquakes Jan 18 09:39:18 said the douchebag Jan 18 09:39:44 face it, a lot of people here are douchebags Jan 18 09:39:52 pfn, TacticalJoke: Lets resolve this with mutual ignores.. Otherwise you can both join HevvyMetal Jan 18 09:39:53 Agamemnus: Projection. Jan 18 09:39:59 I ignored him, SimonVT. Jan 18 09:40:47 what crawled up your pooper, I haven't said anything other than putting him on ignore, and stating that just about every longtimer has called him a help vampire Jan 18 09:40:56 if your goal is to drive us away Jan 18 09:40:57 bye Jan 18 09:41:22 oh noez Jan 18 09:41:29 i'm getting a headache from this drama Jan 18 09:41:35 melodrama Jan 18 09:41:43 I am quite amused Jan 18 09:41:55 sorry for starting it :/ Jan 18 09:42:32 Never mind. Whatever it is, it'll settle down. Jan 18 09:46:33 huh. Jan 18 09:46:41 hi guys. Jan 18 09:46:59 hesperaux: hi Jan 18 09:47:13 I have a TextView which is match_parent, no other interesting attributes, and when I force RTL in dev settings it stays firmly left-aligned Jan 18 09:47:45 action bar title shoots over to the right, my LLs flip their orientation, but my text views won't budge Jan 18 09:47:58 hmmmm Jan 18 09:48:15 xml: https://github.com/JakeWharton/Telecine/blob/master/telecine/src/main/res/layout/activity_main.xml Jan 18 09:48:28 interesting drama happening in a very logical channel Jan 18 09:48:33 * hesperaux scrolled Jan 18 09:49:37 happens in both AS's preview and on device in RTL mode Jan 18 09:51:27 d Jan 18 09:51:32 JakeWharton: what happens if you force it to inherit? Jan 18 09:51:33 http://developer.android.com/reference/android/R.styleable.html#View_textAlignment Jan 18 09:51:40 hey Jan 18 09:51:41 also text)direction Jan 18 09:51:48 shmoon: ? Jan 18 09:52:21 every android process runs its own VM (dalvik). i have a question which is, is garbage collector part of the VM or a separate entitity embedded in each process? Jan 18 09:52:49 if i set that to viewStart it moves. all other values keep it on the left Jan 18 09:53:20 shmoon: kind of both. the VM is forked for each process. Jan 18 09:53:45 the GC is local to the VM, but it's local to each process as well since each is in its own VM technically Jan 18 09:57:42 JakeWharton: ok so each process has a VM that has a GC inturn. So that way each process has its own VM and GC. but fundamentally GC is part of the VM only Jan 18 09:57:59 correct Jan 18 09:58:25 got it thanks! Jan 18 09:58:52 Should I put all of '/.idea' into .gitignore/.hgignore? The auto-generated .gitignore doesn't do this, but it seems like I shouldn't be checking in those files. Jan 18 09:59:18 I do Jan 18 09:59:21 as well as *.yml Jan 18 09:59:24 *.iml, rather Jan 18 09:59:34 K, thanks. Jan 18 09:59:45 and build folders Jan 18 10:00:41 Right. Jan 18 10:10:02 when doing animations that involve horizontal movement, how do you handle negating values in RTL locales? Jan 18 10:10:17 just check if the locale is RTL and negate every single time? Jan 18 10:12:53 You would think there'd be some smart built-in way of handling that Jan 18 10:13:16 i'm using translationX as well so I thought it would Jan 18 10:18:33 android is not close to supporting that Jan 18 10:18:46 I feel like it's not worth it for them to support RTL languages Jan 18 10:19:04 why? almost everything worked perfectly out of the box Jan 18 10:23:25 I am coming close to finishing the Big Nerd Ranch guide. I am both new to programming, Java, and Android. Is it natural that I don't feel confident about my learning? Jan 18 10:24:14 Totally. Jan 18 10:24:27 You're new to all of programming, Java, and Android. Feeling confident would be narcissism or something. :) Jan 18 10:25:27 That's comforting. Jan 18 10:26:15 i’d say that even after taking a bunch of programming classes, it’d be natural to not be confident Jan 18 10:26:23 There is so much to learn. In a way, it's never ending. But if you take things one little step at a time then it gets way easier with time. Jan 18 10:26:25 you won’t be until you’ve written a bunch of programs Jan 18 10:27:11 when i took a CATIA class, my teacher said “nobody really knows catia”, because there’s too many disciplines to ever know it all… same goes for programming. it’s endless Jan 18 10:29:46 I have 10 more chapters to read. Then I plan to start working on my ideas. And continue to read more Java and Android books. Jan 18 10:30:22 i personally wouldn’t bother with another book Jan 18 10:30:25 just start programming Jan 18 10:30:35 Java being so verbose it is easy to get lost. OOP can also take some time to get around new programmer's head. Jan 18 10:30:37 I agree. You learn way more by *doing*. Jan 18 10:31:07 my first android app has a completely custom interface i did with code… lots of components i’ve written from scratch or subclassed Jan 18 10:31:32 i didn’t know how to do any of it, but i know how to break problems down into smaller problems and google it Jan 18 10:32:14 OOP is the best once you get how it works Jan 18 10:32:47 too many books and you’ll fill your head with things you don’t need to know Jan 18 10:33:38 After learning Java I started building simple apps but I had too many problems because I didn't know anything about Android. After reading BNR I at least know the terms and I can look them up. So doing more projects might be the right thing as guys are suggesting. Jan 18 10:33:42 Does Android Studio ever auto-generate that proguard-rules.pro file? (I'm thinking of not checking it in until I need it, but it has a handy hint about WebView users, so I don't want to lose that info.) Jan 18 10:34:05 donniezazen: Also, be sure to hang in here. This is a good place for help. Jan 18 10:34:15 donniezazen: And emotional support when it gets rough. lol Jan 18 10:34:20 for sure Jan 18 10:34:30 Because we all have been through, and are going through, the pain. Jan 18 10:34:47 TacticalJoke: lol you can never have enough of those. Thanks. Jan 18 10:38:06 Another place is /r/androiddev, but it's only semi-good, IMO. Jan 18 10:39:04 Yeah, that the place to grab some developmental articles. Jan 18 10:39:06 there’s also not necessarily a right way to do something… some people will argue with this, but if you make something and it’s working, then it’s done the right way Jan 18 10:39:27 you’ll see a lot of people around the internet arguing semantics… to me, if it works it’s done right Jan 18 10:40:01 true Jan 18 10:40:23 although for interface stuff, it’s probably best to go with accepted ways of doing things (if it applies to your app) Jan 18 10:41:01 an android app should feel like an android app, unless it’s something like mine (music production interface) Jan 18 10:45:49 when a thread is created, it references the Activity object - what does that mean? Jan 18 10:47:16 i hope it means the packers are going to win the nfc championship game Jan 18 10:48:33 shmoon: I don't understand the question. Jan 18 10:49:22 Did you read that somewhere? Jan 18 10:51:14 TacticalJoke: ya Jan 18 10:51:37 so if I create a thread - THread t = new Thread(); t.start(); - it Jan 18 10:51:44 Where did you read it? Jan 18 10:52:00 it'll reference the activity object, what would that mean? the thread object has a reference to the activity objecT? and how is that accessed inside? Jan 18 10:52:08 I am reading a book and the chapter is memeory leaks :) Jan 18 10:52:35 hmm Jan 18 10:52:43 are memory leaks even a problem in android? i thought java had automatic garbage collection Jan 18 10:52:48 not that i know much about memory leaks Jan 18 10:52:49 that really shouldn't hold an activity reference. Jan 18 10:53:02 ultra-, it's possible that you forget an object referenced somewhere Jan 18 10:53:04 I'm guessing the book is talking about inner classes or something. Jan 18 10:53:11 ultra-, so GC will say "oh, he still needs it, won't collect" Jan 18 10:53:30 shmoon: java.lang.Thread is not related to android.app.Activity. You may be misreading something. Jan 18 10:53:37 If it's an anonymous inner class it would hold a reference to the enclosing instance Jan 18 10:53:39 shmoon: Is it talking about inner classes and AsyncTasks? Jan 18 10:53:45 ultra-, one example - you're passing around activity to static classes which hold the reference... user changes orientation, new activity is created. Old activity is still held in a static class and you have a memory leak :) Jan 18 10:53:56 Oh, true, it could be a Thread inner subclass. Jan 18 10:54:02 Thread t = new Thread() { .. } would hold a reference to the enclosing class (e.g. an activity).. Threat t = new Thread(..); would not Jan 18 10:54:06 thanks Mavrik Jan 18 10:54:39 ultra-, that's why using Application Context instead of Activities for context reference in singletons/static classes is strongly advised ;) Jan 18 10:55:15 i don’t think i’m using anything like that Jan 18 10:55:37 i sometimes don’t know because i’m fairly new to this, even though i have an app on the market Jan 18 10:56:17 ya it talks about inner classes too Jan 18 10:56:21 the chapter Jan 18 10:56:35 guess we've to be cautious about memory leaks while coding an ap Jan 18 10:57:46 shmoon: are you new to android programming? Jan 18 10:58:14 sort of, but now I know a lot about it, ya Jan 18 10:58:21 shmoon, yeah, non-static inner classes always keep reference to the object they're inside of Jan 18 10:58:26 ok Jan 18 10:58:28 the chapter also says we should clear the messagequeue once done with the thread Jan 18 10:58:28 so you have to be careful in cases where you do something like Jan 18 10:58:40 setOnSomethingListener(new Listener { code }); Jan 18 10:59:04 Clear the message queue? Jan 18 10:59:05 since that "new Listener" will keep your containing object as well and that will keep it alive until that listener is cleared :) Jan 18 10:59:16 same with Handler postMessage, Runnables and that stuff Jan 18 10:59:22 how is the listener cleared? Jan 18 10:59:26 or when would it be ? Jan 18 10:59:44 ideally the listener object should not clear as that event can be received multiple times Jan 18 10:59:52 i hope by clear we mean GC'ed Jan 18 10:59:58 yes Jan 18 11:00:23 TacticalJoke: ya removeCallbacksAndMessages(Object token) - to remove all the messages form a messageque when done with the thread Jan 18 11:00:31 or I think looper.quit() does that anyway Jan 18 11:01:15 i am using some handlers, but they’re in objects that don’t go away until the app dies so i don’t think i need to worry about it. Jan 18 11:01:21 shmoon, well, usually when view itself gets garbage collected Jan 18 11:01:25 if that's on the view Jan 18 11:01:33 depends on how the reference is held Jan 18 11:03:03 hm Jan 18 11:03:26 i think I understand it now Jan 18 11:07:53 Am I right in concluding that PNG files in /res/mipmap can be exactly the same PNG files as before (in /res/drawable)? Jan 18 11:08:23 In other words, is it just a directory-name change? Jan 18 11:17:08 kind of Jan 18 11:17:16 well, yes they _can_ be the same Jan 18 11:17:42 at that point you're just bloating the APK Jan 18 11:30:34 So I've a question. If an Activity class has inner Thread class which gets started (has a reference to the outer class), and there's a configuration change that leads to new Activity object creation. Now because the old thread has a reference to the old Activity, they won't be GC'ed. So this is said to lead to memory leak. This usually happens with AsyncTask. But if the old thread is done with its work and killed, that means no more refere Jan 18 11:30:45 oops, turned out to be really long Jan 18 11:32:05 http://i.imgur.com/7gSnWfV.png having fun with traceview and optimizing some code :) Jan 18 11:33:09 shmoon, if the old thread is done with its work, then the Thread object is garbage collected and reference doesn't exist anymore Jan 18 11:33:30 shmoon, but as long as old thread is processing, it'll keep the reference to the activity if the runnable implementation is an inner class Jan 18 11:33:37 Mavrik: which in turn should GC the old activity object too, isn't it? Jan 18 11:36:02 since reference doesn't exist anymore - as you said Jan 18 11:36:14 so its actually more about being cautious while dealing with inner classes Jan 18 11:36:37 yes, that's exactly what's it about :) Jan 18 11:37:07 It's really just lifecycle management.. If an object is going to outlive the Activity, it shouldn't keep a hard reference to the Activity Jan 18 11:38:37 alright Jan 18 11:43:00 Do you folks put /gradle.properties into .gitignore? I'm getting conflicting info from googling. Jan 18 11:44:13 Nope Jan 18 11:44:33 But it depends on how you're using it, I suppose Jan 18 11:45:46 gradle.properties usually goes into git, local.properties doesn't. Jan 18 12:36:49 http://i.imgur.com/wacDJOL.png I think I cannot gain much more after 5 passes of code optimization (which totally breaks OO model :)) Jan 18 12:48:03 Have you folks ever had to add multiple versions of gradle-wrapper.jar to your repositories? Jan 18 12:48:34 The documentation says that this is needed only if you're changing Gradle version and you want to use new Gradle-wrapper features. Just wondering whether anyone's been in that position. Jan 18 13:06:28 hello everyone Jan 18 13:06:32 hi Jan 18 13:08:07 Do you know to solve this problem with the AVD? Iìm using Android Studio 1.0.2 Jan 18 13:08:08 emulator: ERROR: _camera_client_query_start: Cannot start camera 'AndroidEmulatorVC0' for NV21[640x480]: Result too large Jan 18 13:09:04 It seems an issue related to the emulator, because the app with my phisical device works Jan 18 13:09:21 WileTheCoyot: http://stackoverflow.com/a/13415551/1056359 Jan 18 13:10:00 thepoosh: already tried without luck :( Jan 18 13:13:53 why do i have to keep clicking the two direction arrow by the logcat to see output from my app? Jan 18 13:16:38 Hello everyone, what would be the best way to store local data that i need to acces fast ? like just a file or ? Jan 18 13:17:28 hyrixo: what kind of data? Jan 18 13:17:41 i'm having a bit of a conceptual dilemma... I have a web service which is based on a mysql database. I now want to create an app with the same data. I am creating a contentprovider for syncing the data but I'm not sure how to go about it Jan 18 13:18:24 gsteinert: do it Jan 18 13:18:27 rrr_, well it would be like a Name a Hour minute seconds and a long string and a unique number Jan 18 13:18:58 hyrixo: use preference Jan 18 13:19:15 sharedpreference Jan 18 13:19:27 I see three options: download the entire database at each update (simple, but a lot of data - some of which will rarely change), download only the changes in the database at each update (need to keep track of the state of each table/record so more complicated), or make a network request each time the data is required (no database needed, but possibly more netwrok traffic overall) Jan 18 13:20:45 im leaning towards scrapping the database and making netwrk requests with some sort of caching - but I'm struggling to get my head around how the caching would work Jan 18 13:22:46 gsteinert: use contenprovider if you want to expose data to others apps, otherwise use local sqlite. depending on how frequent you update database, you can update database at startup, interval or use PUSH Jan 18 13:23:21 gsteinert, you can just leverage the HTTP cache Jan 18 13:23:36 gsteinert, make sure your API server sets expires and eTAG properties correctly Jan 18 13:23:43 rrr_ , i don't know if that will do what i want, i also need to be able to search fast among all the data like on the String, start with A or something Jan 18 13:24:02 gsteinert, and then reply properly when content isn't changed Jan 18 13:24:25 hyrixo: sounds you have a lot of data, use local sqlite then Jan 18 13:24:44 rrr_ , oke thanks i'll look into that Jan 18 13:29:58 Mavrik: the downside using HTTP cache is that the app cannot work offline. Jan 18 13:31:59 rrr_: i plan to integrate contact data into the contact/people app so I will need a ContentProvider Jan 18 13:32:19 Mavrik: thanks for that, I hadn't considered the HTTP cache! sounds like exactly what I need Jan 18 13:33:50 rrr_: the main use of the app involves data going both ways, so I'm happy for it require an internet connection - saves confusion that way! Jan 18 13:39:08 gsteinert: i haven't used http cache before, so i dont know how that works on server side. is it able to set expires programmatically? also is it realtime? Jan 18 13:51:42 rrr_ , do u happen to have a decent tutorial on how to setup sqlite ? can't seem to find one that explains me decently Jan 18 13:55:24 rrr_: The server side is fairly straight forward (in theory - never tried it in practice), with each request you set an expiry (say, 1 day from now). For the next day, your browser or app won't even request the page it will just use the data it has. After that it will request again with (I believe) the date and time of the cached response. If the data has changed, the new data is sent, otherwise a HTTP304 is sent, indicating that the data Jan 18 13:55:25 hasn't changed Jan 18 13:55:43 hyrixo: i don't have on at hand. notepad sample uses sqlite, but has no much explanation. but all sqlite uses have pretty much same boilerplate Jan 18 13:56:25 the result is you can specify a time in which you don't expect the data to change, and therefore the browser doesn't need to ask and even after that time, you're not wasting bandwidth sending the same data twice. Jan 18 13:57:13 hyrixo: a google for tutorials for SQLiteOpenHelper should give you the right sort of thing Jan 18 14:03:13 gsteinert: that sounds good. if you have no concern about realtime, go for it. your content provider would also use http? Jan 18 14:07:15 rrr_: thats the plan, I just need to work out whether the query() function is called on the main thread or not :/ Jan 18 14:08:58 It's called on whatever thread the caller chooses to call it.. Which should never be the main thread Jan 18 14:12:59 Hello, I have action bar with tabs that conatins only icons, how can I change the tab size? Jan 18 14:13:05 Is it possible to define custom Java 'keywords' (for the purposes of syntax highlighting) in IntelliJ/AS? Jan 18 14:13:25 I can't see a way of doing this without creating a whole new "file type". Jan 18 14:44:10 what s the way for make 2d games on android like spritekit ios Jan 18 14:47:28 lol Jan 18 14:50:56 libgdx? andengine? cocos2dx? Jan 18 14:51:50 ? Jan 18 14:51:56 any one can help me? Jan 18 14:52:08 hm? Jan 18 14:52:34 ? Jan 18 14:52:44 Ashiren: can you? Jan 18 14:53:19 can i? Jan 18 14:53:26 well Jan 18 14:53:55 Hello, I have action bar with tabs that conatins only icons, how can I change the tab size? Jan 18 14:54:12 the height? Jan 18 14:54:21 width Jan 18 14:55:13 maybe something like this: https://stackoverflow.com/questions/20039817/change-tab-width-in-actionbar-tab Jan 18 14:55:44 mmm im trying to this in style.xml Jan 18 14:55:54 i just need to know what property i need to override Jan 18 15:15:11 Hello do i need to fix this or just leave it ? I/Choreographer﹕ Skipped 30 frames! The application may be doing too much work on its main thread Jan 18 15:15:41 well that means your app stutters. Jan 18 15:17:31 you should do less work on the main thraed Jan 18 15:17:34 When is that happening, hyrixo? Jan 18 15:17:47 probably when it shouldn't Jan 18 15:17:50 hmmmm Jan 18 15:18:13 It was when it created a database and table Jan 18 15:18:47 You're doing database operations on the main thread? Jan 18 15:18:53 hyrixo: are you testing on a physical device or the emulator - I see that kind of thing all the time on the emulator but not when I'm testing on a device Jan 18 15:19:06 Emulator at this point Jan 18 15:19:19 Can test later on my phone Jan 18 15:19:20 but that said, if you're doing database operations on the main thread, that is a bad thing :P Jan 18 15:19:23 hyrixo: Doing database stuff on the main thread is a big no-no. Jan 18 15:19:59 oh oops good to know so i'll just get a other thread handling that Jan 18 15:21:04 does android studio have ddms ? can't seem to find it Jan 18 15:21:44 It's there if you press Alt+6. Jan 18 15:22:13 Unlike with Eclipse, DDMS seems to be integrated into Android Studio. Jan 18 15:22:35 Or at least better integrated. Jan 18 15:22:53 hyrixo: BTW, the emulator will report frame skipping much more often than a device will (since the emulator is way slower). Jan 18 15:23:08 However, you should still do DB stuff on a background thread. Jan 18 15:23:14 kk ty, can't seem to find it yet tho but i'll keep looking Jan 18 15:23:30 Did you press Alt+6? Jan 18 15:23:40 View > Tool Windows > Android. Jan 18 15:25:16 found it, was in tool > android > android device monitor Jan 18 15:26:37 I believe that is the old version of DDMS. Jan 18 15:26:55 Hello, I have action bar with tabs that conatins only icons, how can I change the tab size in style.xml? Jan 18 15:27:04 Though maybe it does something that the Alt+6 version doesn't (not sure). Jan 18 15:28:45 Well alt + 6 didn't do anything for me, on Linux if that matters Jan 18 15:29:23 Did you try View > Tool Windows > Android? Jan 18 15:30:25 oh ye didn't see that :/ Jan 18 15:30:36 well i found out what i needed so thank you anyway :) Jan 18 15:30:58 Okay, but consider the one I said because, as far as I can tell, it's newer and better. Jan 18 15:42:59 May i ask a rude q, but where did u all learn android ? just online like i'm doing or ? Jan 18 15:46:17 Just by googling and trying stuff. Jan 18 15:46:27 I think it's probably the best way, in general, for Android. Jan 18 15:46:31 Books get out of date quickly. Jan 18 15:48:51 hyrixo: read a book that gives you an overview (nothing too specific), then start coding Jan 18 15:48:58 break it down into small problems and google that shit Jan 18 15:49:08 code examples are the best Jan 18 15:50:06 any one? Jan 18 15:50:23 im totally lost. im trying to set a width on tab on the actionbar Jan 18 15:50:24 ;| Jan 18 15:50:59 i’m sorry i haven’t used it :/ Jan 18 15:51:06 isn’t that thing designed to be automatic? Jan 18 15:51:45 yes but i have 5 tabs Jan 18 15:51:58 and thery too big to be in the screen without scroll Jan 18 15:55:41 Ye now i'm looking at lynda video's Jan 18 16:15:37 there's something that's not really clear for me when it comes to Search, I'm trying to implement Search in the Action Bar for searching through my own data (SQLite) Jan 18 16:15:49 is this what I want to be following? https://developer.android.com/training/search/setup.html Jan 18 16:16:25 because there's another page that mentions that if you have any data that is yours, searching through it is not provided by (that page) but provided through the SQLite API (querying and such) Jan 18 16:16:36 this page says that http://developer.android.com/guide/topics/search/index.html Jan 18 16:17:37 yea I think that's the page I need, nvm Jan 18 16:20:44 I am really terrible at compat stuff...wow Jan 18 16:26:10 you guys read Masters of Doom yet? Jan 18 16:27:38 Where in an android project should I put COPYING.txt/LICENSE.txt and README.txt ? Jan 18 16:27:38 even before you stock up on any technical books or anything, just get Masters of Doom and read it first Jan 18 16:27:59 as strings, inside strings.xml Jan 18 16:35:04 Hi, I'm actually using a searchview within the v7 upport toolbar, and once it opens, there an arrow which get displayed on the left of the edittext. Someone know how can I catch when a click on this arrow is made ? Jan 18 16:35:58 smoul: onOptionsItemSelected id should be android.R.id.home Jan 18 16:36:12 there might be a compatible id in the support lib, i forget Jan 18 16:36:38 Ok thank you i'll investigate this way Jan 18 16:45:56 Napalm: i cannot catch it in my activity onOPtionsItemSelected Jan 18 16:46:27 Napalm i have put a log trace to watch the id but I get nothing nwhen clicking on this arrow Jan 18 16:46:46 smoul: do you have a custom Toolbar? Jan 18 16:46:54 no Jan 18 16:47:11 smoul: so your using an ActionBar? Jan 18 16:47:35 smoul: your not calling setSupportActionBar? Jan 18 16:47:51 you have to have an ActionClass to that arrow if you are to retrieve it from the activity Jan 18 16:47:53 i use the android.support.widget.Toolbar, API 21 Jan 18 16:48:09 supprt.v7* Jan 18 16:48:15 ok so you do use a custom Toolbar? Jan 18 16:48:37 If you mean i extends a toolbar no Jan 18 16:48:42 are you calling setSupportActionBar on your Activity? Jan 18 16:49:10 Yes Jan 18 16:50:20 smoul: on your Toolbar instance call setNavigationOnClickListener Jan 18 16:50:30 that click listener is for that nav icon to left Jan 18 16:52:42 smoul: are you using a ActionBarDrawerToggle? Jan 18 16:52:48 Yes I do Jan 18 16:53:14 you can use ActionBarDrawerToggle.setToolbarNavigationClickListener Jan 18 16:53:28 but I still believe it calls into onOptionsItemSelected Jan 18 16:56:01 smoul: is this in relation to SearchView being expanded and you press the arrow to collapse it? Jan 18 16:56:22 I''l try with it, i didn't knew about this but it ll take a little time to iomplement Jan 18 16:56:30 yes it is Jan 18 16:56:50 and you want to capture when its pressed to collapse it? Jan 18 16:56:54 why? Jan 18 16:57:05 are you sure you just dont want to know when the SearchView itself is collapsed? Jan 18 16:57:10 smoul: ^ Jan 18 16:57:13 And I want to capture when the arrow is clicked so I can pop the previous frament Jan 18 16:58:00 but what happens when the SearchView is collapsed for another reason? surely you also want to pop to the previous fragment? Jan 18 16:58:03 smoul: ^ Jan 18 16:58:33 I already tried with the expand listener but it does not work because if i go to the next fragment i close de searchview anyway Jan 18 16:59:07 smoul: you can have a flag that you set before you try and go to the next fragment so it doesnt do the default action of popping the stack Jan 18 16:59:28 smoul: also remember you want to use MenuItemCompat.setOnActionExpandListener Jan 18 16:59:50 i ll try with the actionbardrawwertoggle and if it does nt work i ll do this way Jan 18 17:00:16 but if theres a way android let me do this with its own function i prefer this one Jan 18 17:03:36 Napalm, I struggled with it all day long but i think I now get the thing, except for the arrow Jan 18 17:04:10 But in fact I don't use MenuItemCompat Jan 18 17:05:11 Napalm: I use the functions searchView,onActionViewExpanded and onACtionViewCollapsed but their naming is strange Jan 18 17:12:18 smoul: why is the naming strange? Jan 18 17:12:23 smoul: what do you mean? Jan 18 17:12:59 Napalm: because it's like it is a listener Jan 18 17:13:21 ok.... Jan 18 17:13:21 Napalm, or maybe i don't like at it from the right side ? Jan 18 17:13:35 don't look* Jan 18 17:17:01 Napalm, i think those function should have been called, expandActionView() and collapseActionView() Jan 18 17:38:44 Those methods are callbacks when those actions happen Jan 18 17:38:50 So they're appropriately named Jan 18 17:39:39 expand/collapseActionView are on MenuItem Jan 18 17:41:08 SimonVT: Indeed Jan 18 17:45:17 Does anyone know a little something about porting?? Jan 18 17:45:31 porting!? Jan 18 17:49:08 yea Jan 18 17:49:18 so what do you want to port Jan 18 17:49:26 I am trying port a miuiv5 rom Jan 18 17:49:44 oh this is android developing channel Jan 18 17:49:47 If I'm the only one building my project, I can just forget about the Gradle Wrapper, right? Jan 18 17:49:49 you might want to try #android-root Jan 18 17:49:51 i have followed some tutorials and have been able to create the .zip Jan 18 17:50:09 oookay Jan 18 17:51:31 It's so hard to get used to a new editor-colour scheme. ;o Jan 18 17:51:41 I'm trying to get used to a new one (since my old one is kinda ugly). Jan 18 17:52:03 TacticalJoke: you moved to AS? Jan 18 17:52:16 Yeah. :) Jan 18 17:52:58 our gradle is not happy with it Jan 18 17:52:59 Trying to get used to Darcula (although I'm using the light IntelliJ theme for everything but the code editor). Jan 18 17:53:19 thepoosh: Did you guys just remove the wrapper? Jan 18 17:53:29 not only Jan 18 17:53:32 but yeah Jan 18 17:53:50 it said that it's not standard Jan 18 18:01:29 thepoosh: I'm liking it. Seems like a step up from Eclipse. Jan 18 18:01:46 that's what most people say Jan 18 18:01:48 i wanna add IAP to my app.. however, looking for a payload which will work across multiple devices using the same account... e.g gmail account.. Jan 18 18:01:49 would it be a fair assumption to say accountManager.getAccountsByType("com.google")[0] would always return the email associated with the play store? Jan 18 18:02:24 assuming there is atleast 1 account to retrieve. Jan 18 18:24:58 whenever i run connectedAndroidTest, results come back with: No tests found. Jan 18 18:29:02 Hmm. If I rename a module with the Rename refactoring, settings.gradle doesn't get updated. Jan 18 18:29:31 Nor do dependencies. Jan 18 18:30:05 Hello, is it absolutely necessary for an app to have achievements in order to set Game Services up? Jan 18 18:30:15 because my game currently doesn't have any, but I really want to use the highscore and leaderboards Jan 18 18:30:23 not sure if I need to make up some fake ones or something? Jan 18 18:30:29 seems a bit pointless though Jan 18 18:57:27 I'm trying to change every background color EXCEPT the alertDialog one since changing that backgroudcolor makes the dialog look wrong, minSDK is 10 but I can't seem to figure out how to do it Jan 18 18:59:00 Hey , I have used this http://pastebin.com/XDaTWanx to make a roundeed button , now how can i make it semi-transparent? Jan 18 19:01:50 are there any taxes which i must pay at the end of the tax year as a dev on the play store? Jan 18 19:03:20 Ok Im a bit stumped Jan 18 19:03:32 I have an array list Jan 18 19:03:52 and I need to get the values stored in it as strings Jan 18 19:04:06 I tried .toArray , but that returns an object array Jan 18 19:04:37 And then I tried .toArray().toString() but that wasent what I wanted Jan 18 19:04:58 so is there a way to get the indexes from the arrayList Jan 18 19:07:59 drose379 what are you trying to do with your data, its not clear Jan 18 19:08:14 i mean, how does your app want to use the items Jan 18 19:08:18 Ok, Jan 18 19:08:30 Any of you tackle offline sync for data? Jan 18 19:08:37 can someone please help me with building an application. i have eclipse ide and android adt plugin but i'm stuck at library.jar missing from android dependencies. here are the instructions i am following https://github.com/wso2/emm-agent-android Jan 18 19:09:05 so they are editText fields,and a method I am using checks to see if they are empty, and if they are empty, the ID of the feild gets added to an ArrayList Jan 18 19:09:31 mka, kinda weird but ok Jan 18 19:09:40 the method then checks if the arrayList is empty, and if not, an exception is thrown Jan 18 19:09:45 boboysdadda: this should help : http://developer.android.com/sdk/installing/installing-adt.html Jan 18 19:09:46 and the ArrayList is passed to it Jan 18 19:10:00 FireBreath: I have adt installed Jan 18 19:10:09 So I just need those IDs stored in the array list Jan 18 19:11:10 just iterate through the ArrayList and get view.getId() right ? Jan 18 19:11:50 Well im only doing .add(field) Jan 18 19:11:54 field being the ID Jan 18 19:11:57 FireBreath: if you could spare 5 minutes could you attempt to build it? Jan 18 19:12:00 so would it be getID? Jan 18 19:12:25 drose379 how is your RrrayList declared ? Jan 18 19:12:51 ArrayList but I eventually want to put more elements into the ArrayList then that Jan 18 19:12:58 Could it just be Jan 18 19:13:10 make it ArrayList then Jan 18 19:13:37 Whatll that do? Jan 18 19:14:14 then you can use it for other things beside TextView :| Jan 18 19:14:32 or EditText Jan 18 19:14:41 What does inside is what the ArrayList will be holding right? Jan 18 19:15:00 yeah the concrete type of the generic Jan 18 19:15:11 drose379 gotta learn java :) Jan 18 19:15:18 haha yeah Jan 18 19:15:26 Ok so since im passing in VIew Jan 18 19:15:36 I have more options of what to do with it Jan 18 19:15:54 whataver ops View supports, which will be a subset of Textview Jan 18 19:16:11 but each view still has an ID so its ok Jan 18 19:16:44 so If I wanted to get the contents of the arrayList Jan 18 19:16:54 drose379 also, don't throw exceptions in the normal course of operation. exceptions are for exceptional behavior, not typical Jan 18 19:17:20 Form validation? Jan 18 19:17:32 thats not exceptional behavior Jan 18 19:17:50 How else do I handle the error?> Jan 18 19:18:00 boolean ? error code ? Jan 18 19:18:21 drose379 did you see the Material Design guidelines on handling form errors ? Jan 18 19:18:29 No Jan 18 19:18:34 Yeah, that's just "if (editText.length() == 0) { editText.setError("This field must not be blank."); }" stuff. Jan 18 19:18:59 drose379 well, what are you standing there for :) Jan 18 19:19:02 go ! Jan 18 19:19:10 So im over-complicationg this Jan 18 19:19:12 ? Jan 18 19:19:14 Yeah. Jan 18 19:19:20 You probably don't need an array or a list. Jan 18 19:19:46 Damn, should i scrap all the code Jan 18 19:19:48 Let's say that you use an array -- what happens if one of your views needs special validation? Jan 18 19:19:54 What if one requires exactly five characters? Jan 18 19:20:19 Right Jan 18 19:20:33 drose379 if i had a form with say 10 text fields, that needed to not be empty, one way of doing this if int requiredFields [] = { r.id.aaa, r.id.bbb, r.id.nnn } ... and then just iterate through that list to see if they are not empty Jan 18 19:21:15 But I have the form validation method inside a try, so the method after that only runs if no error is thrown in validation, which I like Jan 18 19:22:27 If you wanted to, you could say "if (dataIsValid()) { processData(); } else { showErrorMessage(); }". Jan 18 19:23:11 so could I have my validation method return a boolean Jan 18 19:23:27 then if it returns TRUE, I could run the rest Jan 18 19:23:48 But if it returns FALSE, that would mean there was an error and it would be handled in that method Jan 18 19:24:39 hi, can anybody give me a good link how to fetch mails from an imaps server. i tried javamail but i don't figure out why it don't work Jan 18 19:25:08 Yeah, and the body of "dataIsValid" could be something as simple as "return usernameEditText.length() > 0 && passwordEditText.length() > 0;". Jan 18 19:26:10 I want to highlight the fields in red if they are invalid Jan 18 19:26:57 TextView.setError does that. Jan 18 19:27:15 EditText Jan 18 19:27:28 (EditText subclasses TextView.) Jan 18 19:27:42 Ok Jan 18 19:27:50 so no need for exceptions hmm Jan 18 19:29:56 Yeah, I wouldn't really advocate throwing exceptions here. Exceptions are for situations where some code doesn't know how to handle an error condition. (For example, a class trying to read a file and getting an IOException; it doesn't know how to display stuff to the user, so it throws an exception which some GUI-related class catches.) Jan 18 19:30:16 Ok, I see Jan 18 19:30:17 any hints to a library to fetch mails from imaps/pop3s ? Jan 18 19:36:07 hey , how can i make a button semi-transparent , am using and for the button . Jan 18 19:49:31 Sorry g00s & TacticalJoke my computer crashed, thanks for the help Jan 18 19:49:40 No worries. Jan 18 19:54:13 In case it interests you, drose379, here's how I'm handling validation (just wrote this code, in fact): http://pastebin.com/QpyW8eAt Jan 18 19:54:29 Great, Ill check it out Jan 18 19:54:30 Thanks Jan 18 19:54:39 Though it's just one way of doing it. Jan 18 19:58:04 That looks pretty straight formward and simple Jan 18 19:58:28 forward* Jan 18 19:58:50 TacticalJoke Jan 18 20:00:12 Hello. How can i make an android app that doesn't close/restart its services when i swipe it from app manager? Jan 18 20:05:17 Do the gravity constants of other planets in SensorManager actually get used somewhere? Jan 18 20:05:53 jgorak: i think they're for your convenience Jan 18 20:05:59 and for jokes Jan 18 20:06:18 Guess I was thinking too much into it. Thanks Jan 18 20:12:26 Hmm. Since I'm using Darcula for my code editor and IntelliJ (the light theme) for everything else, my "Gradle files have changed ..." messages are barely readable. Is it possible to change the colour of that warning? (I've tried basically everything, to no avail.) Jan 18 20:13:14 The creators seem to have assumed that nobody would use Darcula for the code editor and IntelliJ for everything else. Jan 18 20:13:47 you assumed that the creators assumed that .. Jan 18 20:14:31 I might have to be a conformist and use Darcula in general. Jan 18 20:14:58 I'm using the default theme at this time Jan 18 20:15:12 I used to use light colours with Visual Studio, but I'm so used to dark colours now. :) Jan 18 20:15:20 was not very happy with darcula and the contrast of other applications when switching Jan 18 20:15:34 Yeah, I almost get a headache upon switching to mIRC. Jan 18 20:17:39 Do you use the default syntax highlighting and stuff, adq? Jan 18 20:17:43 Colour-wise, I mean. Jan 18 20:18:41 Anyone else running OS X getting "Android Studio cannot find a valid JVM" error? Jan 18 20:19:27 TacticalJoke: I'm personally a fan of the Solarized themes. https://github.com/jkaving/intellij-colors-solarized Jan 18 20:19:34 do you have java installed? and environent variabes setup Jan 18 20:19:40 drose379, I have had it happen. Are you using the Apple JVM or Oracle? Jan 18 20:20:07 Dont know, I downloaded NetBeans that came with everything I needed when I began writing java Jan 18 20:20:10 TacticalJoke, mainly yes, I tend to remove options which annoys me (for example: spell checking) when i 'hit' them Jan 18 20:20:48 and I'm ok with the default colors too Jan 18 20:21:12 Yeah, I removed spell checking. Jan 18 20:21:21 drose379, Then the PATH variable needs to be set. Jan 18 20:21:34 Im pretty sure I set that a while back Jan 18 20:21:39 Ill look into it Jan 18 20:22:04 http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ Jan 18 20:22:10 Thank you Jan 18 20:22:39 np :) Jan 18 20:38:46 When I echo JAVA_HOME from the terminal it should show a path right? Mine is jus showing JAVA_HOME Jan 18 20:39:51 TacticalJoke: file a bug Jan 18 20:44:31 drose379: shouldn't it be echo $JAVA_HOME ? Jan 18 20:44:52 oops :) Jan 18 20:45:03 Mine is saying: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home Jan 18 20:45:07 But AS still not working Jan 18 20:47:01 drose379: sounds like you set it wrong on os x Jan 18 20:47:20 drose379: which version ? Jan 18 20:47:26 Yosemite Jan 18 20:47:55 drose379: http://stackoverflow.com/questions/25385934/setting-environment-variables-via-launchd-conf-no-longer-works-in-os-x-yosemite maybe that ? Jan 18 20:48:03 maybe when yosemite 10.10.2 comes out it will be worth trying O.o Jan 18 20:48:22 yeah Jan 18 20:48:22 seems like a trainwreck Jan 18 20:48:27 yosemite? Jan 18 20:48:28 g00s: why ? Jan 18 20:49:04 hardly scientific / objective but i kep reading bad things about it on forums. especially pefformance problems Jan 18 20:49:21 my mbp is pretty old, i think i'll put latest 10.9 on it Jan 18 20:49:23 Performance could definitely be better... Jan 18 20:49:58 I'm hoping whatever 10.11 is it fixes a lot of the problems with Yosemite. Jan 18 20:50:28 Same Jan 18 20:51:20 drose379: Is this your new laptop? Jan 18 20:51:46 Nah, still using my 09 Macbook Jan 18 20:54:46 drose379 maybe same machine i have ... 2009 mbp 15, 2.53ghz core 2 ? Jan 18 20:55:03 Mine is the unibody macbook Jan 18 20:55:07 Not the pro Jan 18 20:55:12 yeah, mine too :) Jan 18 20:55:15 wait wut ? Jan 18 20:55:30 oh, yeah ok they had a different lineup then Jan 18 20:55:49 Yeah, and only 2.23 GHZ Jan 18 20:55:56 Planning on upgrading really soon Jan 18 20:56:39 i love this machine - its been relatively problem free. but i have to say the thing i hate most about Apples in general - HFS+ sucks terribly Jan 18 20:56:51 which is kinda a big deal Jan 18 20:56:56 HFS? Jan 18 20:56:59 I can't wait till they implement this kinda stuff: https://android-review.googlesource.com/#/c/123281/ Jan 18 20:57:07 drose379 the filesystem Jan 18 20:57:08 It's changes relating to mocking android.jar and so on. Jan 18 20:57:25 ah, brb guys Jan 18 21:03:38 TacticalJoke: whoa, they're going to do that? Jan 18 21:03:41 that'd be awesome Jan 18 21:04:14 * g00s looking forward to AS 1.2 with Intellij 14 Jan 18 21:04:52 Yeah, I think they're making a new "unitTest" build variant to go with all that. Jan 18 21:05:00 I'm looking forawrd to jack and jill Jan 18 21:05:13 Is build variant the correct term? I'm still new to Gradle. Jan 18 21:05:15 i'm ... hesitantly looking forward to j&j :) Jan 18 21:05:47 Maybe 'build type'. Jan 18 21:06:19 i mainly awnt it to be super duper fast Jan 18 21:07:31 It's kinda exciting to be a part of the progress. Jan 18 21:07:36 i want it to be correct and reliable, and fast ;) Jan 18 21:07:38 Sometimes I like new things just because. :D Jan 18 21:08:01 TacticalJoke: are you involved the prs ? Jan 18 21:08:38 prs? Jan 18 21:08:44 Pull requests Jan 18 21:08:46 Oh, no. Jan 18 21:08:56 I'm just an excited developer. :) Jan 18 21:09:09 ah Jan 18 21:10:50 g00s: What new stuff will intelliJ 14 bring? Don't really follow IDEs much. Jan 18 21:10:56 So I guess in future we'll be able to have ./main, ./unitTest, and ./androidTest. Jan 18 21:10:59 Radther: magic. Jan 18 21:11:26 I'm a fan of magic!!! Jan 18 21:11:29 TacticalJoke: src/test/ Jan 18 21:11:44 I really hate that IntelliJ cannot stay in sync with AS. Jan 18 21:11:55 $700/yr for something I can't really use :/ Jan 18 21:12:53 Ah. Jan 18 21:12:58 Yeah, that makes sense. Jan 18 21:13:47 I love IntelliJ's Alt+drag thing for column selections. A neat way of implementing that feature. Jan 18 21:15:41 IntelliJ 14's "scratch files" look interesting. Jan 18 21:15:51 I wonder whether that'll make its way into AS. Jan 18 21:16:10 I guess so, but it's such a generic feature. Jan 18 21:17:30 This is nice: "If you run tests via a Gradle task, the IDE offers you the standard Test Runner instead of the console output." Jan 18 21:29:37 Do I need to have java 6 installed to run AS? Jan 18 21:30:42 You need JDK 7. Jan 18 21:30:44 Or higher. Jan 18 21:30:50 Ok Jan 18 21:31:11 drose379 i run AS with apple java 6, but use oracle java 8 to compile Jan 18 21:31:46 Hmm ok Jan 18 21:31:48 since you are on mac. you can run AS with 6/7/8 though - but fonts may look weird on 7/8 Jan 18 21:32:34 and since we probably have the same dpi display. if you had retina it might not matter Jan 18 21:33:03 Got her running Jan 18 21:33:06 Had to edit info.plist Jan 18 21:45:38 "developers are reporting that Apple is sending out notices of termination to people whose accounts are registered in Crimea, citing sanctions that the U.S. has ordered against the region as a response to Russia annexing it earlier in 2014" wow Jan 18 21:45:56 i guess google would have to do that too Jan 18 22:06:52 aw shit, android is caching the services after discovery and there is no way to manually refresh it Jan 18 22:07:13 unless i use reflection to get to this hidden methos gaaahh Jan 18 22:08:16 Empire Jan 18 22:08:24 0.0 Jan 18 22:12:13 that was a good queensryche album :) Jan 18 22:17:52 Context context = getActivity(); Jan 18 22:17:52 SharedPreferences sharedPref = context.getSharedPreferences( Jan 18 22:17:52 getString(R.string.preference_file_key), Context.MODE_PRIVATE); Jan 18 22:17:59 why is context red Jan 18 22:18:11 im doing this in mainactivity.java file Jan 18 22:18:27 says cannot resolve method Jan 18 22:19:26 There is no Activity.getActivity. Just say "getSharedPreferences(whatever);". Jan 18 22:19:32 (And use pastebin. :p) Jan 18 22:23:29 Having real issues with ising either the MediaCodec, or MediaRecorder to encode audio. Keep getting "start failed: -38", which ive heard means another service is using the mic. How can I track down other services that are making use of resources? Jan 18 22:24:21 this problem started in Android 5 Jan 18 22:27:25 can you use exoplayer ? Jan 18 22:28:25 * g00s wonders which is worse api, mediaplayer or bluetooth LE Jan 18 22:30:16 hmm not heard of tht g00s, can it do RTSP? Jan 18 22:30:48 lacx i dont know, not an expert in that area - i just threw that out Jan 18 22:45:54 when i buld an apk whi unity in osx in device get black screen someone has solved this probem Jan 18 22:47:07 * capella-s3 can't parse that Jan 18 22:47:57 what Jan 18 22:51:25 I have an app in the appstore but i lost the keystore, how can i update the app anyways? Jan 18 22:51:49 capella-s3 bot, until proven human :D Jan 18 22:52:43 ah, forgot about those things in this channel Jan 18 22:53:33 non-question questions ;) Jan 18 22:54:30 CAPITANOOO: what did you attempt to communicate with us? Jan 18 22:54:35 compiler errors say broken code fixed yesterday Jan 18 22:55:07 what Jan 18 22:55:28 What's the problem? timmies in the well? Jan 18 22:55:46 CAPITANOOO: exactly. "what?" Jan 18 22:55:56 heh Jan 18 22:56:14 i buld an android apk whi unity in mac osx Jan 18 22:56:19 what? Jan 18 22:57:05 u know unity3d Jan 18 22:57:20 You have built an Android app with Unity under Mac OSX? Jan 18 22:57:27 yep Jan 18 22:57:36 And it gives a black screen when you start it? Jan 18 22:57:46 Have you tried turning it off and on again? Jan 18 22:58:01 yep in device black screen Jan 18 22:58:10 sorry form my bad english Jan 18 22:58:13 laggy Jan 18 22:58:56 i haw tried 3 device in my moto g the apk work Jan 18 22:59:03 What does your Logcat tell you? Have you found out at which point in your code the error is caused? Jan 18 22:59:10 in other device tablet and other phone get black screen Jan 18 22:59:21 no no error code man Jan 18 22:59:44 in the edoitor work and also whit unity remote for test in device work Jan 18 23:00:06 only afterbuild get black screen Jan 18 23:00:10 fucking mac Jan 18 23:01:53 no clue man Jan 18 23:04:05 its hard because in my moto g the apk work Jan 18 23:05:20 in my trsformr tablet not Jan 18 23:05:47 but if i run unity remote in my tablet Jan 18 23:05:58 for test project work Jan 18 23:06:49 is there a gradle channel? I'm thinking my problem with libraries might be better for them Jan 18 23:10:19 Hi, i'm really new to android dev, so sorry if this question is dumb, i'd like to know if DDMS should be started before the emulator? Jan 18 23:12:41 they can be started in any order Jan 18 23:14:04 Thorbear: Thanks, am i going able to get log messages sent before starting DDMS? Jan 18 23:14:38 To some extent, you should, yes Jan 18 23:15:06 Thorbear: thank you very much, have a nice day Jan 18 23:15:45 i want to turn up/down the currently relevant volume like the hardware-keys. If music is playing via speaker i want to turn that volume up/down, if phone is ringing i want to turn that up/down..... Jan 18 23:15:46 is there an easy way? or do i have to check myself which volume is currently relevant/which mode the phone is in and do it according to that? Jan 18 23:21:14 maybe i got it.... Jan 18 23:34:51 i'm in such a jam. one undocumented quirk of the btle api is that you should wait for an operation to complete before starting another one. i am doing that - but on a per-connection level. do i need to do that across all connections ? Jan 18 23:53:17 g00s: are you near SV? Jan 18 23:53:31 p_l no Jan 18 23:54:22 pity Jan 18 23:54:22 im in palo alto Jan 18 23:54:35 wish i could grab a google engineer and just ask them bluetooth questions for a day O>o Jan 18 23:54:49 wish i could grab a android enginner and beat the shit out of them Jan 18 23:55:02 * p_l is going to say in east palo alto for a month Jan 18 23:55:11 for what Jan 18 23:55:12 if i'm ever going to I/O I will unload during a fireside Jan 18 23:55:37 what do you mean by unload Jan 18 23:55:43 rant Jan 18 23:55:44 i need to tell burke how crappy of a job they are doing Jan 18 23:55:53 thank you g00s Jan 18 23:56:01 represent #android-dev irc Jan 18 23:56:09 wear a shirt that says DragonPunch Jan 18 23:56:20 so i know its u Jan 18 23:56:22 :) Jan 18 23:56:33 p_l what u doin in palo alto Jan 18 23:56:58 DragonPunch: lots and lots of server work for a client Jan 18 23:57:06 ops side Jan 18 23:57:19 go to Jan 18 23:57:20 half moon bay Jan 18 23:57:30 with a recliner Jan 18 23:57:33 and a rack of beer Jan 18 23:57:42 and ur laptop and phone Jan 18 23:57:45 tether ur phone for internet Jan 18 23:57:52 bring a tent and a couple of friends Jan 18 23:58:03 #goodtimes Jan 18 23:58:29 SharedPreferences sharedPref = getPreferences(Context.MODE_PRIVATE); Jan 18 23:58:29 long number = sharedPref.getInt("highscore", 23); Jan 18 23:58:32 can i do that? Jan 18 23:58:53 read for a key calle dhighscore from shared prefernces Jan 18 23:59:01 called* Jan 19 00:03:26 anyone knwo why http://puu.sh/eI6VH/77f67321de.png Jan 19 00:03:28 wont resolve Jan 19 00:03:38 wont resolve putInt for sharedPreferences Jan 19 00:03:44 well the editor part Jan 19 00:03:49 anyone know why Jan 19 00:09:17 nevermind fixed it. Jan 19 00:09:50 Do shared preference data persist after the app is like closed. Jan 19 00:11:07 yes Jan 19 00:11:31 cool sheet Jan 19 00:11:56 DragonPunch: if commit()'ed Jan 19 00:12:05 yeah i know Jan 19 00:12:07 i just read that Jan 19 00:17:04 hey all, I want to have the ripples on a button fill the button and then shrink back down Jan 19 00:17:52 anyone know of a package that already does that? or a simple way to achieve it Jan 19 00:18:17 hi all Jan 19 00:19:07 is there a way to emulate a device with 2 storage locations? like an s4 Jan 19 00:24:21 anyone know why the 2 lines http://puu.sh/eI9JD/3f40d80de4.png highlight would cause my app to crash Jan 19 00:24:28 im not even using them Jan 19 00:25:11 this is the error log to it http://hastebin.com/yuzapomafu.avrasm Jan 19 00:25:20 DragonPunch: you are calling it when the context isn't there yet Jan 19 00:25:24 you need to do it in oncreate Jan 19 00:25:36 oh ok Jan 19 00:25:36 or sometime after oncreate but not before Jan 19 00:26:12 makes sense Jan 19 00:26:21 somewhere in life cycle i should stick it ;) Jan 19 00:33:44 does anyone here like women? Jan 19 00:34:38 so your all gay? Jan 19 00:34:41 great. Jan 19 00:35:29 is there a way to emulate a device with 2 storage locations? like an s4 device (internal and micro sd) Jan 19 00:36:02 thats a great way to get kicked Jan 19 00:43:28 dragonpunch I made that exact same mistake way back when ;) Jan 19 00:43:51 what mistake Jan 19 00:43:58 the one with sharedPreferences Jan 19 00:44:09 ? Jan 19 00:44:44 instantiate before create, yah Jan 19 00:44:49 loool Jan 19 01:00:26 ugh, i'm so desperate i signed up for SO and asked my first question :( Jan 19 01:00:42 google has a SO clone, anyone using that ? Jan 19 01:00:57 https://helpouts.google.com/ Jan 19 01:05:38 i think helpouts is lame Jan 19 01:05:45 anything that google seems to be doing imo is lame Jan 19 01:06:02 just because whenever they do, they just try too hard Jan 19 01:06:07 and thats not very sexy Jan 19 01:06:21 its almost like dealing with software products is the same as dealing with women Jan 19 01:06:22 rofl Jan 19 01:07:06 google plus is cool Jan 19 01:07:07 hm, i don't know about how hard they are trying - but everything they do is to learn more about you Jan 19 01:07:27 can i do a fragment transaction from within a fragment Jan 19 01:07:31 so in that sense, helpouts is smart because you ask questions, google learns what you are interested in Jan 19 01:07:44 google learns what you are interested by search Jan 19 01:07:44 lol Jan 19 01:08:24 yeah i guess Jan 19 01:08:47 g00s: you cant do fragment transaction from within fragments right Jan 19 01:08:59 uh, dunno actually Jan 19 01:10:11 i would think so Jan 19 01:15:57 reading other ppls code Jan 19 01:16:00 is starting to get obvious Jan 19 01:16:12 er more natural Jan 19 01:16:15 especially OO stuff Jan 19 01:38:15 hey guys. This is a long shot I think, but has anyone here used MediaCodec to decode a stream of h.264 NAL units? Jan 19 02:26:19 DRAOGN PAWNCH Jan 19 02:37:11 ac_slater: for streaming purposes? Jan 19 02:46:19 lacx: yup **** ENDING LOGGING AT Mon Jan 19 02:59:58 2015