**** BEGIN LOGGING AT Wed Jun 01 02:59:59 2016 Jun 01 03:11:25 are you familiar with Trello? Jun 01 03:11:42 I've got the Firebase backend more or less figured out. I'm not even sure how to implement a UI like that Jun 01 03:11:59 horizontal and vertical scrolling, dragging items between lists Jun 01 04:00:46 hey folks, if I want to save values into a map from one intentservice and have it be used in another intentservice could I do this without resorting to wekhashmap? the map stores Calendar objects as values which I use internally and are updated once a day or so... Jun 01 04:06:47 when open a new activity that has dynamic content, the page doesn't load with the top of te layout. That is, it's scrolled down like half way sometimes. Is there a way to keep the view at the top? Jun 01 04:09:30 nevermind, figured it out from stackoverflow: added Jun 01 04:09:32 android:focusableInTouchMode="true" Jun 01 04:09:40 to the parent layout Jun 01 06:03:08 hi Jun 01 06:04:21 My app was working fine until I made put the layout within a ScrollView. All of the sudden my GridView was no longer scrollable. Ideas? Jun 01 06:05:26 - Jun 01 06:19:29 probably some scroll conflicts between scrollView and gridView Jun 01 06:20:14 generally fixing it sounds hacky http://stackoverflow.com/questions/12859250/how-to-put-gridview-inside-scrollview Jun 01 06:25:38 @Ashiren I just read that it doesn't work because you aren't supposed to have a scrollView nested inside another scrollView Jun 01 06:25:57 Apparently it goes against the whole point of using a scrollView as the parent. Jun 01 06:26:00 - Jun 01 06:37:28 eeyup Jun 01 06:40:21 Yeah, fair call. I'll do away with the gridView. Jun 01 06:41:59 hi all Jun 01 06:43:43 I have a small problem with relative layout Jun 01 06:43:49 here is my layout: http://shorttext.com/79e6a7e4 Jun 01 06:44:59 now I dynamically inflate it at runtime and add it into a vertical Linear layout. Jun 01 06:45:51 but this relative layout becomes full screen which should not, because I have specified width and height for it. Jun 01 06:45:57 Any idea why? Jun 01 06:48:46 I should say that I inflate it with "getLayoutInflator().inflate(R.layout.settings_item, null);". Jun 01 06:49:00 does passing null as 2nd parameter can cause this problem? Jun 01 06:50:09 how doyou add the view Jun 01 06:50:34 afair default is width MATCH_PARENT and height WRAP_CONTENT Jun 01 06:53:13 Ah, hang on. Will using a GridVIew in Wrap_Content cause it to fill the memory with every single row whether it is on the screen or not? Jun 01 06:53:26 That kind of goes against the whole point of RecycleViews. Jun 01 06:53:36 you mean adding this relativelayout to parent? Jun 01 06:53:45 This is assuming that gridView is a child of RecyclerView or works the same... hmm Jun 01 06:58:52 a question Jun 01 06:59:03 i have proguard enable on debug build (crazy i know) Jun 01 06:59:34 the debugger however doesnt quite work. i can break point and all, but it will hardly show the values of variables Jun 01 07:00:18 my colleague had similar problem but one time he checked something on dialog and now hes able to normally debug proguarded build Jun 01 07:00:23 but he doesnt remember what was it Jun 01 07:00:35 what could it be? Jun 01 07:00:50 hi guys, im a bit of a nub on concurrency, runnables etc, and would like some input on the following: http://pastebin.com/HFyQfn43 << the runnable's run calls a method which should run only once, but that method calls another method which actually does the copy/pasting in the background Jun 01 07:02:09 checkJsonsExistence() actually checks/copies 3 more files Jun 01 07:04:20 . Jun 01 07:05:57 Raoul11: so the problem is with checkJsonsExistence itself, not concurrency? Jun 01 07:06:52 theres actually no problem, but im wondering if the call to copyFile method from within the checkJsonExistence needs its own runnable Jun 01 07:07:13 Raoul11: nut postDelayed runs the Runnable in UI thread Jun 01 07:07:19 im also wondering if this is the correct way to deal with 1time checks of io operations Jun 01 07:08:07 handlers do things in UI thread only, so you still copying in UI thread Jun 01 07:08:28 either use AsyncTask, or quick (& dirty) new Thread(new Runnable()...).start() Jun 01 07:09:16 will it run only once? Jun 01 07:10:44 Ashiren: new Thread.. is the devil Jun 01 07:10:55 once in activity lifetime Jun 01 07:11:46 the devil i tell you! Jun 01 07:12:47 Raoul11: the link is dead Jun 01 07:12:58 so i guess the answer you got is good enough Jun 01 07:13:09 http://pastebin.com/WgEvPk5v | revised with the use of Thread Jun 01 07:13:15 amidoingitright? Jun 01 07:13:43 what operation are you trying to do? Jun 01 07:14:15 because spawning threads is a good way to kill battery and is generally considered a bad practice Jun 01 07:14:18 check file existence, if not - copy from assets() to internal files storage Jun 01 07:14:30 for 4 files Jun 01 07:14:35 and this must be tied to an Activity? Jun 01 07:14:47 because you can do it in a service or any other thread Jun 01 07:15:06 well later on i am doing some more io operations with those files Jun 01 07:15:23 is this an operation that needs to happen upon startup of the application? Jun 01 07:16:15 depends, im still not sure if splash screen is considered as an activity at all Jun 01 07:16:33 if so, then this activity is the second activity, and i assume that would be fine Jun 01 07:16:43 why not start a service or thread in the Application onCreate? Jun 01 07:17:40 app's onCreate? Jun 01 07:18:12 extend Application Jun 01 07:18:16 and override onCreate Jun 01 07:19:33 interesting Jun 01 07:19:39 wasnt even aware of such Jun 01 07:19:52 you live, you learn Jun 01 07:19:54 :P Jun 01 07:21:34 but as for general knowledge thepoosh, for doing IO operations (read/write with gsons), the threading approach is preferable? Jun 01 07:21:58 yes, you can always test by enabling StrictMode Jun 01 07:22:04 and see if you're dead Jun 01 07:25:13 kk Jun 01 07:42:16 hi Jun 01 07:42:30 could plz so check this out :) http://pastebin.com/VjFWcUiA Jun 01 07:42:57 ? Jun 01 07:43:00 its not working.. im completly new on this stuff.. a hint would be nice Jun 01 07:43:18 i just wanted to test a switch button Jun 01 07:44:04 umm.. switch button doesnt change the text? Jun 01 07:45:20 actually i cant open the emulator.. its always stopping.. unfortunately couldnt open bluetooth blabla Jun 01 07:45:36 so i asume anything is missing in the code Jun 01 07:46:02 what does the logcat say Jun 01 07:46:07 look for Exception Jun 01 07:48:15 you cant open emulator or the app cant open on the emulator? Jun 01 07:49:30 no i mean emulator is working.. but it cant open the app.. there is always the message: unfortunately bluetooth has been stopped Jun 01 07:49:37 Connected to the target VM, address: 'localhost:8628', transport: 'socket' Jun 01 07:49:52 android emulators dont have bluetooth Jun 01 07:49:56 Disconnected from the target VM, address: 'localhost:8628', transport: 'socket' Jun 01 07:50:31 no bluetooth is only the name of the app.. i am still at the beginning ^^ there is no bluetooth methods implemented Jun 01 07:52:40 in this case there should be more in the log Jun 01 07:52:43 than this line Jun 01 07:53:19 btw your class is abstract and therfor cant be started. that could be one issue Jun 01 07:53:20 i bet youre getting NullPointerExceptions Jun 01 07:53:46 oO Jun 01 07:55:06 yes there was once something with nullpointerexception.. so what can i do? Jun 01 07:55:26 read the stacktrace and fix it Jun 01 07:57:33 or post it Jun 01 07:58:23 ok it was the abstract.. forgot to delete it.. its working now thx xD Jun 01 07:59:44 i have programmed a microcontroller and try to build a bluetooth connection to it.. need to send a char array i think or a string.. does anyone maybe know a tutorial for that? Jun 01 08:00:11 you cant do that from an emulator Jun 01 08:00:48 but i can upload it afterwards on my phone, then it should work or not? Jun 01 08:03:31 yes Jun 01 08:15:22 hi! Jun 01 08:16:29 I need some help with the newly introduced 'externalNativeBuild' ; I know it is a preview only but the problem should be easy to fix. It is about include headers Jun 01 08:16:37 anyone here who might help? :) Jun 01 08:37:47 Hi! I am not able to test my new APK version using Alpha/Beta test in Dev Console. Google support told me, that there would a conflict with different ABI versions in my manifest file. I have no idea how to check or fix this problem. Jun 01 08:47:26 hi Jun 01 08:47:37 is it possible using ormlite to insert uuid as PK as blob? Jun 01 08:52:06 DevAntoine: I think so Jun 01 08:53:33 pduin: how do you do? Jun 01 08:53:40 the doc states it's stored as varchar Jun 01 08:54:36 I don't know. I only user integers for id fields Jun 01 08:56:08 pduin: I've seen nothing in the doc except it's stored as varchar Jun 01 09:01:09 Ah, I just read you want to store it as BLOB. Not sure if you can make it store an UUID that way, sorry Jun 01 09:09:55 hey guys Jun 01 09:10:41 what do you do when you have the same asynctask going out to the server and the only thing changing is the text of the dialog that appears while waiting, the function that runs on return/succeed of the request? Jun 01 09:13:49 DevAntoine: It might be worth nosing around in the com.j256.ormlite.field package. Maybe you can create some kind of custom fieldtype which can store UUIDs as blobs Jun 01 09:18:28 pduin: thanks, we will investigate Jun 01 09:52:40 is it possible to set okhttp's logging interceptor's log level to Warn or Info? Seems to default to Debug Jun 01 10:22:42 Should I only keep one instance of OkHttpClient in my app, or can I have one for each class? Jun 01 10:25:41 Napalm|afk: How are you? Jun 01 10:25:51 good Jun 01 10:25:54 you? Jun 01 10:26:06 I am good Jun 01 10:50:42 hi o/ Jun 01 10:51:33 \o ho Jun 01 10:52:59 I'm refreshing my skills on latest java+android, and I'm writing an app for my own use (I do not intend on publishing) just for removing the "rust" Jun 01 10:53:30 that being said, I'd like to implement a REST client for my app to get data from a service I wrote, but I found several ways of doing it Jun 01 10:54:02 either using spring, or using some other frameworks like volley, restdroid… Jun 01 10:54:32 what would be the simplest and most elegant way to implement a rest client? :) Jun 01 10:56:00 zmo: I recommend retrofit Jun 01 10:56:05 (I guess that can lead to opiniated answers, but I'm really looking for avoiding writing an overengineered solution, or using too many external deps) Jun 01 10:56:24 zmo: i would suggest looking at something like retrofit. I really like what they are doing. Probably a simple library but i found it really simple to use Jun 01 10:56:31 zmo: which uses the gson library for json processing (by default, you can change it if you have a preference) Jun 01 10:56:42 arkaros: I suggested that already! :) Jun 01 10:56:50 nice Jun 01 10:57:06 looks like it's a good lib, if you both recommend it ☺ Jun 01 10:57:12 yup Jun 01 10:57:15 but me first :P Jun 01 10:57:21 arkaros: <3 Jun 01 10:58:52 I am an android development newbie. This Appcompat support library they have for supporting old android devices and new UI widgets? Is it needed for 5.0? or is it for anything older than 5.0 only? Jun 01 11:00:11 wyoung: <3 Jun 01 11:00:28 sylon: You don't need to use it at all. It just lets you use equiv widgets or functionality that exists in the lastest vers of android Jun 01 11:00:41 sylon: yes, there are thing in appcompat newer than in 5.0 :) Jun 01 11:01:12 wyoung: so for example the Floating action button, if i use it in my app and don't use appcompat what happens to old devices ? Does it crash the app or just not show up? Jun 01 11:01:39 sylon: it won't show up Jun 01 11:01:58 sylon: in order for your app to compile properly you will need to set the min version Jun 01 11:02:33 You can use annotations to use newer bits of code if the version is correct Jun 01 11:02:52 or fallback to a compatible version for older clients Jun 01 11:04:02 whaaa… to add support for retrofit in the android app, I just need to add `compile 'com.squareup.retrofit:retrofit:1.9.0'` to the module gradle build file‽ Jun 01 11:04:31 damn, things are getting way better than what it used to be in android world ☺ Jun 01 11:06:13 wyoung: so i tried using appcompat library but there's layout and padding issues with stuff? like FAB in 4.0. is that normal? how do you get around it? Jun 01 11:07:10 ah found it here: https://code.google.com/p/android/issues/detail?id=175330 Jun 01 11:07:14 i am suffering this same problem Jun 01 11:07:16 ah Jun 01 11:07:31 sylon: I don't use it any more, I have had lots of grief with it too :) Jun 01 11:08:00 wyoung: so how you support old devices without making your UI look inconsistent Jun 01 11:08:32 sylon: My UI looks consistantly old :) Jun 01 11:09:17 I am thinking about dropping support for anything under 5.0 and just using the lowest baseline for anything not in 5.x Jun 01 11:09:36 4.x seems fiddly, since my apps are hobbiest / experiemental at home anyway Jun 01 11:10:07 I have had no problems with the support library so far Jun 01 11:10:12 when/how will google solve this problem of updates... Jun 01 11:10:29 Or rather no unfixable issues Jun 01 11:11:00 I hope they do something like, if you don't have latest or latest-1 android version and monthly security patches then no play store access for your device till its updated. Might get manufacturers off their ass if they get a lot of people returning devices cause of this. Jun 01 11:12:25 arkaros: ok but is there a place that documents all the problems / pitfalls with various releases? Or do you basically just have to use google/stackoverflow finding it Jun 01 11:13:30 Hi. I've a viewpager that needs data to be fetched from a server. How can i "pass" the data fetched from the server to the adapter? Do i need to fetch the data first and then pass them to the adapter? Jun 01 11:16:28 eh.. I hate evenbus :P Jun 01 11:27:21 sylon: write tests and test when you upgrade the support library Jun 01 11:29:25 Guys I need opinion, consider it as a survey. What is the minimum android version do you target? I'm asking this for a new app. Jun 01 11:30:29 so, i'm new to android development and i'm stuck at working with list view , any help would be appreciated Jun 01 11:30:51 i kept getting a runtime error which i fixed Jun 01 11:31:14 but the tutorials online are all different and have me confused now, any reference i can follow? Jun 01 11:35:49 if i have two folders in resources values and values-v21, does values-v21 inherit the other? Jun 01 11:41:53 yes, values-v21 will overwrite values or use its value if absent in v21 Jun 01 11:52:32 hi guys ... anyone to detect an incoming call was farwarded??? Jun 01 11:52:45 tumbler: log files Jun 01 11:52:52 tumbler: or CDR Jun 01 11:53:27 that reminds me, I need to get the postgreSQL schema for asterisk Jun 01 11:53:38 what??? i need a way to detemine that above Jun 01 12:00:13 none Jun 01 12:05:25 tumbler: sorry, I thought I was in #asterisk :P Jun 01 12:06:27 SHC, with min sdk 16 you cut off 4.3% of users, with min SDK you target 75.6% of users. See more at https://developer.android.com/about/dashboards/index.html Jun 01 12:17:20 In MVP architecture how we can get selected object on Item click Jun 01 12:20:37 is there a way with device admin to force the user to set a screen lock password? Jun 01 12:20:55 i've already set the pw quality and minimum requirements Jun 01 12:31:36 azgul: 4.3 is minimum for me, because it introduced OpenGL ES 3.0 Jun 01 12:31:45 That's a necessity for my game. Jun 01 12:34:44 So what's the dilemma? Jun 01 12:37:44 what method is called when an app is already active in background and you reopen it again? Jun 01 12:37:54 it tried onResume but that doesnt work Jun 01 12:45:22 does values-v21 work on api 23 ? Jun 01 12:52:26 michael33, you'll have to be more specific of what do you want exactly. Jun 01 12:52:38 "App being active in background" is not a single thing on Android. Jun 01 13:01:27 ok, i decided i will shell out for a nexus 5x or 6p. which one should i get for development? Jun 01 13:04:11 kael03: what are you developing? Jun 01 13:04:23 is there a built in editor on adb shell? Jun 01 13:04:25 a developling Jun 01 13:05:01 wyoung, i kind of have a broad view on what i want to develop. :/ Jun 01 13:05:25 kael03: then get a phone that supports the features you want to develop :) Jun 01 13:07:19 i want the ui to look nice, gps, i'll add baas, etc Jun 01 13:07:29 no high end games Jun 01 13:08:37 6p is fancier isnt it Jun 01 13:10:53 yea, im leaning toward the 6p, but wanted an opinion on what everyone here uses Jun 01 13:36:10 is it possible to have android studio delete my app cache/data before running my app? Jun 01 13:36:22 whats the best way to supply app external resources (Strings, Drawables, etc) to an app to be used in-app.... looking and there seems to be a few ways, just wondering if anyone has done this Jun 01 13:36:25 im getting tired of deleting it manually every time i run it Jun 01 13:36:56 michael33 I would suspect you can change the gradle task to be able to use the flag that does not do the upgrade Jun 01 13:37:00 but I'm guessing here Jun 01 13:37:36 k Jun 01 13:38:04 why is it that the playstore does limit the search Jun 01 13:38:37 new apps arent listed unless you search the full name Jun 01 13:39:17 until they acquire some ranking Jun 01 13:39:43 by downloads/reviews/retention/whatever googles considers Jun 01 13:52:23 trying to compare 2 strings using "if (dbImsi.equals(liveImsi))" Jun 01 13:52:30 not working Jun 01 13:52:40 i tried if (var != var2) Jun 01 13:54:03 how do u guys in here market your apps? Jun 01 13:54:38 coz they're not the same object. equals() is the way Jun 01 13:54:51 rocket__: for me, very poorly. Jun 01 13:55:09 Raoul11: i tried that also not working Jun 01 13:55:14 if (dbImsi.equals(liveImsi)) Jun 01 13:55:32 if (!dbImsi.equals(liveImsi)) <-- same here Jun 01 13:55:54 u sure none of the strings has some empty space which bugs the compare? Jun 01 13:56:15 are there ppl in here making money from the store? Jun 01 14:06:58 Raoul11: do u have apps in the store? Jun 01 14:07:15 a couple right now Jun 01 14:07:29 had about 10, some i unpublished a while back Jun 01 14:12:46 Raoul11: can i see one? Jun 01 14:23:20 Hi guys! How do you implement MVP in you applications? Do you use some frameworks like Nucleus for that or just implement it manually following your own architecture rules? Jun 01 14:23:39 any apps to share android screen on a mac? Jun 01 14:24:09 I have never implemented MVP in Android development so far and I want to try finally, just not sure what to read on that... Jun 01 14:28:15 hithere Jun 01 14:28:23 thepoosh, haro Jun 01 14:28:39 how can i play a game using mac screen :D ? Jun 01 14:28:49 android to mac screen share or scren streamer !? Jun 01 14:30:08 AS - logcat - package name mysteriously disappeared from output -> it says "No debuggable Application" Jun 01 14:30:34 it is logcat on Win 7 - anyone know what to do with that? Jun 01 14:33:44 ok solved by enabling ADB integration http://stackoverflow.com/questions/25504822/logcat-cannot-detect-app-or-package-names Jun 01 14:35:04 which was probably turned off by Android Device Monitor, but it was not turned on close automatically Jun 01 14:36:56 bolovanos: hai Jun 01 14:40:01 any good pointers to how to store private keys for API calls? Jun 01 14:43:40 so anytime i add some piece of code i have to 1. wipe app cache, 2. set permissions again. 3. disable admin mode? Jun 01 14:43:51 i cant imagine there is no option to automatically do this Jun 01 15:05:47 I am confused. I am planning to use some API for functionality that is only available to those devices that have that API. I know I can test for the presence of the API in Java code but I am not clear what is and what isn't allowed. Jun 01 15:06:27 basically you have to not call the old api where it doesn't exist Jun 01 15:06:35 so make sure any use of it is checked against the build version Jun 01 15:06:42 I am writing code so that none of the API is used if the API is not present... but, is it OK to have an import statement to that API? Jun 01 15:07:55 dragorn, so it is only a runtime issue, I can still use classes that have this API code as long as that API code is not actually used? Jun 01 15:12:06 dofidum, should be yeah, so long as you compile against the sdk (or newer) that supports it Jun 01 15:12:10 it wont' fail until you try to use it Jun 01 15:22:45 Can I have an instance of OkHttpClient in each class that needs it? Jun 01 15:40:08 Kake_Fisk: probably you only need one client and then each class can have a reference to it. Jun 01 15:41:24 Yeah, okay. If I find out OkHttpClient is a light class, would it still be a bad idea? Maybe it has implications for sockets or caching? Jun 01 15:42:48 http://stackoverflow.com/questions/37553519/shared-element-transition-with-floating-action-button-studders any suggestions Jun 01 15:55:34 Kake_Fisk: not really sure Jun 01 15:55:45 I see :) Jun 01 15:59:03 jsvgoncalves: check out https://github.com/scottyab/secure-preferences Jun 01 15:59:48 Kake_Fisk: would you have one copy of the key to your car for every day of the week? Its lightweight Jun 01 15:59:53 hi Jun 01 16:00:19 I would say that also poses a security risk ;) Jun 01 16:00:43 I would assume that the client is to be treated like a connection pool and should only use a single instance that is shared but I'm not sure how the client is implemented Jun 01 16:01:26 * Ping_2_Ur_Pong bows to NeoFrontier good day Jun 01 16:05:05 Also since this is probably something you want to mock in tests you should provide it to the class rather than instantiate it in the class it self Jun 01 16:10:40 hi! Jun 01 16:26:12 can I somehow have optional dependencies and class compiles? Jun 01 16:31:43 I guess I'm looking for conditioal compilation, maybe I can do that somehow with gradle? Jun 01 16:34:12 bfrog related to jfrog ? Jun 01 16:34:54 What the hell is going on with these shared element transitions? https://gfycat.com/NegativeHeavyHind Jun 01 16:35:42 g00s: nope Jun 01 16:38:40 anyone know how to include an android library's source code as a module (with both of the library's build.gradle files, not sharing the app's root build.gradle like normal modules do) and still get the app to find it as a dependency? Jun 01 16:38:58 basically i want to add the library project as a submodule or something, as is, so i can make changes to it and still submit pull requests or pull the lastest changes Jun 01 16:41:05 bmcdermott : File import module -> import the library as a module; File -> Project structure -> Modules and add it as a dependency Jun 01 16:41:59 Why not fork it and make changes on a forked version? That way you share the changes you felt was needed with the community so that maybe someone else can benefit from the work you did Jun 01 16:43:34 Anyone have any idea on my issue? I honestly think it's to do with the fact that it's a recyclerview of cardviews Jun 01 16:43:55 why would that be relevant Jun 01 16:44:18 also, code plz Jun 01 16:44:56 how stable is AS 2.2 beta ? \ Jun 01 16:50:07 orbyt_: https://gist.github.com/RubenRocha/b894386f344b76038a26a619a97cd573 Jun 01 16:52:40 does the issue persist with the default shared transitions? Jun 01 16:54:15 g00s, 74.234687344 and yes Jun 01 16:55:11 adq reading about the new constraintLayout "There is now a top level container that is designed to be the main one everyone should use always" Jun 01 16:55:14 orbyt_ : well shit, removing the setSharedElement*Transition, actually fixed it Jun 01 16:55:18 them are fighting words ! Jun 01 16:55:23 lol Jun 01 16:56:26 "As with all things Google we are approaching this with cautious optimism." Jun 01 16:56:27 lol Jun 01 16:58:02 where are the benchmarks Jun 01 16:58:56 i saw only one example earlier comparing measure time, draw time etc with hierarchy viewer but what they compared was not really equal Jun 01 17:05:11 https://gfycat.com/SnappySeparateDeer Jun 01 17:05:34 whys it snapping Jun 01 17:08:27 Do I have any hope modifying a non-final float from an other thread? Jun 01 17:10:05 adq hm, have not seen banchmarks - thought @ i/o they said optimizations would be coming Jun 01 17:15:25 bolovanos_: here? Jun 01 17:15:44 yes Jun 01 17:15:59 you were looking for me? Jun 01 17:16:59 not exactly, but thank you, was just referring to Team America - I have seen it last week Jun 01 17:17:23 some scenes cannot be unseen... Jun 01 17:17:32 OH HARRO bolovanos_ Jun 01 17:17:44 dod you watch the explicit version? Jun 01 17:19:12 Team America World Police - Unrated... - probably yes Jun 01 17:19:21 cbeust pretty good (programming/libraries) http://lbstanza.org/purpose_of_programming_languages.html Jun 01 17:19:31 thepoosh ! Jun 01 17:19:36 sup Jun 01 17:19:49 bolovanos_: was there a... brown shower...? Jun 01 17:20:04 g00s: today was not a good day Jun 01 17:20:13 oh oh Jun 01 17:20:49 nah, it's ok Jun 01 17:20:50 just me Jun 01 17:21:06 no real worries Jun 01 17:21:10 ... I hope Jun 01 17:21:22 thepoosh what if Glide pivots to dating :P Jun 01 17:21:36 i don't care Jun 01 17:21:36 you guys can swipe left / right videos :D Jun 01 17:21:41 dating == sex == money Jun 01 17:21:47 thepoosh, not sure - was it in North Korea? btw - I have seen endless p.ke scene Jun 01 17:21:47 lol Jun 01 17:22:03 I wish I was more like Tinder Jun 01 17:22:13 bolovanos_: nah, talking about the sex scene Jun 01 17:22:16 and poop Jun 01 17:22:26 if you don't know what I'm talking about, you saw the mellow version Jun 01 17:24:11 replayed those few secs and it is not there Jun 01 17:24:30 so you got the goodie 2 shoes version Jun 01 17:24:41 what is wrong with that bottom side of man? Jun 01 17:25:09 like in skype - there is p.king emoticon, but non for bottom part Jun 01 17:25:57 are you talking about butts? Jun 01 17:26:13 hypercorrectness transformed to hyperstupidity Jun 01 17:26:26 not actually b.tt - there is one Jun 01 17:26:37 I am talking about act of B's action Jun 01 17:26:38 :D Jun 01 17:27:31 g00s: have you seen this? https://redd.it/4lw649 Jun 01 17:28:06 either this is an over suffisticated way to self promote, or this guy is an idiot Jun 01 17:31:42 that’s an odd thing indeed Jun 01 17:33:02 s73v3r: that is the definition of NOT being a junior but not being professional enough for senior Jun 01 17:59:14 aha Jun 01 17:59:17 I'm here :) Jun 01 18:03:59 thepoosh yeah i kinda read it, what did you think ? Jun 01 18:04:46 I think he's over qualified for junior and over complicated, too much of a showoff for senior Jun 01 18:04:54 so no wonder he didn't get the jib Jun 01 18:04:59 *job Jun 01 18:05:10 oh. without knowing more, all i can say it seems hiring is very broken Jun 01 18:05:30 how do you mean? Jun 01 18:05:39 the interview process Jun 01 18:06:16 coding at the whiteboard, etc / lol Jun 01 18:06:54 oh Jun 01 18:07:03 yes, coding on a white board sucks Jun 01 18:07:30 thepoosh one of the trends i've been reading about is to hire worker for a sprint, or a feature, and then let them go. they are calling them 'tours of duty' . when your tour is up, theor job is over Jun 01 18:07:48 that is basically freelancing Jun 01 18:07:54 i hope the pay is good Jun 01 18:08:13 the future seems pretty dismal for stable work Jun 01 18:08:30 i wouldn't be too depressed Jun 01 18:08:41 thepoosh spend more time in the US :) Jun 01 18:08:45 waze are looking for an android dev if you want to move to israel Jun 01 18:09:00 thepoosh waze is in israel ? Jun 01 18:09:14 they are part of google too right ? Jun 01 18:09:22 they are now Jun 01 18:09:29 got bought for 100M $ Jun 01 18:10:42 https://www.google.com/about/careers/jobs#t=sq&q=j&li=20&l=false&jl=32.0852999%3A34.78176759999997%3ATel+Aviv-Yafo%2C+Israel%3AIL%3AIL%3A5.893561244547029%3ALOCALITY&jl=32.7940463%3A34.98957100000007%3AHaifa%2C+Israel%3AIL%3A%3A6.205346745542242%3ALOCALITY&jld=10&yes&jcoid=7c8c6665-81cf-4e11-8fc9-ec1d6a69120c&jcoid=e43afd0d-d215-45db-a154-5386c9036525& Jun 01 18:12:35 i can’t imagine the “Tour of Duty” concept would work unless they were pretty long tours, and you still had a core group of permanent devs Jun 01 18:13:02 imagining myself coding at the whiteboard. my cursive writing is like that of doctors' prescriptions (used to be completely unreadable down here in this part of the planet) Jun 01 18:13:16 s73v3r: I have co-workers who used to do that as employees of a project company Jun 01 18:13:40 i think it's called contractors or freelancers or consultants or etc Jun 01 18:13:45 depending on the context Jun 01 18:13:58 also, i have essential tremor which increases in certain situations Jun 01 18:14:27 essential tremor? Jun 01 18:14:59 yep, it's a condition Jun 01 18:15:32 the 'tour' concept was somewhat between freelancer / FTE; you are a FTE but its like being an employee knowing that your job will only exist until a certain thing needs to be done shorter term Jun 01 18:15:39 "shaking hands" Jun 01 18:15:54 it's like parkinson Jun 01 18:16:44 it affects fingers/hands Jun 01 18:17:45 i went to technical high school on electronics. lots of fun for the colleagues when i had to use the solder iron Jun 01 18:18:36 hmm thats interesting Jun 01 18:19:33 actually i've been noticing i've had involuntary hand shaking lately... Jun 01 18:19:36 hmm.... Jun 01 18:20:08 anyway, does anyone know of any slack apps for sending formatted code? Jun 01 18:21:52 orbyt_ does it only happen when your wrist is on the keyboard ? Jun 01 18:22:17 or like your hand is on the keyboard, but wrist is at the end of the table, than can pinch nerves Jun 01 18:23:48 thepoosh mess around with constraintlayout yet ? Jun 01 18:24:04 nope, AS preview was not nice to me Jun 01 18:24:17 oh lol, i guess that answers my question about AS preview Jun 01 18:24:27 g00s you tried it ? Jun 01 18:24:44 no - you can do it via XML, but seems intended way is via AS Jun 01 18:24:46 seems like a big copy of iOS Auto Layout Jun 01 18:24:49 kinda nervous about that tight coupling Jun 01 18:25:06 g00s: the good part about it is the flattening of layouts feature Jun 01 18:25:17 like 'to edit these constraints this way, you need AS version xxxx' Jun 01 18:25:20 What is the prefered pastebin? Jun 01 18:25:30 but I'm stuck because you must use java8 and jack&jill Jun 01 18:25:31 jrtappers anything not in channel :D Jun 01 18:25:39 jrtappers: whatever Jun 01 18:25:47 pastie, gist, pastebin, ubuntu Jun 01 18:25:53 whatever works for you Jun 01 18:25:54 thepoosh wait, you have to use j/j with AS 2.2 ? Jun 01 18:26:02 IRRC Jun 01 18:26:05 that sounds weird Jun 01 18:26:06 IIRC Jun 01 18:26:35 i would think some will be using old flow for a while to come until things get straightened out Jun 01 18:26:47 but yeah i do recall AS 2.2 needing Java 8 Jun 01 18:26:58 or defaulting to Java 8, but dropping Java 6 Jun 01 18:27:06 maybe still use java 7 Jun 01 18:27:10 which sucks because when working with source control Jun 01 18:27:11 Is there a step missing for this? http://pastebin.com/pL4mZjYZ Jun 01 18:27:18 you cannot just change everything Jun 01 18:27:29 I'm trying to get a ListView working then make it more complex once it wors Jun 01 18:27:31 *works Jun 01 18:27:33 thepoosh wrt ConstraintLayout ? Jun 01 18:27:44 ?!?!?! Jun 01 18:27:49 yeah i'm kinda hoping, like if i change 1 constraint 40 lines of xml don't change Jun 01 18:28:10 jrtappers: this seems like a good way to leak context Jun 01 18:28:11 that will make diffs suck Jun 01 18:28:22 yep Jun 01 18:28:47 why do you need this proxy class? Jun 01 18:29:11 thepoosh, To simplify debugging why it does not add to the ListView Jun 01 18:29:34 probably because the ArrayAdapter clones the list Jun 01 18:29:46 so when you add to the ArrayList it's not adding to the adapter Jun 01 18:29:52 In Android Studio at a breakpoint, is it possible to see which thread you are currently in? Jun 01 18:30:04 yes Jun 01 18:30:17 Kake_Fisk: it's in the left part of the debug view Jun 01 18:30:35 there is a dropdown list of the threads that has the stack of this specific thread Jun 01 18:31:01 thepoosh, I changed it to adapter.add(text); (Line 26), and it has no change Jun 01 18:31:15 That makes sense, but how do I get it to work? Jun 01 18:31:28 thepoosh: Ah, thanks. Is main the UI thread? Jun 01 18:31:43 yes Jun 01 18:32:16 jrtappers: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/ArrayAdapter.java#189 Jun 01 18:32:17 Thanks Jun 01 18:32:28 add doesn't require calling notifyDatasetChanged Jun 01 18:32:36 but it must be called from the UI thread Jun 01 18:32:55 g00s: um neither, just noticed it while having a smoke the other day, and realized its happened a few times Jun 01 18:32:58 not worried tho Jun 01 18:33:00 it's weird that there is no annotation on this method Jun 01 18:33:59 If I want to replace a Fragment with a notice to say that it is not available (due to SDK version or whatever) what is the most Android-y way of accomplishing this? Jun 01 18:34:16 dialog? Jun 01 18:34:38 orbyt_, that wouldn't be instead of the Fragment, would it? Jun 01 18:34:47 what Jun 01 18:34:55 you said your not showing the frag Jun 01 18:35:05 thepoosh, It looks like it is being called on the UI thread Jun 01 18:35:05 if < certain sdk Jun 01 18:36:13 logs? Jun 01 18:36:28 try calling invalidate on the listview just to be sure Jun 01 18:36:35 logs in add show it's called? Jun 01 18:36:39 is it the same item? Jun 01 18:36:48 Thread.currentThread().getName() before add returns "main" Jun 01 18:36:52 as i said, perfect way to leak memory Jun 01 18:37:12 jrtappers: try Looper.getLooper() == Looper.getMainLooper() Jun 01 18:37:31 i'm pretty sure you are leaking stuff Jun 01 18:37:54 what happens if you move this code to be inline instead of this proxy class? Jun 01 18:38:42 Looper.getLooper() doesn't resolve Jun 01 18:39:02 I had it in the main class and it didn't work, so I extracted it to a different class Jun 01 18:39:17 could be Looper.myLooper Jun 01 18:39:30 so there is something else wrong here Jun 01 18:39:38 paste the activity code Jun 01 18:41:03 thepoosh, -> http://pastebin.com/HnRpwCfr Jun 01 18:42:16 jrtappers: wtf is line #41? Jun 01 18:43:03 That solved it Jun 01 18:43:13 It was a suggestion on a forum to solve this issue Jun 01 18:43:20 I forgot to remove it after trying it Jun 01 18:43:53 can someone point me at a decent, semi-recent proguard guide for ANT builds? i know i'm behind the curve on this. Jun 01 18:43:55 Thanks Jun 01 19:08:38 Is there any way to stop a WebChromeClient from executing onShowFileChooser twice? I'm running into a situation where it seems to be triggered by both ACTION_DOWN and ACTION_UP, and it's crashing the application with an IllegalStateException: showFileChooser result was already called Jun 01 19:18:22 Hello folks! Jun 01 19:19:32 I wonder if someone could help me figure if it is possible to run Genymotion emulator without a IDE (as Eclipse or Android Studio)? Jun 01 19:20:10 could someone possibly give me some advice on viewpagers please? Jun 01 19:20:22 orfeo: yes Jun 01 19:20:50 tm604: I did install some devices on it but when I click start it doesn't happen. Jun 01 19:21:16 run the genymotion standalone tool instead and start it from that? Jun 01 19:21:23 orfeo: you talking ot me? Jun 01 19:22:16 krippykripkrip: no Jun 01 19:22:24 o right, sorry Jun 01 19:22:28 tm604: I think that is what I am doing Jun 01 19:22:39 what kind of advise /: Jun 01 19:23:25 have you checked genymotion.log? Jun 01 19:23:38 i’m trying to figure out how to put a recyclerview in each of my tabs, i have my code on github if that would help Jun 01 19:24:11 tm604: perhaps I need some extra software in order to run it. I have VirtualBox installed for example. Not sure about JVM or JDK. Jun 01 19:24:59 tm604: all I can tell you is Genymotion won't run out of the box itself on a Mac. Jun 01 19:25:46 krippykripkrip: fragments? Jun 01 19:26:23 as long as virtualbox is installed (and any kernel modules it requires are built and installed correctly) then genymotion should work fine, but I've never tried it on a Mac. Jun 01 19:26:27 yeah i have the viewpager working with fragments, but i want to put a recycler view in my fragment so i can create a scrollable list Jun 01 19:27:10 tm604: not sure about those modules. Where I get it? Jun 01 19:27:54 I have no idea if virtualbox even needs modules on a Mac, the virtualbox docs should have more info - I would suggest checking the log file first though. Jun 01 19:29:16 krippykripkrip https://developer.android.com/samples/RecyclerView/src/com.example.android.recyclerview/RecyclerViewFragment.html Jun 01 19:29:34 not sure if this helps Jun 01 19:30:25 thx, i’ll have a read Jun 01 19:30:56 i’ve got the viewpager working and its displaying my data but not in the correct way, i know why i’m just not sure how to implement it Jun 01 20:28:51 this might sound silly but is it possible that onNewIntent() would have a null intent? Jun 01 20:29:18 just asking to see if my assumption is correct, for any possible npe or anything Jun 01 20:32:36 looks like it isn't grekkos, according to the doc: "will be called on the existing instance with the Intent that was used to re-launch it." Jun 01 20:32:52 but.. you never know faulty ram, solar tempest.. or samsung Jun 01 20:32:59 the bits can flip Jun 01 20:38:09 adq: "or samsung" as if it were some terrible force of nature Jun 01 20:38:11 haha Jun 01 20:38:52 thanks Jun 01 20:43:48 so, why is it I have to return a View in a ListAdapter instead of, say, a fragment? Jun 01 20:45:10 I'm confused as to how View is related to Fragment I guess... Jun 01 20:46:34 well its mostly a (big?) part of layout and you can directly put fragment in xml Jun 01 20:46:42 but it doesnt extend view Jun 01 20:48:08 what is it that Fragments add over Views, though? Jun 01 20:49:13 it merely inlates them Jun 01 20:49:21 so can viewgroup add views Jun 01 20:51:45 hmm... I'm sure it'll make sense to me in the long run Jun 01 20:52:06 for some of us fragments dont make sense at all Jun 01 20:53:15 is it normal for android studio to try to build unit test sources when compiling a release build? Jun 01 20:53:59 in ConstraintLayout blogs / tweets they mention alpha-2, but my m2repository only has alpha1 - where do i find alpha2 ? Jun 01 20:54:39 bundling all these things i a repo that you have to d/l wholesale is silly - hope they get the legal shit together to have the repos online Jun 01 20:55:04 maybe it's a kotlin thing, but my build is crashing during :app:compileReleaseUnitTestKotlin because I have some mocks it's trying to build that are only provided in testCompile... Jun 01 20:55:41 wait, no... debugCompile... Jun 01 20:58:38 should that be included in testCompile and debugCompile? Jun 01 21:41:48 dear all . what is the easy way in java to add contact to address book ? , i want to test this JAVA code inside Tasker . since takser support java at runtime Jun 01 21:41:49 tasker.dinglisch.net/userguide/en/java.html Jun 01 21:42:14 the hell is ComponentName? Jun 01 21:42:19 You might want to ask in the Tasker channels Jun 01 21:44:18 orbyt_: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/content/ComponentName.java Jun 01 21:44:35 Just getting started w/ firebase. I'm assuming it would be bad practice to commit "google-services.json". Is this correct? Jun 01 21:44:59 s73v3r : thy are sleep . Jun 01 21:45:53 s73v3r : any way just i wana snap code to test it Jun 01 21:46:13 sleepster: I get that is stores the package and class name but what/where would it be used and why? Jun 01 21:46:30 a tasker channel would be more likely to have people who’ve actually used tasker before and are familiar with their API Jun 01 21:46:43 orbyt_: intents Jun 01 21:47:08 Maybe im overthinking it hmm... Jun 01 21:47:24 orbyt_: if you need to send a message to a component (activity, service, provider, etc.), you need a way to identify the component Jun 01 21:47:29 orbyt_: this is the purpose of the ComponentName Jun 01 21:47:49 Oh Jun 01 21:47:51 that clicks Jun 01 21:47:53 thanks Jun 01 21:47:54 orbyt_: I've been programming on Android for years and I've never needed it :) Jun 01 21:48:00 can someone with write access to the android bug tracker add a security-feature tag to https://code.google.com/p/android/issues/detail?id=197440 ? Jun 01 21:48:05 so it can get more exposure Jun 01 21:48:30 i should have submitted it as a vulnerability and not a feature request back in 2015 :/ Jun 01 21:48:35 orbyt_: np may the force be with you Jun 01 21:48:45 i don’t think there’s anyone with that kind of access in here Jun 01 21:49:31 400 users, wouldn't be surprising if theres at least 1 googler who could help with that Jun 01 21:49:41 no, they tend to not come by here Jun 01 21:49:48 alright Jun 01 21:58:49 Does anybody have experience reducing MediaCodec H264 decode latency? Testing several streams and it seems SPS / PPS settings can dramatically increase the number of internal buffers the decoder allocates Jun 01 21:59:27 working on a realtime camera and seeing ~400ms between queueInputBuffer and dequeueOutputBuffer at 30fps input rhythm Jun 01 22:00:20 Tried simple things like changing our camera's H264 profile to baseline from high (our stream is IPPP, no B frames) but that had no effect Jun 01 22:04:39 Anyone know why I might be getting ext4 I/O errors trying to write to a rw-remounted /system on an official SDK image? Jun 01 22:04:43 hey guys has anybody of you built an app with Firebase before and used the real-time database? I am curently wondering about the best strategies to sync the database data with the data on the client device and when and how to update my UI... does anybody have experience with that? Would like to have a quick chat Jun 01 22:21:19 frederfred: That might happen if verity is still enabled. Jun 01 22:21:55 kroot: is that a system integrity/anti-malware feature? Jun 01 22:22:02 And how would I check/disable? Jun 01 22:22:35 frederfred: there is an "adb disable-verity" command, but it should warn you when you try to "adb remount" Jun 01 22:23:35 frederfred: adb shell getprop partition.system.verified Jun 01 22:24:43 getprop returns blank Jun 01 22:25:26 What version of Android is this image? Jun 01 22:25:39 disable-verity seems to work, but a subsequent adb push (after adb remount) fails after 100% (APK) Jun 01 22:25:45 Tried on 5.1.1, 6 and N Jun 01 22:25:56 you have to reboot after disable-verity Jun 01 22:26:21 OK, sec ;) Jun 01 22:28:04 Nope, giving me all sorts of I/O errors on vda, then remounts RO (protectively, per standard kernel behaviour AFAIK) Jun 01 22:33:51 oh. credit card expired and i forgot to update it in atlassian. lost everything Jun 01 22:35:17 ugh :( Jun 01 22:35:30 they didn't have a grace period ? Jun 01 22:35:38 sounds pretty harsh Jun 01 22:36:06 frederfred: that's the mount option errors=remount-ro Jun 01 22:38:23 i remembered updating it two weeks ago. but the card was in the car and well, procrastinated and forgot Jun 01 22:40:21 two months of grace Jun 01 22:40:22 spudowiar: except I'm not specifying that on remount and neither does adb remount according to mount ;) Jun 01 22:40:42 frederfred: it should be a default option Jun 01 22:40:53 IIRC Jun 01 22:41:02 anyway, sleep shall evade me no longer Jun 01 22:41:08 I have caught it... Jun 01 22:41:11 *zzzz* Jun 01 22:41:13 In the FS module or compiled into the kernel ;) Jun 01 22:41:33 no, in Android Jun 01 22:41:35 my brother (also my business partner) won't be happy Jun 01 22:41:40 AFAICR Jun 01 22:41:49 now... Jun 01 22:41:57 *zzzz (for real)* Jun 01 22:51:52 "Your data will no longer be available after 2 Jun 2016" - wow, that means Jun 3rd, doesnt it? Jun 01 22:53:15 indeed Jun 01 22:53:26 it's not even Jun 2 where I am :) Jun 01 22:53:38 yep Jun 01 22:54:03 that's weird Jun 01 22:55:25 aren't they in Sidney ? Jun 01 22:55:56 Who's Sidney? Jun 01 22:56:04 And did he consent to them being in him? Jun 01 22:56:32 could be a she.... Jun 01 22:58:33 first sorry for this offtopic. after my reply the case changed status to "We're working on it" Jun 01 22:59:19 the good part is that we're gonna take our things and look for another service Jun 01 23:00:04 jira is good, but very confusing, a pain to tune it Jun 01 23:08:09 g00s, wikipedia says HQ is in Sydney, but the parent company is now in UK Jun 01 23:13:42 http://stackoverflow.com/questions/37580247 Jun 01 23:18:36 hows it going bankai_ Jun 01 23:18:52 oh, just brilliant, living the life Jun 01 23:18:54 * g00s apologizes to Sidney Jun 01 23:24:20 bankai_: how goes Jun 01 23:24:31 g00s: yo Jun 01 23:34:30 im getting Activity class does not exist while its there Jun 01 23:38:39 hey Napalm Jun 01 23:38:53 Napalm do you know where ConstraintLayout alpha-2 is ? Jun 01 23:39:04 my sdk managed repo only has alpha-1 Jun 01 23:39:11 not even tried it yet Jun 01 23:39:28 i need to install canary alongside normal Jun 01 23:39:35 not sure if that will work Jun 01 23:40:02 Napalm another dumb question. lets say I have a custom compound view, FooView extends GridLayout ... and in my xml i use ... the autocomplete is all fucked up Jun 01 23:40:27 of course in XML i change FooView to GridLayout everything is OK Jun 01 23:40:53 yea, studio has never handled that Jun 01 23:42:23 and GridLayout, you don't need layout_width / layout_height so it gets pretty messy Jun 01 23:42:30 for its children Jun 01 23:42:39 everything is pretty much red Jun 01 23:46:30 Hi, i run into a problem: I want to use the camera of the device (but without intents or so). I want to support API 15+ devices. But Camera is deprecated since API21. Should I still use Camera ? camera2 wont be supported by API < 21, right ? Jun 01 23:48:51 i'd do minSdk 21 Jun 01 23:51:55 Camera will still work on v21+, Camera2 doesnt exist on pre-v21 Jun 02 00:12:50 ok thx. I think go with Napalms solution Jun 02 00:14:22 good luck :D Jun 02 00:37:40 i hope to finde any one can volunteer to help me in this task : http://stackoverflow.com/questions/37580247 Jun 02 00:43:27 just seen this https://status.firebase.google.com/incident/Authentication/16001 Jun 02 00:43:54 sort of old **** ENDING LOGGING AT Thu Jun 02 02:59:58 2016