**** BEGIN LOGGING AT Thu May 05 02:59:58 2016 May 05 03:18:42 It uses the return type of the interface method? May 05 07:13:19 Ashiren: here? May 05 07:23:06 what do you need my son May 05 07:23:13 his highness is in his quarters May 05 07:30:44 connect #azure May 05 07:31:32 Unknown command 'connect' May 05 07:51:39 Odaym: just thinking about my current reading materials https://www.quora.com/How-do-you-tell-a-programmer-their-code-sucks May 05 08:15:44 Hey all May 05 08:15:54 Finally got a Windows IRC client May 05 08:17:40 congratz May 05 08:19:30 Thanks lol May 05 09:15:22 does someone know a service for app translations in small scale? for example if I do an update and only want to translate maybe 10-20 strings to some languages. The ones in google dev terminal all start with a high price because they have a minimum word count to translate May 05 09:16:03 I'd recommend Google+ May 05 09:16:08 That's where I got mine done for free May 05 09:16:31 I'm sure there's someone on the developer community who would be willing to do translations May 05 09:16:38 or the Android community May 05 09:17:19 i got most of them free too. My problem is that if I add new features, updating the translations is always a factor that delays publishing.. May 05 09:17:44 im willing to use a payed service but 30$ for 20 words because their minimum is at 300 words or so is bullshit.. May 05 09:17:59 I used fiverr for translations and it worked out okay http://bit.ly/1WaTTrU May 05 10:32:23 danijoo: have you checked the service from within AS?\ May 05 10:34:36 am trying to have an GONE item, and when it reappears, I don't want it to take up any space, I want it to just place itself on top of the other elements May 05 10:35:04 currently when it reappears, it takes up some space, moving all the elements down a little bit, then after its meant to disappear again, closes that space off May 05 10:48:00 because of the layout that all these elements your'e talking about sit in May 05 10:50:05 relativelayout May 05 10:52:29 thepoosh, no. just from dev console May 05 10:53:04 Odaym, place it in a layout that allows stacking May 05 10:53:10 relative or framelayout May 05 10:53:22 oh im not the one with the problem May 05 10:54:03 wrong highlight sry :p May 05 10:55:55 Hello, May 05 10:55:55 Can somebody link to githubs project which developed by senior android developer or similiar? I want to study android... May 05 10:56:22 danijoo: am trying that, but same issue :( May 05 10:56:36 ghosalmartin, show your layout file then :) May 05 10:56:38 and code May 05 10:57:10 for creation a searchView i have to create an activity ? please help me ? May 05 11:00:03 danijoo: https://dpaste.de/mb4Q May 05 11:00:29 which of the views May 05 11:00:50 https://dpaste.de/iQEm May 05 11:00:53 and the shine May 05 11:01:49 those 3 shine views only need to get stacked? then use a framelayout and no relative layout May 05 11:02:33 danijoo: kinda, so basically the two visible ones are static, the third one thats gone will be displayed when the animation is run, but when it displays, it parts all the elements between it May 05 11:02:34 and try to give that layout a height of 5dp so it wont change if you show/hide `shine` May 05 11:03:08 ill give that a shot May 05 11:03:41 Can somebody link to githubs project which developed by senior android developer or similiar? I want to study android... May 05 11:04:25 danijoo: now it permanently has that grey space, want a screenshot? May 05 11:07:09 yes May 05 11:09:20 your_mirror: repeating such a general question is not going to elicit a response May 05 11:13:46 the_fog, You are right May 05 11:19:08 this is a good resource https://guides.codepath.com/android May 05 11:23:36 http://www.youtube.com/playlist?list=PLnVy79PaFHMXpPlgs1uUny8eb-PEfEQNn Droidcon SF videos May 05 11:23:50 day officially wasted May 05 11:37:51 Odaym: make sure to watch the guy from Uber May 05 11:37:55 it was very interesting May 05 11:38:15 cool, will do May 05 11:51:15 hithere May 05 11:53:45 I am saving user based data (some textual structures) into internal storage, right now I am thiking of moving such data to public directory May 05 11:54:16 accordingly to this http://developer.android.com/guide/topics/data/data-storage.html#SavingSharedFiles there can be choosen predefined dir name with Environment.DIRECTORY_... May 05 11:55:10 but creating own directory (at least on API 17) works too File filet = new File(Environment.getExternalStoragePublicDirectory("test"), "intest"); May 05 11:55:22 any reason why I should not be doing that? May 05 11:57:18 why is this alternative not shown in guide? May 05 12:24:44 the_fog, thanks May 05 12:25:20 hello devs ... May 05 12:25:32 hello May 05 12:26:19 how are you ? May 05 12:27:51 Good morning. May 05 12:28:28 good eve -_- May 05 12:29:53 paradox_, I'm fine, but a little tired May 05 12:30:08 paradox, What about you? May 05 12:32:18 so much new shit May 05 12:32:20 really nice May 05 12:35:06 Odaym, what do you mean? May 05 12:35:13 android N May 05 12:41:43 am good May 05 12:42:08 andrid N is good May 05 12:42:25 but it mostly copied its features from cynogen mod May 05 12:42:27 lol May 05 12:50:05 oh, like what? May 05 12:50:40 to work as a mobile app dev, is it important to know the several languages for each mobile model, like java, c++, etc? May 05 12:51:08 it's important to know the language of one mobile platform at least May 05 12:51:11 or companies usually hire many different programmers for each platform? May 05 12:51:20 oh May 05 12:51:29 companies that respect themselves have developers for each platform May 05 12:51:37 :P May 05 12:51:37 ok May 05 12:52:22 is humanly possible, for one person to learn frontend, backend, and also those languages? May 05 12:52:58 what's the recommended format to send GCM notifications? Would you send json? May 05 13:00:56 you can learn as much as you want May 05 13:01:04 but where you gonna get the time to be proficient at all of them? May 05 13:01:19 you dont want to be jack of all trades master of none May 05 13:01:34 specific skills are much more valuable May 05 13:05:08 oic May 05 13:05:09 Odaym: did you watch the Uber video? May 05 13:05:25 not yet, watching common mistakes in RxJava May 05 13:05:49 link? May 05 13:05:54 https://www.youtube.com/watch?v=QdmkXL7XikQ&index=42&list=PLnVy79PaFHMXpPlgs1uUny8eb-PEfEQNn May 05 13:05:55 which Uber videdo !! thepoosh May 05 13:06:02 even though I have 0 experience in RXandroid May 05 13:06:25 paradox_: https://www.youtube.com/watch?v=Gd8v7D_9t-M May 05 13:06:43 thnx May 05 13:06:48 np May 05 13:13:32 hello? May 05 13:13:47 mothbug: ! May 05 13:14:07 How do I start building android apps? May 05 13:14:21 Im using Ubuntu May 05 13:15:32 thepoosh ? May 05 13:15:33 install Android Studio, do some beginners guides May 05 13:15:45 mothbug: d.android.com/sdk May 05 13:28:07 when I set a UI element to invisible, it produces some weird grey thing that takes up the space, can I draw on that May 05 13:31:01 you're not going to be able to draw in the place of the element that just exited, just use relativelayout! May 05 13:31:06 what a dirty workaround May 05 13:35:57 is android studio wysiwyg? May 05 13:38:17 Odaym: even with relativelayout it does the same thing May 05 13:39:05 and, is that possible to write a vector object (like a star, per example) via code, then render it on the app? May 05 13:39:24 or it's better to embed it, like a svg? May 05 13:49:58 ghosalmartin relativelayout allows you to place any element ontop of any number of other elements May 05 13:50:01 OT: what android emulator are you using for hybrid apps? May 05 13:50:18 e.g. similar to iOS Simulator.app May 05 13:51:23 is there a non-looping version of looper? hah. I basically just need a threadsafe queue of runnables May 05 13:51:45 where i can run a command from the target thread and execute them all May 05 13:51:56 but the thread may be busy doing other things so i can't have it block on loop() May 05 13:57:06 then start another looper thread May 05 13:57:36 I need those actions to execute on that thread though May 05 13:58:03 introducing a third thread would cause the actions to execute on the third thread which doesn't help me May 05 13:58:18 then for r in runnables r.run May 05 13:58:31 everytime you need. to drain your queue May 05 13:58:45 okay, what can i store them in thats thread safe? BlockingQueue ? May 05 13:59:02 thread 0 needs to be able to queue an action that thread 1 will execute when it gets around to it May 05 13:59:45 any queue is threadsafe when you synchronize access to it May 05 14:00:28 so wrap it in synchonized { } when adding to the queue? same when executing it? May 05 14:00:39 whats that do? lock a global mutex or something? May 05 14:00:53 assuming you're doing the standard accessor calls and nothing through the iterator May 05 14:01:23 learn what the keyword does, and use the appropriate lock object May 05 14:01:31 the queue itself is a suitable lock object May 05 14:02:15 is there a reason I wouldn't jsut use a BlockingQueue which describes itself as a thread safe queue implementation? surely it locks an internal mutex for add operations.. May 05 14:07:29 hey May 05 14:07:39 where do you search for the android menu icons? May 05 14:07:43 I look specifically for: May 05 14:07:45 - save May 05 14:07:46 - save as May 05 14:07:54 is there an online tool to fetch them? May 05 14:08:13 account list May 05 14:09:01 google May 05 14:09:31 unsigned_long: https://design.google.com/icons/ May 05 14:10:05 https://materialdesignicons.com/ May 05 14:10:06 oh that's great! May 05 14:10:22 wait, there is no icon for save? O_O May 05 14:11:07 ah found it at https://materialdesignicons.com/ :) May 05 14:11:59 you have a search bar, I have used this site for my school projects May 05 14:12:33 unsigned_long: from AS go to > File > New > Vector Asset and select "Choose" from the wizard May 05 14:12:38 save? autosave would be better for the user May 05 14:13:39 Those icons will be the standard 24dp x 24dp icons May 05 14:16:11 Using the SVGs this way means you only need one asset as well, the system will create the different sizes if needed May 05 14:24:08 I'm getting crazy with Retrifit here. :( It's getting a null pointer exception inside their on code. 😬 May 05 14:25:02 And in another thread. So I can't handle it. May 05 14:26:59 https://gist.github.com/wviana/6948f3a9d07654ef7431175e3c8f106b May 05 14:40:16 What android emulator are you using for hybrid apps? e.g. similar to (ios) Simulator.app May 05 14:40:36 is there something similar like xcode for android dev (on os x)? May 05 14:41:02 Android studio is the closest you'll get May 05 14:48:21 okay, for now I just discovered chrome has a device mode… later on it will be cordova / android studio time May 05 14:59:35 hey y'all May 05 15:09:40 Folks, if you could give me some help. http://stackoverflow.com/questions/37054106/fatal-exception-retrofit-idle-in-retrofit-1-9-0-before-call-failure-callback May 05 15:22:04 wviana: Do you have the code for unexpectedError()? Is that what's calling getMessage() on a null "cause"? May 05 15:26:05 ludocode: Edited, I've add it. But these retrofit code that I've pasted there are not under my control. May 05 15:28:18 You don't happen to have any custom ErrorHandler instances? Because having a null 'cause' is your actual problem, and the default one would just return 'e' as-is (in terms of that CallbackRunnable code). May 05 15:29:32 Yeah, sounds like fizzie's got it. The cause is null, due to errorHandler.handleError(e) returning null instead of e May 05 15:32:57 any cons of using crashlytics https://fabric.io/kits/android/crashlytics/ May 05 15:38:08 bolovanos, I only know pros :) May 05 15:38:21 im using it for a year or so now May 05 15:51:45 danijoo, good - does it normally work for app which have not been deployed on Play yet? May 05 15:52:26 yes May 05 15:52:33 its independent of google. May 05 15:52:48 Doesnt even need play services on the phone May 05 15:53:04 great - any must before I start? May 05 15:56:43 I would like to start from here https://fabric.io/kits/android/crashlytics/install but maybe there is something I should rather avoid May 05 15:57:58 bolovanos a lot of people like crashlytics; only reason to avoid it maybe are (1) seems to require same stupid build plugin and (2) privacy reasons (stuff going to twitter when maybe people don't want that) May 05 15:59:46 g00s, hi - what do you mean by that twitter part? May 05 16:00:05 twitter is getting a lot of information about the user's device May 05 16:02:21 g00s, i am still disoriented, can you please point me to some article where I can find information related to this topic? May 05 16:02:48 their privacy statement ... May 05 16:02:50 lol May 05 16:02:55 because I do not know what and how would be twitter doing with crash reports from my app :/ May 05 16:05:33 shit, i have a UI scenario of master / detail - where the master has tabs and the detail has tabs. individually OK but, when both are on the screen there would be 2 sets of tabs ... probably not good :( May 05 16:08:09 g00s, whose privacy statement? May 05 16:10:43 bolovanos: Twitter own Crashlytics May 05 16:10:48 https://try.crashlytics.com/terms/ May 05 16:15:32 the_fog, Thank you! May 05 16:22:21 In my build.gradle, I set instrumentationTestRunner to 'com.mypackage.foo.TestRunner' which is a class that extends AndroidJUnitRunner - May 05 16:22:44 My Run Configuration explicitly uses that class as the Test Runner. May 05 16:23:13 When I run tests, either through AS or gradlew, the run gets up to the point that the tests should start but then it hangs forever May 05 16:24:17 ::(]=]::[=[):: May 05 16:28:34 Hey there May 05 16:28:57 Hi! Welcome to #android-dev. Your ticket number is #434432 May 05 16:29:34 Not getting how this is providing icon May 05 16:29:42 Now serving ticket number #434400, you may now ask your question! May 05 16:31:55 Unicode character U+E0004 is in the "private use" area, so maybe a custom font that has an icon at that character position. May 05 16:32:06 Er, there's one 0 too much in there. But anyway. May 05 16:33:07 hello guys, I need little suggession about career ... I got job in TCS as ITIS and in PC Technology(a 5 yrs old start up company) as a java dev ... which one should I join ?? May 05 16:34:08 what is tcs May 05 16:35:06 Judging by this question, none. May 05 16:35:36 its a company May 05 16:35:45 why, Mavrik ? May 05 16:37:02 You came to a channel with 400 international people expecting we'll know obscure acronyms of your local firms. May 05 16:37:40 carpenting is *all* the rage now May 05 16:37:50 tapestry... May 05 16:38:35 yea guess so, Mavrik May 05 16:38:46 Hows it going Odaym May 05 16:39:02 hows it going odaym, my name is peeewwwwdiepie May 05 16:39:14 I tried to open up snippet the other day but it was crashing May 05 16:39:25 Maybe I need to update or something May 05 16:39:50 haven't worked on it in a long time now, still waiting for the web guy to finish the web console May 05 16:39:53 working on two big apps now May 05 16:40:01 last time i freelance May 05 16:40:02 For work? May 05 16:40:14 You dont like freelancing? May 05 16:40:17 1 work 1 freelance May 05 16:40:40 Must be busy May 05 16:40:40 it takes up too much time and I can't half-ass anything willingly May 05 16:41:31 Thats good haha May 05 16:41:51 does init send SIGHUP to a process when it thinks it has stopped responding? what is meant by 'untracked pid xxxx killed by signal 1' May 05 16:42:09 You guys see the PieChat thing? May 05 16:42:13 iMessage for android May 05 16:42:39 i did. it’s like the Rube Goldberg of messaging thingies May 05 16:42:48 Whats the mean s73v3r May 05 16:43:26 fizzie, caused by this?? https://github.com/johnkil/Print May 05 16:44:40 drose379: http://coolmaterial.com/roundup/rube-goldberg-machines/ May 05 16:45:00 basically, it takes a lot of convoluted steps to perform a seemingly simple task May 05 16:45:22 Seemingly simple but iMessage is pretty much closed off by apple May 05 16:45:29 I wish they provided an API or something May 05 16:46:08 it’s one of their competitive advantages May 05 16:46:19 Exactly May 05 16:46:23 Sounds like the same type or crappy arse that Whatsapp/Signal desktop "apps" are May 05 16:48:07 Does whatsapp not provide a first class desktop app? May 05 16:48:35 honey, I'm back May 05 16:49:14 fizzie: No, There is no custom ErrorHandler. I think that all related code is pasted into the question. May 05 16:49:43 drose379: I don’t thin kso May 05 16:49:51 only a web app May 05 16:50:50 Hm May 05 16:51:03 the signal desktop app looked ok to me ... May 05 16:53:09 hey thepoosh May 05 16:53:15 hi hi May 05 16:53:21 drose379, it's a packaged web page that needs your phone on active connection to work. May 05 16:53:46 Pretty much PhoneGap for desktop :P May 05 16:54:03 What is? I missed the beginning of this May 05 16:54:13 g00s: I've finally received an answer from our VP R&D May 05 16:54:19 I am not going to IO this year May 05 16:54:56 hi, how i can install google play in emulator ? May 05 16:55:23 thepoosh maybe you can go to the dev summit May 05 16:55:33 nah, we got free tickets for IO May 05 16:55:42 and the company is paying for the flights May 05 16:55:52 not getting a flight ticket for anything else May 05 16:55:55 oh so coworkers are going ? May 05 16:56:07 yeah, a different department took the ticket May 05 16:57:29 if I have something like this https://www.dropbox.com/s/a0ru797ves257jo/Screenshot%202016-05-05%2019.56.22.png?dl=0 where every tab loads images from the social service or camera roll May 05 16:57:55 I plan to have 1 fragment which includes a modal gridview with multiple select, and I want to feed the pictures to this fragment May 05 16:58:26 so you're reusing one fragment with a tab? May 05 16:58:57 where should I do the loading of the images, onCreateView of each fragment depending on what service name I feed it or in the fragmentStatePagerAdapter where I do getItem? May 05 16:59:43 thepoosh did you see the new iosched 2016 app ? May 05 16:59:52 I think those are the same options because when you do return new MyFragment() you're already creating it and creating the neighboring fragment to it May 05 16:59:52 every year it gets more basic :D May 05 17:00:01 g00s: no May 05 17:00:07 did they release the source? May 05 17:00:12 last i checked it was not there May 05 17:01:29 they usually publish the sources some months after I/O - in this iteration there is really nothing to see. seems like a intern project May 05 17:02:13 link? May 05 17:02:56 https://play.google.com/store/apps/details?id=com.google.samples.apps.iosched May 05 17:03:59 downloaded May 05 17:10:50 g00s: that is a pretty ugly app May 05 17:15:33 I wouldnt call it ugly. Looks a little on the unpolished side, but not ugly May 05 17:17:11 thepoosh yeah May 05 17:20:19 ResidentBiscuit: the design is yukky May 05 17:21:02 it's that sickening sky blue May 05 17:21:15 nah, more like the yellow May 05 17:21:22 the yellow is rich May 05 17:21:30 What would you use to parse an ISO8601 datetime on android? May 05 17:21:38 mustard yellow is disgusting May 05 17:21:42 Joda? May 05 17:21:48 ohh they have that other yellow there May 05 17:21:49 lol May 05 17:22:02 autrilla: SimpleDateFormat May 05 17:22:10 thepoosh: with what format May 05 17:22:18 looks like baby's poo May 05 17:22:25 thepoosh: afaik java doesn't have something for the timezone bit May 05 17:22:51 http://stackoverflow.com/a/2202300/1056359 May 05 17:22:53 autrilla: May 05 17:23:07 there are more answers there May 05 17:23:24 thepoosh: yeah, uh, I read that May 05 17:23:37 thepoosh: http://stackoverflow.com/a/10621553/5843605 this one does not work at all, for example May 05 17:23:44 Unparseable date: "2016-05-05T11:32:03.74490+00:00" (at offset 19) May 05 17:23:56 you can use joda May 05 17:24:07 are you having size issues? May 05 17:24:13 I guess. Not yet. May 05 17:24:15 http://stackoverflow.com/a/18217193/1435058 those? May 05 17:24:18 so add joda May 05 17:24:33 add guava May 05 17:24:40 it probably has everything anyway May 05 17:24:45 threetenabp4lyfe May 05 17:28:57 idk how far I am from reaching the method count limit, I'm using a ton of libraries May 05 17:29:32 it compiles, so oh well May 05 17:31:00 you can actually check that May 05 17:31:07 with ClassyShark May 05 17:41:21 Theres a method limit? :o May 05 17:41:49 Hi all. Anyone here have experience working with the Camera2 API? Having some trouble with AF -- is there a response from the device camera to tell if it thinks it is in focus or not? May 05 17:46:04 ResidentBiscuit: yes May 05 17:46:09 65k or so iirc May 05 17:46:27 Interesting May 05 17:46:37 there is a way around the limit with multidex May 05 17:46:44 Nice regression, suddenly my SwipeRefreshLayout does not show the spinning wheel thingy when I trigget it programmatically :( May 05 17:46:44 ive not used it myself, but it does exist May 05 17:48:53 Quite the hostname May 05 17:51:29 * mrandroid is glad it's Thursday May 05 17:59:27 if you're using google play services, you can request individual functionality libraries from it instead of just importing it all May 05 18:01:15 http://fortune.com/2016/05/03/app-piracy-pleas/ May 05 18:01:18 what causes the message init: untracked pid 1234 killed by signal 1 May 05 18:01:49 signal 1 is SIGHUP May 05 18:02:17 blocky, are you sure it belongs to your app? May 05 18:02:50 danijoo: my "app" is a native c app that I am running from adb shell, and i confirmed the pid matches May 05 18:03:10 oh ok. no idea about ndk stuff :/ May 05 18:03:40 can you tell me how init "tracks" processes or why it would send SIGHUP to one? May 05 18:03:57 negative May 05 18:04:02 ok thanks May 05 18:04:17 g00s: I hope they get the chair May 05 18:15:42 what would you suggest for replacing ormlite? requery? storio? other? May 05 18:22:24 i think ormlite is the best if you really want an orm lib May 05 18:40:26 https://github.com/SidneyXu/AndroidDemoIn4Languages/pull/3 May 05 18:40:36 7, 15 and 18 seconds, for java, kotlin and scala, respectively. May 05 18:40:36 compared to gradle: java @ 35 seconds, scala @ 160 seconds and kotlin at 45 seconds May 05 18:40:37 huehue May 05 18:45:20 pfn what are the times with gradle on your computer? May 05 18:45:41 no, I just used dude's own gradle timings, I can run to compare May 05 18:46:16 yeah that's what I meant May 05 18:46:27 actually, his project doesn't work to run gradle May 05 18:46:56 [pfnguyen@galactica JavaAndroid] $ ./gradlew app:clean app:assembleDebug May 05 18:46:56 Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain May 05 18:47:21 but simple hello worlds take about 20 seconds using gradle everytime I try it May 05 18:48:35 is the tutorial at http://developer.android.com/training/basics/firstapp/starting-activity.html outdated or am i missing something? android studio complains about not finding lots of symbols May 05 18:49:12 it expects you to know some java basics May 05 18:49:29 for example R.id.fab, FloatingActionButton and Snackbar May 05 18:49:42 included the design support library? May 05 18:49:44 the latter come from design support lib May 05 18:49:49 R.id.fab would come from your layout May 05 18:50:54 hm, android studio doesn't recommend importing anything May 05 18:51:19 it doesn't recommend adding libraries May 05 18:51:44 oh i have to download it through the sdk manager? May 05 18:53:43 did you sync gradle May 05 18:54:27 not that i know... how do i do that? May 05 18:55:06 "Sync project with Gradle Files"? May 05 18:55:52 well it should do it automatically when you run the project May 05 18:57:18 i've done that :P May 05 18:57:40 but it tells me everything is broken when i run it, so it doesn't seem to help :/ May 05 18:59:30 well what does the app's gradle file looks like May 05 18:59:35 (dont paste directly here..) May 05 19:02:46 ah, adding compile 'com.android.support:design:23.3.0' to build.gradle fixed the FloatingActionButton and Snackbar May 05 19:06:16 so if i understand this correctly, in the activity_display_message.xml layout there should be a FloatingActionButton with android:id set to "@+id/fab"? May 05 19:08:21 eeyup May 05 19:08:29 or in one of the includes May 05 19:09:35 wait, but it also needs a toolbar, right? and that is only in API v21+? May 05 19:16:21 so basically you just have to figure out the layout by guesswork... May 05 19:20:28 more or less May 05 19:23:45 also thats why you have support library May 05 19:23:55 you can have fab in pre-lollipop May 05 19:24:01 as well the other things in layout May 05 19:25:09 yeah i see, would be nice if the tutorial mentioned that ;) May 05 19:25:39 isnt it obvious :o May 05 19:27:15 yeah i guess i should have known all about the android api ecosystem intuitively when i just installed android studio... /s May 05 19:27:51 mhm May 05 19:28:07 intuition will fail you many times when doing android May 05 19:36:23 best linux so for android dev and pentesting? May 05 19:37:02 just use whatever May 05 19:37:05 it does not matter. May 05 19:38:17 s73v3r: seems like mac os isnt a good optoin May 05 19:38:27 it’s an excellent option May 05 19:38:28 s73v3r: do u use drozer? May 05 19:38:32 Its always a good option May 05 19:39:08 any of you use drozer? May 05 19:39:09 use arch linux [solved] May 05 19:39:38 don’t know what drozer is May 05 19:40:22 well sounds like this https://github.com/mwrlabs/drozer May 05 19:41:02 Do you guys do method profiling in AS? May 05 19:41:35 Kinda read about it but not positive on how to use it May 05 19:43:43 Do any of you use factories to get instances of your retrofit interfaces May 05 19:43:55 Seems logical instead of creating a new buildder and creating one every tine? May 05 19:44:09 But im still kinda new to retrofit so im not sure about best prac May 05 20:10:43 azgul, java takes 11s to build, according to dude's timer on my pc May 05 20:10:48 azgul, so 7 vs. 11 seconds for his demo project May 05 20:11:22 the gradle timer itself says 20 seconds May 05 20:11:42 xnoxk: so? as in library? or did you mean OS? May 05 20:12:39 last_staff: do u use drozer? May 05 20:14:23 no. I tried to use it once, but all I got was http://unix.stackexchange.com/questions/243153/drozer-does-not-launch-on-kali-linux-2-0 May 05 20:19:09 pfn interesting. how well does sbt integrate with AS, if at all? May 05 20:37:35 Is possible to delete APK from beta testers ? May 05 20:37:53 wviana: What? May 05 20:38:05 I mean, remove beta APK and publish in production one with the same VersionCode. May 05 20:38:24 Oh May 05 20:38:28 Play Store? May 05 20:38:45 Why not increment the version? May 05 20:38:46 LunarEclipse120: Yeap May 05 20:39:25 wavis: Yeah, I'll have to. Cause last code in production was 5, I'll have to jump into 7 May 05 20:41:17 Yeah I don't think the version code is supposed to have meaning other than signifying that a release is newer. May 05 20:42:01 yea thats why you have version code and version May 05 20:43:01 Does markdown works in release notes ? May 05 20:43:33 If you're publishing betas you might consider having a separate build for early adopters to install instead. It would have its own package and independent version code sequence. May 05 20:44:19 Nop, :( May 05 20:49:58 what is this : Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable ? May 05 20:55:54 azgul easily May 05 20:57:19 what is this : Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable ? May 05 20:58:23 esfboy_25: Don't Spam May 05 20:58:51 The line says it.. it could not find the method :P May 05 20:59:45 Hi there, I am trying to develop an android app in c#. I have a ScrollView that I want to add children to from another .axml file. I can't figure out how to do this. Can someone help me? May 05 20:59:48 ktwo : why ? how can i solve it May 05 21:00:25 xrandr: Unfortunately, there aren’t many people in this channel who use Xamarin. You might have better luck asking in a Xamarin channel May 05 21:00:26 esfboy_25: We need to see your code probably May 05 21:00:38 xrandr: Using the NDK? May 05 21:01:24 LunarEclipse: I am using Xamarian in Visual Studio if that helps you...? May 05 21:01:59 xrandr: Are you using the NDK? And you need to use the full name or it doesn't ping May 05 21:02:01 v7 support lib does need API7 - might be obvious but are you maybe trying to run it on a lower api? May 05 21:02:14 LunarEclipse120: They’re using Xamarin May 05 21:02:58 Ok. Don't know what that is May 05 21:16:36 anyone ever have to do unit testing with dates? May 05 21:19:05 how so? May 05 21:31:24 "Instant Run: How does it work?!" May 05 21:31:28 it doesn't , lol May 05 21:34:41 What do you guys think of this factory: http://pastie.org/private/yp10j7nouwivwccxkgezg May 05 21:36:38 Hi. is there an android dev board (comparable to the beaglebone) with integrated acceleration/gyro sensors? does anyone have experience how hard they are to add *and* integrate into android normally? May 05 21:37:16 so like, a phone? May 05 21:37:37 Yes, but with I/O pins for more sensors :> May 05 21:38:37 pretty sure you can get android running on a rpi no? May 05 21:39:26 Probably, but then there's still no integrated sensors May 05 21:39:49 why do they need to be integrated? add them like the others May 05 21:42:47 Kopfgeldjaeger you can look at the dragonboard May 05 21:43:00 orbyt_: Less work, I guess. And to be honest I really haven't found many resources yet about how to integrate external sensors May 05 21:43:25 you generally just connect them to the IO pins, or the I2C or SPI bus May 05 21:43:33 sounds like orbyt_ has lots of experience taking vanilla kernel drivers and getting them to work on android :P May 05 21:44:33 g00s: not sure if sarcastic or not May 05 21:44:40 google should have official builds for rpi, but they are too fucking lazy May 05 21:45:06 g00s, you mean put Android on the Pi? May 05 21:45:30 The whole point of having a Rpi is to learn to put it on yourself May 05 21:45:37 why should they have official builds for the Pi? May 05 21:45:49 Cheap bit of kit so not too bad if you 'break' it May 05 21:46:04 I’ve heard the builds for the Pi aren’t that great May 05 21:46:13 s73v3r: sure, I2C or SPI sounds fine and dandy, but how do I get it to register and (e.g.) MPU-6050 as my device accelerometer so I can use it "normally"? I understand the process with Arduino boards, but with Android I really have no idea May 05 21:46:26 Kopfgeldjaeger https://developer.qualcomm.com/hardware/dragonboard-410c May 05 21:46:46 i couldn’t tell you either. unfortunately, that sounds like a question that’s out of scope for this channel May 05 21:46:51 Question Time has a real hotty on if you want to watch May 05 21:46:55 s73v3r they should have official builds for something, rpi beagle, whatever May 05 21:46:59 Shame that she's from the Daily Fail May 05 21:46:59 they used to May 05 21:47:37 I think that dragonboard is what you want, Kopfgeldjaeger May 05 21:48:22 it’s even got this bit of documentation: https://developer.qualcomm.com/download/db410c/sensors-porting-guide-dragonboard-410c.pdf May 05 21:48:59 maybe google will have official android builds for whatever brillo supports May 05 21:50:20 someday May 05 21:50:34 Did anyone see the factory method I posted? May 05 21:52:31 s73v3r: thanks, I'll look at that May 05 21:58:55 i'm surprised google didn't buy jrebel for their instant run stuff May 05 21:59:10 they bought NiK for some stupid photo filters ... May 05 22:10:19 anyone have any experience with multicast on marshmallow? May 05 22:34:52 is there any way to get android studio to launch the same project on two devices simultaneously May 05 22:35:08 like when i launch the app on the first device and hit the run again it doesnt prompt me with the device chooser May 05 22:35:17 it just relannches the app on the same device May 05 22:35:33 AnTi_MTtr: Use "adb select" I think May 05 22:35:48 there’s a setting somewhere which will have it ask you every time you hit run May 05 22:38:07 you can select more than one device in the chooser dialog May 05 22:38:26 they will launch sequentially, not simulatenously May 05 22:38:31 adb select? i cant find it in the run menu May 05 22:38:33 or in optinos May 05 22:38:40 AnTi_MTtr: The command May 05 22:38:47 ahh May 05 22:38:50 so in the terminal May 05 22:39:13 AnTi_MTtr: Yes May 05 22:39:48 will a intent service log out put show in the android monitor? May 05 23:11:51 where else would it show May 05 23:15:42 I'm sure I've done this before but what's the most elegant way for me to access some views in my fragment from my activity? May 05 23:16:04 I don't need direct access necessarily I just want to be able to call some method to disable a view until I'm ready on the activity May 05 23:16:26 grekkos thats gross :( May 05 23:16:39 just have MyFragment.hideStuff() and be done with it May 05 23:16:54 grekkos: You don’t. You create an API on the Fragment to do it May 05 23:17:10 The fragment is responsible for messing with the views May 05 23:18:45 this is interesting http://gradle.org/blog/agile-is-dead/ May 05 23:18:55 When you say api do you mean interface s73v3r May 05 23:18:57 i think now i understand Gradle's business model May 05 23:23:56 drose379: I don’t mean interface. I mean API (which is itself a type of interface) May 05 23:24:41 Anyone ever use Webview? Im trying to make my webpage adjust to the size of the view May 05 23:24:51 But on a small device, with the view at match,match, its not fitting May 05 23:25:23 i think you want to futz with the zoom level May 05 23:26:20 Hmm ok May 05 23:31:15 Hmm, getting an OutOfMemory error on an emulator May 05 23:31:18 But never happend on device May 05 23:31:20 Weird May 05 23:40:35 s73v3r: yeah that's what I was thinking, I was just telling you the end goal May 05 23:40:52 I ended up moving everything into the fragment and pushing down some more information I was missing in there May 06 00:01:20 I think this architect might be making a big deal out of upgrading libraries to current versions May 06 00:01:34 it’s a fairly big deal May 06 00:01:36 libraries like support-v4 May 06 00:01:42 google play services May 06 00:01:51 yup May 06 00:02:12 how do you handle library upgrades? He's saying like 2+ weeks of dedicated QA testing May 06 00:02:33 RustyShackleford support libs are really buggy, you have to assume things will break May 06 00:02:41 I would upgrade them at the beginning of a new release. If there are lots of bugs, roll back May 06 00:02:51 how often do you release? May 06 00:03:04 thats 9 weeks of testing May 06 00:03:19 about once a month. Each release has three 3-week sprints May 06 00:03:23 further, it’s not easy to roll back a released version on the play store May 06 00:04:28 the other thing thats griding my gears is that he wants to hold off on using Android Studio 2.x because it may introduce bugs May 06 00:05:10 gradle gives us a layer of abstraction. Id be very suprised if the IDE introduced bugs May 06 00:05:10 hrmf. how does IDE inject bugs into code lol May 06 00:05:13 are they saying not to update the libraries? May 06 00:05:43 he's super hesitant. I think we'd be better off staying at the current api. Right now we're compling against api 19 May 06 00:06:06 at least move to 22 until we figure out api-23 permissions May 06 00:06:09 how close are you to release? May 06 00:06:39 well I said right before a new release. I meant at the start of development for that release, 9 weeks earlier May 06 00:07:14 another 3 weeks until the next release May 06 00:07:34 RustyShackleford financial sector is always conservative with tech May 06 00:07:49 yeah I understand May 06 00:08:01 RustyShackleford tell him you would like to add bitcoin to the app May 06 00:08:04 :D May 06 00:08:11 using an outdated version of spring is a different story. The client can't see that you're running old software May 06 00:08:41 RustyShackleford you are confusing two things: software value vs software debt May 06 00:08:51 (in software economics) May 06 00:08:57 new Android hardware and software is coming out all the time. I assume most apps try to track the newest android libraries May 06 00:09:04 is that not the case? May 06 00:09:07 not necessarily May 06 00:09:09 the value of the software is high because it passed its QA cycles May 06 00:09:38 even if its quality is low, or its mired in technical debt May 06 00:09:51 you generally try to start as high as you can when you begin the project, but as time goes on, you need to weigh the time and effort to update stuff against what else you could do with that time May 06 00:10:28 yup low quality and lots of technical debt. May 06 00:10:38 that’s why a lot of apps aren’t up to Marshmallow yet: at 7% of the market, unless they have a lot of users themselves on it, it makes no financial sense to spend the time and effort to update to it May 06 00:10:40 the argument that it passed QA doesn't make sense lol May 06 00:10:58 it passed QA. Meaning, it more or less works, and the issues are known May 06 00:12:20 well when the market shifts towards Marshmallow, you're prepared May 06 00:12:44 IF May 06 00:12:45 if you're planning on still being in business then May 06 00:12:53 and that’s still a ways away May 06 00:13:13 in the meantime, you can work on stuff that will benefit far more of your users May 06 00:13:15 RustyShackleford what M features are important for a banking app? i can't think of anything at all May 06 00:13:51 I'd also think upgrading from 23 to 24 is easier that 14 to 22 May 06 00:14:22 maybe. but upgrading from 19 to 23 is still quite a bit of effort May 06 00:14:47 we actually are in the process of upgrading to 22 May 06 00:37:10 fingerprint May 06 00:37:11 in M May 06 00:37:26 or authenticated credential storage, don't know if that was new in M May 06 00:41:06 Question: how can I detect when an app's window is closed/removed from the overview? May 06 00:41:16 ie, when someone presses the overview button and swipes the app away May 06 00:41:37 is there a broadcast? May 06 00:41:43 excuse me, an intent broadcast May 06 00:42:09 biometrics should not be used for authentication May 06 00:42:16 fact May 06 00:42:49 but I can't find any documentation on what removing an app from the Overview actually does May 06 00:44:58 The reason I ask is that I have a service which appears to be getting killed without even its onDestroy() being called May 06 00:46:21 Hi there... I'm getting this weird crash with RecyclerView + LinearLayoutManager http://pastebin.com/2xnTSVc0 Has anyone run into this before? I'm not sure what is causing it May 06 00:46:43 It happens when I start an action mode in my activity May 06 00:49:20 pipegeek, that's normal when process is killed May 06 00:49:30 pipegeek, and removing from overview = kill May 06 00:49:46 if a user swipes you away, the expectation is that you are not notified May 06 00:51:01 http://www.androidcentral.com/android-apps-chromebooks-googles-shortcut-full-desktop-ecosystem May 06 00:51:27 pfn: but the icon of the foreground service remains in the status bar May 06 00:51:46 is there any way to at least give some indication that the service isn't actually running anymore? May 06 00:52:04 What's the best way to load more data into a listView when the last item is hit? I'm trying to do something like setting a scrollChangedListener and figuring out if it's the last item, but without much luck May 06 00:52:33 pfn: even if removing from the overview == kill, does that mean it's kill -9? Or is there some way to detect it and clean up? May 06 00:52:46 it's a kill -9 May 06 00:52:57 and a foreground service? iirc it gets cleared May 06 00:52:57 ew. May 06 00:53:14 pfn: it doesn't seem to be being cleared. There's still UI for it, it's just clearly no longer doing anything. May 06 00:53:27 on M, my service no longer gets cleared May 06 00:53:30 this is the behavior I'm seeing: https://stackoverflow.com/questions/25458540/foreground-service-getting-killed-when-app-is-swiped-off May 06 00:53:39 on L it was doing that May 06 00:54:17 it seems non-intuitive that removing an activity from a list would stop a service as well, and do so so abruptly that onDestroy() isn't even called May 06 00:54:57 after all, there's a difference between removing an activity from the recent list and actually Force-Stopping it May 06 00:55:18 on top of which, there's this article: http://lifehacker.com/what-happens-when-you-remove-an-app-from-androids-mult-1179868228 May 06 00:55:51 which suggests that there's a way to detect and handle someone swiping an activity out of the overview, it just doesn't say what it is May 06 00:56:45 is Service.onTaskRemoved() relevant? May 06 01:09:47 looks like it is. May 06 01:48:42 Can anyone take a look at my code? No idea why my progress bar seems to reset twice every time it shows, AFTER a config change. Here is my pastebin http://pastebin.com/xSq0uL9t **** ENDING LOGGING AT Fri May 06 02:59:58 2016