**** BEGIN LOGGING AT Thu Apr 21 02:59:58 2016 Apr 21 03:23:06 so does the Agera thing have any special knowledge of component lifecycles ? Apr 21 03:41:59 hmm, if you have something like in XML, which does not need layout_height/width, AS complains but -- won't autocomplete anything at all Apr 21 03:58:57 good evening all Apr 21 04:06:53 I'm having some issues implementing leave-behinds in a recyclerview. Anyone have any knowledge about that? Apr 21 04:10:03 Anyone heard of Google showing actual search results as ADS in the search before? Apr 21 04:10:17 Or of someone buying a search ad for s product they don't own? Apr 21 04:10:46 Good morning Android. Apr 21 04:11:57 justJanne: I have bought ads for proeducts I don't own. I got like 100$ worth of, and the offer was expiring so I just advertised some random products I liked. Apr 21 04:12:08 Can't remember what it was, but it was some Open Source project. Apr 21 04:13:05 Ah, okay. Apr 21 04:13:26 Cause we were an open source project wondering who bought ads for us. Apr 21 04:13:32 Might have literally been you Apr 21 04:15:31 I'm trying to use databinding... classpath 'com.android.databinding:dataBinder:1.+' Apr 21 04:15:42 what is the current version.... and how can I find out for myself Apr 21 04:15:42 ? Apr 21 04:45:57 CedricBeust: can we have a bot Apr 21 04:51:01 Anyone use data binding? Apr 21 04:51:09 I'm having a hard time adding it to gradle Apr 21 04:51:29 * Ping_2_Ur_Pong is literally reading about it right now Apr 21 04:52:37 did you do android{ dataBinding{enabled = true} } ? Apr 21 05:01:11 Ping_2_Ur_Pong: Would be nice but I don't really have the time to set one up Apr 21 05:06:00 Ping_2_Ur_Pong, yea Apr 21 05:06:10 TinFury, I think i kinda found the problem Apr 21 05:06:23 I using gradle 2.0.0 Apr 21 05:06:37 Anyone have any suggestions as to how to hide one view behind another so that it appears when the top view is moved? Apr 21 05:06:42 And it should be like 1.5.0 Apr 21 05:06:54 I don't know why 2.0.o wouldn't support it Apr 21 05:07:08 Or why there is no documentation for implementing it in 2.0.0 Apr 21 05:15:33 Ping_2_Ur_Pong: what's data binding? Apr 21 05:17:11 It's supposed reduce all that boilerplate code findviewbyid stuff Apr 21 05:17:25 so you can refer to elements in your layout files directly Apr 21 05:17:25 ok Apr 21 05:17:35 :( unfortunately i can't get it to work. Apr 21 05:17:45 not much to benefit Apr 21 05:19:09 I think it would be awesome. Apr 21 05:23:18 If I have a touch event I have intercepted within a custom ViewGroup... Apr 21 05:24:10 And I wish to actually find a child view that would consume the touch event, how would I do that? Apr 21 05:24:23 Is there a method like, findChildInPoint() or something? Apr 21 05:24:47 make the child consume the touch event Apr 21 05:25:05 i.e setOnClickListener or setOnTouchListener Apr 21 05:40:57 Anybody uses gradle APK split here for their production releases? Apr 21 06:27:56 how do I report ndk bug Apr 21 06:44:29 hi i am facing some wierd issue actually i am new to WeakReference(callback); sometime its getting me null Callback callback = mCallbackRef.get(); Apr 21 06:44:32 i dont why.. Apr 21 06:45:10 Morning Apr 21 06:45:11 http://pastebin.com/2f2C8LQ3 Apr 21 06:45:22 Can I use AsyncTaskLoader in Application class ? Apr 21 06:45:46 I don't have SupportLoaderManager in Application class Apr 21 06:46:30 min2: do you supply callback as anonymous class Apr 21 06:47:08 yes Apr 21 06:47:31 well then it hasnt any strong reference Apr 21 06:47:43 so WeakReference will return null Apr 21 06:47:48 AShiren: actually at first it works but when i go back and exit from applciation and then again start this it gives me null Apr 21 06:47:57 Callback callback = mCallbackRef.get(); Apr 21 06:47:59 at this point Apr 21 06:48:23 oO Apr 21 06:48:55 http://pastebin.com/0ViYp8ZK Apr 21 06:49:06 this is the way i am invoking it Apr 21 06:49:10 from my activity Apr 21 06:49:58 i dont know why would it work at first, but it surely would give null Apr 21 06:50:04 or maybe the gc didnt kick in yet Apr 21 06:51:05 yeah even so strange for me.. dont know why its behaving like this.. Apr 21 06:52:08 I have only single activity in my applciation... and first time i tried this way to invoke an API Apr 21 06:53:06 vegetablesalad19: you cant. this is activity and indirectly fragment thing Apr 21 06:59:43 While reading someone's code, I came across these lines (Rx) [https://dpaste.de/CGPh]. What is the flatMap exactly doing? Apr 21 07:06:23 astroduck: it replaces an observable with the items it emits in the chain Apr 21 07:06:44 The best way to understand flatMap is to replace it with map and see what happens Apr 21 07:38:43 Hm Apr 21 07:42:38 * Ping_2_Ur_Pong doesn't understand why you have to use Maven to use dagger Apr 21 08:05:56 Hello, could someone download app RemoteXY ( https://play.google.com/store/apps/details?id=com.shevauto.remotexy.free ) and tell me how they made the main menu, with pages that you can swipe, halo around the page, and drag n drop buttons between pages ? What should I search in google to learn how to do that ? Apr 21 08:10:05 nice try, RemoteXY creator Apr 21 08:11:06 yes its a nice menu but how they made it ? Apr 21 09:04:34 Is there another way of getting subscript in TextView other than using Spanned ? Apr 21 09:04:49 I just can't get it to not cut the subscript Apr 21 09:05:03 when font size is >= 1.0 Apr 21 09:05:10 Add padding then. Apr 21 09:16:57 the ip setting look to be hardcoded Apr 21 09:20:16 Mavrik, padding to the textview ? Apr 21 09:20:29 Hi Apr 21 09:21:22 I am trying to read, write a text file through my app in internal storage. The app works fine in the emulator but it does not start when I test in my phone. Apr 21 09:21:40 Do I need to do anything else for it to work on phone? Apr 21 09:22:26 rudolf_: depends on the phones version and if you use PRIVATE or standard storage. On I think L + you don't need the permission for private. Apr 21 09:22:49 Phones version? I have Galaxy Note 5 running 5.1.1 Apr 21 09:23:09 The emulator uses MM however. Apr 21 09:23:14 Here is my code: http://pastebin.com/Y34ArLH8 Apr 21 09:23:38 My phone does not have an external sd card. Apr 21 09:24:05 I am using this: http://developer.android.com/training/basics/data-storage/files.html Apr 21 09:24:15 The section which deals with saving files on internal storage. Apr 21 09:24:54 I am trying to exclude java files from src/main in my product flavor but the files are not getting excluded. I tried both ways by giving source code path and also package name. Can someone let me know how to exclude java files from main in my product flavor Apr 21 09:30:16 rudolf_: stick closer to the document you are following when you're following a tutorial. Apr 21 09:30:57 What did I miss :( Apr 21 09:31:44 Tip, when you're following a tutorial, follow it verbatim. Apr 21 09:31:54 * Ping_2_Ur_Pong isn't going to tell you, but it is quite apparent. Apr 21 09:32:25 rudolf_, http://imgur.com/jacoj Apr 21 09:32:26 Save a File on Internal Storage Apr 21 09:32:49 start there and read and follow it word for word Apr 21 09:33:35 Ok...I will try again. Btw can I get the logcat of the error when trying the app in my phone? Apr 21 09:33:48 it will be in logcat Apr 21 09:34:16 sure rudolf_, you should always watch logcat Apr 21 09:34:25 especially if your app crashes Apr 21 09:38:07 So do I need to enable USB debugging on my phone and connect it to my PC? Apr 21 09:38:59 yes and you said a samsung phone, thats a bit of a PITA Apr 21 09:39:07 you have to get their tool Apr 21 09:39:11 Damn Apr 21 09:39:32 also go to setting and press about like 9 times Apr 21 09:39:40 it will open developer options Apr 21 09:40:06 Already did...The enable usb debugging checkbox is disabled :| Apr 21 09:40:08 sDurgam, you don't exclude them from main Apr 21 09:40:20 those are always included Apr 21 09:40:27 if you don't want them in main, move them to flavor directories Apr 21 10:03:06 Ping_2_Ur_Pong: Got the error :) Apr 21 10:03:27 On the first run, the file was not existing. Apr 21 10:33:38 CollapsingToolbarLayout adds or removes elevation depending on whether it's collapsed. Is there any way I can stop CTL from doing it, and keeping elevation at all times? Apr 21 10:48:11 Is there a way to have FloatingActionButtons src (image) fill the entire button not just be in the centre ? Apr 21 10:49:13 CollapsingToolbarLayout adds or removes elevation depending on whether it's collapsed. Is there any way I can stop CTL from doing it, and keeping elevation at all times? Apr 21 11:09:27 Could someone please help with this error with build.gradle? https://i.gyazo.com/b21de9ebe1193da89fca7d387cb92067.png Apr 21 11:21:32 Cooleh, remove ":" between support and -v4 Apr 21 11:21:37 ^ com.android.support:support-v4:23.3.0 Apr 21 11:23:13 Thanks adq! Seems to have fixed that but got different errors now... I'll have a go at fixing these :) Apr 21 11:28:06 I have a linearlayout with some textviews centered Apr 21 11:28:21 I want to put a little image on the corner (bottom left) Apr 21 11:28:39 but I dont want to mess with the textviews Apr 21 11:28:48 is there any way to accomplish that Apr 21 11:28:56 ? Apr 21 11:29:42 basically when I put another linear layoutn to put that image the other linear moves and the textview (as obvious) Apr 21 11:29:59 is there any way? Apr 21 11:34:32 nice Apr 21 11:34:34 easy Apr 21 11:34:42 if someone wants to know Apr 21 11:35:14 (I never receive answers here Im wondering if its my problem and im talking to nobody) Apr 21 11:35:25 basically I forgot framelayout Apr 21 11:35:43 framelayout allows to draw others layout like a stack Apr 21 11:36:01 one on top of the others without messing with layouts inside Apr 21 11:41:50 you can do it with relative layout Apr 21 11:43:09 I accomplish that with a framelayout Apr 21 11:43:38 also cool Apr 21 11:43:47 yes Apr 21 11:43:55 two viable options I think Apr 21 11:44:04 thks any way Apr 21 11:45:45 Hi all. Doe somebody have experience with proto + retrofit? Apr 21 11:49:04 @Mavrik: sure. Thank you. Apr 21 11:53:27 FrancescoV: I have used retrofit before Apr 21 11:53:57 wyoung, I'm developing a combination of the 2.. Apr 21 11:54:02 nice Apr 21 12:11:45 Can I send data from an activity which is in the back stack to the activity on top of the stack? Apr 21 12:12:54 does somebody know the variant of httppost.setEntity(entity) in retrofit2? Apr 21 12:14:00 I want do start polling a webservice on one WebView activity, lets call it A, and then start another activity, lets call it B, and receive data updates from A to B (B is now the top of the stack) Apr 21 12:14:26 From http://developer.android.com/guide/components/tasks-and-back-stack.html I read that "When the current activity starts another, the new activity is pushed on the top of the stack and takes focus. The previous activity remains in the stack, but is stopped. " Apr 21 12:15:27 Can I prevent the system from stopping the previous activity? or I need another approach for what I'm trying to do? i.e. a service Apr 21 12:16:22 mflow: you really need to find another approach Apr 21 12:16:35 There is no non-hackish way to do what you are suggesting Apr 21 12:17:19 What you're suggesting seems perfect for a service. Also I'm not sure why you're using a webview here - surely you can just make HTTP requests if you are polling? Apr 21 12:17:59 some part of the UI is implemented using JS in a WebView and the polling is currently started in JS and pushed via JavaScriptInterface to Java Apr 21 12:19:09 Fun Apr 21 12:20:04 but if the webview activity is stopped if I start another activity, then the polling on JS also stops, so I have to implement that part in Java Apr 21 12:20:29 I would think that's the best way to do it TBH Apr 21 12:22:26 I have a ~180ms roundtrip latency when playing sound via SoundPool on Android Apr 21 12:22:43 According to http://superpowered.com/latency my device should have a roundtrip latency of ~30ms Apr 21 12:23:06 Any ideas what I could be doing wrong to get such a high latency? Apr 21 12:23:19 tilal6991: I want my second app to be able to read the text file saved by my previous app. I know the path where the file is being saved. Will that path remain the same for all mobile or can it change? Apr 21 12:23:36 I am using internal storage and I have set the file to be readable. Apr 21 12:24:10 Sorry for tagging :| Apr 21 12:24:38 rudolf_: making assumptions of what the path is extremely bad practice Apr 21 12:24:44 is there some nice animation I could use to spawn a view from a point on the screen Apr 21 12:24:49 and then collapse it back to that point Apr 21 12:25:06 I'm getting an IllegalStateException from my listView/adapter. "The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread." Is this serious? Can I really not add items to my ArrayList from a different thread, and then notify my ListView via callback? Apr 21 12:25:14 They make it sound like it's a hard rule. Apr 21 12:25:23 eghdk: no you can't modify adapter data on a background thread Apr 21 12:25:28 It is a hard rule Apr 21 12:25:54 Zharf: do you mean something like the FAB animation in G+ Apr 21 12:26:07 tilal6991: How can I make it general then so that it can work on multiple mobiles? Apr 21 12:26:14 tilal6991, I don't use G+ so I don't know Apr 21 12:26:21 rudolf_: Use paths like http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) Apr 21 12:26:25 * methods Apr 21 12:27:01 tilal6991: Why does this seem like an appropriate answer? http://stackoverflow.com/a/20878262 Apr 21 12:27:48 Uhhhhhh Apr 21 12:28:16 Because you are creating a new adapter everytime you are in the background? Apr 21 12:28:27 And setting it on the main thread Apr 21 12:29:49 tilal6991: The document says it is similar to getFilesDir() which I am using currently for saving my app's files. The differences which it gave are not of much significance to my app because I am writing to non removable media. Apr 21 12:30:16 So I can assume that the path will remain the same for different mobiles? Apr 21 12:30:26 You can but I wouldn't Apr 21 12:30:36 You will inevitably break some device I feel Apr 21 12:30:42 :| Apr 21 12:31:23 See http://stackoverflow.com/questions/36613425/get-sd-card-path-in-android-vs-hard-coded-path Apr 21 12:31:28 And many similar threads Apr 21 12:31:56 This is how I am getting the write path: File path = context.getFilesDir(); Apr 21 12:32:01 ok...reading. Apr 21 12:32:26 tilal6991: Didn't know you use this too Apr 21 12:32:37 Afternoon anyway Apr 21 12:32:46 What do you mean use this? Apr 21 12:32:51 Afternoon Apr 21 12:32:54 Sorry Apr 21 12:33:04 hey guys Apr 21 12:33:05 Thought I was on #android Apr 21 12:33:06 Lol Apr 21 12:33:20 Hi xJeremyCx Apr 21 12:33:27 tilal6991, if you're familiar with those "hey check out this new feature" popups in like google maps sometimes, they have the box and an arrow pointing somewhere, I was thinking that it might be nice to animate the popup into view so that it spawns from the pointy bit outwards :) Apr 21 12:34:27 I have a notification bar with a custom view(RemoteViews). The problem I'm facing is the elements of the view get expanded to fit the width of the screen Apr 21 12:34:37 Zharf: https://github.com/ozodrukh/CircularReveal? Apr 21 12:34:40 There are 4 ImageButtons in the view Apr 21 12:35:13 tilal6991, that might work, thanks Apr 21 12:36:12 http://pastebin.com/j3SjDJRg here's my layout xml Apr 21 12:39:13 tilal6991: So does this hold true "This illegalStateException arises when a ui thread is updating the view and another background thread changes the data again. That moment causes the IllegalStateException". So can't I just synchronize my ArrayList? Apr 21 12:40:26 You could try but: a) leads to a world of pain when some edge case comes up where synchronisation does not work perfectly. b) you slow down your UI thread because it's waiting for the background thread and that's very terrible Apr 21 12:40:41 I would *strongly* urge you to do the update on the main thread Apr 21 12:41:13 You need to deliver the notifyDataSetChanged notification quick enough and synchronised enough that the listview doesn't freak out Apr 21 12:41:20 And that's hard if not impossible Apr 21 12:41:53 Adding stuff to my ArrayList a whole bunch at a time seems slow though. Hm. I guess I'll give both scenarios a shot. Apr 21 12:42:31 ArrayList is very fast on Android. It's very common to do that on the main thread Apr 21 12:45:25 tilal6991: I guess... but sometimes it's hundreds of items, and one after the other is slow. I guess ArrayList has an addAll method and I could look into batching. Apr 21 12:45:36 Instead of calling add individually. Apr 21 12:46:03 Yes addAll is the way to go - in any case you can do ensureCapacity Apr 21 12:46:22 So even add will be fast Apr 21 12:46:45 But addAll means the system can probably do an arrayCopy which will be extremely quick Apr 21 12:51:14 can anyone help me.. Apr 21 13:15:34 After setting imageview bitmap it gets scaled to fit center. How can i get new scaled layout size? Because imageView is still in original size, just that its bitmap content is smaller and rest of it is transparent Apr 21 13:29:40 hmm, I have a collapsingtoolbarlayout with a framelayout below it. but when the toolbar is expanded, the content of the framelayout appears below it Apr 21 13:29:56 like underneath it, so you can see it through the toolbar Apr 21 13:30:07 which looks weird... anyone knows what I'm missing? Apr 21 13:47:09 This means GC is taking place yes? Apr 21 13:47:11 : Apr 21 13:47:13 GC_FOR_ALLOC freed 1992K, 20% free 10427K/12924K, paused 3ms, total 3ms Apr 21 13:48:48 yep Apr 21 13:49:13 yea Apr 21 13:49:37 I have like 10 of those in a row, is that bad? Apr 21 13:49:42 yea Apr 21 13:49:42 BTW, whats up Odaym hows it goin? Apr 21 13:49:48 Why is it bad Apr 21 13:50:07 https://www.youtube.com/watch?v=pzfzz50W5Uo Apr 21 13:50:25 he says why, I think its clear what he's trying to conclude Apr 21 13:50:58 Sweet Ill check it out Apr 21 13:51:20 Oh actually, they are all happening like 2 mins apart, not in a row Apr 21 13:51:22 Is that still bad? Apr 21 13:53:30 nope Apr 21 13:53:35 Sweet Apr 21 13:53:43 So its only bad when they happen a log together? Apr 21 13:54:03 see the video Apr 21 13:54:04 when the GC is running all the time it's a sign of need for optimization Apr 21 13:54:19 Ok I see Apr 21 13:54:22 Odaym: hows Snippet? Apr 21 13:54:35 about to release a web console soon Apr 21 13:54:40 so you could upload books and see them online Apr 21 13:54:44 a friend joined and wrote it all Apr 21 13:55:03 Sweet, hows the android app doing Apr 21 13:55:15 still the same, cause I got a job Apr 21 13:55:18 haven't had time Apr 21 13:56:04 A job? Nice.. Doing software dev? Apr 21 14:01:42 yea android Apr 21 14:08:05 I'm using GridLayoutmanager in recyclerviwe and it's pushit other views bwlow it down, any idea how to fix that? Apr 21 14:15:05 size recyclerview so it has fixed height (either dp or percentage or above views that are below and to the top), each usecase have different layouts Apr 21 14:16:44 I'm having some problems with getting data binding to work Apr 21 14:17:09 Docs say I need Gradle 1.5.0 and gradle syncs if I use 1.5.0 Apr 21 14:17:34 If I use 2.0.0 however it methods from databinder are not recognized. Apr 21 14:17:42 Does anyone here use databinding? Apr 21 14:19:48 How can I prevent an intent for starting an activity to clear the backstack? The activity I'm trying to start is already in the backstack but not on top and has launchMode="standard" Apr 21 14:20:08 my intent doesn't send any flags and the backstack is cleared, why ? Apr 21 14:23:22 logcat: I don't get it :| Apr 21 14:24:11 mflow, be specific Apr 21 14:24:17 mentazoom: show layout Apr 21 14:24:36 any intent that originates outside the app is likely to clear the stack Apr 21 14:26:56 logcat when I expand my view then it pushes the other views below it down and they don't come back when I collapse like in linearlayoutmanager Apr 21 14:30:20 pfn: its from inside the app Apr 21 14:30:29 pfn: I am specific Apr 21 14:30:54 I'm just trying to open that activity and somehow it clears the backstack Apr 21 14:31:01 no flags, no anything special Apr 21 14:31:16 hello guys, i have relative layout with 2 element, i want set setOnClickListener, i have to use duplicateParentState or addStatesFromChildren ? and how? thanks for help Apr 21 14:32:42 No Apr 21 14:33:00 What do you want to set the OnClickListener on? Apr 21 14:33:55 i want set the click listener on RelativeLayout, but is not called Apr 21 14:34:21 i search on internet and i found i have to duplicate de state of the children to parent for catch the click Apr 21 14:34:27 but i not understand how Apr 21 14:37:41 http://developer.android.com/reference/android/view/ViewGroup.html#attr_android%3aaddStatesFromChildren Apr 21 14:38:43 Why do you think you need that? Apr 21 14:39:24 That's about the drawable state, not clickListening Apr 21 14:39:56 Why not set the listener to both children? Apr 21 14:40:23 because on element is EditText and is disabled Apr 21 14:40:39 one* Apr 21 14:41:14 Why disabled? Apr 21 14:41:41 because the user can edit only on certain case Apr 21 14:41:57 by default there is a non editable text Apr 21 14:47:58 And you still want to have the onClickListener work on the EditText if the EditText is enabled? Apr 21 14:48:22 starz: Why are you pming me? Apr 21 14:50:48 I've been pming a few people, sorry I know it's bad etiquette but I don't want to share my project publicly. I also don't want to write it here as the question involves development collaboration which will fall under advertising. Apr 21 14:51:10 Please feel free not to answer, that is perfectly fine. Apr 21 14:51:15 pm at random is so terribly rude Apr 21 14:51:33 meh Apr 21 14:52:08 tbh, 99% of people have been extremely kind, so quite the contrary. Apr 21 14:52:33 that doesn't make it not rude Apr 21 14:52:52 some people are gluttons for repaying rudeness with kindness Apr 21 14:52:54 gee, the blue in these two devices are so vastly different colours Apr 21 14:53:17 that is not gluttony, its human to have interest in something. Apr 21 14:53:33 where can I learn more about how samsungs don't support renderscript Apr 21 14:53:41 look, im not a keyboard warrior so I wont be argueing on irc. Apr 21 14:53:45 google Apr 21 14:54:47 an interest in something not interesting isn't true, they're just trying to be polite despite your rudeness Apr 21 14:54:49 well can you use renderscript at all if you have to support samsung? Apr 21 14:55:02 you can try support renderscript Apr 21 14:55:23 how can you know its not interesting when you have not seen it? That's more interesting. Apr 21 14:55:26 and Samsung does not universally miss renderscript Apr 21 14:55:37 hmm this s4 has not finished rebooting yet I wonder if it got softbricked Apr 21 14:56:04 my life isn't so boring that some unknown random guy on the Internet is purportedly interesting Apr 21 14:56:11 feel free to check out my credentials to see if im not interesting http://www.infusedigital.net/ Apr 21 14:57:15 I wouldnt know thats your life, Im a human that loves connecting with people. I guess your enjoy your lonely life, what else can I say. Apr 21 14:57:48 goodbye Apr 21 14:57:58 bye Apr 21 14:58:14 I don't feel like he was being rude about it when he approached me, but whatever floats your boat Apr 21 14:58:33 It's not rudeness so much as bad etiquette Apr 21 14:58:45 bad etiquette is rudeness Apr 21 14:58:57 He PMed me as well. I don't particularily mind but warning is appreciated Apr 21 14:59:08 I guess. Borderline rudeness maybe Apr 21 14:59:17 meh Apr 21 14:59:31 on the other hand, I'm finnish, I'm not sure if there's a concept of rude for us Apr 21 15:00:46 in a case of asking questions that should be asked in the channel, I tell them to ask in the channel, otherwise I might chat with whoever PMs me Apr 21 15:01:27 wow this thing only sometimes crashes Apr 21 15:01:31 lately I imagine any argument with a finn to end up in me getting hydraulically pressed Apr 21 15:01:44 ThePendulum, been on youtube too much? Apr 21 15:02:21 if that's not a reference to the guy who breaks things with the hydraulic press, then I don't know what you mean, really :p Apr 21 15:03:07 https://www.youtube.com/watch?v=nlbjnZbxEcI - my fav Finn Apr 21 15:03:39 I don't understand Apr 21 15:03:42 And https://www.youtube.com/watch?v=MkKli_aWi2g Apr 21 15:03:59 oh, sound was relevant Apr 21 15:04:33 Zharf: it was, my bad Apr 21 15:04:39 too immersed in listening to The 十本刀:修羅(志々雄真実のテーマ)~百識の方治~大鎌の鎌足~心は傷つき過ぎて(明王の安慈のテーマ)~飛翔の蝙也~怒るぞ(刀 狩の張のテーマ)~丸鬼の夷腕坊~破軍の才槌&不二~心眼(心眼の宇水のテーマ)~夜伽の由美~あるがままで(瀬田宗次郎のテーマ) Apr 21 15:04:40 Lol yeah he tells his team to leave him alone because he knows what he's doing Apr 21 15:04:44 :D Apr 21 15:04:48 <3 Kimi Apr 21 15:06:35 good morning Vietnam ! Apr 21 15:15:48 Hey, can you directly access the libraries bundled inside the apk under /lib? Apr 21 15:18:42 hoodedfigure, what do you mean by "directly"? Apr 21 15:20:11 extractNativeLibs=false Apr 21 15:20:14 I'm guessing Apr 21 15:20:15 Mavrik, I need to get the path of /lib/my_libs Apr 21 15:21:45 no, you don't Apr 21 15:22:13 hoodedfigure, not directly no Apr 21 15:22:26 Neither does that requirement make much sense, what are you trying to do? :/ Apr 21 15:22:57 Mavrik, I am porting an app to Android that scans a dir for plugins Apr 21 15:23:16 hmm Apr 21 15:23:30 Mavrik, the easiest way would be pointing to the my_libs dir Apr 21 15:24:02 well, first of all your structure is /lib// Apr 21 15:24:20 and your /lib// is automatically unpacked into your files/lib directory Apr 21 15:24:23 so you could scan that Apr 21 15:24:39 even though that path may change in any Android version Apr 21 15:25:21 Mavrik, that's why I am looking for an Android API to point me to the dir Apr 21 15:25:57 and it's actually not in lib/ Apr 21 15:26:14 native lib plugins? Apr 21 15:26:14 It has to be. Apr 21 15:26:21 Or you have broken structure of APK Apr 21 15:26:22 the default libs are there Apr 21 15:26:25 you can't do any other way Apr 21 15:26:45 do it right Apr 21 15:26:51 provided I put the libs there, I still needed to get the path Apr 21 15:27:24 you don't put them there Apr 21 15:27:28 put them in assets Apr 21 15:27:40 or in the correct arch location Apr 21 15:28:22 Yes, you can add them to assets and unpack them yourself. Apr 21 15:28:29 Of course, you'll have to handle arch properly. Apr 21 15:28:32 pfn, it can't be loaded from assets. probably a SELinux restriction Apr 21 15:28:38 Hence why using the Android unpacker is usually easier. Apr 21 15:28:50 Of course it can't be loaded from assets, you can't load .sos from a ZIP file Apr 21 15:28:58 You can unpack them from assets and load them then. Apr 21 15:29:55 Mavrik, I'm gonna evaluate that. Maybe I can set SELinux flags, too Apr 21 15:30:20 I hope not. Apr 21 15:35:01 is dagger a must when using mvp? Apr 21 15:38:55 Mavrik, the platform has some support for loading so directly from apk Apr 21 15:39:18 Hmf, since when? Apr 21 15:39:19 Mavrik, see extractNativeLibs new in api 21 or so Apr 21 15:39:32 Ah, didn't see that. Apr 21 15:39:39 but no build tool supports it Apr 21 15:39:40 ... Apr 21 15:45:30 Mavrik, https://code.google.com/p/android/issues/detail?id=172630 Apr 21 15:46:30 Ah. Apr 21 15:46:38 Having libs uncompressed is a huge hit tho. Apr 21 15:48:49 how do I measure inflate without using the profiler Apr 21 15:48:58 this layout took 1400ms to inflate with the profiler Apr 21 15:49:07 but without it the performance seems acceptable Apr 21 15:49:47 Why am I getting "Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setText(java.lang.CharSequence)' on a null object reference" in http://pastebin.com/bS0wL4k2 Apr 21 15:50:16 I am starting this activity from the options menu of another activity. Apr 21 15:50:20 guess I have to use my own logging and subtract timestamps or something Apr 21 15:50:45 Do webaudio on android support the fast low latency playback they talk about here? https://source.android.com/devices/audio/latency_design.html Apr 21 15:50:47 I am getting NullPointerException on any method that I call on the elements of this activity. Apr 21 15:51:06 Mavrik, only for download though Apr 21 15:51:22 And this code is working fine if I run in in a separate project. Apr 21 15:51:26 Mavrik, APK splits take care of the rest Apr 21 15:51:55 Apprently some playback does not, so webaudio in the browser might be excepted. I have googled a lot but not found any answers. Apr 21 15:57:45 Can anyone help me on this please? I am stuck on this since hours. Apr 21 15:59:16 rudolf_: your button is null Apr 21 15:59:22 rudolf_: are you using getView? Apr 21 15:59:42 rudolf_: we'll need some code Apr 21 15:59:48 rudolf_: scrap that lol Apr 21 15:59:54 http://pastebin.com/bS0wL4k2 Apr 21 16:00:11 Some other code? Apr 21 16:00:19 rudolf_: can we have activity_main.xml? Apr 21 16:00:26 Yes :) wait Apr 21 16:02:00 Mavrik, pfn, I gotta go. Thanks for your help :) Apr 21 16:02:40 bye Apr 21 16:03:10 spudowiar: This is the lyaout where I am getting error: http://pastebin.com/XUmTyCGi Apr 21 16:03:21 Fragement layout: http://pastebin.com/sbW4dwsT Apr 21 16:03:45 And this is the activity layout of the fragment: http://pastebin.com/NubRUQJR Apr 21 16:04:19 rudolf_: sorry, man, I've got work to do at the moment Apr 21 16:04:32 Ok Apr 21 16:09:52 This is the project structure, if anyone is seeing the code: http://imgur.com/Yly1quv Apr 21 16:13:07 rudolf_: you need to learn to debug your own problems. Take the issues that you are experiencing and toss them at google until you hit something that seems like your scenario, try the solutions, rinse repeat. Apr 21 16:13:49 Ping_2_Ur_Pong: I tried everywhere...then only I came here :( Apr 21 16:14:29 then you need to buff your googling skills, nothing you are doing is advanced, the answers exist on the web, you just have to know how to find them. Apr 21 16:20:22 tip for when googling, less is more. Less information is better than more information. ie... NullPointerexception activity android is ideal. Apr 21 16:21:32 rudolf_: uh I'm not even sure what you're doing Apr 21 16:21:44 Why are you trying to get the view from inside the list view? Apr 21 16:22:56 But Ping_2_Ur_Pong is absolutely right. Asking someone else how to fix these issues is not a scalable solution Apr 21 16:23:31 tilal6991: Yeah I know...I googled but I could not find. Apr 21 16:23:40 * Ping_2_Ur_Pong thinks of the guy that was working at 4 companies and hired people in China to do his work. Apr 21 16:23:42 Which line are you talking about? Apr 21 16:23:54 Well to me none of your code makes sense Apr 21 16:24:03 Where are you adding an adapter to the viewpager? Apr 21 16:24:41 tilal6991: http://pastebin.com/bS0wL4k2 is for http://pastebin.com/XUmTyCGi layout Apr 21 16:24:53 Yes I get that lol Apr 21 16:25:07 The code there does not have you adding an adapter to the viewpager Apr 21 16:25:07 rudolf_: if I were to give you one tip, it would be go do a shitton of reading and watching videos about android and then come back to coding, go on github and look at code. JakeWharton has a great app u2020 that will show you many patterns in android. grab it from github and study it. Apr 21 16:25:28 ^ Apr 21 16:25:48 I did not upload the code where I am adding adapter to view pager. The problem started after adding this new code. Apr 21 16:26:11 you are building like a retarded 3rd grader, by just putting all the pieces together, not understanding how or when you should use xyz. You should step back and get a better higher level understanding before lower level. Apr 21 16:26:23 Ping_2_Ur_Pong: ok Apr 21 16:27:33 * Ping_2_Ur_Pong blames freenode for his bluntness. He was once a nice person. Apr 21 16:28:00 Though, I don't think I was being a dick, is it worse to ignore someone and let them flounder or be blunt and point them in the right direction? Apr 21 16:28:59 It is fine :) I watch a lot of videos whenever I get time. Apr 21 16:29:32 and ready tutorials. Apr 21 16:29:34 go through offical channels or recognized experts. Apr 21 16:30:05 ie... don't watch toms awesome video on Android development. Tom is a dumbass that pretty much googled the video so he could get views. Apr 21 16:31:28 if you want a great understanding with a deep dive in information. Listen to the Android Developer Backstage podcast, fragmented is also great. Apr 21 16:31:45 I would highly recommend fragmented, no offense but your code makes me want to drown a kitten. Apr 21 16:31:48 Ping_2_Ur_Pong: but when I was in the equivalent of third grade, I could code well :P Apr 21 16:32:05 Ping_2_Ur_Pong: don't discriminate against dem third graders :P Apr 21 16:32:30 * Ping_2_Ur_Pong used to say the same thing, he wrote the best game in third grade it even worked too. Apr 21 16:32:46 Ping_2_Ur_Pong: I'm 13 and I can code pretty well Apr 21 16:32:57 Ping_2_Ur_Pong: my code is very well structured and modularized Apr 21 16:33:07 Ping_2_Ur_Pong: and I tend to *think* I understand what I'm using :P Apr 21 16:33:14 Ok...don't make fun now :| Apr 21 16:33:27 rudolf_: make fun of who? I'm really 13 Apr 21 16:33:46 spudowiar: then you have learned from others. You have learned rule 1 of being intelligent, that smart people learn from other smart people. Apr 21 16:33:53 ok Apr 21 16:34:12 Ping_2_Ur_Pong: I agree Apr 21 16:34:23 Ping_2_Ur_Pong: I like to learn from others and like to teach others too Apr 21 16:34:42 dude, if you're talking to me and I am paying attention no need to nick alert. Apr 21 16:34:52 * Ping_2_Ur_Pong hears a *ping* sound everytime you do Apr 21 16:35:23 Ping_2_Ur_Pon​g: better? Apr 21 16:35:46 Ping_2_Ur_Pon​g: I just find it's easier to always mention the person you are talking to on IRC Apr 21 16:35:55 Ping_2_Ur_Pon​g: just so conversations don't get mixed up Apr 21 16:37:58 Ping_2_Ur_Pong: lol, you aren't replying now :) Apr 21 16:38:07 He put you on ignore :P Apr 21 16:38:08 * Ping_2_Ur_Pong was busy Apr 21 16:38:20 * Ping_2_Ur_Pong is at work Apr 21 16:38:23 Ping_2_Ur_Pong: okey Apr 21 16:38:27 Ping_2_Ur_Pong, Apr 21 16:38:27 Ping_2_Ur_Pong, Apr 21 16:38:28 Ping_2_Ur_Pong, Apr 21 16:38:29 :) Apr 21 16:38:50 * Ping_2_Ur_Pong prepares to write a script that nick alerts pfn every 10 mins Apr 21 16:38:59 Ping_2_Ur_Pon​g: anyway, I'm at that stage where I work for other people :P Apr 21 16:39:05 Ping_2_Ur_Pon​g: get paid moneyz Apr 21 16:41:10 spudowiar: for a 13 year old can you legally enter employment contracts? Apr 21 16:41:25 tilal6991: it's mainly freelancing Apr 21 16:41:44 I remember those days Apr 21 16:41:49 Good times Apr 21 16:43:09 TBH though I wouldn't rush into entering freelancing Apr 21 16:43:21 Doing work for other people is never as fun as messing around with programming yourself Apr 21 16:43:31 tilal6991: nah, it's still interesting Apr 21 16:43:53 Fair enough Apr 21 16:44:03 Having done both I definitely prefer writing my own code Apr 21 16:44:23 ok...I agree. The mistake was very stupid. Apr 21 16:44:23 tilal6991: I'm looking at https://www.reddit.com/r/unixporn/comments/4fkyve/openbox_i_see_your_desktop_from_when_you_were_12/ on Reddit, they got so much karma cos they are 12 - maybe I should repost mine :P! Apr 21 16:44:47 Haha my brother uses i3 on Arch and he's 13 1/2 lol Apr 21 16:45:08 tilal6991: SNAP Apr 21 16:45:17 tilal6991, you don't get working for yourself :P Apr 21 16:45:29 tilal6991: I love i3 on Arch Apr 21 16:45:39 tilal6991: but I've been using Linux since 5 :P Apr 21 16:45:44 Yeah I do as well - i3 + arch is golden Apr 21 16:45:44 Debian 4.0! Apr 21 16:45:55 Ubuntu Feisty for me Apr 21 16:46:03 Started when I was around 11 Apr 21 16:46:07 tilal6991: I tried Ubuntu and it made me hate Linux Apr 21 16:46:23 tilal6991: I liked the power Debian gave me Apr 21 16:46:27 Meh I didn't mind Apr 21 16:46:33 tilal6991: a few weeks ago, I learnt that Debian had an installer Apr 21 16:46:43 tilal6991: I was totally like :O Apr 21 16:46:51 Loved arch as soon as I tried it tho Apr 21 16:47:11 ubuntu is more or less debian, though Apr 21 16:47:40 s73v3r: not enough powa :( Apr 21 16:47:52 s73v3r: I didn't realise there was an installer for Debian anyway Apr 21 16:48:04 that statement makes absolutely no sense Apr 21 16:48:10 it’s linux. you can install whatever you want Apr 21 16:48:37 s73v3r: it's not what you install, it's what you start off with Apr 21 16:48:43 he means package manager Apr 21 16:48:52 what you start out with doesn’t matter Apr 21 16:48:55 I'll be honest PPAs seemed amazing back in the day. Now I can't stand the concept Apr 21 16:49:01 s73v3r: it does matter Apr 21 16:49:11 s73v3r: why do I want to spend ages removing everything from my system? Apr 21 16:49:18 It doesn't TBH but it is a pain to remove everything Apr 21 16:49:21 s73v3r: I was 5 years old, I had *NO* patience Apr 21 16:49:23 no, it doesn’t. not when whatever you want is an apt-get away Apr 21 16:49:30 Plus Arch pacakagement system >>>>>> Apt Apr 21 16:50:04 s73v3r: I don't think you get me. I have OCD and any package I'm not using shouldn't be on a system IMO Apr 21 16:50:12 you do not have OCD Apr 21 16:50:41 TIL that s73v3r knows me better than I do XD Apr 21 16:53:32 I have questions with verification of response part in Google Safetynet API (http://developer.android.com/training/safetynet/index.html#verify-compat-check) . If I want to do this manually on my server instead of sending response to Google, do I have to store Google's certificates and keep updating them on my server? Can anyone help? Apr 21 16:58:21 Ping_2_Ur_Pong: who means package manager? Apr 21 16:59:12 I presumed you meant package manager. Apr 21 16:59:27 Ping_2_Ur_Pong: nope, installer Apr 21 16:59:28 spudowiar: I’ve known people with OCD. Idiots who complain about an extra package on their system are not OCD Apr 21 16:59:42 Ping_2_Ur_Pong: I used debootstrap for it Apr 21 16:59:52 Ping_2_Ur_Pong: then a few weeks ago, someone told me there is an official installer Apr 21 17:00:06 s73v3r: observational bias Apr 21 17:00:13 no, it’s not Apr 21 17:00:32 it’s knowing that 90% of the people who say, “I’m so OCD, lol” have no idea what OCD really is Apr 21 17:01:04 s73v3r: so you know better than the diagnosis I have of Autism and OCD? Apr 21 17:01:13 if you say so... Apr 21 17:02:10 latest in my samsung renderscript adventures - hard freeze on 5.0 s5, works fine on a 5.1 s5 Apr 21 17:02:11 are hipsters *read as dumbasses* actually happy to be OCD and have autism? Apr 21 17:02:42 Ping_2_Ur_Pong: is that aimed at me? Apr 21 17:04:13 someone got a good light theme that works with api level 14 Apr 21 17:04:19 and a doc to go along with it :x Apr 21 17:14:08 appcompat Apr 21 17:18:14 taub: ^ Apr 21 17:21:15 k Apr 21 17:21:51 Ping_2_Ur_Pong: was that comment aimed at me? Apr 21 17:25:11 spudowiar: huh? Apr 21 17:25:31 are hipsters *read as dumbasses* actually happy to be OCD and have autism? Apr 21 17:25:36 ohh the hipster thing... dude take what I say with a grain of salt. Apr 21 17:25:45 Ping_2_Ur_Pong: but was it aimed at me? Apr 21 17:25:46 * Ping_2_Ur_Pong defaults to asshole Apr 21 17:25:53 not particularly Apr 21 17:26:31 Ping_2_Ur_Pong: but I wasn't showing off about it, I was just saying I have it Apr 21 17:26:37 Ping_2_Ur_Pong: I don't like having it Apr 21 17:28:27 PSA: Wootric's Android "SDK" sucks a lot Apr 21 17:28:41 I wish Chainfire would open source his apps :( Apr 21 17:29:55 explodes: lol wow Apr 21 17:30:05 Someone marketting a library claimed as "Android SDK" Apr 21 17:30:05 Wow Apr 21 17:30:15 * marketing Apr 21 17:30:43 tilal6991: you can't do that, it's copyright breach Apr 21 17:30:48 tilal6991: you have to say "SDK for Android" Apr 21 17:30:59 To be fair that is what they say Apr 21 17:30:59 https://github.com/Wootric/WootricSDK-Android Apr 21 17:31:11 Their artefact id is androidsdk tho Apr 21 17:31:27 tilal6991: I dunno about that, I ain't no lawyer :P Apr 21 17:31:28 Please make that a Github issue Apr 21 17:32:34 technically Google doesn’t have to let them use the Android trademark at all Apr 21 17:33:30 looks like they changed the artifact Apr 21 17:34:09 Yeh their maven one is slightly different Apr 21 17:34:32 s73v3r: anyone can say "for Android" Apr 21 17:34:40 s73v3r: no-one but Google can say "Android ..." Apr 21 17:34:45 (or their licensees) Apr 21 17:34:53 licenser? or licensee? hmm Apr 21 17:34:55 idk Apr 21 17:36:41 My App is called "Google for Android", is that ok? Apr 21 17:36:54 It used my "Google for Android SDK" Apr 21 17:37:23 explodes: wait, where's this app of yours? Apr 21 17:37:41 google.com/android Apr 21 17:37:53 Lol troll is strong Apr 21 17:37:55 I'm kidding, actually, that's kind of a real app Apr 21 17:38:07 The "Google" app is installed on most phones Apr 21 17:39:20 standalone sdk download still 24.4.1 ... come on google Apr 21 17:39:44 i get the impression a lot of stuff at google is adhoc, and people just keep forgetting pieces of the process Apr 21 17:39:55 like updating d.android.com for new classes in support lib 23.3 Apr 21 17:39:57 And you're right lol Apr 21 17:40:12 try to find BottomSheetDialogFragment or whatever it is Apr 21 17:42:02 tilal6991 i didn't agree much with CMM, but sounds like CMM level 1 or something :FD Apr 21 17:42:05 Chainfire: why is supersu not open source? Apr 21 17:42:28 because they didn’t want it to be. simple as taht Apr 21 17:42:55 but that doesn't answer my question. Apr 21 17:43:00 but it does Apr 21 17:43:17 s73v3r is a troll, ignore him Apr 21 17:43:21 or her Apr 21 17:43:33 yeah, no. Apr 21 17:43:35 Lol but in this case s73v3r is absolutely right Apr 21 17:43:54 It's totally an author's decision wheter or not to open source code Apr 21 17:44:11 duh Apr 21 17:44:16 I know it's their decision Apr 21 17:44:22 and I'm wondering why Chainfire made his Apr 21 17:44:25 tilal6991: yeah, ik, but I was just wondering the the reason why Apr 21 17:46:25 because they don’t want it open source Apr 21 17:46:37 s73v3r: shut up. Apr 21 17:46:43 fucktard. Apr 21 17:46:52 oats: because ATM he doesn't own it Apr 21 17:47:00 http://forum.xda-developers.com/showpost.php?p=66360462&postcount=10500 Apr 21 17:47:08 spudowiar, don't be a dick Apr 21 17:47:11 tilal6991: why didn't he in the first place? Apr 21 17:47:12 be angry all you want, but that was likely how the decision went down Apr 21 17:47:21 It could be any number of things Apr 21 17:47:21 oats: he's been annoying me before Apr 21 17:47:29 why isn’t anything else open source? Apr 21 17:47:31 tilal6991: that's what I want to ask him Apr 21 17:47:38 tilal6991: I'm allowed to ask, aren't I? Apr 21 17:47:41 He needed the money would be my guess Apr 21 17:47:44 Ofc feel free Apr 21 17:47:53 you are allowed to ask. we gave you the likely answer Apr 21 17:48:47 tilal6991: I'm wondering why he didn't open source it from the start Apr 21 17:48:48 I'm using GridLayoutManager in RecyclerView and when expanding a view the views below it obviously get's pushed down but the problem is that when I expand my view the views don't come back up like with LinearlayoutManager Apr 21 17:49:01 spudowiar: [18:47:41] He needed the money would be my guess Apr 21 17:49:13 tilal6991: what do you mean? the Paid version? Apr 21 17:49:15 Yes Apr 21 17:49:19 s73v3r: dude, not angry. just honestly curious Apr 21 17:49:24 I mean when I collapse the view then the views below don't come back as it does with LinearlayoutManager Apr 21 17:49:25 tilal6991: he has a PseudoPro option, IIRC Apr 21 17:49:35 tilal6991: so you get Pro features without paying for it Apr 21 17:49:41 tilal6991: so that's not the logic behind it Apr 21 17:50:03 oats: i meant spudowiar. there likely isn’t much more to the decision other than they didn’t want to open source it. but he’s acting like there has to be some huge mystical meaning behind it Apr 21 18:04:30 hi folks assume R.string.pref_key is = "something", why would ListPreference listPreferenceCategory = (ListPreference) findPreference(getString(R.string.pref_key)); be equal to Null ? i realize findPreference is depreciated ... but still is suposed to work ? Apr 21 18:06:36 http://developer.android.com/reference/android/preference/PreferenceGroup.html - findPreference doesn't seem to be deprecated Apr 21 18:07:11 ghostD0g: in any case have you checked that you actually do have a list preference with that id in your heirarchy? Apr 21 18:07:50 https://events.google.com/io2016/schedule#day1 Apr 21 18:07:56 Oh you're calling it in a preferenceactivity in which case it is deprecated lol Apr 21 18:08:19 "Glide: Easy and efficient image loading for Android" - how many times have they given this talk? Apr 21 18:08:24 hmm weird i was just gonna say http://developer.android.com/reference/android/preference/PreferenceActivity.html Apr 21 18:08:48 "Building the Google I/O Web App: Launching a Progressive Web App on Google.com" - yay Apr 21 18:08:50 how do i check ? Apr 21 18:08:54 "Discover the expanded material design motion guidelines" - can't wait to discover them in the support library :) Apr 21 18:08:55 That'll involve some of the stuff I built :P Apr 21 18:09:17 "What the Fragment?" - wow Apr 21 18:09:19 This talk Apr 21 18:09:20 Can't wait Apr 21 18:09:47 i do have the string in my strings.xml so ? Apr 21 18:10:00 ghostD0g: not in strings Apr 21 18:10:05 I mean in your prefs xml file Apr 21 18:10:17 strings.xml Apr 21 18:10:21 hmm Apr 21 18:10:38 No lol I mean the thing you pass to addPreferencesFromResource Apr 21 18:10:48 "Google SDKs for Android: A tech deep dive" - sounds fun Apr 21 18:10:59 tilal6991 my favorites are always the Fireside chats ... hopefully some dumbass won't waste out time with enum question though Apr 21 18:11:00 Fun fact - did you guys know the View class in Android is over 20000 lines long Apr 21 18:11:31 pref.xml i dont have that at all .. and i am not calling it any way Apr 21 18:11:33 Much OO design. Such composition. Apr 21 18:11:51 ghostD0g: uhhhhhhhhhhhhh then findPreferece won't work lol Apr 21 18:12:02 It's finding the preference object from that hierarchy Apr 21 18:12:08 tilal6991 fun fact - the View javadoc is like 211 pages long Apr 21 18:12:12 ListPreference listPreferenceCategory = (ListPreference) findPreference(getString(R.string.pref_key)); Apr 21 18:12:19 to be fair, there are a bunch of "gotcha"s with glide tilal6991 Apr 21 18:12:23 i was tellin it to look in strings Apr 21 18:12:25 that class sounds like a nightmare to work on Apr 21 18:12:28 g00s: I do hope someone keeps asking about Android gaining parity with regular Java, though Apr 21 18:12:42 maybe about other languages, like Swift, being given first class support Apr 21 18:12:50 ghostD0g: I think you need to look at how preference activity is supposed to work Apr 21 18:12:56 haha, yeah Swift question for fun of it :D Apr 21 18:13:35 ghostD0g: http://developer.android.com/guide/topics/ui/settings.html Apr 21 18:13:42 You need to use addPreferencesFromResource to add the prefs you want Apr 21 18:13:48 http://developer.android.com/reference/android/preference/PreferenceActivity.html Apr 21 18:13:52 Lol pls no swift Apr 21 18:13:56 Kotlin yay Apr 21 18:13:58 thank you Apr 21 18:14:06 kotlin can already be used, though. Apr 21 18:14:12 First class support I mean Apr 21 18:14:17 There are still pain points Apr 21 18:14:38 can i point it at sharedprfrences ? Apr 21 18:14:46 cause that i do have working Apr 21 18:14:50 Mainly due to lack of communication between Google and JetBrains about breaking changes Apr 21 18:15:00 "Android application architecture: Get ready for the next billion!" that could be cool Apr 21 18:15:12 ghostD0g: the entire prefs front end works with shared prefs so yes Apr 21 18:15:21 i wonder how many of these Yigit is going to give, I can't understand his accent Apr 21 18:15:37 Haha his accent is great Apr 21 18:15:49 kk cause that what i am tryong to do is poulate a listpref from a shared pref Apr 21 18:16:31 g00s: yigit hands out on the Kotlin slack, you can talk to him there without any accent barrier :) Apr 21 18:16:48 jaana haha Apr 21 18:16:53 "Android themes & styles demystified" can't wait to hear about how crazy the hacks were to get vectordrawable working Apr 21 18:16:58 The article seemed crazy enough Apr 21 18:17:42 "Advanced Data Binding" Apr 21 18:17:48 Woah "Come and learn about new Data Binding features, including two-way data binding and lambda expressions. " Apr 21 18:18:02 That's supercharged data binding Apr 21 18:18:25 woo! Apr 21 18:18:49 now how long until everyone can use them? Apr 21 18:19:08 s73v3r: use https://github.com/zserge/anvil :P Apr 21 18:19:16 two way data binding is in AS 2.1 / gradle 2.1 right ? Apr 21 18:19:26 Also yeah there is so much hoops you have to jump through to get data binding working Apr 21 18:19:30 So much boilerplate Apr 21 18:19:37 wait i do have a prefxm Apr 21 18:19:39 xml Apr 21 18:20:03 Then use it lol Apr 21 18:20:09 lol, we put boilerplate in your boilerplate so you can bind while you bind Apr 21 18:20:19 "Instant Loading: Building offline-first Progressive Web Apps Apr 21 18:20:19 " - yay more of my stuff Apr 21 18:20:43 ListPreference listPreferenceCategory = (ListPreference) findPreference(getString(R.xml.pref)); like so ? Apr 21 18:20:47 there is a lot of Firebase stuff, but since its not free i can't afford to use it Apr 21 18:21:11 g00s: Firebase has a free tier Apr 21 18:21:21 ghostD0g: if you've setup everything correctly then sure that'll work correctly Apr 21 18:21:24 yeah - i think its very low though, last i looked Apr 21 18:22:42 expected resource of type string .... Apr 21 18:23:04 Lol wait no that won't work lol Apr 21 18:23:08 OK what Apr 21 18:23:10 No no Apr 21 18:23:14 Go back to how it was before Apr 21 18:23:18 I misread that totally Apr 21 18:23:27 ListPreference listPreferenceCategory = (ListPreference) findPreference(getString(R.string.pref_key)); Apr 21 18:23:28 tilal6991 now , we have to know - did you work on Volley :D Apr 21 18:23:36 careful how you answer :) Apr 21 18:23:37 so that ? Apr 21 18:23:41 g00s: no Chrome Android Apr 21 18:23:44 ghostD0g: ues Apr 21 18:23:46 * yes Apr 21 18:24:20 jaana how is the android slack channel ? Apr 21 18:24:33 Very active and interesting overall Apr 21 18:24:34 http://pastebin.com/3Rm8JVMA <-- is my xml Apr 21 18:24:43 Often talks about just android stuff instead of kotlin-android stuff Apr 21 18:25:15 ghostD0g: so android:key needs to match the string you're passing to findPreference Apr 21 18:25:23 @string/pref_location_key" is what i am trying to s=change Apr 21 18:25:34 TBF there isn't that much need for specific Kotlin Android advice Apr 21 18:25:39 jaana i'd sign up if i didn't have to use email and it be in the open, is there a way to hide it ? Apr 21 18:25:43 It's mainly tooling that needs to improve Apr 21 18:25:52 Use a throwaway email Apr 21 18:25:54 tooling can always be better Apr 21 18:25:59 i don't think my machine has enough memory to run slack and IRC lol Apr 21 18:26:06 Hello Apr 21 18:26:13 Very true but Kotlin lags behind native Java Apr 21 18:26:35 do I need an invite to join the Android slack? Apr 21 18:26:45 as an outside, to me seems only improvement kotlin could make wrt adnroid is just making sure xav's teams tooling doesn't break things Apr 21 18:26:58 ^ is right Apr 21 18:27:07 Their roadmap is spot on Apr 21 18:27:09 I have just started with android. I see super(something inside) in many codes. I know that super is used to call a method of the parent class, but what does super(some_item) mean? Apr 21 18:27:16 http://blog.jetbrains.com/kotlin/2016/03/kotlins-android-roadmap/ Apr 21 18:27:31 andyOne: calls the superclass constructor Apr 21 18:27:43 andyOne: it means call the parent class' constructor Apr 21 18:27:48 tilal6991: That is super() but what is this then super(itemView); Apr 21 18:27:53 andyOne: that's the same Apr 21 18:28:06 andyOne: it uses those arguments, that's all Apr 21 18:28:07 Yes still the superclass constructor Apr 21 18:28:12 ^^ Apr 21 18:28:48 Ah...all right. Thanks. Apr 21 18:29:50 http://pastebin.com/4D43UJVf <-- the part from strings.xml http://pastebin.com/3Rm8JVMA <-- the pref.xml http://pastebin.com/5BwQC6cf <-- the java thats breaking Apr 21 18:30:11 so as far as i can tell i have all the pieces in place ? Apr 21 18:31:03 excuse my Log.i its so i can find em in the logcat Apr 21 18:31:03 ghostD0g: you still must not be doing addPreferencesFromResource. That's the only way I can explain it Apr 21 18:31:13 im not Apr 21 18:31:22 not sure how to do that Apr 21 18:31:28 Look at the link I sent Apr 21 18:31:28 reading Apr 21 18:31:33 Otherwise nothing works Apr 21 18:32:27 Anyone willing to help with Safetynet verification? Apr 21 18:32:28 Also http://blog.jetbrains.com/kotlin/2016/04/kotlin-post-1-0-roadmap/ Apr 21 18:32:32 Yay async/wait Apr 21 18:32:33 <3 Apr 21 18:33:05 Btw how do we know that we need to call super() ? For example in the first example at https://developer.android.com/training/material/lists-cards.html , he calls super(v) in the ViewHolder class definition. How does he know? Apr 21 18:33:21 i always hated that about inheritance Apr 21 18:33:21 andyOne: the compiler will complain Apr 21 18:33:32 Your ide will shout at you Apr 21 18:33:53 tilal6991 you dont get warning if you forget that in, say, onStart() etc Apr 21 18:34:05 Because it's not a constructor Apr 21 18:34:15 but android will complain Apr 21 18:34:23 A super class constructor NEEDS to be called Apr 21 18:34:30 A super class method does not necessarily Apr 21 18:34:30 oh for ctor sure Apr 21 18:34:35 Yeah it's runtime vs compile time Apr 21 18:34:46 tilal6991: Ok...how do we know that by ourself? I mean without ide how do we know before crashing the app? Apr 21 18:34:50 Because there's no way to enforce that for other methods :/ Apr 21 18:34:58 andyOne: it can't crash the app Apr 21 18:35:02 andyOne: experience Apr 21 18:35:05 Because you can't get the app running in the first place Apr 21 18:35:12 Because it won't compile lol Apr 21 18:35:19 Is there any generic method of installing TWRP or CWM on any Android device? Apr 21 18:35:26 Queenslayer: wrong channel Apr 21 18:35:32 I know there are ways to extract the ROM.... Apr 21 18:35:35 root? Apr 21 18:35:47 Queenslayer: If there are official buils, use TWRP manager or something. Apr 21 18:35:50 #android-root Apr 21 18:35:55 andyOne: You can check the documentation for the method you’re overriding; it’ll usually be there Apr 21 18:36:00 It's a box Apr 21 18:36:02 andyOne, Apr 21 18:36:10 Yeah Pyuruku Apr 21 18:36:16 Queenslayer: #android-root Apr 21 18:36:23 Was about to do that but replied to andyOne Apr 21 18:36:28 ahhh i found it Apr 21 18:37:03 i was callin addPreferencesFromResource(R.xml.pref.xml); Apr 21 18:37:04 but after i was calling my populate method Apr 21 18:37:07 Does anyone here use dagger 2 with subcomponents and has functional tests? Apr 21 18:37:25 Ok...thanks. Got to read a lot of stuff before writing any code. :/ Apr 21 18:37:26 so at that point it wasnt setup right Apr 21 18:37:33 thank you :} Apr 21 18:37:46 NP Apr 21 18:39:19 sweet :) Apr 21 18:39:21 works Apr 21 18:44:31 hm, can't find a way to tell intellij to use a certain font weight Apr 21 18:44:39 like extra light or something Apr 21 18:59:38 evening guys, could someone help with a volley issue i am having Apr 21 19:04:23 is there away toe get the SharedPreferences size withput resorting to this hack .. Map m = sharePref.getAll(); editor.putString(String.valueOf(m.size()), "string"); ... to add a new value to sharePref Apr 21 19:04:45 its works but seems ..wrong Apr 21 19:06:53 Hey, so I have this dilemma, I am using a grid layout for my recycler view (showing 2 items per row), but the first row I want it to show only the one item so it is wider, I tried doing this in a separate layout outside of the recycler view but then it will not scroll and will stay fixed instead... Apr 21 19:07:16 Is there a way to change the gridlayout for the first item in recycler view to expand across the screen? Apr 21 19:07:19 Lonesoldier728: Create a different layout for that one cell Apr 21 19:07:37 I did, but the problem is that I have this for the whole recycler view Apr 21 19:07:46 so? Apr 21 19:07:50 RecyclerView.LayoutManager mLayoutManager = new GridLayoutManager(getApplicationContext(), 2); Apr 21 19:08:01 nevermind Apr 21 19:08:16 i read gridlayout differently Apr 21 19:08:28 Lonesoldier728: set the spansize lookup to your adapter Apr 21 19:08:29 you might need a custom layoutmanager Apr 21 19:08:51 How do I do that Pyuruku Apr 21 19:09:03 `layoutManager.setSpanSizeLookup();` Apr 21 19:09:33 that’s what you want Apr 21 19:09:58 s73v3r - what is the span or custom layout manager Apr 21 19:10:11 you dont need a custom layout manager Apr 21 19:10:18 the span tells the grid layout manager how wide an item is Apr 21 19:10:24 so in your case, the first item is 2 wide Apr 21 19:10:28 so it spans the entire width Apr 21 19:10:29 ^ this Apr 21 19:10:31 the rest will be 1 wide Apr 21 19:10:53 so literally, if (position == 0) return 2 else return 1 Apr 21 19:11:29 Let me show you a quick paste because I am confused where I include the spanSizeLookup exactly Apr 21 19:11:41 look up that method first Apr 21 19:11:52 I am http://developer.android.com/reference/android/support/v7/widget/GridLayoutManager.SpanSizeLookup.html Apr 21 19:12:15 so you call it when you set up that layoutmanager Apr 21 19:12:21 Evenin' Apr 21 19:12:54 but where do I get the position from if I am setting it to the recycler view like so when setting up the adapter Apr 21 19:13:05 Lonesoldier728: I have the spansize lookup object held by my adapter and I just pass it to the layout manager Apr 21 19:13:24 http://pastebin.com/04L7S2Em Apr 21 19:13:25 inside of the object, you can grab whatever adapter item you want, it asks for the size by position Apr 21 19:13:48 add `getSpanSizeLookup()` or something to `ExploreAdapter` Apr 21 19:13:51 Is there a way to authorise adb from the terminal provided by twrp..? Apr 21 19:13:53 oh ok Apr 21 19:14:07 then do `mLayoutManager.setSpanSizeLookup(exploreAdapter.getSpanSizeLookup());` Apr 21 19:14:08 el-duderino: Try #android-root Apr 21 19:14:19 s73v3r cheers Apr 21 19:16:13 Pyuruku I am confused on how to return the position exactly, for the span, any chance you have code to direct me to? Apr 21 19:16:27 hi. can anyone recommend a package for apps to do auto-updates with? but just with a server i can run, not going through Google Play? Apr 21 19:16:44 Lonesoldier728: how about you try to start implementing the code, you'll get it then Apr 21 19:17:11 the SpanSizeLookup object is given a position Apr 21 19:17:18 all you have to do is return the size based on that position Apr 21 19:17:20 wow, I just saw a tweet that makes Agera look terrible. Counting from 1-100,000 rxjava:325ms agera:15951 Apr 21 19:18:32 ok will try it out Apr 21 19:27:22 Ping_2_Ur_Pong: is that really surprising? Apr 21 19:27:29 Pyuruku - so this worked except that it is cutting out one of the items http://pastebin.com/qXX9uTRN Apr 21 19:27:38 Lonesoldier728: also please stop using getApplicationContext to pass to the LayoutManager Apr 21 19:27:54 You really should be passing your activity context Apr 21 19:28:02 It's a good habit to get into Apr 21 19:28:18 May not make a diff here but in general you should not use application context when doing view related stuff Apr 21 19:28:21 ah didnt realize, changed it to "this" Apr 21 19:28:36 Cool :) Apr 21 19:29:59 https://twitter.com/Aballano/status/722369518048317440 Apr 21 19:29:59 How do I make sections of this image clickable? http://imgur.com/NHdXN2m Apr 21 19:30:00 Lol Apr 21 19:30:12 Ping_2_Ur_Pong: https://twitter.com/akarnokd Apr 21 19:30:19 He's one of the main devs of Rx lol Apr 21 19:30:29 As you can see, I cut the image up in GIMP and tried to make them clickable, but the alignment doesn't look right. Apr 21 19:31:07 The left 4 images worked great Apr 21 19:31:16 But the Dairy section is just off slightly Apr 21 19:31:21 tilal6991 any clue what I am doing wrong though Apr 21 19:31:57 Uhhh what you're doing looks good to me TBH Apr 21 19:32:55 Yeah, but for some reason, it seems like when I return span 1 for the first object it is cutting out one of the objects in the list Apr 21 19:33:20 The toughest part is that the images are not equal in size or shape, but I want them to come together to make the whole image Apr 21 19:34:13 honestemu: what are you doing? Apr 21 19:35:06 orbyt_: I'm trying to make this image clickable, basically. So far I tried splitting the image into 5 different images of different sizes, but it doesn't align properly Apr 21 19:35:14 Looking for a better method Apr 21 19:35:25 honestemu: the proper way to do this would be to create one giant image and then do onTouch handling Apr 21 19:35:33 Oh okay Apr 21 19:35:39 honestemu: Wanna post the image? Apr 21 19:35:41 onTouch is not fun to handle though :P Apr 21 19:35:54 http://imgur.com/NHdXN2m Apr 21 19:35:56 In your case I think it should be not too bad tho Apr 21 19:36:08 Yeah, I think I saw this on stackOverflow Apr 21 19:36:14 http://stackoverflow.com/questions/9495199/i-have-an-image-which-has-sections-and-i-want-to-make-each-section-clickable Apr 21 19:36:26 wow thats ugly. Apr 21 19:37:04 honestemu: exactly like what that answer said Apr 21 19:37:07 Back in a bit Apr 21 19:37:23 orbyt_: Yup, seems real hacky Apr 21 19:37:57 Thought someone here would have a nice way of doing this. Apr 21 19:39:14 i have a few fab that get initialized and display onCreate then i hide them on button push and display again on another button push but then i het the error mentioned here on line #10 http://pastebin.com/JVaByGNF Apr 21 19:39:28 ok just had to add my index 0 item Apr 21 19:43:07 is there any good tuorials for drawing apps for android Apr 21 19:52:33 hert: your link is gone Apr 21 19:57:25 tila6991 http://pastebin.com/JwnxdksL Apr 21 19:58:17 is there a way to trace an android runtime error to a specific line? Apr 21 19:58:19 http://pastebin.com/Zn7H0Z8j Apr 21 19:58:33 i know what's wrong but this project is huge! Apr 21 19:59:04 trudev: check around that area in the log, there might be another stack trace Apr 21 19:59:13 hert: without seeing more of the code there's no way to figure out what's going on Apr 21 19:59:36 trudev: you've not inited thelayout manager for a Apr 21 19:59:48 * inited the layout manager for a recyclerview somewhere Apr 21 20:00:02 That's the canonical error which happens when you forget Apr 21 20:00:13 And no there is no easy way to figure out where that is Apr 21 20:00:26 tilal6991 i know that, but i have no idea where the recyclerview is located because this project is huge Apr 21 20:00:32 trudev: grep it! Apr 21 20:01:36 spudowiar can you explain a bit? i know what grep is but idk how it would help me Apr 21 20:06:04 http://pastebin.com/EStb6mCh View.VISIBLE call on floating action button gives a NUllPointerException Apr 21 20:06:53 hert: OK are you sure you're not setting any of the button views anywhere else in the whole app? Apr 21 20:06:59 Like updating the fields? Apr 21 20:09:26 no the are setup in the onCreate at first and that's it Apr 21 20:09:52 Then I'm out of ideas lol. Possibly one of the weirdest bugs I've seen in a while if all of what you are saying is accurate Apr 21 20:10:02 Fields don't null themselves Apr 21 20:10:49 which fields are you referring to? Apr 21 20:11:05 The button fields Apr 21 20:11:33 all that is in the xml Apr 21 20:12:14 Oh yeah but in onCreate you set everything up right so between hide and show they are being nulled Apr 21 20:12:19 Which is weird Apr 21 20:12:32 after seeing up them up i put a listener on them all in onCreate Apr 21 20:13:00 does set INVISIBLE cause it to nullify? Apr 21 20:13:22 No Apr 21 20:13:22 i did not have these issue on regular buttons only on floating action button Apr 21 20:13:25 Not even close Apr 21 20:14:58 Does anyone here use databinding? Apr 21 20:15:04 I'm having some problems with getting data binding to work Apr 21 20:15:09 Docs say I need Gradle 1.5.0 and gradle syncs if I use 1.5.0 Apr 21 20:15:12 TinFury: I've used it Apr 21 20:15:16 If I use 2.0.0 however it methods from databinder are not recognized. Apr 21 20:15:43 tilal6991, I think it's worth it why isn't there more documentation or why isnt' this the default way to bind the layout? Apr 21 20:15:59 Hey, I have this horizontalScrollView: http://pastebin.com/ZXZ5w87d It works perfect except that the LinearLayout which nests in the ScrollView is expanding way beyond what the items in it are taking in space. So basically I have another length of LinearLayout to scroll through with no items in it Apr 21 20:16:07 Because the boilerplate is incredibly high Apr 21 20:16:10 Didn't like it TBH Apr 21 20:16:35 I had to mess with a lot of my data structures to get it to work Apr 21 20:16:59 Is there something else? Apr 21 20:17:05 I'm using butterknife now Apr 21 20:17:19 I've been playing with https://github.com/zserge/anvil Apr 21 20:17:31 Which is a totally different way to approach databinding Apr 21 20:17:38 Lemme read up on it Apr 21 20:17:47 But it's not production tested Apr 21 20:17:51 Still a nice library tho Apr 21 20:18:48 hert: BTW you should use hide and show with floatingactionbuttons Apr 21 20:18:56 You get nice animations for free Apr 21 20:19:22 tilal6991, Animations? Apr 21 20:19:40 TinFury: was talking to hert not you Apr 21 20:19:47 oh lol Apr 21 20:19:47 k Apr 21 20:20:02 tilal6991, Thanks btw Apr 21 20:23:02 TinFury: any time :) Apr 21 20:38:36 Hi all! Apr 21 20:39:05 Is xamarin a good idea to build android apps or better java? Apr 21 20:39:43 it’s always better to go native Apr 21 20:39:54 java is the native way? Apr 21 20:39:57 yes Apr 21 20:40:18 with the basics java things i can jump into android dev? Apr 21 20:40:24 maybe Apr 21 20:40:48 s73v3r: you know courses, tutorials or good resources to learn? Apr 21 20:40:51 pay and free Apr 21 20:40:56 pay is not problem Apr 21 20:40:59 god damn we really need that bot Apr 21 20:41:23 there’s the Big Nerd Ranch book, there’s the official developer.android.com tutorials, and there’s the Google Android Udacity course Apr 21 20:41:44 ok thanks Apr 21 20:41:53 ;) Apr 21 20:43:35 I'm having a lot of trouble renaming files. Apr 21 20:44:06 IggyGee: context is a nice thing to give people Apr 21 20:44:48 I've even tried copy pasting with different names, but for some reason, while I can create the new files, the information doesn't get transferred over using Streams or even FileChannels... Apr 21 20:45:22 spudowiar: I'm not really sure what kind of info would be helpful to you all Apr 21 20:46:37 IggyGee: the error? Apr 21 20:46:47 It's not an error Apr 21 20:47:28 the bytes are not being transferred over Apr 21 20:47:44 show your code, I guess Apr 21 20:50:22 http://pastebin.com/t55j3JCY Apr 21 20:51:29 This code simply recreates the name of the given files with 0 bytes Apr 21 20:52:21 both location and the 'get' methods are within the same directory Apr 21 21:34:37 i've been getting this error i can't make sense of http://pastebin.com/7WP6v9kR Apr 21 21:52:29 * pfn kicks Apr 21 21:57:31 I'm trying to follow this stackoverflow answer to make my image clickable. http://stackoverflow.com/questions/9495199/i-have-an-image-which-has-sections-and-i-want-to-make-each-section-clickable Apr 21 21:57:54 Unfortunately, when I make the ImageView invisible, it seems that I cannot click on it anymore Apr 21 21:59:04 Any idea why that might be happening? Apr 21 21:59:59 Actually, nvm Apr 21 22:00:11 I think it might have something to do with setting the background Apr 21 22:00:14 I didn't do that Apr 21 22:15:34 lol, i love how the Android Monitor tool window has a button for 'print' in logcat Apr 21 22:15:48 you know how everyone needs to print their logcat Apr 21 22:15:50 who the hell prints cats anyhow ? Apr 21 22:16:05 people love cats Apr 21 22:16:08 what are you talking about Apr 21 22:16:11 they print them all the time Apr 21 22:57:18 my new wallpaper app will feature lots of cats Apr 21 23:36:56 i'm opening a fragment from an activity and ant to pass in data but not sure how to http://pastebin.com/qnqSFyzY Apr 21 23:52:31 "2.0.0-deprecated-use-gradle-api" Apr 21 23:52:40 anyone know whats up with ^^^? Apr 21 23:52:55 Download https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar Apr 22 00:34:50 how do I determine how much uptake of an OS version a particular device has? Apr 22 00:35:04 I see the console lets you get these stats separately Apr 22 00:35:17 but I can't find any common attribute to join them with Apr 22 00:35:23 am I fucked til I use GA Apr 22 00:37:24 ok hamburger on the web (in the google dev consoles) is kind of bad Apr 22 00:46:26 missingno you can haz hamburger :) Apr 22 00:46:56 I feel dumb because I don't remember where the google analytics console is Apr 22 00:47:54 missingno btw, the GA app on Play got updated Apr 22 00:55:36 the new GA has some interesting design Apr 22 00:56:04 looks like a staggered list view containing cards, with each card having a viewpager :O Apr 22 00:56:18 s/list view/recyclerview Apr 22 01:51:56 Hello, I'm hoping someone can point me in the right direction when implementing an uncaught exception handler in my Android app Apr 22 01:52:40 I've got the classes that will handle the exception itself and handling it designed and implemented, I'm just not sure where/how to make sure they're the ones being called Apr 22 01:56:55 Click Browse and locate the USB driver folder. (The Google USB Driver is located in \extras\google\usb_driver\.) <--- Anyone know where this file is? Apr 22 01:58:19 AppData Apr 22 01:58:38 from there typically Local\Android\sdk\ Apr 22 02:03:07 Taylor, Thanks for the tip. Apr 22 02:09:14 well i'm impressed with the new GA app ... very nice design Apr 22 02:09:24 time to decompile :D Apr 22 02:09:36 GA? Apr 22 02:09:53 google analytics Apr 22 02:09:58 ah Apr 22 02:14:38 anyone know how to get android studio to run apps on your phone and the logs go to studio when testing them? Apr 22 02:14:51 I keep having to mail myself the apk and then I dont get the readout when something goes wrong Apr 22 02:15:12 If your phone is plugged in you should be able to select your device just as you would when running it on an emulator Apr 22 02:15:25 I have unlocked developer mode on my phone but when I plug the usb in it doesnt show it Apr 22 02:15:26 you have to have device drivers installed and debugging enabled Apr 22 02:16:21 I have usb debugging on Apr 22 02:24:48 are you using a samsung phone? Apr 22 02:25:15 s6 edge Apr 22 02:25:25 you have to get their stupid tool Apr 22 02:26:38 you on windows? Apr 22 02:26:51 yes Apr 22 02:26:59 http://developer.samsung.com/technical-doc/view.do?v=T000000117 Apr 22 02:27:58 thank you been losing my mind having to start genymotion then launch my app and restart about 10 minutes later because my computer became a turtle Apr 22 02:32:55 still comes up with usb device not recognized :( Apr 22 02:34:14 you have to disconnect and connect your device while their program is running Apr 22 02:34:18 its really a PITA Apr 22 02:34:30 cd #bash Apr 22 02:34:41 bah... thats two fuckups in one Apr 22 02:36:06 yes seems that way Apr 22 02:36:17 ill give it another try Apr 22 02:38:28 thank you that worked Apr 22 02:44:27 I'm opening a fragment which slide on top of the activity which is opening it and I want to pass data from that activity to the fragment but not sure how to http://pastebin.com/5GLE4PGE Apr 22 02:50:05 can anyone here help me with recyclerviews? Apr 22 02:50:14 I'm trying to implement leave-behinds and can't seem to figure it out **** ENDING LOGGING AT Fri Apr 22 02:59:58 2016