**** BEGIN LOGGING AT Sat May 16 02:59:59 2015 May 16 03:13:28 Does anyone know anything about nested ExpandableListViews? May 16 03:14:05 If you nest enough of them, you get an ExplodableListView May 16 03:14:12 (read as: no, I don't :p) May 16 03:17:10 one of the more hideous UI widgets May 16 03:18:57 liuwenhao: I know I've fought with their fast scroller enough to recommend never even trying, though it seems important for a large expanding list. May 16 03:19:26 the expanding part worked essentially fine though, iirc. kinda messy, but functional. May 16 03:19:38 each widget should have .isMyCreatorAMonkey() May 16 03:21:32 nested expanding list is such a recipe for disaster May 16 03:23:08 Well, I think my problem can be solved without nesting. I'm just not sure how. I'll post a screenshot as an example of what I want to do May 16 03:42:35 hey everyone May 16 03:42:59 how do I scale the imageview to be the exact size as the image i'm going to load inside it? May 16 03:43:13 I want to use imageView.setScaleX but... May 16 03:43:23 I need the drawable size first and if I write May 16 03:43:35 Drawable drawable = Drawable.createFromPath(uri.getPath()); May 16 03:43:45 I get drawable to be null for some reason May 16 03:44:10 the reason I want to scale it before I load the image is this: May 16 03:44:36 I want to load an image and to be able to zoom in and out WITHOUT changing the size (bounds) of the image May 16 03:45:05 and I found it's possible only be setting the imageview to be the exact or smaller size then the image that loads into it May 16 03:45:44 if there is another way to achieve what i'm looking for i'll be glad-full to hear... May 16 03:52:13 hey all I'm having trouble getting rid of the title in the Toolbar... Can anyone help me with a second set of eyes? May 16 03:52:31 oooooo. May 16 03:53:07 yeah still need help :/ May 16 03:55:02 err nvm.. silly me May 16 03:55:38 lostProgrammer, this is a great lib for zooming an ImageView: https://github.com/chrisbanes/PhotoView May 16 03:58:23 Hey all o/ May 16 03:58:50 is there a way to designate an image as landscape and have it automatically be used as an alternative to a portrait image? similar to layout files in layout-land May 16 04:00:31 anyone know of a library for use as an "open file dialog" or somethin similar? May 16 04:01:00 does anyone know of an app to change the default intent manager behavior? if not that might be interesting to try to make May 16 04:01:06 might have to be root only May 16 04:02:44 What packages should I install from Cygwin that are most used in Android dev? May 16 04:03:29 DarkstarR, of course May 16 04:03:42 ? May 16 04:04:02 ismithers, android dev doesn't use cygwin, unless you mean ndk May 16 04:04:06 Hmm, apparently v7 onwards of NDK doesn't need cygwin at all. May 16 04:04:54 Yeah pfn, I just imported a project into eclipse and got some errors in the console such as "Unable to launch cygpath. Is Cygwin on the path?] java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified" May 16 04:08:45 pfn, can you explain how to have a landscape image automatically load where appropriate? May 16 04:09:10 god i hate android programming its such a pain or i must be stupid May 16 04:09:10 DarkstarR, same as any other resource May 16 04:10:23 the latter May 16 04:11:10 what is the name of the folder I would put the image file in for landscape? May 16 04:11:51 bynarie, http://android-arsenal.com/tag/35 May 16 04:12:33 drawable-land-{dpi} or drawable-land-nodpi May 16 04:12:57 thanks surf2b1 May 16 04:14:50 I'm running into this exact issue: https://forums.oculus.com/viewtopic.php?t=23243 Does anyone know where in Eclipse that checkbox is? In regards to importing the projects into the workspace. May 16 04:15:23 surf2b1, thanks buddy! May 16 04:17:46 bynarie, android programming is not easy but i'm sure after a while we're going get used to it ;) May 16 04:18:19 i honestly just cannot figure stuff out.. seems like every little thing u want to accomplish takes 100 lines of code =[ May 16 04:18:20 lol May 16 04:18:34 soulisson hm - maybe, maybe not May 16 04:19:07 g00s, care to explain? May 16 04:23:01 bynarie, if you are a python fan, i guess you can also do android apps :) May 16 04:27:19 How can I get rid of the status bar in the Design preview in Android Studio? May 16 04:27:35 bynarie, it's java, it's verbose and not the least bit expressive, try an alternative language such as kotlin May 16 04:27:59 python is unsuitable for writing android appa May 16 04:28:01 appa May 16 04:28:03 apps May 16 04:28:08 stupid keyboard May 16 04:28:15 scala, i hear that's what all the cool kids use May 16 04:28:24 kotlin? never heard of it May 16 04:28:40 stick around this channel for ten minutes, no doubt it'll get mentioned about 20000 times May 16 04:29:28 I don't care much for kotlin, doesn't have the features I want May 16 04:32:02 how the hell have i never heard of kotlin May 16 04:33:13 bynarie: We'll forgive you. This time. May 16 04:33:22 =] May 16 04:33:45 It's basically Scala done right, no big deal May 16 04:34:38 This is telling me Nested Weights are Bad for Performance. I have three nested levels of weights, but not sure how else to accomplish what I’m doing. May 16 04:34:55 by using a relative layout May 16 04:35:07 or gridlayout May 16 04:35:11 relative can't always emulate weights May 16 04:35:53 I never understood what functional programming meant :) May 16 04:35:54 actually I'd say never May 16 04:36:03 when you need weights, you need weights, no way around it May 16 04:36:22 I was using a relative layout, but I needed something that occupied a percentage of the screen so it would work on phones and tablets May 16 04:36:43 I don’t see an alternative to relative proportions for button sizes May 16 04:37:00 yeah weights are the only way, short of implementing measure yourself (you don't want to do that) May 16 04:38:27 I’m trying to port a Universal iOS app to Android. I’ve got screens that are iPad res, and iPhone 4, and iPhone 5+, but they don’t play nicely with the various DPI settings. They’re just entire screens that are designed to scale May 16 04:39:19 if I put the iPad size in xhdpi, it shows up on the nexus 9 properly… gets squashed on the 5, and only a portion of the 10’s screen size. what to do? May 16 04:40:42 DarkstarR https://developers.google.com/events/io/sessions/326204977 May 16 04:41:21 I usually avoid things that take a percentage of the screen, mostly because it ends up looking like ass anyway May 16 04:41:40 pfn: uh? May 16 04:41:56 Most layouts that UI designers provide are percentage based May 16 04:42:18 usually I want some controls that are a fixed size, and the remainder being flexible May 16 04:42:38 That's the problem, *you* are designing the UI. Never do that :) May 16 04:43:13 and it's not like I don't get designs from designers May 16 04:43:26 thanks g00s. watching it now with CC May 16 04:43:38 I do have a day job where I don't design shit myself May 16 04:44:42 most things still tend to be certain controls of a fixed size and some panels filling the remainder May 16 04:46:59 AbsoluteLayout ftw ! May 16 04:47:02 can anyone tell me how to set the Design Preview in android studio to default to NoTitleBar.Fullscreen? May 16 04:47:19 everytime I view a diff device I have to reset that May 16 04:51:56 the new iosched app is bland as can be; i'm not inspired to see how they coded anything May 16 04:56:42 Thank you all for your help! May 16 05:00:17 wooooow. 6 months in and my nexus 6 has burn-in May 16 05:00:22 Hey guys, in Eclipse how does one resolve this: https://db.tt/9FgAGz6O May 16 05:01:01 Tricknology next time get a cheap moto phone; same difference :) May 16 05:01:11 eh not familiar with NDK, sorry May 16 05:01:12 like moto g , e May 16 05:01:27 lol, g00s yeah I fell for the Nexus 6 trap hard May 16 05:01:39 all I want is a modern not POS vanilla Google phone May 16 05:01:44 with a good camera.. May 16 05:01:53 all the phones miss those marks May 16 05:01:59 oh, the moto G camera is apparently terrible May 16 05:02:16 S6 good camera but not vanilla May 16 05:02:30 Nexus 6.. screen.. and camera sucks May 16 05:03:23 * Tricknology /rant May 16 05:03:57 all oled burns in May 16 05:04:30 Tricknology: maybe a GPE phone? May 16 05:04:36 I think the moto G camera is ok for a phone camera, to be honest, if it does not have a lens its all the same to me. There is still nothing better than a dedicated camera. May 16 05:04:48 was a htc one m9 gpe announced? May 16 05:04:58 that has a fantastic camera May 16 05:05:11 i thought GPE was DOA May 16 05:05:19 or maybe NPE May 16 05:05:20 ManualCamera is a good app. A better camera would really make it shine May 16 05:05:24 lol May 16 05:05:30 g00s: whats npe? May 16 05:05:42 and i think you might be right about GPE, that kinda sucks May 16 05:05:48 Don't get many of those DadFoundMy? May 16 05:05:50 i love my htc one's gpe roms May 16 05:05:52 null pointer exception May 16 05:06:09 im actually happy when I see them May 16 05:06:16 usualyl a super simple fix May 16 05:06:26 whats that? is that something non perfect programmers get, i wouldnt really know :D /s May 16 05:06:31 Tricknology: yup same May 16 05:07:07 Carbonflux yeah if i cared at all about the shots i would want something, like a Sony RX 100 3 :D May 16 05:07:10 i used to feel that way about index out of bounds exceptions but now more than likely when i get them it's from a function returning -1 and having to solve that May 16 05:07:27 DadFoundMy, TextEdit foo = null; foo.setText("bar"); May 16 05:07:32 that will throw a NPE May 16 05:07:59 Tricknology: yeah i know what a null point exception is :D hense the /s May 16 05:08:12 thought your finger slipped May 16 05:08:24 there should be a \s for seriously May 16 05:08:56 i think the best way to go is get some cheapo android device, like a moto budget model, which has minimum modifications and is pretty stock. the popular models get updates for a while anyhow May 16 05:08:57 /seriously /s May 16 05:09:37 makes more sense to spend $150 and get 12 mos updates, than $600 for 18 months updates May 16 05:10:48 g00s: you mean for like a daily driver? May 16 05:10:56 yeah May 16 05:11:27 i wish i could do something like that, but verizon is kinda hitler and makes me get a two year contract May 16 05:12:04 you can get the moto Gs on amazon cheap off contract. just go to tmo and get a sim, done May 16 05:12:06 doesn't T-Mobile pay the fees if you switch over? May 16 05:12:22 t-mo service is pretty shit in my area May 16 05:12:23 verizon is terrible May 16 05:12:40 wouldn't get into contract with those mofos ever again May 16 05:12:49 surf2b1: i believe they will pay up to something like $200, but you have to turn in your phonee May 16 05:13:00 kinda pointless if you have a flagship May 16 05:13:21 g00s: yeah i am constatly getting ass raped by them, but they're service is seriously next to done May 16 05:13:21 Verizon is crappy for me. Thinking of switching. I'm close to Disneyland in CA. You'd think they would have great service here May 16 05:13:24 *none May 16 05:13:41 i live like 30 minutes away from the city and i still dont have great service May 16 05:13:42 went to SF a couple weeks ago and it was 10x times better May 16 05:13:58 surf2b1: wait verizon is crappy 30 minutes away or t-mo is? May 16 05:14:04 verizon is May 16 05:14:20 ive litterly never been in an area where verizon was crappy for me, even in butt fuck no where pensyvainia May 16 05:14:28 penisvainya May 16 05:14:36 lol May 16 05:25:17 Hey, guys :D May 16 05:26:29 When you click the play button to emulate your app there is a checkbox that says don't ask again launch with this device*or something along those lines*. How do you uncheck that box so that I can launch my app from my device May 16 05:26:52 Instead of my Android Virtual Device May 16 05:26:59 code1o6: close the emulator May 16 05:27:01 run app May 16 05:27:13 dialog will come up again, uncheck it May 16 05:27:33 im sure theres a better way to do it but it's how ive always done it May 16 05:28:23 DadFoundMy: Great, It worked thanks May 16 05:29:07 My device is showing as *somehash*[UNAUTHORIZED] May 16 05:29:19 State Unauthorized May 16 05:29:24 does it run the app? May 16 05:29:30 if not maybe check your drivers May 16 05:29:32 Does it have something to do with drevirs May 16 05:29:47 first try enabling usb debugging in developer options May 16 05:30:14 I got that setup May 16 05:30:37 My phone however just poped a view on Potential threat alert May 16 05:30:45 Its on should I disabled May 16 05:30:56 *It's May 16 05:31:09 that probably has something to do with it. i would try googling for your specific device May 16 05:31:52 I got the galaxy s5. Dumb question but do I need to disable the lockscreen? May 16 05:33:02 i think you need to enter the password but lock screen can be enabled May 16 05:35:42 code1o6: Unplug the device. Plug it back in. You should get a security pop up on your phone. Accept it and it will show as authorized on your machine. May 16 05:36:46 java.lang.NoClassDefFoundError: net.simonvt.menudrawer.R$attr with AS and gralde:1.2.3, android-apt:1.4 any ideas? May 16 05:37:40 : Thanks, I had to accept the RSA key :D May 16 05:40:27 already cleaned the projects, seems not caused by build cache? May 16 05:40:53 So, I'm reading the android The big nerd ranch guide. Because, prior I was trying to just google my way through features I wanted to implement just like I would do in any other coding language. Obviously this approach was futile. What is the best way to become a 'god' at android development May 16 05:41:15 code1o6: imo exactly what your doing May 16 05:41:25 by reading d.android.com May 16 05:41:56 thanks for the feedback! May 16 05:41:57 i read the first few chapters of big nerd ranch. Only think i will say it that you should have a simplish app that you work on at the same time with the info you learn from the app May 16 05:42:00 http://pastie.org/10191556 Can anyone advise with this? May 16 05:42:23 pfn: idk i found the officals docs dificult to jump into at first, a book like bnr helped a ton May 16 05:42:53 does the ndk seriously require cygwin? May 16 05:42:56 : Simple re-run cygwin and att the GNU make library May 16 05:43:04 *add May 16 05:43:17 I thought I just did that code1o6... May 16 05:43:33 So when it shows the list of packages, what should I search for? May 16 05:43:57 did you export the GNUMAKE env variable May 16 05:44:10 DadFoundMy: I didn't think so. But i keep getting errors about it. I found posts from 2011 that said as of v7 it doesn't need it. May 16 05:44:13 java.lang.NoClassDefFoundError: net.simonvt.menudrawer.R$attr, but it did existed under the build folder R.java May 16 05:44:14 Make sure you don't have two symlinks May 16 05:44:35 Don't confuse NoClassDef with ClassNotFound May 16 05:45:07 No I didn't define that envar code1o6 but the log message shows it pointing to the correct path already. Saying it is using it currently. May 16 05:45:50 still kinda crazy to me that it was required at all. i always picture cywin and a kinda hacky program May 16 05:45:51 What package do I search for in the select packages list code1o6? May 16 05:46:14 *Looking* May 16 05:46:27 @CedricBeust : thanks man, will check. May 16 05:47:39 code1o6: I previously searched for 'make' and installed Devel at the instruction of a SO thread. May 16 05:48:36 so I believe is the one under devel May 16 05:48:55 make: THe GNU version of the 'make' utility May 16 05:49:09 Well, that's what I have installed. I wonder if it is pointing to a different one. May 16 05:49:51 Maybe I should remove the others, I think I accidentally installed the entire package set. May 16 05:50:07 try May 16 05:50:15 running on yout command line make -v May 16 05:50:22 paste the output here May 16 05:51:00 code1o6: http://pastie.org/10191575 May 16 05:51:45 ismithers, that's fucked May 16 05:51:50 @CedricBeust: yes, I found there is "VFY: unable to resolve static field 21281 (menuDrawerStyle) in Lnet/simonvt/menudrawer/R$attr;" in the logcat.. but from the generated R.java, it's "public static final int menuDrawerStyle=0x7f010005;" there. May 16 05:51:51 sorry language May 16 05:52:00 you have version 4.1 May 16 05:52:06 Shouldn't be an issue May 16 05:52:41 *tears up a little* May 16 05:52:50 If I was you I would try the Hail Mary approach May 16 05:53:10 add everything in devels and Utils May 16 05:55:27 As much as I like Windows as my primary development machine. There is nothing like actually doing devel in linux May 16 05:57:01 I'm a linux kernel developer, if only I could play all my steam games in Linux. One day :D, if only Nvidia and AMD stopped making proprietary drivers May 16 05:57:19 This is mildly annoying. May 16 05:59:20 If I may ask why do you need GNU make? May 16 05:59:31 How's is it related to android? May 16 05:59:41 Are you trying to compile a binary for your app? May 16 05:59:45 I'm trying to modify the Oculus Mobile SDK and rebuild the vrlib file. May 16 06:00:43 ok May 16 06:01:16 try typing env|grep -i make May 16 06:01:48 I think cygwin is a red-herring. I'm sure I shouldn't need it. May 16 06:02:00 I'm going to remove that, Android NDK has make.exe in it. May 16 06:08:40 Yeah I know what you mean about native development code1o6 May 16 06:08:59 So I did get a little further, I am now getting this message about there being no rule http://pastie.org/10191594 May 16 06:10:09 I think its looking in the wrong path. May 16 06:10:35 It should be here instead? https://db.tt/1QOgHHJr May 16 06:14:30 props for using everything May 16 06:15:03 ismithers, off-topic, do you use everything May 16 06:15:49 Yes :) May 16 06:16:10 Search Everything and Agent Ranscak, invaluable. May 16 06:16:59 ismithers, do you know about ninite? May 16 06:18:03 No wassat? May 16 06:18:14 how do you access R file in the new android studio? May 16 06:19:04 ismithers, http://ninite.com it automates installation of everything I consider essential May 16 06:19:07 for windows May 16 06:19:39 how do you access R file in the new android studio? May 16 06:19:47 Oh that is that program! A friend showed me ages ago and when it came time to reinstalling, I had forgotten it. :) May 16 06:21:27 I have found solutions for the R file like using debug and searching it manually but is there a better way to access it within android studio? May 16 06:21:44 If Eclipse is telling me it cannot find the NDK application project dir, and wants me to define a NDK_PROJECT_PATH var, where should that point to? May 16 06:21:59 (Not sure with respects to the R file sorry) May 16 06:22:17 got to advance system settings May 16 06:22:35 enviroment variables May 16 06:22:52 Window > Preferences > Android > NDK > NDK Location May 16 06:23:09 edit or add new if it doesn;t exit May 16 06:23:21 Two solutions! :) May 16 06:25:43 mine is most likely wrong. Read your problem too quickly May 16 06:25:58 Its OK May 16 06:26:02 I have added an envar May 16 06:26:13 Honestly, one thing fixed, another breaks. May 16 06:26:15 Does it ever end? May 16 06:32:37 That is what make us coders, The hardest part of coding is setting the enviroment and fixing dependencies to develop. Once we get it working we get it working we give it for granted :D May 16 06:33:58 Yeah tell me about it. Part of the issue is that I'm really not experienced with this kind of environment. May 16 06:34:01 So its all alien to me. May 16 06:34:23 So now I have http://pastie.org/10191605 which seems pretty obvious, the file just isn't there. May 16 06:34:39 I feel like I have some fundamental issue where, which is causing all these loops of chasing missing files and things. May 16 06:40:22 C:\Software\AndroidSDK\android-ndk-r10e/jni/Android.mk May 16 06:40:45 you have foward slashes and back slashes May 16 06:41:05 ismithers, I think that is the issue May 16 06:41:53 But the Android.mk doesn't exist there anyway. May 16 06:42:37 currently I'm going through an array using the following mCurrentIndex = (mCurrentIndex + 1) % mQuestionBank.length; but if I try to do the following it breaks when mCurrentIndex = (mCurrentIndex - 1) % mQuestionBank.length; is 0 May 16 06:43:04 when mCurrentIndex is 0 May 16 06:44:03 I can fix it using a ifstatement and making it to the length when it is 0 so I can go through the array backwards May 16 06:44:19 But is there a better arithemtic solution? May 16 06:50:47 just a claimer, my NoClassDefFound exception solved by use a new device... (no prior app installed), pretty weird.. May 16 07:02:08 implications of changing a monetization strategy after launch? eg from ads to some free content with cheap in app purchases? May 16 07:08:48 I am new to Android :),I need help understanding how I can get a service running in BG always. May 16 07:09:06 I want to listen for location changes, and based to some calculations, I will send data to server. Or maybe show activity May 16 07:09:40 I implemented a broadcast reciever for BOOT_COMPLETED and gms.*.Location* based LocationMonitoringService May 16 07:10:14 And, from inside service:onLocationChanged, I am sending [GreenRobot]EventBus event to be captured in activity. But its not working. I am not sure even if my service is running or not May 16 07:10:23 Eesh, I think I may start over with this. May 16 07:27:40 My app teaches the Jamaican language through songs and their lyrics. Users select a song and it shows the lyrics and translations in realtime as the song plays, users can click on lyrics to skip to that part of the song, configure a loop, click on word to pop up a dictionary definition. I'm interested in either monetizing with ads or users purchasing songs to use in the engine. Sometimes I think my market is poorer May 16 07:27:45 people wanting to learn roots Jamaican black reggae and Jamaican Dancehall, but now I'm thinking that there's probably a lot of Europeans and maybe Americans too that wouldn't mind paying for the translations. What do you think? May 16 07:32:53 I have an OpenGL game days away from release (after 5 years... :p), and I have a weird problem on Android May 16 07:33:09 The game stutters if I don't keep creating touch events by moving my finger around the screen May 16 07:33:22 as if I don't touch the phone for two seconds it goes into some low power mode May 16 07:33:44 anyone have experience with this? May 16 07:54:43 I came up with a workaround that is a bit ridiculous... I inject motionevents via Instrumentation every frame May 16 07:55:08 These never even get to the application, onTouch is simply "return;" May 16 07:55:20 but without them, the stuttering starts after a few seconds of inactivity May 16 07:55:52 I must be missing something like setting a dont_use_power_saving flag or something May 16 08:02:25 I set up tracking admob clicks with onAdOpened() and onAdLoaded(), but theres a huge gap between these GA reports and what admob thinks May 16 08:06:21 Adsense says 64005 views this month and 276 clicks, but GA says 62708 onAdLoaded() and 4311 onAdOpened(). Why the big difference in clicks? May 16 08:13:38 or wait.. its the interstitial ad that shows all those extra 'clicks' May 16 08:13:57 so maybe every interstitial triggers onAdOpened May 16 08:15:00 crap.. it says so in the docs :D May 16 08:24:27 any ideas how to listener for interstitial ad opened? May 16 08:24:36 hey all, i'm hoping to build an app that interfaces with an oauth1.0 API. the google dev console only offers oauth2.0 setup/callbacks (and for good reason; i know). still, 1.0 is what I'm given to deal with. so my question is: I have registered my callback url with the API, but how do I make oauth://mycallback.com accessible to the API on the app side? May 16 08:41:31 treelzebub, so sounds like you are going to build a malicious app :/ May 16 08:41:41 *-so May 16 08:48:58 is someone here using https://github.com/onepf/OPFIab for IAP? May 16 08:49:23 im looking for feedback about how good it performas in producation before publishing something with it :) May 16 08:58:32 Hey, I have a problem getting an oauth token with GoogleAuthUtil; Using this, https://tekno.pw/paste/?a7e352b6f41979e9#Jpirn1hTwJpHO3bmdVpjIoj6/om7CEBtLKzGtnWetdE=, onPostExecute is never called, and the second log statement isn't either May 16 09:12:45 Neil, what error do you get? May 16 09:13:07 No errors thrown, it just doesn't execute the log call, nor the onPostExecute May 16 09:13:23 yes. this is because getToken throws an error May 16 09:13:28 try logging the exception May 16 09:14:58 any ideas how to listene for interstitial ad opened? May 16 09:14:59 onAdOpened triggers when it shows the ad, unlike the behaviour of banner ads May 16 09:15:25 danijoo, using 'Log.e("OAuthError", e.getMessage());', logcat simply says 'Unknown' May 16 09:17:20 Neil, try to log the whole error: Log.e("OAthError", e) and not only the message May 16 09:17:48 and post the stack trace in here. I never used OAuth but it will definitly help other people in helping you :_ May 16 09:18:05 I got it, the scope was missing the "oauth2:" header, which I thought Scopes.* would include... May 16 09:18:13 Thanks very much for the help! May 16 09:24:04 Is there anyway I can log location updates from system to my server.. everytime in bg.. May 16 09:24:33 ra21vi, you can log them to file and send them to your serve every hour or so May 16 09:24:53 you could also do it in shorter intervals but this will drain the battery in a few hours May 16 09:26:30 danijoo: can I get that either in an hour interval or if user moved away some distance (say 1km) May 16 09:26:44 sure why not May 16 09:27:05 but when I go by car, this would mean a http connection every few seconds :p May 16 09:27:08 I was ready Google Play Location service for it. Am i in right direction. I am new to android. Just been a week May 16 09:27:53 you are on the right track :) May 16 09:29:04 danijoo: oh. Ok. Reading all docs online, with Google Location and now GoolePlay services. Its kind of mixed in my mind, and I am not able to understand how to do it May 16 09:30:37 I want to start location update service in background, even if the app is not started. So I implemented BroadcastReciever, and in manifest, declared receiver for BOOT_COMPLETED May 16 09:30:53 I didnt use locationservice yet but im pretty sure there is a guide by google for it :) May 16 09:31:14 I am not sure, even that reciever is running. Restartd phone quite few times, May 16 09:32:07 Now once I fix this Boot Receiver, I think I will have to start the location watching service (based on google play location service) May 16 09:32:28 danijoo: can you tell me if I am on tight path May 16 09:32:30 *right May 16 09:35:17 sounds reasonable but as I said I never used Locations May 16 09:37:37 danijoo: ok.. I understand May 16 09:47:29 how can i bypass IOException in a service? May 16 10:03:35 RishabhTatiraju, why bypass? Can't you catch it? May 16 10:04:41 Well im assigning a URL which needs a MalformedURLException catch May 16 10:05:58 now when the internet is off, the URL variable isn't populated, and the Commons CSV parser crashes app because its reader has not been assigned an url May 16 10:08:33 Is it possible to break up google play services using Eclipse and ANT? May 16 10:09:11 hey guys i need some help drawing a rectangle through on touch motionEvent i was able to get free drawing working but not rectangle this is my whole drawing class http://pastebin.com/sh5DrVVy May 16 10:16:47 hey guys May 16 10:17:05 is there a way to trigger the 'usb debugging mode', like maybe a shell command? May 16 10:43:58 EPG: thanks, with some rearranging of catch statements, i've worked it out May 16 11:18:55 I was just at an interview May 16 11:19:07 they asked me about activity lifecycle, I answered first method was onStart May 16 11:19:09 haha May 16 11:20:02 lol May 16 11:20:06 I think I impressed them by how unconventional my way of thinking is, everybody usually says onCreate, but Im a daring new thinker May 16 11:20:11 I said onStart May 16 11:21:30 what a dumbass May 16 11:21:51 technically first method is constructor =) May 16 11:22:11 I told him something along the lines of who fucking cares May 16 11:22:27 but that he had all the right to ask such a question and for me to get it wrong May 16 11:22:42 typical escape of wrong answer :P May 16 11:24:21 ya cant win 'em all May 16 11:27:09 can anyone tell me if there is a shell command that would enable usb debug and enable it everytime the devices boots? May 16 11:27:52 ronkrt`, if you enable it on your device, it will be enabled everytime the device boots :P May 16 11:28:23 an usb command doesnt make sense because its a setting to enable/disable usb commands :P May 16 11:28:37 that would be like a button on your remote to enable remote access on your TV May 16 11:29:01 a remote inside your remote May 16 11:29:06 so you can remote while remotin May 16 11:29:10 remoteception May 16 11:29:11 dan2k3k4k5 May 16 11:29:11 er May 16 11:29:21 daniele_athome what setting does enabling debug trigger May 16 11:29:32 you like Tab, dont you ? ^^ May 16 11:29:33 it doesnt make sence but i found a way in download mode to connect without adb May 16 11:29:36 my phone is broke May 16 11:29:47 if i can get a shell command (adb shell) May 16 11:29:52 settings -> developer settings -> enable debug May 16 11:29:55 then you can use adb May 16 11:29:56 your phone should get off drugs then May 16 11:29:57 i can enable adb and reboot into normal phone and use adb May 16 11:30:14 danijoo my phone instantly freeze's when i boot May 16 11:30:27 setprop persist.service.adb.enable 1 <- something like this? May 16 11:30:33 you should (let someone) repair your phone then :p May 16 11:30:56 did you flash some kind of custom rom? May 16 11:31:00 danijoo, im trynig to May 16 11:31:02 no May 16 11:31:07 i was root May 16 11:31:08 i fucked up May 16 11:31:13 ronkrt`, wrong channel May 16 11:31:14 and now i have no apps, instant freeze May 16 11:31:18 head to #android-root May 16 11:31:20 naw May 16 11:31:23 and dont tell me this channel is dead :p May 16 11:31:26 cause it has nothing to do with root now, May 16 11:31:28 this is a dev channel, May 16 11:31:42 and since i want to develop a app based around this May 16 11:31:43 im asking here May 16 11:31:46 ronkrt`, an _application_ dev channel May 16 11:31:50 there has to be SOME method for it May 16 11:31:55 yea May 16 11:32:01 ronkrt`, good luck then May 16 11:32:01 i want to build an app May 16 11:32:01 for the phone May 16 11:32:17 i dont think you get an answer because wrong channel ;) May 16 11:32:21 So can anyone think of a console command to enable / disable debug mode? May 16 11:32:39 my question is based on development May 16 11:32:49 no it is not. May 16 11:32:57 its a root/rom question May 16 11:33:25 no its not danijoo May 16 11:33:34 See May 16 11:33:38 when developing apps, May 16 11:34:14 you can send console commands to the device May 16 11:34:14 when apps are running you can send console commands May 16 11:34:14 im downloading a stock rom to flash for my problem May 16 11:34:20 but now's my chance to test it May 16 11:35:18 you have an ineresstoing logic.. May 16 11:36:04 So "How to update my windows computer" is also a valid question in here because I want to update my pc before starting android development :p May 16 11:36:10 I'm trying to make an app that would help auto repair Android systems, like recovery/factory reset without the loss of data May 16 11:36:22 your a fucking idiot May 16 11:36:41 nah its you May 16 11:36:57 you'll get it later May 16 11:37:18 ^^' May 16 11:37:37 maybe you should learn to fix your Android system before making an app to do that xD May 16 11:37:44 haha May 16 11:37:48 or that May 16 11:37:53 heal yourself first May 16 11:37:56 danijoo i know how to May 16 11:38:07 then why you babbling man, get out of here May 16 11:38:18 off off May 16 11:38:27 maybe im just to idiot to get it :D May 16 11:38:28 im asking a question about development and commands that can be accessed May 16 11:38:37 google man May 16 11:38:38 ya May 16 11:38:40 too ez May 16 11:38:43 2ez4mez May 16 11:38:54 first lifecycle method? onStart May 16 11:38:55 ez May 16 11:41:58 :D May 16 11:42:08 any ways to disassemble android kernel? objdump doesnt recognised format May 16 11:42:21 setprop persist.service.adb.enable 1 <<< this is nothing a developer would ever touch May 16 11:42:25 because its not dev related May 16 11:42:27 nah man #android-root is dying and we dont know that stuff here May 16 11:42:39 well, not interested at least May 16 11:42:46 I heard #cm is a good alternative to #android-root May 16 11:42:54 ah yea could be also May 16 11:42:57 its only half dead, not fully dead May 16 11:44:19 man how did I answer like that May 16 11:44:21 wow May 16 11:44:26 its cause I dont give a fuck man May 16 11:44:29 thats it May 16 11:44:32 ^^ May 16 11:44:40 didnt even put any effort into answering, just sooo careless May 16 11:44:55 cause Im happy where I am and didnt like the people there, the company is underground or some shit.... May 16 11:44:55 I'd love to see the interviewers face after that answer May 16 11:45:01 #cm? May 16 11:45:10 fly-away, cyanogen mod channel May 16 11:45:17 haha well he saw what I'd done as apps, it changed everything May 16 11:45:21 its emptyP)) May 16 11:45:47 then try #cyanogenmod May 16 11:45:47 but I am not interested in being there so im like half-answering, expecting negativity, cause I really didnt like the company there, so dull and damp place May 16 11:45:52 I always confuse them May 16 11:46:07 thx guys May 16 11:50:27 lol those cyanogenmod guys.. May 16 11:50:36 any ways to disassemble android kernel? objdump doesnt recognised format May 16 11:50:36 #android-dev May 16 11:50:37 they may be able to help you May 16 11:50:48 hahahah May 16 11:50:50 someone should go slap them May 16 11:50:50 lol May 16 11:50:51 :D May 16 11:50:55 we should raid them man May 16 11:51:02 STOP SENDING PEOPLE BACK HERE! May 16 11:51:05 we're 419 May 16 11:51:10 xD May 16 11:57:40 Ok now I get why cyanogenmod is a bad place to ask questions May 16 11:58:04 3 lines later topic changed to smoking weed lol May 16 12:01:04 Hey all, am I misundesrtanding this error message https://db.tt/IT2VnglT ? The program is definitely where the path indicates it to be. May 16 12:08:11 hey guys May 16 12:08:18 thanks May 16 12:08:24 o/ May 16 12:09:48 i just used Send_Command.exe to send the right commmand to my device in download mode and rebooting into the regulare os i had debug turned on.. May 16 12:24:56 Any help with this error message? https://db.tt/IT2VnglT The file is definitely where it says it should be. May 16 12:26:28 is \ and \\ different in windows? May 16 12:26:48 \\ Is just an escaped \ May 16 12:26:52 and/or try to run as administrator May 16 12:27:43 I'm definitely running as administrator already. May 16 12:37:21 hey ; /clearall May 16 12:37:35 :o May 16 12:50:03 https://db.tt/Op9G7S8v So is this complaining specifically about the ndb-build.cmd file not being in the path? As the actual NDK is in my path as shown. May 16 12:50:08 * ismithers so confused at this stage. May 16 12:58:39 hey so I am trying to add a tag system where you can tag people you follow/following you by typing in their name, just not sure what is the most efficient way of implementing it May 16 12:59:41 I know I can have a listview in a dialog showup underneath with the persons name and let them click on the user, but how do I constantly edit the results based on the text without going back and forth to the server May 16 13:25:25 Hello,I try using travis-ci to build my android library,this is my .travis.yml https://github.com/CodeFalling/RecyclerViewSwipeDismiss/blob/travis-ci/.travis.yml May 16 13:25:43 OK fixed it. Bizarrling, it was because I had set a build location to my SDK folder... why that would stop it running is beyond me, but there we go. May 16 13:26:31 I write `./gradlew build` to be the script,The problem is it seems doesn't work May 16 13:27:07 The build script in log is still `./gradlew build connectedCheck` May 16 13:27:08 Why May 16 13:30:11 Or is there any way to slove `No connected devices!`? May 16 13:34:52 And `email: false` doesn't work,too May 16 13:37:49 Oh i found it! May 16 13:38:42 I wrote yml in a worng way before,go to [this site](https://lint.travis-ci.org/),It will be easy to fix it May 16 14:10:27 Hi guys. Anyone have any tricks to draw bitmaps (from res/drawable or otherwise) inline with text when you want to use strings.xml to localize the text? heh May 16 14:12:01 hi, does anyone know how to build a day view for day events using layouts? I have tried a list with a row per hour but its not possible for events with more than one hour. May 16 14:59:04 hello May 16 14:59:28 How does MoPub compare to AdMob in fill rate and CPM? May 16 14:59:40 anyone using it here May 16 15:01:11 I'm getting pretty low RPM with Admob and I have no idea why May 16 15:04:18 anyone here that can help me with ad networks? May 16 15:05:13 Sorry, only have (minimal) experience with AdMob.. May 16 15:05:36 oh, alright, thanks for responding :) May 16 15:20:21 Sweet delicious victory, my project compiles. You all have no idea what I am on about, but that's fine, at least I got it off my chest. As you were. May 16 15:20:51 heh, know that feeling. :P May 16 15:23:19 Yeah its amazing how terrible you can feel, and then go to being on top of the world. May 16 15:23:33 Its a little sad my highs and lows depend on a programs console output, but there you go. May 16 16:01:42 hi. how the order of drawables is handled when you read them with R.drawable.class.getFields() ? May 16 16:02:58 i'm trying to read the images that have the same name, and show them in a viewpager. i have named the images like category1_1.jpg, category1_2.jpg May 16 16:02:58 https://developer.android.com/reference/java/lang/Class.html#getFields() May 16 16:03:11 "The elements in the returned array are in no particular order." May 16 16:03:19 how can I check when my activity / app starts, that if a service is running or not? May 16 16:03:38 SimonVT: ok thanks! May 16 16:07:47 gentleman, is this right channel to ask android development questions (not android core dev)? May 16 16:08:46 I been asking here since my noon, but not getting any good help. If this is core-dev for android internals, I may be bugging a lot people in wrong channel. Can you tell me where should I go rather? May 16 16:10:01 I am very new to this android development, so if my questions are not up to point, one can point that to me too May 16 16:12:25 ra21vi, what service did you want to check is running? May 16 16:13:43 ra21vi: http://stackoverflow.com/questions/600207/how-to-check-if-a-service-is-running-on-android <- first result in Google ;) May 16 16:14:08 I would probably go for the second answer, seems more robust. May 16 16:14:10 codepete: i have Bootcomplete broadcast listner, which starts my LocationMonitoringServive.. so now when my app starts and activity shows up, I want to check if my LocationMonitoringService actually is running and want to get data from it. But i think its now running for some reason, so have to check for debugging May 16 16:15:08 *now* -> *not* May 16 16:16:10 hi guys May 16 16:16:19 in that SO replies, there is way to check my service from comparing all services running on system May 16 16:16:39 i' trying to implement a paralax like this http://capptivate.co/2013/09/18/shine/ May 16 16:16:40 that i will not prefer. though for debuggig I am going to use it May 16 16:17:06 someone have an idea how can I make the logo "positioned fixed" May 16 16:24:57 does android use the phone date/time for sms it receives? May 16 16:31:34 levo what do you mean? May 16 16:32:51 AlmogBaku: in mmssms.db dates are used in the tables. i want to know if the dates are according to device's time or the message center time. i suppose it's according to the phone's date. May 16 16:39:34 levo, dates should always be stored in utc May 16 16:39:50 anything else is incorrect May 16 16:40:01 pfn: no no i don't mean the timezone May 16 16:41:03 do you mean whether it's server time or phone time May 16 16:41:09 pfn: suppose i have the incorrect time on my device (battery out and in, no internet and no manual time set) then i receive a text message. the date and time it shows on the inbox is the device's time May 16 16:41:28 pfn: exactly, if server means the message center May 16 16:42:39 well, mms comes over sms, so the timestamp is unrelated to the mmsc May 16 16:43:08 anyway, easy test, turn off your phone, send a message, turn on phone, check May 16 16:46:13 hello May 16 16:46:21 pfn: done that and it's really odd to me why android this. i thought maybe i'm wrong or something. I had nokia once and it used to use server time May 16 16:46:34 *why android does this May 16 16:46:34 can anyone help me with my oauth problem? May 16 16:46:41 what's an app that hides multiple actions behind a single fab? May 16 16:48:34 I have a new button and want to select the new type to create May 16 16:48:59 could have the fab show a. pop-up menu but yuck May 16 16:49:41 I saw that yesterday pfn: https://github.com/AlexKolpa/fab-toolbar May 16 16:49:52 but i'm really not a fan of FAB, not going to use something even heavier May 16 16:51:19 that looks useful, thanks May 16 16:51:22 levo, in the old sms application i have choices for displaying timestamp May 16 16:51:39 (display sent date instead of received date in timestamps) May 16 16:54:30 hey May 16 16:54:38 what do you guys use to create wireframes? May 16 16:54:41 hey May 16 16:54:48 what do you guys use to create wireframes? May 16 16:58:31 I have a problem with k-9 mail: I cloned https://github.com/k9mail/k-9 and installed it on my mobile phone using android-studio. Every time I want to send an email I get "RuntimeException: nope". Why? The Version from google play works fine. May 16 16:59:22 I want a ListView with no constant height on a LinearLayout with vertical arrangement. I want to anchor some elements to the top, some to the bottom and whatever is left it will be the for the ListView. Can this actually be done or do I need to use something else than a LinearLayout? May 16 16:59:29 Can anyone help me with GoogleCredential.Builder? May 16 16:59:49 I'm getting an IllegalArgumentException May 16 17:03:47 Can anyone help with GoogleCredential.Builder error? May 16 17:06:01 then fix the argument May 16 17:06:07 sounds obvious May 16 17:06:26 chili4sale, read source, fix nope errir May 16 17:07:31 ExeciN, 0 height on listview, set weight, other items can have fixed size May 16 17:08:03 pfn: But it should work, I did not change anything! The project comes straight from github. May 16 17:08:32 so what if it comes straight from github, there's no guarantee that it works out of the box May 16 17:09:07 pfn: in fact, if it wasn't a tagged release it's *more likely* to have bugs May 16 17:09:15 Hello there. I'm trying to start a service at application startup and ends it at application shutdown, however the "onCreate/onDestroy" methods of Activity can be called on other occasions, such as screen rotation. May 16 17:09:20 This is the error: http://pastebin.com/TjcUNUmp May 16 17:10:55 pfn: shouldn't the height be to wrap_contents ? May 16 17:11:10 ExeciN, not if you want to use weights May 16 17:11:17 ah ok thanks May 16 17:11:38 ExeciN, when using weights, height and width become the minimum/starting values May 16 17:12:02 pfn: How can I fix nope error? May 16 17:12:16 chili4sale, I told you read source May 16 17:12:46 @Guillaum not sure but I think there are onStart() onPause() and onStop() methods. Maybe those will work for u :P May 16 17:13:13 Can anyone help me with GoogleCredential.Builder IllegalArgumentException ? May 16 17:15:28 Leeds: Yeah, that's bitten me a few times in the past. May 16 17:16:18 Guillaum: depends on your specific requirements, but perhaps something like setting android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" in your manifest is enough? May 16 17:16:48 pfn: It worked! I will use weight if applicable from now one May 16 17:19:05 pfn: I got it^^. Thanks :) May 16 17:19:12 Is there any place I can get support for using the Android REST api? May 16 17:19:36 Guillaum: what that does is when those specific types of configs change, your Activity's onConfigurationChanged() will be called rather than Android's default behavior (which is what's causing those restarts) May 16 17:20:12 Chamooze: interesting. This can be a solution, but is it the "right way to do it ?" May 16 17:22:49 Guillaum: tbh, not sure. it's how I solved the issue with my activity restarting a little now and then, based on some code I found on stackoverflow I think it was. heh May 16 17:24:05 Chamooze: thank you then, I'll use your solution for now and try to understand it ;) May 16 17:24:06 I mean, it the very function of that manifest-setting - to customize configuration changes when you're not satisfied with Android's default behavior May 16 17:25:11 the documentation does say "use only as a last resort" though. >:-) May 16 17:26:46 Can anyone suggest where to get help with getting AndroidStudio installed and working? Amongst other problems I'm trying to keep it from auto-downloading 100MB of SDK tools that I already have downloaded (slow internet). Where to install them and how to inform AndroidStudio on first run where they are? May 16 17:27:13 .. I am on Debian Jessie 64-bit May 16 17:28:46 setting configChanges is a bad idea May 16 17:31:37 how fast does an AVD perform when you have the Intel accelerator thing installed? May 16 17:31:49 decently fast May 16 17:32:08 probably not suitable for game dev but perhaps standard app dev May 16 17:32:22 pretty much May 16 17:32:57 pfn: if it is a bad idea, why ? And how to handle my issue? May 16 17:33:49 use bindService and unbind as necessary to tie it to your activity life cycle May 16 17:35:51 pfn: I should read more about bind/unbind, but you mean that I may be able to bind/unbing on onCreate/onDestray without restarting the service? May 16 17:36:13 and for that matter, services are a life cycle management container May 16 17:37:42 you can likely achieve what you want without a service, but using a singleton instead May 16 17:37:48 wavelock: the android website literally directs people to this channel for development support :/ May 16 17:39:40 Ninjahmahs, yes, for *application* development May 16 17:39:44 pfn: this is inderesting. I'll have a look at this solution too. Thank you. May 16 17:39:54 is the current JDK suitable for developing Android apps? May 16 17:39:55 Can anyone help me with GoogleCredential.Builder IllegalArgumentException ? May 16 17:39:59 (8.x) May 16 17:40:21 RudyValencia yes, make source source level is 1.7 though May 16 17:41:18 ah May 16 17:41:40 so no channel for advice about actual environment stuff May 16 17:41:46 pfn: with a singleton there is still the issue to detect the end of the application. I'm new to java, but using the finalize method of the singleton appears not recommanded. May 16 17:42:02 is Gingerbread still popular on the low-end or have newer versions been low-end now? May 16 17:43:00 Guillaum, why do you need to detect end May 16 17:43:24 Ninjahmahs, yet again... read the topic May 16 17:43:27 or, just go to XDA May 16 17:43:59 right May 16 17:44:36 pfn: roughly, I'm dumping sensor value when the user press the "record" button. The user can stop by pressing the "stop" button, or by leaving the application. May 16 17:45:18 RudyValencia: as of earlier this month, Gingerbread-or-earlier was on about 6% of 'active' devices May 16 17:45:42 * wakelock probably holds 1% of that :D May 16 17:45:59 ravilov another 1% May 16 17:46:00 it's bad to hold wakelock May 16 17:46:36 Hmm, interesting.. Gingerbread is just over 3% of installs for me (though I only have a couple 100k installs, so not exactly statistically significant :)) May 16 17:47:10 Leeds, shush there or I'll hog your CPU May 16 17:47:24 * Leeds watches his battery tick down May 16 17:47:49 so it's no longer statistically significant May 16 17:47:53 full to zero in under 1h May 16 17:48:16 what version would be best to start targeting at minimum? May 16 17:48:40 15 or 16. May 16 17:48:41 API15 or API16, probably May 16 17:49:05 you can lookup the platform dist. on the website May 16 17:50:14 Guillaum, then reference count onstart and onstop May 16 17:51:19 * wakelock is thinking about powering up his eclair (2.1) device, just to bump up the stats :D May 16 17:59:44 TacticalJoke: is there any reason not to target lower? I cant think of many things i absolutely require for 15+ May 16 17:59:56 except for gridview May 16 18:00:47 ah, ICS May 16 18:00:56 I remember ICS. May 16 18:02:15 i dont rememeber ics being that much different than kitkat May 16 18:02:32 it was the start of holo May 16 18:02:41 now supplanted by material design May 16 18:02:52 wasnt honeycome the start of holo? May 16 18:02:59 just it was tablet only May 16 18:03:10 yeah, ics started holo on the phone side May 16 18:03:54 holo kinda saved android when you think about it. pre-holo design was god awful May 16 18:06:56 yeah May 16 18:07:12 I prefer the Roboto font over Droid Sans May 16 18:14:41 anyone know how to make SlidingPaneLayout, so that even if both panes can fit on the screen at once, the left pane remains closed ? May 16 18:14:53 i looked through the source, holy moly May 16 18:29:16 is this how a ScrollView should be used? I can't really test it right now because I cannot populate my list yet (will it work if I just set the height of my list to something big?) https://gist.github.com/anonymous/cbebced0ac496370139a May 16 18:30:03 Why are you putting a ListView in a ScrollView? ListViews scroll by themselves. May 16 18:30:54 TacticalJoke: ah cool I didn't know May 16 18:32:44 so the ListView will be contained according to the layout_weight no matter what it's contents are, right? May 16 18:33:37 Yeah. May 16 18:33:42 On a side note, XML elements without bodies can be written `` instead of ``. May 16 18:34:10 ah nice May 16 18:34:58 does that apply to XML in general or only here? May 16 18:35:20 All XML. May 16 18:36:54 It's mentioned here: http://www.w3.org/TR/xml/#sec-starttags May 16 18:37:10 The "empty-element tag" stuff. May 16 18:41:25 how long does it take to build the android OS on a i7 linux system? very roughly speaking? May 16 18:42:39 I would like to modify k-9 mail from github. How can I add

Welcome

to every written (html) mail? May 16 18:44:15 boernesky from scratch, maybe days ? May 16 18:46:07 yeah, ok. I'm currently building it in a vbox with 8 cores. it's been hours. May 16 18:46:52 have you ever worked with the OS source, g00s? May 16 18:47:51 boernesky no, just from what i've heard May 16 18:48:03 i don't think my machine could handle it :P May 16 18:48:27 Imagine if Gradle was used to build it. :D May 16 18:48:35 I'm thinking I should install a native linux. May 16 18:48:49 if it's going to take a week to build in a vbox, that would definitely be preferable May 16 18:53:24 Can anyone suggest where AndroidStudio expects to find the SDK tools? May 16 18:54:32 Every time I run AndroidStudio on Debian Jessie, it tries to download SDK tools without asking, but I already have them and don't want to re-download. May 16 18:54:54 ratdeptrai when that big wizard shows up, just close it May 16 18:54:59 say 'don't run again' May 16 18:55:19 then go into Preferences, Project Structure, its in there May 16 18:55:34 g00s: OK, thanks a lot, I'll do that! May 16 18:55:40 both JDK and Gradle dir are both in same place May 16 18:56:29 That wizard really should ask first. Or at least have a 'cancel' button. :-p May 16 18:58:19 In broadcastreciever, i am starting a Toast, but in Handler with some delay.. How can I access context (needed by Toast) in Handler.? May 16 19:00:54 try applicationContext May 16 19:02:58 thepoosh: getApplicationContext() May 16 19:03:01 ? May 16 19:03:08 sounds right May 16 19:07:05 thepoosh: http://dpaste.com/236TQXR May 16 19:07:20 thepoosh: there is no applicationContext available inside runnable May 16 19:08:45 ra21vi: http://dpaste.com/3YVBNAN May 16 19:09:32 thepoosh: oh, if I make it final, it will be available in inner May 16 19:09:44 yeah May 16 19:10:05 thanks thepoosh :) May 16 19:11:18 np May 16 19:12:23 are you member of thepoosh.org :) May 16 19:12:30 :D May 16 19:12:36 no, member of glide.me May 16 19:14:16 Nice app. InStAlLiNg... May 16 19:17:26 Hi all. May 16 19:17:39 I want to put a ListView in a Notification. May 16 19:17:48 To use with SetPendingIntentTemplate. May 16 19:18:00 How do I set an adapter to that ListView? May 16 19:29:35 ive picked a license for my project. si there an easy way to add the license to all my existing files May 16 19:32:49 aaearon i think Intellij has a plugin for that May 16 19:33:01 i thought its even in AS May 16 19:33:20 yeah, the 'Copyright' plugin May 16 19:33:43 sweet thanks May 16 19:36:28 I know about setRemoteAdapter but I don't understand how to pass a list of items through it. Besides, I need that to work on API level >= 11. May 16 19:49:59 Ugh, so many Rust tutorials all of a sudden. May 16 19:50:32 Reminds me of Git. "Wanna learn Git? Check out these 37 articles, 19 books, and 108 blog posts." May 16 19:51:51 everything was working ok last night. Today for some strange reason ( without changing anything ) it gives me a " Maps Android API﹕ Failed to load map. Error contacting Google servers. " May 16 19:56:41 lol, is twitter FakeJakeWharton really JakeWharton with alter ego, or some other person May 16 19:56:53 not me May 16 19:57:14 it's the other him May 16 19:57:31 thats probably annoying May 16 19:57:55 don't follow it, never check ¯\_(ツ)_/¯ May 16 19:57:58 yeah most probably. Noone hates fragments that much :P May 16 19:58:02 i like it's bio though May 16 19:58:06 s/it's/its/ May 16 19:59:47 People are weird. May 16 20:01:13 there's also a fake account for my dog... https://twitter.com/NeedyMoshi May 16 20:01:49 presumably the same person May 16 20:02:03 Hope so. :D May 16 20:02:32 kinda spooky, maybe mental illness :| May 16 20:03:07 TacticalJoke i found this on mvp vs mvvm , was pretty good http://www.albertzuurbier.com/index.php/programming/84-mvc-vs-mvp-vs-mvvm May 16 20:03:13 (To be clear, hope so because otherwise it's even weirder.) May 16 20:03:18 they still seem ... so similar though May 16 20:03:25 Thanks; I'll check it out. May 16 20:04:30 would you say on Android, by default, what happens is MVC where the activity / fragment is the controller ? May 16 20:04:53 maybe supervising controller MVP May 16 20:09:11 how can i apply latest play services without knowing the exact number ? May 16 20:11:11 csst0111 i think you are supposed to check which version is on device, and then ask user to install if not latest May 16 20:11:20 in other words, google wants you to be package manager May 16 20:11:27 :/ May 16 20:11:49 yeah thats noxious lamesauce May 16 20:16:34 Is perhaps setPendingIntentTemplate intended not for notifications but just for widgets? May 16 20:17:31 Hmm, how often is this needed? https://twitter.com/JakeWharton/status/598855350838788096 May 16 20:17:44 I've mentally put it in the "almost never needed" category. May 16 20:17:48 In the past. May 16 20:20:19 Needed? May 16 20:20:40 It's never needed. May 16 20:22:16 I do it always. May 16 20:22:31 ;o May 16 20:31:47 has anyone seen any Google apps use left navigation drawer for lists of things, instead of static navigation targets ? May 16 20:32:10 Youtube comes kinda close, they have a ton of crap crammed in there - including some of my subscriptions May 16 20:32:23 not sure how many subscriptions it will list though May 16 20:34:17 it scrolls if that's what you're asking. May 16 20:34:31 basically i'd like to keep an unbounded list of things in the nav drawer May 16 20:34:50 this goes against guidelines but ... i think it makes sense for me May 16 20:35:05 so just looking for some examples May 16 20:35:46 Mavrik i'd like to keep a list of connectable things in that nav drawer, which are various bluetooth devies and servers. when the user selects one, the main detail / content area acts accordingly May 16 20:36:13 seems reasonable May 16 20:36:24 most users won't have more than few of those, and having 30 is overkill May 16 20:41:05 Mavrik yeah i think it can work. thanks May 16 20:41:38 i like in Google Drive when i have 'Recents' up, i can click on the 'i' button for a doc and it pulls out the rightmost nav drawer with details May 16 20:42:05 i think i can use that too for device settings / details May 16 20:49:02 I tested for-looping over an ArrayList of 1,000,000 elements on my tablet. `i < list.size()` takes 319ms and `i < count` takes 198ms. May 16 20:49:40 That's after warming up (by doing the same tests without measuring first). May 16 20:52:17 TacticalJoke lol May 16 20:52:18 I have to drop to around 1,000 items to not see a difference. May 16 20:52:29 TacticalJoke i propose a competition, you and I - who can get their app in Play first May 16 20:52:33 :D May 16 20:52:53 gradle is so slow with Android Studio (latest), one has to be really determined to learned android development. A bit more, I will run away. Its taking around 6 mins compiling/building/installing in VM on a i5/16G Ram/SSD May 16 20:53:08 In a VM? May 16 20:53:22 Geny May 16 20:53:27 Oh, installing in a VM. Okay. May 16 20:53:28 6 minutes? May 16 20:53:33 yes May 16 20:53:40 there's something really wrong with your system if builds take 6 minutes. May 16 20:53:45 ra21vi i would say it should be under 1 min May 16 20:53:51 which still sucks May 16 20:54:27 I mean... our full test suite + native compilation + gradle takes about 4 mins May 16 20:54:34 including spinning up the emulator May 16 20:54:43 i tried every optimization available.. running gradle daemon, providing more memory.. moved project and android-studio to SSD partition May 16 20:55:08 in my case, emulator is already started.. still 6-7 mins May 16 20:55:19 what task is it choking on ? May 16 20:55:26 Out of curiosity, have you tried deploying to a real device? May 16 20:55:30 how can i find that? May 16 20:55:33 usually for me i see it sit on preDex or dexDebug or something May 16 20:55:55 just look at the gradle console in AS - also benchmark how long things take from CLI May 16 20:56:05 TacticalJoke: compile/build will be around 5-6 mins... and 30 secs on installing in emulatro (Geny or real) May 16 20:58:05 http://dpaste.com/17VCC6M May 16 20:58:49 next time I have money, I will buy supercomputer with Graphics for Android Studio and Gradle based Development ... lOL May 16 20:58:55 ... May 16 20:58:57 ra21vi, you were asked May 16 20:59:06 never May 16 20:59:07 WHICH of those tasks takes long? May 16 20:59:13 not which execute :P May 16 20:59:29 let me check again.. I will be silent for next 5 mins May 16 20:59:30 The problem is that if I set more than two setOnClickPendingIntent, only the last two work. May 16 20:59:37 ra21vi what version of GMS are you using ? May 16 20:59:43 you are dragging in tons of shit May 16 20:59:46 That's why I decided to try with setPendingIntentTemplate. May 16 20:59:57 7.3.0 May 16 21:00:12 ra21vi are you seriously using all those GMS libraries ? May 16 21:00:34 fitness, games, location, panorama, lol May 16 21:00:43 20 things May 16 21:00:53 should I paste my gradle May 16 21:00:55 and are you using multidex ? May 16 21:01:17 I am learnign :( May 16 21:01:51 get rid of the deps you dont need May 16 21:02:05 (5 minutes is still way too long for all that) May 16 21:02:13 (it doesn't even proguard) May 16 21:03:07 does fresco use NDK ? May 16 21:03:54 here is my gradle: http://dpaste.com/04R30AV May 16 21:04:05 fresco ? what is fresco? May 16 21:04:10 i am learning as well as trying different libraries... May 16 21:04:53 Fresco by Facebook, photo view with memory management .. https://github.com/facebook/fresco May 16 21:05:18 on my machine, that would take 5 minutes heh May 16 21:05:19 ahh, because i get hilighted anytime someone says fresco May 16 21:05:39 yes Resco.. u are one character short of fresco May 16 21:07:08 if my other gradle looks fine than dependencies, where I should be selective in GMS.. let me know May 16 21:07:25 I will choose only required outof GMS.. I just need Geo Location Updates May 16 21:07:40 welll. then just put geo then :| May 16 21:08:02 will that bring it to 1 min.. :) let me check.. cannt be May 16 21:08:05 you grabbed the uber-jar May 16 21:09:06 Does anyone use Arch Linux for Android development? May 16 21:09:32 JakeWharton: Do you think a sensible approach would be to worry about this length-caching thing only for looping over more than 1,000 items? May 16 21:09:49 Muchoz: Arch Linux still exists? May 16 21:10:19 ra21vi, why would it not exist anymore? May 16 21:10:33 Muchoz, do you have an actual question_ May 16 21:10:34 ? May 16 21:10:54 Mavrik, I asked whether someone used Arch Linux here... May 16 21:10:59 uses* May 16 21:11:32 Breaking rule #1: http://programmers.stackexchange.com/a/154678/14879 May 16 21:11:52 looks like Arch is still #10 on distrowatch May 16 21:12:09 Mavrik, Rule #2: Behave as you would do in a real life conversation. [23:09:06] Does anyone use Arch Linux for Android development? May 16 21:12:16 TacticalJoke: no May 16 21:12:31 I used it 7-8 yrs ago.. then moved to Ubuntu May 16 21:12:45 Xubuntu core looks neat, might have to try that again May 16 21:12:53 Hmm. Doing it always seems like mild code obfuscation to me. :D May 16 21:13:02 Muchoz, please don't lecture me btw. May 16 21:13:09 Mavrik, lol ^ May 16 21:13:20 hello me, its me again :) May 16 21:13:29 Self-lectures are acceptable. May 16 21:13:38 Muchoz, then do learn to behave please. May 16 21:13:44 How is it obfuscation? If anything it's more clear in its contract on not modifying the collection. May 16 21:14:01 g00s, have it in VMs, hidpi support is non-existant :/ May 16 21:14:22 Which means you're better off using something GTK3 based May 16 21:14:24 Mavrik Xubuntu Core ? its pretty new May 16 21:14:30 Yep. May 16 21:14:36 Looks terrible on 4K / other retina displays May 16 21:14:45 oh i thought xfce used gtk3 ? May 16 21:15:12 Hmm, it doesn't listen to scale-factor setting May 16 21:15:18 So I guess not. May 16 21:15:24 Mavrik, why are you attacking me? I asked an actual question which whether people were developing Android using Arch Linux. I might should've specified that I wanted to know whether everything works fine on it. But please don't be a dick and have some respect. May 16 21:15:30 :/ yeah, screw linux on desktop :P May 16 21:15:42 g00s, on the other hand, eOS works rather well May 16 21:15:48 heard GNOME3 is also nice on new displays May 16 21:15:49 for play-services-location, do I have to add play-services-base too? May 16 21:15:58 ra21vi, it'll be added automatically IIRC May 16 21:16:28 oh May 16 21:17:37 Hmm, it looks like we don't have to worry about disclarity here with Kotlin: https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/util/Integers.kt#L6 May 16 21:17:53 Can anyone recommend a good book for building a new Android ROM? I’m looking for a resource tuned towards advanced android developers interested in hacking on the core platform May 16 21:17:53 Wait, no. That wouldn't work. May 16 21:18:46 Can anyone help me with changing my app's theme dynamically? May 16 21:19:18 Mavrik: oh, it worked fine.. I added just location, and built successphully May 16 21:20:05 Mavrik: project built in 7 secs May 16 21:21:07 g00s: I removed play-services:7.3.0 and just added locations and plus (which I needed).. and buidl time came down from 6 mins to 7 secs May 16 21:22:03 Vxrl: Given how hard it is to predict the future, answering that question is a losing proposition for pretty much anyone. May 16 21:22:51 TacticalJoke: whenever I use setTheme to change the theme from something other than the default, only the text color changes May 16 21:23:01 Not the background or the action bar May 16 21:23:39 What does Activity.setTheme does? May 16 21:23:52 Are you calling Activity.recreate? May 16 21:24:12 ra21vi wow May 16 21:24:17 No May 16 21:24:39 yeah, need to call activity.recreate May 16 21:25:15 and if you are using appcompat, i think you have to call settheme before super.onCreate() May 16 21:26:19 I love this in Kotlin: 1000000.times { doSomething(); } May 16 21:26:44 That's just `inline fun Int.times(body: () -> Unit) { ... }`. May 16 21:27:00 g00s: adding recreate() just makes my app freeze May 16 21:27:07 Is it recreating in a loop? :D May 16 21:27:21 I also moved it before super.onCreate May 16 21:28:22 I just removed recreate and it is working fine now May 16 21:28:23 thanks May 16 21:28:38 Can kotlin be used for android development? May 16 21:28:42 Yeah. May 16 21:28:48 and benefit? May 16 21:29:06 better java May 16 21:29:20 i thought i was like Javascript for JVM May 16 21:29:22 Clear benefits. May 16 21:29:24 No. May 16 21:29:58 at the end, it must be generating java class.. right? May 16 21:30:00 It's a Java-language replacement. Like Java, it compiles down to JVM bytecode. May 16 21:30:04 No, not Java code. May 16 21:30:13 interesting "As part of our findings, we report that the Android API has many undocumented and non-trivial usage patterns" May 16 21:30:17 https://peerj.com/preprints/1075/ May 16 21:31:12 I need 3 emulators open and it's taking like 3gb of ram lmao May 16 21:31:15 Since I am new to Android, should I early adopt Kotlin.. I am alone in my own app development (server side as well as android app).. will Kotlin be productive for me? May 16 21:31:23 i knew splurging for 16 gb was worth it! May 16 21:31:45 ra21vi: Hmm, Kotlin isn't 1.0 yet. I'm hesitant to switch to it right now. May 16 21:31:54 And if you're new to Java/JVM then it's probably easier to start with Java. May 16 21:31:55 ra21vi: if your brand new i think sticking with plain old java would be your best bet. it will allow you to get the most help and support May 16 21:32:45 i wish i could see the benifit to other jvm langauges but right now i just don't really see it May 16 21:32:59 There are so many, DadFoundMy, that it's hard to summarise. May 16 21:33:17 TacticalJoke: DadFoundMy : good advice :) .. I know Java, Spring / Python / Javascript .. May 16 21:33:25 DadFoundMy: This is a good summary, though: https://docs.google.com/document/d/1ReS3ep-hjxWA8kZi0YqDbEhCqTt29hG8P44aA9W0DM8/ May 16 21:33:40 TacticalJoke: ive been researching it but all i see are some slight benifits but sooo many downsides May 16 21:33:45 thanks ill read that May 16 21:33:48 TacticalJoke i remain skeptical too. in the micro, sure. but if i have to create a complicated listadapter to put a few things in a nav drawer with dividers, you know - typical android shlepp - how will it help May 16 21:34:09 the apis are braindead java flavored crap May 16 21:34:38 i think my model code would be much better with kotlin, so i guess i could look into that May 16 21:34:51 but the shit that touches android apis ... May 16 21:35:05 still an improvement no matter what May 16 21:36:11 yep, with all those sweet sweet IDE crashes and library model translation issues :) May 16 21:36:18 the interoperability is actually pretty interesting to me May 16 21:36:23 eg, everything I have in Scala is 10x denser than java May 16 21:36:29 g00s: I wonder whether you'd get a significant performance win with Kotlin's inline functions: http://kotlinlang.org/docs/reference/inline-functions.html May 16 21:36:40 TacticalJoke maybe in something like mvvm; kotlin for viewmodel and model May 16 21:36:48 (After what you were saying about worrying about closures being passed to RxJava stuff.) May 16 21:37:25 ra21vi, like it says there, kotlin is meant to be used ON TOP of java, so clearly you should get proficient with java first May 16 21:38:54 wakelock: ok.. May 16 21:39:25 One thing I miss in scala, cannt live without it.. 'return' May 16 21:39:50 Scala is tailor built to create unmaintainable code anyway :) May 16 21:40:07 * g00s grabs popcorn May 16 21:40:46 * wakelock grabs g00s May 16 21:40:47 The solution is obviously C++. May 16 21:40:48 oops May 16 21:41:07 * capella glads his nick isnt popcorn May 16 21:41:26 did i miss anything? May 16 21:42:08 do I have to do something to show Toast in service (Background).. there is no activity. service is started by Boot_complete broadcast reciever... May 16 21:43:44 simple Toast in background service do not show up May 16 21:43:45 I thought the solution was a GUI written in VB. May 16 21:43:59 Android Platform in VB? May 16 21:44:04 TacticalJoke written by a business guy :) May 16 21:44:17 First pay Oracle and then Microsopht May 16 21:44:31 love it when the business guy is like, look at my creation ! ( some VB mess ) May 16 21:44:36 Delphi? May 16 21:44:48 guys dont forget ASM May 16 21:44:51 ra21vi, did you google this already? May 16 21:44:59 wakelock: yes May 16 21:45:11 i/o is going to have what new in Android Tools, that is either going to be very exciting - or very boring May 16 21:45:28 ra21vi, doubt it May 16 21:45:30 i want to writing android apps in swing :D May 16 21:46:29 g00s, maybe AS will be rewritten to Qt or something t May 16 21:46:32 wakelock: do you have TeamViewer..i will show u.. reading SO Question 21515917 May 16 21:47:02 Mavrik Atom plugin :P May 16 21:47:14 you're reading the wrong thing ra21vi, that is about IntentService May 16 21:47:24 "You will now write all Android apps in javascript being run in Rhino on JVM" May 16 21:47:30 also, do you normally offer teamviewer access to just about anyone? seems like a bad idea, lol May 16 21:47:37 "Also IDE will be a HTML5 app" May 16 21:47:52 which will then be converted to Dart and C++ May 16 21:47:58 ra21vi, either way, services aren't meant to interact with the UI May 16 21:49:22 wakelock: so it wont be possible.. That means I haveto signal the current active activity to handle event and show Toast May 16 21:49:48 ... the "current active activity" might not even be your own activity... May 16 21:50:17 could be a whole entire different app May 16 21:50:24 yup May 16 21:50:34 so how do you intend to do this? May 16 21:51:48 me, I would probably just make a small unlisted transparent activity that's job would only be to show the toast May 16 21:51:58 wakelock: no sir, I dont know :P Still googling May 16 21:52:05 Okay, this seems to solve the cache-length-in-for-loop thing in Kotlin: May 16 21:52:06 http://pastebin.com/cR9rTLuX May 16 21:52:46 wakelock: I was thinking to bind greenrobot event in activity, and post events from service May 16 21:53:05 I am trying to check if my background service is running or not May 16 21:53:16 Dammit. Indentation fail again. May 16 21:53:33 I blame try.kotlinlang.org and pastebin.com. May 16 21:53:37 so I was trying a quick Toast.. that Toast thing got another issue... it cannt be shown from Service.. One problem leading to other May 16 21:53:42 The former uses tabs; the latter converts tabs to eight spaces. May 16 21:53:43 so I am still googling May 16 21:53:59 wakelock: ^ May 16 21:55:22 Man, the speed difference in that Kotlin code between using `inline` and not is pretty big. May 16 21:55:53 Even on the JVM. May 16 21:58:26 ra21vi, return is bad May 16 21:58:40 ra21vi, you should not rely on early return May 16 22:02:24 if you can't live without return, you're doing it wrong May 16 22:05:08 pfn: is it in context of Scala? May 16 22:07:08 yes May 16 22:10:08 oh oh http://www.reddit.com/r/androiddev/comments/367flv/is_anybody_seeing/ May 16 22:12:34 Good ol' Samsung. May 16 22:19:12 I was thinking: Kotlin's inline functions could be great for people (such as me) who extract functions à la Bob Martin. May 16 22:20:29 Android doesn't seem amazingly fast at method calls, from what I've seen. May 16 22:21:31 android: mediocrity at all levels, requiring you to work hard achieving more than mediocrity ;) May 16 22:21:58 I wish the JITter inlined more stuff. I also wish the GC was happier with loads of little objects. May 16 22:30:00 There's even a non-trivial difference between using List.size and ArrayList.size in the big loop. Jeez. May 16 22:40:00 TacticalJoke: Don't read too much in microbenchmarks May 16 22:42:24 Yeah, I guess it's easy to get carried away. May 16 22:43:00 For the kinds of numbers I'm dealing with in my app (usually hundreds at most), there's no perceptible difference. May 16 23:00:11 i am not able to debug Services.. in Android Studio May 16 23:01:29 is Service not debuggable directly in Studio May 16 23:02:37 It's debuggable, but it must be running May 16 23:02:54 otherwise, I think you can tell it to stop and wait for the debugger when it starts but I forgot the details May 16 23:03:26 Worse come to worse, ask it to sleep when it starts and attach the debugger to your app then May 16 23:03:56 cant you just set a breakpoint in the service ? May 16 23:04:05 But you shouldn't have to do that, if your app runs, AS can break into the service May 16 23:04:43 i never try; its logs & rubber ducky ftw May 16 23:07:49 dragorn http://arstechnica.com/security/2015/05/fbi-researcher-admitted-to-hacking-plane-in-flight-causing-it-to-climb/ May 16 23:08:12 'PASS OXYGEN ON' Anyone ? :)" lol May 16 23:15:49 :( that feeling when you finally find the question bugging you on SO, but its closed by mods for some readon May 16 23:16:14 Closed as non-constructive. May 16 23:16:43 s/non-/not / May 16 23:18:35 yeah May 16 23:19:28 https://imgs.xkcd.com/comics/wisdom_of_the_ancients.png May 16 23:20:00 haha, yeah May 16 23:20:08 "what did you see!" May 16 23:21:57 CedricBeust , g00s : I did put debugger, and in my app, started the service.. but its not reachign that breakpoint May 16 23:22:21 When you put the breakpoint, does it get a checkmark? May 16 23:25:06 no May 16 23:25:28 thought it was a little red circle May 16 23:26:49 I have breakpoint in App class (extending application), where debugger really pauses. But once I start the service in app, debugger not getting stuck there inside service breakpoints May 16 23:27:51 The red circle shows the breakpoint, the checkmark on it shows it's active May 16 23:28:11 Put the breakpoint, start your app, the checkmark should appear May 16 23:28:29 ok after restarting the app again, I can see checkmark inside breakpoint.. still not stucking inside services May 16 23:28:51 That means, service is not starting.. can it be May 16 23:34:52 Put a Log and find out May 16 23:35:07 I do this all the time, e.g. GCM intent service to test notifications May 16 23:37:14 I wonder how widely used Rust will be. May 16 23:37:23 Feels like it deserves to take the crown from C++. May 16 23:37:32 (The "everyone uses it" crown.) May 16 23:43:25 So I found error in log while starting a service from inside application class. May 16 23:44:01 ActivityManager. Unable to start service Intent { cmp=com.testapp/.services.LocationMonitoringService } U=0: not found May 17 00:00:42 capella yey https://developer.mozilla.org/en-US/Firefox/Multiprocess_Firefox May 17 00:01:22 capella so if its in nightly, does that mean its in 39 ? May 17 00:01:22 oh service declaration was missingin my manifest. so service never started May 17 00:11:22 g00s: finally I'll be able just kill the tab that eats my CPU May 17 00:11:51 icedp i don't think its cpu per tab May 17 00:12:14 g00s: in next version: "In future iterations, we expect every browser tab to run in its own process." May 17 00:12:43 hm, well hope it doesn't turn out to be mem hog like chrome May 17 00:17:49 g00s: yah - been moving in that direction for awhile now - under settings/preferences/general tab you'll see toggle for multi-process May 17 00:18:01 (Used to be called e10s) May 17 00:19:11 capella so will this be in 39 ? May 17 00:21:05 mmm .. I'd have to check the notes also ... no involved in that project May 17 00:24:21 I work with the mobile side ... desktop is off to the other direction :) May 17 00:26:24 bah ... I can't bring myself to buy a 6" "phone" May 17 01:14:22 how do people deal with all the exceptions httpurlconnection throws when using http return codes as part of your auth system? May 17 01:46:48 httpurlconnection? Haven't dealt with such a low level class in a while :) May 17 02:03:32 frustrating quake.. May 17 02:04:44 why isn't this working? http://pastebin.com/Ue0iyaeQ May 17 02:05:55 huh, multiple super.onDraw() calls ? May 17 02:06:43 well, I want the stroke effect to appear on the TextView May 17 02:22:11 That moment when map and flatmap seem to be doing the same thing May 17 02:22:28 trying to understand the difference :P May 17 02:25:29 too bad its gone http://flatmapthatshit.com/ May 17 02:26:20 :( May 17 02:27:15 so complicated zzz May 17 02:28:20 so onPredraw(); draw() { onDraw(); }? May 17 02:30:13 yiati: map is just turning a collection of type T into a collection of type U May 17 02:30:34 flatMap turns an element of type F[F_]] into F[_] May 17 02:30:40 (sorry that's flatten) May 17 02:30:59 flatMap is the combination of map and flatten May 17 02:31:19 * yiati checks documentation and marbles for flatten now May 17 02:31:59 flatten = merge? May 17 02:32:12 s/=/==/ May 17 02:42:22 hi guys May 17 02:42:37 anyone use visual studio to dev android app? May 17 02:42:50 Anyone here rooted a Galaxy Tab S 10.5? May 17 02:44:02 AnonymousCelt: Root/custom ROMs, head to #android-root May 17 02:45:05 Android Studio > Visual Studio :P May 17 02:45:27 ??? May 17 02:45:40 sorry, I haven't, was just kidding with that May 17 02:46:02 ok yiaki, just asking round as that channel is dead May 17 02:47:07 AnonymousCelt: I'm sure you can get help on XDA http://forum.xda-developers.com/galaxy-tab-s May 17 02:59:16 In Dagger 2, what does the `includes` do when I use it like `@Module(includes=ApiModule.class) public final class DebugApiModule {}`? **** ENDING LOGGING AT Sun May 17 02:59:58 2015