**** BEGIN LOGGING AT Mon Jan 18 02:59:58 2016 Jan 18 03:02:34 Does picasoo cache automatically Jan 18 03:08:31 drinfernoo, think I may have come up with a solution Jan 18 03:08:49 yes, and what? Jan 18 03:09:26 Should I continue using ActiveAndroid or move on to Storm? Jan 18 03:09:42 Using .fit() with landscape images, and not .fit() with portrait, and only using background color with portrait Jan 18 03:09:53 Cause landscape always looks fine zoomed in a bit Jan 18 03:09:58 So I can use fit() Jan 18 03:26:40 Want to see? Jan 18 03:34:36 sure Jan 18 03:34:41 that does sound like it makes sense Jan 18 03:35:43 One moment drinfernoo Jan 18 03:37:06 drinfernoo, https://vid.me/dFn2 Jan 18 03:38:40 oh yeah that looks OK Jan 18 03:38:57 Notice only the portrait photos need the background help Jan 18 03:39:11 By background help I mean the color, since I dont want to stretch their width Jan 18 03:39:57 Very strange. Chrome Custom Tabs only work if I have Chrome set as the default browser. Jan 18 03:45:26 Thanks for the help today drinfernoo Jan 18 03:57:47 aha! Jan 18 03:58:07 I was wondering why this code was acting funny Jan 18 03:58:20 I changed the previous code to an Asynctask Jan 18 03:58:29 That must be accounted for! Jan 18 04:02:27 i am having a problem with make and java. i have java 1.6 installed and set as the main java version used but its still saying its not using java 136 Jan 18 04:02:29 1.6 Jan 18 04:09:30 Hey. My app is library kind of a service from where you can rent books. My latest update was rejected because the screenshot contained books like Zero to One, Harry Potter etc. Jan 18 04:10:14 How can I not show the real books? How do I get past this Intellectual Property violation? Can I show books from Project Gutenberg Jan 18 04:11:15 Can I show books having creative commons license? Jan 18 04:11:58 WantToCode: does your app allow people to 'rent' books like Harry Potter? Jan 18 04:12:02 Yes Jan 18 04:12:06 for 30 days Jan 18 04:12:07 from where? Jan 18 04:12:18 We have bought the books Jan 18 04:12:25 Its like a library. Jan 18 04:12:31 lol Jan 18 04:12:40 wait, are we talking physical books? Jan 18 04:12:43 Yes Jan 18 04:13:01 okay... Jan 18 04:13:10 either way, yeah, go for out-of-copyright books Jan 18 04:13:25 even CC would normally mean you have to give credit/attribution Jan 18 04:13:46 ok. :| Jan 18 04:14:05 any other way? Can I write in the app description about the screenshot? Jan 18 04:15:35 having bought a copy of a book isn't the same as having permission to use the cover to promote your app Jan 18 04:15:56 Yeah that I understand Jan 18 04:15:59 I suspect, depending on your jurisdiction, that having bought a book isn't the same as having permission to rent it out, but that's a different matter Jan 18 04:16:24 oh, India... Jan 18 04:17:27 Will sending a appeal help? We get only automated replies, right? Jan 18 04:17:45 very unlikely Jan 18 04:18:06 Ok. THanks Jan 18 04:18:56 google needs to have a little bot devs can talk to "so, i was thinking about this app that lets people rent pirated ebooks" "don't do that" Jan 18 04:19:35 Google Books have screenshot of Game of Thrones. Maybe it is "out-of-copyright". Jan 18 04:19:46 g00s: physical books, apparently Jan 18 04:20:12 WantToCode ... Jan 18 04:20:23 WantToCode: when Google pays to license ebooks, the contract includes the right to use the covers for promotion Jan 18 04:20:34 ah ok. Jan 18 04:20:54 when you buy a book at retail, you probably don't have the right to rent it out, never mind use it to promote your own service Jan 18 04:21:05 (depending on jurisdiction) Jan 18 04:21:42 AFAIK we had checked that we can rent it out. Don;t know about the promotion part Jan 18 04:22:10 remember all those Russian MP3 services which relied on having paid a bulk license to the local rights organisation, and claimed that made it ok to sell MP3s globally? Jan 18 04:23:36 Sorry don;t know about that Jan 18 04:24:21 https://en.wikipedia.org/wiki/AllOfMP3 Jan 18 04:29:19 is anyone here familiar with this issue or how to fix it? http://stackoverflow.com/questions/32398500/toolbar-in-appbarlayout-is-scrollable-although-recyclerview-has-not-enough-conte Jan 18 04:29:50 theyre having the same problem as me, but the answers seem to say that its intended, which doesnt seem right, and even if it is, id like to prevent it Jan 18 04:34:29 drinfernoo yeah i think thats funky too, i have no solution Jan 18 04:34:44 drinfernoo, extend and customize the behavior Jan 18 04:48:57 Should I have my presenter do something trivial like checking if a boolean extra exists? Jan 18 04:49:27 Or would that be something that would be alright to have the view do? Jan 18 04:56:35 hello, i rooted my phone to uninstall some of google's bloatware that i don't use. but somewhere along the line, i uninstalled some system stuff, including the stock keyboard and a few other things. then i did a factory reset in hopes that it would fix it. except now, i can't get past the "set internet connection" screen on the initial setup because it says "unfortunately, google play services has stopped". i had this issue with Jan 18 04:56:36 a few other minor settings when trying to change stuff before the factory reset. i'm running android 5.0.1. Jan 18 04:57:40 and i can't seem to figure out how to boot into download/recovery mode, if my phone (lg power, lgl22c) even has one. Jan 18 04:58:10 so i can't enable usb debugging to install stuff with adb Jan 18 06:23:46 is it me, or the way NavigationView handles submenus very strange - i would think a submenu means a collapsable / expandable item Jan 18 06:24:16 instead its rendered with a header and just becomes another top level bunch of items Jan 18 06:28:03 O.o https://android.googlesource.com/platform/frameworks/support.git/+/master/design/src/android/support/design/internal/NavigationMenuPresenter.java#453 Jan 18 06:38:30 yep, this is how it does that Jan 18 06:42:46 gordon_ to do it right, gotta do it yourself ;) Jan 18 06:44:33 my wife told me that Jan 18 06:45:07 capella lol, she was right :D Jan 18 06:45:36 then she divorced me, so *shrugs* live and learn Jan 18 06:45:42 I was nagged into upgrading to Windows 10 and now Hyper-V no longer works and I can’t run the emulator. Jan 18 06:46:31 hm, i think Hyper-V requires a certain version of windows ... like not the home one Jan 18 06:46:32 The HAXM thing says not supported… could run the Android emulator fine under Windows 8.1 Jan 18 06:47:10 So the Windows10 upgrade down graded me.. Jan 18 06:47:13 ..?? Jan 18 06:47:20 Fuck you mickey soft. Jan 18 06:47:44 hm, hyper-v is pro / server Jan 18 06:49:06 but I thought the win10 update was free? they wouldn't be withholding features, would they? ;) Jan 18 06:51:11 hyper-v does have nothing to do with android emulator Jan 18 06:51:20 afaik Jan 18 06:51:38 Hyper-V being installed will not allow HAXM to be installed Jan 18 06:52:29 haxm sucks too Jan 18 06:53:04 gordon_ yeah i think hyper-v is just needed for the MS emus Jan 18 06:53:13 hyper-v is what kms is Jan 18 06:53:15 on linux Jan 18 06:53:32 i failed Jan 18 06:53:35 I meant kvm Jan 18 06:53:41 kms is different thing Jan 18 06:54:23 http://m.slashdot.org/story/305425 Jan 18 06:54:42 I wonder why no one ever thought it was a big deal earlier Jan 18 06:54:48 hi everyone Jan 18 06:54:55 that's why I dont use lastpass ;) Jan 18 06:55:38 can i select any html element in webview using id or class or Xpath ? Jan 18 06:57:23 intheworld, it's accessible via javascript Jan 18 06:57:31 gordon_, neither do I Jan 18 07:00:43 how can i work with webview like auto ? Jan 18 07:00:55 what what Jan 18 07:01:30 pfn : i can not write english well , excuse me i must ask it again Jan 18 07:03:33 and the general answer is don't Jan 18 07:05:49 pfn : there is a website and i want to interact automatically with that in android like implementation selenium in java i dont want use selendroid in my program because it is for test automation Jan 18 07:07:51 pfn : do you know selendroid ? Jan 18 07:20:28 chrome-extension.pw thing is nice touch Jan 18 07:33:28 hmm guys, in my getItemViewType im doing position % 2 * 2 to either return 0 or 2 to choose the view. What would be the best way to get 3 possible numbers instead of just 2? Jan 18 07:35:07 based on your example, the answer is trivial, but do you have any requirements -.- Jan 18 07:36:45 Zharf: other than it return 1 of a possible 3 values no Jan 18 07:38:59 position % 3 Jan 18 07:41:04 Zharf: thanks Jan 18 08:13:55 Hi! Jan 18 08:26:24 Hi! May I have a guestion about security patches of Android platforms? Jan 18 08:28:45 I found https://source.android.com/security/bulletin/2016-01-01.html, but i dont know where to download the source patches! Jan 18 08:35:49 Hello, so I downloaded the Stable build of AS from here: http://tools.android.com/download/studio/stable . But it's not an installer; it's a ready executable. How do I update my current installation with the new build? There are no instructions Jan 18 08:37:24 Ahh found this answered on SU (http://superuser.com/a/978486/288716) . Surprised that there are no official instructions Jan 18 08:58:48 yeah... that didn't work because I accidentally closed AS before clicking on that dialog that says "Import Settings from old AS?". So I closed this wizard and now it doesn't want to open any more... Jan 18 09:13:54 I fixed it by just downloading the 1.2GB installer, and that updated it... Jan 18 09:16:28 Hi all, I'm using DDMS to monitor my memory usage. I see that my heap size is 19mb and allocated is 11mb. What is the difference between those 2? Jan 18 10:02:11 I can’t seem to write simple service code. I add the service line to the AndroidManefest.xml, I create an intent and startService on it but the onHandleIntent is never called.. It should be like HelloWorld but it just never calls the service.. and everything on stackoverflow and google is useless Jan 18 10:04:09 hithere Jan 18 10:09:45 regan: no one can help you if you don't post your code Jan 18 10:10:44 is there some foolproof way to check if navigation bar present? Jan 18 10:11:16 (!hasBackKey || !hasHomeKey) gives me false negative on genymotion 5.1 Jan 18 10:14:02 SpaghettiCat: its like exactly what you see in tutorials… https://gist.github.com/pymblesoftware/6b815d825aabf5972daf Jan 18 10:22:17 hi Jan 18 10:22:22 how i can making cache with retrofit 2? Jan 18 10:45:46 hi does anyone know apk? Jan 18 10:46:16 right channel, strange question... apk is just the file format for an app Jan 18 10:46:17 anyone here Jan 18 10:46:26 also, patience is a virtue... Jan 18 10:46:47 Leeds: i dunno how to do apk Jan 18 10:47:05 no, I guess you don't Jan 18 10:47:39 i just need one pic to be apk Jan 18 10:48:00 can u help me leed? Jan 18 10:48:12 no, I don't think I can Jan 18 10:48:15 anyone else? Jan 18 10:48:28 :(( Jan 18 10:48:57 i forgot how to apk Jan 18 10:49:37 ashiren i just need one to be apk.lol Jan 18 10:49:53 anyone else knows apk? Jan 18 10:53:29 and i guess no one can help me Jan 18 10:53:30 ty Jan 18 10:54:23 nobody can help you, because you can't ask a sane question Jan 18 11:43:37 does anyone know if picasso (https://github.com/square/picasso) uses HTTP 2 persistent connections? Jan 18 11:44:51 or rather persistnent connections in general Jan 18 11:49:07 it uses okhttp Jan 18 11:49:31 not sure if okhttp uses that Jan 18 12:08:43 hi everyone Jan 18 12:10:15 i have downloaded armeabi-v7a as Offline and then i exteracted it , where can i place it in android-sdk-linux ? Jan 18 12:28:33 im using three images to create buttons Jan 18 12:28:50 images around 100kb Jan 18 12:29:14 however when I display them on an acitivy memory increases by 10Mb Jan 18 12:29:18 is it normal? Jan 18 12:29:25 how can I avoid it? Jan 18 12:30:35 put them in the right density bucket Jan 18 12:30:46 and learn the difference between compressed images and uncompressed ones :) Jan 18 12:31:13 Mavrik, they were created with android studio so they are in the right bucket Jan 18 12:31:32 Mavrik, so this is normal? Jan 18 12:31:53 Mavrik, how can I avoid it? Jan 18 12:31:55 Can't say, because I don't know what kind of images they are and how are you loading them :/ Jan 18 12:33:32 Mavrik, Im using an ImageView for each and loading them using setImageDrawable Jan 18 12:34:45 Mavrik, android:src="@drawable/test" Jan 18 12:41:26 http://developer.android.com/training/displaying-bitmaps/index.html Jan 18 12:44:07 Figured out the whole missing fragment thing, apparently in the newer version of Android Studio once you name you're project you have the option to check 'fragment' which will then allow blank activity w/ fragment Jan 18 12:46:46 That explains why I did not see in the wizard 'blank activity with fragment' ;p Jan 18 13:54:26 if I install android-x86 on my tablet will the applications from the google play store still function? Jan 18 13:57:13 They will blow up and explode like the mission impossible cell phone Jan 18 13:57:24 jp, im not really sure :o) Jan 18 13:57:41 Give them a try though, see if they go Jan 18 13:58:20 well, I can run android-x86 in virtualbox, but i don't have the ability to login to google play :/ Jan 18 13:58:27 Ah Jan 18 13:58:34 Bummer :o( Jan 18 14:07:51 hi. does the AlarmManager task stay working even if I minimized my app? Jan 18 14:20:51 superlinux: minimized? Jan 18 14:21:24 BoD, by minimized i mean when you press the home button Jan 18 14:21:39 ok Jan 18 14:21:44 then, yes Jan 18 14:21:51 ok cool! Jan 18 14:24:52 Got some problems reading a JSON file as a response from a httpurlconnection Jan 18 14:25:18 I can't seem to read anything from the response Jan 18 14:25:31 This is my code: http://pastebin.com/i0PcYtip Jan 18 14:26:10 n3p3nthess: http://84.193.55.78/~frederick/getStatistics.php returns nothing here Jan 18 14:28:24 Hello! In my application user enter password (pincode). I need to save it locally. How to encrypt it properly? Jan 18 14:29:55 xgearx: https://github.com/scottyab/secure-preferences might be a way Jan 18 14:31:34 xgearx, hash it with salt Jan 18 14:31:35 as Jan 18 14:31:42 xgearx, pretty much what you do on the web as well Jan 18 14:32:04 BoD: that should be fixed now Jan 18 14:32:52 Bod: or not :-s Jan 18 14:33:06 n3p3nthess: nope Jan 18 14:33:29 BoD: looks like I need to look at my php code again Jan 18 14:33:50 have fun Jan 18 15:44:20 xgearx, there's no way to encrypt a pin code on device properly Jan 18 15:44:30 it can always be brute forced locally Jan 18 15:44:37 pfn: why? Jan 18 15:44:47 if i use one way encryption? Jan 18 15:45:16 someone can try 0000 - 9999 very quickly and determine what it is Jan 18 15:46:23 the only way to protect it is to move it off device Jan 18 15:47:07 I do something relatively clever to protect my PIN for my app, but it's complicated Jan 18 15:51:32 I do a form of transparent 2fa to protect my PIN and the data it protects Jan 18 15:56:56 boring Monday, is everyone off today? Jan 18 15:59:26 Hi, I know that the resources.arsc file contains compiled files, but what's is meant by compiled file when talking for instance about an image or a video file? Jan 18 16:02:15 only xml are processed Jan 18 16:02:31 everything else is untouched Jan 18 16:02:54 Hi, I have an annoying issue. I'm running windows 10 and I can't install android studio. Jan 18 16:02:59 while running the installer, on the "select components screen" clicking any button doesn't do anything (previous, next, cancel) Jan 18 16:03:08 It just freezes, anyone else had this problem with android studio installer or knows a fix? Jan 18 16:03:31 android-studio-bundle-141.2456560-windows.exe is the installer in context. Jan 18 16:07:18 pfn, thanks Jan 18 16:08:54 pfn: "a form of transparent 2fa" what? Jan 18 16:09:19 I have 2fa to protect my PIN Jan 18 16:09:20 And from what I understand classes.dex is an archive with java classes compile for the Dalvik Virtual machine? Jan 18 16:09:22 *compiled Jan 18 16:09:33 soulisson, basically Jan 18 16:10:12 pfn, thank you Jan 18 16:12:29 pfn: http://2fa.com/ this one? Jan 18 16:13:04 if you don't know what 2fa is... Jan 18 16:13:12 i know Jan 18 16:13:26 two factor auth Jan 18 16:14:04 ok, i got your point Jan 18 16:14:09 Can someone please help with the unresponding buttons in 'Android Studio setup' ? I really wanna install nethunter and I need adb for it Jan 18 16:14:28 you don't need android studio to install adb Jan 18 16:14:45 get the standalone android sdk Jan 18 16:17:09 ha, looks like the fragment requestPermissions bug has been assigned \o/ Jan 18 16:18:22 pfn, thanks! Jan 18 16:18:58 "unlocking your device and updating it to stock AOSP or CM in the case of OPO. (Check point 1.0 for supported roms)" Jan 18 16:19:10 What do they mean with updating it to stock AOSP? Jan 18 16:19:13 #android-root Jan 18 16:19:20 my nexus 4 runs the stock rom Jan 18 16:38:11 wasn't expecting the top answer :D https://www.reddit.com/r/AskReddit/comments/41izqi/what_industry_is_shadier_than_most_people_realise/ Jan 18 16:41:14 very true, g00s. At least the play store bans it, so we can work to restoring sanity Jan 18 16:43:51 What is google play's policy about apps requesting eg: phone numbers and device identification numbers to use for advertising identifiers? Jan 18 16:51:48 It's my understanding that an Intent defines a message defining an action to be performed, so when doing something like startActivity(intent), does the startActivity method changes the intent object to say that required action is to start an Activity? Jan 18 17:10:39 Should i use java 8 or go with java 7? Jan 18 17:10:57 for android Jan 18 17:11:21 doesn't mattwr Jan 18 17:11:57 thanks Jan 18 17:12:34 If android plan to go to jdk 8 someday. Jan 18 17:18:25 should my SDK maintain listeners as weak references? Jan 18 17:19:41 (my sdk manages functions on bluetooth devices that stream data) Jan 18 17:26:04 perlsyntax, just don't use java8 api and syntax Jan 18 17:26:16 shouldn't be allowed. by ide, but never know Jan 18 17:28:24 I really would like if Android supported Java 8 syntax. Jan 18 17:30:01 jessie,That true Jan 18 17:30:12 pfn,I plan not to. Jan 18 17:30:29 :) Jan 18 17:31:15 I got a feeling that google test lab won't come out to google i/o 2016 if i am right. Jan 18 17:31:39 Will or won't? I'd be suprised if it didn't come out then. Jan 18 17:32:11 i won't Jan 18 17:32:14 sorry Jan 18 17:33:03 jessie,I hard to test out it on a device if you don't have one. Jan 18 17:33:20 So i just waiting for it to come out. Jan 18 17:45:41 jessie, syntax is easy, use retrolambda Jan 18 18:02:06 indians indians please dont speak in english please please you can not speak enlgish pleas dont speak Jan 18 18:03:05 lolwut Jan 18 18:03:31 i do not know english very well but i when listen to a english video that an indian speaks in that i understand his /her accent is awful Jan 18 18:09:36 and you're saying this here, why? Jan 18 18:09:43 try #india Jan 18 18:10:03 Hey is there a way to let an intent carry on where it last left off when calling it with startActivity()? Jan 18 18:10:27 cart_man, that's not how it works Jan 18 18:10:34 an intent does not carry code Jan 18 18:11:23 pfn: Yea thought soo.. ghez these people wants the activity to hold its data... all of the data takes almost 80Meg per intent... Jan 18 18:16:10 still you can set extras and evaluate them at a later point to control your code Jan 18 18:17:53 cart_man what's the problem? Jan 18 18:19:52 JitanRo: Ok soo first off I built the app exactly as they wanted.. but it kept on crashing because of memory problems.. .seriously memory problems. So I mitigated the memory problems my this.finish() and loading only certain things. Keep only 1 intent open at any given time etc.. They said it was fine. Now its NOT Fine anymore so now I need to remove all the mitigation effects I have put in place. So I thought that it would be Jan 18 18:20:10 the intent where it first moved to another intnet Jan 18 18:20:13 soo... in short words Jan 18 18:21:12 sentences` , Intent1 just loaded all its stuff ... So now Intent2 is launched and then it loads but now the user goes back to intent1 and all the info it loaded in the first place should now still be there. Jan 18 18:21:38 But as I recently learned that , that is simply not the way intents work Jan 18 18:21:57 what's the purpose of the app? Jan 18 18:23:01 JitanRo: It loads a bunch of pictures quite HighRes in categories. Switching categories switches the intent Jan 18 18:23:17 cart_man generally, Intents should have pointers (uris, etc) to where the data is - not the actual data itself. unless its just a few primitives or something Jan 18 18:24:01 you'll need to redesign that whole thing Jan 18 18:24:19 loads them from disk or network? Either way use glide or picasso if you're not already for loading the pictures Jan 18 18:24:22 g00s: Exactly ! That is crazy given my due date Jan 18 18:24:35 JitanRo: Yea I am using that already Jan 18 18:27:30 good luck :) Jan 18 18:27:53 JitanRo: Thanks but I do not think I will redo all of this unless they give me some more time Jan 18 18:28:16 Why Can't I use editText.getText() on line 16? http://pastebin.com/UEn5XJSn -- I get this error "parse (java.lang.String) in DateFormat cannot be applied to (android.text.Editable)" Jan 18 18:29:37 it's a type mismatch Jan 18 18:30:08 getText doesn't return the text, it returns an Editable Jan 18 18:30:21 cart_man intents have size limitations; eventually you'll hit it - and thats the end. you have identified the technical debt, present it to management, get more time Jan 18 18:30:46 it used to be like 1mb :D Jan 18 18:30:58 but its changed over different versions of android Jan 18 18:31:53 TECFALL try cal.setTime(sdf.parse(editText.getText().toString())); Jan 18 18:33:58 JitanRo: Not I get java.text.ParseException Jan 18 18:34:10 yes, see, progress :) Jan 18 18:34:52 JitanRo: The first thing i used was just the text var from line 3. Jan 18 18:34:57 Since it is a string. Jan 18 18:35:05 I don't understand why it doesn't like it. Jan 18 18:35:24 g00s: Yes and this after I have given them the problem and the solution... then they said Yes implement the solution. >.< Jan 18 18:35:27 anyway Jan 18 18:36:25 TECFALL what does the exception say? Jan 18 18:42:30 JitanRo: I wrapped it in a try catch throw exception, but it doesn't say anything it just force closed my program Jan 18 18:42:49 I'm super new to android studio Jan 18 18:56:57 TECFALL, see why it was force closed in the Android Monitor Jan 18 18:59:49 TECFALL look at the docs for the parse method, it should give you some hints what's going wrong Jan 18 19:01:23 Is there a reason why Memory Monitor is not showing up in my Tools on Android Studio? I'm running the latest version Jan 18 19:01:41 AS is the devil Jan 18 19:01:47 been giving me hell all week Jan 18 19:01:56 is this the most up-to-date guide for configuring Gradle with significant NDK features? http://tools.android.com/tech-docs/new-build-system/gradle-experimental#TOC-Ndk-Integration Jan 18 19:01:56 probably hiding it just to fuck with you Jan 18 19:03:32 I've reinstalled it twice, and added all of the SDK tools and shit in the SDK manager, wtf gives Jan 18 19:04:09 Anyone else has problems with using the AVD to debug? I h ave to run debug often 2 or 3 times until it works, (connection error often) Jan 18 19:09:21 lol debugging? Jan 18 19:09:27 haven't been able to do that for weeks Jan 18 19:09:41 but I suspect it's my S5 Jan 18 19:10:22 is it normal that i receive onpause while filming? Jan 18 19:10:42 i have this application that uses the camera and record a video and sometime... sometime... in the middle of recording, i'll receive a onpause and onresume Jan 18 19:10:54 even though i'm not backgrounding my activity or anything Jan 18 19:11:12 it's like if the system is doing something and somehow decides to pause my application for a little while Jan 18 19:11:37 obviously, i dont really want to pause recording in the middle of recording... that's kind of annoying for the user Jan 18 19:11:52 but this tends to break my camera big time Jan 18 19:12:02 (for probably different reasons) Jan 18 19:25:55 I think my new app is almost ready for publication...maybe stick in a few more content providers Jan 18 19:27:22 How can I pull in one specific play services component such as play-services-ads with the android-maven-plugin? Jan 18 19:28:00 I have it added to my root pom.xml as well as child pom.xml and am getting "Could not resolve dependencies" for it Jan 18 19:29:09 Ah think I found out how Jan 18 19:31:39 hmm guess not Jan 18 19:53:24 Ologn what's your app? Jan 18 19:54:05 I am using retrofit to deal with a REST server that I've setup. The API is using JSON for both requests and responses. To avoid having to hit the server too many times, I was hoping to implement a JSON cache. would anyone know if something like this already exists? Jan 18 19:54:26 I'd hate to setup a Sqlite database just for this Jan 18 19:55:55 sleepster I'm using https://github.com/pilgr/Paper for storing stuff, really smooth Jan 18 19:56:17 there's also Rx flavor if you're into that https://github.com/cesarferreira/RxPaper Jan 18 20:01:08 JitanRo, a database UI which shows info from content providers and is browsable and searchable Jan 18 20:01:23 cool :) Jan 18 20:01:35 sounds useful Jan 18 20:02:47 hopefully Jan 18 20:07:17 hello guys! I have one question about Android Development. Can someone help me, please? :) Jan 18 20:08:17 It's really a simple one I guess, but I can't find the answer all day long... Jan 18 20:09:17 #1 rule of IRC is ask, don't ask if you can ask Jan 18 20:10:32 anyone here? Jan 18 20:11:36 android-dev485: you already asked your one question, too late! Jan 18 20:11:50 no more questions! Jan 18 20:12:00 cool Jan 18 20:25:13 looks like fun http://www.informit.com/store/android-development-patterns-best-practices-for-professional-9780133924015 Jan 18 20:28:35 nice Jan 18 20:35:42 "Dutch Consumers' Association files lawsuit against Samsung due to their "poor update policy"" Jan 18 20:35:45 sweet Jan 18 20:39:38 well, g00s, not like I said so a few days ago it would happen Jan 18 20:39:46 and people didn’t believe me ;P Jan 18 20:40:08 There will be more of that type ;) Jan 18 20:41:00 Is anybody else's play store performance statistics still stuck at Wednesday 13th? Jan 18 20:41:29 justJanne yeah, android is plagued by pump & dump - not just samsung Jan 18 21:00:03 I'm guessing setInputFilters and android:maxLength don't play well together Jan 18 21:00:43 maxLength probably IS a filter, am I right in suspecting that? Jan 18 21:16:30 is there a way that for debug purposes I'd be able to install two separate instances of my app? Or is it bundled by package name Jan 18 21:27:42 grekkos: i mean you could probably copy the project and refactor the package name and do it that way Jan 18 21:36:43 if a majority of activities and fragments in my app require the user's current location, does it make sense to put the logic of GoogleApiClient connecting and LocationServices.FusedLocationApi location-fetching in an Application subclass and providing a method like Application.getCurrentLocation() ? Jan 18 21:36:47 orbyt_: yeah sounds too hairy to me, alright thanks though Jan 18 21:37:11 does anyone know exactly where finish() goes? I want to go back one activity but finish() seems to be taking me to my main activity instead Jan 18 21:39:24 grekkos: which activity launched the activity that is finishing? Jan 18 21:39:59 a different one Jan 18 21:40:03 the one I want to return to Jan 18 21:40:41 so assuming my flow is like A, B, C... A being main activity, when B starts C C will finish to A Jan 18 21:41:11 and I'm wondering why that's happening Jan 18 21:41:23 grekkos: hmm, interesting... do you have the parentActivityName set for the in AndroidManifest.xml? Jan 18 21:41:37 oh good catch let me check Jan 18 21:42:05 ah Jan 18 21:42:08 I don't think that's possible Jan 18 21:42:33 the activity i'm starting is in a separate project Jan 18 21:42:45 is there a way to programmatically set it in the intent? Jan 18 21:43:35 is the activity in a different app? can you paste your intent code? Jan 18 21:44:43 the activity I'm starting is in the same app, but a different code base... it's a generic branded web view activity that can load any arbitrary website and the intent could be started from anywhere Jan 18 21:46:12 not sure if I can share this code legally but I can tell you it just has some putExtra and uses the Intent(packageContext, Class) constructor Jan 18 21:47:06 oh i think I see here, maybe there was already something created for this Jan 18 21:48:26 oh I think I figured it out Jan 18 21:48:34 alright thanks anyway hah Jan 18 21:48:55 what was the issue? Jan 18 21:49:06 there's an extra for "next" activity, but it also happens that this same activity is being started when the home button is pressed also Jan 18 21:49:43 the extra param is called "next" but internally it's cast to a Class called finish Jan 18 21:49:52 and if finish is set it goes to that activity Jan 18 21:50:03 so I think someone got confused and used the same thing for both Jan 18 22:14:31 is it possible to configure android studio to use an SDK install other than the one in local.properties? Jan 18 22:43:53 thebishop, as I recall, yes, but it will then override all projects and change their local.properties if you do Jan 18 22:44:49 hi Jan 18 22:44:56 anyone can help.me with apk Jan 18 22:45:51 dragorn, seems like i'm screwed. the issue is my code is inside a volume-mapped docker container (which is a godsend for bootstrapping a dev machine, and standardizes the environment for the team). So I can develop in android studio with root permissions, but i need to run the build script within the container. this is a problem when both environments are dueling over the sdk.dir path Jan 18 22:46:32 thebishop, symlink? Jan 18 22:46:59 dragorn, symlink what? Jan 18 22:47:21 hi does anyone know apk pls i need help Jan 18 22:47:42 thebishop, symlink whatever your groups project dir is to the real dir in your container Jan 18 23:00:15 LadyBunny, Virtually everyone in here is familiar with what an apk is. If you have a question, just ask Jan 18 23:05:20 anybody know how i would boot a samsung s3 mini into recovery without using the power button or android itself? i can enter download mode and i flashed TWRP Jan 18 23:06:18 x29a, not me, but #android-root would be a more appropriate channel Jan 18 23:07:46 truckcrash: thanks Jan 18 23:13:32 x29a: adb reboot-bootloader Jan 18 23:13:52 thatd require a working android with adb enabled Jan 18 23:19:31 truckcrash: coz im trying to make an app and i dont know how to do apk Jan 18 23:20:28 what do you know how to do Jan 18 23:20:45 missingno Jan 18 23:21:00 they aee Jan 18 23:21:01 re Jan 18 23:21:08 are asking me to make a apk Jan 18 23:21:11 which idk Jan 18 23:21:36 that did not answer the question Jan 18 23:21:50 I was hoping for "I downloaded Android Studio and don't know what button to press" Jan 18 23:21:55 or idk Jan 18 23:22:20 lol Jan 18 23:22:34 missingno are you ... missing ... info ? Jan 18 23:22:46 ba-dum Jan 18 23:23:04 ha Jan 18 23:23:07 id say: no Jan 18 23:48:27 my AS is being unusually laggy and hogging cpu :< Jan 18 23:49:06 sounds about right Jan 18 23:50:01 google pls Jan 18 23:57:38 slightly off topic, but im trying to overwrite 2 branches in git with the contents of another branch. I've been told i could delete and then rename the branches, or use the git merge -ours strategy. What is good practice in this situation? Jan 19 00:01:45 orbyt_ #git is helpful Jan 19 00:02:14 RustyShackleford missingno i remember the days "eclipse is so bloated!" Jan 19 00:13:04 orbyt_, the simpler the better I'd think Jan 19 00:13:46 orbyt_, I'd rename them, copy the new contents to where they were, then verify and then delete them Jan 19 00:14:17 merging would be more of a hassle...to avoid if possible Jan 19 00:16:11 Ologn: the catch here is that the 2 "old" branches are already on github and have been cloned by another team member Jan 19 00:16:31 orbyt_, ah Jan 19 00:16:40 which isnt a huge issue as he hasnt really done any work but id like to do the best practice Jan 19 00:17:08 *do whatever is best practice Jan 19 00:19:37 orbyt_ also, are you pretty good with git rebase? swiss arms knife of all things git Jan 19 00:20:39 g00s: no, have never used it iirc Jan 19 00:20:52 gotta know it Jan 19 00:20:53 how would that be used for this situation? Jan 19 00:22:28 i mean i kinda understand what it does, it just puts the branch on another commit Jan 19 00:22:41 i read your ^^ a few times but was still confused, so maybe that won't help Jan 19 00:22:51 but yeah, try #git Jan 19 00:23:09 you can pretty much do anything with rebase :) Jan 19 00:36:36 hm, so RecyclerView is getting "wrap_content" support ... sometime q1 2016 according to this Jan 19 00:36:58 * g00s wonders what the use is .. maybe i'm so used to having all my lists as match_parent Jan 19 00:38:00 http://www.androidpolice.com/2016/01/18/google-is-rolling-out-the-ability-to-install-apps-directly-from-search-results/ Jan 19 00:58:12 Great, g00s! I hope they use a normal INTENT and allow any app to launch it (or it’ll end up in the Antitrust trial) Jan 19 01:00:25 sweet, macvim has auto-update now \o/ Jan 19 01:06:04 is ActionBarDrawerToggle suppose to be used in API21+ apps? Jan 19 01:07:56 orbyt_ you won't see hamburger / back animation in most gapps any more ... Jan 19 01:08:03 i think the only one is google drive Jan 19 01:08:11 not worth it Jan 19 01:08:28 (especially, since the drawer should cover the actionbar Jan 19 01:09:39 well im using a custom icon for the hamgurger icon, so was doing getActionBar().setIcon(R.drawable.xxx) to set it. Would it be better to just put the icon in the layout since Toolbar is a viewgroup? Jan 19 01:20:16 hey TacticalJoke , have you used any bottom sheet libs ? Jan 19 01:22:21 g00s: you mean like com.sothree.slidinguppanel ? Jan 19 01:22:32 or like something else? Jan 19 01:22:49 yeah, i found one in plaid too. have been transplanting it slowly with its dependencies Jan 19 01:24:37 g00s: Nah. I haven't done anything fancy UI-wise. :s Jan 19 01:25:02 I want to add tabs to this app, but I hope to avoid Fragments as much as possible. Jan 19 01:25:21 lol. i have fragments everywhere ! Jan 19 01:26:01 i really don't know how i would do this without them, unless i created some half baked "look ma, no fragments" library that did fragment styff Jan 19 01:26:48 Your UI is probably way more complex than mine. Jan 19 01:28:27 I know of a way to do tabbed browsing with simple Views and Activities, without giving the Views crazy responsibilities, but it's an implementation which would suck in some cases (e.g., web browsers). Jan 19 01:29:23 It involves a lot of re-initializing the Views. Jan 19 01:29:45 Is your app almost finished, g00s? Jan 19 01:31:51 TacticalJoke i'm trying ... Jan 19 01:32:45 just so damn hard making responsive design Jan 19 01:33:18 Yeah, I generally find sophisticated-UI stuff the hardest part of Android dev. Jan 19 01:33:25 And I feel that it shouldn't be so hard. Jan 19 01:34:09 the design library is a promising step in the right direction I think Jan 19 01:34:31 in that at least SOME of what they say you should do for material design is handled consistently Jan 19 01:34:36 one challenge i have using navdrawer - which swaps fragments - is when they all want to do something wildly different with the ActionBar Jan 19 01:35:49 because that damn thing (toolbar) has to be wrapped in AppBarLayout if you want to go that route Jan 19 01:36:36 dragorn yeah, would be dead without it Jan 19 01:43:41 sup droid nerds, any one know where i can get a batman grappling hook? Jan 19 01:43:47 i wanna start graplling round town Jan 19 01:49:13 Sounds like a modern-day blues song. Jan 19 01:51:35 Stark industries Jan 19 02:39:16 SimonVT: ping? Jan 19 02:47:23 how long does it take to boot into 6.0.1 on a hammerhead (nexus 5?) kinda worried i have boot loop on a factory image Jan 19 02:53:13 hays: few minutes after flashing image, just wait for it Jan 19 02:56:18 TacticalJoke: not to say about different android versions need special treatment Jan 19 02:56:24 complex UI is difficult in every platform Jan 19 02:57:22 yeah, but it feels like I need to know to much about internals for that Jan 19 02:57:30 *too much Jan 19 02:58:53 * vigilancer having hard time with transparent status bar and ResideMenu **** ENDING LOGGING AT Tue Jan 19 02:59:58 2016