**** BEGIN LOGGING AT Sat Jan 14 03:00:01 2017 Jan 14 03:21:06 ruah Jan 14 03:21:16 http://eclipser.xmms2.org/device-2017-01-14-051932.mp4 there.. my last 6 hours Jan 14 03:21:27 I put too much effort into that Jan 14 03:23:30 Did you use nested scrolling? Jan 14 03:23:53 no Jan 14 03:24:02 I just animated it manually Jan 14 03:24:18 it's a little off though Jan 14 03:24:26 I'll look at it at some point :p Jan 14 03:26:11 considering it's 5.30 in the morning Jan 14 03:26:20 I should've probably slept instead of worked on that Jan 14 03:29:23 the recyclerview has way too many itemtypes... but I thought that it would make for a neat ux... not sure about that yet Jan 14 03:32:09 Zharf look at groupie or epoxy Jan 14 03:33:44 groupie doesn't have images or videos that are useful Jan 14 03:34:39 but what about them? Jan 14 03:36:57 you said you had a lot of item types Jan 14 03:37:32 ah, sure, yeah, I'm sure some people make insane crap :) Jan 14 03:37:34 Zharf but its bed time ! Jan 14 03:37:38 it is Jan 14 03:37:49 but I've been in bed for the last 8 hours Jan 14 03:37:56 Hey guys. I have a question about retrofit. I am using GitHub's api and for Gists their json schema has a completely dumb design. Instead of a list of arbitary files, it returns a files: { "file1": { ... }, "file2": { ... }, ... }. So the key is the filename and this always dynamic, and the number of files is dynamic but not contained in a list Jan 14 03:38:27 How would I handle this since retrofit is using pojos Jan 14 03:38:31 map Jan 14 03:39:06 also the question is about gson or jackson or hwatever you use to parse json :) Jan 14 03:39:15 but they all can put things into map Jan 14 03:41:01 so just make the files object in the pojo a Map files object? It will convert automatically or do I have to write custom code for it Jan 14 03:41:09 ys Jan 14 03:41:39 most often it just works Jan 14 04:17:24 looks cool Zharf Jan 14 04:18:40 maybe you don't really need cards though, and also those dividers, check the material guidelines somethig like #1E000000 or #1EFFFFFF (i always mix up them with dark or light them) Jan 14 04:22:36 for recycler view you can programmatically add one with "recycler.addItemDecoration(new DividerItemDecoration(context, DividerItemDecoration.VERTICAL));" Jan 14 04:23:03 replace context appropriately and switch to HORIZONTAL accordingling Jan 14 04:24:09 yup, they added it not so long ago in the support lib Jan 14 04:42:04 is it possible to adda toolbar when my class extends base adapter?? Jan 14 06:27:46 Is leakcanary supposed to be a trustworthy tool? I'm having this weird orientation-change memory leak and canary doesn't detect anything Jan 14 06:46:56 It suddenly started working. Last night it didn't show absolutely anything. Jan 14 06:52:32 Weird. It's Play Services leaking all over the place. Jan 14 07:10:59 Hi Jan 14 07:12:53 I think google disallowed automatic snap taking by camera and now a popup is show to user evertime an app tries to access camera. As I am making such an app that needs to access camera automatically, what if the user checks the chckbox "don't ask again" and hit "Allow". Will it never ask for such permision again? Jan 14 08:56:21 I think google disallowed automatic snap taking by camera and now a popup is show to user evertime an app tries to access camera. As I am making such an app that needs to access camera automatically, what if the user checks the chckbox "don't ask again" and hit "Allow". Will it never ask for such permision again? Jan 14 09:39:44 Is it me or is AS losing more and more performance with each new release? Jan 14 09:53:37 hello Jan 14 09:53:39 http://stackoverflow.com/questions/41630316/textview-not-scrolling-on-async-call << if someone has time to help Jan 14 09:53:42 i still can't get it right Jan 14 11:38:53 woops/b 13 Jan 14 11:38:59 whuuut Jan 14 12:30:53 adq, yeah, I didn't really think much about the cards and their content, just pretty much copied what the service, taht I'm writing a client for, had on their webpage Jan 14 12:32:00 word Jan 14 12:33:49 I'll iterate on it but right now functionality is more important :) Jan 14 13:53:08 Did anyone try any alternatives to emulation? ARChon or OpenMobile's ACL (is that thing even open?) Jan 14 14:02:55 How are companies not pursuing simulation? Jan 14 14:27:16 hi, need help with camera2 api. my image is rotated. i follow guides but my case is little dfferent and doesent works Jan 14 14:27:31 anyone has experience with camera2? Jan 14 14:39:28 ?? Jan 14 14:51:46 Can someone point me to the source code of Android Studio's hybrid debugger? I am unable to find it Jan 14 14:54:48 through the jar file I found that the package name should be "com.android.tools.ndk.run.hybrid", but searching for this term in the android studio source code leads to zero results, maybe I'm just on the wrong repo/branch? Jan 14 15:11:23 Might be a separate project, part of NDK? Jan 14 15:56:43 hey fellas Jan 14 15:56:48 hey fella Jan 14 15:56:51 you work with JodaTime before? Jan 14 15:57:00 aha Jan 14 15:57:02 can't seem to get it to print out the correct time, always 2 hours before my current time Jan 14 15:57:19 I tried new LocalDateTime(DateTimeZone.getDefault()) but it didn't change anything Jan 14 15:57:38 where I'm at, I'm GMT + 2, and LocalDateTime when initialized starts off with no Timezone Jan 14 15:58:45 is the timezone wrong on the device Jan 14 15:59:00 what happens if you just print a new DateTime() Jan 14 15:59:03 not localdatetime Jan 14 15:59:17 I've seen JodaTime work fine before, I think I was using just DateTime Jan 14 15:59:22 let me try Jan 14 16:01:23 nope Jan 14 16:01:29 still 2 hours before the correct time Jan 14 16:01:35 02:58 is the timezone wrong on the device Jan 14 16:01:59 well it's my device, so of course it's correct Jan 14 16:02:06 it's the local time here Jan 14 16:02:34 Automatic time zone is enabled Jan 14 16:03:23 mind you that I run it through DateTimeFormat.forPattern("hh:mm a"); before printing it Jan 14 16:03:35 shouldn't matter really Jan 14 16:03:42 even if I print it before running it through there, it's still off by 2 Jan 14 16:05:53 what do you use to initialize a new DateTime object? isn't it just new DateTime()? Jan 14 16:06:05 without yodatime, you could simply set your timezone if your timestamp is UTC Jan 14 16:06:20 something like dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); Jan 14 16:06:20 saved me a couple of time Jan 14 16:06:24 of course Jan 14 16:06:29 but I want this to work anywhere Jan 14 16:06:36 I don't want to be setting the timezone manually Jan 14 16:06:59 I dont even know what UTC means Jan 14 16:07:03 I'll check Jan 14 16:07:09 UTC is GMT Jan 14 16:07:16 but GMT is the old deprecated name iirc Jan 14 16:07:27 ahhh right Jan 14 16:07:31 yea I've been through this before Jan 14 16:07:42 you need to know in which timezone your stuff is displayed versus in which timezone your date is Jan 14 16:08:02 you will figure it out i'm sure Jan 14 16:08:25 everything will be figured out given enough time and resources :P Jan 14 16:08:29 :) Jan 14 16:19:09 wow, this thing won't move Jan 14 16:19:26 even new DateTime(DateTimeZone.UTC) produces the same result Jan 14 16:27:11 hello, if I want a backend server to perform inquiries on orders/subscriptions for the play store, would setting up a service account be the way to go? Jan 14 16:39:51 So, Andre483, I don't know if you're referring to this or not: https://wiki.archlinux.org/index.php/File_permissions_and_attributes Jan 14 16:40:02 or if you;re referring to the permissions of the app itself. Jan 14 16:40:47 hi, I am looking to ensure I am setting up the google permissions correctly for this project I have going live. I have an API for Google Play Android Developer API but in addition there is a service account also created Jan 14 16:41:20 my understanding is that the Google Play Android Developer API is being used to deliver push notifications Jan 14 16:41:35 but the service account I am not sure why this project would need it Jan 14 16:41:36 Any idea how to do this with a RecyclerView? https://ptpb.pw/lxIq.png (specifically, the "+" divider that's between the items _and_ "floats" on both items) Jan 14 16:42:08 I want to say it's because the backend is doing subscription checks so it needs access to the subscriptions but I am not sure Jan 14 16:43:18 that is the part I am not sure Jan 14 17:18:14 is there a way to test a google developer API within the console instead of coding it? Jan 14 17:22:00 I'm receiving JSON data and need to convert a date rec'd from a mysqldb to a java Date. The format i'm receiving is "YYYY-MM-DD HH:MM:SS" .. I tried tried to use SimpleDateFormat.parse, but I get a ParseException. How can I convert this date string? Jan 14 17:22:06 java.text.ParseException: Unparseable date: "2017-01-13 00:00:00" Jan 14 17:23:02 why is it not parsed on server? Jan 14 17:23:14 "YYYY-MM-DD HH:MM:SS"? Jan 14 17:23:30 and made into normal UTC seconds/milliseconds number? Jan 14 17:24:04 more like yyyy-MM-DD HH:mm:ss Jan 14 17:25:30 r00twrh, your parsing format is wrong obviously :) Jan 14 17:25:37 Also not sending timezone? Asking for trouble :P Jan 14 17:27:20 1) thepoosh: great idea, I will likely conv to to a utc unix timestamp server-side 2) TheSchaf/Mavrik: Yep format was wrong.. 3) Mavrik: shit didnt account for timezone - using unixtime should solve for that. Jan 14 17:27:26 Thanks all Jan 14 17:32:34 any chance someone has created service accounts? I am not sure if I am setting up the permissions correctly Jan 14 17:33:26 I created one so that my backend server can communicate with the playstore subscription google API but I want to limit it only to inquiry access Jan 14 17:33:36 but it seems that it has full access Jan 14 18:41:33 bye my friends Jan 14 19:33:40 hi anybody can explain to me BehaviorSubject in rxJava ? Jan 14 19:45:07 Hey. Quick question -f I try unregistering a sensor listener that wasn't actually sensored, could this be problematic? Jan 14 19:45:10 if* Jan 14 19:45:28 that wasn't actually registered* god damn Jan 14 19:58:58 Heya, can anyone help me with testing content providers? I have started writing a very simple test for my content provider but the problem is it is acting on the production data. Jan 14 19:59:13 How can I make sure the test data is separate from my live app data? Jan 14 19:59:20 Test source is here: https://hastebin.com/wavefajeya.java Jan 14 21:30:11 Hello all, on the default new "Scrolling Activity" the activity title appears larger and then shrinks to the toolbar. I want to do something similar with a users profile picture but I am not sure what to do with my imageview to allow it to do something similar Jan 14 23:08:09 wreed: did you have a look at the source code of scrolling activity? That may give you some insight Jan 14 23:10:14 yeah it is a bit harder than i imagined Jan 15 00:54:22 low traffic here, eh? can someone tell me if theres a way to forcefully download the apps my google account has saved while using previous phone and/or before hard reset? Jan 15 01:03:48 murder: This is app dev. I guess #android is the channel you're looking for. Jan 15 01:05:33 TacticalJoke: she asked in #android and got, frankly, dumb answers... still doesn't mean this is the right place to ask though Jan 15 01:05:58 Oh. Jan 15 01:14:04 trying to fix a cm-14 unofficial instalation, sometimes the wizard is asking to select the apps, and sometimes it just doesnt even show it up when I do a hard reset Jan 15 01:15:55 wrong channel Jan 15 01:16:07 but in the play store app, you have a tab showing history of your apps Jan 15 01:16:34 my apps & games > all Jan 15 01:17:27 ty again Jan 15 01:45:13 Hey guys Jan 15 01:46:10 I'm trying to use this app's broadcast intents: https://play.google.com/store/apps/details?id=net.zhdev.ctrlvkeyboard&hl=en Jan 15 01:46:23 Is this correct usage? Jan 15 01:46:23 http://pastebin.com/EQFjT41U Jan 15 01:46:31 Doesn't seem to work Jan 15 01:47:12 hello anyone familiar with java and android studios? Jan 15 01:49:12 hey TacticalJoke Jan 15 01:49:24 interesting from the other day https://medium.com/google-developer-experts/an-overview-of-polls-for-android-mobile-developers-in-2016-4c41059a47a9 Jan 15 01:49:50 Hey, g00s. Jan 15 01:49:56 I'll have a look. Jan 15 01:50:04 surprised 27% people were using kotlin, or 27% people taking the poll used kotlin Jan 15 01:50:06 hanzomain: Imagine if nobody was. Jan 15 01:50:20 That is high. :E Jan 15 01:50:23 Could someone please help me Jan 15 01:50:51 This is the information you'll need for the broadcast: - Intent action: net.zhdev.ctrlvkeyboard.ACTION_PASTE_TEXT - String extra: net.zhdev.ctrlvkeyboard.EXTRA_TEXT - Boolean extra: net.zhdev.ctrlvkeyboard.EXTRA_END_WITH_ACTION (optional, defaults to false, see the screenshots for an explanation) Jan 15 01:50:55 wonder what the big difference between jenkins and travis is Jan 15 01:51:06 How do I make an intent that uses that information? Jan 15 01:51:21 Could someone provide me with an example Jan 15 01:51:26 I googled and I still feel really lost Jan 15 01:51:28 TacticalJoke: lol can u help me Jan 15 01:53:40 these sample sizes are really small though ~150 votes Jan 15 01:54:54 oh well, move along ;) Jan 15 01:56:19 Intent sendIntent = new Intent("net.zhdev.ctrlvkeyboard.ACTION_PASTE_TEXT"); sendIntent.putExtra("net.zhdev.ctrlvkeyboard.EXTRA_TEXT", "%CLIP"); sendIntent.putExtra("net.zhdev.ctrlvkeyboard.EXTRA_END_WITH_ACTION","true"); sendIntent.setType("text/plain"); context.sendBroadcast(sendIntent); Jan 15 01:56:23 Why does that not work? Jan 15 01:59:46 Can literally nobody help? Jan 15 02:11:11 Dysanix: No idea, but you're not using a boolean extra. "true" is a String; `true` is a boolean. Jan 15 02:11:24 I should say `"true"` and `true`. Jan 15 02:11:36 those great stringly typed apis :) Jan 15 02:14:05 It also says you have to use broadcast intents. Doesn't that mean using `sendBroadcast` rather than `startActivity`? Jan 15 02:21:02 TacticalJoke: That fixed it, thanks! I feel dumb Jan 15 02:22:58 interesting from the other day https://medium.com/google-developer-experts/an-overview-of-polls-for-android-mobile-developers-in-2016-4c41059a47a9 << reading it Jan 15 02:23:10 i'm already surprised 60% are using project view oO Jan 15 02:23:56 but the number of votes is damn low for most polls, i'm not sure we can take them seriously enough Jan 15 02:24:37 Dysanix: Android makes us all feel dumb. Jan 15 02:24:57 adq: Yeah, what the heck. I was surprised that so many in /r/androiddev were using Project view. Jan 15 02:25:08 I thought the whole point was to use the Android view. Jan 15 02:25:17 i use it very rarely too Jan 15 02:26:23 I'm asking Amazon to price-match something. This'll go well... Jan 15 02:26:56 1% mercurial Jan 15 02:26:57 :') Jan 15 02:27:07 we're the resistance Jan 15 02:27:28 Ooh, didn't realise you still used Mercurial. Jan 15 02:27:53 well, i use both no choice, but if it's up to me i use hg Jan 15 02:28:13 it's just historical, nothing rational there Jan 15 02:31:18 updating sdk & ndk trying to get my app building againt. having issue with ndk-build looking for multiple archs of my .so i only built for arm. Jan 15 02:31:42 tried various abiFilters = without success yet **** ENDING LOGGING AT Sun Jan 15 03:00:00 2017