**** BEGIN LOGGING AT Thu Dec 15 03:00:01 2016 Dec 15 03:00:07 or you can write a generic io driver for i2c in kernel and have configuration stuff on top of that Dec 15 03:00:15 ok - so the 'drivers' with " " are not what i'm thinking Dec 15 03:00:32 but is that even possible, how would the device update itself ? Dec 15 03:00:37 I wrote dimm module drivers, panel drivers Dec 15 03:00:43 i thought the whole point of this is google can update firmware Dec 15 03:00:54 but if you have your own .ko files ... Dec 15 03:00:58 integrations for some usb->serial, rs485, network integrations etc Dec 15 03:01:04 g00s: I think Android is the userland API to talk to kernel drivers Dec 15 03:01:11 well libhibris kinda does that Dec 15 03:01:20 you have a kernel that must match a specific interface Dec 15 03:01:24 uses DRM drivers etc Dec 15 03:01:38 and then you can build whatever on top of that Dec 15 03:02:01 its great because you can say if android runs on this device and I can get those binaries... I can build any linux based distro, ALSO on that hardware Dec 15 03:02:06 well and unlocked bootloader as well Dec 15 03:02:44 shipit what have you been up to lately? haven't seen you around in a while ... Dec 15 03:02:51 more android stuff now ? Dec 15 03:03:13 g00s: I spent the year building an OpenGL/C++ game to rinse my paletter Dec 15 03:03:20 and augment my consulting income Dec 15 03:03:28 what game Dec 15 03:03:29 picked up Firebase, kinda very impressed Dec 15 03:03:51 it's in iOS app store, Android coming soon -- working on release APK w/ openssl fixes Dec 15 03:03:54 iOS is here - https://itunes.apple.com/us/app/keepers-hd/id1071583894?mt=8 Dec 15 03:04:10 I'm like history and art deco so wanted to be a lil creative there Dec 15 03:04:20 cool Dec 15 03:04:23 I wish I could draw Dec 15 03:04:32 or create pretty stuff through other means Dec 15 03:04:47 code is art, ron_frown :) Dec 15 03:05:00 my code is not art Dec 15 03:05:04 its not bad Dec 15 03:05:09 its just not super elegant Dec 15 03:05:21 (my old code was bad, and a lot of what I did on android I felt dirty about) Dec 15 03:05:59 people who can't be creative through artistic means usually end up trying to be creative having children Dec 15 03:06:22 i love how Melatonina drops these little tidbits of insanity Dec 15 03:06:29 my mental stability has quite literally been jeopardized by having kids Dec 15 03:06:35 lol Dec 15 03:06:40 just get a dog :D Dec 15 03:06:45 though the results are little monsters that grow up into adult monsters, usually Dec 15 03:06:48 * g00s misses his dog Dec 15 03:06:49 or motorcycle ;) Dec 15 03:06:54 I wouldnt undo them... but if I had known my sanity would be this wrecked Dec 15 03:06:57 I dont know Dec 15 03:07:16 and the circle of life goes on! Dec 15 03:07:45 shipit did you write a todo app a while back ? Dec 15 03:07:55 with geolocation features Dec 15 03:08:23 g00s: maybe ... I wrote a job search frontend w/ geolocation Dec 15 03:08:56 well i think my mental health declined because in addition to android i was using their BLE apis Dec 15 03:09:07 g00s: wrote a gradle plugin for that, pulled data from indeed and some reactive stuff thrown in to do a serverless customization Dec 15 03:09:10 those require a warning from the surgeon general Dec 15 03:09:14 hehe Dec 15 03:09:29 g00s: always wear a helmet around BLE/WiFi hardware Dec 15 03:09:37 shipit lol Dec 15 03:11:34 hm, this Android Things is not so bad Dec 15 03:12:17 basically its a hub/proxy setup that can run some local code and ship sensor data to remote end point Dec 15 03:12:23 i can't see it being used for anything running on a coin cell Dec 15 03:12:29 nope Dec 15 03:12:50 the coin cell talks to an android board, that board runs your code, updateable etc Dec 15 03:13:04 the board must have dedicated power Dec 15 03:13:44 overkill, those many transistors just for sensor fabric Dec 15 03:13:49 but transistors are cheap ... sigh Dec 15 03:14:56 ron_frown the original brillo stuff was just c++ Dec 15 03:15:01 yeah Dec 15 03:15:07 they did a 180 and added java Dec 15 03:15:09 so if coin cell is talking i2c, the android driver can spin up a Service and do the dew Dec 15 03:15:12 i think that was a mistake Dec 15 03:15:13 i mean I dont see real advantage of this over plain ol shit you run arduinos on now Dec 15 03:15:24 you can write it in java? Dec 15 03:15:28 thats not better. Dec 15 03:15:36 right, runtime more expensive Dec 15 03:15:42 yup Dec 15 03:15:48 GC, more memory, more memory = more energy Dec 15 03:16:11 thats how google rolls Dec 15 03:16:19 get the crap sued out of them by oracle Dec 15 03:16:30 and still suckling at that java tit Dec 15 03:16:51 i guess if android things is really 'android headless' Dec 15 03:17:09 my only thing I'd say that MIGHT be adventageous Dec 15 03:17:21 perhaps some familiarity with the platform Dec 15 03:17:23 MAYBE Dec 15 03:17:37 for putzing maybe Dec 15 03:17:53 but if you are going to achieve economies of scale you want super efficient stuff Dec 15 03:18:07 if/when(?) Google builds support for Rust -- starts becoming interesting Dec 15 03:18:15 esp if you understand the AS/gradle tooling Dec 15 03:18:17 heres what I'd say Dec 15 03:18:25 why the hell would you assume google woudl continue developing it Dec 15 03:18:38 they dropped glass like a bad habbit (understandable) Dec 15 03:18:43 wear is kinda on life support Dec 15 03:18:46 i thought glass is still going Dec 15 03:18:52 android is kinda on life support Dec 15 03:18:58 g00s if they are, its all private Dec 15 03:19:09 I mean I was in fairly early on the glass side of things Dec 15 03:19:23 I don't think android is on life support, the opposite if anything Dec 15 03:19:36 they dont appear to be fixing the real problems Dec 15 03:19:38 android-for-phones is going great Dec 15 03:19:45 google is deeply integrating search, cloud storage (docs, photos) into android Dec 15 03:19:47 android-for-anything-else is not Dec 15 03:19:48 dont appear to be fixing the problems Dec 15 03:19:49 somebody on androidpolice said fucshia was 5 years late lol Dec 15 03:20:16 tablets, watches, cars, TVs... Dec 15 03:20:30 i was hoping for a new n7 Dec 15 03:20:32 yeh I wouldnt invest in building anything for that google alexa thingy Dec 15 03:20:35 ogogle home or whatever Dec 15 03:20:39 guess i will need to look at nvidia Dec 15 03:20:40 just because Dec 15 03:21:06 I never thought I'd admit it but I think I may go to iPhone 8 next year Dec 15 03:21:10 flex oled Dec 15 03:21:13 great camera Dec 15 03:21:21 flex oled? Dec 15 03:21:34 yea, that's the rumor Dec 15 03:21:44 ahve they actually announced specs? because the fan boys tend to get their hopes up more than they should Dec 15 03:21:58 hehe Dec 15 03:22:06 no, Apple won't announce it for a while Dec 15 03:22:07 shipit Trump just got on Tim Cook's care for not decrypting the iphone (today), we'll see if he can hold up against the fascist Dec 15 03:22:18 *Tim Cook's case Dec 15 03:22:30 I'd worry about Sheryl Sandberg being on that table Dec 15 03:22:40 after being so vocal on FB against Trump Dec 15 03:23:12 Trump is about to rip China a new one, so Tim Cook is all ears Dec 15 03:23:41 I voted for trump... way I figure it... I'd rather take my chances on someone I think could be a tad crazy, and say things that are things people dont WANT to hear... than to willingly go into voting for perhaps the greediest, most power hungry... triflin lady Dec 15 03:23:45 I'm for a female president Dec 15 03:24:01 but shes right there with palin on the people male or female I don tthink should ever be president Dec 15 03:24:17 it would have been the rape and pillage of america Dec 15 03:24:29 ron_frown: I see your point, in a way I'm glad no more Bush/Clinton oligarchy Dec 15 03:24:52 not that trump has made any comments about fixing it, but I understand human nature Dec 15 03:25:21 and if you have all of these govt assistance programs... whats the motivation for people to standup and better themselves Dec 15 03:25:26 that was hard to get head around during his campaign: the how is he going to fix it? Dec 15 03:25:30 i think we'll head for depression. last times repubs had prez, house, senate, there was big recession or depression. get ready for america == kansas Dec 15 03:25:49 ehh anything can happen Dec 15 03:26:03 g00s: for whatever reason, stock market is performing really well Dec 15 03:26:04 but some of the things I've heard him propose are exactly the sort of things I think america needs to start doing Dec 15 03:26:26 in fact Brexit made UK's economy stronger, France leaning hard right, so is Italy Dec 15 03:26:32 very very strange times indeed Dec 15 03:26:39 shipit its because expectations of less govt regulation and lower corporate taxes Dec 15 03:26:58 becoming less involved in trying to be the world police Dec 15 03:26:58 g00s: that makes sense Dec 15 03:27:02 er... Dec 15 03:27:09 being less accepting of shady decisions of other countries etc Dec 15 03:27:18 apart from this being majorly off-topic Dec 15 03:27:21 yep Dec 15 03:27:23 I know Dec 15 03:27:26 Leeds vim or emacs ? bacon ? Dec 15 03:27:47 its always off topic when its opinions you dont want to hear =) Dec 15 03:27:50 a) brexit hasn't happened yet b) it's going to *ravage* the UK economy, is already leading to inflation due to the collapse of the GBP Dec 15 03:27:52 not saying YOU Dec 15 03:27:54 just saying Dec 15 03:27:58 oh Dec 15 03:29:01 china is investing heavily into renewables. they put up a wind turbine every hour roughly. trump's govt is anti science, so i don't see how it could work out. and yeah, trickle down economics has never worked out Dec 15 03:29:13 guys im registering a user and login in using .php file at server side, is possible to check if server/file are online before send the data after click the register/login btn? Dec 15 03:29:14 anyhow, guys Dec 15 03:29:17 g00s its like anything else Dec 15 03:29:34 a bunch of cali folks want to live in la la land where its all sunshine and rainbows Dec 15 03:29:35 shipit: actually we have a center-left government after another center-left government (with the name people, except for the prime minister) Dec 15 03:29:54 at this point whether you are talking fusion or fission, nuclear is BY FAR the cleanest energy possible Dec 15 03:29:59 but Dec 15 03:30:01 SamSagaZ_: you can handle a 404 or 5xx status code Dec 15 03:30:05 well cali is the worlds 5 or 6th largest economy ... Dec 15 03:30:07 people get it in there head Dec 15 03:30:17 shipit, i see, ok will search for it! Dec 15 03:30:19 shipit: right doesn't even have a leader here Dec 15 03:30:33 until it sinks into the ocean :( Dec 15 03:30:45 yeah, 4.2 earthquake this mornign here =) Dec 15 03:30:47 g00s: I prefer to think of it as sailing off into the sunset :D Dec 15 03:30:53 Leeds haha Dec 15 03:30:53 SamSagaZ_: I recommend using retrofit if you're not already, instead of writing your own network code Dec 15 03:31:10 ron_frown, g00s - y'all in CA? me too btw Dec 15 03:31:17 g00s aint Dec 15 03:31:18 I am Dec 15 03:31:24 shipit no, the opposite of cali, NJ Dec 15 03:31:24 neat Dec 15 03:31:32 NJ! Dec 15 03:31:39 i know, i'm sorry Dec 15 03:31:49 nah dude, I love Bon Jovi ;) Dec 15 03:31:57 recovering from Chris Christie Dec 15 03:32:04 shipit, ok, i didnt use retrofit, searching abt it now, thanks Dec 15 03:32:38 SamSagaZ_: since it doesn't seem like you're using std REST api, you'll have to look at response interceptors Dec 15 03:32:56 if NJ sinks into the ocean its because acid pollution eroded some rock layer Dec 15 03:33:00 yes i was not using REST api Dec 15 03:33:11 using php and jsonresponses Dec 15 03:33:23 maybe retrofit is the way to go :) Dec 15 03:33:27 SamSagaZ_: you can implement a REST like api w/ php Dec 15 03:33:53 although, I've switched to using google appengine because https and oauth2 comes for free Dec 15 03:34:29 is there anything like retrofit for android but sparql ? Dec 15 03:35:28 g00s: you can write an XML response mapper Dec 15 03:35:32 for retrofit Dec 15 03:35:52 i think the point is the endpoint only sends the things you want Dec 15 03:36:06 instead of a big document to page over Dec 15 03:36:14 the impression i get Dec 15 03:36:49 i haven't seen it in action though, i just have a vague idea Dec 15 03:36:59 hmm Dec 15 03:37:34 Is that like a less hip GraphQL? Dec 15 03:37:55 In any case, it's a content type and thus Retrofit is agnostic to it Dec 15 03:38:30 whats xml Dec 15 03:38:37 oh people still use xml? Dec 15 03:38:48 eg AndroidManifest.xml ;) Dec 15 03:40:03 mmm retrofit looks a little hard :/ Dec 15 03:40:07 ah yes graphql Dec 15 03:40:26 im new with android :/ Dec 15 03:40:29 SamSagaZ_: it's worth the effort! Dec 15 03:40:34 ok Dec 15 03:40:43 will read some tutorials then Dec 15 03:41:23 if you can spin up your own backend and echo some responses from eg a php, you'll makes faster progress Dec 15 03:42:00 the good thing is that i can use python for the restAPI responses :) Dec 15 03:42:20 make it happen! Dec 15 03:42:39 in the long run, it'll streamline your workflow so the upfront cost is worth it Dec 15 03:42:45 your code will be cleaner Dec 15 03:42:55 ok Dec 15 03:44:28 g00s, this year I've been working w/ C++ and the usual GoF patterns Dec 15 03:44:57 however, the common wisdom is to more towards more lambda/functional-reactive programmin Dec 15 03:45:09 I found that hard w/ OpenGL work Dec 15 03:46:05 Command, Strategy, Flyweight etc made it lot cleaner w/ the advantage of imperative language's compile time type checking Dec 15 03:46:38 shipit functional reactive isn't for everything ;) Dec 15 03:46:48 sounds like you did the right thing Dec 15 03:47:24 more like, I couldn't shoehorn a popular approach into where it didn't make sense (atleast to me) Dec 15 03:47:41 shockingly I spent a lot of time implementing pinch-zoom! Dec 15 03:48:27 i have this sorta-kinda CQRS architecture going on now Dec 15 03:48:45 always gotta keep things exciting :) Dec 15 03:49:21 hehe Dec 15 03:49:32 one of the problems is how the denormalized data gets generated from the commands, and how to decouple that from the write / command path Dec 15 03:49:44 i went back to event bus for that Dec 15 03:49:49 hm Dec 15 03:49:56 looked into JavaRx? Dec 15 03:49:59 so i've done the full circle \o/ Dec 15 03:50:11 shipit yeah i have a bit of rx in the app Dec 15 03:51:12 still converting to rx 2 Dec 15 03:51:33 yea ... I'm wrapping my head around rx 2 Dec 15 03:51:42 been away from Android for a while Dec 15 03:51:44 they have a nice writeup Dec 15 03:52:05 its these libraries that make things more pleasureful Dec 15 03:52:06 Is there a good way to reliably get the application context across all class files without relying on having to constantly pass the context around as soon as you're in a non activity class? Dec 15 03:52:30 Ether_Man: why do you need application context everywhere? Dec 15 03:53:05 g00s: yea, defo elegant Dec 15 03:54:20 shipit, sorry, activity context. Dec 15 03:55:23 Ether_Man: still ... needing context outside of I/O or UI? Dec 15 03:56:02 Because SharedPreferences relies on that activity context... Dec 15 03:56:17 ah Dec 15 03:56:44 I get why getPreferences need it, but SharedPreferences really shouldn't >_< Dec 15 03:56:47 so you're accessing SharedPreferences a lot? Dec 15 03:57:15 Not a lot really, just in many different places Dec 15 03:58:03 I would read all data from SharedPreferences into a dedicated Class and pass that around Dec 15 03:58:27 make it Parcelable in case I want to pass it as Bundle/Intent Dec 15 03:58:45 NBC says Putin influenced personally USA 2016 presidential elections Dec 15 03:58:51 I might as well just pass a context around everywhere then. It doesn't really solve the problem Dec 15 03:59:05 hm Dec 15 03:59:22 Communist Russia conquered USA after all Dec 15 03:59:40 the problem with Context is that, down the call tree, someone could cache it and that would be a problem Dec 15 03:59:58 Shouldn't say problem I guess since it's not a problem as such. It just feels like it shouldn't be needed >-< Dec 15 04:00:09 w/ a wrapper Class, you read it once and never touch the Context again, unless you have to update Dec 15 04:02:01 sounds like you have model classes that hang off Activity? Dec 15 04:02:25 that are using SharedPreferences for storage? Dec 15 04:03:50 shipit, no I have things like an asynctask that needs the settings, and I have two handler runnables that update the UI on a "timer" that needs it and some stuff like that. Dec 15 04:07:06 Hi Guys, need some inspiration here, anything will do :) Dec 15 04:09:08 AndroidNewb: your question made me understand why there is a policy against bad language in this channel Dec 15 04:10:08 It's to protect innocent people like you Dec 15 04:10:39 Melatonina, did you wake up on the wrong side of the bed this morning or something? Come on now, be civil. Dec 15 04:11:37 I've been civil. I didn't mean to say AndroidNewb deserved bad language. I said the opposite instead Dec 15 04:14:40 Ether_Man, I think Melatonina wanted to offer NSFW inspiration to AndroidNewb Dec 15 04:15:49 nsfw isnt the same as bad language, but whatever. Wasn't meant to start any argument Dec 15 04:17:51 me neither. It was humor. Not insulting to anybody Dec 15 04:17:54 Ether_Man - what if you move your AsyncTask business into a Service and timers into AlarmManager? just an idea so you don't have to keep passing the Context Dec 15 04:18:20 I'm just nervous about passing the Context around Dec 15 04:24:17 AlarmManager would essentially make it impossible to quit the app since that would just restart it constantly. As for using services. I could potentially migrate the asynctasks to a service, though it wouldn't change anything since it still doesn't have any context. All it would accomplish is add further complexities to an app I'm trying to keep as simple as possible :) Dec 15 04:25:48 Ether_Man: sorry, I feel like there's a simple solution, I just can't get to it! Dec 15 04:26:52 I've been using lot of retrofit for network I/O, comes w/ it's own async-ness or I've moved to RxJava extensions, ie schedulers Dec 15 04:29:14 Ether_Man, you can get at shared prefs from most things, what are you in that you can't Dec 15 04:31:03 The question is how to without having to pass an activity context around to all non activity classes. Dec 15 04:55:35 hi Dec 15 04:56:23 how to set the gravity of a widget in java file? Dec 15 04:57:13 i am getting only setGravity() method and that is for the text of the button not for the button itself Dec 15 05:55:14 Hi, is anyone around? Dec 15 05:55:40 Just wanted to know what the expected behaviour of scrollToPositionWithOffset() was if you try and offset an item at the bottom of a list Dec 15 05:56:02 ie. if you've got an item in the last position on screen and you offset it to be 20px from the top, that won't work Dec 15 05:56:11 Which I guess is to be expected Dec 15 05:56:20 But why doesn't it try and rise as far as possible? Dec 15 06:02:58 ir7466: hi Dec 15 06:03:04 Hi Dec 15 06:03:10 around is my second name Dec 15 06:03:21 That's music to my ears Dec 15 06:03:32 Do you also specialise in recyclerviews? ;) Dec 15 06:04:43 ir7466: no. I just use them from time to time Dec 15 06:05:25 and no, I don't know the answer to your question. Sorry Dec 15 06:11:51 Hello Dec 15 06:13:16 Anyway I could have gcc on my android? I'm currently on 32bit system (the other machine for compiling aosp is @ home), so I can't compile it myself (probably would need help with that too) - is there somewhere already compiled binary I could use? Dec 15 06:14:05 Hello Dec 15 07:02:10 Does android studio have any way to inspect the information in the shared preferences of an app even if I don't know the name of the prefs? Dec 15 07:05:38 I don't think Android Studio can inspect the shared preferences of an app Dec 15 07:05:59 It doesn't run on your Android device Dec 15 07:08:09 I wrote a small shell script to pull these from the device and display them nicely Dec 15 07:08:17 Melatonina, no but it does run an emulator, and can attach its debugger to apps using the debugger Dec 15 07:08:20 I did the same for the db's of the app and display them in a GUI, super useful Dec 15 07:09:34 It's a script, not Android Studio. Dec 15 07:09:43 Indeed Dec 15 07:14:18 o/ Melatonina Dec 15 07:14:28 \o raoul11 Dec 15 07:18:15 great, found the bug Dec 15 07:18:27 but the person who had it denies it /: Dec 15 07:22:50 raoul11, you'll be amazed what people can deny having, while it being very very obvious they have it... I've had a guy just last week that swore he had internet... Except the switch he was connected to, had been frozen for over a week and wasn't sending or receiving anything... So not only did he not have internet like he swore, he didn't even have any network connectivity at all. Dec 15 07:24:27 luckily firebase crash data was useful, so the device in question + their mobile carrier gave it away Dec 15 07:35:48 hey all, i'm having a bit of trouble on my first android app with setting the theme Dec 15 07:35:59 here is my relevant code: https://gist.github.com/anonymous/98b020a1c406c8a7772157c7685147df Dec 15 07:36:14 I'm getting an error that says "You need to use a Theme.AppCompat theme (or descendant) with this activity." Dec 15 07:36:31 From what I looked online, it seems that I can fix the issue by using a theme from Theme.AppCompat Dec 15 07:36:44 But I'd like to use the Material Dark theme. How can I do that? Dec 15 07:37:17 derive from Theme.AppCompat and override everything until it looks like Material Dark Dec 15 07:38:21 is there something I can do so that I don't have to use Theme.AppCompat at all? So that I can just use Material? Dec 15 07:39:48 i dont get why there would be a theme that you can't use straight out of the box, so i imagine im probably doing something wrong Dec 15 07:40:17 you are extending AppCompatActivity Dec 15 07:41:09 inhwj: http://stackoverflow.com/questions/32510025/android-material-design-with-appcompatactivity Dec 15 07:41:44 Yeah I read that one already I believe Dec 15 07:42:05 ok Dec 15 07:42:05 oh nvm Dec 15 07:42:53 ty Melatonina i will try that Dec 15 07:43:10 raoul11: Is there a way to do this without extending AppCompatActivity? Dec 15 07:43:35 This is for a class and my prof is only testing for API level 24, so I don't really care about backwards compatability right now Dec 15 07:44:12 you can extend just Activity Dec 15 07:44:19 if you dont need backsupport Dec 15 07:46:01 raoul11: Ah okay thats what I was looking for Dec 15 07:46:15 Thanks a lot Melatonina and raoul11 Dec 15 07:46:43 * thepoosh raoul11s raoul11 Dec 15 07:46:50 doesn't work that good Dec 15 07:46:53 * raoul11 thepooshes thepoosh Dec 15 07:46:58 what's up brotha Dec 15 07:47:08 do it nao Dec 15 07:47:23 hehe Dec 15 07:47:53 got internet issues thepoosh Dec 15 07:48:09 been dc'ing since yday, runnin a shitty 3g nao Dec 15 07:48:25 sux Dec 15 07:48:33 go punch them in da face Dec 15 07:48:49 too cold outside Dec 15 07:48:55 hmmmm Dec 15 07:48:55 its like 11c in tel aviv Dec 15 07:49:01 I'll do it for the right price Dec 15 07:49:04 which is what in jlm, -29? Dec 15 07:49:14 http://02ws.co.il/ Dec 15 07:49:40 what a cute site Dec 15 07:49:50 u jlms u Dec 15 07:52:07 what the heck is that? Are those klingon runes? Dec 15 07:52:14 Are you trekkies, guys? Dec 15 07:52:26 j/k Dec 15 07:52:47 who isnt Dec 15 07:52:52 I'm not Dec 15 07:52:54 TNG4lyfe Dec 15 07:52:59 BOOOOOOOOOO Dec 15 07:53:03 i booooo u Melatonina Dec 15 07:53:25 :( Dec 15 07:53:44 theres a new ST franchise going on soon Dec 15 07:54:18 I watched all series but I'm not a fan Dec 15 07:54:48 yer a strange individual my friend. Dec 15 08:05:30 Melatonina: Hebrew Dec 15 08:59:09 hey , can anyone help me consuming GITHUB API using android studio ? Dec 15 08:59:49 anyone ? please .. Dec 15 09:03:02 retrofit that sh*t Dec 15 09:05:34 could u please elaborate ?> Dec 15 09:08:03 I Got it ! Thanks man ! Dec 15 09:19:11 thepoosh: I knew it. I wrote I was joking Dec 15 09:50:12 Hi im trying to wrap my head arround how i am supposed to use firebase analytics. Coming from google analytics the lack of screen view tracking confuses me. My question is mainly what should you track and what should you not trakc? More of like a best practice guide. Dec 15 09:50:37 thats a very good question arkaros Dec 15 09:51:31 i create custom events, hopefully firebase will upgrade their analytics shit (without bigquery) anytime soon Dec 15 09:52:13 you can create a custom event for every screen, and then create a funnel to simulate how users interact with your app Dec 15 09:53:37 What really confuses me is that they have a method called setCurrentScreen that i can't for the life of me figure out what it actually does Dec 15 09:56:11 i think it does that automatically Dec 15 09:56:38 but afaik you can only see the results on bigquery Dec 15 09:59:18 Well then tbh firebase analytics just seems like a downgrade from google analytics if you don't use the rest of firebase. I would also like to filter events based on parameteres but right now it seems that you can only do that by adding an audience but adding multiple audiences per event just seems weird. Dec 15 10:00:20 is it possible to run firebase tests on actual devices that also receives incoming calls and outgoing calls (from a specific country prefix). The most important part is to test that part of my app on actual devices (different devices and not just nexus/pixel series) Dec 15 10:02:12 that, or the not so free bigquery arkaros Dec 15 10:03:12 raoul11: Thanks a lot for your help gonna look into bigquery and see if it is worth it Dec 15 11:05:26 hi. I've a recyclerview with a list of cardviews. In these cardviews i've an "add" button. When i click on it an http call starts. The response of the call is the same original list but with a different order. How can i update the data in the recyclerView this way? Dec 15 11:07:08 I suppose the callback is set in the adapter Dec 15 11:07:41 when you create the adapter, pass and store a reference to the activity or fragment that is hosting the recyclerview Dec 15 11:07:55 When I view my emulator in Android Device Monitor, the File Explorer doesn't show anything: http://i.imgur.com/UOEZXk0.png Dec 15 11:08:07 I've tried deleting the emulator and creating it from scratch and still no good Dec 15 11:08:14 or, more elegantly, pass a callback to be called when the add button is clicked Dec 15 11:08:19 Hi, how can i check whether text change on a edittext was by user or programatically? Dec 15 11:08:24 Am I doing something wrong? Dec 15 11:08:42 Or - how to not trigger textchange listener when using settext Dec 15 11:09:07 in said callback reset the data of the adapter and call notifyDatasetChanged() Dec 15 11:09:11 done Dec 15 11:11:31 astroduck: mark it before you call the setText() and unmark it after that Dec 15 11:12:00 astroduck: since you can manipulate the UI only in the UI thread, this will work Dec 15 11:12:41 astroduck: if the text changed callback is called when the EditText is marked, it's done programmatically, otherwise it's the user typing Dec 15 11:13:25 thanks to me Dec 15 11:13:28 twice Dec 15 11:14:10 inhwj: I could help you but since the two people I just helped didn't thank or give any feedback, I won't help you Dec 15 11:27:31 Melatonina: i can just reset the list (I mean the java list containing the data) ? Dec 15 11:28:32 LucaS05: if you just have to update the list, yes. But call notifyDatasetChanged() Dec 15 11:28:41 ok Dec 15 11:29:07 LucaS05: I suspect something wrong in your code Dec 15 11:29:26 Melatonina: what exactly? So i can inspect Dec 15 11:29:58 LucaS05: it's just strange that you have to request a whole new copy of the list just because you added one item Dec 15 11:30:29 it's an "add" button with a peculiar semantics Dec 15 11:30:41 Melatonina: That's alright I guess lol Dec 15 11:30:45 I'll try StackOverflow Dec 15 11:31:24 Melatonina: oh maybe you need the big picture here (or most of it). When you click add there's a call to a server containing an expert system that reorder the list based on that choice Dec 15 11:31:41 inhwj: I was joking but your question is not clear to me, sincerely Dec 15 11:32:18 Melatonina: Oh lol well I'm basically just trying to see the file explorer for my emulator Dec 15 11:32:31 Melatonina: the list is a restaurant menu. So the expert system reorder the list based on that choice Dec 15 11:32:36 LucaS05: so when you add an item, the system "learns" something and attempts to display the items in a better order Dec 15 11:32:40 LucaS05: Ok. Thanks Dec 15 11:32:49 but when I click on the File Explorer tab for that emulator in the Android Device Manager, it doesn't show anything at all Dec 15 11:32:52 Melatonina: Exactly. Dec 15 11:33:05 Android Device Monitor* Dec 15 11:34:00 LucaS05: I was confused and thus my answer was more complicated than what is needed. You are inside the adapter, just update the list and call notifyDatasetChanged(). Dec 15 11:34:18 Melatonina: Ok. Dec 15 11:35:55 My doubts are now about the fact that I've chosen a ViewPager for the menu. So every page is a category. When a user clicks "add", i need to update the others categories too. Other than the current. What do you think about this? Is the viewpager suitable for this? Dec 15 11:36:30 Hey guys, is there any good way to add a fragment which will be floating at the bottom to all activities programmatically without breaking any page? I was thinking before inflate make an absolute layout and put the layout that was about to be inflated and my fragment inside that absolute layout and then inflate the absolute layout Dec 15 11:36:58 LucaS05: yes but I would dispatch the event outside the adapter, to an object that knows about all adapters and updates them all. So a callback or a reference to an external object is needed, after all Dec 15 11:39:26 Melatonina: Apparently some ppl had the same issue on newer versions of Android Dec 15 11:39:38 and are saying that going to an older version makes it work again Dec 15 11:39:40 which seems weird lol Dec 15 11:39:57 inhwj: it happened randomly once to me too. I don't know what caused the problem or fixed it. Sorry Dec 15 11:41:36 no worries lol just nice knowing im not the only one Dec 15 11:41:44 ty for your time Dec 15 11:42:18 :) Dec 15 11:42:38 Melatonina: are you saying outside the adapter of the ViewPager or the adapter of the single ReciclerView? Dec 15 11:42:50 Almis90: I guess all your activities should be composed by two fragments, the one that will float and the other containing the current content of the activity. You should probably derive all activities from a base class Dec 15 11:43:12 LucaS05: outside the adapter of the single recycler view Dec 15 11:45:10 Melatonina: so that "outside" is the fragment of the ViewPager Dec 15 11:45:26 because it's the nearest one Dec 15 11:45:42 nearest to the ReciclerView Dec 15 11:45:52 RecyclerView Dec 15 11:45:55 yes, that would be a good choice I guess Dec 15 11:46:32 there you can call a method in EACH of the recyclerviews to update them. Or something like that Dec 15 11:47:20 of course even the recyclerview containing the item containing the button that was pressed will be updated, among the others Dec 15 11:48:37 Yes, but in that case i will keep track of the added items. So they will be displayed differently in the current recyclerview (with a "remove" button) Dec 15 11:49:12 Melatonina I not sure how a base activity gonna help me, my issue is now that I have 20+ activities and I don't want to go and add the fragment to all activities, I have all of kind layouts linear,grid,relative and framelayout. Dec 15 11:49:45 So I trying to find a way to add the fragment with breaking the layouts Dec 15 11:49:46 Almis90: that's exactly why you have to have a base activity Dec 15 11:49:51 Melatonina: anyway the fragment is about a single page, so i think that i don't have a method for getting all the recyclerviews, to update them Dec 15 11:50:20 or maybe i can create a static field holding them Dec 15 11:50:42 LucaS05: no static field Dec 15 11:50:55 LucaS05: what contains the ViewPager? Dec 15 11:51:02 Melatonina: i mean a private one Dec 15 11:51:17 LucaS05: an activity? a fragment? Dec 15 11:51:29 a fragment Dec 15 11:51:36 the fragment is the single page Dec 15 11:51:57 so that fragments creates all the recyclerviews Dec 15 11:52:10 and add them to the pager adapter, right? Dec 15 11:52:16 adds Dec 15 11:53:50 Melatonina: Yes. In that fragment i take the recyclerview for the current page from the layout, and i create it and set the adapter for it Dec 15 11:54:29 what is the places that creates all recycler views? Dec 15 11:54:37 directly or indirectly Dec 15 11:54:49 you have to propagate the event to that level Dec 15 11:54:51 Melatonina so in my base activity I will set the content view to be something like this (pseudocode) Dec 15 11:55:27 Almis90: no Dec 15 11:56:06 Sorry can you give more details? I don't know how I could implement it Dec 15 11:56:21 the content of each of your current activities becomes a fragment Dec 15 11:56:29 once you do that Dec 15 11:56:45 you create an abstract activity which hosts two fragments Dec 15 11:57:35 the abstract method just creates and returns the fragment that is specific to each concrete activity Dec 15 11:57:46 the other fragment is the, common, floating fragment Dec 15 11:59:02 Melatonina: If this could help, in my FragmentPagerAdapter I've a reference to all the adapters that are created (every page of the viewpager). These adapters are instances of class RecyclerView.Adapter. So FragmentPagerAdapter could be the right place, isn't it? Dec 15 11:59:20 Melatonina okay thank you I will do it now Dec 15 12:00:48 LucaS05: I guess yes. when you create the recyclerview adapter, you should pass a reference to that object Dec 15 12:04:02 Melatonina: which object? the FragmentPagerAdapter? I think that an interface/callback method is better Dec 15 12:04:31 yes, the callback is more elegant Dec 15 12:18:04 Melatonina: ok, i will try it, and i will let you know. If you will be here :) Dec 15 12:18:56 Ok. Good luck Dec 15 12:19:01 :) Dec 15 12:33:23 inhwj Ive had the bug too. Havent found a way to get around it though. But I wonder if Stetho could help you check files (if you want to check DBs for instance) Dec 15 13:24:40 How can I show a part of a picture Dec 15 13:24:59 and the 'translate' it to view more from the 'left' or 'right' Dec 15 14:07:43 * raoul11 thepooshes thepoosh Dec 15 14:15:34 * thepoosh molests raoul11 Dec 15 14:15:38 is this still a thing? Dec 15 14:15:50 shud be Dec 15 14:15:54 whatcha up2 Dec 15 14:16:06 kkk Dec 15 14:16:12 fixing bugs Dec 15 14:16:16 finished features for now Dec 15 14:17:07 gettin ready for shabbas? Dec 15 14:17:58 hey! Dec 15 14:18:07 thepoosh: raoul11 Dec 15 14:18:25 tell me how to pan a picture Dec 15 14:18:29 herro warrshrike Dec 15 14:18:47 I have some questions if you don't mind Dec 15 14:18:50 my good man Dec 15 14:19:44 explain the question to a simpleton like me Dec 15 14:19:52 didn't understand what you want to do to the pic Dec 15 14:20:21 ask the pic for permission first Dec 15 14:20:41 you cant just do things to it without consent thepoosh Dec 15 14:20:46 this isnt 1734 Dec 15 14:21:21 raoul11: that's why it's called molestation Dec 15 14:21:46 more_than_buchris? Dec 15 14:21:49 Hahaa okay Dec 15 14:21:54 so its like this Dec 15 14:21:57 soz, #more_than_buchris? Dec 15 14:22:10 I'm building a quasi navigation app for indoors Dec 15 14:22:18 OI have a map as JPG file Dec 15 14:22:38 mmmkay Dec 15 14:22:48 I want to simulate the marker 'moving' on the map Dec 15 14:23:04 by only showing 10% of the maps at once Dec 15 14:23:09 and 'panning' it Dec 15 14:23:23 so the market stays at same place but image 'map' moves Dec 15 14:23:38 and it LOOKS like the marker is moving Dec 15 14:23:51 warrshrike: sounds like a good way to get an OOM exception Dec 15 14:24:21 whats an OOM Dec 15 14:24:36 out of mem? Dec 15 14:24:50 yeh Dec 15 14:24:55 no it isnt that large an image just one buildings floor plan Dec 15 14:25:06 ~2 mb Dec 15 14:25:08 it's a Bitmap Dec 15 14:25:15 that is larger than the screen Dec 15 14:25:26 which shows about 2.8MP Dec 15 14:25:56 yeah but I can show a part of it right? Dec 15 14:25:58 right? Dec 15 14:26:20 yes, but this panning you want to do is actually loading the entire thing to memory Dec 15 14:26:37 oh Dec 15 14:26:44 well do you have a better solution Dec 15 14:26:53 GL Dec 15 14:26:59 or since its just a demo i wouldnt mind if it worked... Dec 15 14:27:03 opengl? Dec 15 14:29:14 Hey! Dec 15 14:53:56 Anyone there Dec 15 14:58:57 soup? Dec 15 15:00:39 Narrator: Nobody was there. warrshrike's death was sudden. Dec 15 15:02:33 Sorry, that's kinda harsh. Dec 15 15:11:11 it was Dec 15 15:11:19 hey im putting an image Dec 15 15:11:31 and i want it to be massive and scrollable Dec 15 15:11:46 but imageview makes it tiny and resizes it to fit the view Dec 15 15:11:54 what can I do? Dec 15 15:12:55 TacticalJoke: Dec 15 15:13:05 dsardari: Dec 15 15:13:12 warrshrike: Dec 15 15:13:26 any ideas brother of the Android Watch? Dec 15 15:21:58 warrshrike: what are you layout params for your imageview and is your image actually massive? Dec 15 15:22:46 dsardari: image is 3000*2000 Dec 15 15:22:51 imageview android:layout_width="match_parent" android:layout_height="match_parent" Dec 15 15:23:07 I'd like it to be greatly zoomed in and scrollable Dec 15 15:24:04 how cna i keep the divider lines in my listview if i have padding/margins? atm the divider lines are also affected by left/right padding, looks weird Dec 15 15:24:45 KukOrkan: Can't you put the padding on the children themselves (rather than on the ListView)? Dec 15 15:24:55 That may be the only solution (not sure). Dec 15 15:25:07 lol Dec 15 15:25:08 yeah Dec 15 15:25:16 that slipping my mind, thanks Dec 15 15:25:20 slipped* Dec 15 15:25:53 warrshrike: What about the ImageView's parent view layout params? Are you using some sort of image loader or how are you setting the image to the ImageView? Dec 15 15:26:10 setting it to imageview in the xml Dec 15 15:26:53 imageview is surrounded by linear layout, since I thought imageview would be massive and make linear layout scrollable Dec 15 15:32:30 warrshrike: Linear layout is not inherently scrollable. You have to use ScrollView or NestedScrollView. Dec 15 15:35:59 hmm Dec 15 15:36:15 cant i set to scrollable in xml? Dec 15 15:37:02 warrshrike: No. Dec 15 15:37:07 LinearLayout is not scrollable. Dec 15 15:38:17 LinearLayout is actually really simply. If it supported scrolling, it'd be way more complex. Dec 15 15:39:31 My LinearLayouts are scrollable Dec 15 15:40:05 barq: Because you use ScrollView or something. Dec 15 15:40:10 nope Dec 15 15:40:28 okay Dec 15 15:40:33 barq: Then ow? Dec 15 15:40:34 how* Dec 15 15:40:48 I tried loading my 3000x2000 on my s7 edge Dec 15 15:40:51 by default I guess Dec 15 15:40:53 it threw an OOM Dec 15 15:40:56 strange Dec 15 15:41:03 barq: LinearLayout doesn't scroll. Dec 15 15:41:10 what alternatives do I have Dec 15 15:41:11 You must have a scrolling thing somewhere. Dec 15 15:41:41 My xml does not Dec 15 15:42:24 setContentView(id, true) Dec 15 15:43:44 Yeah, it's done in code Dec 15 15:43:54 And then the LinearLayout is added Dec 15 15:45:22 help instead if fighting like girls ~_~ Dec 15 15:45:58 warrshrike: What is the latest question? Dec 15 15:58:44 I'm guessing the OPO probably has one Dec 15 15:58:46 !@#$@! Dec 15 16:08:55 How do I make linearlayout scroll Dec 15 16:09:07 put it in a scrollview Dec 15 16:15:22 Hello! Is the android.util.Pair<> class functional? When I try to instantiate it: new Pair (1, "abc") it throws RuntimeException ??? Dec 15 16:19:34 zap, it is. What are you trying to do? scene transition? if yes, you're doing it wrong Dec 15 16:19:56 no, I just have a function where I want to return a couple of return values Dec 15 16:21:20 can i do in one thread: synchronized (obj) { obj = new Class(); } and in another thread: synchronized (obj) { doSomething(obj); }? so is the mutex associated with the variable name 'obj'? or does the mutex get destroyed when i replace the previous object with new Class? Dec 15 16:22:22 adq: here is the function, look at the bottom: http://pastebin.com/7UZTvDGj Dec 15 16:22:41 zap, snippet + stacktrace otherwise because Pair pair = new Pair<>(1, "abc"); does not crash here, and if i want pair.first i get 1 Dec 15 16:24:29 * Zharf prefers Pair.create(1, "abc") :) Dec 15 16:24:47 but yeah um, there's no reason a Pair ctor would throw Dec 15 16:25:22 because all it literally does is assign a couple of fields Dec 15 16:25:35 stacktrace or [censored] Dec 15 16:26:03 well, RuntimeException is from a null pointer reference after the function returns a bogus Pair Dec 15 16:26:11 so it's not really the constructor that throws Dec 15 16:26:26 The constructor "kind of works" but creates a bogus object Dec 15 16:27:00 maybe you're mixing up primitive type (int) and class (Integer) somewhere, who knows without the stacktrace and the corresponding line where it crashes.. Dec 15 16:27:45 zap, attach a debugger, demystify your beliefs Dec 15 16:27:50 you can always spawn the debugger, add breakpoint where you think it is relevant Dec 15 16:27:51 and inspect Dec 15 16:28:03 ninjaed :' Dec 15 16:28:06 :) Dec 15 16:28:08 ;) Dec 15 16:28:23 yes, 'tok' is 'int' but I thought it will promote it to Integer automatically Dec 15 16:28:29 it will Dec 15 16:28:32 Sure I'm under the debugger Dec 15 16:28:32 it's not a problem Dec 15 16:28:40 but I can't understand what happens here Dec 15 16:28:47 well you wrote the code Dec 15 16:29:17 pair literally puts two parameters into final fields... they're not going to be null if you don't put null there Dec 15 16:29:43 Umm... the program is actually a "local test" in google terms Dec 15 16:29:51 e.g. under src/test/java/ Dec 15 16:29:58 and it runs on my local java machine Dec 15 16:30:06 sure, attach a debugger Dec 15 16:30:22 I am, but when I try to trace the constructor it takes me hell knows where Dec 15 16:30:25 put in a breakpoint and follow the trail Dec 15 16:30:35 don't worry about the constructor Dec 15 16:31:21 unless of course you're importing some other Pair and not android.util.Pair or android.support.v4.util.Pair Dec 15 16:32:08 I put a breakpoint on "Pair ret = new Pair<> (tok, val);" Dec 15 16:32:19 then I press F7 (trace into) in Android Studio Dec 15 16:32:53 and it opens ReflectiveCallable.java at the line "throw e.getTargetException();", and the stack is completely different Dec 15 16:33:18 aha, it looks like the line "catch (InvocationTargetException e)" worked Dec 15 16:33:23 ClassNotFoundException? Dec 15 16:33:38 I don't know what is InvocationTargetException Dec 15 16:34:18 looks like constructor invocation thrown this exception and it got caught somewhere in JUnit guts Dec 15 16:34:39 it's to do with reflectio Dec 15 16:34:40 n Dec 15 16:34:56 what methods in RecyclerAdapter should i override to instantiate and close a database session (Realm)? Dec 15 16:34:59 Well, I'm a Java programmer second week only Dec 15 16:35:00 :) Dec 15 16:35:24 although I'm a C++ programmer >25 years, so I'm not totally dumb, but I don't speak "reflection" yet Dec 15 16:38:36 is it android.util.Pair that you're importing? Dec 15 16:38:56 yes Dec 15 16:39:28 I wonder if the test runtime has that in the classpath... Dec 15 16:39:41 I've never written any unit tests for android stuff... Dec 15 16:40:27 I'm trying to catch(InvocationTargetException) but compiler refuses: "error: exception InvocationTargetException is never thrown in body of corresponding try statement" Dec 15 16:40:33 You probably need to mock it, or use robolectric Dec 15 16:40:44 what is 'mock'? Dec 15 16:40:49 Does the stacktrace not at all hint at it being a stub or something? Dec 15 16:41:33 nope, the exception handler just somehow emulates a bogus constructor and returns a bogus object into my code, which further expectedly crashes Dec 15 16:41:43 it returns a Pair Dec 15 16:42:11 pastebin the stacktrace in it's full glory Dec 15 16:43:08 I'm trying to set up an Android emulator/dev environment Dec 15 16:43:16 Whoa! I caught it as a raw Exception! e.printStackTrace() now says "java.lang.RuntimeException: Method create in android.util.Pair not mocked." Dec 15 16:43:20 I installed Android Studio but I don't have access to adb.exe or emulator.exe Dec 15 16:43:27 I can't figure out how to get set up Dec 15 16:44:19 Do I have to mock the Pair class? Ha ha! Ha ha ha! Look at that ugly Pair! (enough mocking?) Dec 15 16:45:14 guys, I'm looking into this issue: Dec 15 16:45:27 https://code.google.com/p/android/issues/detail?id=41237 Dec 15 16:45:38 mocking is a thing you do when you want to test things in an environment that doesn't have those things or if you want to make them behave in a predictable manner, etc Dec 15 16:46:00 and at the end of it, one of the admins puts a label: fixit-0915 Dec 15 16:46:03 "dummy" implementations of sort... although Pair is so simple you can just copypaste the source code Dec 15 16:46:28 zap, https://en.wikipedia.org/wiki/Mock_object Dec 15 16:46:28 what does it mean?, is there anywhere I cann look what devlopers did whit that issue? Dec 15 16:46:54 guanche: Nothing has been done, ADT is deprecated Dec 15 16:47:01 zap, https://github.com/android/platform_frameworks_base/blob/master/core/java/android/util/Pair.java Dec 15 16:47:39 but it actually refers to aapt's option --ignore-assets Zharf? Dec 15 16:47:51 here it explains it: http://tools.android.com/tech-docs/unit-testing-support#TOC-Method-...-not-mocked.- Dec 15 16:48:21 So, I can not call any android APIs from tested code... I must rely only on my own classes Dec 15 16:49:19 yes, you would mock the android APIs that you want to use Dec 15 16:49:27 hmm, this sucks... looks like androidTest's are the way to go... Dec 15 16:50:31 or is there any other way I can make aapt ignore some files under `res'? Dec 15 16:51:29 I've tried hidding it with a leading .dot, using `--ignore-assets' many different ways, but these all end up on the resulting `R.java' file Dec 15 16:53:59 hi. I'm calling restartLoader on the SupportLoaderManager. The problem is that the loader's loadInBackground method is not called. Why? Dec 15 16:55:22 do i need to maybe call initLoader again? Dec 15 17:26:05 funny, it only works if I do this: --ignore-assets ":*.xml.in:" Dec 15 17:26:45 with the environment variable `ANDROID_AAPT_IGNORE' I can use "*.xml.in", though Dec 15 17:27:58 at least it fully respects it, I can duplicate resources and it won't complain now Dec 15 18:26:14 hithere Dec 15 18:27:16 what shortcut is dedicated to function where one choose number for row and lately is able to "rotate" between those rows with another shortcut? Dec 15 18:28:46 can you try to rephrase that? I’m having trouble understanding what you’re asking Dec 15 18:29:06 sry Dec 15 18:29:09 in android studio Dec 15 18:30:56 I need to activet asignment of bookmark to chosen row Dec 15 18:31:44 ok ctrl + f11 Dec 15 18:50:27 I would like to create some tooltips in my app. I have been through http://stackoverflow.com/questions/21031488/android-popupwindow-with-tooltip-arrow SuperTooltips looks fine but it is discontinued. Are you using own solution based on for example PopupWindow or something ready to go? What would you suggest? Dec 15 18:51:09 Still having some serious toolchain issues with the latest update. Still seeing this error during runtime: E/AndroidRuntime( 6117): java.lang.RuntimeException: Unable to start activity ComponentInfo{my.package/my.package.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052 Dec 15 18:51:16 Is anyone else seeing this? Dec 15 19:26:42 hey droids, I have an app that doesn't respond to touch events (appearing frozen). That being said, when I touch down, I see `D/ViewRootImpl: ViewPostImeInputStage ACTION_DOWN` in logcat and I don't get an ANR. Any thoughts as to why this might be? Dec 15 19:27:02 My first thought is an invisible activity covering the screen, but I'm not really sure how I would check that Dec 15 19:27:19 it could be that, or it could be a containing view swallowing the touch event Dec 15 19:29:55 s73v3r: good point. is there a way to dump the view hierarchy? Dec 15 19:30:15 yes Dec 15 19:30:36 i think there’s supposed to be a way to do it in Android Studio itself, but I forget Dec 15 19:31:06 if you go under Tools->Android->Android Device Monitor, there’s a thing to do it there as well Dec 15 19:31:37 the other thing I would check is that the appropriate view actually has touches enabled, and has an onClickListener Dec 15 19:36:02 can I turn on/off Mock Locations with adb? Dec 15 19:49:20 outl Dec 15 20:06:55 Just a heads up Googlers. new bug filed: https://code.google.com/p/android/issues/detail?id=230365&thanks=230365&ts=1481832373 Dec 15 20:07:42 i don’t believe any of them frequent this channel Dec 15 20:09:18 s73v3r: There's at least one, though he's an NDK guy. Dec 15 20:13:12 mrandroid, have you tried with the latest build-tools (25.0.2) too? Dec 15 20:13:30 and latest support lib (25.1.0) Dec 15 20:15:28 adq: 25.0.2 ? When did that release? Dec 15 20:15:34 days ago max Dec 15 20:15:42 ooooh ...right ... Dec 15 20:15:44 checking. Dec 15 20:15:55 yes. days ago fer sure. Dec 15 20:16:07 also vector drawable have kind of an history about not being backward compatible, and also gradle version (the android plugin, not gradle itself) Dec 15 20:16:46 gotcha adq. Thanks. ummm ... at my company we have a lot of android builds, that require constant release cycle into a production environment (even hours) Dec 15 20:16:52 so it's very fast. Dec 15 20:17:17 what i've done is downgraded to the last known toolchain that was tested (23.0), and we'll go with that until we can properly test on 25.0.1. Dec 15 20:17:29 yeah, you did a "bisect" like Dec 15 20:17:44 bisect like ? Don't follow. Dec 15 20:17:45 it's probably another regression (among so many, sadly, and every time they release anything) Dec 15 20:18:09 bisect is like finding the culprit build by dychotomia Dec 15 20:18:23 oh right ... well, the good news is I'm building awareness at my company to contribute to the code base. after all it's the least we can do. Dec 15 20:18:29 you mark the branches good and bad depending on the outcome, and it auto-magically find which ones broke Dec 15 20:18:41 (i use it with mercurial, i think git has one too now) Dec 15 20:19:24 new one on me adq. I've always reviewed code and merged by hand for quality control purposes. Dec 15 20:19:48 there is no need to merge by hand when there is no conflict Dec 15 20:19:55 but as you wish, idk why you tell me all that :) Dec 15 20:21:04 no no .. I merge automatically, but cross check the results as often as possible. Dec 15 20:21:17 i'm trying to understand more about bisect ... Dec 15 20:21:29 isn't dychotomia a slovak word? Dec 15 20:45:19 I just tried a VR demo for the first time (Vive) Dec 15 20:45:23 Wow...really far out Dec 15 20:46:44 Ologn, nice! Dec 15 20:47:08 They have them in Microsoft Stores and Best Buys, check them out if you have the chance Dec 15 20:47:20 Ologn, my only vive experience was a pretty underdeveloped minecraft-clone prototype, but the real mindbending thing was taking off the headset Dec 15 20:47:22 I wonder how Android and Daydream will look next to them Dec 15 20:47:28 thebishop, yes Dec 15 20:47:47 thebishop, I was under the ocean in the VR, then I took the set off and was stumbling around the mall Dec 15 20:48:08 I was wondering if I was able to drive my car back - I wasn't that out of it but I was a little out of it Dec 15 20:48:59 after less than 10 minutes i really forgot where i was Dec 15 20:49:59 I had been wondering if it was a fad or hype cycle Dec 15 20:50:10 No way...normal games are over, VR games are the future Dec 15 20:50:19 Maybe even movies and teleconferencing Dec 15 20:50:41 Ologn, yeah, it's probably going to be 3-5 years until the Vive experience is user friendly and cheap enough to really "arrive", but i'm a believer Dec 15 20:50:46 I mean it's good enough as it is...and will only be getting better and cheaper Dec 15 20:51:00 the headset is too big and heavy and intense-looking Dec 15 20:51:13 I have to check out the Rift next...maybe Daydream will be decent Dec 15 20:51:39 i think they'll get it down to like a swimming mask within a year or 2 Dec 15 20:54:49 Ologn, i have a GearVR, which is comparable to the Daydream. it's very cool, but the Vive experience is like 2-3 generations ahead Dec 15 20:55:30 I heard the Rift's controller was even better than Vive Dec 15 20:55:49 much worse head tracking, no body tracking, no/weak hand tracking, lousy graphics Dec 15 20:56:06 Yaa Daydream and GearVR suffer from not being dedicated devices...they may figure that out though Dec 15 20:56:10 Ologn, oh yeah, the new Touch controller Dec 15 20:56:13 haven't tried it Dec 15 20:56:52 If I had a lot of free time I'd code up some OpenGLES objects in the VR space or whatever they use Dec 15 20:57:04 Vive has a 2nd generation controller too, but no clue when it will be released Dec 15 20:57:04 you can see it in the 2016 Steam DevDays coverage Dec 15 20:57:55 I had been wondering if it was hype or not...if you try it you see, it's not hype. It might take 3 years or whatever to go from early adopters to cheaper better headsets but, it's here. Dec 15 20:58:27 Ologn, yeah i don't have any game design or 3d rendering experience, but i feel like i'm wasting time at work not doing anything VR-related Dec 15 21:00:10 thebishop, I helped port XScreenSaver to Android, it would be cool to see that ported over...I'll have to try it out...wish I had more time Dec 15 21:02:03 haha yep Dec 15 21:20:36 hi everyone Dec 15 21:20:57 I am quite new to Android dev and am wondering why it still seems to be inevitable to use classes like BufferedInputStream, StringBuffer or BufferedReader to perform a HTTP get request..? I mean, the library is huuuuge. How come there are no convenience classes for that? I think I read there were some (org.apache.. something) which were removed quite recently.. why? Dec 15 21:24:39 BSC128, https://developer.android.com/training/volley/simple.html Dec 15 21:24:46 retrofit Dec 15 21:27:53 Wow! thanks a lot bishop. The library IS huge :D Dec 15 21:30:29 Ologn, nice; i've got a few hacks in xscreensaver :) Dec 15 21:30:43 Ologn, which were ports of hacks that were java web demos actually Dec 15 22:07:07 dragorn, oh, intermomentary and substrate, cool. Yaa, a lot of the X-Windows portion of the Android port was done by Dave Odell. We have XLib mimic OpenGL which mimics OpenGLES. Dec 15 22:12:58 Hmm, I need an opinion on a logo I created Dec 15 22:24:33 I can't seem to import an image into Android Studio as a mipmap without it doing some cropping or padding Dec 15 22:49:27 Ologn going to branch into vr? Dec 15 22:53:57 JetBrains sucks at naming. 'Gogland'. Dec 15 22:56:17 To be fair, though, it's hard to think up an IDE name for a language with the name Go. Dec 15 22:58:12 guide Dec 15 23:01:03 As always, we have a "Go doesn't need generics" person in the Reddit thread. Dec 15 23:14:08 Could I ask your opinion on my launcher icon? https://raw.githubusercontent.com/saleemrashid/bootbuddy/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Dec 15 23:14:25 It's an app which allows you to boot your computer from ISOs on your phone Dec 15 23:14:48 e.g. Install Linux or Windows without burning a disc or a USB Dec 15 23:15:11 looks like a glory hole Dec 15 23:15:51 Um... it's not meant to :) Dec 15 23:16:10 What does it look like at smaller sizes? That's a lot of detail. Dec 15 23:16:54 Well, it's looking fine in the launcher. I have slight worries about it in the task switcher Dec 15 23:17:53 spudowiar: what does it offer over drivedroid and possibly others? Dec 15 23:18:12 Leeds: It's open source ;) Dec 15 23:18:29 good answer :) Dec 15 23:18:30 Possibly other things but I haven't used DriveDroid Dec 15 23:18:41 I spoke to the developer of DriveDroid once Dec 15 23:18:51 In #android Dec 15 23:19:11 They said they were highly considering on making it open source but decided not to Dec 15 23:19:48 Don't quote me on that though Dec 15 23:24:57 not good enough spudowiar, without your description i would not have guess at all the purpose of the app, also the center part will suffer in details if minimized/scaled_down Dec 15 23:25:17 ok, thanks Dec 15 23:25:48 i admit, it's kinda hard to represent in a minimalist way what your app does Dec 15 23:26:07 ^^ :) Dec 15 23:26:46 I appreciate you all giving feedback :) Dec 15 23:27:10 if you haven't read it, spudowiar, https://material.io/guidelines/style/icons.html Dec 15 23:27:23 I did read it a bit Dec 15 23:27:32 good Dec 15 23:29:46 I seem to get a Germany-flag favicon from that link. :s Dec 15 23:32:46 g00s, I have my hands full right now, we'll see... Dec 15 23:38:40 adq: Anyway, I'll be sticking with this icon for now since the actual app is more important. I was just fed up of seeing the default icon in my app drawer :) Dec 16 00:04:13 i wonder if anyone has any data on native app development costs, going up, down, stable, etc Dec 16 00:05:26 are costs going up because platforms get more complex, or are they going down because of libraries, etc Dec 16 00:09:08 g00s: judging by the crap i've been seeing lately, costs are going down... so is quality Dec 16 00:10:06 the cost of crap will be low ;) Dec 16 00:14:49 well not always, look at solaris Dec 16 00:17:25 solaris? Dec 16 00:18:44 Sun Solaris Dec 16 00:19:01 hasn't been sun for a 'long' time :P Dec 16 00:19:06 Solaris is pretty great Dec 16 00:19:13 zfs, smf, etc Dec 16 00:19:20 zones Dec 16 00:19:48 pfn: thanks Dec 16 00:19:53 the technologies are good, implementations are not Dec 16 00:20:26 there is absolutely nothing lackluster about zfs or smf or zones Dec 16 00:20:56 of course, zfs is languishing and so are all the core Solaris technologies Dec 16 00:21:14 it was great, it’s just sad it was tied to Sun hardware for so long, and then kinda languished after Dec 16 00:21:51 Solaris 10 and open Solaris were a thing Dec 16 00:22:05 once it got on x86 it was moving rapidly Dec 16 00:22:11 then Oracle killed open solaris Dec 16 00:22:33 yeah, it never got the traction it needed for long enough Dec 16 00:22:39 Oracle basically gutted everything Dec 16 00:23:19 * Leeds worked on Solaris for 5 years Dec 16 00:24:21 open Solaris was on a pretty upward trajectory Dec 16 00:24:32 lots of killer features Dec 16 00:24:46 unfortunately, Sun was on a downward trajectory at the same time Dec 16 00:26:20 Oracle had too many competing interests in Java and Linux as well Dec 16 00:26:45 considering Oracle is the primary benefactor behind btrfs Dec 16 00:28:32 always forget dtrace when talking killer features as well Dec 16 00:32:40 we'll see what happens, oracle could can solaris forever https://www.thelayoff.com/t/KBEVoB1 Dec 16 00:35:44 yep, it's sad, but Linux reigns supreme now Dec 16 00:56:02 i read that news the other week, kinda expected this to happen 5 years from now, their support/development has been waning over the years. so many unfixed bugs and effort lacking in certain crucial areas **** ENDING LOGGING AT Fri Dec 16 02:59:59 2016