**** BEGIN LOGGING AT Thu Mar 12 02:59:58 2015 Mar 12 03:00:07 your welcome Mar 12 03:00:17 His welcome? Mar 12 03:00:21 desmin88: i assume your getting the "correct" drawable from the support lib Mar 12 03:00:41 CedricBeust: ofc his.. its hardly yours :D Mar 12 03:00:50 You mean it's hardly mine? Mar 12 03:01:00 :| Mar 12 03:01:01 Napalm: I got it from http://google.github.io/material-design-icons/ Mar 12 03:01:20 desmin88: sure that'll work.. although i dont think it'll get auto-tinted Mar 12 03:01:59 yeah its just black without any bit of transparency Mar 12 03:02:08 im not quite sure how to get it right Mar 12 03:03:48 arg, they made DrawerArrowDrawable package-private Mar 12 03:03:49 :( Mar 12 03:03:58 yeah i'm looking at its source right know Mar 12 03:03:59 now Mar 12 03:04:58 i cant see how it determines its alpha value Mar 12 03:05:38 desmin88: thats probably your image thats wrong Mar 12 03:05:52 DrawerArrowDrawable has a transparent background Mar 12 03:06:00 i went with the black version of the icon Mar 12 03:06:11 and? Mar 12 03:06:18 it doesnt match the normal hamburger Mar 12 03:06:24 its darker Mar 12 03:06:33 take a picture Mar 12 03:06:42 ok Mar 12 03:07:21 http://gyazo.com/e4a97b02176542c1eadbcf416b4ebd9b notice how the hamburger is different from the overflow three dots Mar 12 03:07:38 yes Mar 12 03:07:41 its suppose to be solid Mar 12 03:07:47 the overflow icon is wrong Mar 12 03:07:53 oh Mar 12 03:07:59 how can i fix that then, lol Mar 12 03:08:06 i believe material design they dont have a alpha Mar 12 03:08:19 desmin88: do you set the overflow icon yourself in the styles? Mar 12 03:08:27 nope, but i will now Mar 12 03:08:34 interesting Mar 12 03:09:19 All part of the struggle to get it to look the same on <21, >=21 Mar 12 03:10:46 http://www.google.com/design/spec/style/icons.html < scroll to the bottom have tey have the color recommendations Mar 12 03:11:21 I think black looks better on the red toolbar compared to white Mar 12 03:11:37 i disagree Mar 12 03:11:50 lets see what it looks like Mar 12 03:11:54 you should go for a light grey on white Mar 12 03:12:02 oopsy Mar 12 03:12:10 ? Mar 12 03:12:21 i mean, light grey on that red.. perhaps. Mar 12 03:13:07 text color as well? Mar 12 03:13:57 It kinda messes with my eyes: http://gyazo.com/a1f32bd0803bc4777bcbb5f95ff0d3bc Mar 12 03:14:03 on the phone screen its weird to look at Mar 12 03:15:09 Straight white isnt too bad: http://gyazo.com/4266a5e03ee64b234576cc907b9c220d Mar 12 03:15:49 What do y'all think? Black, grey, or white? Mar 12 03:16:33 According to http://www.materialpalette.com/red/grey my theme should have white for the icons and text Mar 12 03:19:00 desmin88: http://oi58.tinypic.com/2iie6uc.jpg Mar 12 03:19:39 material red weight 600 #e53935, with white weight 100 #F5F5F5 Mar 12 03:20:41 right, shit.. i gtg.. cya later Mar 12 03:25:19 can anyone help me set my auto focus on my camera app. everything works fine, but when I add params.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO); I get this fatal exception: https://bpaste.net/show/178eeb1b0a3d Mar 12 03:25:34 Camera.Parameters params = camera.getParameters(); Mar 12 03:25:51 I feel like Im not using the correct syntax to set the focus mode Mar 12 03:50:02 finally got a Google cardboard vr thingy. the N6's ludicrously high density screen makes a bit more sense there, but the drift is horrible D: Mar 12 04:26:41 heya yall Mar 12 04:28:16 anyone here use intellij 14 or android studios 1.2? Mar 12 04:31:46 I was using intellij 14 Mar 12 04:31:49 what is the question? Mar 12 04:39:21 gordon_: ah, i was just going to ask if it supported lambdas for android development after seeing a note on lambdas, but it looks like the issue is android-side Mar 12 04:39:51 android doesnt support lambdas Mar 12 04:39:53 retrolambda Mar 12 04:40:00 works fine Mar 12 04:40:15 as I said before I would watch out for retrolambda Mar 12 04:40:20 why Mar 12 04:40:28 is it supported ? Mar 12 04:40:35 yes? Mar 12 04:40:37 seems like hack to me Mar 12 04:40:47 how is it hacky Mar 12 04:40:52 by who Mar 12 04:41:00 it works flawlessly Mar 12 04:41:04 https://github.com/evant/gradle-retrolambda Mar 12 04:41:48 it's a simple bytecode translation Mar 12 04:41:55 desmin88: no consumer/Predicate interfaces though Mar 12 04:42:23 I know it works but I dont want to look for strange errors later on in crashlytics Mar 12 04:42:46 there are no strange errors Mar 12 04:42:47 Using Google Play Services causes retrolambda to fail Mar 12 04:43:03 no, it doesn't Mar 12 04:43:21 I'm reading this on project github page.... Mar 12 04:43:21 gordon_ you seem so vehemently opposed to a wonderful library Mar 12 04:43:21 play services causes java 8 to fail Mar 12 04:43:47 what? Mar 12 04:43:57 which is bypassed by running retrolambda with -noverify Mar 12 04:45:31 desmin88: I'm not opposed, I'm just cautious ;) Mar 12 04:45:33 google compiles play services in a way that it fails the java 8 class verifier Mar 12 04:46:09 I will read about it later Mar 12 04:46:26 it just works Mar 12 04:46:32 theres nothing really to read Mar 12 04:46:36 workaround : -noverify Mar 12 04:47:29 anyone using jack & jill, did they get an update in the new built-tools ? Mar 12 04:48:09 * pfn shrugs, haven't even started using retrolambda, other than integration Mar 12 04:48:23 does android studio 1.1 come with bundled sdk-manager? Mar 12 04:49:00 installed 1.1 from beta but sdks did not get recognized Mar 12 04:55:36 What are the cool kids doing to keep a dialog from dismissing on a configuration change? Mar 12 04:56:10 recreating it Mar 12 04:56:56 so, do you have some check in onCreate to see if the bundle isn't null and then recreating the whole dialog? That seems crazy Mar 12 04:57:04 welcome to android **** BEGIN LOGGING AT Thu Mar 12 05:04:06 2015 Mar 12 05:13:28 everytime I move away from a list view item to another activity and come back again to the listview activity the activity goes to the top(ie it is refreshed) .How to stop this. Mar 12 05:13:55 The view should remain at the last item I clicked in the listview after returining from other activities Mar 12 05:15:54 you have retain the scroll position yourself Mar 12 05:22:03 Is it better to go with Icon-type fonts? Or use an image? I'm thinking the fonts - but I've never used custom fonts with android. Is it a pain? Mar 12 05:27:22 t0astt: whats your use case? Mar 12 05:28:12 desmin88: I want to use a phone, "delete", and "profile" icon Mar 12 05:29:01 http://google.github.io/material-design-icons/ Mar 12 05:29:18 http://romannurik.github.io/AndroidAssetStudio/ Mar 12 05:29:30 I actually might not go with the icons, on second thought. Normal buttons may look better Mar 12 05:32:31 Anybody using fabric.io? I use crashlytics but it looks real awesome to have mopub, analytics, etc. all in one Mar 12 05:33:25 doesn't look like Play handles diconnected internets well http://i.imgur.com/SS8xZPm.png Mar 12 05:33:47 my app downright crashes on open if airplane mode is on Mar 12 05:33:52 no stacktrace in logcat either Mar 12 05:34:00 have yet to figure that out Mar 12 05:45:38 oh wow, the TI Sensortag was updated. out with the CC2541 (8051) now its got a CC2650 with Cortex-M3 Mar 12 05:48:32 Whats the best way to implement all these different list item types for a nav drawer? it seems like a total PITA with adapters and view positions and what not Mar 12 05:48:42 isn't there something special about using onClick listeners in fragments? Mar 12 05:48:47 as in it doesn't work? Mar 12 05:48:56 t0astt yeah, from xml they dont work Mar 12 05:49:04 desmin88 "some assembly required" Mar 12 05:49:16 its kinda ridiculous how much is needed Mar 12 05:49:32 yeah Mar 12 05:49:34 thanks g00s Mar 12 05:49:55 desmin88 maybe somebody makes a little library that reads a menu.xml and puts it in there Mar 12 06:10:38 don't use onClick in xml Mar 12 06:10:44 there's your fix Mar 12 06:11:35 g00s: you mean like the upcoming design support library? Mar 12 06:11:43 (which does just that) Mar 12 06:12:29 JakeWharton that sounds nice. i just thought it would be a good idea. i guess others thought so too :D Mar 12 06:13:24 just declaratively state what goes in the panel, let all the things happen automatically :) Mar 12 06:15:14 So I have a function, public void onPositive in a dialog, that typically requires an "@Override". However in this case, it is erroring and saying "method does not override or implement a method from a supertype". If I remove the @Override, it vomits errors all over me... any ideas? Or is it a code-specific thing? Mar 12 06:15:42 t0astt thats gross ! Mar 12 06:16:03 NEVERMIND GUYS. Turns out I'm more tired than I thought. I missed a key component - filling in the parameter :/ Mar 12 06:17:15 Actually no, I was correct. Mar 12 06:17:18 Still erorrings :P Mar 12 06:38:21 Any ideas why the onPositive with the Log.i() inside of it isn't firing when clicked? http://pastebin.com/gzAhbZJG Mar 12 06:43:59 desmin88 did you see this ? http://androidshenanigans.blogspot.pt/2015/03/material-design-template.html Mar 12 06:45:09 g00s: i did not but i just implemented my own way Mar 12 06:45:12 :( Mar 12 06:45:26 i just saw that on /r/androiddev Mar 12 06:57:50 thepoosh ! Mar 12 06:57:56 hi man Mar 12 07:16:43 hey I have some weird issued with log4j and httpclient... Mar 12 07:16:47 on the backend.. Mar 12 07:17:07 Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity **** BEGIN LOGGING AT Thu Mar 12 07:25:16 2015 Mar 12 07:32:20 hi Mar 12 07:46:13 This is great! Mar 12 07:46:25 Thanks for all the retrolambda discussion, folks. Did not know of it :) Mar 12 07:46:42 lut4rp good luck ! Mar 12 07:46:51 \o/ Mar 12 07:47:19 I knew reading all the 2000+ messages in #android-dev every morning, would do me good some day Mar 12 07:47:20 :P Mar 12 07:47:30 hmm, probably not Mar 12 07:47:41 you might even wind up stupider Mar 12 07:47:54 hopefully the decrease in IQ is just temporary though Mar 12 07:48:54 g00s, ! Mar 12 07:49:00 hey lemonxah ! Mar 12 07:49:00 g00s ! hello Mar 12 07:49:08 lol akka .. i like it Mar 12 07:49:17 ima use akka as a message bus on my next android ap Mar 12 07:49:17 isn't there a new http-akka thing ? Mar 12 07:49:37 lemonxah it requires scala though, right ? Mar 12 07:49:54 they are making spray-io part of akka calling it akka-io i believe Mar 12 07:50:00 and you can do it in java if you want Mar 12 07:50:11 the library is writtin in scala though Mar 12 07:50:46 i asked pfn a while back if akka would have any uses for a normal java / android dev, he didn't think so. so i never looked ar it again Mar 12 07:51:27 as a message bus but you will have to include scala i think Mar 12 07:51:31 still write it in java Mar 12 07:51:53 What would anyone think a good material icon for general social media i.e an icon indicating facebook/twitter/instagram/etc Mar 12 08:06:51 how can i get md5checksum of a file on Google drive ? Mar 12 08:08:05 http://stackoverflow.com/questions/23462168/google-drive-md5-checksum-for-files Mar 12 08:08:45 http://android.google.com/ down? Mar 12 08:09:43 seems like it Mar 12 08:09:45 hmm Mar 12 08:09:47 haha Mar 12 08:09:53 explains my error.. Mar 12 08:09:55 if it is that.. Mar 12 08:10:04 javax.net.ssl.SSLPeerUnverifiedException: Host name 'android.googleapis.com' does not match the certificate subject provided by the peer (CN=*.googleapis.com, O=Google Inc, L=Mountain View, ST=California, C=US) Mar 12 08:10:06 i cant visit it Mar 12 08:10:08 never seen it before Mar 12 08:10:16 not sure if it's visitable Mar 12 08:10:28 oh Mar 12 08:10:31 apis Mar 12 08:10:34 hmm Mar 12 08:10:43 android.google.com is down though that is visitable Mar 12 08:10:44 hahaoops Mar 12 08:10:45 used to be Mar 12 08:11:32 lemonxah thanks Mar 12 08:21:35 anyone know is theres a way change the values of a theme at runtime? Mar 12 08:22:36 you can switch themes at runtime, and overlay new ones on existing - but you can't strictly /change/ values of a theme Mar 12 08:22:57 not that i know of anyhow Mar 12 08:31:46 omgggg Mar 12 08:31:49 found my problem... Mar 12 08:32:08 org.apache.http.client.HttpClient httpClient = HttpClientBuilder.create().build(); Mar 12 08:32:12 instead of using Mar 12 08:32:18 HttpClient httpClient = new DefaultHttpClient(); Mar 12 08:32:21 piece of shit Mar 12 08:32:50 well shit if anyone needs t knw how to get push notifications working Mar 12 08:33:03 hey guys, i have a question. im reading about Volley; i was wondering what is L1 caching that Volley dont not have out of the box, and L2 cache ? Mar 12 08:33:05 with GCM / Tomcat / Jersey Mar 12 08:33:11 * Tricknology shrugs Mar 12 08:45:11 wtf is this. i keep getting "No apk changes detected. Skipping file upload, force stopping package instead." Mar 12 08:45:22 even though i'm editing and rebuilding Mar 12 08:47:30 i've got a foreground service that regularly updates an ongoing notification. is there any way to let it sleep while the screen is off? (all updates while screen is off are useless) Mar 12 08:48:53 if you dont have a wakelock, it should sleep :| Mar 12 08:49:07 that is, if the CPU goes off Mar 12 08:50:53 no wakelock. service is using a Thread{ update; Log; sleep;} and i'm seeing the log constantly (every second, as configured) Mar 12 08:53:06 then somebody is keeping the phone on Mar 12 08:54:16 adb? (it is sending me the Logs ) is there a reliable way to test sleeping? Mar 12 09:00:23 I have a dynamically created view, that I insert a bitmap into. This bitmap I cut out. However the parts I have cut out are not transparent. The places ive cut out the bitmap just has the color of the view background Mar 12 09:00:52 I've tried setting transparent through Color.transparent and using the hex with an alpha value appended infront of it, but nothing really works Mar 12 09:01:11 for cutting the bitmap I use PorterDuff.Mode.CLEAR Mar 12 09:01:26 Anyone who has experience doing something similar :) ? Mar 12 09:02:15 im reading about Volley; i was wondering what is L1 caching that Volley dont not have out of the box, and L2 cache ? Mar 12 09:02:22 Anyone know where I can a free material icon for flickr? Mar 12 09:03:11 desmin88: here you can find all official material icons -> https://github.com/google/material-design-icons Mar 12 09:03:23 Yeah there is no branded icons there though Mar 12 09:10:59 Hi there. I start new activity from amin activity withing action bar. (I support older version from 10 up). All fine new activity starts, and when I press back arrow to go back. It works in 4.4. But it does nothing when I press it in 2.3 android. I just added: getSupportActionBar().setDisplayHomeAsUpEnabled(true); into onCreate method as suggested on docs: Mar 12 09:11:02 https://developer.android.com/training/basics/actionbar/adding-buttons.html#UpNav and it should work. But it doesn't for 2.3 android versions. Any ideas? Mar 12 09:56:08 Anyone with experience creating masks over bitmaps? Mar 12 10:03:59 question: why would sending email with attachment via javamail be so slow on one device, while using dedicated email client so fast? Mar 12 10:04:30 just his one device it takes over 30 seconds to deliver 100kb while on others devices it or other clients it works instantly Mar 12 10:04:49 could be some security reason? Mar 12 10:13:35 Any ideas why I can't start new activity when clicking on a info in action bar for 2.3 versions? Mar 12 10:16:38 frojnd: code? Mar 12 10:24:30 hello, what's up? I am looking for a working tutorial on how to compile a hello world app with ndk and the latest android studio! do you know of any? Mar 12 10:25:04 thepoosh: I posted before I fell of the internet. Let me do it again Mar 12 10:28:08 thepoosh: https://gist.github.com/frojnd/72a0259205b80a658f8c according to docs: https://developer.android.com/training/basics/actionbar/adding-buttons.html#UpNav I should only add getSupportActionBar().setDisplayHomeAsUpEnabled(true); Mar 12 10:28:20 I have sdk 10 min versin Mar 12 10:34:52 thepoosh: any ideas? Mar 12 10:35:18 thepoosh: note, if I click on a back button in actionbar within info activity with 4.4 it works. Mar 12 10:57:09 guys, how to create android apps using html 5, css, js ? Mar 12 10:59:33 hey all Mar 12 10:59:57 arunpyasi, search for PhoneGap or Cordova. Mar 12 11:00:32 i want to ask if I want to use a website to fetch data the website is using php and login form I want to use it to login and get data from android what should I use ? Mar 12 11:02:23 and how can I make a window scrollable ? Mar 12 11:02:50 hi Mar 12 11:02:59 i have problem with this example Mar 12 11:03:02 http://examples.javacodegeeks.com/android/android-videoview-example/ Mar 12 11:03:16 i try it exactly, Mar 12 11:03:34 but in some device that show blank screen Mar 12 11:03:46 instead play video , i hear just sound Mar 12 11:05:19 any idea? Mar 12 11:05:25 what is problem Mar 12 11:05:49 that is funny that on zte kis3 that can't play video and return Mar 12 11:06:03 can't play this video Mar 12 11:10:07 there is no idea? Mar 12 11:13:21 im reading about Volley; i was wondering what is L1 caching that Volley dont not have out of the box, and L2 cache ? Mar 12 11:18:41 there is really no idea? Mar 12 11:27:03 How do I clear IAP so I can test the restore function? I tried clearing data, reinstalling etc doesnt work? Mar 12 12:12:25 so bored Mar 12 12:14:21 fuck android studio how can it that it refractors another directory afther copy paste it refactored the old one to Mar 12 12:14:42 i jsut want to a full copy of current project that to much to ask ? Mar 12 12:15:52 yes .. yes it is too much to ask Mar 12 12:16:46 i know right Mar 12 12:18:25 hi Mar 12 12:18:28 extending BaseAdapter how to show progress bar Mar 12 12:20:04 Why am I getting these EGL errors? and "app passed NULL surface"?: http://pastebin.com/sESf6C1p Mar 12 12:32:14 hi,i checked api and made some research, but im not sure that if I can get contact list current sort order ? Mar 12 13:01:20 having trouble starting an activity from a connected activity's inner class Mar 12 13:01:36 *connected fragment Mar 12 13:02:06 one fragment pops itself while an Observable.just() is doing some stuff in Schedulers.newThread() Mar 12 13:02:53 when the background operation completes, I'm calling the still-connected fragment's inner class method to start an activity Mar 12 13:03:16 NPE at..at com.android.internal.app.ResolverActivity$ResolveListAdapter.rebuildList(ResolverActivity.java:543) Mar 12 13:07:16 Any ideas why "up" navigation in subactivity is not working for a android 2.3 : https://gist.github.com/frojnd/72a0259205b80a658f8c according to docs: https://developer.android.com/training/basics/actionbar/adding-buttons.html#UpNav I should only add getSupportActionBar().setDisplayHomeAsUpEnabled(true); Note for 4.4 up navigation works Mar 12 13:21:45 Any ideas? nope? Mar 12 13:36:39 I'm having a problem with Saripaar, the validation lib, even if I used sequences for multiple rules for one view, it still shows error for all rules. Any idea how can I fix this? Mar 12 13:41:47 Hello house Mar 12 13:42:07 hi Mar 12 13:42:14 Reading again http://developer.android.com/training/implementing-navigation/ancestral.html helped. I forgot to abstract with For sometime now, i've been trying to send sms to a list of phones at the background... Mar 12 13:43:18 Why am I getting these EGL errors? and "app passed NULL surface"?: http://pastebin.com/sESf6C1p Mar 12 13:43:24 but it i loop through the phone list and send sms to individual but its not working.. Mar 12 13:43:46 any help... i've search online but can't get a specific solution Mar 12 13:44:19 hackable does it work without loop? Mar 12 13:52:39 My Kotlin project was working until I tried building it today: Class 'kotlin/KotlinPackage' was compiled with an incompatible version of Kotlin. Its ABI version is 19, expected ABI version is 20 Mar 12 13:53:31 theres a method that is called when the app did enter from background? Mar 12 13:54:17 the top activity will resume Mar 12 13:55:04 Mavrik: so if i want to execute anything i need this method in every activity can be at the top? Mar 12 13:55:31 in ios exists func applicationDidBecomeActive(application: UIApplication) that is called wherever you are Mar 12 13:56:57 Godfather_ http://developer.android.com/training/basics/activity-lifecycle/starting.html Mar 12 13:57:27 memorion: i was asking for a “global” resume Mar 12 13:58:36 Godfather_ hm, I don't think that exists since you can have entirely different kinds of applications, like one that's just a background service Mar 12 14:00:27 memorion: oki, im comming from ios where exists this https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidBecomeActive: Mar 12 14:01:24 Godfather_ do these help you? http://developer.android.com/reference/android/app/Application.html Mar 12 14:02:45 memorion: i will see, but my guess is that android doesnt have this feature, so i must implement a custom method inside every activity, i’ll read that btw Mar 12 14:03:02 morning. Mar 12 14:03:53 Godfather_ the lifecycle is probably pretty different from ios so I don't really think it's a good idea to try to force it to work like on ios Mar 12 14:04:05 ^ Mar 12 14:05:27 Godfather_ maybe stuff like this helps you http://www.objc.io/issue-11/android_101_for_ios_developers.html Mar 12 14:05:47 memorion: ty Mar 12 14:06:00 np Mar 12 14:06:05 KingMe, Yes.. it work without loop... it only send sms to only one phone number Mar 12 14:06:13 For sometime now, i've been trying to send sms to a list of phones at the background... Mar 12 14:06:19 but it i loop through the phone list and send sms to individual but its not working.. Mar 12 14:06:24 any help... i've search online but can't get a specific solution Mar 12 14:13:37 My Kotlin project was working until I tried building it today: Class 'kotlin/KotlinPackage' was compiled with an incompatible version of Kotlin. Its ABI version is 19, expected ABI version is 20. Any idea what's this all about? Mar 12 14:27:04 Hello! In which place it is more appropriate to register(and unregister) BroadcastReceiver (i will update UI from it)? In onCreate onStart onResume? Mar 12 14:30:06 xgearx, http://developer.android.com/reference/android/content/BroadcastReceiver.html Mar 12 14:32:29 adq: i found only that "if i register in onresume - i should unregister in onPause" in this doc Mar 12 14:33:05 For sometime now, i've been trying to send sms to a list of phones at the background... but it i loop through the phone list and send sms to individual but its not working...any help... i've search online but can't get a specific solution Mar 12 14:33:05 I use LocalBroadcastManager Mar 12 14:33:23 true story: strictMode.threadpolicy.builder.detactAll() dinged me for 100ms read preference on UI thread, but completely ignored a *12 second* block somewhere in my service - what did i do wrong ? Mar 12 14:35:28 service is not running on ui thread right? so strictmode will not complain Mar 12 14:35:34 since it's blocking in another thread Mar 12 14:35:51 it did an operation on the main thread Mar 12 14:36:01 the main thread of a service is not the ui thread right? Mar 12 14:36:11 sure it is :) Mar 12 14:36:32 ah oops Mar 12 14:36:44 more specifically, i had an RxJava operation initiated from one activity that did not subScribeOn() a non-ui thread Mar 12 14:37:02 with traceview, you can be sure if the method/call will be on ui thread Mar 12 14:37:18 maybe rxjava does something Mar 12 14:37:41 does something which makes it runs on another thread* Mar 12 14:38:32 is there something i need to add to my code so that it can catch abuses like that? or is the android code internally instrumented specially for strictmode to catch ? Mar 12 14:40:55 idk, but I would really use traceview to profile and know which methods runs on which thread and for how long Mar 12 14:41:45 g00s, akka is completely overkill for android, but if it's what you know, it works, there's a load of people using akka on android Mar 12 14:47:18 not much advantage in picking it up just to use on android Mar 12 14:51:04 my app passed into the top 25 new paid last night :) Mar 12 14:53:57 nice! Mar 12 14:55:15 so I get retrolambda Mar 12 14:55:19 but it doesnt have streams... Mar 12 14:56:28 gordon_ yeah streams are a separate java 8 feature Mar 12 14:56:53 maybe I get do something nice with guava then :) Mar 12 14:57:11 well it's called retrolambda not retrostreams :P Mar 12 14:57:16 memorion, thanks! Here's the link if anyone wants to check it out: https://play.google.com/store/apps/details?id=com.toqueapps.twentyone Mar 12 14:58:29 gordon_: rxandroid might fit the bill Mar 12 14:58:48 saik0: that's my next target Mar 12 14:59:12 do you have some good resources about it ? Mar 12 14:59:23 watching this for now https://www.youtube.com/watch?v=_t06LRX0DV0 Mar 12 15:02:43 gordon_: there is a coursera course if you're unfamiliar with FRP, otherwise the javadocs and wiki are pretty decent Mar 12 15:03:30 I have some weird troubles with my application, sometimes its goes from an activity to the main activity, with no reason Mar 12 15:03:48 like if android was partially killing the app Mar 12 15:04:33 but application dont start like if it was first start, it just goes to main activity Mar 12 15:07:32 gordon_, no streams, use guava and rxjava Mar 12 15:08:20 pfn ok thanks Mar 12 15:08:31 isn't guava like super large Mar 12 15:08:42 I don't think I'd even have enough space on my phone for it Mar 12 15:08:46 Zharf: proguard Mar 12 15:09:04 not worth the effort :p Mar 12 15:09:26 Zharf you may be able to surgically remove the part you need Mar 12 15:09:30 also I don't even know what's in guava, I've only heard that people have problems with method limit which I found weird and then they told me it was because of guava Mar 12 15:09:32 guava is good Mar 12 15:10:04 one of the libraries that make java somewhat bearable Mar 12 15:10:22 pfn: I know guava but dont know rxjava Mar 12 15:10:33 "let's learn" Mar 12 15:11:04 huh, there's people actually releasing software without proguarding it first Mar 12 15:11:20 only thing I can always think of when it comes to shortcomings of java standard library is streams Mar 12 15:11:32 immutable collections Mar 12 15:11:32 Mavrik, sure, I do Mar 12 15:11:36 bunch of parallelism stuff Mar 12 15:11:40 I'm creating a custom adapter and in my getView override I keep getting null passed in as the View value Mar 12 15:11:40 Zharf, why? Mar 12 15:11:45 Mavrik, why not? Mar 12 15:11:58 free optimization and smaller binary. Mar 12 15:12:15 it's like a single option and you save several MB for your users Mar 12 15:12:17 it's extra work and the times I've tried it blew up on my face :p Mar 12 15:12:18 is this a normal issue? how do the program to take in the correct convertView variable? Mar 12 15:12:27 same with resource stripping Mar 12 15:12:28 my applications are less than 4MB though Mar 12 15:12:50 mrfu, convertView CAN be null Mar 12 15:12:57 mrfu, and always will be the first time. Mar 12 15:13:24 the first few times probably Mar 12 15:13:34 * pfn always proguards all apps as part of development Mar 12 15:13:42 its a free process in my build Mar 12 15:13:57 Interesting. I'm getting a null pointer error so i was just assuming it had to do with that. Mar 12 15:14:02 Time to look somewhere else then! Mar 12 15:14:13 if you're not using native stuff it's easier I guess, but frankly I never felt any need for it Mar 12 15:14:37 my applications are small and I don't do graphics :p Mar 12 15:15:18 huh Mar 12 15:15:21 all my apps use native stuff Mar 12 15:15:25 and has always been painless Mar 12 15:15:26 my current application for $work uses proguard because of gms Mar 12 15:15:30 pain always started with obfuscation. Mar 12 15:15:54 isnt it faster after proguard ? Mar 12 15:15:56 since lollipop, you have to use proguard with support library anyways Mar 12 15:16:01 i.e. getters and setters Mar 12 15:16:05 danijoo_, huh? Mar 12 15:16:06 or app will crash on samsung :D Mar 12 15:16:10 Mavrik i thought pain started with optimization :| Mar 12 15:16:10 fuck samsung Mar 12 15:16:12 because of toolbar bug Mar 12 15:16:16 danijoo_: fuck that bug Mar 12 15:16:20 no one cares about samsung phones Mar 12 15:16:28 g00s, hmm, I really never had proguard to anything stupid when optimizing Mar 12 15:16:30 and it's not only samsung Mar 12 15:16:34 Zharf, yeah.just ignore them Mar 12 15:16:39 its only 75% marketshare or so :D Mar 12 15:16:46 false Mar 12 15:16:49 g00s, maybe when using eventbus or some other minor stuff Mar 12 15:17:03 it's only 4.2.2 Mar 12 15:17:14 Mavrik usually its some library that blows up , and you have to dig for their special incantation Mar 12 15:17:31 proguard doesn't cause issues unless you rely on reflection Mar 12 15:17:32 g00s, yeah, reflection based stuff Mar 12 15:17:37 samsung's phones also crash if you getActionBar().hide() for one orientation Mar 12 15:17:40 g00s, but pretty much all stuff has documentation about that Mar 12 15:17:56 samsung crash if you just do hello world -_- Mar 12 15:18:07 samsung has been hurting pretty bad lately, but their GSS 6 looks nice Mar 12 15:18:15 *SGS 6 Mar 12 15:18:29 reflection sucks Mar 12 15:18:38 unfortunately no one has still made a suitable android phone for me since xperia pro/mini pro :p Mar 12 15:18:45 g00s: good, so you can install clear android on it Mar 12 15:18:49 moto x Mar 12 15:18:49 and it will be nice Mar 12 15:18:53 best phone ever Mar 12 15:19:00 moto x is a nice phone Mar 12 15:19:02 nexus 5 too Mar 12 15:19:15 pfn, too large, no physical keyboard Mar 12 15:19:18 needing to use reflection for an event bus sucks Mar 12 15:19:22 we may be at the point huawei and xiaomi switch places with samsung Mar 12 15:19:36 well, SGS6 has the Exynos crap again Mar 12 15:19:37 but samsung makes so many things in the home, dishwasers, dryers, etc Mar 12 15:19:40 so that means no AOSP support Mar 12 15:19:43 so they can have it. Mar 12 15:19:49 heh Mar 12 15:21:38 i may grab a moto e 2nd gen Mar 12 15:21:53 maybe wait until i/o first , just in case they make a new n7 Mar 12 15:22:01 *shrug* Mar 12 15:22:11 I'm not buying anything else than Nexus for dev use Mar 12 15:22:25 Having to wait for OEM dipshits so you can see if your software works on new version is just not worth it Mar 12 15:22:26 the motos seems pretty close to stock Mar 12 15:22:44 and seems moto is quickest to update, at least their popular models Mar 12 15:23:16 no lollipop onmy 1st gen x yet Mar 12 15:23:28 want 5.1 for my 2g x Mar 12 15:23:31 from what i heard, that might be good. maybe you'll just skip to 5.1 Mar 12 15:23:35 *shrug* Mar 12 15:23:41 5.0 works perfectly on my N5 Mar 12 15:23:48 and Motorola refuses to sell any of their phones here Mar 12 15:23:59 so they're not supported by our software Mar 12 15:24:29 HTC said they were waiting on 5.0 because it was too buggy Mar 12 15:24:35 i'm sure they aren't the only ones Mar 12 15:24:47 HTC already released 5.0 on their m7 and m8s Mar 12 15:24:48 at least here. Mar 12 15:24:57 yeah , but there was a delay :) Mar 12 15:25:14 there's always a delay with OEMs Mar 12 15:25:19 will they release 5.1? ;) Mar 12 15:25:21 that's why you don't use those for development Mar 12 15:25:38 you just have a Samsung standby to workaround their crap Mar 12 15:25:50 preferrably an imported Verizon one Mar 12 15:25:55 since those are coded by monkeys Mar 12 15:26:18 "When Google first rolled out the Android L developer’s preview back at I/O 2014, HTC announced that they would bring the the new update to One M8 and M7 owners within 90 days of the source code being posted." Mar 12 15:26:31 they missed their deadline because it had too many bugs Mar 12 15:26:32 Mavrik, what is ${our software} Mar 12 15:26:39 g00s, they missed it on m7, m8 got it in time Mar 12 15:26:51 pfn, SDK and other apps my company develops :) Mar 12 15:26:51 L dev preview was horrible Mar 12 15:27:09 yeah Mar 12 15:27:19 5.1 seems to be cleared up though Mar 12 15:27:25 didn't have time to install it Mar 12 15:27:30 hope 5.1 is good Mar 12 15:27:42 hopefully they fixed all the memory leaks :) Mar 12 15:27:47 The mem leak is fixed Mar 12 15:27:55 That much is confirmed :) Mar 12 15:28:18 yep, i want that fix Mar 12 15:29:12 Personally for me, 4.4 now looks terribly out of date when I return to it :/ Mar 12 15:29:16 wheres the 21 to 22 changelog Mar 12 15:29:35 anyone encountered a NPE when using Robolectric withApplication? Mar 12 15:29:43 pfn https://paste.teknik.io/1010 Mar 12 15:29:51 pfn, this? https://developer.android.com/about/versions/android-5.1.html Mar 12 15:29:58 4.4 with Sense on my E8 still looks pretty decent - but then Sense was pretty 'materialy' already Mar 12 15:30:07 Mavrik, yes ty' Mar 12 15:30:15 there's also a package diff Mar 12 15:31:03 Mavrik where is that ? i can never find it Mar 12 15:31:04 what is the best android phone right now Mar 12 15:31:25 oh nm Mar 12 15:31:26 https://developer.android.com/sdk/api_diff/22/changes.html Mar 12 15:31:33 hmm, multisim and carrier services api Mar 12 15:31:52 nothing interesting... Mar 12 15:32:03 hmmp: that depends on your definition of best Mar 12 15:32:19 pfn, they also deprecated HTTP client Mar 12 15:32:19 :) Mar 12 15:32:51 Mavrik, yeah, not interesting from a chanfes perspective Mar 12 15:32:58 unless you're using them Mar 12 15:33:09 which no one should be since 2.3 Mar 12 15:33:10 saik0: superior from every point of view Mar 12 15:33:31 except price Mar 12 15:34:51 terry pratchet died Oo Mar 12 15:34:55 nexus 6 Mar 12 15:34:59 mhm Mar 12 15:35:17 pfn, most changes are user-facing, fixed bugs, more animations, fixed so audio, reenabled LED in silent mode, etc. Mar 12 15:35:24 would be great if they enabled LED on Nexus 9 -_- Mar 12 15:35:42 Mavrik, yeah Mar 12 15:36:05 the changes, that is Mar 12 15:36:36 blusky, people do that, why the Oo? Mar 12 15:39:59 "Lets deprecate the http client and replace it with okhttp." "OK" "But lets bury it in the framework internals so nobody can use it except with the URLConnection interface that's being deprecated upstream" "...uh...OK?" Mar 12 15:40:30 um, what? Mar 12 15:40:33 okhttp is an implementation detail :) Mar 12 15:40:43 very much an implementation detail Mar 12 15:41:09 It was a jest ;) Mar 12 15:41:49 huh? urlconnection isn't deprecated Mar 12 15:41:53 wtf you talkin' bout willis Mar 12 15:43:41 it will be in Java 9/10 Mar 12 15:43:44 pfn: http://openjdk.java.net/jeps/110 Mar 12 15:43:50 or at least HttpURLConnection will be Mar 12 15:44:39 ^^ Mar 12 15:45:48 it's not like that's going to affect android for years to come :p Mar 12 15:48:04 gordon_, oh yeah, use scala and don't deal with that other crap :p Mar 12 15:49:37 so is there something special i have to do to allow my misbehaving code to be detected by strictmode, or does it only catch you using framework apis improperly? Mar 12 15:49:51 the latter Mar 12 15:50:03 :'( Mar 12 15:50:30 in Scala you don't deal with any of Java's crap Mar 12 15:50:59 because it has an overwhelming amount of crap of its own that it dwarfs Java's Mar 12 15:51:10 fud from the master Mar 12 15:51:20 i'm not talking to you Mar 12 15:51:27 i'm not talking to you either Mar 12 15:51:30 lol Mar 12 15:51:30 go fuck off Mar 12 15:51:45 language... there's children present Mar 12 15:51:58 or was that a scala DSL of some sort? Mar 12 15:53:04 that would be so verbose in Java: new Go() { @Override public void where(Action action) { action.goTo(); } }.where(new FuckOffAction()); Mar 12 15:59:41 haha Mar 12 16:00:01 um, guys slightly offtopic question Mar 12 16:00:01 I could use scala Mar 12 16:00:13 if there were some nice web framework for it Mar 12 16:00:15 to we have a decent tool for pretty printing / colorizing code in Keynote presentations? :) Mar 12 16:00:20 and dont tell me play is nice Mar 12 16:00:38 comparing it to... django or rails, it's not Mar 12 16:02:55 play is nice Mar 12 16:04:31 gordon_, play, spray, scalatra, etc. Mar 12 16:15:00 Mavrik: enable rich copy/paste in IntelliJ Mar 12 16:20:41 How do I test Restore IAP? Mar 12 16:27:43 IAP is the hardest thing in the Android process Mar 12 16:27:56 http://techcrunch.com/2015/03/12/algorithmia-launches-with-more-than-800-algorithms-on-its-marketplace/ Mar 12 16:40:27 hey guys, question here: There is any good library to implemente show/hide "action buttons/options" on a ListView's item? like this one https://github.com/dharanikumar/IOS_7-SwipeGesture-Android but not 2 years without update :P Mar 12 16:41:49 abara: SwipeListView is the best one I know of https://github.com/47deg/android-swipelistview Mar 12 16:42:03 but I don't think it's a great UI pattern Mar 12 16:42:08 IMHO Mar 12 16:42:22 yiati: yeah... Mar 12 16:42:39 yiati: but this project is disconntinued .-. Mar 12 16:47:24 abara: it's the best one I know of, and most of them are discontinued because most people probably agree that it's not a great UI pattern Mar 12 17:14:35 'lo. i often see new xml namespaces introduced in resource files with no explanation. here's an example: https://developer.android.com/guide/topics/ui/actionbar.html#ActionView Mar 12 17:14:47 is there any documentation on this anywhere? Mar 12 17:18:10 rmk0: http://android-developers.blogspot.no/2012/03/updated-sdk-tools-and-adt-revision-17.html introduced it - it says "Added support for custom views with custom attributes in libraries. Layouts using custom attributes must use the namespace URI http://schemas.android.com/apk/res-auto instead of the URI that includes the app package name. This URI is replaced with the app specific one at build time." Mar 12 17:18:40 any Android testing / instrumentation / Junit users in here? Mar 12 17:19:27 snowpong: i see, thanks Mar 12 17:19:30 guys please someone help me, i really need to know if I can get contact list current sort order, for example last name first,or asc/desc ? Mar 12 17:20:43 I'm autio-testing an activity that behaves in one way on first launch, and another way for all other launches - what is the best way to handle this in when testing it? Mar 12 17:28:45 scifi yeah Mar 12 17:28:52 you use ContactContract class Mar 12 17:29:07 do content resolver db query, just add "column_name ASC" Mar 12 17:29:20 where column_name is the name of the column you want it sorted on Mar 12 17:29:42 unless that was not your question Mar 12 17:30:07 yes it isnt,i dont know if a user can change sorting asc to desc Mar 12 17:30:34 in my nexus 5 i see asc,and seems no have desc option Mar 12 17:31:14 but i must know current sorting order Mar 12 17:31:24 i dont think there is a standard sorting order Mar 12 17:31:34 that's not something saved with contact information Mar 12 17:43:48 so ocasionaly androis studio pops up the paramaters it's expects for a function Mar 12 17:43:53 how do i force show that Mar 12 17:45:51 cmd+p on a mac Mar 12 17:47:15 ok now to figure out how to change shortcuts cause thats not a handy one for me Mar 12 17:52:48 it seems like when using SearchView in action bar, it's necessary to hook up a load of infrastructure involving activities and so on. i don't want any of that. is there a pleasant way to simply have the search query given to a provided listener whenever the user submits a query? Mar 12 17:55:07 rmk0, you can simply register a textlistener Mar 12 17:55:54 danijoo_: could you elaborate a bit? Mar 12 17:56:03 SearchView#setOnQueryTextListener() Mar 12 17:56:22 you set a listener and that has 2 callback methods (onTextChange() and onTextSubmit() Mar 12 17:56:26 danijoo_: ah, thanks, i missed that one! Mar 12 17:56:33 that should do it Mar 12 17:57:08 yw Mar 12 17:57:32 and 8 hours later my custom adapter finally doesn't crash my app Mar 12 17:57:36 I wish verizon wasn't such an asshole provider, if you buy a prepaid phone, you can't use it on a postpaid plan Mar 12 17:57:41 unless you buy 6 months of prepaid service first Mar 12 17:59:59 everytime I hear those stories, im happy that I dont live in the land of boundless rip-off Mar 12 18:00:59 yep Mar 12 18:01:06 israel is awesome about those things Mar 12 18:01:15 pfn, I really never understood why US telcos even have a say in what phone you're using. Mar 12 18:01:30 mostly it's verizon because of proprietary cdma Mar 12 18:01:34 there is a law that forces them to give you your number even if you switch provider Mar 12 18:01:53 thepoosh, same here in ger Mar 12 18:02:16 and you don't even have to tell them you're leaving Mar 12 18:02:29 just sign up with the next one, and they'll take care of it for you Mar 12 18:02:34 no fines allowed by law Mar 12 18:03:26 oh neat Mar 12 18:03:30 Google killed off Google Code Mar 12 18:03:45 put it out of its misery, more like Mar 12 18:04:03 hello all Mar 12 18:04:36 hi Mar 12 18:05:03 thank god, google code was awful Mar 12 18:05:24 isn't JQuery hosted on google code? Mar 12 18:05:30 I hate finding a Google Code link when I want to browse something's source online. Mar 12 18:06:00 lol Mar 12 18:06:51 quick question, why would I use a MyFragment.newInstance() pattern over just calling new MyFragment()? Mar 12 18:08:12 you wouldn't Mar 12 18:08:34 ok cool Mar 12 18:08:38 that's what I thought lol Mar 12 18:08:40 because when you inevitably add a parameter you'll fuck up and add it to the constructor Mar 12 18:09:05 what do you mean JakeWharton? Mar 12 18:09:25 just don't use a constrcutor Mar 12 18:09:56 use a newInstance()? Mar 12 18:10:12 yes. it's a pattern to prevent you from harming yourself Mar 12 18:10:19 drinfernoo: It can be a nice way of centralising the code for passing arguments (via Fragment.setArguments) to a Fragment. Mar 12 18:10:39 fragments require default constructors and by referencing one directly you open yourself up to refactors breaking your code at runtime Mar 12 18:12:36 On a side note, I dislike the "newInstance" naming. Much prefer "create". Mar 12 18:13:12 makeANewThing() Mar 12 18:13:42 so here's my dillema: I've got a fragment that gets used in a FragmentPagerAdapter, using a newInstance() pattern. if I want to use that fragment in a different place, I get a null whenever it tries to read the arguments Mar 12 18:14:35 if I use signingConfigs in my project's build.gradle, is there a way to get Android Studio to actually recognize it when it builds? Mar 12 18:14:58 shekibobo: Android Studio does not build, only Gradle does Mar 12 18:15:19 drinfernoo: getArguments() will be null unless you call setArguments with a Bundle (be it empty or not) Mar 12 18:15:54 right, but for some reason when I run the build through AS, it doesn't recognize how to retrieve the `signingConfig signingConfigs.beta` Mar 12 18:16:12 which is being done in my newInstance(), which is being called in order to get the fragment to add to a fragment transaction Mar 12 18:16:13 It makes me enter the details in a form and then writes those into the buildType.beta Mar 12 18:16:16 I'm trying to remove a specific row from a listview at runtime through a delete button, how can I find what position it is in in an ArrayList and remove it? Mar 12 18:16:34 builds fine from command line gradle Mar 12 18:20:11 mrfu: One way is to set, in getView, the button's tag to be the position. Then, when the button is clicked, get the tag and cast it to an int. Mar 12 18:21:19 <_genuser_> do any of you know if we can control a phone call via adb or somesuch? Mar 12 18:22:10 TacticalJoke: Thanks this was just what I was looking for Mar 12 18:23:16 float f = .125. float newF = 1 - f; why would newF always be 1? Mar 12 18:24:19 lasserix try newF = 1.0f - f Mar 12 18:24:49 same Mar 12 18:25:51 http://pastebin.com/JgYp3Cfr Mar 12 18:25:58 Hey anyone get android 5.1 yet? Mar 12 18:26:35 oh nevermind Mar 12 18:26:36 im an idiot Mar 12 18:26:56 been there living that Mar 12 18:26:57 perlsyntax, ugh no... lollipop rooted keeps you from getting OTAs now :( Mar 12 18:27:14 lasserix_ what happened? Mar 12 18:27:26 drinfernoo,What you mean i got a nexus 6. Mar 12 18:27:53 scaleFactor was a field variable, the actual parameter was factor Mar 12 18:28:11 drinfernoo,My not rooted. Mar 12 18:28:12 scaleFactor was for something else and hence in this case == 0 always, so thats why the other vars werent chanign Mar 12 18:28:24 perlsyntax, I am lol Mar 12 18:28:37 what so funny. Mar 12 18:29:13 you jokeing. Mar 12 18:29:22 i take it. Mar 12 18:30:13 Is there a convention of what functions are auto-executed as tests in ActivityInstrumentationTestCase2? Like all public void functions, or all functions starting with test or whatever? I'm wondering how I can add support functions that are used by tests Mar 12 18:31:40 snowpong: I believe it's all public void methods with no parameters, that start with lowercase test Mar 12 18:32:36 JesusFreke: OK, I'll try - it would be nice if this was documented better. Mar 12 18:32:43 it's a junit3 thing Mar 12 18:32:50 it should be in the documentation for junit 3 Mar 12 18:36:28 Is localStorage the best way to store IAP? I dont think so as they cant use IAP on other devices? Mar 12 18:39:54 KingMe, define "store". if you're using IAP v3, all of that is managed now Mar 12 18:41:34 JakeWharton, what I'm doing is getting a reference to my Fragment's class, and then calling newInstance(), but I think its not ending up getting called for the particular fragment I'm looking at. do I need to do a check and call it specifically? like, instead of "getFragmentClass().newInstance()", call " MyFragment.newInstance()"? Mar 12 18:41:54 that's a different newInstance Mar 12 18:42:30 which? Mar 12 18:42:41 * Napalm yawns Mar 12 18:42:58 on the class Mar 12 18:43:09 hi Napalm Mar 12 18:43:27 JakeWharton, that explains why I can't override it lol Mar 12 18:43:30 hey Mar 12 18:43:43 you should be writing a static method in the class Mar 12 18:51:55 JakeWharton, well, I am, but that's not what's getting called. its "a different newInstance" apparently lol Mar 12 18:56:01 drinfernoo: Is there some code you could post? It sounds like you're misunderstanding something conceptual, but I'm having a hard time predicting what exactly you're trying. Mar 12 18:56:23 TacticalJoke, yeah give me a few minutes if I don't figure it out Mar 12 18:59:01 If anyone is interested - here is how to setup UI autotesting on remote devices - http://www.cutehacks.com/blog/2015/3/12/automatic-android-ui-testing - Note: With Robotium one can get screenshots. I'll update the blog at some later point. And no, I'm not from AppThwack :) Mar 12 19:00:55 whoa Mar 12 19:00:56 https://github.com/Indatus/timber Mar 12 19:01:07 is...is that the same thing? Mar 12 19:06:08 no one should be using Robotium Mar 12 19:06:47 oh right, AppThwack only supports Robotium for screenshots. Solid implementation there... Mar 12 19:16:08 hey Napalm Mar 12 19:16:48 hey Mar 12 19:20:18 http://android-developers.blogspot.com/2015/03/a-new-reference-app-for-multi-device.html Mar 12 19:21:15 IRC. Like RSS but worse. Mar 12 19:23:21 well, at least they didn't put the sources on google code :D Mar 12 19:23:34 lol Mar 12 19:24:10 I see the reference app has lots of tests :| Mar 12 19:25:31 g00s, http://google-opensource.blogspot.com.es/2015/03/farewell-to-google-code.html Mar 12 19:25:45 Moter8 lol, thats why i said that :P Mar 12 19:26:56 minsdk 21, bastards Mar 12 19:27:19 lol Mar 12 19:27:26 so universal Mar 12 19:27:52 It's a parallel universe. Mar 12 19:28:00 "Tricentennial Tower double helix gondola ride planned for New Orleans" .. i dont think that will hold everyone next time it all floods Mar 12 19:28:27 Hello, Any tablet that incorporates fingerprint reading_ Mar 12 19:28:29 ? Mar 12 19:31:26 Napalm um, i must have tkaen a wrong turn - i see the mobile piece but not watch, car, ... Mar 12 19:32:41 nm have to poke around more Mar 12 19:33:24 Question about C&D's Mar 12 19:33:39 g00s: i see this in the Manifest Mar 12 19:34:19 My friend who did the iOS app just got a C&D asking to pull the app down. No mention of the android version or my name. Only mentions the iOS product. Mar 12 19:34:25 Should I act as well or wait? Mar 12 19:34:47 quinnjn well if you know what the problem is, i'd fix it :| Mar 12 19:35:25 g00s, we're both intending too before the deadline for sure! I'm just curious if legally I'm obliged too yet. Mar 12 19:37:47 JakeWharton will like this http://www.gizmag.com/revolution-biotechnology-color-changing-flowers/36480/ Mar 12 19:38:02 Godo Morning. Mar 12 19:38:13 I have a question about Intel's HAXM Mar 12 19:38:47 I had no issue with this on my work pc, seems to have all installed appropriately and the ICS emulator works correctly with hardware acceleration Mar 12 19:38:56 however when I tried to install android studio onto my home PC Mar 12 19:39:04 it errored out during the HAXM installaiton Mar 12 19:39:17 and the nexus 5 AVD would not boot without it Mar 12 19:39:35 on stackoverflow it was suggested that I download the standalone installer for Intel's HAXM Mar 12 19:39:41 mantas322: your computer needs to support it. you need to go into the bios and make sure VT-x and VT-d options are enabled.. this might be named different for AMD to Intel Mar 12 19:39:54 but that ALso erroed out and gave me a message that says Hardware Acceleration needs to be turned on. Mar 12 19:40:10 I have Intel at home Mar 12 19:40:16 mantas322: ypu sounds like what I just said Mar 12 19:40:25 can you give me a little more information as to what VT-x and VT-d are? Mar 12 19:40:27 you have to enable hardware virtualization support Mar 12 19:40:37 g00s: I think the fact that something like that is being crowdfunded is even more awesome than the thing itself Mar 12 19:40:37 why wouldnt that be disabled by default? Mar 12 19:40:45 and what is it? Mar 12 19:41:22 mantas322: you cant google yourself? http://en.wikipedia.org/wiki/X86_virtualization http://ark.intel.com/Products/VirtualizationTechnology Mar 12 19:41:37 ^ Mar 12 19:41:45 that genetic engineering is at the level that it could be done at that small of a scale... Mar 12 19:41:54 my quad core i5 appears to sup[port it, thanks Mar 12 19:42:03 you can probably verify if you have it enabled or not via cpu-z. Mar 12 19:42:07 but I suppose it is turned off by default Mar 12 19:42:35 mantas322: it probably is.. i think its now enabled by default on newer bios's Mar 12 19:43:05 mantas322: if you dont have an option to turn it on.. you might need to update your bios Mar 12 19:43:37 mantas322: http://www.sysprobs.com/disable-enable-virtualization-technology-bios Mar 12 19:43:55 Gotya. I will do all this whenst i return to the home. Mar 12 19:44:04 thank you very much moter8 napalm and others. Mar 12 19:44:08 I appreciate the help Mar 12 19:48:17 How does Android "Restore" IAP? I need to know because its not working for me Mar 12 19:49:21 the spritz sucks Mar 12 19:54:35 is there a tutorial for PathMotion somewhere? Mar 12 19:54:56 nvm Mar 12 20:05:48 Google Drive : how can i get the folder ID that i create i am using result.getDriveFolder().getDriveId().getResourceId(); but its returning me null every time is there any other method ? i want that id so i can create a file if in .. Mar 12 20:07:54 What is the Matrix testing about? is it worth doing? Mar 12 20:23:32 helloo anyone there? Mar 12 20:26:32 Does Android Runtime (ART) support reflection? Mar 12 20:26:35 Doesn't AOT usually ont? Mar 12 20:27:11 ART supports reflection, but it is "slow" Mar 12 20:29:59 So it's not done "ahead of time" ? Mar 12 20:30:32 how could reflection be done ahead of time Mar 12 20:30:49 desmin88, by calling it linking? :P Mar 12 20:30:54 haha Mar 12 20:31:06 I htink he's trying to say that reflection is programmatic so you'd have to actually run it Mar 12 20:31:13 yes, he is Mar 12 20:31:28 i am Mar 12 20:31:29 or else parse the fact that I'm trying to do something and figure it out, like look upa method by a name, but that name might be non-constant Mar 12 20:31:32 which woudl make it impossible. Mar 12 20:31:50 So that's why it wasn't a very good question I asked. Mar 12 20:31:51 i was attempting to be amusing, a thing at which i have failed. Mar 12 20:32:20 isnt that what a compiler does? parse the code before hand? Mar 12 20:32:30 you'd have toa ctually RUN it though now tat I thina kbout it Mar 12 20:32:33 look at it thsi way: Mar 12 20:32:33 reflection, by design, is runtime Mar 12 20:32:58 String whatMethod = args[0]; Method m = someClassReflected.something.x.y.x.findMethod( whatMethod ); Mar 12 20:33:07 yeah. Mar 12 20:33:19 i am going to avoid it. I'm just trying to get rid of a table (an enum really) Mar 12 20:33:46 and you can't have an 'abstract static method' :-( because 'static' means "not defined for a specific instance" and abstract means "defined by the specific implementation" or something Mar 12 20:33:58 I gather java 1.8 has a way to accomplish this more cleanly, but I'm not going there yet Mar 12 20:34:47 I can't think of a better pattern where I have: class SpecificParser extends ParserBase .... and where I can declare public abstract static getDescr(); in the base. You can't do that. Mar 12 20:36:08 why does it need to be static Mar 12 20:39:43 just tried updating to robolectric-gradle-plugin 1.0.1, and it seems it's unable to find assertj-android when it's imported Mar 12 20:39:52 has anyone else come across that? Mar 12 20:40:51 It has to be static because I don't want to create a dummy object just to ask it what its description or other metadata is Mar 12 20:41:00 each class says "I know how to process frame type 1" or "2" or "3" etc Mar 12 20:42:09 I can't think of another way to do this Mar 12 20:42:12 why would a baseparser know how to process any frame at all Mar 12 20:42:22 it should be the specific parser that has the implementation Mar 12 20:42:52 let me push then I can show you Mar 12 20:43:07 ok Mar 12 20:43:54 Napalm, turns out I was theming the toolbar incorrectly, it not correctly has solid white icons Mar 12 20:44:00 now* Mar 12 20:44:14 you forgot your app:theme and app:popupTheme Mar 12 20:44:17 tut tut Mar 12 20:44:37 yup lol Mar 12 20:44:48 https://github.com/wz2b/xbee-api-java/blob/master/src/main/java/com/autofrog/xbee/api/parsers/XbeeRootParser.java Mar 12 20:45:15 What that does is looks at this enum https://github.com/wz2b/xbee-api-java/blob/master/src/main/java/com/autofrog/xbee/api/protocol/XbeeMessageType.java Mar 12 20:45:30 It pulls out of that enum a frameType, the parser itself, and the name of the ojbect it generates Mar 12 20:45:59 That root parser loads all the enum values and puts them into a map so when it sees frametype=0x91 it knows that it is an explicit RX message, so it calls the right parser and generates the right object Mar 12 20:46:24 so what I would really like is to totally ditch that enum, and make the XbeeBaseParser contract demand that all frame-specific parser provide that metadata Mar 12 20:46:51 The trouble is, the only way I can figure out how to do that other than the separate enum/table would be reflection, and I'd rather avoid reflection Mar 12 20:47:31 awesome. I just found out that my talk at DroidCon will be at the same time as Jesse Wilson... Mar 12 20:47:42 I'm sure my mom will be in the audience at least... Mar 12 20:47:50 whats your talk about Mar 12 20:49:17 CanyonMan: that right there is complimacated Mar 12 20:49:17 Spannables. I think it's a great subject! Mar 12 20:49:34 They're not talked about enough Mar 12 20:50:00 spannables are pretty great Mar 12 20:50:15 it's disappointing that the sdk doesn't have a good way to format spannables Mar 12 20:52:01 What looks complicated about it? Just my crazy ass enum? Mar 12 20:52:31 who's jesse wilson Mar 12 20:52:33 in the context of Dagger, what actually happens when .inject() is executed? Mar 12 20:55:15 swank jesse ! Mar 12 20:56:41 CanyonMan cool, you are working with xbee ? Mar 12 20:56:57 jesse's such a square Mar 12 20:57:15 g00s: yeah Mar 12 20:57:25 g00s: and the libraries that are out there right now have terrible, terrible licenses Mar 12 20:57:38 CanyonMan nice! um, yeah xbee and licenses ... Mar 12 20:57:40 g00s: so what I am doing first is making an xbee parser that just parses xbee messages and has nothing to do with zigbee itself Mar 12 20:57:54 because zigbee licenses are really the problem, zigbee is really still incompatible with open source Mar 12 20:57:57 CanyonMan i've used ragel for a bunch of that kind of thing Mar 12 20:58:03 I have a kind of spotlight gradient as a product requirment for the background / toolbar. right now we are just tragetting phones, is it better to just use a png or try and recreate it with a drawable? Mar 12 20:58:22 CanyonMan what kind of device? make it yourself or off the shelf ? Mar 12 20:58:25 so I probably won't be comfortable open sourcing any of the actual ZDO/ZCL work Mar 12 20:58:57 I have a bunch of zigbee programmable and non programmable modules made by digi.com ... they are just little 1" x 1.25" or so plug-in boards, I have them plugged into a variety of little adapters and widgets. One of them is this: Mar 12 20:59:57 CanyonMan what phone has xbee though ? Mar 12 21:00:06 hey guys: question here! I'm trying to set a custom view on the dialog (https://github.com/afollestad/material-dialogs) with the "customView" method. the "Viewholder" class which contains the configs/listerners to the View is just passing fine on compilation. but get this error http://pastebin.com/2tUSLNeC on runtime. Mar 12 21:00:16 worry Mar 12 21:00:16 https://www.sparkfun.com/products/12081 Mar 12 21:00:24 so i have a board kinda like that, plugged into one of these Mar 12 21:00:42 http://www.mouser.com/images/microsites/Digi_International_XBP9B.jpg Mar 12 21:01:00 that transmits my outdoor temp, humidity, light, and barameter using a ZCL "Attributes Report" command every 10 seconds, which I'm picking up in my house. Mar 12 21:01:08 I don't know of a single phone that has zigbee in it HOWEVER Mar 12 21:02:12 CanyonMan did you see the new TI SensorTag ? Mar 12 21:02:14 http://goo.gl/ZL71w6 Mar 12 21:02:16 check that out Mar 12 21:02:20 it's pricey Mar 12 21:02:36 I saw this one on kickstarter the other day - sounds pretty interesting: https://www.kickstarter.com/projects/sparkdevices/spark-electron-cellular-dev-kit-with-a-simple-data Mar 12 21:02:45 anyway here's the thing, this library I'm making is meant to be totally agnostic to the serial port. Your interface is you get bytes, and you call myParser.bytesIn( buf ) Mar 12 21:02:51 a cheap board with cellular connectively Mar 12 21:02:54 it has a TI CC2530 sz1 Module Mar 12 21:03:05 that was one of my other complaitns about all the existing stupid libraries out there Mar 12 21:03:09 connectivity* Mar 12 21:03:35 JesusFreke thanks, bookmarking that Mar 12 21:04:17 CanyonMan thats kinda why ble took off on mobile; impl is super cheap, no licensing Mar 12 21:04:30 i guess Mar 12 21:04:32 although zigbee might be capable of interesting topology Mar 12 21:04:35 you still have to pay for that to use it though right Mar 12 21:04:41 nope Mar 12 21:04:45 to use the logos ? Mar 12 21:05:15 i kind of am of the belief that if anybody really cared about any of this licensing stuff (from a commercial perspective) the world would be IP6LoWPAN Mar 12 21:05:19 which is really not bad Mar 12 21:05:29 abara: can you send me your MaterialDialog builder code? Mar 12 21:05:31 but the thign is zigbee is far simpler, and to be real zigbee and join the consortium is $2500 I think Mar 12 21:05:31 hmmm. not so sure about the logos. the nRF51822 is like $2. you can get a FCC qualified radio like a bluegiga and not have to worry about anythng at all Mar 12 21:05:54 yeah, even i'm signed up with BLE sig :D Mar 12 21:06:05 thebaer: y. give a sec Mar 12 21:06:53 abara: ? Mar 12 21:06:58 thebaer: http://pastebin.com/1HNDxR0u Mar 12 21:07:03 What would be the best way to detect in my UI when database upgrade changes are done? I've got some lengthy upgrades for my next version, and I'd like to just block the UI with a progress or something until the onUpgrade finishes. Mar 12 21:07:07 theblang: http://pastebin.com/1HNDxR0u Mar 12 21:07:10 thebaer: sorry Mar 12 21:07:32 abara no problem Mar 12 21:08:47 abara: could you format it a little better, haha Mar 12 21:09:04 abara: try gist maybe Mar 12 21:09:48 theblang: there is a button to remove text wrapping on pastebin Mar 12 21:10:06 bellow avatar's photo Mar 12 21:10:09 Weird how pastebin uses word wrapping. Who would want code to auto-wrap? Mar 12 21:10:28 desmin88: like a full day late, but: fabric.io has/is crashlytics, plus others. the android studio plugin even uses the same namespace :( it's good. Mar 12 21:10:29 TacticalJoke: seriously Mar 12 21:12:00 I have made a custom view, which inherits from LinearLayout. I can add it to a "normal" screen, and everything is great. However, if im adding it as part of a listview cell, it refuses to properly inflate to its full width (even in the interface designer tool). Its stuck as something that looks like "wrap_content", even though it really really shouldnt be (and isnt, outside of a listview): https://bpaste.net/show/77cca8cdee5c Mar 12 21:12:15 abara: what is DialogPickingDiagnostico Mar 12 21:12:37 liefer: is your listview horizontal? Mar 12 21:12:50 groxx: no Mar 12 21:12:57 regular boring listview Mar 12 21:13:19 theblang: my bad. this is the first custom view i maded. there is another line below that (commented) Mar 12 21:13:34 liefer: are you inflating it like `view = inflator.inflate(R.layout.the_listview, null)` ? Mar 12 21:13:39 that line the one who builds the view with viewPager Mar 12 21:14:09 liefer: specifically the null second param Mar 12 21:14:14 Does anyone know if the toolbar will push over views inside it when there is navigation icon present? Mar 12 21:14:46 abara: What type is DialogViewDiagnosticoDetails, and where are you calling that setup function Mar 12 21:15:35 groxx: no. Im using a CursorAdapter, in which i override "newView()" and return my view with: "LayoutInflater.from(context).inflate(R.layout.my_cell, parent, false);" Mar 12 21:15:46 Is there any kind of event I can listen for to tell when SQLite's onUpgrade is done? Mar 12 21:16:10 lasserix_ toolbar does watever the eff it wants to :) Mar 12 21:16:30 liefer: good. though hm. not sure what it could be. pastebin some relevant code/xml maybe? Mar 12 21:16:47 theblang onUpgrade completes the method? Mar 12 21:16:48 theblang: specifically onUpgrade? or just "database is ready"? Mar 12 21:17:25 groxx: i think my first sentence might have been cut off, sorry :) Here is the xml (again :P): https://bpaste.net/show/77cca8cdee5c Mar 12 21:17:35 theblang: you need to do the upgrade in a seperate thread, then just do Handler h = new Handler(Looper.getMainLooper()); h.post(new Runnable{ //whatever } } when its done Mar 12 21:17:43 CanyonMan reading the review about that shield ... Mar 12 21:17:50 I don't use it as a shield btw Mar 12 21:17:52 are you going to protect it somehow ? Mar 12 21:17:53 I"m just tying into it Mar 12 21:17:55 liefer: ah, sorry, missed that :) reading Mar 12 21:18:00 I hate arduino a lot. Mar 12 21:18:02 A real lot. Mar 12 21:18:18 groxx: appreciate it, thanks Mar 12 21:18:20 groxx, lasserix_ When onUpgrade completes its method, or database is ready. Basically I need to do upgrades / migrations that will take a bit, but is critical to certain pages of the app, so I want to block with a progress or something until onUpgrade is finished. Mar 12 21:18:28 I like the little atmel processors that are on those boards though so what I do is I buy various boards then use the atmel gcc comppiler to target them, and it works great Mar 12 21:18:36 anyway I've got it in a box facing down Mar 12 21:18:50 liefer: the way you have the cell set up is your custom view will only fill remaiing space Mar 12 21:18:51 so it won't last forever but I've gotten a few years out of it arleady, minej's the v2 so it's much older Mar 12 21:19:14 CanyonMan seriously, take a look at the TI CC2650, unless you really have your heart set on xbee Mar 12 21:19:32 you can get that with xbee too so Mar 12 21:19:32 theblang: yeah so just have a async callback when onUpdgrade() finishes that sets a flag or whatever Mar 12 21:19:39 g00s: if you're interested in this weather stuff, though, I also boughtg one of theses: http://goo.gl/5wRRhd and integrated an xbee programmable into that too Mar 12 21:19:48 lasserix_: yes. When i open the designer, it looks as if the rectangle/container/space allocated for MyCustomView is correct, but the *actual* graphics being drawn for MyCustomView does not fill up the entire space allocated for it Mar 12 21:19:50 the program i wrote for the xbee programmable just counts the pulses and reports back rain Mar 12 21:20:04 that would go unused in AZ :D Mar 12 21:20:09 lasserix_: open the designer for the cell, that is Mar 12 21:20:11 lasserix_: Yeah, but I need to be able to dismiss the progress in the UI when it is done Mar 12 21:20:15 liefer post screenshots/ or the class Mar 12 21:20:16 I could come over and spill beer in it Mar 12 21:20:19 no wait, that would waste beer Mar 12 21:20:46 liefer: I've never tried that before, but I'm going to guess it's because the cell's parent linearlayout is horizontal + you have a weight, which is ultimately controlling its width. do you want the custom view to use wrap_content + all the other views to divide the space? Mar 12 21:20:50 theblang: umm yeah so have two callbacks, one when onupGrade starts and another when onUpgrade finishes Mar 12 21:21:01 just have them change a boolean Mar 12 21:21:06 check that boolean when you open the pages Mar 12 21:21:19 groxx: i want the custom view to use the remaining available space Mar 12 21:21:27 lasserix_: Ahh, right, so I can just use my Application context to create the blocking progress indicator, then dismiss it when done? Mar 12 21:21:31 with the other views having a fixed size Mar 12 21:21:33 your pages can register for changes to the boolean, so if one is current, then it can autoupdate Mar 12 21:21:38 theblang: sure that works Mar 12 21:21:39 lasserix_: I wasn't thinking about being able to run stuff on the UI thread in the SQLiteHelper Mar 12 21:21:49 yeah you probably shouldnt Mar 12 21:22:02 lasserix_: What would the other option be though Mar 12 21:22:15 I've got to bbiab .. but I can tell you more about my project later if you want. :-) The android impl for now is going to be zigbee messages encapsulated in IP (wifi) ..... for now Mar 12 21:22:17 ? Mar 12 21:22:26 liefer: what does it look like now? something like a row: [custom, fixed, fixed, ....blank space....] ? Mar 12 21:22:29 lasserix_: Like, how else would I spawn and dismiss a blocking progress Mar 12 21:22:33 CanyonMan cool, i'd like to hear about it - have to run also Mar 12 21:22:45 theblang: ultimatly you will have a callback, probably two. there is no other way Mar 12 21:22:52 the question is how you want this to work Mar 12 21:22:59 ie how to implement the callback details Mar 12 21:23:31 if you have an app class already you can just put a flag in there, then make in your screens that require this, register in your app class onAttached and unregister onDetached Mar 12 21:23:42 that registered will update if the screen is active Mar 12 21:24:55 lasserix_: Yeah, but I was hoping to just block on startup until the updates / migrations are complete Mar 12 21:25:27 lasserix_: groxx: Screenshot of the cell is here: http://i.imgur.com/uHqXH4j.png . The selected (blue rectangle) is MyCustomView in the cell, highlighted by the interface designer in android studio Mar 12 21:25:52 lasserix_: In my sqlitehelper I could just run create progress and dismiss progress on the UI thread. That wouldn't be too bad would it? Mar 12 21:26:00 lasserix_: I'm causing the upgrade to happen in my app class Mar 12 21:26:09 lasserix_: So I should have app context at that point Mar 12 21:26:46 liefer: ah, and I assume its contents should fill the full width? Mar 12 21:26:52 theblang: you shouldn't do that Mar 12 21:26:52 full/remaining Mar 12 21:26:56 or at least implement a fun game Mar 12 21:26:57 groxx: yeah Mar 12 21:27:08 but please dont make your users unable to do anything in your app Mar 12 21:27:44 theblang: no that would work two, but again it just comes down to two callbacks however you want to do it Mar 12 21:28:01 in reality you probably dont want a database object playing with your UI but Mar 12 21:28:06 its up to you Mar 12 21:28:42 what resolution do you guys design at? since there is QHD, FHD, HD, SD phones of all screen sizes what is the best? Mar 12 21:30:21 liefer: fwiw since the rectangle suggests it is actually filling the space, I'd suspect you're doing something to make the layout behavior wrong. is it relevant that, since the parent layout has a weight, it may be running multiple layout passes to determine how to fit things? you may be saving the measurements from one and assuming it's the final size Mar 12 21:30:24 KingMe: all Mar 12 21:30:31 liefer: though the layout preview isn't flawless. Mar 12 21:30:55 I would expect it to be fine here, but can't claim that it is with 100% confidence. Mar 12 21:31:37 groxx: the layout preview in the designer is the same as what i experience on an actual device. Actually, the width is different for pretty much all elements of the list, but it never fills its width. Mar 12 21:31:54 odd Mar 12 21:32:04 any custom layout code in your view? Mar 12 21:32:11 or measurement Mar 12 21:32:17 eg do you override onMeasure/onLayout etc? Mar 12 21:32:36 I dont, no. I tried overriding onMeasure, but with no luck Mar 12 21:32:58 Im inheriting from LinearLayout and was hoping i would skip it Mar 12 21:33:45 yeah as long as you want it to behave like a linear layout you dont have to worry about overriding those Mar 12 21:33:53 can you show your code that adds the cells? Mar 12 21:34:11 hang on Mar 12 21:35:55 I got a "ReadTimeout" problem on my ap, with OkHttp, randomly (~75%), the app will time out on ReadTimeout on all my request. But if the first one works, all the other will work... I don't think it's a server issue, I don't have any problem when I use my browser. Both my phone and desktop are on the same Wifi spot. I don't know how to debug it :( Mar 12 21:37:02 also, hopefully someone else has a suggestion here, but I haven't figured out a sane way to build custom views with subviews with a blend of xml and code. could you be ending up with something like [customview [ the xml file ] ] when you intend to have [custom view [ the children in the xml file, but not the top-level linearlayout ] ] ? Mar 12 21:37:56 huh Mar 12 21:38:00 groxx, I don't follow Mar 12 21:38:08 what do you mean blend xml and code? Mar 12 21:39:07 Mavrik: like if you make a subclass of linearlayout, and want it to have default child views, and you want to define them in xml for simplicity, what do you put in the xml file and how / when do you inflate it, when you want to support creating the view from both xml and code? Mar 12 21:39:52 lasserix_: my adapter: https://bpaste.net/show/1e8b1a036f25 Mar 12 21:40:14 groxx, probably just call layoutinflater, inflate them without attaching to parent Mar 12 21:40:15 then addChild() Mar 12 21:40:27 Mavrik: to build off liefer's example ( https://bpaste.net/show/77cca8cdee5c ), I imagine that would result in [custom_linear_layout [ xml_root_linear_layout [ etc ] ] when odds are the root linear layout isn't desired. Mar 12 21:40:49 groxx, it's exactly how you do ListView cells :) Mar 12 21:40:57 Mavrik: in constructor or onFinishInflate? or elsehwere? Mar 12 21:41:46 constructor seems reasonable Mar 12 21:42:37 not intending to nitpick, but "seems" or "is"? have you done it, and it has worked, or does it have annoyances further down the line? Mar 12 21:43:11 I have different usecases than you. Mar 12 21:43:14 I inflate them later. Mar 12 21:43:28 groxx, ViewGroup.java is what you should look at when having those questions. Mar 12 21:43:47 I don't remember all what i had problems with in the past, but I do remember having annoyances with layout params not existing when I expected, and I think findViewById annoyances. didn't have time to tackle it at the time and just worked around it. Mar 12 21:43:47 groxx: you define your class you make a xml file with default children, use private init (from (context) , (context, attrs..) etc) to inflate(R.layout.default, this) Mar 12 21:43:53 also depends how do you want to handle having children in XML or not Mar 12 21:44:29 Mavrik: like ? Mar 12 21:44:39 lasserix_: did you find what you needed in my adapter? Mar 12 21:44:41 and yeah, that's part of my curiosity too :) Mar 12 21:45:11 nearly all the tutorials I see assume no subviews or you build it all in code once you make a custom view. Mar 12 21:45:31 but maybe I've just missed some. and I'll check out viewgroup soon, thanks Mar 12 21:45:41 groxx, well, ViewGroup is what you're building if you have childviews Mar 12 21:45:51 not a View Mar 12 21:46:08 groxx, onFinishInflate will give you inflated children already added Mar 12 21:46:19 if you're pulling that from com.custom.View, ignore it - just a name. assume it's a linearlayout subclass or something. Mar 12 21:46:28 pulling what? Mar 12 21:46:35 I'm telling you, that ViewGroups have children. Mar 12 21:46:41 yeah, I know Mar 12 21:46:55 Views can't. Mar 12 21:47:51 I mean that the fact that you're telling me that ViewGroup can have children implies you've inferred that I didn't know that, probably from something I typed recently :) I'm aware of it. Mar 12 21:54:44 any idea about my timeout problem with okhttp ? Mar 12 21:55:05 liefer try using AbsListView.LayoutParams to give MATCHPARENT WRAPCONTENT to your cell rows Mar 12 21:55:43 when im inflating the cell in my adapter or...? Mar 12 21:58:45 lasserix_: im really thinking that the adapter is fine, since im even seeing the issue in the interface designer Mar 12 21:58:51 long before ever running the adapter code Mar 12 21:59:04 i feel like its something with the xml... Mar 12 22:05:23 im dynamically building preferences by pulling stuff from an api. i am creating the headers and adding them in onBuilderHeaders. the preference fragments are parameterised by an id that is past to them. When i try add the preferences by this.getPreferenceScreen().addPreference... i get a null reference for the preference screen. this is happening in onViewCreated. any ideas? Mar 12 22:08:34 how many developers here use a chromebook as their OS? Mar 12 22:08:39 for developing* Mar 12 22:10:44 can you even use chrome os for things like that? I've only seen a couple, but they don't look too versatile. Mar 12 22:12:12 I'm pretty sure you can't at least not without something like https://github.com/dnschneid/crouton Mar 12 22:24:19 Alright, tiem to implement GCM notifications in my app now... anything I should pay special attention to? Any tips? Mar 12 22:26:17 t0astt: https://blog.pushbullet.com/2014/02/12/keeping-google-cloud-messaging-for-android-working-reliably-techincal-post/ has a bunch of interesting / useful info, especially if you really-highly value reliability (but not enough to run your own system) Mar 12 22:26:45 Thanks groxx, I'm giving it a read Mar 12 22:27:44 t0astt: also, personally, I'd recommend sending the gcm token pretty much continuously. google will occasionally tell you that a token is invalid (i.e. the user uninstalled, which means it'll never be used again), when it is in fact still functional. since you can't trust the responses, but you also can't behave any better, we just delete ones marked as Mar 12 22:27:44 invalid and then treat the new sync as a "new token" and continue trying. works pretty well. Mar 12 22:28:37 if you want / need to be more conservative, just get the token semi-frequently, and only send it to your server if it has changed. there are some edge cases there too, but they're rare enough that they may not be worth worrying about. Mar 12 22:29:10 fwiw, afaik google makes no claim that a token will stay the same for any length of time. so assume that it could change at any time, though it mostly doesn't. Mar 12 22:31:38 Is there any material design intent chooser dialog out there? Mar 12 22:39:03 so guys you all remember how you were mocking me yesterday for not being in android studio? then guess what i'm in android studio now. so HELP ME WRITE THE TESTING!!! Mar 12 22:39:34 but i dont wanna Mar 12 22:40:32 what would make an okhttp request super long ? (and not its equivalant with curl or a browser) Mar 12 22:43:12 blusky: hey Mar 12 22:43:27 blusky: did you try the browser on the device? or curl from a terminal emulator Mar 12 22:43:43 Napalm: trying it now Mar 12 22:44:32 Napalm: as fast as on desktop Mar 12 22:44:43 it's juste from the app Mar 12 22:44:48 and it's random Mar 12 22:44:57 do you have debugging turned on? Mar 12 22:44:59 but if one is good, all the other are Mar 12 22:45:02 probably Mar 12 22:45:09 turn it off Mar 12 22:45:24 i mean on okhttp Mar 12 22:45:29 oh, no Mar 12 22:45:31 no debug on http Mar 12 22:45:38 (If it's default setting) Mar 12 22:47:27 Nick-S: What are you stuck on? Mar 12 22:47:51 i am unsure which way to go Mar 12 22:48:40 according to this : http://developer.android.com/tools/testing-support-library/index.html there are many ways to go Mar 12 22:49:55 blusky: i had the same problem the other day. I've not got around to working out the cause Mar 12 22:50:23 it's horrible... :D Mar 12 22:50:30 blusky: the same request some of the time would take 30 seconds compared to normally milliseconds.. tested on device and others works fine Mar 12 22:50:46 blusky: what version of Android? Mar 12 22:50:54 oh, on my device (nexus 5) and genymotion, I got the same behaviour Mar 12 22:51:03 interesting Mar 12 22:51:08 sometime, ms (20%), sometime 30s (80%) Mar 12 22:51:16 ok good Mar 12 22:51:19 but when is in 200ms, all other request are fine Mar 12 22:51:23 at least its repeatable Mar 12 22:51:56 i'm wondering if it's a cache, or something related Mar 12 22:52:32 cause I got a "tail -f access.log" on server side, and request are not sent imediately Mar 12 22:52:44 and I don't have any "connectionTimeOut" Mar 12 22:52:55 it's a readTimeOut that I have Mar 12 22:53:02 interesting Mar 12 22:53:19 JakeWharton: you reading this ^ Mar 12 22:53:43 (im using okhttp 2.1.0) Mar 12 22:54:07 (cause 2.2 won't send a "content-length" on my uploads requests) Mar 12 22:59:34 Napalm: and it's the same behaviour with wifi or lte Mar 12 23:01:53 Napalm: up to 1min30 for the same request Mar 12 23:06:52 Napalm: no Mar 12 23:07:03 :) Mar 12 23:07:45 both myself and blusky are getting intermittent long request times out of okhttp Mar 12 23:08:02 30seconds+ Mar 12 23:10:34 The socket issues timeouts Mar 12 23:10:42 What's the trace? Mar 12 23:10:56 Driving will look soon Mar 12 23:11:06 irc while driving Mar 12 23:11:09 ok will get you more details Mar 12 23:11:11 how does that work Mar 12 23:11:21 pfn's excellent app Mar 12 23:11:48 which is Mar 12 23:12:50 00:10 < JakeWharton> What's the trace? <--- OkHttp trace ? Mar 12 23:12:58 how to get them ? Mar 12 23:14:15 No, IRC Cloud Mar 12 23:14:19 Much better Mar 12 23:15:11 google code is shutting down Mar 12 23:15:11 wat Mar 12 23:15:34 OK, so this sounds like a long shot, but does anyone have any idea where to find an ICS rom for an N5? lmao Mar 12 23:15:44 why Mar 12 23:16:17 desmin88: Have you ever seen a Google Code project? Mar 12 23:16:51 yes Mar 12 23:17:02 JakeWharton: I don't have trace, I just have a request that may last from 200ms (20% of time), or up to 1min30 (80% of time), it's not a server issue, it's working fine on desktop or device's browser. I tried to make 10s for connecTimeOut, writeTimeOut and readTimeOut, it's a readTimeOut Mar 12 23:17:29 How do you know it's a timeout if there's no exception? Mar 12 23:17:30 http://pastebin.com/qQNsKtAT Mar 12 23:17:36 here's what my logs look like Mar 12 23:17:44 wut? Mar 12 23:17:52 03-13 00:00:04.263 is the time where the request is sent Mar 12 23:18:07 03-13 00:01:39.82 is the response received Mar 12 23:18:08 pfn: whats your IRC app Mar 12 23:18:13 qicr Mar 12 23:18:49 desmin88: there you go https://play.google.com/store/apps/details?id=com.hanhuy.android.irc.lite Mar 12 23:19:05 thanks Mar 12 23:21:08 blusky: whats that log suppose to show? Mar 12 23:21:47 I dunno Mar 12 23:21:53 I don't have any other trace Mar 12 23:22:21 maybe there's something here that I don't see Mar 12 23:23:05 desmin88, testing Mar 12 23:26:18 I even installed stetho for that :D Mar 12 23:26:26 but it's showing nothing interesting Mar 12 23:35:58 blusky: pastebin the snippets of code that you use to create your OkHttpClient and make your request Mar 12 23:39:20 Napalm: http://pastebin.com/DDDZAdw8 Mar 12 23:39:31 (singleton pattern) Mar 12 23:42:52 Anyone installed AS in linux? Mar 12 23:43:28 yes Mar 12 23:43:49 Ok, I just got linux Mar 12 23:43:54 Just learning how to install things Mar 12 23:44:24 oh dear, it's a long road for you Mar 12 23:44:46 and painful Mar 12 23:44:52 oh and never ever update your OS Mar 12 23:45:05 Afzal: ? Mar 12 23:45:11 linux Mar 12 23:45:35 it's easier to upgrade any package on linux, than any soft on windows Mar 12 23:46:03 things never broke for you when you updated from, say Ubuntu 10.04 to Ubuntu 10.10? Mar 12 23:47:04 Afzal: dist-upgrade may need some works... but have you tried to update win XP to win vista ? :D Mar 12 23:47:13 well, clearly off topic Mar 12 23:47:20 I dunno man, win 8 to 8.1 was pretty seamless Mar 12 23:47:21 :p Mar 12 23:47:30 Is it OK to store a GCM registration ID in my database? Mar 12 23:47:38 yeah w/e, I was just commenting on drose379's upcoming problems Mar 12 23:48:13 Napalm: anything interesting ? :/ Mar 12 23:48:37 i'll let you know when I know.. just debugging some things my-side Mar 12 23:49:46 oki :) thx Mar 12 23:57:01 blusky: 03-12 23:56:38.416: D/Retrofit(16764): <--- HTTP 200 http://some/rest/api (63646ms) Mar 12 23:57:25 So your connection is just slow... Mar 12 23:57:33 nope, Mar 12 23:57:37 nope Mar 12 23:57:52 everything else is fine.. tested.. i think its a threading issue Mar 12 23:58:01 Then your server is slow Mar 12 23:58:03 nope Mar 12 23:58:07 it's only on my app. With desktop or browser's device, it's fine Mar 12 23:58:16 tested locally using curl whilst the app was waiting Mar 12 23:58:20 responded immediately Mar 12 23:58:48 same behaviour when the app is launched using wify or LTE Mar 12 23:58:56 Napalm: what's your okhttp version ? Mar 12 23:59:03 2.0 Mar 12 23:59:15 Use 2.2 Mar 12 23:59:30 I got 2.1 Mar 12 23:59:56 (can't use 2.2, when uploading files, Content-length isn't present in the request with 2.2, but it is with 2.1) Mar 13 00:00:01 Reporting and issue and not using the latest version? No wai! Mar 13 00:00:05 s/and/an/ Mar 13 00:01:10 i think its a pipelining issue Mar 13 00:01:19 one request is holding up another Mar 13 00:04:03 Hey, my app is showing up in one phone's launcher as the Main Activity's title and on another phone as the short name I have set: http://hastebin.com/ujesukapug.xml Mar 13 00:04:55 My Nexus 5 (5.1) is showing it as title_activity_main but my Galaxy Nexus (4.3) is showing it as app_name_short Mar 13 00:05:43 idea? Mar 13 00:06:15 JakeWharton, Napalm: same behaviour with okhttp 2.2.0 Mar 13 00:06:16 setting the launcher icon name in the intent filter is the fix from here: http://stackoverflow.com/questions/17192585/cannot-set-different-icon-label-to-application-and-launcher-activity-from-manife Mar 13 00:08:38 Its the keep-alive on the connect and the fact the response does not have a Content-Length.. i believe Mar 13 00:10:10 its very weird.. only happens on the first connection Mar 13 00:10:13 03-13 00:09:39.369: D/Retrofit(17818): <--- END HTTP (-1-byte body) Mar 13 00:10:18 that cant be right? Mar 13 00:10:38 ok, time to update to OkHttp 2.2 Mar 13 00:10:45 Are you on old Retrofit as well? Mar 13 00:10:58 possibly.. just going to update that aswell Mar 13 00:11:04 Q Mar 13 00:11:11 1.9.0 is latest Mar 13 00:11:23 1.6.1 Mar 13 00:11:30 update time :) Mar 13 00:14:10 ok, i think its time to convert this project to AS Mar 13 00:14:12 god help me Mar 13 00:15:43 01:08 < Napalm> Its the keep-alive on the connect and the fact the response does not have a Content-Length.. i believe Mar 13 00:16:02 is it a server side or client side issue ? Mar 13 00:18:04 blusky: just going to proxy the connect and see what happens Mar 13 00:31:06 Hey. Mar 13 00:31:30 My TextView's textColor selector, specified by @style, isn't working. Not sure if that whole chain is just broken or what. Mar 13 00:32:08 color/tool_single_text.xml :: http://pastie.org/10022027 Mar 13 00:32:35 The text should be white, but it isn't.. Mar 13 00:32:59 Napalm: quick question, is the response of your server is empty ? Mar 13 00:33:11 (HTTP BODY) Mar 13 00:44:13 http://streamable.com/k52w Mar 13 00:44:22 weird issue with shared element transition Mar 13 00:44:30 Napalm: resolve it... was a server issue Mar 13 00:44:47 okhttp use "compress", not my browser, and it was mis handled Mar 13 00:45:15 if the ImageView has width = height (dp), that happens but if width is match_parent, it's fine Mar 13 00:45:18 :s weird Mar 13 00:46:37 blusky: interesting.. did you disable it on the client side? Mar 13 00:48:51 wow, Android studio just doesn't wanna open :/ Mar 13 00:50:23 Napalm: nop, I will upgrade some component server side tomorow Mar 13 00:50:29 find it using stetho Mar 13 00:50:44 and using curl to have an exact reproduction of okhttp request Mar 13 00:50:54 (using --compress) Mar 13 00:52:50 I've fired up my apk and launched my first app with ads, it'll appear here: https://play.google.com/store/apps/details?id=ie.appz.playbackstarter later Mar 13 00:55:07 Napalm: the Content-Length thing is fixed on 2.3.0-SNAPSHOT, FYI Mar 13 00:55:43 OkHttp Mar 13 01:05:33 Goodnight folks! Mar 13 01:06:48 hm. anyone know if a Canvas can be safely drawn into off the main thread? (single-threaded instantiation and use, on a single background thread, to be clear) Mar 13 01:07:53 wow, google code is getting shut down Mar 13 01:07:57 that's very surprising Mar 13 01:08:05 even though it sucks vs other hosting things these days Mar 13 01:09:29 yea I notice them transffering all there code to github so I knew it was happening Mar 13 01:11:27 their Mar 13 01:11:53 pfn, It's not really that surprising when you look at all the project google started and shut down Mar 13 01:12:12 http://www.slate.com/articles/technology/map_of_the_week/2013/03/google_reader_joins_graveyard_of_dead_google_products.html Mar 13 01:12:18 projects Mar 13 01:12:25 http://google-opensource.blogspot.co.uk/2015/03/farewell-to-google-code.html Mar 13 01:13:51 Hey all, I have a quick question regarding gradle product flavors. Mar 13 01:14:14 I'm defining a variable 'appLabel' at the top of my build.gradle file: Mar 13 01:14:33 def appLabel = '' Mar 13 01:14:42 And then attempting to modify this variable per flavor Mar 13 01:15:21 productFlavors { flavor1 { appLabel = 'Flavor1Name" }} flavor 2 {appLabel = "Flavor2Name" }} Mar 13 01:15:37 it doesn't work like that Mar 13 01:16:05 But it seems that regardless of which build variant I use, the app label is always 'Flavor2Name' Mar 13 01:16:13 Yeah, I figured. Mar 13 01:16:19 the file is evaluated top to bottom Mar 13 01:16:22 So my question is: How does it work? Mar 13 01:16:23 so the last one wins Mar 13 01:16:33 Yeah Mar 13 01:16:51 what are you trying to do? Mar 13 01:17:13 I want to set this global variable to a given name, on a 'per flavor' basis Mar 13 01:17:31 to use where? Mar 13 01:17:57 In another gradle task Mar 13 01:18:24 Sorry, I'm avoiding pasting large chunks of useless code. Mar 13 01:18:58 I have a gradle method which automatically applies a versionCode based on the git commit count, and also provides a mac os notification, which includes the 'appLabel' variale Mar 13 01:19:00 variable* Mar 13 01:19:34 I didn't write this particular task, and it's not very useful or important, but hey my work wants to use it Mar 13 01:19:55 And they're not used to multi flavor builds, so this particular task doesn't work very well Mar 13 01:20:38 So I figure, I *could* print out the productFlavor's name instead, but I'd prefer to be able to define my own custom string per flavor, if possible. Mar 13 01:20:52 -/wall of text Mar 13 01:21:21 Any ideas? Mar 13 01:26:41 timusus: you just want to change the app's displayed name per flavor? Mar 13 01:26:56 No, I can use manifest placeholders for that. Mar 13 01:27:13 so just an arbitrary variable? Mar 13 01:27:18 Yea Mar 13 01:27:49 Maybe the answer is not to bother, it's not a big deal. I think I'll just display the name of the product flavor Mar 13 01:28:18 b/c a) looks like you can't do this, and b) it's not worth the hassle ;) Mar 13 01:28:33 I haven't tried it (and no time to do so now), but there's a ProductFlavor class / something that's accessible, and it has a "name" property / something. does that match the current product flavor being built? Mar 13 01:28:58 ah, probably not. there's also a canonicalName, so that's probably the java name of the class. Mar 13 01:29:20 I think I can access the flavor name by variant.flavorName, and that will suffice Mar 13 01:29:45 Ugh. I regret asking, feel like I wasted anyone's time who read the above! Mar 13 01:29:56 :) Mar 13 01:30:01 well, hopefully it works :) Mar 13 01:30:15 The answer is usually: Don't keep trying to find a workaround, just eliminate the issue instead. Mar 13 01:30:56 I have iOS obsessed Google haters for colleagues, so you know... gotta have the xCode style build notification Mar 13 01:31:49 heh. could one-up them by making a build notification that sends an SMS. Mar 13 01:31:54 can't do that on ios! Mar 13 01:31:55 Haha Mar 13 01:32:31 Sets of the office alarms, announces the version number over loudspeaker. Fireworks Mar 13 01:32:41 The possibilities are endless with gradle Mar 13 01:32:54 indeed Mar 13 01:33:01 with great power comes great awesome. have fun! Mar 13 01:33:08 Thanks Mar 13 01:41:23 is it common to get bitmap oom exceptions post honeycomb ? Mar 13 01:41:59 Yes, but entirely depending on what you're doing with bitmaps Mar 13 01:43:35 I am reading in a large bit map, scaling it down to proper dpi/sample size (using methods outlined in google documentation) returning the bitmap in a BitmapDrawable to be used in a fragment. in the fragments onDestroy i obtain the bitmap from the Bitmapdrawable, recycle it, set it to null, set the bitmapdrawable to null, and set the image background to null Mar 13 01:44:15 still... moving back and forth between two fragments causes oom exceptions after too many attempts Mar 13 01:44:54 So you're using inSampleSize to determine the target scale parameters before loading the bitmap? Mar 13 01:45:18 in the android device monitor it looks like the byte[] that is allocated for the bitmap is never really free'd Mar 13 01:45:20 timusus: yes Mar 13 01:45:53 OK, that's the extent of my knowledge on the subject lol Mar 13 01:46:18 timusus: :) no worries, thanks. Mar 13 01:47:39 I do find it odd though, I load reasonably large images into fragments in a viewpager. I never call recycle, or bother setting the bitmap to null, I trust the fragment to do that itself Mar 13 01:47:51 And I never have OOM's scrolling from fragment to fragment Mar 13 01:48:01 Hey, I'm not that experienced in Java, and I'm trying to port an app to another platform/language. Can anyone help me understand/simplify this code? http://pastebin.com/bs3ZJaGr Mar 13 01:50:54 timusus: so i have a 1920x1280 XXXHDPI image, I want to scale it to fit all of the other dpi properly without having assets for XXHDPI - LDPI. I use this method, http://developer.android.com/training/displaying-bitmaps/load-bitmap.html, to get the newly scaled version. In my fragment i keep the reference of the BitmapDrawable and only decodeResource if it is null (but i do clean it up onDestroy of the fragment) Mar 13 01:53:26 I'm out of my depth here. Despite having worked a lot with bitmaps, I never really know what to expect. Mar 13 01:53:36 if it were me though, I would not keep a reference to the BitmapDrawable Mar 13 01:53:47 I would decode it each time the fragment is created Mar 13 01:54:20 Perhaps 'keeping a reference' is what's causing trouble, Mar 13 01:54:50 heater89: you dont need to load at different res Mar 13 01:55:11 heater89: you want to scale down and not up.. scale down your load and let the view scale up Mar 13 01:56:17 timusus: i don't mean to keep shooting down your suggestions :) but I originally wasn't storing it and having it decode every time. storing was an attempt to only load the image when it was needed :P Mar 13 01:56:54 Napalm: I don't think i understand what you mean, if I have an xxxhdpi image and an mdpi device i shouldn't worry about scaling the image down before using it? Mar 13 01:57:19 heater89: you should scale that down Mar 13 01:57:25 heater89: just not up Mar 13 01:57:49 heater89: the you probably want to store your scaled image.. so next time you dont have to process it again Mar 13 01:57:51 It's all good man. Shooting down suggestions is basically what I do when I write code lol Mar 13 01:58:00 timusus: and yes, i do technically re-decode on fragment creation. but if it backgrounded and doesn't get destroyed, then I use references Mar 13 01:58:02 heater89: how are you loading the bitmap atm Mar 13 01:58:27 Napalm: yes this is currently what I am doing. I am storing the scaled version in the fragment as a BitmapDrawable Mar 13 01:58:39 heater89: no, i mean store it on disk Mar 13 01:59:04 I think he's saying just store a scaled down version on disk Mar 13 01:59:10 Napalm: oh i c Mar 13 01:59:12 But.. that doesn't solve the problem you're having Mar 13 01:59:19 what problem is he having? Mar 13 01:59:24 I mean.. it would, but that's not the solution you want Mar 13 01:59:36 OOM issues when switching back and forth between fragments Mar 13 02:00:02 thats probably because the fragments are on the backstack and still consume the memory Mar 13 02:00:04 due to the underlying byte[] getting created when decoding the original image Mar 13 02:00:34 Assuming you're using addToBackStack() Mar 13 02:01:05 So i have an activity that has a "main" fragment, or the fragment that is seen when it is started. from that fragment it can launch another fragment that is added to the back stack Mar 13 02:01:17 the second fragment has a full screen image that i am attempting to scale Mar 13 02:01:45 and the fragment doesn't do the launching, it calls back into the activity Mar 13 02:02:02 So when you 'switch between fragments' are you popping Fragment 2 off the backstack? Mar 13 02:02:17 heater89: so you only have 1 image ever? Mar 13 02:02:47 timusus: ... ya know this may have been my oversight. let me check that... damn if i messed that up... Mar 13 02:03:54 Can anyone help me understand/simplify this code? http://pastebin.com/bs3ZJaGr It decrypts a hash, and I'm trying to port it to a different programming language. Java goes over my head. Mar 13 02:04:10 how do i connect my android app to an oracle db Mar 13 02:04:29 Napalm: yes i only have this one image at the moment. i use the full image on the secondary fragment, and a 'slice' of the same image on the main fragment Mar 13 02:04:59 I'm gonna grab some lunch. Let me know how it goes. Mar 13 02:05:21 heater89: sounds like your not clearing the back stack when you go to the next image Mar 13 02:05:22 heater89: check the memory monitor to make sure you're not leaking something. but otherwise, android doesn't compact memory, and bitmaps require contiguous free space - if you do it enough, it'll happen no matter what. Mar 13 02:06:19 heater89: call FragmentManager.enableDebugLogging(true); in your onCreate of your Activity and you can debug whats going on Mar 13 02:06:27 Napalm, timusus: yea i think this may be my issue i'll see if that helps and let you guys know :) Mar 13 02:07:11 groxx: yes i am leaking memory. it is from the creation of the bitmap each time the fragment is created but i recycle the bitmap when the fragment is done using it Mar 13 02:14:41 Napalm, timusus, groxx: unfortunately.... popbackstack() is being called from the supportFragmentManager() Mar 13 02:19:25 heater89: can you pastebin some of your code? Mar 13 02:21:31 anyone here using MaterialNavigationDrawer? Mar 13 02:22:28 Napalm: yea 1 sec Mar 13 02:23:06 Anyone good with AES? Mar 13 02:23:51 kyrontaylor_: whats up Mar 13 02:25:01 Napalm: http://pastebin.com/zQTTM1FW Mar 13 02:25:23 Napalm, I'm new to Java, and I'm having trouble understanding some source code I'm trying to port to a different language. http://pastebin.com/raw.php?i=bs3ZJaGr Mar 13 02:26:22 heater89: i mean with regards to your fragments. Mar 13 02:26:36 kyrontaylor_: thats not original code.. its been decompiled. Mar 13 02:26:49 Napalm: getting those too, almost there :) Mar 13 02:26:56 kyrontaylor_: and the decompiler screwed it up Mar 13 02:27:05 Napalm, aww. /: Mar 13 02:28:55 kyrontaylor_: if you want anymore help you'll need the original .class file for that java class Mar 13 02:29:12 can PathMotion also have accelerate decelerate interpolators? Mar 13 02:29:55 Napalm, hmm. The original dev hasn't gotten back to me yet. xP Mar 13 02:30:03 Afzal: the transitions themselves dont have the interpolators Mar 13 02:30:21 Napalm yeah that's why I'm wondering how to apply those interpolators to them Mar 13 02:31:14 kyrontaylor_ sure he has, didn't you read: public static byte[] a = "<<<<<>>>>".getBytes(); Mar 13 02:32:38 kyrontaylor_: dont tell me that the decompiled class made its way into an app in that state! Mar 13 02:33:39 Napalm, it's not a "legit" app. It's a movie streaming app. I'm trying to port it to be used on my Media Server. Mar 13 02:33:55 Napalm: http://pastebin.com/vBZ6DBfe Mar 13 02:34:56 g00s, He hasn't. I've emailed him and tried to get a response on twitter (hasn't posted since Feb) Mar 13 02:35:56 heater89: see my PM Mar 13 02:38:26 how do i connect my android app to an oracle db Mar 13 02:38:38 you don't Mar 13 02:38:51 this is why we have webservices Mar 13 02:40:28 how can I get official support for a device? Mar 13 02:40:36 bankai_: I'll look into it. thanks Mar 13 02:40:53 ramsudharsan call 1-800-goooogle ! Mar 13 02:41:23 g00s lol okay Mar 13 02:41:39 I built AOSP 5.1 from source Mar 13 02:41:50 Just thought I can be a maintainer Mar 13 02:44:14 ah Napalm thought you were retiring, but no -- guess the night is still young ! Mar 13 02:44:32 net dropped out Mar 13 02:44:48 ISP maintenance probably Mar 13 02:46:50 kyrontaylor_, lol at trying to reverse engineering Mar 13 02:47:14 kyrontaylor_, and ask ## java, not here Mar 13 02:47:21 pfn, haha. Mar 13 02:47:29 pfn, I did, and I was directed here. Mar 13 02:47:51 that's your fault Mar 13 02:52:05 deuteros is back :) Mar 13 02:56:57 hm, the apple watch battery is replaceable. thats encouraging. is that pretty normal with the android watches ? **** ENDING LOGGING AT Fri Mar 13 02:59:59 2015