**** BEGIN LOGGING AT Tue May 24 02:59:58 2016 May 24 03:00:33 i swear samsung is going to be the death of me May 24 03:00:34 or my app May 24 03:00:36 or both May 24 03:02:44 <_xor> Is there any other benefit than simplicity in using a ResultReceiver over a BroadcastReceiver? May 24 03:03:13 no one uses result receiver May 24 03:03:28 lol May 24 03:03:37 <_xor> Newbie here, and I figured out BroadcastReceivers today. Have it implemented and working fine. I'm learning about ResultReceiver right now, and it's simpler and would also work for my use-case here, but doesn't seem to have any other benefit to it. May 24 03:03:38 <_xor> Ah ok. May 24 03:04:50 <_xor> Also seems like if I want to update the app in the future to send messages to other apps, then using a BroadcastReceiver seems better since it can be modified & built on top of. May 24 03:05:04 <_xor> ResultReceiver would have to be remade completely it seems? May 24 03:05:40 Yes, but think of how likely it would be that you'd ever do that before letting that drive a decision. How often do you ever see apps integrating like that that aren't social media apps for 'sharing' May 24 03:06:51 <_xor> That's true. I wouldn't expect it either. BroadcastReceiver just seems more flexible in general though. May 24 03:20:13 are recyclerviews notably less performant than listviews? May 24 03:20:40 i recently switched my apps two main views from listviews to recyclerviews, and the load times have blown the hell up, despite me also moving to rxjava and moving off the main thread May 24 03:23:06 b1ackcat: probably the same ? May 24 03:23:30 did you set fixedSize to true ? May 24 03:23:34 yep May 24 03:23:47 so dont know :) May 24 03:24:00 I use it, doesnt notice any performance issues May 24 03:24:17 haha me either. but i'm getting quite a few users who suddenly have showstopping performance issues who never made a peep prior to the update May 24 03:24:29 android 2? :D May 24 03:24:44 so i must be doing something funky. the record counts aren't THAT big either. in my 'load' test I import a dataset of 3000 records, but it just makes the app CRAWL May 24 03:24:52 samsung, so same thing basically :P May 24 03:25:30 well, debug with android debug thing May 24 03:25:42 ah right, the profiler. I keep forgetting that's a thing :S May 24 03:25:45 tgabjs May 24 03:25:47 thanks even May 24 03:26:02 or at least check if you're dropping frames May 24 03:26:10 ok, busy today as hell, later -> May 24 03:26:13 oh i'm most certainly doing that May 24 03:26:16 kk May 24 03:26:17 traceview is easy to use, use it May 24 03:26:43 pop up device monitor, run traceview in sampling mode, do your slow thing, stop it and review where all your time is going May 24 03:35:50 is it a good idea to create a handlethread for managing sharedprefs of the app...I was using synchronized methods to manage shared prefs between activity and service threads, but it seems like a bad idea to synchronize calls in the ui thread...sugesstions welcome May 24 03:36:14 *handlerthread May 24 03:41:02 hckrtst that should be thread safe anyhow May 24 03:41:21 well, you could just look at SharedPreferencesImpl ... but yeah, with the exception of the editor May 24 03:41:34 (i wouldn't access the editor from multiple threads) May 24 03:42:23 g00s, yes you're right and i might be overengineering here but since synchronize is a monitor I'm wondering if it migh be worth just posting to a dedicated thread for accessing shared prefs May 24 03:43:24 only time i'd go out of my way to read prefs on another thread, is if your app startup time is too long May 24 03:43:50 Just don't access anything from the UI unless you need to modify the UI May 24 03:43:51 maybe some activity reads prefs and the first read will be a penalty as the xml is parsed May 24 03:43:57 (from the UI thread*) May 24 03:44:21 g00s, gotcha...it looks like SharedPreferencesImpl already has some synchronization! May 24 03:44:32 Yes, and caching too. Don't add your own caching to it May 24 03:44:33 hckrtst yes, and it also blocks the UI thread too May 24 03:44:46 whether you do it on another thread or not May 24 03:46:19 hckrtst to clarify, your activity onStop will block until all shared prefs write hit the disk May 24 03:46:34 AHA! Victory is mine you stubborn underperforming wench of a recyclerview! May 24 03:46:39 onResume pre honeycomb May 24 03:46:47 b1ackcat lol May 24 03:47:04 g00s CedricBeust thanks! May 24 03:47:26 that's what I get for trying to be fancy. I was setting my adapters dataset but rather than just setting the list and calling dataset changed, I was tracking each individual change from the previous dataset and calling itemadded, moved, removed, etc for each one. with 3000 records that ends up taking about 90 seconds May 24 03:47:34 now I'm back down to <1 May 24 03:47:57 I'll grok around in SharedPreferencesImpl a bit more later....+1 for opensource May 24 03:49:15 g00s, just out of curiosity where did you find that onStop blocks May 24 03:50:28 hckrtst https://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/ActivityThread.java#L3541 May 24 03:51:09 SharedPreferencesImpl adds a CountDownLatch for each write into the global state 'QueuedWork' May 24 03:51:43 waitToFinish() iterates over those and blocks until each latch is released May 24 03:55:22 wish there was some standard @dimen in design lib for recommended nav drawer width May 24 03:55:46 Which Nexus is good for development 5x or 6P ? May 24 03:55:48 i think its 280dp for some size and 320 for others, ugh May 24 04:00:17 LoginActivity template with API v23; enter no password; does it crash for you too? May 24 04:01:42 AlecTaylor probably not many here that have used it May 24 04:02:10 g00s: Create new project -> LoginActivity template -> compile&run May 24 04:02:12 ;) May 24 04:02:43 * g00s too lazy May 24 04:03:32 that will take 10 minutes on my machine :( May 24 04:06:42 g00s: wooden pc May 24 04:06:50 t2mkn: I like 6p better May 24 04:07:16 gordon_: So is that your way of signifying that you're volunteering to try it out? May 24 04:07:17 :P May 24 04:07:35 no May 24 04:07:50 gordon_ 's will take 20 minutes :D May 24 04:08:07 it's apple pc, so I'm shocked it's even working May 24 04:09:54 gordon_: thnks for openioun. Any specific reasun why 6P over 5X? May 24 04:10:05 gordon_ 6P is more expensive May 24 04:10:15 so that means its better :D May 24 04:10:17 it's faster, and I like how it feels in hand May 24 04:10:30 and has 3gb of ram, not 2 May 24 04:10:40 5X i guess had some performance issues, maybe they got worked out ? May 24 04:10:53 my wife's 5x still has camera issues May 24 04:10:59 maybe I should give it on warranty May 24 04:11:14 company's 5x works well May 24 04:11:22 also 6P has bigger screen May 24 04:11:45 well... I like 5x more if I ride on bike :P May 24 04:12:22 i need mostly for development and testing May 24 04:12:31 so 6P should be prefered? May 24 04:14:35 get 6o May 24 04:14:37 6p May 24 04:14:43 wont get disappointed May 24 04:15:04 cool May 24 04:15:56 i'd just get a moto E May 24 04:15:58 lol May 24 04:16:16 oh wait, i guess things have changed with moto - scratch that May 24 04:16:21 err lenovo May 24 04:16:24 lol 4.4.4 ? really ? May 24 04:16:38 gordon_ guaranteed one update :D May 24 04:16:41 to something May 24 04:16:43 at sometime :D May 24 04:17:07 i'd *really* like google to sell devs Android One phones May 24 04:17:17 oh yeah, another thing Sundar didn't mention this year May 24 04:17:39 holy shit, this I/O was like the year of things we will not discuss, which we previously discussed May 24 04:17:47 like what the hell is going on with brillo and weave ? May 24 04:18:13 i'm sure next year, nobody will remember google home either May 24 04:18:56 and allo + duo :> May 24 04:19:18 google should put their assistant on IRC May 24 04:19:25 we could ask it android questions May 24 04:20:01 they dont have time for that May 24 04:20:28 it's like jill, which should support java8 but doesnt May 24 04:20:55 ok, whatever May 24 04:21:01 lol May 24 04:21:03 going back to work May 24 04:35:08 hi there, am I missing something or docs doesn't explain how to set a menu for an activity? https://developer.android.com/training/appbar/actions.html#handle-actions May 24 04:36:54 <_xor> Is IntentService instanciated once or can it be destroyed & re-instanciated? I'm writing one to handle network I/O in the background & want to know if I should make the properties static or not. May 24 04:37:27 _xor: never use static vars May 24 04:37:30 <_xor> The property that I'm specifically thinking about is a socket that I want to create, connect, & hold on to at app start. May 24 04:37:46 don't use a static var for that May 24 04:37:54 <_xor> I'm with you, I don't want to use static. May 24 04:37:57 <_xor> What do you suggest? May 24 04:38:02 an instance var May 24 04:38:15 why make it static? May 24 04:38:28 <_xor> I don't want it to be GC'ed. May 24 04:38:34 there will only ever be one instance of any given Service, anyway May 24 04:38:44 <_xor> Ok cool, that's what I was wondering. May 24 04:38:51 but like... May 24 04:39:02 what is this thing you want to shove in a static var May 24 04:39:09 and why should it live after the service dies? May 24 04:39:30 I'd suggest an instance var for it and a non-intentservice service May 24 04:39:49 that way, the service lives and keeps the thing you don't wanna GC May 24 04:41:23 <_xor> I don't want to use a static var. I don't like them. May 24 04:41:36 <_xor> I was just wondering about the lifecycle of IntentService (looked it up on doc ref too just now). May 24 04:42:02 <_xor> I just need a socket connection to my server & it needs to remain connected & ready for the life of the app/service. May 24 04:42:09 <_xor> I'll deal with starting and stopping the service. May 24 04:42:18 <_xor> Not using a static var, already made it instance. May 24 04:42:40 _xor: tried using a bound service? May 24 04:43:04 you can grab the instance var from the active Service instance through the binder May 24 04:43:28 just make sure to start the service if you want it to survive after it's been unbound May 24 04:44:52 <_xor> Nah, haven't looked into it. Still pretty noobish when it comes to Android. May 24 04:51:12 is it expected that the code in the first code snippet and the second code snippet should be in separate .java files? https://developer.android.com/training/camera/cameradirect.html#camera-preview May 24 04:51:24 & https://developer.android.com/training/camera/cameradirect.html#TaskOpenCamera May 24 04:51:43 (though I pasted the links in backwards order, sorry) May 24 05:01:28 raj, it looks like Preview needs to extend ViewGroup so it would need to be a separate class...what's the issue with adding a new java file May 24 05:02:23 hckrtst, no issue, just wondering because the tutorial wasn't explicit about that May 24 05:02:49 hckrtst, also the page mentions `mCamera` everywhere, but never shows its initial definition May 24 05:03:12 so also unsure how to deal with that May 24 05:03:50 in fact, same with `mPreview` for that matter May 24 05:11:11 ctrl + f "mCamera =" May 24 05:11:14 found something May 24 05:11:15 * rager walks away May 24 05:15:21 raj: if you're still learning to program, I'd suggest either react native or not-android-at-all for your first project May 24 05:16:12 <_xor> What's the easiest way to popup a dialog & grab a string from the user? That is, what class should I look up? May 24 05:16:55 http://stackoverflow.com/questions/10903754/input-text-dialog-android May 24 05:17:30 the google query: "android dialog user input" May 24 05:22:06 rager, I'm new to Java and Android, but not programming. I was a bit confused because public/private was missing from `mCamera = Camera.open(id);`, but I see now that it just means it's visible to the package May 24 05:23:25 "Microsoft Urged to Open Source Classic Visual Basic" May 24 05:23:47 well, if oracle vs google goes south, we could have plan b ! May 24 05:24:39 lol May 24 05:26:14 you mean plan VB? May 24 05:32:48 Dim mActivity as Activity May 24 05:38:58 we need moar May 24 05:39:39 has anyone successfully mocked location data on emulator for a service that uses fusedlocationproviderapi? last time I tried I kept getting location null even after setting the mock location May 24 05:39:53 works like a charm on my nexus May 24 05:40:49 the maps app on emulator seems happy with the mocked location however May 24 05:41:18 but i don;t think it uses the google play api's...does it? May 24 05:49:43 is the source code for https://developer.android.com/training/camera/cameradirect.html available anywhere? May 24 05:49:51 I mean for the example project they describe May 24 05:58:55 is it me, or AS sometimes cache classes and doesnt 'get' my changes ? May 24 05:59:36 https://play.google.com/store/apps/details?id=org.jwz.xscreensaver May 24 05:59:46 XScreenSaver Android beta released May 24 06:00:09 this is what I need May 24 06:00:14 nezt - ascii aquarium May 24 06:00:17 *next May 24 06:00:38 well.. that might be good live wallpaper May 24 06:01:14 damn it's already in play store May 24 06:02:52 downloaded and set May 24 06:04:52 hello guys May 24 06:05:52 your_mirror: hi May 24 06:13:50 ... apparently XScreenSaver contains OpenGL implemented in OpenGLES ... May 24 06:21:44 p_l, not only OpenGL to OpenGLES, but XLib to OpenGL to OpenGLES May 24 06:22:10 If any of the screensavers are not smooth but jerky, there are ways to ameliorate that May 24 06:35:10 hi folks, need help sending IOCTL from android app May 24 06:35:32 I have implemented JNI code for sending IOCTL from app to SD device node May 24 06:35:43 but I see a return value of -1 May 24 06:52:35 folks any help May 24 07:08:42 When managing apps on play i can see which devices are supported and which aren't by a particular apk version - but how do I find out why a certain device is not supported ? May 24 07:12:40 Unless the dev responds you dont May 24 07:13:26 Unless its open source, then anyone can find it May 24 07:15:33 am loading bitmaps that are part of the UI, but its an intensive operation, is there any point into making this a background task May 24 07:15:58 since its required as part of the UI May 24 07:18:33 ghosalmartin: there is a nice tutorial about this in d.android.com/training May 24 07:18:39 search for BitmapWorker May 24 07:19:19 thepoosh: i saw the tutorial, but my point is will there actually be any performance improvement since the bitmap am loading is part of the UI, so it has to be there at a specific time May 24 07:23:41 yes, you only set an already decoded bitmap to UI May 24 07:23:50 the decoding stuff is usually long May 24 07:28:04 right I'll give it a shot, hopefully this coupled with some caching can improve performance, coupled in with opengl shaders and a parallax effect what can go wrong right :P May 24 07:35:27 10 thousand things May 24 07:36:25 indeed but can ya do May 24 07:58:58 hey y'all May 24 07:59:47 folks, what is the proper syntax of loading images with picasso by String[] of urls()addresses ? May 24 08:00:06 i am trying to that in onBindViewHolder May 24 08:00:21 what got to is this ; Picasso.with(this).load(String.valueOf(mImages)).into(holder.picture[position]); May 24 08:00:28 htat's it May 24 08:00:29 that's* May 24 08:00:34 but i got all type of errors in it ... May 24 08:00:44 oh, mImages :P May 24 08:00:49 for example, a redline under (this) May 24 08:00:53 you just want to feed it a whole array? May 24 08:01:07 solving this will teach you like 3 things May 24 08:01:09 go try May 24 08:01:21 can anyone help me with the alarmmanager? it doesnt fire my intent for some reason May 24 08:01:30 where do you call that? probably not in activity/fragment.. May 24 08:01:49 well, i have an array mImages () contains, 3 addresses [addresses1, addresses2, address3] and i want to load each image with picasso May 24 08:02:08 solve the this issue first May 24 08:02:10 cause that's unrelate May 24 08:02:12 +d May 24 08:02:24 solve which issues first ? May 24 08:02:29 *this* May 24 08:02:54 or that May 24 08:02:55 ok. am on it, well, does the fact that i am trying to do this in a cardView changes anything ? May 24 08:03:03 see what with() takes May 24 08:03:03 eeyup May 24 08:03:06 and see what you're giving it May 24 08:03:12 Nick-S_: be more specific May 24 08:03:27 it seems to get stuck May 24 08:03:36 to not fire at the desired time May 24 08:04:02 i suspect it might have to do something with the flags passed to the PendingIntent.getBroadcast but i actually set no flags May 24 08:08:17 code snippset? May 24 08:13:42 https://gist.github.com/leviyehonatan/167db319efd56bb65b2c02c95d0d45cf May 24 08:23:31 I have a background image with a textview on top that has a dark transparent background to make the text more visible but I want to apply a blur also to the image but only to the part under the dark background of the text. How can I do this? May 24 08:25:05 Ashiren: did you like it? May 24 08:36:42 Nick-S_: ahh sorry didnt look yet May 24 08:38:21 sounds fine to me. whats notification.active_after? number of seconds to trigger? May 24 08:43:04 anyone using Google Cloud Test Lab yet? May 24 08:56:14 how to importing contact phone number with its type May 24 08:57:22 Ashiren: : yup May 24 08:57:26 but its not firing?!!!!! May 24 08:57:48 how to import contact phone number with its type May 24 08:57:49 i use one intent for all messages in my app and i differ then with an extra to be more specific May 24 09:02:30 is there a way to check if the alarm manager has registered my request? May 24 09:47:26 how to importing contact phone number with its type May 24 09:59:31 I find different answers to this question everywhere I look, so... my back button handling takes the user to the previous screen as normal, but eventually they'll end up at the last activity where I was wondering if it's "OK" to have the back button quit the application? Or put it on "Pause" ? May 24 10:02:45 why not allow Android's default behavior ? May 24 10:03:00 (which is more or less to quit the application in this case)_ May 24 10:04:59 Chainfire: well for some reason my activity flow isn't working as expected, if the user back clicks on what should be the final activity, they get to my LoadingActivity instead, which then takes them straight back to the activity they came from. May 24 10:05:50 Bernzel_: are you calling finish() on your exiting back? May 24 10:06:29 Bernzel_ is your LoadingActivity a splash screen? Try adding android:noHistory="true" to the manifest for that activity May 24 10:06:37 shmoooz: no! I just read about that actually, not quite sure how it works since I'm still reading about it. Should it be called after starting a new activity ALWAYS? I May 24 10:06:58 Chainfire: nope, a regular activity that just "acts" as a splashscreen May 24 10:07:20 Bernzel_: call it when you want the activity to stop May 24 10:07:23 a splash screen IS a regular activity that "acts" as a splash screen May 24 10:08:25 you may ALSO try to call finish() in LoadingActivity when it launches your main activity May 24 10:09:17 Chainfire: Okey, well I'm not calling that in the manifest atleast. shmoooz so if calling finish() on my LoadingActivity , it wouldn't be possible to get to it again by using back button? May 24 10:10:33 Bernzel_: call finish() in onBackPressed(), after you have exhausted the backstack within the activity, the last back should exit the app May 24 10:10:48 Ok great, thanks May 24 10:14:30 howdy May 24 10:14:31 shmoooz: it worked great. I just found another issue though, when I back press so the app get's in the background and I start it again, it starts from the MainActivity again, and not the activity it was exited from. Is this something I can control? May 24 10:15:09 How can I tell the WifiManager to reconnect to wherever the user would usually connect? May 24 10:16:12 I'm using Android Studio. I work on a project and there are a bunch of libraries in the folder MyProject/.idea/libraries/. How can I exclude some of them? May 24 10:16:16 Bernzel_: yeah that's normal for it to start from the start after exiting with finish(), you'd have to state somehow May 24 10:16:42 Bernzel_: you would have to *save the state May 24 10:17:07 shmoooz: hm okey thanks, I'll look into that. May 24 10:18:34 Should I manually edit app.iml ? May 24 10:36:46 my phone is working but it keep doing the error vibration again and again. could somebody log at the logcat and tell me whats wrong? http://pastebin.com/raw/A5GvvBfe May 24 10:42:29 maybe this is a better logcat paste http://pastebin.com/raw/fqi586H6 May 24 11:01:34 hello I am not able to understand why butterknife giving me Error:Gradle: Execution failed for task ':app:compileWholesaleDebugJava'. > java.lang.IllegalArgumentException: couldn't make a guess for com.sme.Activity.fragment.AccountStatementFragment May 24 11:02:01 I applied all readme rules but still getting this issue May 24 11:02:25 I am using 'com.jakewharton:butterknife:8.0.1' May 24 11:03:19 what does that fragment look like? May 24 11:13:10 min2: is it inside ?android library ? May 24 11:20:20 no May 24 11:20:43 gordon: I am using butterknife inside fragment May 24 11:20:56 just for binding views May 24 11:24:01 gordon my gradle something like this http://pastebin.com/ah5fRH0R May 24 11:32:40 hello everyone May 24 11:32:44 I am trying to upgrade my android studio May 24 11:32:48 but for some reason after I click on the update and restart button the android studio shuts down and does not restart at all May 24 11:32:56 so when I try to restart it, it keeps on saying update available May 24 11:33:14 is this turtorial outdated? May 24 11:33:15 http://www.wikihow.com/Execute-HTTP-POST-Requests-in-Android May 24 11:33:19 and I am send again with the gui that says update and restart and the whole thing comes fully cycle again May 24 11:33:29 it wont allow me to do this URL url = new URL(“http://exampleurl.com/”); May 24 11:33:42 (“http://exampleurl.com/”); gives errors May 24 11:35:10 ok found url on domcunets May 24 11:37:56 but duno how to use whit no file parimeter May 24 11:38:46 URL url = new URL("http","192.168.4.1","/"); May 24 11:38:54 URL url = new URL("http","192.168.4.1"); i just want this May 24 11:39:29 hello anyone can help me with my issue on android studio May 24 11:41:37 i probbaly cant i bigest nobe here May 24 11:43:56 Gnjurac: those two lines are the same May 24 11:44:02 Gnjurac: just use "/" May 24 11:44:13 i get error whit that thoo May 24 11:44:23 Gnjurac: what error? May 24 11:44:26 now i try to difende String first hopeing that will fix May 24 11:44:50 what's the error? May 24 11:45:05 spudowiar: sorry but is there a way you can help me with upgrading my android studio May 24 11:45:06 unhandled execption Jave Net MalformedURL eception May 24 11:45:42 easyOnMe: my laptop's been in repairs for two weeks, haven't gotten round to updating AS elfmys May 24 11:45:44 *myself May 24 11:45:47 Fuck this crappy keyboar May 24 11:45:49 d May 24 11:45:59 I WANT MY LAPTOP BACK :'( May 24 11:46:06 ok thanks May 24 11:46:18 http://pasteboard.co/1a0OPHSH.png May 24 11:46:56 Gnjurac: you need a try catch May 24 11:47:10 Gnjurac: or you make the constructor able to throw the exception May 24 11:47:19 Gnjurac: I'm guessing you're new to Java development? May 24 11:47:44 Wait, not constructor, method May 24 11:47:47 yep newer used java before yasterday May 24 11:47:48 Didn't see that void :) May 24 11:47:58 Gnjurac: ah, you may want to read up on some general Java development May 24 11:48:17 i am fallowing this http://www.wikihow.com/Execute-HTTP-POST-Requests-in-Android May 24 11:48:35 Gnjurac: you didn't follow it fully May 24 11:48:38 Gnjurac: also, it's shit May 24 11:48:51 but anyway just dont get why it wont let me define url May 24 11:48:56 Gnjurac: it does May 24 11:49:02 Gnjurac: you need to handle the exception somehow though May 24 11:49:04 i gett that error on url May 24 11:49:07 Gnjurac: you need to handle the exception somehow though May 24 11:49:14 Gnjurac: either catch it, or let the method throw it May 24 11:50:07 Gnjurac: even though the exception won't be thrown (as that address is safe), it "could be" according to Java, so you either catch it or let the method throw (my choice would be to let the method throw, in this case, but I don't have too much context on the rest of your code) May 24 11:50:30 oh i think i got what you talking May 24 11:50:43 yep May 24 11:50:48 ty May 24 11:50:59 Gnjurac: if adresa was a bad address, it would throw, but Java doesn't know it isn't one May 24 11:51:09 Gnjurac: you know it isn't one but Java doesn't trust you May 24 11:51:14 essentially May 24 11:51:22 * spudowiar is bad at explaining shit using a crappy keyboar May 24 11:51:24 d May 24 11:51:26 Damnnit May 24 11:51:28 nice packagename Gnjurac May 24 11:52:17 lol May 24 11:52:37 i am just testing out xD May 24 11:53:21 catch(MalformedURLException error) { } but now i get cant reslove MalformedURLException do i need to import that too May 24 11:53:42 yes May 24 11:53:53 alt enter is the shortcut May 24 11:54:02 yep goit it May 24 11:54:17 it dident offer me on alt enter even it did for others May 24 11:54:20 azgul: can you help me with my issue on upgrading android studio May 24 11:55:32 what version are you updating from? May 24 11:56:33 honestly if you face issues with upgrading it's probably worthwhile (timewise) to make a fresh install instead May 24 11:57:20 azgul: from 2.1 to 2.1.1 May 24 11:57:33 this is the issue I am encountering May 24 11:57:47 easyOnMe: can't you just trash the old install and download fresh? May 24 11:57:52 easyOnMe: it keeps settings IIRC May 24 11:58:53 easyOnMe, it's a bit unclear whether the restart happens when you press update, or whether it's something you are doing manually May 24 11:59:46 anyway the built in update feature is bugged, sometimes it wont update and you have to go into Help -> Check for Update after it bugs and then it works May 24 12:00:56 azgul: http://imgur.com/adn1K8m May 24 12:01:07 I got that then when I clicked update and restart May 24 12:02:04 it downloads and shuts down and does not restart at all May 24 12:02:05 http://imgur.com/2jvCV8K May 24 12:02:25 that is the reaction after clicking update and restart May 24 12:02:30 so it downloads the patch but doesn May 24 12:02:38 ...'t apply it? May 24 12:02:45 after the download it shuts down the AS and never even restarts AS at all May 24 12:02:52 ok May 24 12:03:07 I wouldn't waste time on it, just install 2.1.1 on top of your current install instead.. May 24 12:03:20 how May 24 12:03:34 you mean delete the folder and then download a new version of AS May 24 12:03:42 I am using ubuntu linux May 24 12:06:06 i am too on ubuntu , i just downloaded and runed May 24 12:06:13 from adroid studio website May 24 12:07:56 azgul: I have my android folder May 24 12:08:07 where do I find the android executable file May 24 12:09:01 bin May 24 12:09:08 studio.sh May 24 12:09:25 ^ May 24 12:09:45 ^^ May 24 12:10:20 think that turtorial is some obsolte giving me more errors May 24 12:10:47 client.setRequestMode("POST"); this dosnt work no more right? May 24 12:13:55 want to send stupit http post request whitout wasting my life on it xD May 24 12:18:15 guess client.setRequestMode(“POST”); shoud be client.setRequestMethod(“POST”); May 24 12:21:43 grrrrr writeStream(outputPost); writeSteam is red May 24 12:23:03 imported May 24 12:23:03 java.io.OutputStream May 24 12:23:08 but still red May 24 12:24:36 Gnjurac: "is red", we need to know the error :) May 24 12:25:29 oh same cenot resolve method writesteam (java.io.OutputStream) May 24 12:26:03 like that method/function dosent exist in java.io.OutputStream May 24 12:27:34 i can screenshot if want May 24 12:28:48 http://pasteboard.co/1a3BbeZM.png May 24 12:35:40 anyone? May 24 12:36:56 Gnjurac: What do you expect to be written into the output stream? May 24 12:37:14 That line means that the writeStream method is not implemented May 24 12:37:19 Gnjurac: that's because that method isn't defined May 24 12:37:24 Gnjurac: you need to define it yourself May 24 12:37:41 Press Alt+Ctrl and it'll give you more options, use your IDE, it's so powerful. May 24 12:39:11 by the way, that font is too horrible to code, use something such as Consolas or SourceCode Pro or Monaco May 24 12:40:22 comic sans May 24 12:41:47 Comic Sans MShit May 24 12:41:51 The ultimate font May 24 12:43:40 oh sorry i not really a net wizz so i dont get stuff assap, i thinked client.setRequestProperty(vrednost,vrednost); will send a post request whit those vaules, and thinked writeStream will just issue an output to whole function or something May 24 12:50:30 i think i will try this now cuz i am lost May 24 12:50:34 https://www.youtube.com/watch?v=zUXWezYL5BY May 24 12:50:50 I got it May 24 12:51:17 i just have to run the studio.sh using the terminal and it will upgrade when it opens up right after the download May 24 13:15:29 Hello guys, is it possible to receive a callback if phone gets called? May 24 13:24:28 Number5: look for TelephonyManager and TelephonyManager.CALL_STATE_RINGING May 24 13:24:55 Ashore thank you, is CallCenter worth looking at too? May 24 13:25:41 huh May 24 13:26:41 Ashiren, Hahahahah sorry, I thought I was in the iOS channel :P May 24 13:52:02 hey do you guys know if I call startService on IntentService then onStartCommand is always called? May 24 13:58:12 harsukh: no, if the service is alive, it just calls onHandledIntent May 24 13:58:57 even if I start it with flag START_NOT_STICKY? May 24 14:05:09 In this link... does anyone know what the guy says? "You should not edit the vmoptions inside studio installations..." May 24 14:21:14 Hi guys, I'm receveing an audio intent from whatsapp, to my app, but when I try to play this audio from my app it does not work. If I see the intent type it's an audio with opus format. I've seen on android developers site that opus is supported on Android 5+. I'm using a moto g mobile with android 5.1, and I'm trying to play with MediaPlayer class. Any idea? Thanks in advance! May 24 14:38:21 I'm not sure MediaPlayer class is the right tool to use with opus May 24 14:42:26 harsukh: what should I use instead? May 24 14:44:28 actually it looks like you only have the one choice May 24 14:44:30 https://developer.android.com/guide/appendix/media-formats.html May 24 14:44:40 so not sure what is going on May 24 14:47:32 according to that doc, it should play on Android 5+ devices, but it doesn't, at least on my moto g using 5.1 :( May 24 14:54:07 I am trying to find a way to transfer files between 2 Android devices via infrared. Are there any devices running 4.4+ that support IR receiver? Plugging an external receiver also works for me May 24 14:55:17 I just need to be able to read the input as it comes May 24 15:06:42 I'm pretty sure there are no devices with app-accessible IR input May 24 15:07:00 would there be a good reason you couldn't use BT or wifi direct? May 24 15:08:20 hey, so, gradle and retrokit - I'm getting all up-to-date with 2014! May 24 15:08:25 still using vim, of course... May 24 15:08:49 Leeds, yeah, I want to use it for research purposes so I have to stick to IR May 24 15:10:28 nah you don't May 24 15:10:34 there is a USB adapter that is recognised as a generic keyboard, but the question is how do I encode/decode and whether it can return to my app whatever data I submit May 24 15:11:21 keyboards don't generally act as output devices May 24 15:12:42 there should be a way, I just don't want to spend money on the receiver before I am sure that I have good chances May 24 15:14:00 i'm looking at nick butcher's Plaid code + presentation. for a state list drawable he has May 24 15:14:37 but i do not see android:enterFadeDuration in that docs for state list drawable ... am i confused ? May 24 15:14:50 g00s: gradle+retrofit+vim! May 24 15:15:39 Leeds oh wow, ditched ant :D May 24 15:16:04 yeah May 24 15:16:58 Leeds you need AS for instant run though, may as well ... May 24 15:17:13 i think its worth it, saves tons of time May 24 15:17:56 and ConstraintLayout probably easies to do in AS, i mean you can do from XML but looks like shit May 24 15:18:27 steady on, I'm not ready for instant run or constraintlayout yet :D May 24 15:20:07 Napalm|afk whelp May 24 15:22:46 tada May 24 15:23:01 g00s: you called, good sir, May 24 15:23:22 Napalm ohai ! quick q, how can you put enterFadeDuration on ... i dont see that as valid attribute in xml docs May 24 15:24:17 g00s: they are missing from the docs May 24 15:24:22 they have always been there since 1.5 May 24 15:24:28 bunch of a holes May 24 15:24:31 APIv4 May 24 15:24:51 lol v4 !?! May 24 15:25:06 android:enterFadeDuration="@android:integer/config_shortAnimTime" May 24 15:25:10 android:exitFadeDuration="@android:integer/config_shortAnimTime" May 24 15:25:13 example of what i use May 24 15:25:16 yeah, thats what nick had May 24 15:25:34 brb May 24 15:25:37 k thx May 24 15:41:51 Leeds, you can use protify and get 90% of the benefit of instant run without android studio May 24 15:42:28 some day, I'll consider implementing hot swap when I'm bored May 24 15:43:10 https://play.google.com/store/apps/developer?id=Protify&hl=en :D May 24 15:44:40 Leeds, no May 24 15:44:47 https://github.com/scala-android/sbt-android-protify May 24 15:48:45 mornin all May 24 15:48:47 Anyone know why GCM would send a push notification on initial install of the app? It only happens one time when a user installs the app - and it shows the message as null null -- and I am not sending any requests right off the bat only when a specfic action happens later on... May 24 15:49:07 I would not even know what code to show May 24 15:50:04 gcm doesn't send a push notification on install May 24 15:50:15 you triggered your broadcast receiver yourself May 24 15:55:49 Any go to libraries or resources for protobuffs? I'm starting a project this friday that uses proto buffs and I've never used them before. Would appreciate any tips. Thanks May 24 15:57:05 So it is on the android side pfn May 24 15:57:42 Lonesoldier728, in your app May 24 15:58:30 eghdk, lots. 'protobuf android' will get you plenty, though you probably want to use the square 'wire' implementation just because the square libs are generally always excellent May 24 15:59:23 eghdk proto3 has been in the works for a while too, they just had a release a few days ago May 24 15:59:27 but still beta May 24 16:00:02 g00s: proto3 is v3 of the proto buf protocol? May 24 16:00:09 yeah May 24 16:01:00 I noticed that the Play Developer COnsole android app uses a lib called "protobuf nano" and was considering looking into that one as well. But if square has a solution... May 24 16:01:27 yeah thats the light version for android May 24 16:02:38 pfn I am calling token registration in my app to send it up to the server like this - am I calling it on token retrieval? How do I stop it http://pastebin.com/nvaRwYhS May 24 16:03:15 what is "Google Cloud Messaging"? May 24 16:04:15 pfn I also start it as Intent tokenIntent = new Intent(this, TokenRetrieval.class); startService(tokenIntent); May 24 16:04:21 oh, that's the old thing from before Firebase ate the world :) May 24 16:04:38 Wait, are push notifications being managed from Firebase now? May 24 16:05:04 all the non-google services backend stuff is now called firebase May 24 16:05:58 Okay, I knew they had analytics and a few similar things in it. I didn't realize EVERYTHING was being pushed there May 24 16:06:37 The only work around I know is to make a call on this line in my notification manager.notify(0, notification.build()); to say if the message is not null to only be executed May 24 16:07:22 anyone tried that with android yet? http://gradle.org/blog/kotlin-meets-gradle/ May 24 16:08:44 Guys, I'm usin Iconics library to get some font icons. I'm using it on my layouts textview's, but I need to use it as action bar menu icon. Is it possible? How can I set custom font to use it as an icon on action bar menu? May 24 16:09:22 Sepho, actionbar only accepts real drawables so no, you cant. May 24 16:09:29 unless you extract the img from the font manually May 24 16:09:54 danijoo: :( I will look for font awesome image resources then... thanks! May 24 16:10:09 Sepho, i think there are ways to extract them out of the font too May 24 16:10:32 I remebert i did this once.. May 24 16:10:36 back May 24 16:13:23 Sepho: actionbar menu icon as in? Overflow menu? Or like the hamburger button? or what May 24 16:15:07 orbyt_: as an icon (always) May 24 16:15:17 not overflow May 24 16:16:57 Sepho: why not just use iconics drawable? May 24 16:17:07 thanks pfn May 24 16:24:41 Napalm so is enterFadeDuration only for or does it work on other stuff too ? May 24 16:24:53 googling doesn't bring up much May 24 16:26:33 just selector May 24 16:26:59 Hi guys and gals May 24 16:27:19 Where should I start if I want to learn to make apps for android> May 24 16:27:21 ? May 24 16:28:04 TwistedFate, d.android.com but dont make a league of legends app :p May 24 16:28:39 danijoo, there already is one :D May 24 16:28:46 I know. its mine May 24 16:28:58 oh May 24 16:29:21 at least one of the many that exist :p May 24 16:29:35 there is only 1 official May 24 16:29:51 indeed but that doesnt offer statistics :( May 24 16:39:30 Does anyone know a way to use admob ads inside a RecyclerView? I can display the ads but If I don't create a new ad in `onBindViewHolder()`, the same ad will be shown over and over... May 24 16:43:49 This AdMob ads API sucks May 24 16:45:02 Leeds ah ok " a window into transitions" i/o talk is up ! May 24 16:46:52 moar sessions! May 24 16:48:47 i thought that was going to fall through the cracks May 24 16:50:24 minas114, what ad format are you using? banners? May 24 16:50:40 danijoo, native ads May 24 16:51:09 I think showing the same ad over and over is the prefered way May 24 16:51:28 because if will give you higher click rate May 24 16:51:55 same reason why you try to go with multiple fragments in one activity to always show the same banner May 24 16:52:05 danijoo, it's not the same May 24 16:52:23 danijoo, the users keeps scrolling down. I don't want to show the same _native_ ad May 24 16:53:48 minas114, you should want that though for better click rate and therfor revenue ;) May 24 16:54:02 anyways have you tried what hapens if you just dispatch a new adRequest? May 24 16:54:09 this should reload the ad without recreating the view May 24 16:55:28 danijoo, I have, it reloads it :/ May 24 16:59:17 So... if all I want is push notifications, am I stuck shoving the entire Firebase SDK in my app? Or is Firebase going to be build on top of GCM? May 24 16:59:27 So, I'm not really versed on any of the topics I'm about to name off, but I'm starting to get into RxJava and RxAndroid. Any reason why people are using this over futures or regular java observables or anything? May 24 16:59:40 konk3r: you can probably get away with just GCM for now May 24 16:59:51 does @NonNull annotation from android throw NPE if you pass it null? May 24 16:59:59 konk3r: Firebase team has a live chat happening on thursday. Submit your questions there for a canonical answer! May 24 17:00:12 or will it just happen when you try to access that object later down the chain May 24 17:00:55 Thanks eghdk May 24 17:01:05 Here is more info for it: https://events.withgoogle.com/post-io-event-live-hangout/ May 24 17:01:13 And yeah, I've honestly been really happy with GCM. I see no reason to change May 24 17:06:30 <_0xbadc0de> guys May 24 17:06:44 <_0xbadc0de> how can I extract files from my emulated device May 24 17:06:45 <_0xbadc0de> ? May 24 17:07:00 <_0xbadc0de> I need to extract a bunch of temporary files from /data/data/ May 24 17:07:15 <_0xbadc0de> I was thinking zip and upload somewhere May 24 17:07:15 You should be able to pull them off with ADB May 24 17:07:21 <_0xbadc0de> ok May 24 17:11:44 <_0xbadc0de> I am getting error device not found May 24 17:11:53 <_0xbadc0de> I am logged via shell May 24 17:11:57 <_0xbadc0de> I shouldn't May 24 17:12:17 You should see it in the list with adb devices May 24 17:12:18 im renaming a bunch of directories in my project structure. am i gonna have any serious issues with AS May 24 17:12:52 Hello May 24 17:13:31 Is there any way I could scale down text sizes to smaller devices? May 24 17:13:40 orbyt_ Are you renaming default android directories? If not I wouldn't think it would be an issue May 24 17:13:48 I mean like a mathematic formula or is it all trial and error? May 24 17:13:51 no, just some top level directories May 24 17:13:52 Ranguro: You can set text sizes in a dimens file May 24 17:14:09 I know, I can. konk3r May 24 17:14:31 orbyt_: I wouldn't think that would be an issue, worst case scenario you'd have to reimport your project May 24 17:14:31 But with images you can find the create the biggest image and then scale it down to smaller devices by following a formula May 24 17:14:38 rgr 07 May 24 17:14:39 What is this firebase about? May 24 17:14:41 o7* May 24 17:14:59 I mean it's not trial and error. May 24 17:15:56 Rangura: You could run your own math on it, but that's not something that's built in AFAIK. I think most designers prefer set text sizes. May 24 17:16:05 Ranguro* May 24 17:16:49 Oh I see.. May 24 17:16:50 You could definitely run an equasion to modify the SP before manually setting it to a textview pretty simply though. I'd recommend just having a few set text sizes that toggle based on DP instead though May 24 17:17:32 I think the Google recommendation is to use SP text size konk3r May 24 17:17:53 Right, you'd import an SP then modify it with a coefficient May 24 17:18:14 By DP I mean screen DP May 24 17:18:18 Yeah May 24 17:18:20 w820dp May 24 17:18:26 and one for a regular May 24 17:18:55 dimes(w820dp) May 24 17:19:20 What's your use case for the more fine grained scaling? May 24 17:19:31 I could see it being useful in specific circumstances May 24 17:19:41 Hi. May 24 17:19:46 Ranguro, text scales automatically afaik. May 24 17:20:05 Is there any way to reuse webview between activities May 24 17:20:08 at least to some degree May 24 17:20:12 mohan8464_, no May 24 17:20:34 danijoo, what do you mean? May 24 17:20:39 afaik? May 24 17:20:46 Ranguro, as far as i know May 24 17:20:54 Actually I'm using webiview to display same page in multiple activities May 24 17:21:05 but initial loading takes long time May 24 17:21:23 danijoo, then I don't need to set up a text size for each device? May 24 17:21:57 hi there, someone knows a tutorial for the dropdown to select the user account in the drawer menu? May 24 17:22:19 Ranguro, yes. you should go with one sp value for every device May 24 17:22:27 in most cases at least May 24 17:22:50 Well yes.. May 24 17:23:07 can anybody help May 24 17:23:22 the thing is that danijoo I'm working with Toolbars and they have less space on smaller devices May 24 17:23:59 Ranguro, thats not true. they have the same space on all devices May 24 17:24:07 something like 64 dp May 24 17:24:08 this is way better http://mikepenz.github.io/MaterialDrawer/ May 24 17:27:03 danijoo, can i reuse the webview by bring an activity back and forth May 24 17:27:58 danijoo, I'm not sure that's not what I'm seeing May 24 17:28:37 Ranguro, dont confuse dp with actual pixel size May 24 17:29:16 Yes that might be the thing May 24 17:29:31 For example in a larger screen I will see something like.. May 24 17:29:36 ????????? May 24 17:29:41 "Hello my name is Ranguro" May 24 17:29:48 In a smaller screen I'll see.. May 24 17:29:55 "Hello my May 24 17:29:57 Oh, you mean width May 24 17:30:00 name is May 24 17:30:00 Yeah, the width changes May 24 17:30:02 Ranguro" May 24 17:30:22 Yeah, the width changes, thats why I need a smaller text size May 24 17:30:25 are your text sizes in SP? May 24 17:31:09 Yes, they are. May 24 17:31:30 I'd recommend keeping your toolbar text short and putting anything longer that needs to be read in a separate view May 24 17:32:23 http://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-behavior May 24 17:32:40 The optional flexible space beneath the toolbar is much better suited for it May 24 17:34:53 I need to place an image to the left of the toolbar and then to the right Two vertically stacked texts (App name, subtitle) May 24 17:35:11 That in the toolbar May 24 17:36:15 rather off topic question: we have this codebase at work we sell to partners. The code basically wraps our internal api. We call it an SDK, but is it really an sdk or is it just a library May 24 17:37:12 i guess it’d be more of a library, but I don’t think it’s a distinction with much difference May 24 17:37:29 im on a refactoring spree so thats why i ask lol May 24 17:38:18 that doesn’t really explain it... May 24 17:38:25 explain what May 24 17:39:11 In my Nexus 6p it looks good but in the nexus 5 the text gets over the image May 24 17:39:49 explain why you’re asking the question May 24 17:40:53 s73v3r: cuz alot of the directories are named xxx-sdk or sdk-sample etc. Was just wondering if i should rename it to "lib/library" if that is more correct May 24 17:41:27 i wouldn’t bother May 24 17:42:08 Ranguro, smaller textsize will help but thats not a good way of doing it. because it will also become harder to read May 24 17:42:39 better redesign the layout in a way that the text fits for both sizes or make different layouts for different phone sizes May 24 17:42:47 Ranguro: You might want to go back to the drawing board with the design, or come out with a different design for smaller devices May 24 17:48:02 tricknology
  • test 1
  • May 24 17:48:06 could you guide ? May 24 17:48:22 just missing the complete href on my device. May 24 17:48:40 if i clicked on html of the above page. nothing happens. thanks May 24 17:49:00 smgs: How are you putting that into your app? May 24 17:49:18 no app or anything. just an html page May 24 17:49:24 that wont work May 24 17:49:25 opening with html viewer. May 24 17:49:28 i don tthink May 24 17:49:40 because your sdcard path is liekly not that May 24 17:49:41 yes. it aint working. how to get the complete location May 24 17:49:57 getExternalStorageDir() May 24 17:50:29 smgs: do not hardcode directories on Android. it will only lead to pain and suffering May 24 17:50:40 yeah May 24 17:50:42 ^^ May 24 17:50:48 usually it’s a symlink May 24 17:50:50 tricknology how to run that code ? getExter... May 24 17:51:01 and changes with the device almost always May 24 17:51:03 smgs: are you trying to access the directory in an app? May 24 17:51:04 smgs: If you want to interact between a website and your phone, you're probably going to have to inject javascript into it May 24 17:51:15 s73v3r no app or anything. just an html page May 24 17:51:20 smgs: a little google fu and the 2nd result: http://stackoverflow.com/questions/17215466/environment-getexternalstoragedirectory-getabsolutepath-gives-a-different-pa May 24 17:51:23 what’s your overarching goal? May 24 17:51:23 no website or anything. May 24 17:51:28 and you need an app May 24 17:51:29 smgs, its not possible with just html May 24 17:51:35 the app has to call that May 24 17:51:38 just to open a pdf Dandelock May 24 17:51:39 because the folder will differ from device to device May 24 17:51:40 remember i said make a webview May 24 17:51:43 danijoo ^ May 24 17:51:55 with an intent filter May 24 17:52:06 smgs: why not just grab one of the many file browsers, and use that? May 24 17:52:21 like ? s73v3r May 24 17:52:36 go on the play store and search for “file browser” May 24 17:52:53 k. wait May 24 17:53:59 although at this point, the conversation has drifted outside of android-dev scope. The #android channel might be able to help you more May 24 17:54:10 so i am trying to follow the alarm manager using adb shell dumpsys alarm May 24 17:54:24 seems like an alarm is supposed to be fired but in practice i do not see it fired May 24 17:54:49 same intent fired directly using sendbroadcast works May 24 17:57:10 s73v3r i alredy used ES file explorer to get the path. not workin May 24 17:57:20 now i am downloading and isntalling file browser. May 24 17:57:26 will copy full path again. May 24 17:57:28 you should be able to open the PDF directly from there May 24 17:57:42 no no. i dont want to open directly from there. May 24 17:57:49 i want to open via this May 24 17:57:55 why not? May 24 17:57:56
  • test 1
  • May 24 17:58:01 that’s not going to work May 24 17:58:40 that's why i asked in here. May 24 17:59:01 why not just open it through the mechanism that’s there to open it? May 24 17:59:07 is it possible to track across web and android app installs? May 24 17:59:18 smgs: and this isn’t really an android dev question May 24 17:59:18 tricknology how to run that code getExternalStorageDir() May 24 17:59:31 smgs: you have to do it in an app May 24 17:59:36 you need an app May 24 17:59:38 we launched 3 ad campaigns that redirect to google play. How do we know which campaign lead to which/how many installs? May 24 17:59:47 first you gave me the answer to an something else. now you are saying wrong channel. May 24 17:59:49 lol May 24 17:59:51 http://bfy.tw/5vX8 May 24 17:59:51 smgs if you have no app, this is the wrong channel for you :D May 24 17:59:59 unsigned_long: most analytics packages can do this. you have referral links that will track that May 24 18:00:00 heh May 24 18:00:06 heh May 24 18:00:06 I thought you were going to make an app smgs May 24 18:00:07 :\ May 24 18:00:13 i spent a long time explaining to you how to do it May 24 18:00:14 s73v3r: can you please give an example? May 24 18:00:15 what you need May 24 18:00:16 links May 24 18:00:26 tricknology yes. but first i just want to get the full path so taht it opens at least May 24 18:00:33 you can’t simply click a link and expect what you want to happen happen May 24 18:00:37 its not like windows May 24 18:00:38 s73v3r: in my app (!), how do I know "how" the app was downloaded? May 24 18:00:50 smgs: Why do you not want to open it with a file browser? May 24 18:00:52 unsigned_long, google for "google play install referrer" May 24 18:00:57 or a PC, where the hyperlink to the disk space opens it magically, there are lots of methods build in to do that May 24 18:01:05 i just want to open it via html. :( May 24 18:01:09 unsigned_long: Look up Google Analytics, Mixpanel, Flurry May 24 18:01:14 basically you add a payload to the appstore install link that will then get send to your app as callback after install May 24 18:01:15 i gotta get back to work May 24 18:01:24 :\ May 24 18:01:25 smgs: Why? What’s wrong with opening it via the file browser? May 24 18:01:26 i hope you copy-pasted what i wrote the other day :/ May 24 18:01:44 s73v3r i already explained. May 24 18:01:44 unsigned_long, this: https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#google-play-implement May 24 18:01:48 tricknology i bookmarked. May 24 18:01:48 unsigned_long: I believe Google Play can pass a referral link to your app when it is installed May 24 18:02:03 thank you! May 24 18:02:13 smgs: no, you haven’t. you just said you want to do it through HTML. not why you can’t do it through the file browser like everyone else May 24 18:02:33 smgs, you cant do it through html. period May 24 18:02:45 s73v3r because there are like 2000s of PDF May 24 18:02:53 with not exact names. May 24 18:03:07 so what is the overreaching goal here? May 24 18:04:21 to open an html having hperlnk to 2k pdf with text May 24 18:04:30 and those pdf open when i click them May 24 18:04:45 text = details about the content of the pdf May 24 18:04:46 why do you insist on using html? terrible experience compared to native May 24 18:04:55 so why can’t you do that with a file browser? Just open the folder May 24 18:05:09 or, you’re probably going to have to write your own app May 24 18:05:46 you can link to assets through html, but that only includes the ones bundled with the app, not any arbitrary pdf on the sd card.. May 24 18:06:33 hmm... May 24 18:06:34 sad May 24 18:07:20 sad that a webview can't access any sd card files? I'm not so sure May 24 18:07:51 yeah, that seems like a pretty sane security feature May 24 18:07:57 haha May 24 18:08:16 nexus 5 May 24 18:08:22 no external sd card May 24 18:08:31 doesn’t matter May 24 18:08:31 but there is an internal one May 24 18:08:57 most phones have an area of general storage that is referred to as “sdcard”, despite it not being an actual sd card May 24 18:10:02 anyone aware of a memory-only alternative to sqlite fts4? May 24 18:10:14 its app space and userspace. userspace is refered as 'sdcard' because in the past we only had sdcards for storing user data May 24 18:10:34 dsardari, for android? Oo May 24 18:11:02 yes :/ May 24 18:11:17 “s73v3r: yeah, that seems like a pretty sane security feature” LOL right on the money May 24 18:11:22 i've got interesting requirements May 24 18:11:30 such as? May 24 18:12:09 fts of encrypted text that's only available when the application is in the foreground May 24 18:12:39 but once you leave the foreground, then it goes away May 24 18:12:43 forever May 24 18:12:50 yeah May 24 18:13:01 g00s: ? May 24 18:13:09 thepoosh ! May 24 18:13:13 http://www.businessinsider.com/glide-pivots-business-to-focus-on-smartwatches-2016-5 May 24 18:13:14 :( May 24 18:14:01 BI ... ugh; reading ... May 24 18:14:59 ""the emerging smartwatch ecosystem." hmmmm May 24 18:15:27 google needs to give away more watches to further jumpstart the ecosystem... May 24 18:15:41 "we decided to part ways with some friends and colleagues who did not entirely align with our strategy moving forward." May 24 18:15:46 thepoosh their tour was up ! May 24 18:16:02 that sucked May 24 18:16:11 i think thats what they are calling it now in SF, you aren't an employee, you're on a tour of duty May 24 18:16:42 thepoosh the whole thing sounds pretty shitty, and i have no confidence they will find a business model May 24 18:16:52 i'd start planning ahead May 24 18:16:56 i hope it'll be ok May 24 18:17:08 ok, well plan for worst hope for best :) May 24 18:17:13 but for now i might need to shape up good ol' resume May 24 18:17:16 google needs t.a May 24 18:17:16 i just can't see how this is going to end well May 24 18:17:32 i thought i hit backspace more May 24 18:19:17 g00s: what's news onther than this shitty day? May 24 18:19:42 thepoosh investors not only want to see things like growth, etc - but that its a viable business. without charging for this (like skype) i can't see how you guys keep lights on w/o doing some backhanded shit like selling data; and there are plenty of those guys selling data not to mention Fb May 24 18:20:11 there are things i cannot discuss May 24 18:20:18 :D May 24 18:20:44 thepoosh if you guys are pivoting to watches, do you have a HW partner ? maybe a Glide watch ? May 24 18:21:19 cannot discuss May 24 18:21:31 even Fb made that mistake though when they thought about their own phone May 24 18:22:02 ... May 24 18:22:07 * thepoosh is whistling May 24 18:22:11 hehe May 24 18:23:15 thepoosh not much here, watching nick's i/o transitions video May 24 18:23:30 didn't see that yet May 24 18:23:37 just went up a few hours ago May 24 18:23:41 but i am all caught up in what i wanted to watch May 24 18:23:46 is it any good? May 24 18:24:01 well its pretty in depth and i typically suck at animations so ... May 24 18:24:10 TransitionManager stuff, i'll have to watch again May 24 18:26:00 man, it'd be nice if we could modify the templates easily for future apps May 24 18:26:40 g00s: did you watch the theme talk? May 24 18:26:47 thepoosh yeah May 24 18:26:56 pretty basic May 24 18:27:01 yeah May 24 18:27:08 Hi. An espresso question. How to click on action bar menu items without knowing whether they are in the overflow menu or not? May 24 18:27:08 also they gave it in droidcon sf May 24 18:27:19 my problem isn't how the theme system works, its the fucking rats nest of theme attributes you need to find to get shit done May 24 18:27:53 and the headaches when some attr isn't on kitkat etc May 24 18:28:09 I found this http://stackoverflow.com/a/33990528/3967272. But they separate between the two cases. How to generalize the approach? May 24 18:29:10 Afzal i always thought such a things was a smell ... May 24 18:29:19 if there is so much boilerplate you need such a thing :) May 24 18:29:20 g00s: yeah, I try something and then everything is an extension of something which is an extension of something etc. May 24 18:29:44 thepoosh yeah, lots of levels of indirection ; ok this points to that, but on api 21 it points to that ... May 24 18:29:48 g00s just build.gradle imports at the very least May 24 18:30:00 every project, you gotta go to build.gradle and import timber and butterknife May 24 18:30:10 you do ? lol May 24 18:30:11 and then get rid of the support toolbar code May 24 18:30:12 yeah lol May 24 18:30:21 i had no idea :D May 24 18:30:34 and then fix the transparent systems bar in lollipop, which is just fucked up May 24 18:30:49 there are the blank / empty templates May 24 18:30:59 statusbar color is transparent in the template May 24 18:31:15 I mean there's work either way though May 24 18:31:34 and have to import my own BaseActivity and BaseFragment classes. Just wish they were present already May 24 18:32:13 Afzal the templates are buried in AS as text file, you could probably edit them ,,, May 24 18:33:16 on OSX they are in the google android plugin dir May 24 18:35:36 yup, tried that. lol it got overwritten in the last update :D May 24 18:35:58 maybe i should write a python script or something to create a project this way May 24 18:36:24 Afzal what about forking https://github.com/cristhianescobar/generator-android-starter ? May 24 18:37:30 guys, how to call super.onBackPressed() from inside a Thread that is inside onBackPressed method? May 24 18:37:51 O.o May 24 18:37:52 i suppose i can just call finish(); May 24 18:37:59 more important question is probably why you fire a new thread in onBackPressed May 24 18:38:19 well, a listener type anonymous class May 24 18:38:33 or a callback... May 24 18:38:35 still runs on main thread then May 24 18:38:51 yeah but i cant call super.onBackPressed form iside that May 24 18:38:57 just make the listener return a boolean and decide based on its answer whether to call super or not May 24 18:40:57 well i launch a date picker dialog when user presses back, and when date is set i want to call super.onBackPressed, that is from an onDateSetListener May 24 18:42:45 whoa a yeoman generator for android!! azgul May 24 18:42:52 that's great! May 24 18:42:53 thanks May 24 18:43:01 np May 24 18:43:29 never used it myself, but saw it in some github repo with boilerplate templates May 24 18:44:09 yeah I never thought there would be cause I always associated yeoman with web dev May 24 18:44:17 this one looks great: https://github.com/otomatik/generator-ymca#readme May 24 18:45:37 thepoosh did you see the Pebble Core ? May 24 18:45:51 core? May 24 18:46:19 https://backchannel.com/pebble-makes-a-run-for-it-c1da3db0f400#.ry1bdc4ce May 24 18:47:09 cute May 24 18:52:36 I don't understand why someone would wear a watch in this day and age :p May 24 18:53:32 Zharf: status symbol May 24 18:54:00 for a luxe watch, sure May 24 18:54:11 smartwatch has some utility May 24 18:54:12 also, if it's a smartwatch it can do stuff for you May 24 18:54:15 the inconvenience though... May 24 18:54:17 needs a killer app May 24 18:54:21 that don't require getting your phone out May 24 18:54:23 wearing a watch isn't inconvenient May 24 18:54:37 I find it very inconvenient May 24 18:54:51 but it's been like 20 years since I used one May 24 18:55:42 the core’s killer app is basically being an iPod Shuffle, that can do stuff your phone does as far as tracking May 24 18:55:53 so you don’t need to bring your phone on a run May 24 19:00:15 Zharf I think it's more inconvenient to get your phone out just to look at the time May 24 19:05:08 Guys, does anybody use Espresso? May 24 19:05:10 personally i don't like to carry my phone with me so i usually have a watch for the time May 24 19:07:26 Someone know how to mock a LayoutInflater ? I'm trying to test a ViewBuilder. Check it https://gist.github.com/wviana/8e01423956f58bf2504f2cb14b03c10b May 24 19:09:08 guys May 24 19:10:28 i have a getinstance method for one of my singletons May 24 19:10:41 is it bad to make getInstance() take a context as a parameter May 24 19:10:43 for any reason May 24 19:11:31 if you must, make sure you don't pass activity contexts May 24 19:11:50 or better, when you take context, take context.getApplicationContext() May 24 19:11:53 or call get app context on it May 24 19:11:54 yea May 24 19:12:41 its to access shared prefs so May 24 19:13:00 oh so you dont need context reference. alright May 24 19:13:08 to keep* May 24 19:13:26 wait what do you mean May 24 19:13:31 i need a context yes May 24 19:13:44 that you aren't storing the reference May 24 19:14:14 i was gonna store it in a member variable yes May 24 19:14:37 i mean you need to store the sharedpreference, not context itself May 24 19:15:18 i guess i could do that May 24 19:15:46 Definitely use the application context whenever possible and then it won't be an issue, but be aware of when you can't use it (looking at you, view inflater) May 24 19:16:23 if you dont need it to be lazy, you could instantiate it inside application's onCreate then do normal getInstance() without context May 24 19:19:40 thepoosh the best watch i ever had was a Suunto Vector May 24 19:19:59 for outdoors stuff, the readings were pretty useful May 24 19:20:04 g-shock May 24 19:29:04 How to mock LayoutInflator ? May 24 19:29:45 hm, i set android:enterFadeDuration="@android:integer/config_longAnimTime" on a but it doesn't seem to have any effect May 24 19:29:49 i must be missing something ... May 24 19:33:04 yes May 24 19:33:10 g00s: is this in a RecyclerView? May 24 19:33:22 buddy told me that the second way here if preferred: http://paste.ee/p/p7ctY May 24 19:33:27 anyone know why May 24 19:33:28 Napalm yes May 24 19:33:35 is* May 24 19:33:49 if the view is recycled then its not going to transition.. they have a fix for that in recyclerview May 24 19:33:50 sec May 24 19:44:43 g00s: https://youtu.be/LqBlYJTfLP4?t=23m3s May 24 19:45:29 thx napalm May 24 19:46:16 so basically you call notifyDataSetChanged and the item is getting recycled and cross-faded by default.. loosing your state. May 24 19:46:28 your drawable state that is May 24 19:46:34 hm, so basically nick's slides are lying :( May 24 19:47:09 which slides? May 24 19:47:18 he doesnt use a RecyclerView.. May 24 19:47:22 he uses ListView May 24 19:47:24 how he explained this in Plaid May 24 19:47:31 oh that stinker May 24 19:47:59 if you set the ItemAnimator on the RecyclerView to null it should reuse your view and you should see the nice transition May 24 19:48:20 test May 24 19:48:32 you can if you have some specific need just disable the crossfade on a specific item by extending the defaultitemanimator May 24 19:48:40 eghdk: test to you too May 24 19:48:40 test May 24 19:49:25 I'm starting to use Rx. I see an example of Observable.just("one", "two", "three", "four", "five") .subscribeOn(Schedulers.newThread()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(/* an Observer */); but can anyone fill in the blank? What Observer would work here? May 24 19:49:46 any that takes a string May 24 19:49:57 new Observable(){} May 24 19:50:01 Napalm hm, i did recyclerView.setItemAnimator(null); to no avail. but no worries, i'm not spending any more time with this ... May 24 19:50:02 if i remember correctly May 24 19:50:55 you mean Observer im assuimng May 24 19:51:00 assuming* May 24 19:51:04 yar May 24 19:51:53 Napalm: See I'm doing that but it won't compile unless I do new Observable(){} May 24 19:51:57 aye May 24 19:52:12 map or something May 24 19:52:13 i forget May 24 19:52:27 long time since i used RX May 24 19:52:57 eghdk: try new Subscriber May 24 19:53:02 autocomplete the rest May 24 19:53:10 Napalm: Arg. Yeah, every example seems to show String, but mine won't work unless it's String[] May 24 19:53:29 orbyt_: Will try that now. Does Subscriber extends Observer? May 24 19:53:31 eghdk: are you sure your doing Observable.just("one", "two", "three", "four", "five") May 24 19:53:36 with round braces May 24 19:53:55 he might be meaning to do .from() May 24 19:54:00 instead of .just May 24 19:54:10 .just returns a single Observable for your values May 24 19:54:45 pfn Oh. So how do I get an array to come through as a stream? May 24 19:55:39 Napalm: I'm not. *hits head against desk*. I was passing in a String[]. What the hell is the difference? Is there a way to get it to play nicely by passing in an array? May 24 19:55:58 yes May 24 19:56:30 .groupBy(s -> s) May 24 19:56:35 if your using lambda May 24 19:56:47 are lambdas supported on android now ? May 24 19:57:01 been using retrolambda since 2012 May 24 19:57:06 or do one still require one of those libraries that convert lambdas to anonymous classes ? May 24 19:57:07 2013 May 24 19:57:11 ah, the latter then May 24 19:57:11 somewhere around then May 24 19:57:16 I'll have a method where I receive a String[] and a OnItemSelectedClickListener, should I store it on a HashMap? The order will matter. May 24 19:57:33 Napalm: You have to run an operator on the observable? (just trying to get used to the lingo here) May 24 19:57:39 quelqun_dautre: cant wait for opendjk/jack support to get lamda offically May 24 19:57:55 Napalm i thought it did ? May 24 19:58:16 although jack is still RC i guess May 24 19:58:18 Napalm: Android is switching to OpenJDK ? May 24 19:58:30 man, I'm so far being on Android now that I switched majors May 24 19:58:35 Observable.just(new String[] {"one", "two", "three", "four", "five"}).groupBy(s -> s).subscribeOn(Schedulers.newThread()).observeOn(AndroidSchedulers.mainThread()).subscribe(new Observer { /* blah */); May 24 19:58:40 eghdk: ^ May 24 19:58:50 quelqun_dautre: yes May 24 19:59:15 Napalm: wait, are you a professional Android dev ? May 24 19:59:20 yes May 24 19:59:24 what country ? May 24 19:59:29 no May 24 19:59:29 shh May 24 19:59:38 uk May 24 19:59:48 without giving a number, how well does it pay ? May 24 19:59:56 good May 24 19:59:57 lol May 24 20:00:06 compared to a Java dev, how good ? May 24 20:00:13 never done java dev May 24 20:00:18 I'm still deciding on what to specialize into :p May 24 20:00:51 Napalm: do you only do Android ? May 24 20:00:56 yes May 24 20:01:20 alright, thanks for the info May 24 20:02:35 thanks Napalm that was helpful May 24 20:02:39 Napalm, Sorry to bother, but would you have an advice for those who wish to start making apps for the droid? Like where to begin, what to learn? May 24 20:02:54 quelqun_dautre: https://developer.android.com/preview/j8-jack.html May 24 20:04:30 TwistedFate: https://possiblemobile.com/2013/06/context/ https://plus.google.com/105051985738280261832/posts/FXCCYxepsDU May 24 20:05:00 TwistedFate: https://www.toptal.com/android/top-10-most-common-android-development-mistakes May 24 20:07:13 Napalm, Thanks, those seem to be some kind of guidelines. I was thinking something more like an actual coding, how to learn it :) May 24 20:07:31 Dont learn to code, code to learn May 24 20:07:47 pick an API for android and start playing with it May 24 20:08:05 some component/service/manager May 24 20:08:08 But, I have no knowledge about coding whatsoever, I wouldnt know where to start May 24 20:08:23 thats a topic i cant really help with May 24 20:08:30 find some books on learning Java May 24 20:08:36 Oh, thanks anyway :) May 24 20:08:45 I mean I learnt when I was 10 or something May 24 20:09:00 so I cant even remember that far back when I didnt understand logic May 24 20:09:01 lol May 24 20:18:43 Do you use DataBiding? I just found it yesterday. Thinking how good ideia is to use it. May 24 20:19:19 I use it and think its brilliant May 24 20:19:26 people have mixed feelings May 24 20:20:32 It looks so web way to do things. For one side is better that I may change the View without the activity ever need to know. May 24 20:21:34 If I'm using a TextView to show something and tomorrow I need to change it to use something different. There will be no need to change Activity. May 24 20:24:40 does anyone here own a pixel c? May 24 20:25:55 therealssj: yes May 24 20:26:13 Napalm: pm? May 24 20:49:14 How is the contraction for "as soon as possible" May 24 20:49:25 asp | asop ? May 24 20:49:38 asap.. May 24 20:49:38 There is something like that, isn't it ? May 24 20:49:49 danijoo: Thank u May 24 20:56:36 How do you like retrofit. Does most of you use it to HTTP requests or something else ? May 24 20:57:13 I think its kinda the industry standard for rest apis May 24 20:58:24 Do you think most of people are using Retrofit 2 ? It still beta doesn't ? May 24 20:58:40 i am not May 24 20:58:50 but mainly because im too lazy to migrate ;) May 24 20:59:09 danijoo: I'm on the same ship. May 24 21:00:00 I was using a really old version. Than I migrated into 1.9.0. Thinking it so buggy, but not up to migrate into 2.0b May 24 21:00:21 im on 1.9 and it works perfectly May 24 21:00:58 danijoo: In mine, every time that I get into error callback it's returning a null object. May 24 21:01:21 maybe a problem with your setup/code? dunno.. May 24 21:01:31 danijoo: But as you sad that, I thinking that I may be fault of another library that I'm using. I'll check another time. May 24 21:02:02 danijoo: Thank you for the talk. Time to go home. So you tomorrow folks. May 24 21:02:11 see yah. May 24 21:06:23 If I use retrofit do I have to create objects to make post requests or is there a way to make a post request without using the @body annotation? May 24 21:51:20 Napalm so why did nick use listview in plaid then? May 24 21:52:32 i would have thought, with all the animations it would be RV all the way May 24 21:52:45 you'll have to ask him May 24 21:52:53 makes no sense to me either May 24 21:52:58 lol May 24 21:53:06 only think I can think is he's not used RV before May 24 21:53:11 he may have had those animations already done previously May 24 21:53:13 remember he's not full time dev May 24 21:53:26 and from his slides, would i even be using TransitionManager with RV to pop the view Z May 24 22:01:34 hey guys I have some http request that happens and the UI then updates when the callback is hit. right now I've got a bug that if the user signs out of the app, all those ui components disappear and I get some NPEs when trying to update values. what's the best way to handle this? May 24 22:10:52 I can setColorFilter() on an image by using findViewById(R.id.myImgID) but how do I setColorFilter() on all the images in a layout? May 24 22:22:13 jaywrong, by calling it on every single one ;) May 24 22:23:41 grekkos, stop the request on signout or check if the user is still signed in before completing the operation May 24 22:26:09 ok thx danijoo May 24 22:26:40 hmm.. this channel might be close to gamedev.. :3 May 24 22:27:41 as long as it’s an android game May 24 22:28:05 well android isnt bad, + I bet unity can export/convert to taht too :3 May 24 22:28:26 danijoo_: yeah I was trying to think of a way that doesn't involve me checking every web call to see that the user is signed in May 24 22:28:52 trying finding new gamedev channels to hangout and who knows if I find someone to collab with ^^ May 24 22:29:06 danijoo_: I don't think it's possible to cancel the request either May 24 22:29:41 are you all programmers? May 24 22:30:26 its a programming channel... May 24 22:31:51 yeah but I have been in channels where its been opposite :D May 24 22:32:24 at least everyone in here is pretending to be one :p May 24 22:32:28 ^^ May 24 22:32:51 Well im pretty much nubish Unity user and ''3d artist'' May 24 22:34:30 grekkos, you can have a base class for callbacks with an isCanceled flag May 24 22:34:54 and then if(!isCanceled) runMethodInChildClass(); May 24 22:34:54 So do you guys make games or just apps for android? May 24 22:35:44 apps, mostly May 24 22:36:45 ah okay :I May 24 22:36:53 got anything to show though? :9 May 24 22:53:15 danijoo_? s73v3r?.. May 24 22:55:30 has anyone tried dexInProcess yet? does it work without multidex enabled? May 24 22:57:22 I seem to get a crash if it's run in monodex mode May 24 22:58:01 it is awesome pfn May 24 22:58:14 is there a way to detect if a user used Block Notifications on your app? May 24 22:58:14 I'm not asking if it's awesome May 24 22:58:19 there is not May 24 22:58:27 it works for me with multidex May 24 22:58:28 I'm asking does it work without multidex enabled May 24 22:58:32 oh without May 24 22:58:35 still not what I'm asking May 24 22:58:36 huhu May 24 22:58:41 *huh May 24 22:59:51 pfn i use dexInProcess w/o multidex May 24 22:59:57 works fine May 24 23:00:09 hmm May 24 23:00:18 I wonder why... May 24 23:00:21 but if using IR then multidex kicks in , but i have used it without IR May 24 23:00:31 then you use dexInProcess with multidex May 24 23:00:37 sweet May 24 23:00:46 I should try IR again May 24 23:00:53 so you haven't tried dexInProcess w/o multidex May 24 23:00:54 since dexInProess is working so well May 24 23:00:57 oh, misread May 24 23:01:01 thought you said haven't used without May 24 23:02:10 one thing i don't quite understand though , it doesn't kick in unless gradle's XmX is 20148 - but there is also another flag like javaMaxHeapSize in the gradle DSL, i haven't touched that one May 24 23:02:19 https://code.google.com/p/android/issues/detail?id=211106 May 24 23:02:22 even though i have XmX2048 i have never seen it take over 1024 May 24 23:02:38 that's because it's Xmx May 24 23:02:45 it did not kick in until I had Xmx4g May 24 23:02:52 g00s, i think AS's gradle ignores the Xmx stuff May 24 23:03:04 do a ps and you will see the Xmx options May 24 23:03:12 I got it working eventually with AS May 24 23:03:21 danijoo_ no - it does read it. once i put Xmx2048 that info message in log goes away May 24 23:03:31 via gradle.properties May 24 23:03:37 and i'm definitely not starting multiple jvms after that May 24 23:03:43 ok May 24 23:04:07 that message was damn annoying :D May 24 23:05:33 danijoo_ although for things to take effect i have to 'gradle stop' May 24 23:06:27 some things, AS overrides altogether, and you can't control - like the idle time before quit May 24 23:06:58 what do you do if your gradle suddenly fails to build after a few days? May 24 23:07:12 i look at the error :P May 24 23:07:24 maybe you used dynamic versions and stuff broke May 24 23:07:27 is it still possible to see which versions that used a + were used when it worked? May 24 23:07:46 J11 lol, no May 24 23:08:21 it's about a missing AnnotationDatabaseImpl.java source file May 24 23:08:21 :/ May 24 23:09:09 J11 next time you may want https://github.com/nebula-plugins/gradle-dependency-lock-plugin May 24 23:10:34 or define version numbers May 24 23:10:43 -> no random beacks May 24 23:10:45 breaks May 24 23:11:07 g00s: there is a way May 24 23:11:22 g00s: check each project for updates in the path N days May 24 23:11:26 *pasg May 24 23:11:31 **past May 24 23:12:04 danijoo_: I guess that's not a bad idea May 24 23:12:12 heh May 24 23:12:13 danijoo_: sorry I'm kind of in and out lately May 24 23:12:28 grekkos, no prob :) May 24 23:13:11 danijoo_: you were working on a league of legends app is that right? what's it called again? May 24 23:13:35 grekkos, indeed. Did I tell you that? ^^ May 24 23:13:41 LoLSummoners it is May 24 23:14:37 danijoo_: ah maybe i've seen this icon before May 24 23:15:01 I released one for iOS a while back but I haven't had any free time May 24 23:15:11 ah nice May 24 23:16:53 yeah mine was very specific though May 24 23:17:03 it was for picking champions May 24 23:17:12 I never got around to adding more features May 24 23:17:31 like a random selector thing that would give some info for a champion at a glance May 24 23:17:57 friends were asking for it on android but I think yours does much more May 24 23:18:13 is there any real big lol app for iOS? I often get mails if mine is available for iOS. May 24 23:18:23 so there seems to be a 'market' May 24 23:18:36 interesting May 24 23:18:47 could be people switching, and they liked your app on Android, so were hoping they could use it on iOS May 24 23:18:52 mine is called Roll the Dice - League of Legends Champion Assistant or something like that May 24 23:19:01 yeah or word of mouth May 24 23:19:35 actually my current android project is basically a port of an ios app (but not for league for something else) May 24 23:20:05 I don't really play that game anymore but I wrote the app as a port of my old python script that did the same thing, just more convenient on the phone May 24 23:20:12 since I don't have python on windows May 24 23:20:31 s73v3r, yeah most probably May 24 23:20:42 or ppl seeing their friends use it May 24 23:20:56 that drawer menu looks tight May 24 23:21:20 I feel like your UI is very hit or miss in some areas though but definitely content and feature rich May 24 23:21:48 what means hit or miss? May 24 23:22:09 ah like either really successful or really not May 24 23:22:23 that's just my opinion though May 24 23:22:29 ah yeah. May 24 23:22:36 there are some spots that I'm like wow that looks really nice and others where I think it could use some polishing May 24 23:22:41 its a bit full of texts in some spots i think May 24 23:22:43 nice work though May 24 23:22:45 yeah May 24 23:23:03 do you pull your content from their apis? May 24 23:23:25 yep May 24 23:23:31 yeah I did the same for mine May 24 23:23:40 I'd like to revisit that project at some point May 24 23:23:55 but mine is centered around champions specifically May 24 23:24:08 does any of you use unity though? May 24 23:24:20 Sk3letor: I've tried it i'm not a huge fan May 24 23:24:23 but I haven't done much with it May 24 23:24:34 the UI of unity itself feels too heavy and bloated for me May 24 23:25:00 but then again my game dev background is a very short lived experience working with vim and gcc May 24 23:25:14 kinda wondering that how much you would charge if you could make game for me/sell? I made months ago one pratice game what is kinda clone of flappy, I call it: Grump Jump. https://dl.dropboxusercontent.com/u/73169970/grumpJump.gif May 24 23:26:03 you cant charge in android :p May 24 23:26:11 hey does anyone know what causes this error? May 24 23:26:15 people prefer being bombed with ads.. sad but true May 24 23:26:37 I think he's trying to contract someone to build the game for him May 24 23:26:45 and yeah that's so weird to me danijoo_ May 24 23:26:46 like, how much for one of us to build the game for you? May 24 23:26:58 I totally hate ads though, on that note May 24 23:27:12 the apps I'm working on have no ads May 24 23:27:17 grekkos yeah ... doesn't everybody :P May 24 23:27:22 hahaha May 24 23:27:25 most people do. but, they hate shelling out that dollar or two even more May 24 23:27:29 I mean like I can't use an app if it has ads May 24 23:27:39 haha i forgot to paste the errror.. anyone know what causes it? May 24 23:27:40 dequeueBuffer: min undequeued buffer count (1) exceeded (dequeued=2 undequeudCount=0) May 24 23:27:52 I dont mind selling for 1-2dollar May 24 23:28:05 but what yours thoughs of that "game" what I linked May 24 23:28:29 grekkos, basically ppl want their apps for free. with lifetime support :p May 24 23:28:44 yeah those tiny apps on tiny screens ! May 24 23:28:51 danijoo_: yeah :| May 24 23:28:54 so tiny, like tiny cost too right ? :D May 24 23:31:52 I like the idea of giving things out for free, I might open source some of my stuff too if it picks up enough speed May 24 23:32:31 me too. but i also like the idea of paying my bills :p May 24 23:32:35 I guess nobody liked it either :P May 24 23:33:20 grekkos: I like getting paid for my work. Plus, if you don’t value your time/effort, why should your user? May 24 23:35:48 not that open source stuff isn’t good May 24 23:35:50 guys, an ythoughs for Grump Jump? May 24 23:36:14 seems weird. you jump around, grab the powerups, and that makes you drunk? May 24 23:36:37 drunk with power ! May 24 23:37:19 yeah its endless point game May 24 23:37:27 i hope intellij has git worktree support ... May 24 23:37:32 in 16 May 24 23:37:33 u get points from those items May 24 23:37:37 but they also punish you May 24 23:37:58 you should add a point counter May 24 23:38:09 doesn’t seem like that much of a benefit May 24 23:38:14 maybe holes where you can fall in May 24 23:38:37 or that you cant jump if your power goes 0 while it gets filled by beer May 24 23:38:57 but then how would you move? May 24 23:39:20 you dont. you lost then May 24 23:39:30 use x jumps to the next beer or lost May 24 23:39:48 but doesnt matter, I tried push it for somebody to do it at fevverr site or what ever May 24 23:39:56 but havent heard of them long time. May 24 23:40:19 dude, trying to get a game done on fivver? That’s pretty shitty May 24 23:41:45 I tried atleast :P May 24 23:41:58 if you are really looking for someone to finish it here: see the topic first ;) May 24 23:42:03 Im not coder type guy May 24 23:42:13 im actually "3d artist" May 24 23:42:17 no time like the present to learn May 24 23:42:31 wheres the 3rd dimension in that game :p May 24 23:42:43 nowhere? May 24 23:42:50 it was pratice projext, remember? May 24 23:42:57 i see :) May 24 23:43:35 when you add up all of the stuff that would have to happen for that game, it could easily be $5k-20k for the development May 24 23:43:49 latest pratice project what I have done was cave thing: https://dl.dropboxusercontent.com/u/73169970/ManInCave.gif May 24 23:43:59 and that’s assuming you’d do all of the art, all of the marketing, etc May 24 23:44:48 and if you are unlucky you dont earn a single $ :/ May 24 23:44:58 5k-20k? May 24 23:45:06 to start, yeah May 24 23:45:13 mobile dev ain’t cheap May 24 23:45:15 you mean I should pay that much or I could earn that much? May 24 23:45:21 pay that much May 24 23:45:33 even if I did most of the work? May 24 23:45:47 like what? May 24 23:45:48 you can earn anything from 0 (likely) to a lot (not so likely) May 24 23:45:56 with a good game and even with a bad one if it goes viral May 24 23:46:23 but I dont really wanna try alone since my projects never get finished honestly :I May 24 23:46:40 If someone else does all the programming you are not doing most of the work May 24 23:46:52 but in art way..? :F May 24 23:47:15 art is a big part of it, but I wouldn’t say art alone would be most of the work May 24 23:47:28 how long does the art for that take you to do? May 24 23:47:30 there’s still marketing and promotion as well May 24 23:47:30 but grump jump is maby myself May 24 23:47:41 made* May 24 23:47:54 programming could be several months depending on the features May 24 23:48:19 now think what a dev is payed per month May 24 23:48:25 you have the title screen, the integration with high score services, the social media integration? May 24 23:48:29 took me like little over 1 month to make that :3 May 24 23:48:43 but not working 8 hours per day i guess May 24 23:50:00 ye May 24 23:50:11 im just lonely grumpy fatass guy :I May 24 23:51:15 keep at the game. don’t worry about it May 24 23:51:59 anyoenknow about this error? May 24 23:52:01 the journey is the reward :) May 24 23:52:08 it seems like it’s happening when I do BT stuff (sometimes) May 24 23:52:09 http://pastebin.com/38vm4wAh May 24 23:52:18 I have gave up already May 24 23:52:30 so I just only continue with praticing little scripting. May 24 23:52:58 this particular case, it’s waiting for a read, then it get some bytes May 24 23:53:02 keep working at the practice. it can turn into a job May 24 23:53:06 ^ May 24 23:53:09 did for me :) May 24 23:53:59 meh :I May 24 23:54:42 hah this is cool http://www.gizmag.com/o6-eyes-free-control/43511/ May 24 23:55:02 finally wearable useful :) May 24 23:59:29 do you guys know any gamedeving channels though..? May 24 23:59:56 #unity3d May 25 00:00:16 #unrealengine May 25 00:00:39 well.. cant go to unity3d and unrealengine is other engine :P May 25 00:00:50 why you cant go to 3d? May 25 00:00:53 get banned from unity3d? May 25 00:00:57 ye :/ May 25 00:01:00 lol May 25 00:01:00 there’s also #reddit-gamedev May 25 00:01:03 for reasons i guess :p May 25 00:01:10 im banned from there too xD May 25 00:01:32 warning! danger, will robbinson May 25 00:01:38 hehe May 25 00:01:43 im hatefull character :P May 25 00:02:00 Then start working on improving your personality... May 25 00:02:21 that is not kinda possible cause I dont like to lie. May 25 00:02:35 no, that’s absolute horse shit May 25 00:02:42 At the risk of blowing your mind, it's possible to be nice and not lie at the same time. May 25 00:02:50 nobody is saying you have to lie. just don’t be a fucking asshole May 25 00:02:52 theres a difference between lying and beeing an asshole May 25 00:03:19 being honest about things draws easily pic "asshole" May 25 00:03:23 But there's no argument that a little bit of lying helps smoothing things with people occasionally. May 25 00:03:23 learn some tact. it’s actually pretty easy May 25 00:03:52 Sk3l3tor: then learn when you should just keep your mouth shut May 25 00:04:00 but I guess best way to avoid getting argue with people is just idle May 25 00:04:16 cause some spefic people just simply gets easily pissed. May 25 00:04:21 i worry a whole generation of yungins only interacts through messaging, and now via automated replies and doesn't know how to talk to people May 25 00:04:24 best way to avoid arguing is not arguing :p May 25 00:04:27 and when those people are ops or friends of ops. you are fucked :D May 25 00:04:30 pretty much May 25 00:05:01 like when i hear people breaking up over Fb status update, lol thats like no social skills at all May 25 00:05:31 Sk3letor sounds like you need counseling though May 25 00:05:49 or at least a communications class May 25 00:05:58 thats okay, I can handle it myself. May 25 00:06:04 I just cant change the bans. May 25 00:06:18 * danijoo_ never got banned from any channel. obviously im a liar :/ May 25 00:06:42 or an idler ^^ May 25 00:06:49 yeah, it’s pretty easy not to May 25 00:07:23 you just have to not get personal in objective discussions May 25 00:07:30 i know thats hard. especially for IT guys May 25 00:07:47 yeah but its all history now. May 25 00:08:01 cant change de pass May 25 00:08:09 also, a lot of people like to say they’re “real” or “unfiltered” or stuff like that, when they’re really just being an asshole May 25 00:09:06 you know whos asshole for "real" ? May 25 00:09:22 those who fake ''caring'' May 25 00:09:55 how can you fake caring? May 25 00:10:03 if someone doesnt care he has no reason to fake it May 25 00:10:12 but they do May 25 00:10:14 cause its polite May 25 00:10:19 politic* May 25 00:10:30 for example if I come here and say " I tried yesterday suicide " May 25 00:10:34 what you would say? May 25 00:10:39 wrong channel May 25 00:11:11 yeah but still you wouldnt say that stuff for real.. correct? May 25 00:11:28 incorrect. I'd just say it with other words May 25 00:11:45 so you would say in real: " wrong room" ? :D May 25 00:12:05 "sorry for that but this is not the place you are looking for" May 25 00:12:08 or nothing at all May 25 00:12:25 yeah but you are just now atm thinking this through how should be answered May 25 00:12:32 it doesnt come as suprise May 25 00:12:49 I bet somebody have would responded diffrently at some point. May 25 00:12:56 its the internet. I can think as long as i want for every irc line May 25 00:13:11 sure but you get the idea :) May 25 00:13:14 no, this crusade against “fake politeness” is just code for “I want to be an asshole with no consequences" May 25 00:13:40 s73v3r you have deeps thoughs for being asshole all the time, have you been one? :P May 25 00:13:59 actually yes. this is something i struggle with too May 25 00:14:14 Alright let's get back on topic May 25 00:15:01 but in the end everyone is somehow asshole. May 25 00:15:28 its perfect example: https://www.youtube.com/watch?v=tVJC0LJTYZc May 25 00:15:29 :) May 25 00:22:46 lolwut May 25 00:58:14 had to hard restart AS now getting a Error:(org.ccil.cowan.tagsoup.Parser$1). nothing in the project has changed or classes added. any help would be appreciated. May 25 00:58:57 this is on windows. thanks! May 25 01:26:07 had to hard restart AS now getting a Error:(org.ccil.cowan.tagsoup.Parser$1). nothing in the project has changed or classes added. any help would be appreciated. Tried clearing cache/restarting and clean build. still not fixed. Thanks! May 25 01:30:25 impliednude, parsing error seems to be related to SdkVersion. Perhaps you have an update rom that broke stuff. May 25 01:30:25 https://stackoverflow.com/questions/21808188/error-parsing-the-package-while-installing-apk May 25 01:30:45 also if using weird DRM stuff: https://stackoverflow.com/questions/35397956/parsing-error-on-downloading-and-running-an-apk-file May 25 01:33:45 Gaming4JC> weird thing is, It was working perfectly prior to hard reset (made a small change on accident that hung up the build) May 25 01:33:55 nothing was updated or anything May 25 01:39:23 hi May 25 01:40:29 I'm looking to buy a new computer to build apps on. does it make difference if the PC has Intel or AMD processor? or doesn't matter May 25 01:41:36 doesn't matter, particularly if it's new. On older PC you're going to want at least a dual core unless you want to wait a dozen hours on a compile May 25 01:42:04 Make sure it's not one of those mobile Atom processors though May 25 01:42:10 they are slow as molasses May 25 01:42:12 njcomsec i would get intel, becuase haxml May 25 01:42:26 *HAXM May 25 01:42:30 I have Intel myself, but I've used AMD as well. May 25 01:42:50 maybe haxm works on some amd, but i've heard more people have problems with it May 25 01:43:17 i'm surprised amd is still in business :P May 25 01:44:18 thanks I will try to get Intel i5. what my laptop had - until.it died this morning May 25 01:44:35 hopefully 16gb ram ... May 25 01:46:23 will more ram make avd faster? May 25 01:46:35 njcomsec, how did it die? :s May 25 01:47:05 njcomsec, more ram helps a little, but compiling primarily uses CPU May 25 01:47:30 more ram helps with emulation though, if you're using Android VM May 25 01:47:53 hardware failure. OS not found. I could just replace the ssd but I think the whole laptop is old and dying so might as well get new pc May 25 01:48:11 I thought if I have an existing Fragment inside a FrameLayout, then I add another to the same view, it will go on top, but seems like #add() also replaces? May 25 01:48:13 Is that right? May 25 01:48:41 njcomsec, CPU rarely die unless you're having overheating problems. Just put Lubuntu on that thing with a new HDD or USB stick and install Android SDK. :P May 25 01:49:02 recycle when possible I always say May 25 01:49:21 yeh I guess that's worth a try May 25 02:15:34 more ssd makes builds faster May 25 02:22:17 oh man ... http://www.businesswire.com/news/home/20160524006209/en/Ink-Announces-Advanced-Color-ePaper-Breakthrough-Technology May 25 02:27:06 hmph.. so boring life :I May 25 02:27:18 I went to high school with one of the e-Ink cofounders May 25 02:27:27 He's two years younger than me May 25 02:39:49 heh http://www.irrlicht3d.org/pivot/entry.php?id=1504 May 25 02:40:03 hope you windows guys don't want to dl froyo sdk :D May 25 02:41:00 oh looks like its fixed, you guys are in luck ! May 25 02:50:54 Ologn how is first day of xscreensaver launch ? May 25 02:51:39 I have an adapter that deals with 3 recycle views within 3 different activities, Each activity has a hidden textView with the activity identity, In my adapter I have a onClick handler for the recycleviews, How can I get the present activity within the onClick handle May 25 02:53:43 is there a way to do this? I could just shove the identifier in each recycle view and pull it from there but im a little lazy lol **** ENDING LOGGING AT Wed May 25 02:59:58 2016