**** BEGIN LOGGING AT Wed Dec 23 02:59:58 2015 Dec 23 03:31:57 Hi, I'm having weird behavior where my listview is hard to read because all items are in white. I know I can change the text color however, when I extend baseadapter, the text is in black and when I extend ArrayAdapter it's in white. Does this make any sense to someone? Thanks! I'm using android studio 1.5.1 and api 23. Dec 23 04:02:35 it has nothing to do with what you extended Dec 23 04:02:41 it's because of your theme that you pass in Dec 23 04:02:45 or the way you inflate your layouts Dec 23 04:13:23 yes i found out that in the line LayoutInflater inflater = (LayoutInflater) context Dec 23 04:13:26 .getSystemService(Context.LAYOUT_INFLATER_SERVICE); Dec 23 04:13:55 if I pass "getApplicationContext()" to it it's white and if I pass this (the activity) its normal color Dec 23 04:14:17 as the context value Dec 23 04:15:37 not quite sure I understand why this leads to different behavior though. Dec 23 04:19:10 I have two vector drawables in green color. But pngs auto-converted from these vectors are in black Dec 23 04:19:47 vigilancer interesting Dec 23 04:19:54 why is that? gradle plugin 1.5 are color blind or something Dec 23 04:22:01 is this expected behaviour? honestly can't find any info why on earth pngs generated for pre-21 inside apk are all black Dec 23 04:26:51 Muted, because ApplicationContext does not have proper styles associated Dec 23 04:27:05 Muted, wrong context Dec 23 04:27:15 vigilancer, because all vector drawables are converted to black only Dec 23 04:27:40 if you want to color your vector drawables, you're expected to tint them after the fact Dec 23 04:27:43 otherwise, monochrome only Dec 23 04:28:37 oh no, really ? Dec 23 04:29:07 fffffuuu Dec 23 04:29:36 pfn : oh, nice catch, thanks Dec 23 04:29:47 pfn : how do you know this? Dec 23 04:29:54 because that's how it works Dec 23 04:30:56 well, yeah. I mean, google published details or you explored the code Dec 23 04:30:57 how would i go about tinting a compoundDrawable Dec 23 04:31:17 the latter Dec 23 04:31:48 g00s : first guess create with tint and refer it instead of original image Dec 23 04:32:53 g00s, you can't tint in xml Dec 23 04:32:59 g00s, so it would be all done in code Dec 23 04:33:07 not pre-21 Dec 23 04:33:08 "AppCompatTextView v23.1.0, compound drawables are automatically tinted." Dec 23 04:33:23 oh, misread, text compound drawables Dec 23 04:33:48 just found that, luckily. didn't even know there was AppCompatTextView Dec 23 04:35:02 g00s : lucky you. widgets support only limited set of views Dec 23 05:21:34 ugh, what intent starts the Keyboard & input methods screen... Dec 23 05:28:47 ACTION_INPUT_METHOD_SETTINGS Dec 23 05:28:48 oh... Dec 23 06:03:03 pfn : you have time to dig aosp, to support protify, sbt plugins, etc. I'm wondering what are you do for a living? if it's appropriate to ask Dec 23 06:12:40 I do android consulting Dec 23 06:13:29 Hi, I "SOMETIMES" get Resource not found in an activity's setContentView, stress on sometimes. The app works fine mostly but sometimes it crashes with this one, (3 times till now). Any ideas why? Dec 23 06:16:25 well when it crashes whats the error lol Dec 23 06:17:46 orbyt_: ResourceNotFoundException, as i said. Its a traceback from New Relic with most things useless except a line number which has setContentView line Dec 23 06:19:22 ah so your not observing the crash? Ive never used new relic Dec 23 06:29:46 hi all Dec 23 06:30:02 rooting question in 3...2...1... Dec 23 06:30:20 May I know, how can I work with my Logitech G27 racing wheel in android? Dec 23 06:31:59 maybe not rooting Dec 23 06:32:08 try #android or #android-root Dec 23 06:47:45 how to checkout and compile AOSP in mac.. does anybody have good tutorial Dec 23 06:48:02 with complete step by step Dec 23 06:48:20 set up vbox , install linux :D Dec 23 07:06:12 min2: Simple google search gives this: https://medium.com/@raminmahmoodi/build-android-5-0-lollipop-on-osx-10-10-yosemite-441bd00ee77a#.dfikvg6d8 Dec 23 07:16:49 anyone able to point me in the right direction of fixing this? http://pastebin.com/CSs7qiEa Dec 23 08:15:05 so little rx examples ='( Dec 23 08:15:20 hi Dec 23 08:15:26 need help Dec 23 08:15:48 i have a method to which i pass (Context c, Interface i, Activity a) Dec 23 08:16:00 is it possible to pass all them as a single argument? Dec 23 08:16:29 yes, if your parameters is an array or a class containing them Dec 23 08:16:34 but your method is very suspicious Dec 23 08:17:08 maybe i can cast activity to interface? Dec 23 08:17:18 well i need context there Dec 23 08:17:23 i need a method from interface Dec 23 08:17:34 and i need to access activity stuff like .finish Dec 23 08:18:24 i cant resolve motionEvent.getAxisValue Dec 23 08:18:33 i have minsdk set to 12 like the docs say Dec 23 08:18:38 maybe you can use a listener for that lxknvlk, read more online about how to communicate between classes, activity, etc Dec 23 08:18:51 or an intent, or many other possibilites Dec 23 08:19:04 you should not do what you are doing Dec 23 08:21:30 adq: would you happen to know why i cant seem to access MotionEvent.getAxisValue with minsdk set to 12? Dec 23 08:22:47 nope, but it's definitely api 12, try cleaning maybe and be sure your gradle config reflects minSdkVersion Dec 23 08:30:25 ty adq it was that gradle stuff Dec 23 08:54:39 guys, using RxBindings and RxTextView, what method would emit a value after something is typed in the EditText? Dec 23 08:55:07 RxTextView.textChanges Dec 23 08:56:13 yea thats what i thought, but it says that it emits a value as soon as its subscribed to, so the button im enabling is instantly enabled with no text in the edittext Dec 23 08:56:40 RxTextView.textChanges(myTextView).skip(1) Dec 23 09:01:10 Ok cool, that works, and I guess inside the call() method, I can also check if charSequence > number to enable it, seems to work the same. I noticed that after you enter something and the button is enabled, you can delete the characters and its still enabled Dec 23 09:01:24 is there a simple way to prevent that? Dec 23 09:02:24 without seeing your code i can't really answer that Dec 23 09:04:54 Ah ok, was just wondering if there was an easy method for it. My code is pretty simple, creating the RxTextView.textChanges() observable like above, then using .subscribe(new Action1 ........ and the call method. Dec 23 09:06:03 i do RxTextView.textChanges(tv).map(CharSequence::toString).map(s -> s.length() > 4).subscribe(isValid -> someButton.setEnabled(isValid)) Dec 23 09:08:23 alright thanks, ill see if i can get it working Dec 23 09:30:30 hi Dec 23 09:37:14 I'm using retrofit and SugarOrm, so for each set of data, I need a POJO for a retrofit serializer and a class for each Sugar model. This seems rather unwieldy. Is there some way to map a model to serializer or vice versa so the codebase is more maintainable? Dec 23 10:04:15 Hello friends! I have retrieved data from server and have passed it to background service in App. Dec 23 10:04:29 How do I send data from service to Activity ? And update UI simultaneously. Dec 23 10:04:37 Any standard methods to do this? Dec 23 10:18:55 Satyam_z, multiple. Using a binder object seems to be a common approach. There is a detailed description on the options in the docs Dec 23 10:21:12 liefer, Cool :) Dec 23 10:21:59 liefer, Do I need to use Broadcast Receiver in activity to get data from service? Dec 23 10:30:44 * Zharf wonders where recyclerview draws it's edit mode stuff and why the layoutmanager set in xml doesn't have any effect on it Dec 23 10:34:29 ah, stackoverflow says the IDE does it for it Dec 23 10:36:30 Satyam_z, you could. But really, read the docs about services, they cover all this stuff Dec 23 10:36:47 hi Dec 23 10:37:05 I want to display an alert dialog that will prompt for password. Dec 23 10:37:29 It has to contain a password field. Dec 23 10:37:47 Do I need to use a layout, or can I do it without one? Dec 23 11:18:19 you can do everything without layout Dec 23 11:18:32 if you need only one EditText, thats fine Dec 23 11:50:45 is there a common pattern for dealing with the return value of asynchronous tasks when using RxJava with say, Retrofit? e.g. if i'm getting the result in a Fragment I need to make sure the fragment is still attached before delivering the result. Dec 23 11:52:24 is one supposed to just unsubscribe in the onDetach() method? Dec 23 11:52:28 storkme, try https://github.com/trello/RxLifecycle Dec 23 11:52:34 that handles lifecycle in rx for you Dec 23 11:53:55 i'll give that a go, thanks danijoo Dec 23 11:55:32 storkme, yeah, if the fragment needs to be attached then you unsubscribe in detach Dec 23 11:55:38 rxlifecycle will help Dec 23 12:07:46 can someone tell me if this is null Exception PROOF ? Does this rather add Not Available then crash? -> http://pastebin.com/THaiiNbZ Dec 23 12:11:47 if its null or empty it will return "Not available" Dec 23 12:12:08 it wont raise NPE Dec 23 12:12:30 still its kinda ugly wait to check for string null and emptyiness Dec 23 12:12:37 s/wait/way Dec 23 12:13:24 i take it bindToLifeCycle() defers the completion of the Observable sequence until the fragment is re-attached? Dec 23 12:16:40 cart_man, return TextUtils.isEmpty(string) ? "Not available" : x; Dec 23 12:16:49 You should use resources for the not available string though. :) Dec 23 12:17:10 nevermind, i checked and it doesn't. Dec 23 12:17:59 Rx is so great. Shortcut all the lifecycle crap with a library and a one liner Dec 23 12:19:20 android emulator 2.0 rev 7 is out Dec 23 12:20:10 storkme, yeah, I was sold when I've seen RxPermissions Dec 23 12:21:58 that's pretty wild Dec 23 12:23:19 Mavrik: Is never knew about TextUtils.isEmpty() though Dec 23 12:23:20 guess i'll try rev 7 Dec 23 12:23:31 Yeah, it's rather hidden :) Dec 23 12:23:59 It checks for null though so that helps :) Dec 23 12:24:42 Mavrik: Awesome... Ive built my own but today I still got a null through somehow.. I think actually that it might be something else Dec 23 12:24:56 i hope rev 7 fixed this annoying emulator crashservice not found bug -_- Dec 23 12:33:30 its fixed. yay Dec 23 12:43:49 hey dudes Dec 23 12:43:53 slight java question Dec 23 12:43:54 http://pastebin.com/bHPWfbV9 Dec 23 12:44:01 is the use of final appropriate here Dec 23 12:44:16 and what happens with the final variable once the method exits Dec 23 12:44:31 according to wiki final will get cleared once hte methods stack is cleaned Dec 23 12:44:48 it's unnecessary Dec 23 12:45:10 i can't access 'this' otherwise Zharf Dec 23 12:45:22 you can Dec 23 12:45:29 Yourclass.this Dec 23 12:45:44 inside anynomous class Dec 23 12:45:58 i need to access the class that contains the method Dec 23 12:46:12 the 'this' in the anon class's method is different Dec 23 12:46:13 indeed Dec 23 12:46:20 like Ashiren said Dec 23 12:46:24 so the recomended way is MyClass.this ? Dec 23 12:46:36 VisitsCatalogManager.this.catalogAdapter.CatalogModel.clear(); Dec 23 12:46:40 if you need to do that, sure Dec 23 12:47:05 ok Dec 23 12:47:15 on the other hand, you probably could just catalogAdapter.CatalogModel.clear(); Dec 23 12:47:23 yeah Dec 23 12:47:25 and that will be the 'this' that contaisn the current refreshCatalog() method Dec 23 12:47:58 riiiiight Dec 23 12:48:16 accessing catalogAdapter directly seems better Dec 23 12:48:18 thank you Dec 23 12:48:21 yes, non-static inner classes (which anon classes are too) contain an implicit reference to the parent class Dec 23 12:48:33 instance* Dec 23 12:55:11 danijoo: after updating my emulator image do I need to create a new emulator? Dec 23 12:56:34 i guess not Dec 23 12:56:56 Android Studio 2 Preview is good ? Dec 23 12:57:01 or nah? Dec 23 12:57:08 yeah, it's good Dec 23 12:57:24 cool, is it stable? Dec 23 12:57:35 has been pretty stable for me so far Dec 23 12:57:45 nice Dec 23 12:57:53 thanks! Dec 23 12:59:34 So anyone here making $100k per year developing apps? (its okay to ignore this question.) Dec 23 13:00:30 like half that :c Dec 23 13:01:04 nice storkme! Dec 23 13:01:19 do you work for someone? Dec 23 13:01:31 i do, yeah Dec 23 13:01:42 nice! Dec 23 13:01:53 how about your own Apps? Dec 23 13:02:04 does it generate money? Dec 23 13:47:04 hi all Dec 23 13:47:18 how can I disable the HID devices in android? Dec 23 13:47:27 I have the root privileges Dec 23 13:53:13 wrong channel kanupatar, try #android-root Dec 23 13:53:20 ^ Dec 23 13:54:09 adq: dont think so Dec 23 13:54:32 adq: it is developer question only.. I dont need the HID devices in application space Dec 23 13:54:45 :') good luck Dec 23 13:55:08 (c.f. topic) Dec 23 13:56:48 I made the image myself Dec 23 13:56:50 system.img,uboot.img Dec 23 13:56:58 I have the full access to the source Dec 23 14:01:54 adq: hello Dec 23 14:16:59 I seem to be using ReplaySubject a lot in my application.. I've set up a ReplaySubject in my MainActivity, so I call subject.onNext(clazz) whenever I replace my main fragment, so in my MenuFragment I can subscribe to this subject and update the menu to highlight whichever fragment is currently selected. Does that sound reasonable? Dec 23 14:19:39 How to disable a keboard in android? Dec 23 14:21:43 and i think i'm gonna have a second ReplaySubject representing whether a user is logged in or not... Dec 23 14:26:58 i guess it's similar to the event bus pattern.. Dec 23 14:27:40 My Emulators stopped working. Giving me HAXM related errors. They used to work perfectly. Dec 23 14:27:51 Any one faced this issue ? Dec 23 14:27:59 I am using OSX Dec 23 14:28:43 anyone any help on "how to disable keyboard in android?" Dec 23 14:40:30 http://grokbase.com/t/gg/android-ndk/13638by3rk/how-to-disable-native-input-gamepad-events Dec 23 14:47:38 kanupatar, you're actually reading /dev directly?? Dec 23 14:47:48 Mavrik: yes Dec 23 14:47:54 Well duh :) Dec 23 14:48:08 Use the event APIs on NDK which let you suppress further propagation. Dec 23 14:48:20 AInputEvent_ and friends. Dec 23 14:48:22 Mavrik: any examples? Dec 23 14:48:42 Mavrik: anything I can do in root file system? Dec 23 14:48:46 or config files? Dec 23 14:48:48 ?? Dec 23 14:50:07 Mavrik: I am confused with the NDK applications Dec 23 14:51:43 I'm not sure what do you want to do on the filesystem. Dec 23 14:51:59 Your application uses API to process input events and can tell if it wants the events to propagate. Dec 23 14:52:05 Doesn't that work for you? Dec 23 14:52:18 Mavrik: sorry, I mean, any ways to do this suppression in any config files Dec 23 14:52:50 Mavrik: none of the application needs it Dec 23 14:53:11 Mavrik: I am only taking from /dev/inputs/event6 Dec 23 14:54:21 why does FloatingActionButton.OnVisibilityChangedListener like...not exist Dec 23 14:54:26 the docs lie Dec 23 14:54:35 kanupatar, well... don't. Dec 23 14:54:42 Android isn't built for apps to touch the /dev Dec 23 14:54:50 It has API on top of it which handles your issue among others. Dec 23 14:55:07 There's no config files for that behaviour because you're never meant to go directly to the FS to read devs. Dec 23 14:55:25 Mavrik: ohh Dec 23 14:55:34 Mavrik: so hows the event architecture ? Dec 23 14:55:40 That's why the API - Android reads from the /dev and dispatches those to the proper app Dec 23 14:55:56 Mavrik: May be I can disable that events? Dec 23 14:55:58 And then via API in Android the app can tell if it wants to supress it or not. Dec 23 14:56:05 kanupatar: technically, Android can be running on non-Linux kernel Dec 23 14:56:19 API: https://developer.android.com/ndk/reference/group___input.html Dec 23 14:57:14 p_l: sorry Dec 23 14:57:23 Mavrik: confused Dec 23 14:58:09 http://developer.android.com/reference/android/support/design/widget/FloatingActionButton.html#hide%28android.support.design.widget.FloatingActionButton.OnVisibilityChangedListener%29 Dec 23 14:58:12 ^ does not exist Dec 23 14:58:51 how am I supposed to figure out when a FAB is done hiding itself? Dec 23 14:59:58 [20:25] That's why the API - Android reads from the /dev and dispatches those to the proper app >>> Dec 23 15:00:18 Mavrik: need to disabling in reading from /dev Dec 23 15:04:34 use the proper api, not disabling dev Dec 23 15:04:47 you've already been pointed at the right places Dec 23 15:05:43 pfn: sorry, i am confused Dec 23 15:05:56 How to disable it from api Dec 23 15:06:04 pfn, hmm, I don't remember if I asked you already, is the focus loss after sending a line of text in qicr by design? Dec 23 15:07:24 Mavrik, it's a little broken on marshmallow, it's supposed to hide keyboard Dec 23 15:07:39 Mavrik, settings > hide keyboard after sending Dec 23 15:07:40 pfn: Any example ndk applications? Dec 23 15:07:41 Ah, it does that also with HW keyboard present which is a bit annoying :) Dec 23 15:07:49 Oh. Dec 23 15:07:51 Ok. Dec 23 15:07:55 * Mavrik goes to disable it. Dec 23 15:08:37 dunno why it behaves that way on marshmallow... just saw it last night since I picked up the 6p Dec 23 15:09:39 hi ! Dec 23 15:10:05 I would like to change the current keyboard of an user, like adding a button on it. Is it possible ? Dec 23 15:11:35 good morning :) Dec 23 15:19:10 not possible, blusky Dec 23 15:24:27 Any ideas what "Inconsistent SSID on BSSID 'XYZ Wifi' vs '��¬��¬���¬��': ..." means ? I get this when my Android device scans for possible APs, the source code: https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/master/service/java/com/android/server/wifi/WifiStateMachine.java#3963 and https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/master/service/java/com/android/server/wifi/ Dec 23 15:24:27 hotspot2/NetworkDetail.java?autodive=0%2F%2F#471 Dec 23 15:24:38 networkDetail.getSSID() returns the � part Dec 23 15:25:10 ah, the logging message is different Dec 23 15:25:35 it's comparing xssid with networkDetail.getTrimmedSSID() but it logs networkDetail.getSSID() Dec 23 15:31:21 Hey. Does anyone know if we can have flavor-specific proguard files? Dec 23 15:31:30 hey, I'm using sqlite and Android Studio, I'm getting this error (java.lang.RuntimeException: Unable to start activity ComponentInfo{com.favorita.favorita/com.favorita.favorita.Cadastro}: java.lang.NullPointerException) to this line (Cursor c = db.query(FeedEntry.TABLE_NAME, new String[]{FeedEntry.COLUMN_NAME_NOME},null,null,null,null,null);), then what does this type of error mean? java.lang.NullPointe Dec 23 15:31:36 rException?? Dec 23 15:32:58 Mavrik: I made it working..remove the layout file from /system/usr/Layout/XXX Dec 23 15:33:24 what. Dec 23 15:33:51 lolololololol Dec 23 15:34:19 yabuk, http://stackoverflow.com/questions/218384/what-is-a-null-pointer-exception-and-how-do-i-fix-it Dec 23 15:34:29 you're better off changing your gamepad hardware such that it has an unusable keyboard layout Dec 23 15:34:43 * pfn goes through and adds permission requesting to keepshare Dec 23 15:34:45 time to play with this... Dec 23 15:34:56 Mavrik: my next intention is how to communicate from my native application - C to a java apk Dec 23 15:35:00 any IPC mechanism? Dec 23 15:35:04 file? Dec 23 15:35:36 you're writing a game? Dec 23 15:35:42 who are you expecting to be able to play it? Dec 23 15:35:43 just you? Dec 23 15:37:09 pfn: :) Dec 23 15:38:25 Can you suggest an IPC mechanism for communucation between native service running in Linux application space (written in C) to a java application running from apk? Dec 23 15:39:50 what happened to kotlin-android-extensions ? Dec 23 15:39:57 asimas, yes Dec 23 15:39:58 thank you, truckrash Dec 23 15:40:13 and sorry for so basic ask Dec 23 15:40:20 pfn, could you tell me, how? Dec 23 15:40:30 gordon_, what about them, they're still there Dec 23 15:40:35 asimas, add proguardFiles to your flavor {} Dec 23 15:41:41 pfn: thank, was loooking for them but in documentation I have empty text in places where code should be Dec 23 15:42:03 https://kotlinlang.org/docs/tutorials/android-plugin.html Dec 23 15:42:13 * pfn shrugs Dec 23 15:42:15 I don't kotlin Dec 23 15:42:43 I know :) Dec 23 15:43:49 http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jetbrains.kotlin%22 Dec 23 15:43:51 anyway, still there Dec 23 15:44:41 ugh, protify requiring write_external_storage is annoying, I should move all that shit to internal storage... Dec 23 15:44:47 makes it so I can test requestPermissions Dec 23 15:45:30 s/can/can't Dec 23 15:48:04 hmm, I have it Dec 23 15:48:10 but it doesnt work Dec 23 16:09:49 Whenever I press run, Android Studio gets stuck during apk deployment to the emulator. The emulator does not seem to take note, or change at all, and I get this output from AS: http://pastie.org/pastes/10649280/text Dec 23 16:09:51 Restarting the emulator, or Android Studio does not help. Dec 23 16:09:56 Anyone know what is causing this? Dec 23 16:30:44 keep waiting Dec 23 16:31:15 speaking of, is /data/local/tmp always guaranteed to be present? or is there an api for determining that path? Dec 23 16:34:58 I'm rather sure it's not (even though google scripts use it extensively :) ) Dec 23 16:35:08 I'd try reading TMPDIR or TEMP env variables Dec 23 16:37:17 yueah, neither of those are set Dec 23 16:37:44 and I wonder what app capabilities for reading /data/local/tmp are... Dec 23 16:37:59 I guess I can make stuff writable when I push to it from adb Dec 23 16:39:16 IIRC it's writable, some devices might have noexec set Dec 23 16:39:37 We use it for CI and didn't have much issues with it though except that freespace can be kinda small Dec 23 16:40:18 hmm, even though I chmod it 666/777 (file/directory) can't seem to access/change it from an app process Dec 23 16:41:17 can't delete, seems to be able to read though Dec 23 16:43:00 pfn, I've had it open in the background for about 2 hours now. I get the feeling another two will not help :P Dec 23 16:43:59 truckcrash, restart the emulator then Dec 23 16:44:15 pfn, as stated, that does not help Dec 23 16:44:22 * pfn shrugs Dec 23 16:44:28 thanks anyway Dec 23 16:44:30 use genymotion or a device then Dec 23 16:45:24 hmm, yeah, I only require read_external_storage for protify, I can definitely throw shit in /data/local/tmp/protify instead of /sdcard/protify Dec 23 16:46:04 you can write to /data/local/tmp without write external permission? Dec 23 16:46:14 no, you can't Dec 23 16:46:31 didnt think so. I guess I misunderstood you Dec 23 16:46:32 apps can only read from /data/local/tmp, not write to (if permissions allow reading) Dec 23 16:47:04 having to force an adb roundtrip to chmod every file pushed is gonna cost time though :( Dec 23 16:47:40 Does Android busybox have chmod -R? Dec 23 16:47:55 So you have only one rountrip with adb shell chmod -R /data/local/tmp/protify ? Dec 23 16:49:11 that's a good point, maybe it does have chmod -R Dec 23 16:49:24 > adb-shell chmod Dec 23 16:49:24 [info] usage: chmod [-R] MODE FILE... Dec 23 16:49:28 thanks Dec 23 17:01:11 "Google Plans New, Smarter Messaging App Dec 23 17:01:11 Users will be able to text friends or a chatbot that will scour the Web and other sources to answer a question" Dec 23 17:01:25 "OK google, how do i get fragments working :D" Dec 23 17:04:51 Hey what should I keep in mind if I update my app and its already on the play store? Dec 23 17:05:01 is ther eanything I should be aware of / Dec 23 17:05:01 ? Dec 23 17:06:40 Caused by: java.lang.IllegalArgumentException: Can only use lower 8 bits for requestCode Dec 23 17:06:41 that's annoying Dec 23 17:07:07 8 bits should be enough... Dec 23 17:07:24 lol Dec 23 17:07:29 requestcode is some broken shit Dec 23 17:07:50 since they use the upper bits to store fragment id crap Dec 23 17:07:53 and even that barely works Dec 23 17:08:13 yeah, i think thats why all the fragment shit is broken (requesting activity results, permission requests) Dec 23 17:09:44 wow , London is installing e-Ink displays for their transit information, thats so cool Dec 23 17:09:56 stuff updated in real time, looks like paper :D Dec 23 17:09:58 went looking for a new phone Dec 23 17:10:01 all of them were crap Dec 23 17:10:07 all of them? Dec 23 17:10:10 all of them Dec 23 17:10:13 it's true Dec 23 17:10:17 phones suck Dec 23 17:10:58 we need a Moto ^H^H^H^H Lenovo nexus Dec 23 17:11:09 most of them were crap because they're too large, the rest of them are crap because they have non-vanilla android or too many modifications Dec 23 17:11:26 xperia x5 compact or something was the least crap, but even that's slightly too large Dec 23 17:11:54 pfn you just got a 6P right ? Dec 23 17:12:01 g00s, yes Dec 23 17:12:06 like? Dec 23 17:12:10 nexus 5x isn't very large Dec 23 17:12:31 it's too large Dec 23 17:12:48 my hands are tiny and I want to be able to use it with one hand Dec 23 17:14:12 moto e was on the upper limit of my finger reach, but the thing has a terrible feel on the screen... my fingers felt very weird touching it Dec 23 17:14:36 also it didn't have a camera light so I can't use it as a flashlight :E Dec 23 17:14:53 I don't care about the camera, but the light is nice to have Dec 23 17:15:45 g00s, yes, it is a bit big though Dec 23 17:15:58 the 2014 moto x was a good size Dec 23 17:16:06 the 5x should be about the same Dec 23 17:16:42 5X is big :/ Dec 23 17:17:06 5x is a smidge longer than moto x2 Dec 23 17:17:18 less than quarter inch, otherwise same Dec 23 17:17:39 I think it's the fingerprint + larger chasis that annoys me since I cane from N5. Dec 23 17:17:46 I would have gotten a 5x, but I like the 6p premium feel Dec 23 17:17:56 When holding it properly it's just a bit too uncomfortable to reach actionbar icons Dec 23 17:18:20 n4 was tolerable, n5 is too large :p Dec 23 17:18:33 5x is about a quarter inch longer than the 5 Dec 23 17:19:08 6p is also only like $70 more than 5x, kind of a no-brainer Dec 23 17:19:58 I'll check if I can get z5 compact leased through the company, otherwise I'm not really sure what I'd do regarding a phone Dec 23 17:23:00 my lumia 521 was a perfect size for me, easy to take running. i don't know how people run / exercise with these 6" phones :P Dec 23 17:23:36 and there are lots of sports apps for tracking exercise, etc Dec 23 17:24:02 ever since I bought endomondo I've only gained weight! Dec 23 17:29:47 i have a simple lList that im using as a queue, the queue is always the same length, when i add i do list.add(MAX-1, item) then remove the item at index 0. do i then need to trim to size? Dec 23 17:30:28 i looked at the Queue class but i cannot see any helpful examples using that the way im doing this Dec 23 17:32:49 I440r, uh... Dec 23 17:34:10 Zharf, theres a better way? Dec 23 17:34:13 I440r, depends on your List implementation, really, but you really should use one that implements Queue Dec 23 17:34:37 or Deque, depends on your needs Dec 23 17:34:49 i looked at examples of using Queue and NONE of them show me how to limit the size of the queue to EXACTLY n items Dec 23 17:35:02 its literally a list of simple strings Dec 23 17:35:24 add one to end, take one off start Dec 23 17:36:41 I440r http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ArrayBlockingQueue.html Dec 23 17:36:56 pfn: i tried with different application id in flavours based app but problem still the same INSTALL_FAILED_CONFLICTING_PROVIDER Dec 23 17:37:19 goos actually this list is not shared. its a private list so no concurrency issues.. but ill still be reading taht link :) Dec 23 17:37:20 facebook provider creating an issue Dec 23 17:37:53 oh your suggesting i use that class :) Dec 23 17:37:59 backed by an array... Dec 23 17:38:36 if you don't want it to be backed by an array use LinkedBlockingQueue Dec 23 17:38:44 ok im not sure how this helps. both add and remove BLOCK Dec 23 17:39:19 im not understanding how i can add a new item to the bottom of the list and have the front of the list removed and thus end up with the same length list Dec 23 17:39:19 offer doesn't Dec 23 17:39:37 let me finish reading this Dec 23 17:40:17 i have a facebook login in my app now my application have different flavours 2 different market app so do i need to register both application for facebook login Dec 23 17:40:20 this is no good Dec 23 17:40:33 i dont want something that "waits for space to become available" Dec 23 17:40:52 if i say "add this to the end" and theres no space for it i want it to purge the front item of the queue and do the add Dec 23 17:41:06 come on, it's trivial to implement based on any of these implementations Dec 23 17:41:10 this class looks like a gordian knot nightmare to use for this use case Dec 23 17:41:38 take() then add() ? Dec 23 17:41:45 there is no collection that removes elements without you explicitly telling it to do so Dec 23 17:42:19 in java anyway, maybe in some third party library Dec 23 17:42:31 in what way would using this class be better than my simple linked list solution? Dec 23 17:43:23 not many, except you didn't specify LinkedList earlier, hence why I said "depends on your List implementation" Dec 23 17:43:38 im not emotionally attached to my solution, im emotionally attached to having the smallest possible memory footprint in the app Dec 23 17:43:59 private static ArrayList xList = new ArrayList(MAX_STRINGS); Dec 23 17:44:17 the name of the list is temporary, ill give it a more descriptive name later Dec 23 17:44:24 if i stick with this way of doing it Dec 23 17:44:51 the list is primed with 6 " " <-- empty ish strings Dec 23 17:45:45 and when i add i add remove then .add(max - 1, s) Dec 23 17:46:23 the question was do i then nee to trim to size. but if this is a bad way of doing this for some reason i can change it Dec 23 17:47:57 is the way im doing it bad. and do i need to trim to size if not? Dec 23 17:48:23 if you want to keep the absolute maximum, you shouldn't trim Dec 23 17:48:27 min2, indeed, fix your authorities :p Dec 23 17:48:37 I440r so this is basic java stuff, you can ask in #java Dec 23 17:49:15 if you remove, trim and then add again, you'll end up with larger capacity than you originally intended Dec 23 17:49:40 i have just one manifest file where i have defines the provider tag of facebook inside in it name. authorities and exported so do i need to create different manifest for all falvours Dec 23 17:49:53 no i was removing, adding then trimming Dec 23 17:49:53 but if there's 6 strings, I doubt it's memory critical -.- Dec 23 17:50:09 right now its 6 strings but ya Dec 23 17:50:16 oh, onResume is a bad place to request permission, hrm Dec 23 17:50:33 I440r, trim "Sets the capacity of this ArrayList to be the same as the current size. " Dec 23 17:50:48 seems pointless to me in your case Dec 23 17:50:54 which it already is Dec 23 17:50:54 ya Dec 23 17:51:06 pfn, in authorities app id is appended with facebook package Dec 23 17:51:10 http://stackoverflow.com/questions/30807789/android-facebook-content-provider-authority Dec 23 17:51:19 i found one same solutions Dec 23 17:52:34 that should be trivial to workaround Dec 23 17:52:36 but in my case i have two different release flavours Dec 23 17:52:58 i wish intellij idea didnt keep closing the logcat tab every time i click debug, then when it re-opens NOT give it focus. if you let your app run with logcat NOT having focus you get exactly ZERO log entries Dec 23 17:53:04 min2, use manifest overlays for each flavor Dec 23 17:53:12 min2, and add the provider in each flavor Dec 23 17:53:25 if you can't do any other approach Dec 23 17:53:28 like manifest placeholders, etc. Dec 23 17:53:33 so do i need to register differently for facebook login Dec 23 17:53:47 in fb developer account Dec 23 17:53:57 I dunno, do you? Dec 23 17:53:59 I don't facebook sdk Dec 23 17:54:24 * pfn always hands that off for someone else to take care of Dec 23 17:54:55 pfn, thanks for the suggestion i will try this way.. Dec 23 17:56:15 pfn knows what to do with Fb api :D Dec 23 17:56:29 min2 maybe you can hand it off to somebody also :D Dec 23 17:56:54 Fb, Camera apis, probably media -> coworker Dec 23 17:58:46 ugh, if I attach a snackbar to window decor, it shows under system UI Dec 23 17:58:51 that's... not cool Dec 23 18:08:31 i have a dialog with a setMultiChoiceItems. i’d like to read the value of the checkbox when the positiveButton is tapped, instead of saving a private var on the multi choice callback. is that possible? Dec 23 18:24:06 ugh, my permission manager api gets uglier :( Dec 23 18:35:08 is anyone else here suffering with issues with the intellij idea or android studio logcat tab? Dec 23 18:36:24 im constantly getting ZERO output when i debug my app, if i dont click on the tab fast i get no output to it and every so often it doesnt matter if i click on it i still get NO output till i lill the AVD and relaunch Dec 23 18:38:50 * extor wonders what this mysterious adblock is and why it's required to get root to play with it's settings ¯\_(ツ)_/¯ Dec 23 18:45:01 intellij logcat is a little weird, it can't find your process unless your process starts after the logcat tab is opened Dec 23 18:45:50 I'm looking to implement a Button that has as visualisation a circular progress indicator (say for a step counter), Can I extend from Button for such a visualisation, and are there any keywords on how to calculate and display the arc? Dec 23 18:46:32 there are plenty of progress indicators out there, but here I'm not looking to update it all the time, probably only when the parent Activity is loaded Dec 23 18:48:32 belgianguy, i'd extend Framelayout for that Dec 23 18:48:33 belgianguy saw this yesterday on redit https://github.com/lopspower/CircularFillableLoaders Dec 23 18:49:28 thanks danijoo and g00s, I'll check that out! :) Dec 23 18:56:42 Would anyone already recommend Android Studio 2.0? Or should I best stay on the 1.x stable? Dec 23 18:57:36 belgianguy, the new emulators are really nice. Dec 23 18:57:53 ILL switch to 2.x only if it can auto convert my ant to gradle Dec 23 18:58:00 But if you have deadlines or are not fine with AS crashing from time to time or unexpected problems to appear i'd stay with stable Dec 23 18:58:10 i have less than zero interest in RTFMing gradle enough to do the switch by hand Dec 23 18:58:29 right now im using IDEA community Dec 23 18:58:42 I440r, gradle has nothing to do with AS Dec 23 18:58:42 2.x isnt realeased yet is it? Dec 23 18:59:07 danijoo, no its what AS uses as its build system. my projects are all and not gradle Dec 23 18:59:10 its canary atm Dec 23 18:59:15 and it does not convert projects over automatically Dec 23 18:59:25 yup Dec 23 18:59:32 what does canary mean? Dec 23 18:59:32 oh, snackbar doesn't use window decorview, it uses android.R.id.content if it's a framelayout, or the outer-most framelayout if an ancestor is not a coordinator layout Dec 23 18:59:34 Thanks guys, I'll stay with the stable for now then Dec 23 18:59:34 and im pretty sure it will never do that Dec 23 18:59:50 canary = early alpha release, may contain bugs and crash Dec 23 18:59:50 they say they may add it in the future Dec 23 19:00:00 i wont switch from IJ to AS unless they DO Dec 23 19:00:14 you will still have to learn gradle then ^^ Dec 23 19:00:22 unless they do what? oh, convert ant to gradle Dec 23 19:00:28 lol, ant user yolo Dec 23 19:00:38 but if you are fine with Intellij, why switch :) Dec 23 19:00:40 well AS is based on IJ, a lot of outside libs are coming with gradle files Dec 23 19:00:43 im not taking 3 days out of my development to a: learn gradle and b: learn how to convert my already existing ANT crap to gradle. i dont even know ant, dont care to know either Dec 23 19:01:03 Gradle can be a fickle beast Dec 23 19:01:11 yea how the freek do you MARKET a 3rd party LIBRARY? Dec 23 19:01:13 b comes with a, and a is required even if AS makes b for you Dec 23 19:02:09 i dont know ant, i dont know the first thing about any java build system, i dont have any interest in learning that which the IDE should (and does) take care of for me Dec 23 19:02:29 i wont try to convert you :) Dec 23 19:02:34 heh Dec 23 19:02:40 if it builds, it builds :) Dec 23 19:02:40 I440r you'll have to learn it anyhow, 3 days now, 3 days leter - may as well now :D Dec 23 19:02:47 it doesn't take 3 days to learn/convert to gradle Dec 23 19:02:53 but Gradle is here to stay Dec 23 19:02:55 i would love to use AS, specially 2.x but fuck learning gradle just to do so Dec 23 19:03:05 belgianguy, we'll see :P Dec 23 19:03:11 g00s nope. Dec 23 19:03:12 there's no learning gradle, ide creates build template for you automatically... Dec 23 19:03:13 * g00s not sure how I440r gets anything done Dec 23 19:03:24 pfn it took me 2 years to learn C Dec 23 19:03:38 i develop my own development tools. thats how Dec 23 19:03:44 I had some Maven experience, that lessened the blow somewhat Dec 23 19:03:56 I don't think maven experience helps with gradle any Dec 23 19:04:02 other than being used to dependency management Dec 23 19:04:13 pfn, well indeed Dec 23 19:04:21 maybe the pain of maven was so great the pain of gradle was insignificant for him :) Dec 23 19:04:34 actually, ides generally autogeneratea nything you want in maven anyway Dec 23 19:04:44 because fuck all if I could be bothered to remember wtf goes where in a pom Dec 23 19:04:50 and that's after using maven for like 10 years Dec 23 19:05:10 ahh yes, the dreaded pom.xml Dec 23 19:05:14 I440r, do you sign/zipalign/switch configs manually? Dec 23 19:05:17 g00s, why should i have to learn a skriptkiddie skripting language just to be able to build my projects. the IDE should and does take care of all that shit for me Dec 23 19:05:28 or how do you do this stuff without knowing your build system Dec 23 19:05:38 danijoo, i have nothing in the market yet. im not signing anything yet Dec 23 19:05:39 I440r uh yeah, repeatable builds Dec 23 19:06:00 IDE has never been a suitable build system Dec 23 19:06:01 nothing in the store. that explains it Dec 23 19:06:19 g00s you telling me that unless i learn gradle the entire android development cycle is so fragile that it will produce different results each time i run it? Dec 23 19:06:23 for playing arround, ide might be enough :) Dec 23 19:06:56 danijoo, the thing i want to put in the store does not have a category. Dec 23 19:07:11 cant seem to see any slots in there for "3rd party libraries" Dec 23 19:07:12 Tools is a catch-all category Dec 23 19:07:13 IDE still == Gradle, no? Dec 23 19:07:16 I440r you are being obstinate ;) gradle is the builds system. you can't really avoid it Dec 23 19:07:28 I440r, yeah. because the store is not for libraries. its for apps Dec 23 19:07:53 danijoo, who says i cant market my lib? Dec 23 19:08:08 I440r, i didnt. Dec 23 19:08:21 I440r: odds are your target audience _is_ using Gradle Dec 23 19:08:23 i think its silly they dont have a place in the market for libs Dec 23 19:08:24 i said the market is not for libs. Dec 23 19:08:30 https://github.com/pfn/keepshare/blob/master/src/main/scala/com/hanhuy/android/keepshare/PermissionManager.scala Dec 23 19:08:30 and they'd find it convenient to use in their apps Dec 23 19:08:35 heh, my naive attempt at permission manager Dec 23 19:08:43 I440r, why should users care about libs? Dec 23 19:08:44 belgianguy, my lib is 100% ARM ASSEMBLER lol Dec 23 19:08:50 they want a working app Dec 23 19:08:53 users dont. developers do Dec 23 19:08:59 market is not for devs Dec 23 19:09:10 im saying there should be a developer market Dec 23 19:09:13 who wants to use your lib? especially if you can't even produce manageable builds from it :p Dec 23 19:09:16 if you're building a lib, Gradle needs to be your best friend Dec 23 19:09:19 I440r, yeah, there is, it's called maven central Dec 23 19:09:25 or bintray Dec 23 19:09:28 pfn, indeed Dec 23 19:09:31 this lib must be awesome.. Dec 23 19:09:39 if you want to sell it Dec 23 19:09:39 its a forth compiler Dec 23 19:09:55 those who buy it get the entire sources.. not ready yet Dec 23 19:10:00 because whatever it is, im sure there are at least 3 free versios of it Dec 23 19:10:21 versions* Dec 23 19:10:37 I440r, Gradle makes it easy to add 'yourlib.apk' to another person's build. If you want your project to be widely used, you should happily learn the ins/outs of Gradle Dec 23 19:10:41 danijoo, show me any NDK forth system library for android that can be used by any app? Dec 23 19:10:41 * pfn wonders who wants a forth compiler on android... Dec 23 19:10:54 except for someone wanting to implement postscript or something Dec 23 19:11:26 pfn ps is not forth, not even a dialect of forth Dec 23 19:11:48 sounds like I440r is going to be a millionaire soon Dec 23 19:11:51 this conversation is bizarre Dec 23 19:11:53 erm no Dec 23 19:12:04 watch out you guys, finally somebody made money from android Dec 23 19:12:11 not unless 1,000,000 and change buys my lib lol Dec 23 19:12:12 writing a forth toolchian Dec 23 19:12:15 I never heard someone saying "I wish i could do that in forth!" in here.. Dec 23 19:12:25 I440r, take a look at any premium android library. observe how they integrate with gradle. Don't be worse than them. Dec 23 19:13:12 danijoo someday, we're all going to be sitting around the fire, wondering when and how things went wrong - and we'll say, damn it - we should have wrote a forth compiler and sold that Dec 23 19:13:15 incidentally, my project is still using ANT :( Dec 23 19:13:18 danijoo, do you have any knowledge of forth? do they? if they are unaware of what forth can bring to the table they are not likely to use it Dec 23 19:13:39 I440r, please enlight me on why I should care about forth on android Dec 23 19:13:46 I might be your first customer :p Dec 23 19:13:59 want to add NDK code to your app but dont want to do all the NDK jni shit? use my lib, write some forth code. have my compiler compile and run it at assembler speeds Dec 23 19:14:23 I440r, indeed, my mistake Dec 23 19:14:35 I'd rather write c/c++ than forth Dec 23 19:14:54 isnt forth kinda on assembler level? Dec 23 19:14:58 pfn do you have any (even limited) forth knowledge? Dec 23 19:15:11 nobody will ever want to write something on that level for android Dec 23 19:15:12 only superficial Dec 23 19:15:17 danijoo, and no Dec 23 19:15:24 danijoo, forth is a broad spectrum language. its as low as you want it to be. its as high as you want it to be Dec 23 19:15:31 i see Dec 23 19:16:40 i still dont see any benefit :/ Dec 23 19:16:43 im already using my forth in a game im developing, i decompress the map data with forth on the fly Dec 23 19:16:50 * pfn goes back to dicking around with fingerprintmanager Dec 23 19:17:55 im also doing the mob pathing in forth. i have a test where i generated 100 random mobs and they walk to the players location and despawn. every second all 100 mobs recalculate their entire path and take one step Dec 23 19:18:15 as each mob despawns it allows new random mobs to spawn Dec 23 19:18:46 I dont see why I need forth for that Dec 23 19:19:01 so the mob likes forth too? i guess it must be popular in Italy Dec 23 19:19:31 danijoo, the game is being developed simply to smoke test the forth lib :) Dec 23 19:20:24 I440r, no offense but why would anybody care to a) learn/use a not very well known lanugage for something he can easily do in c Dec 23 19:20:48 while b) he can do it for free in C++ Dec 23 19:21:06 hrm, how can I use FingerprintManager to protect a symmetric key... Dec 23 19:21:13 danijoo, the forth solution will be about 100+ times smaller than the c++ version? Dec 23 19:22:16 I440r forth has been around for a long time. dont you think if it was going to take off, it would have already? Dec 23 19:22:21 my game has a map world map of 256 by 256 tiles. i have over 200 dungeons with puzzles and random spawns. i have over 200 towns, cities and castles and evey dungeon, town, citty and city person has a personality that is defined in forth Dec 23 19:22:46 I440r, c libraries are already super small Dec 23 19:22:47 g00s you would be supprised about how much forth is actually used in the real world Dec 23 19:22:48 good if you want to develop in forth, I suppose Dec 23 19:22:54 and the trend is to not care about size at all Dec 23 19:23:08 because memory and disc space is getting bigger and bigger Dec 23 19:23:21 danijoo, in c you would need to have every dungeon, city, NPC personality loaded at all times. Dec 23 19:23:27 looking forward to official Google support of Forth in Nutella Dec 23 19:23:51 i have only the personalities associated with the current map loaded. when i enter a new map i forget the current personality and release that memory for the new maps personality Dec 23 19:24:22 or you would need to write some script interpreter in c and script every town city etc Dec 23 19:24:40 Geez, it's amazing any games exist currently without Forth Dec 23 19:24:42 which is sort of what i did but the script engine is extensible, written in assembler and is super fast Dec 23 19:24:53 g00s: ? Dec 23 19:25:05 Geez, it's amazing any games exist currently without Forth << this ^^ Dec 23 19:25:07 thinking about embedding youtube in our chat cells Dec 23 19:25:15 thebishop, on a PC a game can be 900 gigs in size. not so on an android Dec 23 19:25:43 as I said, the trend is the same for android Dec 23 19:25:55 forth is very fast to execute, compiles instantaneously, and is very small Dec 23 19:26:05 space is getting bigger, so does games Dec 23 19:26:13 but im not trying to sell an incomplete product... wip :) Dec 23 19:26:40 i thought you were selling a library... Dec 23 19:26:44 c is fast enough, compile time is fast enough, and size doesnt matter Dec 23 19:26:45 not yet Dec 23 19:27:07 the size of games is not in the code Dec 23 19:27:10 its in the assets Dec 23 19:27:12 danijoo, my linux x86 forth compiler compiles over 4 megabytes of source code PER SECOND Dec 23 19:27:26 i could compile firefox in half a second if it were written in forth Dec 23 19:27:33 or libreoffice Dec 23 19:27:49 compile time DOES matter. thats why google made 2.x compile faster Dec 23 19:28:11 FingerprintManager fingerprintManager = Dec 23 19:28:11 context.getSystemService(FingerprintManager.class); Dec 23 19:28:14 oh? when was that overload added Dec 23 19:28:33 ah, 23 Dec 23 19:28:39 I440r: Compiling Firefox in half a second sounds insane. Dec 23 19:28:55 TacticalJoke, if only it were written in forth :) Dec 23 19:29:02 more specifically MY dialect thereof Dec 23 19:29:10 who cares if its compiled in a second or in 5 seconds Dec 23 19:29:43 at least if this is your only selling feature Dec 23 19:29:46 you wouldnt need to compile it. you could just keep the sources as is and have just build it every time you want to run it :P Dec 23 19:30:04 danijoo, the linux x86 forth isnt for sale. its gpl Dec 23 19:30:08 lgpl Dec 23 19:30:40 i also have a subroutine threaded thumb2 version of it for PI Dec 23 19:30:53 the android forth has to be indirect threaded so its slightly slower :P Dec 23 19:31:07 Is it possible to let your heads up display look different with a layout.xml file when the bar has been dragged down? Dec 23 19:31:11 the PI forth has never been released Dec 23 19:32:36 brb store then back to java related stuff :) Dec 23 19:33:51 Sometimes there are valid reasons for not releasing software Dec 23 19:39:31 I wonder if having the GPU macbook is any use anymore Dec 23 19:51:43 Afzal: GPU MacBook ? Dec 23 19:51:48 one with a GPU? Dec 23 19:51:50 yeah Dec 23 19:52:53 ugh, adding fingerprint is more difficult than I would have guessed Dec 23 19:53:13 was hoping I could re-use existing key material Dec 23 20:08:11 interesting addition to google youtube app / subscription tab Dec 23 20:08:20 like a little nav drawer panel there Dec 23 20:14:21 unable to resolve project target android-23 but default.properties says target=android-19 Dec 23 20:14:45 does my build-tools version need to match my API version? Dec 23 20:17:45 well I installed build-tools 19 and it still uses latest Dec 23 20:18:57 quesker_, did you install android sdk vresion 23? Dec 23 20:19:05 no Dec 23 20:19:08 just 19 Dec 23 20:19:35 you need to install the target sdk Dec 23 20:19:57 I think I want my target to be 19 though Dec 23 20:20:12 why? Dec 23 20:20:18 target is not minimal version Dec 23 20:20:28 dunno, just following a guide Dec 23 20:20:30 you should target 23 and set min to something lower than that Dec 23 20:20:33 maybe 16 or 19 Dec 23 20:23:03 are all those system images for the emulator? just trying to avoid downloading a ton of stuff Dec 23 20:23:20 images yes Dec 23 20:23:24 sdk platform no Dec 23 20:23:37 k Dec 23 20:24:00 well it built. I just wonder if it will run on most phones Dec 23 20:24:32 this love for android kit already sets everything up, you just copy in your love game Dec 23 20:24:45 quesker_, you can check this here http://developer.android.com/about/dashboards/index.html Dec 23 20:25:00 the first chart is about what % of phones use what api versin Dec 23 20:25:17 if you set minSdk 19, it will run on about 60% of all phones Dec 23 20:25:31 atm, most people set miNSdk to 16 Dec 23 20:26:06 AndroidManifest.xml: Dec 23 20:26:26 manifest gets overridden by gradle Dec 23 20:26:31 the settings there are irrelevant Dec 23 20:38:59 I see org.foo and com.foo. but I get an error when I use net.foo for package Dec 23 20:56:00 pfn, a little bit late but thanks :) Dec 23 20:58:55 ah. net.123foo is invalid. oops Dec 23 21:27:12 I'm looking at a page in this app Dec 23 21:27:24 is there a way to figure out which activity/fragment is being displayed? Dec 23 21:27:50 is it your app? Dec 23 21:28:41 it's his now ;) Dec 23 21:29:20 danijoo: not my app, but I work on it Dec 23 21:29:26 still new to this codebase Dec 23 21:29:34 look at the source and you know it O.o Dec 23 21:29:59 yeah trying to find it by working from the main activity Dec 23 21:30:05 harder than it sounds. There is a lot of code Dec 23 21:30:26 or use ADM and look at the view hierarchy Dec 23 21:30:35 luckily everything is organized and well commented Dec 23 21:31:37 ^^ Dec 23 21:31:53 i think ADM shows fragments in the hierarchy Dec 23 21:32:28 I'm going to try that Dec 23 21:32:35 man I need IRC on my work computer Dec 23 21:32:51 there might be a way around the proxy Dec 23 21:38:06 Using espresso, how do I click on a menu item in my toolbars navigation drawer layout? I'm getting a NoMatchingViewExceptions. Dec 23 21:38:36 well the view hierarchy viewer lets me see the views Dec 23 21:38:42 but not the activity at the top level Dec 23 21:42:58 RustyShackleford, you said you want to see fragments Dec 23 21:43:03 not the activity. Dec 23 21:43:30 well I mentioned both Dec 23 22:00:09 java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available Dec 23 22:00:10 lol Dec 23 22:00:27 not enough memory to be out of memory Dec 23 22:02:12 heh Dec 23 22:02:46 > not enough memory to crash do to OOM Dec 23 22:02:54 > continues working fine Dec 23 22:03:28 if you dont have enough memory to throw an exception, thats a serious memory problem i guess :p Dec 23 22:04:32 is the only proper way to handle configuration changes to use saveInstanceState? Reloading data from a local persisted db is not good enough? Dec 23 22:05:18 Afzal, for a local db i think its good enough to read it again Dec 23 22:05:19 Afzal: could you be a little more ambiguous Dec 23 22:05:37 I usually store the id of the row in savedInstance and requery then Dec 23 22:05:44 squirrel I can try :p Dec 23 22:05:53 but if its a lot of querry you might want to store Dec 23 22:06:02 right Dec 23 22:06:19 danijoo what if there's a memory cache, then surely it's the same, right? Dec 23 22:06:24 (same as savedInstanceState) Dec 23 22:07:53 Afzal, savedInstanceState is somewhat like a memory cache Dec 23 22:08:14 danijoo right, except it needs parcel :p That's what I'm trying to avoid atm Dec 23 22:16:37 hello Dec 23 22:16:44 how do i debug a nullpointerexception Dec 23 22:17:39 ? Dec 23 22:17:46 find out what is causing it Dec 23 22:17:52 how do i do that? Dec 23 22:18:09 comment parts that you suspect out Dec 23 22:18:28 http://pastebin.ca/3299094 Dec 23 22:18:32 whats causing this? Dec 23 22:18:46 i have written anything yet Dec 23 22:18:50 i just imported a project Dec 23 22:19:20 exception in plugin android support Dec 23 22:21:39 can't debug nullpointerexception. might as well drop the project Dec 23 22:22:07 that stuff's like 2x harder than synchronization errors Dec 23 22:23:11 stacktraces without the code that belongs to them is indeed undebuggable :p Dec 23 22:23:19 so dont expect help until you post your code Dec 23 22:24:47 danijoo: https://github.com/aporter/coursera-android-labs/tree/master/TheActivityClass/Lab2_ActivityLab/src/course/labs/activitylab Dec 23 22:25:05 im not sure that imported it correctly, or my android studio is not setup correctly Dec 23 22:25:24 which class is throwing this? Dec 23 22:25:27 and where? Dec 23 22:25:37 i dont know Dec 23 22:25:47 it says android plugin support exception Dec 23 22:26:02 is this an error of the ide? Dec 23 22:26:09 yes Dec 23 22:26:11 oh.. Dec 23 22:26:22 no idea. invalidate cache and retry then :p Dec 23 22:26:33 how do i do that? Dec 23 22:26:41 restarting? Dec 23 22:26:47 theres an X in the top corner Dec 23 22:27:08 invalidating is done view file->invalidate Dec 23 22:27:13 when i import the project i just select the folder right? Dec 23 22:27:30 yes Dec 23 22:27:42 now it asks me gradle location Dec 23 22:29:48 where is viewfile danijoo ? Dec 23 22:29:59 what is viewfile Dec 23 22:30:40 Are there alternative to HtmlUnit for android ? Dec 23 22:31:41 im getting more errors now danijoo Dec 23 22:31:43 http://pastebin.ca/3299101 Dec 23 22:32:16 this is pretty challenging Dec 23 22:35:47 Are there alternative to HtmlUnit for android ? Dec 23 22:36:09 i dont know isthereagirl Dec 23 22:36:24 well what do i do now Dec 23 22:36:36 the sdk classpaths seems to have everything Dec 23 22:41:42 ne1: did you write your hello world first ? Dec 23 22:42:09 is possible do anything like what HtmlUnit does ? Dec 23 22:44:55 i havent yet, shmooz, but i was able to run apps before Dec 23 22:45:10 try selenium isthereagirl Dec 23 22:46:22 im having some trouble understanding the hello world tutorial shmooz Dec 23 22:46:24 nder Select the form factors your app will run on, check the box for Phone and Tablet. Dec 23 22:46:27 where is this? Dec 23 22:46:39 i can not access to selenium it has limited my country to access Dec 23 22:46:42 i didnt see it in my new project menu Dec 23 22:47:06 https://github.com/SeleniumHQ/selenium Dec 23 22:48:46 ne1 : thank u very much there is selendroid Dec 23 22:50:36 so im fucked right now. i made a change somewhere and now NOTHING is working except i see my loadlib works. but in my onResume after my super. i have a Log.d that never shows Dec 23 22:50:48 ive no idea wtf i changed that fucked me over that hard Dec 23 22:51:00 i get ZERO helpful hints from logcat Dec 23 22:51:43 i have no way of telling what is causing the crash Dec 23 22:52:18 how would a more cluefull android developer discover whats fucked up in a case like this? Dec 23 22:52:33 breakpoint, debug Dec 23 22:52:35 i dont even know if my onresume is being called any more Dec 23 22:53:20 crap ive been doing NOTHING but printf debugging for the past 3 weeks i didnt even think of breakpoint :/ Dec 23 22:54:08 ok so the Log.d() is being execut4ed. its just never making it to logcat Dec 23 22:54:18 freeking logcat in intellij is fucking useless Dec 23 23:07:12 hey, I'm testing this method (http://www.tiemenschut.com/how-to-send-e-mail-directly-from-android-application/) executing in my lg g3 phone this (http://pastebin.com/PVp91QE0) and gettig this error (http://pastebin.com/6By5qbu2); I'm using Android Studio, does anyone know what could be wrong? Dec 23 23:17:38 is that your real password? Dec 23 23:28:25 Building and managing Android projects with maven is not as easy as it could be. So in this blog, I'll show you how we managed to get it work nicely. <-- that sentence CONVINCES me outright that i dont want a freeking thing to do with maven. ever Dec 23 23:29:25 like why i have to learn a whole new programming language just to program android... like it isnt already complefucking cated enough Dec 23 23:29:25 I440r we dont use maven Dec 23 23:29:42 erm yea im getting my wires crossed Dec 23 23:29:47 phew Dec 23 23:30:05 Wait until you start dealing with gradle Dec 23 23:30:12 Getting your streams crossed eh? Dec 23 23:30:27 thats what im trying to avoid is gradle. i just got the names mixed up Dec 23 23:30:46 Kind of unavoidable for Android at the moment Dec 23 23:30:48 i dont want to have to learn a new programming language and build programs in it just to build the programs im writing in java Dec 23 23:30:50 bankai_, no, for pastebin I didn't change, myne script have the real Dec 23 23:32:13 I440r theoretically, the DSL should have you covered. you only have to know groovy if you plan on creating your won tasks Dec 23 23:32:34 or plugins, or extra code to run , etc Dec 23 23:32:34 maybe write a new build system in forth :p Dec 23 23:32:50 Or in Kotlin Dec 23 23:32:54 i dont want to learn groovy. i dont want to learn ANY new programming language in parallel with my learning java JUST to be able to learn java Dec 23 23:32:58 fucking moronic Dec 23 23:32:59 nice try CedricBeust ! :P Dec 23 23:33:09 I440r then don't ? Dec 23 23:33:11 What try? There is no try... Dec 23 23:33:36 i bet > 90% of gradle users dont know anything about groovy Dec 23 23:33:37 I440r: You don't need to learn a new programming language but you're going to have to learn at least some basics of Gradle Dec 23 23:34:13 its basically just keyword { // some variable assignment } Dec 23 23:34:21 my debug session is now like this. click debug. wait for build. wait for load. see logcat utterly fail to show anything. close AVD, click debug. wait for it to build. wait for avd to boot. see app run and get logcat info... this lasts for a few minutes then i have to close the avd again. Dec 23 23:34:43 I440r, fix your setup, lol Dec 23 23:34:49 and 99% of my debug right now is printf's Dec 23 23:34:50 Start by debugging on real devices and no emulators, will cut the pain significantly Dec 23 23:35:00 erm. whats wrong wtih my setup Dec 23 23:35:14 no idea Dec 23 23:35:22 but im using emulators without what you just mentioned Dec 23 23:35:28 and lots of others too Dec 23 23:35:32 cant. i have 3 USB ports on my $2000 shiny new laptop 2 of them have mechanical failure already and the other is dedicated to the mouse Dec 23 23:35:46 USB hubs are a thing Dec 23 23:35:48 use wireles adb [solved] Dec 23 23:35:54 is this mac Dec 23 23:35:54 and i didnt jack them up. they just slowly screwed up Dec 23 23:36:07 no idea how to get wireless adb working in linux or on my devices Dec 23 23:36:07 Ashiren, price and number of ports sounds like mac, yeah :D Dec 23 23:36:15 NOT a mac Dec 23 23:37:00 my vpn client start screwing with adb wifi, had to move to tunnelblick Dec 23 23:37:01 its a $200 laptop because it is a gamers laptop (i dont game much). it has 4 hard drives in it and a dvd Dec 23 23:37:06 $2000 Dec 23 23:38:17 how is my setup broken and how do i fix it. and what part of my setup is broken? my android tools setup? my avd configured wrong? Dec 23 23:39:00 g00s how do you get adb over wifi working and NOT fuck up your internet connection which is over wifi? Dec 23 23:39:19 brb gotto go somewhere Dec 23 23:39:25 need to step away from kbd anyway Dec 23 23:39:26 so I have an activity with a huge amount of images in it (lots of heap used here). Sometimes I get OOM in the following activity because activity 1 still sits in memory eating my ram. Dec 23 23:39:52 use picasso or glide Dec 23 23:39:56 what would you do to avaoid this. I could finish activity A and recreate it when user presses back Dec 23 23:40:02 danijoo also listen for trim events Dec 23 23:40:04 Ashiren, picasso doesnt help Dec 23 23:40:28 Ashiren, picasso doesnt prevent the images from sitting in heap if the activity is still in the stack Dec 23 23:40:40 (im using picasso) Dec 23 23:40:55 doesnt it cache somewhere else? Dec 23 23:41:00 or has that option? Dec 23 23:41:21 yeah but if the activity is still in the stack and doest get recycled, the imageview will hold a reference on them Dec 23 23:41:27 unless I null the reference manually Dec 23 23:41:56 That is not true Dec 23 23:42:03 hmm Dec 23 23:42:07 then im doing it wrong :/ Dec 23 23:42:43 If im doing ActivityA.startActivity(activityB); activity A will stay in memory for me forever Dec 23 23:42:51 and hold its images Dec 23 23:42:55 memory leak? Dec 23 23:43:15 No. The user might press back. Dec 23 23:43:46 problem is that B will require lots of memory too, so im wondering how to avoid this Dec 23 23:44:01 I either have to null imageviews manually or finish A to recreate it later Dec 23 23:44:03 right? Dec 23 23:44:19 when setting android sdk version, does that change what java functions and classes i can use when i compile my app? Dec 23 23:44:33 danijoo: yep Dec 23 23:44:35 my computers too slow to use android studio so i have to do things manually at terminal Dec 23 23:44:44 s1l, yes. lower api versions means less features Dec 23 23:45:16 will it give an error if i try to use a function needing an sdk version higher? runtime or compile time? Dec 23 23:45:38 JakeWharton, thanks. so at least Im not doing anything fundamental wrong :p Dec 23 23:46:28 isnt a FrameLayout recommended to only have 1 child view? Im looking at the Plaid app and hes got 7 views in a framelayout Dec 23 23:46:46 orbyt_, no. you can but as many views in it as you want Dec 23 23:46:57 if you can live with its layout featues Dec 23 23:47:00 features Dec 23 23:47:14 orbyt_ also check out PercentFrameLayout Dec 23 23:47:26 I mean i know you 'can' I just remember ive always read that it "should" be used with only a single child Dec 23 23:47:34 with gravity and width/margin % you can get surprisingly far :D Dec 23 23:47:56 orbyt_ always .. read ... where? never saw that ever Dec 23 23:48:37 tons of articles on framelayout, even the docs say it:http://developer.android.com/reference/android/widget/FrameLayout.html Dec 23 23:48:41 woops: http://developer.android.com/reference/android/widget/FrameLayout.html Dec 23 23:49:25 ok "because it can be difficult to organize child views in a way that's scalable to different screen sizes without the children overlapping each other." Dec 23 23:49:39 that kinda changed with PercentFrameLayout Dec 23 23:49:42 orbyt_, FrameLayout is the best way to stack things one over another so that "should" isn't really all that strong :) Dec 23 23:49:53 "best" == "easiest" in a lot of cases Dec 23 23:49:56 It's also fast :) Dec 23 23:50:16 also the only thing that has setForeground() pre L Dec 23 23:50:34 Mavrik: exactly, which is why I was curious that statement was being plastered around everywhere Dec 23 23:51:59 anyway thanks guys, bbl...dinner Dec 23 23:53:51 if I try to use a java function or class that is higher SDK version that my minimum sdk version will it give me a runtime or compile time error? Dec 23 23:54:54 There's a difference between minimum and target Dec 23 23:55:19 hi all Dec 23 23:55:40 CedricBeust, care to explain more? Dec 23 23:55:57 i dont really good speak english Dec 23 23:56:06 but i have a problem with my code Dec 23 23:56:20 everyone can helped me of german? Dec 23 23:57:04 so whats the problem Dec 23 23:57:27 i paste the code Dec 23 23:57:29 moment Dec 23 23:58:54 compile time error Dec 23 23:58:56 http://nopaste.linux-dev.org/?904692 Dec 23 23:59:36 line 24. when i write testtest[0] it runs, but when i make testtest[1] i became this error Dec 23 23:59:52 s1l, you can use all methods up to maxSdkVersion, but if a method is not available at runtime (ie its from 21 but app runs on 18), you will get a crash Dec 24 00:02:27 snooky: String[] testtest = test[i].split("_-_"); ... if test[i] doesn't contain _-_, testtest.length will be 1, and testtest[1] will be out of bounds Dec 24 00:04:17 String[] test = ergebnisse.split("----"); Dec 24 00:05:12 an example of ergebnisse is so => for_-_bar---- Dec 24 00:05:14 for_-_bar---- Dec 24 00:05:21 grrrr => for_-_bar----for_-_bar----for_-_bar----for_-_bar Dec 24 00:06:05 i split this string to the test contain all ----. now i can make test[0] test[1] test[2] ....... Dec 24 00:07:30 now i will split "test[0]" at "_-_" and write it i testtest => so i must have testtest[0] and testtest[1]. on testtest[0] musst be foo and on testtest[1] must be bar, or no? Dec 24 00:07:38 i hope you understand this Dec 24 00:09:21 I'm reading in the docs and it says you should just test your app on an AVD to know if it is compatible with different target versions. is this the only/accepted way of knowing what min & max sdk version to set? Dec 24 00:09:36 seems a little iffy Dec 24 00:11:07 ugh, KeyGenerator returns a null key when creating a key for the finger print manager :( Dec 24 00:12:41 snooky: write Log.d("XXX","Test: "+test[i]); before String[] testtest = test[i].split("_-_"); and check for logs Dec 24 00:12:53 and it even says android versions are not necessarily backwards or forwards compatible? Dec 24 00:13:00 ok, moment Dec 24 00:13:40 s1l: you should always target the newest sdk Dec 24 00:14:08 Ashiren: 12-24 01:13:36.525 31876-31876/ovh.silberkristall.mp3mp4downloader D/XXX﹕ Test: King_Lil_G_-_Ignorance_(Official_Music_Video)_>2_rgnsFJ-uw 12-24 01:13:36.525 31876-31876/ovh.silberkristall.mp3mp4downloader D/XXX﹕ Test: G-Eazy_-_Random_(Lyric)_>FJiG-jOP9Qg Dec 24 00:14:11 what about the older devices Ashiren Dec 24 00:14:23 as for min, depends on the market but normally i wouldnt go below 16 (4.1) or 14 (4.0) Dec 24 00:14:27 let 2.3.3 die Dec 24 00:14:45 because if android API is not backwards or forwards compatible how are we supposed to work with that? Dec 24 00:15:04 min & max sdk version isn't even appropriate. you'd just need to test every single version at that rate Dec 24 00:15:13 am i missing something here? Dec 24 00:15:19 and android studio should complain if you try to use deprecated things, or things available only in max sdk Dec 24 00:15:42 not neccessary Dec 24 00:16:06 still its hugely backwards compatible Dec 24 00:16:24 oh Dec 24 00:17:16 ok i see, it says apps aren't necessarily compatible with older versions of android, but generally with newer versions of android Dec 24 00:18:22 Ashiren: 12-24 01:17:36.034 3692-3692/ovh.silberkristall.mp3mp4downloader D/XXX﹕ Test: NORMAN_-_LES_APPLE_ADDICT_>EHQCvSbHW-k 12-24 01:17:36.034 3692-3692/ovh.silberkristall.mp3mp4downloader D/YYY﹕ Test: LES_APPLE_ADDICT_>EHQCvSbHW-k Dec 24 00:18:30 Ashiren: Log.d("YYY","Test: "+testtest[1]); Dec 24 00:18:40 but the app crashed with the same error Dec 24 00:20:37 strange. this would happen only if test[i] didn't contain _-_ Dec 24 00:21:14 ? Dec 24 00:21:43 ah ok Dec 24 00:21:51 so whats wrong? Dec 24 00:22:01 i don't know o.O Dec 24 00:22:14 at ovh.silberkristall.mp3mp4downloader.MainActivity$readergebnisse.onPostExecute Dec 24 00:22:25 public class readergebnisse extends AsyncTask { Dec 24 00:22:49 what line exactly Dec 24 00:22:58 this line Dec 24 00:22:59 public class readergebnisse extends AsyncTask { Dec 24 00:23:26 i post completly. moment Dec 24 00:23:45 http://nopaste.linux-dev.org/?904698 Dec 24 00:23:47 so Dec 24 00:24:13 please stop giving german names to classes >.< Dec 24 00:24:33 :o Dec 24 00:24:42 sry. its "einfacher" for me :) Dec 24 00:25:05 why i < 10? are you sure it will be always 10? Dec 24 00:25:26 What is rknand_buffer and why might it be the top app cpu usage wise Dec 24 00:25:32 but its way "schwieriger" to read. :p Dec 24 00:25:54 no. but when i make for (int i =0; i< test; i++) the app crashed Dec 24 00:26:03 i have i < 10 set to test Dec 24 00:26:16 i < test.length Dec 24 00:26:24 ah, ok :) Dec 24 00:26:35 it wouldnt even compile :o Dec 24 00:26:54 Known issues: Dec 24 00:26:55 A known bug in Android 6.0 (API Level 23) causes user authentication-related authorizations to be enforced even for public keys. To work around this issue extract the public key material to use outside of Android Keystore. For example: Dec 24 00:26:56 hmm Dec 24 00:27:56 I'm confused what that means exactly, because none of the subsequent examples mention this bug at all, nor is there a link to a bug # that expands upon that note Dec 24 00:29:15 but this is not why the app crashed ^^ Dec 24 00:30:40 when i use testtest[0] it runs, when i use testtest[1] the app crashed with at ovh.silberkristall.mp3mp4downloader.MainActivity$readergebnisse.onPostExecute and the line is public class readergebnisse extends AsyncTask { Dec 24 00:34:47 Fullcode => http://nopaste.linux-dev.org/?904699 Dec 24 00:35:02 Full error => http://nopaste.linux-dev.org/?904700 Dec 24 00:36:09 snooky, you cant access testtest[1] if the size of testtest is only 1 Dec 24 00:36:15 because ids start at 0 Dec 24 00:36:43 yes, but after the split testest must be have [0] and [1] Dec 24 00:37:32 it hasnt Dec 24 00:37:37 attach a debugger and check it Dec 24 00:37:49 before: foo_-_bar | then split("_-_") | then [0] => foo [1] => bar Dec 24 00:38:32 attach a debugger and check it Dec 24 00:39:00 no point in discussing this Dec 24 00:39:11 the stacktrace tells you its not size 2. so it isnt Dec 24 00:44:09 I see Dec 24 00:44:17 all the public keys that come from the keystore/generated need to be wrapped Dec 24 01:16:47 Caused by: android.security.KeyStoreException: Unknown error Dec 24 01:16:47 at android.security.KeyStore.getKeyStoreException(KeyStore.java:632) Dec 24 01:16:50 meh, that's handy... Dec 24 01:22:58 anyone know how plaid achieves that recyclerviews scroll behavior on the home activity? Dec 24 01:23:18 basically the recyclerview scrolls on top of the toolbar Dec 24 01:23:19 orbyt_ you could look at the sources :D Dec 24 01:23:27 yea i am but havent figured it out yet Dec 24 01:26:38 orbyt_ look at the theme Dec 24 01:35:49 g00s: hm not seeing anything that sounds like it would accomplish that. Can that even be done with just a theme? Dec 24 01:38:23 g00s: ah wait a second, I see the HomeToolbar has its elevation set to 0 when using that theme..that cant really be it though can it Dec 24 01:39:04 yeah look at activity_home.xml too Dec 24 01:42:41 yea im looking at it now. For some reason he has the toolbar set at 1dp there but then sets a style on it with 0dp. Does outlineProvider have anything to do with it? Never seen that used before Dec 24 01:43:16 don't know. also remember they are all in framelayout Dec 24 01:45:52 yup, ill test it in a bit, think its easier than i thought. thanks Dec 24 01:59:25 i created an arm device but it's asking me to repair device Dec 24 01:59:40 and i cant emulate x86 Dec 24 02:01:33 so ridiculous Dec 24 02:01:40 android 18 failed to load Dec 24 02:09:03 is anyone here supporting 21+ ? Dec 24 02:09:55 orbyt_, supporting scrolling through toolbar is painful if you want to support pre-api19 Dec 24 02:10:26 ugh, can't figure out how to get this cipher to decrypt... Dec 24 02:10:28 ive been doing 19+ for awhile, just wondering if anyone is doing 21+ and hows it working out Dec 24 02:10:41 minSdkVersion=19? ok Dec 24 02:10:47 yea Dec 24 02:10:48 minSdkVersion=21 has a very narrow userbase Dec 24 02:11:00 you can do whatever you want for your own projects Dec 24 02:12:21 mhm, which is why i was wondering how its working out for anybody thats doing it Dec 24 02:14:30 what's to wonder Dec 24 02:14:56 * pfn twiddles thumbs while 6.0.1 aosp sync Dec 24 02:15:00 must dig through source... Dec 24 02:16:20 https://github.com/googlesamples/android-AsymmetricFingerprintDialog Dec 24 02:16:25 this stupid sample only shows a signature... Dec 24 02:16:35 pfn: uh, how their downloads are doing, how they felt about supporting only 21+, lots of things to wonder about. Dec 24 02:16:52 anyone that has v21+ only has no downloads Dec 24 02:17:11 source? Dec 24 02:17:13 support v21+ only is easy Dec 24 02:17:18 android device dashboard Dec 24 02:18:23 pfn: 21+ is 30% Dec 24 02:19:05 is that so then, then you'll have 30% of what you would otherwise have Dec 24 02:23:26 no? that depends on what you would otherwise target. also its not like it translate evenly. Dec 24 02:23:31 translates* Dec 24 02:24:29 depends on your app, but it translates pretty evenly Dec 24 02:25:02 agreed, im just saying, users running the latest versions presumably have different download habits than those still running say, gingerbread Dec 24 02:27:01 http://pastie.org/10650127 Dec 24 02:27:01 meh Dec 24 02:27:08 * pfn kicks the oddly useless message Dec 24 02:27:15 bad block size is definitely not at all expected Dec 24 02:43:57 night guys, long time no see, but great to see some oldies around ;) **** ENDING LOGGING AT Thu Dec 24 02:59:59 2015