**** BEGIN LOGGING AT Thu May 28 02:59:58 2015 May 28 03:05:19 lol, sourceforge locked out the 'gimp for windows' account owner and started distributing it with ad-enabled installer May 28 03:07:35 Hah. May 28 03:08:26 I've always hated SF; I hope it dies a tragic death now. May 28 03:08:54 They didn't appear to be corrupt before, but that web design should be a criminal offence. :D May 28 03:09:06 Did you guys see this? http://www.reddit.com/r/Android/comments/37hwtl/android_m_to_introduce_granular_permission_control/ May 28 03:09:42 yep more work, but overall pretty excited about it May 28 03:09:54 one thing that iOS has had for a while that Android really needs May 28 03:09:57 what's the preferred way to ask the user for an IP address? something better than an edit text? May 28 03:11:20 get ready to wrap up all your previously valid code to catch SecurityException :S May 28 03:11:42 it's been around for a while on various custom firmware; hopefully google implements it in a similar fashion (returning 0 contacts instead of denying permission, etc)... that generally doesn't break apps May 28 03:11:52 hopefully it will be a auto opt-in for v23+ May 28 03:11:56 so no previous breakage May 28 03:11:58 what are you guys talking about? May 28 03:12:07 oh the reddit post? May 28 03:12:23 dragorn: that previous custom firmware uses the already there google code :P May 28 03:12:33 impulse: Why are you asking for an IP address? Just curious. May 28 03:12:57 impulse: you can always mask the input in the EditText May 28 03:13:11 i'm making an app that forwards text messages to my IRC client through bitlbee May 28 03:13:51 ok thanks i'll look into that May 28 03:14:12 Napalm, mostly, yeah May 28 03:18:14 lol, my app in the store still has targetSdk=froyo May 28 03:23:12 damn, you suck May 28 03:23:50 and its still better than 90% of te garbage out there, isn't that something :) May 28 03:24:40 the rewrite took longer than i expected. i pretty much started from scratch May 28 03:24:54 TacticalJoke remember spolky on the big rewrite :( ? May 28 03:25:00 *spolsky May 28 03:26:44 the new version has all the Holo hotness :D May 28 03:27:32 holo? May 28 03:27:44 thats right, holo :D May 28 03:27:51 aren't you a bit late May 28 03:28:04 i was hoping M would bring something to replace material May 28 03:28:13 oh well May 28 03:28:19 not gonna happen May 28 03:28:26 material is great May 28 03:28:43 it will get tiring. they'll do something next year May 28 03:28:56 after all, everyone thought holo was great too May 28 03:29:30 yeah, and it lasted like 4 years May 28 03:29:38 since 2010 May 28 03:31:14 i started in 2010, that was froyo. holo was much later May 28 03:36:39 guys im having an issue where FragManager.findFragByid is returning as null May 28 03:36:47 when the fragment is definatley running May 28 03:36:47 g00s: His saying we shouldn't rewrite stuff? May 28 03:36:53 Hey TJ May 28 03:36:59 I didn't agree with that, AFAIR. May 28 03:37:00 Hi, dragorn. May 28 03:37:01 drose379* May 28 03:37:11 haha, whats up? May 28 03:37:22 You ever worked with FragmentManager.findFragByTag() ? May 28 03:37:45 should paste code, you've already said ById, no ByTag? May 28 03:37:48 Yeah. May 28 03:38:08 I will paste code canvs2312 May 28 03:38:16 Also, I have tried byID and byTAg May 28 03:38:22 both retturning null May 28 03:38:59 http://pastie.org/10211247#5 May 28 03:40:18 drose379: how many times.. breakpoint and debug May 28 03:40:22 :D May 28 03:40:33 Hey Napalm May 28 03:40:37 Im looking at the breakpoint now May 28 03:40:45 May be something else then what I origionally thought May 28 03:41:00 right, im off May 28 03:41:12 didn't show the code where you set the tag May 28 03:41:25 True, one sec canvs2321 May 28 03:41:29 Gonna look into something May 28 03:42:51 cnavs2321 so when I grab the NewAlbum fragment from the manager it doesnt give me null May 28 03:43:09 But then when I try to do anything with it, like logging frag.isVisible(),that line gives null pointer May 28 03:43:18 Im guessing that means that the frag is returning null May 28 03:44:03 means you need to paste code, you don't have a frag. variable, you have parentFrag, plus should post stacktrace. May 28 03:44:25 http://pastie.org/10211253 May 28 03:44:28 and parentFrag is limited to that listener May 28 03:44:31 g00s, no, holo was in 2010 with honeycomb. May 28 03:44:43 There is the code for adding the fragment canvs2321 May 28 03:46:01 See anything odd canvs2321? May 28 03:48:21 cancs2321 also, if I run getTag() inside the fragment, it gives me the correct tag May 28 03:48:30 I also did that for getID and tried getFragmentByID May 28 03:50:17 where are you doing .isVisible, as parentFrag is limited to scope inside your click listener May 28 03:51:00 inside the clickListene May 28 03:51:01 should pastebin your stacktrace and relevant code if you can, i gtg for right now though May 28 03:51:11 Wait May 28 03:51:21 Nevermind, ok May 28 03:51:24 thanks for looking May 28 03:58:05 does it make sense to start a service from a preferences activity? May 28 04:08:07 Guys im calling an activity from a fragment May 28 04:08:34 And Im trying to callback to the fragment by grabbing the fragment by tag May 28 04:08:43 But I keep getting the fragment as null May 28 04:08:46 Cant figure out why May 28 04:09:42 In the paste you weren't calling FragmentTransaction.commit. May 28 04:10:46 I do at the end May 28 04:10:49 Just didnt show in paste May 28 04:17:13 Debug all the things. May 28 04:17:55 Ive never used the debug tool May 28 04:18:06 * Foxhoundz gasps May 28 04:18:17 ?? May 28 04:18:24 I almost never use the debugger. May 28 04:18:30 NOthing. Don't mind me I'm a android newbie May 28 04:18:31 `Log.i` is usually sufficient. May 28 04:18:38 Yeha, thats what I use May 28 04:18:45 I broke my entire project so I'm aking a break May 28 04:18:46 there's a debugger? May 28 04:18:48 TacticalJoke, can I explain to you whts going on thugh May 28 04:19:00 and maybe you can find the issue May 28 04:19:08 Actually, can you guys help me? May 28 04:19:11 You might as well post the code. May 28 04:19:22 It's having trouble compiling ever since I changed the app theme to Holo May 28 04:19:25 Well id better explain first then poste code May 28 04:19:30 ok May 28 04:19:49 Foxhoundz: "having trouble compiling" is... vague May 28 04:20:10 TJ: So I have an activity, and inside the activity im showing a fragment, and from the fragment a user can take a photo with my camera activity May 28 04:20:24 Inside the camera activity, im trying to callback to the fragment May 28 04:20:36 So im doing findFragmentByTag or ID or whatever May 28 04:20:39 Always getting null May 28 04:21:32 TacticalJoke should I still post the code May 28 04:23:49 this is the type of error I get when I try to build: Error:(7, 21) No resource found that matches the given name: attr 'android:paddingEnd'. May 28 04:23:52 while (true) { System.out.println("You might as well post the code."); } May 28 04:24:06 I know I changed the app theme shortly before I started getting these vague errors May 28 04:25:05 and my styles xml is empty May 28 04:26:22 https://gist.github.com/anonymous/1d34a5d054c2a29d95b9 May 28 04:26:25 for the curious May 28 04:26:28 TacitcalJoke http://pastie.org/10211281 May 28 04:28:30 Foxhoundz duh, you have no parent May 28 04:28:42 what is the default parent May 28 04:28:49 I just want it to use the OS default May 28 04:28:53 whatever version it may be May 28 04:29:16 no idea what the default is :P May 28 04:29:21 -_- May 28 04:29:30 pick one of the material dark /light, or appcompat ones May 28 04:29:49 drose379: Each activity has its own fragment manager. Are you querying the same one? May 28 04:30:00 Does it... May 28 04:30:01 No May 28 04:30:15 No, im creating a new FragmentManager in the camera activity May 28 04:30:36 Will the fragment manager in the camera activity not be able to grab a fragment that a previous activity added? May 28 04:31:06 g00s: still error messages May 28 04:31:14 also...i may have deleted R.java May 28 04:31:19 for reasons I am not aware of May 28 04:31:24 is there any way to regenerate it? May 28 04:32:06 TacticalJoke do you mean that I have to get an instance of the fragmentManager from the activty that created this frag May 28 04:34:51 http://www.willowtreeapps.com/blog/google-io-keynote-bingo/ I really want to play this. But the livestream starts at midnight here and I'll already be asleep -.- May 28 04:37:57 drose379: You want to communicate between activities. I guess the answer is just "Use startActivityForResult". May 28 04:38:19 then I can give a result May 28 04:38:30 from the camera activity? May 28 04:38:48 sounds perfect actually May 28 04:45:17 Do you really need fragments here? May 28 04:45:28 Using multiple fragments and multiple activities isn't very simple. May 28 04:45:38 Just testing it out May 28 04:45:51 I think startActivityForResult will solve my issue though, didnt evnen think of it May 28 04:46:05 TJ: 1 activity, multiple frags May 28 04:46:15 Just needed to make the custom camera activity cause the stock one sucks May 28 04:48:23 writing my own downloader. I just noticed getContentLength returns an int. So, would this throw an exception if I'm downloading a file larger than 2gb? May 28 04:49:43 surf2b1: The documentation states what happens. May 28 04:49:48 http://developer.android.com/reference/java/net/URLConnection.html#getContentLength() May 28 04:50:18 doh, thx May 28 04:50:57 lol, 2gb is like 1/2 many people's data cap for the month :D May 28 04:56:10 g00s: Anyone who uses a cracked version of my app will have a service constantly downloading http://i.giphy.com/moiWSfviYKNgc.gif in the background May 28 04:57:18 surf2b1 whats your app May 28 04:58:58 drose379: jrummy apps on google play. rewriting everything because my apps are shit ATM. May 28 04:59:11 sweet May 28 05:01:06 surf2b1 how do you know if the app is cracked ? May 28 05:01:33 not so sure this is a good idea. what if you trip that behavior when google is testing in sandbox, and they flag as malicious ? May 28 05:03:22 g00s: I was joking really but I use to mess with the pirates. Lots of different ways. I would just check the md5sum of the apk. May 28 05:03:34 g00s: I was joking :) May 28 05:04:40 There is a really funny thread from years ago when I would mess with pirates. Man, I can't think of the name of the site.. May 28 05:04:59 dexguard does tamper protection May 28 05:06:31 what are the popular warez sites? May 28 05:07:09 surf2b1: Not appropriate May 28 05:07:50 CedricBeust: not for consumption, I wanted to look up an old thread May 28 05:08:02 surf2b1: Still not appropriate here May 28 05:16:17 g00s: have you used dexguard? May 28 05:16:28 surf2b1 no, can't afford it May 28 05:16:35 not worth it for me either May 28 05:16:46 yeah, don't think it's worth it May 28 05:17:37 I stopped caring about pirates a long time ago May 28 05:19:06 I'd only really worried if I were travelling around Somalia. May 28 05:19:09 worry* May 28 05:24:55 TacticalJoke I dont know why my onActivityResult is saying Im not overriding the method corrctly May 28 05:25:11 http://pastie.org/10211315 May 28 05:26:02 lowercase o May 28 05:26:19 where? May 28 05:26:25 on on May 28 05:26:35 Its upercase May 28 05:26:40 yeah May 28 05:26:45 bring it down a peg May 28 05:27:05 methods usually start lowercase, classes Uppercase May 28 05:27:06 Wtf is wrong w me... :P May 28 05:27:17 just let your IDE generate these method names May 28 05:27:27 I guess May 28 05:34:10 dang youtube does the same thing TV did, advertisements are way louder than regular content May 28 05:36:11 TacticalJoke oh man, i almost blew up the universe: http://www.reddit.com/r/digg.com May 28 05:46:04 hi, i am writing an android application that uses external NFC. I have already done the read and write. But before read and write I need to reset and power on the device which takes a while, May 28 05:47:03 I want to synchronize / sequentialize it so that the program doesn't execute the next line, ( in the same method), until after reset is complete, until after power on is complete, then do the read and write. May 28 05:48:05 Can I use a keystore file with all of my Android apps or only one? And if so, is it bad practice? May 28 05:48:28 bad practice to use the same keystore with every app, i mean May 28 05:48:34 you can reuse the same key May 28 05:48:42 but i create a new one for each app May 28 05:48:53 for example if you want to give away ownership of the app you dont need to give away the key for all of your apps May 28 05:49:01 idk if you guys saw the willow tree bingo for google i/o, but i whipped up a quick app for it: https://github.com/dinosaurwithakatana/Google-I-O-Bingo/releases/tag/v1.5 May 28 05:49:03 read and write also have listeners that returns a response depending on successful read / write. I want to know how I can acheive this. May 28 05:49:04 Ah, good point. Makes sense May 28 05:49:21 for marketing and publishing purposes, is it very beneficial if i make a game which is strictly one of the listed genres in the play store(action, rpg, strategy)? or is it just as good if i make a game which is a fusion of genres and then just pick the isting category/genre i feel most appropriate May 28 05:49:23 niec cookie, that's great May 28 05:49:23 it's pending approval in the store, but should be kinda fun for tomorrow May 28 05:49:36 the listing* May 28 05:50:25 liuwenhao: yeah, check it out, let me know hwat you think May 28 05:50:31 uses mvp, kotlin and realm May 28 05:54:22 How is realm? Easy to work with? I was thinking of using it but went with SQLite instead May 28 05:55:51 hahahehehehoho merry xmas ! May 28 05:56:52 is it just me or is there no way to browse games on the play store which are not Top Rated? May 28 06:05:07 liuwenhao: yeah, so far, i like it May 28 06:07:15 g00s: Just saw your link. It's 404ing for me now. May 28 06:07:24 That reminds me of that joke -- 404: playing hard to GET. May 28 06:07:30 heh May 28 06:08:28 bazinga May 28 06:09:56 I was a Digger before moving to reddit during the mass exodus. May 28 06:10:54 I hate how 'reddit' isn't capitalised. :/ May 28 06:11:20 Some of my error messages are like "reddit is down right now.", and it doesn't look right. May 28 06:57:27 Mooornin :) May 28 06:57:56 people hi May 28 06:59:09 how would you create filesearch tool? May 28 07:00:48 as i understand i need by my self list all files to some list or db, and search files in that list / db? and update it that list / db by contentobserver? May 28 07:02:16 or maybe there is another simply way? May 28 07:02:53 there is no recursive search API in android, right? May 28 07:03:17 why would you need a recursive one specifically? May 28 07:04:02 and besides, you can either run linux commands for the search or implement your own DFS search in the file tree May 28 07:04:14 but sounds to me like you can just grep it May 28 07:05:01 you mean call unix 'find' shell command? :) May 28 07:05:03 O.o May 28 07:05:20 Ugh, don't rely on busybox being implemented on device. May 28 07:05:24 Really. May 28 07:06:47 thepoosh: that another test task May 28 07:06:55 ? May 28 07:06:56 that's why i need it May 28 07:08:38 Mavrik: thanks for busybox remind May 28 07:09:10 ondroed, might wanna look at Apache CommonsIO for FileUtils May 28 07:09:24 it could have what you need if you don't want to implement it yourself May 28 07:14:29 guess i have to implement it by my self May 28 07:18:54 should be fairly straightfowrard, the File class already has everything you need, just make sure tk deal with esceptions properly May 28 07:20:26 to* May 28 07:28:02 ondroed: wrote it just now. Not tested but should work: http://pastebin.com/BsphWN40 May 28 07:29:42 thanks but there is might be stackoverflow error? May 28 07:29:47 http://stackoverflow.com/questions/3154488/best-way-to-iterate-through-a-directory-in-java?lq=1 May 28 07:29:57 "Wealthy Chinese man buys two gold Apple Watch Editions for dog, prompts bizarre controversy" lol May 28 07:30:17 the Edition was always primarily aimed at China/Asia May 28 07:30:59 ondroed: first answer is basically the same as the code I wrote May 28 07:31:43 "Of the $11.8 billion in mobile search revenue Google booked in 2014, 75 percent — nearly $9 billion — came from iOS, according to a recent Goldman Sachs analysis cited by the New York Times." May 28 07:32:05 so 75% of google'e mobile ad revenue comes from iOS ha May 28 07:32:12 wow May 28 07:32:26 thats not going to last forever, google will be up shits creak May 28 07:33:51 there is something deeply weird in mobile numbers May 28 07:36:46 hi guys :) May 28 07:48:21 Hi. I can't seem to find an answer to this question online: how can I include an .aar library into my project using Ant? May 28 07:49:24 siovene by converting to gradle May 28 07:49:32 I've tried including in my compile , as a in the , but when compiling m project, the output of javac doesn't look like it used the .aar. May 28 07:49:42 g00s: is that the _only_ way? May 28 07:50:03 Or is it a default answer? :) May 28 07:52:08 hi May 28 07:52:10 is it possible to send data in binary format with GET method? i'm using Retrofit May 28 07:52:37 in a very limited way May 28 07:52:55 also just fyi, this is not android-related either, it has to do with the general http standard May 28 07:52:56 would you be so mind to tell my how to hack it? May 28 07:53:35 um yeah, escape all the special chars May 28 07:53:41 it's all documented extensively in the http standard May 28 07:54:24 escape all the characters! May 28 07:54:46 * wakelock escapes into the void May 28 07:58:01 thepoosh ever fix your count all the contacts query ? May 28 07:58:14 nah, it was a one time thing, so I let it pass May 28 07:58:20 the value is cached May 28 07:58:25 and in the background May 28 07:58:28 with the new permissions, expects lots of "zeros" :D May 28 07:59:03 it looks like my downloads peak at 1k/day May 28 07:59:10 any idea how to increase it? May 28 07:59:23 "hey I'd count your contacts but I don't have permission to ask you for permission" May 28 07:59:23 it will probably start to go down May 28 07:59:35 paulo_ write another app ;) May 28 07:59:49 advertising, marketing, cross-promotion, pay for downloads, etc. etc. May 28 07:59:51 g00s: that's sad. it's been up for 15 days. May 28 08:00:06 paulo_ yeah, follows a predictable curve May 28 08:00:10 i was hoping it will still increase, as the user base increases. May 28 08:00:24 welcome to real world paulo_ May 28 08:00:28 i never did any promotion. Looks like it's all word-of-mouth. May 28 08:00:37 paulo_: make a good app people want to use May 28 08:00:43 and market wisely May 28 08:00:54 paulo_: do you have a "tell your friends" mechanism? May 28 08:00:57 maybe get featured on the play store May 28 08:01:09 thepoosh: it's on the charts though May 28 08:01:31 meh, don't rely on any promotion within the play store May 28 08:01:31 charts? May 28 08:01:36 it's particularly in the cards category May 28 08:01:52 paulo_: try adding an invite system May 28 08:02:02 I recently added a share button May 28 08:02:24 though i think I should instead use the twitter and facebook buttons May 28 08:03:09 It's #35 it Top New Free May 28 08:03:34 it's higher in the game category, and higher in the Cards subcategory May 28 08:04:28 it's #2 in Top Free in Cards May 28 08:04:35 below solitaire. May 28 08:06:11 idk if these charts are region specific, though. May 28 08:06:32 paulo_ next time, think of your mobile app marketing strategy before launch. actually, during development May 28 08:06:44 you may have missed a critical window of opportunity May 28 08:07:03 Also don't rely on the damn store for marketing. May 28 08:07:08 It doesn't work. Ever. May 28 08:07:18 You need to have a successful app first, then store helps you. May 28 08:08:56 paulo_ and hopefully you have some analytics, and questions that need answering May 28 08:43:06 hi guys, can i access an app's internal functions using another app ?.. say for example if i want to write an app with which the user can define swipe actions... and as an user if i swipe on left corner ending the swipe at mid center.. then a call should call my girl friend ! May 28 08:43:12 is this technically possible ? May 28 08:44:14 so after installing my application, i want to use "phone" appllication and select the call to my contact (girl friend here) May 28 08:44:34 so technically is it possible ? May 28 08:46:33 well you could use other apps' defined intents May 28 08:46:33 yes May 28 08:49:25 You can't interact with other apps, but you can use accessibility framework to get touches and you can directly start calls in default dialer May 28 08:52:02 * solofight googles defined intents May 28 08:52:16 * solofight googles accessibility framework May 28 08:53:13 * VnM googles girlfriend May 28 08:55:46 ^ google says * did you mean girl as friend :P May 28 08:58:45 oh hai there May 28 09:03:45 VnM, sorry but that's not something you can download May 28 09:29:14 thanks Ashiren Mavrik May 28 09:30:32 https://productforums.google.com/forum/#!topic/tag-manager/_Nrmk_9MV1o thanks google, thanks for releasing broken software and forcing people to migrate to it... and not fix the problem even though it's been reported ages ago -.- May 28 09:33:38 does Looper.prepare() work on the current thread? May 28 09:34:35 (as compared to Looper.myLooper().prepare() ) May 28 09:37:14 http://developer.android.com/reference/android/os/Looper.html#prepare%28%29 May 28 09:37:16 "Initialize the current thread as a looper." May 28 09:37:19 clear as day May 28 09:39:14 hi, anyone have idea how to check if user is in webview / android browser in js/php/aspx? May 28 09:40:32 ask in js/php/aspx channels May 28 09:40:44 but generally, by checking the user-agent, just like any othe rtime May 28 09:41:46 problem is they have the same user agaent string May 28 09:43:12 I doubt it's possible. May 28 09:43:18 Why do you want to do this? May 28 09:43:43 adriandroid, that's because it's the same user agent May 28 09:43:59 be it in browser or a webview, it's the same exact thing May 28 09:44:36 unless user-agent has been explicitly overridden by the app using the webview May 28 09:45:04 can anyone help me on this one: http://stackoverflow.com/questions/30487482/how-to-fit-preference-items-into-holo-theme-perfectly ?? May 28 09:46:05 wakelock, I was confused by the difference between Looper.prepare() and Looper.myLooper().prepare() May 28 09:46:23 Syzygy, the official docs usually resolve such confusions quickly and easily May 28 09:46:38 well, they don't mention any difference. presumably there is none May 28 09:47:12 Anyway, I'm having an issue with a view (overlayed over the whole app) started from a service. Here are some variations of the code I tried and the errors I got http://pastebin.com/YRxCFJby May 28 09:47:26 adkins, why don't you post some actual code? you've asked this yesterday, obviously with no (useful) responses, maybe you need to change something about your question y'know May 28 09:47:28 Can someone help me resolve this issue? May 28 09:49:01 ah... nice. got another error. Looper.prepare() wasn't called. even though earlier Looper.prepare() caused errors because it was already called... without any changes that should cause that. May 28 09:49:22 wakelock: ok i`ll simplify some code.....am i assume correctly that this should work by its own without any special effort? May 28 09:50:44 I would say so May 28 09:50:52 wakelock, true and it back to my original question. I need to somehow detect it. May 28 09:51:09 adriandroid, not possible, best just deal with it May 28 09:51:22 Syzygy: I remember getting that error, but it was something unrelated (i.e. I didn't actually have to call Looper.prepare()). I'll take a look and see if I can remember May 28 09:51:34 on what thread are you creating the Handler? May 28 09:52:00 in an asynchronous task started by an intentservice May 28 09:52:45 it looks like you're trying to manipulate a view, which should be done on the main thread, so the handler should be created on that thread May 28 09:54:35 wakelock, :< that's sad May 28 09:54:35 any idea how I can start that on the main thread instead? May 28 09:55:32 actually, that whole showView() method should only ever be called from the main thread. you'll get errors otherwise. May 28 09:55:56 I need it to be triggered by an intent May 28 09:56:15 you can still use that delayed runnable to do the "removeViewImmediately" method, but mHandler will need to be constructed on the main thread May 28 09:56:19 what class is this method in? May 28 09:56:45 PopUpViewHelper May 28 09:57:03 basically, just some class May 28 09:57:27 right. is it held by an Activity or Fragment or something? May 28 09:57:29 you can always start a fresh new activity, that works from service or background thread or anything May 28 09:57:42 no, created by the service May 28 09:58:30 what are you adding the view to? you'll need some sort of activity to display views to May 28 09:59:09 ideally you'd use an intent to start an activity, and then implement all your view logic there May 28 09:59:26 ^ May 28 09:59:34 trying to show Views in an IntentService by themselves doesn't really make sense May 28 09:59:58 barbs, window manager May 28 10:00:22 it's a notification that's independant of activities May 28 10:00:51 hmmm...I've not done it that way. wasn't aware it could be done. May 28 10:01:33 You can even get views on the home screen (think facebook messenger), but thise is contianied within my app May 28 10:01:46 but in that case, I imagine the handler would still need to be created on the main thread. and an IntentService spawns a worker thread when it's invoked, so I don't know how you can get a handle on the main thread May 28 10:02:08 Looper.getMainLoo May 28 10:02:21 getMainLooper() presumably. trying that right now. May 28 10:02:35 ah yeah, that sounds about right May 28 10:03:03 seems to work fine, although I'm getting a crash when clicking. May 28 10:03:08 on to the next issue. thanks for the help so far. May 28 10:03:50 whoops. still got a quit in there, IllegalStateException: Main thread not allowed to quit. May 28 10:04:33 hello May 28 10:04:51 there is anyone who worked with okttp or volley libraries? I need help to complete a json request May 28 10:05:19 xpheres: I use okhttp and retrofit May 28 10:05:29 hi phix May 28 10:05:35 okhttp is better? May 28 10:07:47 xpheres: I use both May 28 10:07:56 ah ok May 28 10:08:07 okhttp for the http client and retrofit for the RESTful API May 28 10:08:21 (retrofit uses GSON by default for json parsing_ May 28 10:08:22 ) May 28 10:08:51 right May 28 10:09:12 xpheres: so what are you trying to do? May 28 10:09:23 phix I'm very amateur with android May 28 10:09:35 ah May 28 10:09:42 I have a project from which I show messages using json, but the only interface that works is in javascript May 28 10:09:45 xpheres: with android or with java or both? May 28 10:09:56 I'm trying to make work the android interface as well May 28 10:10:16 xpheres: are you amateur with android or with java or both? May 28 10:10:32 with both basically phix May 28 10:11:00 I understand a little because I know some object oriented programming from other languages May 28 10:15:50 xpheres: oh, what other languages are you familar with ? May 28 10:15:59 javascript and php May 28 10:16:10 this javascript code is working and makes what I want to do in android May 28 10:16:11 https://github.com/xpheres/analyticaltranslator/blob/master/assets/javascript/atranslator.js May 28 10:16:19 I just need to port that function to android May 28 10:16:31 the first one called function requestresult(FeldValue) May 28 10:16:41 and function Translate (FeldValue) { May 28 10:17:21 I just want to be able to request a value from a php file and show it in the main xml May 28 10:17:57 When will i/o start? May 28 10:18:20 wakelock: MainActivity=http://pastebin.com/ufX3CL0i ; PreferenceMainMenuActivity=http://pastebin.com/dQxU0cXK ; pref_main_menu.xml=http://pastebin.com/sCjb3QCv May 28 10:19:17 xpheres: oh, both of those languages don't really set you up for programming properly :/ May 28 10:19:52 I just copied the javascript code to help understand what my program should do May 28 10:20:15 it is very simple, it request a value to a php file and shows the returned value into a field in the main interface May 28 10:20:16 xpheres: the issue is just because you do something one way in one language doesn't mean you take the same approach in another May 28 10:20:41 yes, I know, I'm trying to know which is the best and easier approach with android May 28 10:21:00 xpheres: any way, what does your JSON API look like? are you using REST? or something hacky in PHP? May 28 10:21:19 I didn't make an api yet May 28 10:21:25 I just return a value from a php May 28 10:21:28 xpheres: If you are using a REST API then I suggest using the retrofit library May 28 10:21:31 I will try to make an api in the future May 28 10:21:45 xpheres: hmmmmm May 28 10:22:01 the project is very beta test yet May 28 10:22:09 but it is so simple May 28 10:22:27 I guess I will take a look then, you have peaked my interest May 28 10:22:29 there is a file that returns a takes a parameter ( a sentence) and returns a value (a translation) May 28 10:22:34 thanks!!! May 28 10:22:49 please have a look at the website interface May 28 10:22:52 adkins, no point in highlighting me, this is not 1-on-1 tutoring channel so I'm not your consultant or guide. whatever you say you're basically saying it to the whole channel ;) May 28 10:22:53 it is working May 28 10:23:39 xpheres: hmmmm, I recommend that you look into angularjs for your javascript frontend. May 28 10:23:50 yes somebody told me too May 28 10:24:29 document.getElementById :/ and maybe jquery but angularjs can replace alot of that May 28 10:25:20 wakelock: sorry ;) May 28 10:27:03 i updated my app with a new app name via hockeyapp (so it's the same than installing from an .apk file directly). the app label on the home screen and in the app drawer wasn't updated, but when i go to the 'app info' menu, it shows the correct one. what's up with that? May 28 10:30:54 maybe some sort of caching issue on the phone. Have you tried rebooting the device? May 28 10:32:39 yay gradle. I try to run ./gradlew connectedAndroidTest but i get this message: Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (22.1.1) and test app (22.0.0) differ. What do i do? May 28 10:34:19 fancy42, reboot device May 28 10:35:59 fancy42, its up to the launcher app to update its icons. If your launcher app is bad designed it will not update after a reboot or maybe x hours May 28 10:36:34 or ever :p May 28 10:36:48 :D May 28 10:37:44 wakelock: if the code of PrefMainMenuActivity looks like this: http://pastebin.com/prHXzTY6 ....the items fit perfectly. But docs say one should use preferenceFragments on API higher than 3.0, just like i did in the last code snippets....and addPreferencesFromResource(R.xml.pref_main_menu) is deprecated..... May 28 10:38:15 so the question is: how to fit the items in preferenceScreen if using fragments May 28 10:42:14 addPreferenceFromResource() is only deprecated for the activity May 28 10:42:24 its not deprecated for PreferenceFragment May 28 10:42:47 is there a good way to check if my notification is showing or not? May 28 10:43:06 danijoo: right.......just a sec i`ll make it more clear what i want to say May 28 10:43:13 thepoosh, ask the notificationmanager and see if it returns null May 28 10:44:09 thepoosh, oh wait. no :/ May 28 10:44:13 danijoo: that is not supported - https://developer.android.com/reference/android/app/NotificationManager.html May 28 10:44:21 yeah i just realized it May 28 10:44:33 there is a way to ask NotificationsListenerService May 28 10:44:35 why do you want that? May 28 10:44:43 but it requires permissioins May 28 10:44:51 i mean. why would you need to check that May 28 10:44:58 we have numerous complaints that notifications are not showing May 28 10:45:13 and we see logs after NotificationsManager.notify() May 28 10:45:41 hm :/ May 28 10:45:49 http://stackoverflow.com/q/3630733/1056359 May 28 10:46:12 the issue is that i need to persist notifications but remove them if cancelled May 28 10:46:15 yeah.. but the ListenerService is a bit overkill just for debugging that May 28 10:46:16 it's a bitch May 28 10:46:46 if i give each one a different requestCode (and i do) i can try that May 28 10:47:52 making preferenceActivity like docs say (for API>3.0): http://pastebin.com/u9RDiJhf looks like this: http://i.imgur.com/4YDsMwx.jpg May 28 10:47:54 making it not like docs say (for API>3.0): http://pastebin.com/qtzbJ4ur looks like this: http://i.imgur.com/TEMxESF.jpg May 28 10:48:40 so if i use the way i should.....items look not perfectly fitted into the theme May 28 10:50:10 adkins, your problem is that they dont fit to the background thing? May 28 10:50:15 yes May 28 10:50:16 danijoo, thanks. sadly this is the default launcher app of android 5 May 28 10:50:38 fancy42, have you tried a reboot? May 28 10:51:00 I guess the default launcher caches for x hours or maybe until its manually restarted May 28 10:51:02 fancy42, you were told several times to reboot, did you? May 28 10:51:30 hi May 28 10:51:48 danijoo, wakelock, no a colleague borrowed my device for a field test... May 28 10:52:05 ... May 28 10:52:17 ^^' May 28 10:52:55 if the launcher would be done by me, id never update icons until a recreate of the launcher activity May 28 10:53:28 danijoo: would you not bother with that background thing if you were me? ;) May 28 10:53:44 not worth to implement listening to icon or name switched for thaose rare cases where its needed May 28 10:54:27 adkins, set the background on the fragment or adjust fragment size/padding/margin May 28 10:55:23 danijoo, all (proper) launchers I've seen so far always subscribe to "app installed", "app uninstalled" and "app updated" broadcasts May 28 10:55:37 danijoo: how do i set the background of the fragment? May 28 10:55:47 wakelock, seems like you havent seen the stock launcher :p May 28 10:55:53 now, how they procwss them is a different matter I guess May 28 10:56:22 danijoo, I said proper :p May 28 10:56:43 adkins, I think what you really want is setting a margin to the fragment to not use the whole space May 28 10:56:49 danijoo, wakelock: so i borrowed a device so we get some closure here... the other phone doesn't have a problem. BUT it has nova launcher installed. i'll see what happens if i switch to normal launcher May 28 10:57:25 fancy42, the issue is not an issue of your app but of the used launcher #shipit May 28 10:57:34 fancy42, bottom line is - this is *entirely* up to the launcher. end of discussion. May 28 10:58:07 meaning, we already had a closure, nothing new was revealed :p May 28 10:58:29 danijoo: since i dont see these background things on phone and only on tablet.....i`m not sure if i want to use margin. i`d rather would set the background to just black, but there is another bad effect if i do it in the styles May 28 10:58:41 so how would you set the background in the fragment? May 28 10:58:55 yes but you were also eager for me to reboot :> May 28 10:59:00 adkins, read the docs on fragment :P May 28 10:59:09 there is a method to set background i guess May 28 10:59:43 so.. even with normal launcher on an android 5 device it updates immediately May 28 11:00:16 who knows how this thing is programmed May 28 11:00:34 maybe they only change icons at mondays 13:37 o'clock May 28 11:03:41 fancy42, reboot is most likely to fix it, but also you were told to reboot but never reported if that helped, just kept going on and on about the issue May 28 11:05:26 danijoo, nah, at 00:42 on towel days May 28 11:06:05 wakelock, i told you that the other device is in a field test. so in an effort to still try it out to be polite to you guys helping me, i got another device on which it magically worked (instead of waiting for possibly hours). so i can't really do a reboot on a device that's not here or one on which it works anyway May 28 11:07:44 fancy42, ok I see May 28 11:07:59 danijoo: thank you very much, i got it satisfying now :) May 28 11:08:12 but yeah, reboot tends to fix even the most stubborn launchers :p May 28 11:08:28 turkish is a weird language :/ they put % symbols BEFORE the actual number instead of behind Oo May 28 11:08:50 danijoo, they just use it like americans use $ ;) May 28 11:09:05 which is also weird :p May 28 11:09:19 eh, lots of other countries do it too ;) May 28 11:09:51 but the worst thing is americans putting month before days! 5/28/2015. on what planet does this make sense? May 28 11:10:01 danijoo, it's okay, as a true pforessional surely you have an army of translators on your payroll that will happily take care of such details for you :p May 28 11:10:16 wakelock, i let my users do it >:) May 28 11:10:25 oh isn't that the same thing? :D May 28 11:10:26 they do it for free and are natives too May 28 11:10:31 yeah ^^ May 28 11:10:35 unpayed professionals :pp May 28 11:10:50 they're paid alright May 28 11:10:59 it's their own problem they didn't negotiate their contracts right May 28 11:11:04 so their pay is 0 :p May 28 11:11:11 they just tend to fuck up every string with a %1$s in it May 28 11:11:15 but thats ok May 28 11:11:44 so, natives, but not exactly professionals... yeah I'd say their pay is alright then :p May 28 11:12:46 i cant really go with professional translations in this scenario because its a lot of string a professional translator would not know May 28 11:12:49 even when native May 28 11:13:03 I need actual users May 28 11:13:30 like %1$s for example? :p May 28 11:13:44 I can see a professional translator being taken aback by those May 28 11:14:18 its a lot of vocabulary that comes from the game itself. Only users playing the game in their native language can do translations for it May 28 11:14:52 of a translator would have to inform himself to get the correct translations. And if you use a translation service online, they dont (already tried that - it was aweful) May 28 11:15:44 aweful? lol, so full of awe and admiration? :D May 28 11:15:56 Hello,I was trying to add SwipeRefresh Layout it was working fine until i tried to add a OnRefreshListener here is my code http://paste.ubuntu.com/11409941/ and here is the gradle debug log/ERROR http://paste.ubuntu.com/11409958/. Thank You May 28 11:16:31 s/awe/aw May 28 11:17:58 :p May 28 11:26:21 Is it possible to change the app's loading background color? When I launch my app, the activity start transition shows a white window even though the actual activity is blue May 28 11:27:24 dimitrovskif, set windowBackground to some color May 28 11:27:31 not :background May 28 11:27:55 danijoo: In the styles? I shouldn't have the bg color in the activity content view? May 28 11:27:56 i think this also changes the color shown before the layout is inflated May 28 11:28:03 yep May 28 11:28:09 Got it. Thanks May 28 11:28:30 Yep. Works fine now. Thanks danijoo <3 May 28 11:28:36 yw May 28 11:29:39 Btw is it smart to show your logo in Toolbar, or there should not be branding? May 28 11:29:43 love is in the air... May 28 11:30:11 dimitrovskif, wouldn't that be entirely up to you and however you feel is best? May 28 11:30:12 danijoo: can you help me ? May 28 11:30:27 danijoo: I was trying to add SwipeRefresh Layout it was working fine until i tried to add a OnRefreshListener here is my code http://paste.ubuntu.com/11409941/ and here is the gradle debug log/ERROR http://paste.ubuntu.com/11409958/. Thank You May 28 11:30:31 no May 28 11:30:37 boodllebat, not a consultant or guidance channel, don't ever ask for individual help May 28 11:30:51 wakelock: I mean by design's spec... There is definitely a logo property in Toolbar, however most Material apps I tried don't have one May 28 11:31:22 eh, design guidelines are just that, guidelines May 28 11:31:26 its a small newbie problem i'm sure anybody can solve that in first glance. May 28 11:31:27 it's not a rulebook May 28 11:31:30 dimitrovskif, material design guidelines suggest to not do it May 28 11:31:40 this was a holo design thing May 28 11:31:52 but if you think your app looks better with a logo, go ahead May 28 11:32:12 danijoo: I wonder why they did that, it loses a lot of identity and all apps look the same :( May 28 11:32:41 boodllebat, it says it very clearly in the message what the problem is May 28 11:32:58 boodllebat, you need to override/implement onRefresh() too May 28 11:33:36 boodllebat, or rather... who told you onRefresh() takes an arg? May 28 11:33:55 wakelock: but you can see on line 2 there is already override May 28 11:33:59 boodllebat, learn to use docs May 28 11:34:11 boodllebat, ...you're clearly not understanding what I'm saying May 28 11:34:16 Also I think Material's paper/cardboard feel doesn't work for all UIs. I wouldn't like a flat guitar tuner app May 28 11:34:27 boodllebat, it's all in here, read and study: https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.OnRefreshListener.html May 28 11:34:36 wakelock: ok let me read May 28 11:34:56 dimitrovskif, it was never meant to work for *all* apps, that would be ridiculous May 28 11:35:39 wakelock: Well it wasn't meant for weather apps either, but most of them are now Material May 28 11:35:59 dimitrovskif, its a guidline, not a ruleset :) May 28 11:36:20 they didn't have to be, dimitrovskif. it was entirely up to their authors May 28 11:36:47 sadly, too many people see it as a rulebook and not as a simple set of guidelines, so it gets very much overused May 28 11:37:04 Agree May 28 11:37:21 so if you want to follow the crowd, go right ahead :p May 28 11:37:38 otherwise, quit worrying and include the logo if you feel like it May 28 11:37:41 Before Holo, there were no guidelines and it was awful. Now we approach the other side May 28 11:38:33 i disagree. you can go material and still have a pretty individual look if you do it right May 28 11:38:57 Umm, materialup.com - they are all the same :) May 28 11:39:07 guys, I need a little bit of help. So I'm populating a listview with items and when populating it I'm using a xml layout as usual. The thing is I have to modify a bit that xml layout in this case from code. I need to hide 3 textviews and hell if I managed to do so ... need some help please, have I done it ok ? http://pastebin.com/spdFnC4n May 28 11:39:36 * wakelock declares this discussion immaterial :p May 28 11:40:13 anyone? May 28 11:40:32 luci1093, did you try it out? usually the best way to tell May 28 11:40:55 I did numerous tymes and like 3 variants of what I wrote and they still show up ... May 28 11:40:56 it could be simplified quite a bit, but eh May 28 11:40:59 times* May 28 11:41:28 then you're doing something else wrong. like I said this chunk could be simplified but otherwise seems okay. May 28 11:41:46 however obviously it is impossible to tell by just looking at one simple method May 28 11:42:16 okay so the problem might be where I call it huh? May 28 11:43:07 luci1093, I take that back. GONE is a static field, you cannot use it through an instance object May 28 11:44:04 so how should I do it? I initially put View.GONE May 28 11:44:55 I've used this somewhere else in my code but the thing is I was modifying the views in the layout that activity was using ... here is a bit different. I'm trying to modify a layout before it's used ... May 28 11:45:33 doesn't make any difference May 28 11:45:35 yes View.GONE May 28 11:45:59 fixed and simplified: http://pastebin.com/t3LGZfKa May 28 11:47:38 oh well, seems it's the same >.< May 28 11:48:10 I was thinking of making them "GONE" in the xml and then set them visible when I want to use them in another listview I'm planning to implement a bit later May 28 11:48:28 this is not done correctly. if it still doesn't work, you're doing something else wrong, like I said May 28 11:48:29 tho that will be most likely the same situation I'm in ... May 28 11:48:33 er May 28 11:48:38 s/not/now/ May 28 11:49:00 what makes you think VISIBLE will work better if GONE doesn't work? May 28 11:49:05 very strange logic May 28 11:49:09 well that's what I said XDD May 28 11:49:26 so redirect your efforts elsewhere May 28 11:49:30 the problem is not here May 28 11:50:02 better yet, google for a similar example, I bet a lot will become clear after that May 28 11:50:30 belive me, I googled first before coming here :D May 28 11:50:59 well I can't help you any further, I have no insight into your entire app May 28 11:51:17 oh well, thanks a lot anyway ^^ I'll look around May 28 11:54:13 hi May 28 11:54:42 Does anyone have any clue? E/Parcel﹕ Class not found when unmarshalling: com.facebook.login.LoginClient$Request May 28 11:54:43 java.lang.ClassNotFoundException: com.facebook.login.LoginClient$Request May 28 11:55:04 is there any shortcut in AS to show resulting valu type of term on cursor place? May 28 11:55:32 i am using alt+p to show parameters of method, but this could elp May 28 11:57:07 bolovanos, try strg+b to go to source May 28 11:58:20 danijoo, try ctrl instead, makes it more likely for people to understand you :p May 28 11:58:35 (what's this "strg" mean anyway?) May 28 11:58:47 (stargaze?) May 28 11:58:49 oh sorry :) May 28 11:58:52 ctrl :) May 28 11:59:20 danijoo, thx, but it is alternative - for F4, agree ctrl+b is in better reach May 28 11:59:21 wakelock, control = Steuerung in german ;) May 28 11:59:28 btw german he ;) May 28 11:59:29 silly germans :p May 28 11:59:35 :D May 28 11:59:55 would be cool if there was a dedicated key for stargazing though May 28 12:00:00 instant starry night outside May 28 12:00:24 back to my topic - it is not exactly what am i looking for - i need something like when you casting wrong argument to method and hoover mouser over this mystakenly casted argument May 28 12:00:44 to show small bubble with needed information May 28 12:00:51 ctrl+space? May 28 12:01:05 strg+space? :p May 28 12:01:27 or maybe you are asking too much of an IDE, you can't expect it to do *everything* for you May 28 12:01:38 * wakelock strgs danijoo May 28 12:01:46 wakelock, better one, but ... :) same whispering bubble like on ctrl+p May 28 12:01:48 nobody controls me! May 28 12:01:59 lol "whispering" May 28 12:02:10 that'll be the day, when my software starts whispering to me May 28 12:02:24 * wakelock moves danijoo around like a puppet May 28 12:03:25 if you let the ide do casts (STRG + enter), it wont do unallowed casts May 28 12:03:37 if you do it on your own.. you should know your casts :) May 28 12:03:48 hehe - synonym for suggest in my language :) May 28 12:04:07 hi, is that possible to use adb command to check my phone shutdown history log? basically, I just want to find out what time my phone shutdown and boot yesterday. thanks. May 28 12:04:07 what a weird language :p May 28 12:04:29 sgo11, shot and clear - no May 28 12:04:34 short* May 28 12:04:35 what a beautiful one! May 28 12:04:49 oh I see May 28 12:04:53 i have to admit that its a weird language. : May 28 12:04:53 bolovanos is a frenchie May 28 12:04:54 ok - thx for answers, going iddle May 28 12:05:14 wakelock, ....... that is very important to me. no shutdown boot history? May 28 12:05:41 wait... might not be a frenchie May 28 12:05:49 sgo11, again, no May 28 12:06:17 at least to my knowledge, but check in #andorid-root too May 28 12:07:31 wakelock, ok, thanks. between, I fixed my adb connection issue by adding 0x2a45 to adb_usb.ini. do you know why I have to do this for this specific phone? I don't have to do such thing for other android phones. May 28 12:08:30 no idea May 28 12:08:41 wakelock, ok. :) May 28 12:09:14 anyone playing around with camera and noticed highers power usage and temperature on some phones :? May 28 12:09:22 trying to test my multidex app using espresso but i get this: "java.lang.IllegalStateException: No instrumentation registered! Must run under a registering instrumentation." Do i need to manually make an Instrumentation object? May 28 12:11:29 hello May 28 12:12:25 oh hai there xJeremy May 28 12:12:41 I'd like to develop an app for android May 28 12:12:47 but I don't know which packages should I install May 28 12:12:50 Hi there, i recently installed Cyanogenmod 7.2 on an old phone. Now Androidstudio doesn't recognize it anymore. (It is still visible via "adb devices"). Restarting adb doesn't help. Any tips on what to try to get this working again? May 28 12:13:21 xJeremy, from sdk manager or what? May 28 12:13:29 anasver, #android-root May 28 12:13:40 sdk manager May 28 12:14:12 danijoo ok thx, i'll try it there. May 28 12:14:15 these are what I've installed http://prntscr.com/7acb92 May 28 12:15:04 you want SDK Tools, Platform-tools (newest), one or more SDK platforms (usually for api 15, 19 and 22) and Android Support Repository (extras) May 28 12:15:35 if you want to use the emulator, you will also need some System Images May 28 12:15:41 thats all you need to start May 28 12:15:54 sources for Android SDK might be helpful too May 28 12:16:46 the bare minimum to develop is sdk tools + build tools + 1 sdk platform May 28 12:18:35 danijoo, from the image can you state that what packages have I missed May 28 12:19:06 i named you all important May 28 12:19:17 how to create contact with contactsprovider ? May 28 12:19:51 does anyone know of an "official" place to get market share statistics from? All i can find are dubious articles here and there.. May 28 12:20:22 jutsi, https://developer.android.com/about/dashboards/index.html?utm_source=suzunone May 28 12:20:52 danijoo sorry, i meant for like android, wp and ios? May 28 12:21:35 what makes an article dubious and what makes it trustful? :) May 28 12:25:02 jutsi, check flurry stats, appnanie stats, google stats, etc May 28 12:25:35 danijoo the fact taht they don't link their sources.. always verify, never blindly trust a random article on the internets May 28 12:25:37 there is no "official" place for these stats May 28 12:25:43 and you should be aware these stats == money May 28 12:25:52 so this is why you won't find any full disclosure May 28 12:32:01 I have a layout that I reuse using the tag in several layouts. In my activities I now have redundant findViewById calls so I moved them to a common superClass as protected fields. However, protected fields are bad practice. How do you recommend dealing with this situation? Using getters for viewIds seems a bit silly. May 28 12:34:04 barq, custom viewgroup May 28 12:34:54 Thanks. May 28 12:34:57 ie if you often include an xml that shows 3 textviews, make a MyThreeTexts extends LinearLayout May 28 12:35:13 add that xml in the class' onCreate and make getters/setters for the texts May 28 12:36:20 then you can add your.package.MyThreeTexts as view in xml and call the methods on it from code May 28 12:42:55 Ok, I'll have a look into that, thanks. May 28 12:43:17 so according to this windows phone has equal market share to ios.. can it be true? http://www.macobserver.com/imgs/tmo_articles/20120122_2015marketshare.jpg May 28 12:45:27 jutsi, did you read the title May 28 12:45:28 jutsi: No, the title reads: forecast, not actual. May 28 12:45:32 its a "forecast" May 28 12:45:53 oh right May 28 12:46:02 i wonder what that forecast is based off May 28 12:46:14 barbs, past growth rate May 28 12:46:37 I didn't think Windows grew that much May 28 12:46:38 if windows phone marketshare growth with the same speed/acceleration, it will surpass iOS May 28 12:46:53 barbs, it got a boost with the w 10 rumours May 28 12:47:06 so any chance any of you could gimmie a hand with finding a reliable market share statistic for 2015? May 28 12:47:12 also who knows from what this forcast ist May 28 12:47:15 could be from 2011 May 28 12:47:41 jutsi, just read the titles :p May 28 12:48:31 every year their are hundreds of those news sites with market share statistics May 28 12:48:37 would you say this one is reliable? I'm making a project proposition and im not sure these are suited http://www.idc.com/prodserv/smartphone-os-market-share.jsp May 28 12:48:52 no idea May 28 12:49:24 werent it you who said you have to check where the data is from? May 28 12:49:27 check it :p May 28 12:49:43 yeah but it says source idc May 28 12:49:56 could mean "i dont care" lol May 28 12:49:58 which, ironically, isn't the abbriviation for i dont know, but they're comany name May 28 12:50:06 yeah ^^ May 28 12:50:35 so thats like me saying "im the best!" source: I know it May 28 12:52:22 *their company name May 28 12:52:25 god im horrible today May 28 13:00:05 jutsi: How is the smartphone market share relevant for you, though? May 28 13:01:01 if I have code that is duplicated in layout xmls, how do I put it in one place and then reference it within the xml files? May 28 13:01:19 literallycat: Use May 28 13:01:31 barq thanks May 28 13:02:04 literallycat: http://developer.android.com/training/improving-layouts/reusing-layouts.html May 28 13:02:53 barq++ May 28 13:02:57 anyone know of an app that disabled device lock while connected to a secure adb connection? May 28 13:02:58 barq making a project proposition May 28 13:03:43 jutsi: How is the market share relevant? Are you selling hardware? May 28 13:04:03 Usually $ spent in appStore is more interesting. May 28 13:05:34 can anyone think a way to check my phoneshutdown time May 28 13:06:32 can anyone think a way to check my phone's shutdown time/record? May 28 13:07:18 sgo11: What do you mean by that? Is that a time stamp of a duration? May 28 13:07:25 jug6ernaut, theres a setting for that in developer options May 28 13:08:14 barq, I just want to check what time my phone shutdown yesterday. a shutdown history log. something like that. I asked this before in this channel. people told me there was no shutdown log. May 28 13:08:19 "Stay Awake" - Screen will never sleep while charging May 28 13:09:14 barq, I am wondering if there are some log files and I can check those log file timestamp. if there is no log update, it probably means it was shutdown in that time. something like that. May 28 13:10:21 danijoo: i don't want it to stay awake, just disable keyguard May 28 13:10:49 sgo11, try dmesg - I dont know how much this logs and how far in the past it goes May 28 13:10:59 jug6ernaut, if its awake, its not locked :p May 28 13:11:50 danijoo, I am a newbie. in adb shell, when I execute dmesg, this error shows "klogctl: Operation not permitted". May 28 13:12:00 danijoo: lol true May 28 13:12:14 sgo11, seems like you need root for it May 28 13:12:36 danijoo, do you mean I have to root this device first? May 28 13:12:43 sgo11: yes May 28 13:12:54 i mean yes, and if its not rooted yet, all data will get lost while rooting May 28 13:13:15 means: you're fucked May 28 13:14:36 danijoo, ..... I can root it easily since my phone's producer does provide a setting button for rooting this device. but I have no idea if that will clean my dmesg data or not. yeah. what I can do.... May 28 13:14:55 it will likely do that May 28 13:15:01 that's weird dmesg requires root May 28 13:15:08 on any of my devices, it does not May 28 13:15:17 barq yes! that! May 28 13:15:23 and except with some kernel patch like grsecurity, rsbac or others May 28 13:15:26 cant tell. my are all rooted and it works on all of them :p May 28 13:15:31 dmesg is not restricted to priviledged user May 28 13:16:21 adq, ok, cool. so why can't I dmesg? May 28 13:16:32 no clue, but you want to know the last boot? May 28 13:16:35 type: uptime May 28 13:17:00 jutsi: What proposition do you want to support by this statistic? To choose Android over iOS? May 28 13:17:10 adq, not last boot. the second last boot.... May 28 13:17:12 barq, I just want to check what time my phone shutdown yesterday. <- uptime May 28 13:17:28 lol i see May 28 13:17:54 adq, uptime is really cool. but, I accidentally reboot my phone in this morning... May 28 13:18:34 even dmesg would be flushed May 28 13:19:01 it's the kernel log in memory (another ring buffer) from last boot May 28 13:19:04 hm... uptime won't even tell my last shutdown time. it will just tell the boot time. May 28 13:19:16 so dmesg is not even what you need, assuming you would not have this priviledge issue May 28 13:19:39 sgo11, do you have access to logcat? May 28 13:19:46 cause there were not too many events May 28 13:19:50 you will find in it May 28 13:19:55 cause if* May 28 13:20:20 adq, I am a newbie. I thought logcat just shows the log from the time I issue adb logcat. no? May 28 13:20:27 nop May 28 13:20:30 it's another ring buffer May 28 13:20:34 but this one is more persistent May 28 13:20:41 since it uses a partition to record logs May 28 13:21:10 adq, since I want to find the timestamp. should I simply run "adb logcat -v time > file.log" ? May 28 13:22:32 aouch i tested quickly May 28 13:22:38 unfortunately a reboot also flush logcat May 28 13:22:50 i tend to see log from few days ago because i never reboot my devices almost May 28 13:23:00 sorry :/ May 28 13:23:08 Hey, what does one do if "adb devices" shows all connected (and debugging enabled) devices, but Androidstudio (fresh installation) doesn't see any of them? May 28 13:23:23 adq, ok... thanks. May 28 13:23:29 Try restarting the adb server May 28 13:23:45 adb kill-server May 28 13:23:50 anasver, in AS, i go to Tools Menu, Android, and disable/reneable adb integration May 28 13:23:57 that doesn't change anything May 28 13:23:58 sometimes i kill the process May 28 13:23:59 it depends lol May 28 13:24:41 anasver: your AS installation is using a different sdk installation as to your terminal. May 28 13:24:56 Hello , Do i need Custom Adapter to show custom layout inside my Listview dynamically ? May 28 13:25:43 u need custom adapter for prtty much everything May 28 13:25:50 Napalm|afk what do I do about that? get an older as or try to update adb? May 28 13:26:45 adq, btw, when I do adb logcat -v time > file.log, it only shows the log starts from the time I issued that command. why? no previous log at all. May 28 13:26:53 adb version is 1.0.31 and studio is the current version May 28 13:27:12 anasver: run: adb kill-server May 28 13:27:23 in your terminal May 28 13:27:36 then restart AS May 28 13:27:38 uninstall one version of adb May 28 13:27:47 danijoo: right now i'm showing text or string in listview that works with simple adapter i guess , is there any difference between custom listview adapter and normal listview adapter ? May 28 13:27:58 O.o May 28 13:28:04 That's a funny question. May 28 13:28:15 A "normal" listview adapter is just a custom listview adapter someone else made. May 28 13:28:28 Mavrik: oh i'm new i dont know :) May 28 13:28:44 : May 28 13:28:48 :\ May 28 13:28:53 But while you don't strictly need a custom adapter, you probably should use it. May 28 13:29:10 Since it makes later changes easier and understanding how ListView works is kinda the most important thing about Android UI :/ May 28 13:29:28 Oh thanks guys! Now Studio sees both devices again :) May 28 13:29:54 Mavrik: yeah listview seems to be most important thing ! May 28 13:29:59 So bottom line is adb should not be started manually, but by the studio? May 28 13:31:35 sgo11, http://developer.android.com/tools/debugging/debugging-log.html#alternativeBuffers May 28 13:32:06 anyone got ideas on how to take screenshots during instrumentation tests? I'd like to avoid using spoon for the moment. May 28 13:32:45 Mavrik: this is how i'm using adapter is that we can call custom adapter ? http://paste.ubuntu.com/11412124/ May 28 13:35:10 adq, it doesn't really help much. the default one only shows 1 minute before the command issued. -b radio shows 3 minutes before the command issued. -b events shows 2 hours before the command issued. but my phone is running for 11 hours already. but whatever. May 28 13:35:41 screwed i guess May 28 13:36:00 better move on to something else May 28 13:38:36 adq, my 3g service provider charged 70 MB 3g network load yesterday night (or today's morning) while my phone was shutdown. I just want to prove they are wrong. anyway. I can not prove anything. my 3g service provider is crap. May 28 13:39:39 you cannot prove that by sending your log lol May 28 13:39:43 you pay per mb? May 28 13:39:46 sgo11: Well, a device can be on and transferring data even if it's off May 28 13:40:04 sgo11: law enforcement can do it May 28 13:40:14 so it has nothing to do with android dev afterall May 28 13:41:09 adq, well. I just want to prove what time my phone shutdown and boot. there is no log anyway. May 28 13:41:29 even if you would have log, you're not in court with them May 28 13:41:42 and log can be easily forged/altered May 28 13:42:13 just call your provider, say you want to opt-out because of this abuse May 28 13:42:18 they might want to keep you May 28 13:42:54 adq, I can show to the media. I will not go to court. they will not want to keep me here. :) May 28 13:43:11 lol May 28 13:43:15 like you have an audience May 28 13:43:24 does not work like that May 28 13:43:35 where the @#! ppl get these ideas May 28 13:43:40 ok nuff, ttyl May 28 13:43:50 loke_, ok. never know that. 70MB. very big. May 28 13:44:11 Breaking news: Provider charged 70 MB while device where off! May 28 13:44:15 (man it can be a simple animated gif nowadays) May 28 13:44:34 sgo11, are you paying per mb in your country? May 28 13:45:22 danijoo, it exceeds my quota. 300MB quota. now it's 370MB. May 28 13:45:59 where im from you just get limited to 11 kb/s if you exeed May 28 13:52:50 My IDE does not recognize AppCompactActivity May 28 13:53:11 But is does ActionBarActivity May 28 13:53:36 Update to 22.1 May 28 13:54:19 Or use "AppCompatActivity". May 28 13:54:37 lol May 28 13:54:45 TacticalJoke: OK, well 1. It's AIDE (on Android) 2. All files are the same from my desktop IDE (I used git) May 28 13:54:59 toy IDE :D May 28 13:55:22 danijoo: it's actually decently powerful May 28 13:55:30 yeah. for a toy it is May 28 13:55:34 I’m having this issue…tried the fix but still not working: http://stackoverflow.com/questions/16828110/android-studio-error-output-path-is-not-specified-for-modules May 28 13:56:30 danijoo: have you even used it? May 28 13:56:38 Also..I don’t see my source files inside my projects May 28 13:56:39 om grown up May 28 13:56:47 im* May 28 13:57:13 danijoo: that does not answer my question May 28 13:58:12 yes i did May 28 13:58:15 for 15 minutes May 28 13:59:50 danijoo: when? May 28 14:04:49 danijoo: nevermind May 28 14:11:16 Hey guys, should I use my companies name as the alias in my keystore to sign apps? or should I create an alias per app? May 28 14:11:47 noahmg123, its just that there is nobody whos actually supporting IDE because it lacks nearly everything thats needed for _real_ development May 28 14:12:11 no offense :) May 28 14:14:36 jimmyff create a different certificate for each app May 28 14:14:54 danijoo: you mean AIDE? May 28 14:15:04 yes May 28 14:15:26 danijoo: just wondering what does it lack? May 28 14:15:32 its not strictly necessary, but if at a certain point you want to transfer an app to someone else (maintenance, open source, sell, whatever) you're going to be sorry if you have to handover the key for *all* your apps May 28 14:16:24 hi guys, I've an A -> B -> C activity hierarchy, when A calls B I save in an instance variable the intent message got from A, then I navigate to C and pressing the back button makes the instance variable disappear, I've tried to save the state (and it saves) but when going back from C the onCreate method doesn't have a savedState May 28 14:16:49 what's the way to save that variable got from A's intent in B when it goes back from C? May 28 14:18:26 alex88: onSaveInstanceState. May 28 14:18:48 Though I don't understand why going back is regularly causing onCreate. May 28 14:19:28 TacticalJoke: http://developer.android.com/training/basics/activity-lifecycle/recreating.html#SaveState I've created this code in the activity B May 28 14:19:36 added a log line and it calls that method May 28 14:19:45 however, on onCreate, savedInstanceState is null May 28 14:21:00 google them if you are interessted noahmg123. Just compare it to any other ide. May 28 14:21:05 i dont want to discuss this now May 28 14:21:17 Chainfire google suggest that by signing with the same keystore file you can have app modularity May 28 14:21:47 alex88: Can you post the code for B and C? May 28 14:21:56 danijoo: ok. Sorry for bothering you. In the limited time I've used it it's worked great. May 28 14:22:28 I have a number of apps, they are all dating apps targeting different markets, I think signing with the same Keystore would be sensible - but not sure if I should sign with the same alias for each? May 28 14:23:35 noahmg123, the biggsest thing: gradle May 28 14:24:15 jimmyff I think you may be mixing up things. a keystore is a just a storage container for certificates. you can put a billion different certificates in a single keystore. I would advise using a different signing certificate for each different app, regardless of over how many keystores you spread them. May 28 14:24:22 it basically lacks everything beside a compiler and autocompletion May 28 14:24:31 danijoo: it has gradle now (I think). May 28 14:25:09 jimmyff, im using the same key + alias for every app. But as Chainfire said, it does not hurt to create differnt certificates :) May 28 14:25:31 you can add libraries, git, and so on May 28 14:25:50 I used to use a single certificate as well, but if I could go back in time to change it, I would May 28 14:25:52 But I still would say AS is better May 28 14:26:19 danijoo Chainfire but my apps are all the same product - just different brands, surely having them able to communicate in the future may be beneficial? May 28 14:26:30 Chainfire why would you change if you could go back? May 28 14:26:42 I want to make RetroFit support POST upload to an absolute path that differs from the base endopoint url. I'm trying to whip it into shape by using the custom Endpoint hack that overrides the base url, but that one doesn't play well with async calls. Anyone found a good solution for it? May 28 14:26:56 how do I stop obsessing over the app statistics May 28 14:26:59 jimmyff, if you want to sell one of the brands, you cant do that without security problems if you use the same key May 28 14:27:01 TacticalJoke: I'm helping a colleague, give me a sec, anyway, just found that the back button on the action bar does that, recreates the activity, the back button of the phone instead works fine May 28 14:27:42 paulo_, you're on the right track, you know you're obsessed May 28 14:27:45 not just stop talking about it May 28 14:27:48 now* May 28 14:27:56 ok lol May 28 14:27:57 sell your app May 28 14:28:15 then there are no statistics to be obsessed about :p May 28 14:28:58 jimmyff exactly for the case where I want to give up control of one of my apps. because I used only one certificate, the entitity that receives control can also fake all the other apps May 28 14:29:04 its a security issue May 28 14:29:33 danijoo so you are suggestin seperate alias' under the same keystore? May 28 14:29:45 unless you absolutely need for two packages to do some of the rare stuff that requires the same signature, all the benefit is in using different signatures. But you have to decide before you publish, you can't change it later. May 28 14:29:46 jimmyff, keystores are just stores May 28 14:29:58 why do you think you need the same alias/certificate/signature? May 28 14:30:02 right okay, thanks Chainfire & danijoo May 28 14:30:26 thats like aking if i think you should use the same key for every door or if you should put them into the same bag :p May 28 14:30:39 asking* May 28 14:31:44 jimmyff also, read this: http://stackoverflow.com/questions/5724631/understanding-keystore-certificates-and-alias May 28 14:45:29 does anyone have experience with j2objc? My UI java code is very separate from the logic parts. May 28 14:47:54 mDrawerListView.clearChoices(); mDrawerListView.invalidateViews(); mDrawerListView.requestLayout(); May 28 14:48:20 not clearing the selection!!! anything m missing ? May 28 14:49:29 its singleChoice May 28 15:02:20 My app runs out of memory when many images are loaded. I have several pretty large images in different activities, but andorid doesn't seem to GC May 28 15:03:07 Hello, I saw in OKHTTP site this sentence: "You can try out OkHttp without rewriting your network code. The okhttp-urlconnection module implements the familiar java.net.HttpURLConnection API and the okhttp-apache module implements the Apache HttpClient API." So I add this lines to my gradle file. http://pastebin.com/CQXwA80W , Do I have to change anything else to make my classes to use the okhttp-urlconnection ? May 28 15:04:13 wviana: yes of course... May 28 15:04:23 You have to use the OkHttp API to create the HttpUrlConnection May 28 15:05:04 ? May 28 15:05:07 wops sry May 28 15:06:10 SimonVT, just change the import ? May 28 15:06:31 okhttp-urlconnection contains 1 class: https://github.com/square/okhttp/blob/master/okhttp-urlconnection/src/main/java/com/squareup/okhttp/OkUrlFactory.java May 28 15:06:42 It can create a HttpUrlConnection for you May 28 15:06:58 Then you just use the HttpUrlConnection as you normally would May 28 15:07:48 danijoo Chainfire I took your advice, I have one keystore with 11 unique keys in, and seperate passwords for each May 28 15:08:03 thanks for the help May 28 15:12:43 How would we know that super() is to be used by some method or not ? May 28 15:14:13 hey i want to make transparent status bar and i add windowTransculentStatus="true" to styles and it says requires api 19 May 28 15:14:24 but my min 14 and target 22 May 28 15:14:29 what should i do May 28 15:14:40 Don't use it <19 May 28 15:14:42 SimonVT, Thanks, It works May 28 15:15:14 Itś just my impression or OkHTTP is faster than HttpURLConnection May 28 15:16:00 SimonVT:i have two styles.xml v14 and normal created (i guess its v22) May 28 15:16:06 should i create v19 too ? May 28 15:16:41 OkHttp backs HttpUrlConnection on kitkat+ May 28 15:16:51 Consider just switching completely to OkHttp May 28 15:17:19 sci-fic: Sure May 28 15:18:06 SimonVT thanks and last question. styles(v19) means api 19 + or 19- ? May 28 15:18:13 should be + right ? May 28 15:18:15 api19+ May 28 15:18:19 ok ty :D May 28 15:27:10 When i run jarsigned and pass the -keypass "..." argument it fails "-bash: !gB!S: event not found" May 28 15:27:22 I'm using a 32 character password generated by lastpass May 28 15:33:26 should I still target gingerbread? May 28 15:33:43 didn't you ask about this before? May 28 15:41:53 ugh, new material icons page is garbage and unusable May 28 15:41:58 whose bright idea was this crap May 28 15:44:06 pfn: which page? May 28 15:44:17 https://google.github.io/material-design-icons/ May 28 15:46:52 yaaaa whose idea !!! May 28 15:47:09 used to be a flat listening with all icons by category May 28 15:47:15 now it's 1 icon per row with all sizes May 28 15:47:19 and have to 'next' to see more May 28 15:47:21 stupid dumb May 28 15:48:03 yes, i have an earlier page opened. will save my ass :D May 28 15:50:21 they dont want someone to find an icon, rather they just want to showoff :P May 28 15:50:56 yeah, it's pretty clear they don't care about usability if someone approved that changed May 28 15:51:55 yes, also some icons are missing 404 not found :P May 28 15:52:28 yech, I have to material designize this app, does not look happen May 28 15:52:32 happy May 28 15:53:42 Does it matter if I leave some of the certificate fields blank in my keystore? http://i.imgur.com/U3K6vXN.png May 28 15:53:51 does not matter May 28 15:53:56 alright thank you May 28 15:54:15 getting ready to publish my first app soon May 28 15:54:17 all that matters is the public and private key May 28 15:55:35 but its good to have those fileds filled up May 28 15:55:42 easy to recover if needed May 28 15:56:31 huh, there's nothing to recover May 28 15:59:11 What's the fastest way for someone with webdev experience to get up to speed with android dev? May 28 15:59:25 clearmind: write an app May 28 15:59:34 clearmind: learn OOP concepts May 28 15:59:49 hi, how do i push the view above listview when scrolling up May 28 15:59:58 Recommended books or online courses/tutorials? May 28 16:00:41 I'm familiar with OOP. Particularly MVC May 28 16:01:14 develop and learn, and must have to fallow oops concepts and learn android theory every day one hour May 28 16:01:39 hi, how do i push the view above listview when scrolling up May 28 16:02:31 clearmind: learn some java first May 28 16:02:56 rathodvikas10: stop sending the same thing over & over again May 28 16:03:02 if someone know, someone will answer May 28 16:03:59 rathodvikas10: push the view while scrolling !!! question not clear. May 28 16:04:08 clearmind: don't bother with books, just get the SDK and Android Studio set up and start hacking away at thing May 28 16:04:26 you will learn by doing much faster May 28 16:04:47 there are some good video tutorials on YouTube and such as well as a nice aid but I wouldn't rely on them May 28 16:05:12 and yeah, learn the fundamentals of java. it will help you wrap your head around how the code actually works May 28 16:06:05 there are some great video series that guide you through building an app start to finish. May 28 16:06:36 Okay. Sounds a lot like how I taught myself webdev... Just start doing it. May 28 16:06:55 #1 learn java May 28 16:07:01 that's always the first step to doing android May 28 16:07:09 jumping in headfirst otherwise is overwhelming May 28 16:07:10 android = xml+java May 28 16:07:41 java = oops, android = strong oops :D May 28 16:09:17 i noticed at i/o there is a session on mobile web May 28 16:09:33 i'm pretty confident thats the direction google wants everything to go May 28 16:09:39 @t2mkn i have a RelativeLayout and blow it has ListView and when i scroll listview i want the relativelayout to scroll with it May 28 16:09:56 g00s: definitely. what with the demos they had last year of chrome os running android apps May 28 16:10:06 eeep, my job’s in jeopardy May 28 16:10:06 Ok... so... Learn OOP, java, xml. Get SDK and Android Studio and start doing it. May 28 16:10:41 imagine having the job of trying to just compress chrome and android together May 28 16:11:04 clearnmind: start with learning java syntax and the basics of OOP; once you know the syntax it's enoguh to jump into android headfirst May 28 16:11:09 rathodvikas10: keep both elements inside scrollview May 28 16:11:27 the only good way to learn android XML is just to do it. same with the coding May 28 16:11:47 rathodvikas10: don’t put a listview inside a scrollview May 28 16:11:53 t2mkn: you should know better! ;) May 28 16:12:02 how can i put RelativeLayout and ListView inside a scroll view May 28 16:12:17 by the way, lynda.com has great tutorials for absolute java/android beginners. you can pay for site access or find them in torrents May 28 16:12:23 yes i an trying listview.addHeaderView(); May 28 16:12:47 rathodvikas10: and whats messing up with that? May 28 16:13:05 rathodvikas10: header or footer view is fixed May 28 16:13:16 rathodvikas10, dont but scrollables in scrollables May 28 16:13:27 ohh so header will not scroll with listview ?? May 28 16:13:50 rathodvikas10: thats why that is called Header :D May 28 16:13:59 rathodvikas10: are you sure? http://stackoverflow.com/questions/4274519/android-how-to-avoid-header-from-scrolling-in-listview-android May 28 16:14:11 i taught header is inside the listview as a first element May 28 16:14:23 Yes, header is the first element May 28 16:15:10 any way let me give a try if the header is moving with the listview then gr8 or else i have to implement the onScrollListener May 28 16:15:35 Clearmind: Lynda.com - Foundations of Programming: Object-Oriented Design. i'm not going to link it here but it's easy to find and very informative May 28 16:16:05 hey guys, play store version of google-io bingo is live https://play.google.com/store/apps/details?id=io.dwak.googleiobingo May 28 16:17:05 nice May 28 16:17:13 is the livestream starting yet? i have to go to sleep, already midnight here May 28 16:18:45 hey Napalm May 28 16:18:49 11 mins May 28 16:18:53 hey May 28 16:18:56 Sitting in io now. Just a giant pong game going on right now. Should start in 12 minutes? May 28 16:18:57 everyone ready? May 28 16:18:58 sup Napalm and g00s May 28 16:19:06 sup May 28 16:19:06 yeah but i have a meeting!!!! May 28 16:19:08 :( May 28 16:19:17 say you have a urgent phone call and leave May 28 16:19:30 PM me your mobile number and I'll call you :D May 28 16:19:32 it won’t take long but sheeeeeit May 28 16:19:36 lol May 28 16:19:54 They came all the way from Korea.. :/ May 28 16:21:36 liuwenhao: thanks I'll check out Lynda May 28 16:22:18 hello May 28 16:22:27 how do i connect my android phone to android studio May 28 16:22:31 it refuses to detect my phone May 28 16:22:52 Sounds like an issue with your computer drivers May 28 16:23:07 darkgaia: what os? May 28 16:23:10 Can you broswe your phones filesystem on the computer normally? May 28 16:23:13 im using windows May 28 16:23:15 yes May 28 16:23:23 i can see the sd card and internal storage May 28 16:23:27 Phone in Developer mode? May 28 16:23:41 yes May 28 16:23:55 USB debugging on May 28 16:24:04 wow, hardly any of the android stuff is live video May 28 16:24:20 most of it seems sandbox talks and stuff May 28 16:25:21 From Google dev twitter: We've made the #io15 codelabs app publicly available for all participants in person, and attendees worldwide. goo.gl/VNXVf2 May 28 16:27:16 if i have an app that uses a local library (e.g. `compile project(':myLib')`) ... can you have that app include a specific build variant of that library (e.g. `debugCompile project(':myLibDebug'); releaseCompile project(':myLibRelease');) ? May 28 16:28:28 anyone got the live stream url? May 28 16:28:35 normally its up before it starts May 28 16:28:37 basically is there a way to declare what variant of the library you use? May 28 16:28:38 https://www.youtube.com/watch?v=7V-fIGMDsmE May 28 16:28:57 Guys, any reason why this wouldnt work: http://pastie.org/10212199 May 28 16:28:58 thanks Leeds May 28 16:29:02 jesus christ May 28 16:29:08 the OEM page for lenovo is in fucking chinese May 28 16:29:17 amagad 1 minute left !!!!1111 May 28 16:29:21 that's because they're a fucking Chinese company maybe? May 28 16:29:34 lol my chromecast just crapped out while trying to connect May 28 16:29:53 look, nerds! May 28 16:29:55 very excitee May 28 16:29:57 I got to play spot the dev and find my friends :D May 28 16:30:33 I wonder if they did the completely unnecessary line around building again and actually put in enough chairs for all the ticket holders this time May 28 16:30:47 oh yeaaaa May 28 16:32:28 Chainfire: I think the room only fits 3k. Other io attendees have to watch it in other rooms. May 28 16:33:30 lame May 28 16:33:51 get a bigger room, invite less people May 28 16:34:13 im talking about the game theyre playing May 28 16:34:15 lol May 28 16:34:21 Starting now... May 28 16:37:11 Google Galactic! May 28 16:37:13 android M == milky way? May 28 16:37:22 sonOfRa hah, good one May 28 16:37:32 Android M&M May 28 16:37:50 Milkeshake? Marshmellow? Mars? May 28 16:37:56 M, for now May 28 16:37:58 MILKSHAKE! May 28 16:37:59 Mars May 28 16:38:04 Milkshake May 28 16:38:04 hello! May 28 16:38:07 for sure May 28 16:38:11 I'll bet they stick with what they did for L and don't name it yet May 28 16:38:17 could somebody teach me how to connect my android to android studio? its driving me nuts May 28 16:38:25 now? lol May 28 16:38:26 android studio an't detect my device May 28 16:38:39 is anyone elses stram stuck on 00.00.0 May 28 16:38:45 i had to refresh May 28 16:38:51 oh btw.. i pressed /r/thebutton May 28 16:38:54 darkgaia: bad timing... we're mostly watching the Google I/O keynote May 28 16:39:20 switch to Eclipse :) May 28 16:39:21 darkgaia: later after the epicness finishes May 28 16:39:33 jk that’s bad advice that I don’t folow myself May 28 16:39:50 I can’t watch? May 28 16:39:53 only blue :( May 28 16:40:06 i get an Aw, Snap! in Chrome :/ May 28 16:40:28 those are waze emoticons, I think May 28 16:40:54 cool sawng May 28 16:41:20 chemical brothers May 28 16:41:27 figures May 28 16:42:02 yaay May 28 16:43:35 Odaym does every jpeg file come with ExifInterface attributes? May 28 16:43:46 Im having trouble grabbing attributes from .jpg image files May 28 16:43:55 Ive never not known anything more than I dont know that May 28 16:44:10 You never used ExifInterface? May 28 16:44:16 never had the need May 28 16:44:20 drose379: watch the live stream. https://www.youtube.com/watch?v=7V-fIGMDsmE and stop coding May 28 16:44:26 + May 28 16:44:27 lol May 28 16:45:01 wait what? May 28 16:45:12 Fragmentation… May 28 16:45:22 we build android because fragmentation is bad.. May 28 16:45:23 uhm... ok May 28 16:45:25 yeah, throw the f word out :) May 28 16:45:28 lol May 28 16:47:31 each of these idiots May 28 16:47:32 haha May 28 16:48:26 anyone developing apps for cars? May 28 16:49:11 they track cast button touches ? :D May 28 16:49:27 first announcement? US-only May 28 16:49:30 What stops me, as an application developer, from implementing something like audioflinger in native code in my app and accessing things like the microphone without the permissions required? May 28 16:49:40 game of thrones of play.. sold May 28 16:49:45 *on May 28 16:50:00 oh... oh... OH... OH... M! May 28 16:50:04 GOT! May 28 16:50:06 deadmund SELinux restricts your access to the hardware devices, for one May 28 16:50:15 Android Mettwurst May 28 16:50:18 alright here we gew May 28 16:50:24 brace May 28 16:50:41 this year, they are focusing on quality :) May 28 16:50:46 lol May 28 16:50:53 should focus on docs.. May 28 16:51:05 Chainfire: Is SELinux widely deployed on Android? May 28 16:51:20 Chainfire: Are you the infamous author of the superuser application? May 28 16:51:32 okhttp built in? May 28 16:51:42 deadmund yes, but aside from SELinux there's also stuff you're not allowed to touch without SELinux because of your gid/uid not having access, or you not having a security token, or whatever May 28 16:51:43 oh fuck May 28 16:51:45 App Permissions! May 28 16:51:49 saw that coming May 28 16:51:50 \o/ May 28 16:51:53 finally May 28 16:51:56 this guy's accent is slightly odd... mostly USian, but with the occasional English word May 28 16:51:56 yea, this has been a long time coming May 28 16:51:58 what! that will break things wont it? May 28 16:52:00 huge refactoring income.. May 28 16:52:10 Leeds hes from the UK.. its irish May 28 16:52:16 like iOS May 28 16:52:17 oh my god May 28 16:52:20 finally May 28 16:52:20 Chainfire: Awesome, thanks. Are you the developer of superuser ? (https://download.chainfire.eu/396/supersu/) May 28 16:52:23 Napalm: Irish!=UK necessarily :) May 28 16:52:30 deadmund yes May 28 16:52:34 Chainfire: Awesome! May 28 16:52:35 this will mean in the first months every second app will crash after you click "no" May 28 16:52:38 I thought they might do this through Google Play Services May 28 16:52:40 yep haha May 28 16:52:42 Chainfire: Thank you so much for your contributions! :) May 28 16:52:50 but its very cool May 28 16:52:56 danijoo: if this works like CMs privacy guard, that might not happen May 28 16:52:57 So glad they're doing the permissions thing. Users needed this a long time ago. May 28 16:53:01 lol showing whatsapp instead of hangouts May 28 16:53:08 very naace May 28 16:53:12 that's when you know hangouts sucks May 28 16:53:17 Afzal: hangouts will get 100% permissions anyways lol May 28 16:53:20 Afzal hangouts is a system app that doesn't need to ask? :D May 28 16:53:27 Afzal: yea, google aren’t apple, they accept the existence of other apps May 28 16:53:30 Chainfire well that sucks :/ May 28 16:53:33 Those app permissions just like iOS, I always loved that on iOS! May 28 16:53:51 so no more internet permission at all? May 28 16:53:55 the 5 other circles!! May 28 16:53:56 yea, ios got that right early May 28 16:54:07 Leeds I'm kinda happy about that, every app needs internet these days May 28 16:54:09 leeds, that didnt show all the permission i dont think. May 28 16:54:19 All those people who said permissions would never be implemented... :D May 28 16:54:21 more web APIs? or web apps May 28 16:54:22 samskiter: I think maybe it did May 28 16:54:26 wonder how the permissions thing will backport May 28 16:54:34 only 6 big things in M :( May 28 16:54:35 lol May 28 16:54:38 Leeds: showed ntohing about wifi May 28 16:54:46 presumably there'll be a mapping from old perms to new May 28 16:54:48 samskiter, it will backport with lots of runtimeexceptions :D May 28 16:55:01 M is not up yet though May 28 16:55:02 didn't he just say it wouldn't activate unless the app sets target API to M ? May 28 16:55:04 lol May 28 16:55:06 i guess in the coming days May 28 16:55:21 facebook are going to be all over this May 28 16:55:24 Hey guys - I have an activity that implements one class, and extends another. Both of these classes have an onOptionsItemSelected. How can I set which one is going to be called when calling super.onOptionsItemSelected in my activity? May 28 16:55:27 niceee May 28 16:55:28 hahaha, that's so bad @Chainfire, just set target to 22 to use the old permission that May 28 16:55:30 thing* May 28 16:55:30 would make sense it it only activate if build target is M May 28 16:55:47 eh, we know that only a few % of users will get any of this stuff in the next 6-12 months - unless there's another announcement coming May 28 16:55:48 Yeah, he said that, Chainfire May 28 16:55:51 interesting May 28 16:55:58 fucking yes May 28 16:55:59 custom tabs look cool May 28 16:56:19 niiiice, finally no webview login pages May 28 16:56:23 omg... more Chrome integration! grab popcorn and wait for MS' revenge May 28 16:56:24 excited about that May 28 16:56:32 lol May 28 16:56:40 Ohhh ohhh, please be good May 28 16:56:45 nice nice app links should be good May 28 16:57:13 argh, linking is hurt by gmail. it doesnt linkify custom url schemes May 28 16:57:24 infamous? May 28 16:57:26 tjbiddle. The one the extends the other will override the onoptionsItemSelected May 28 16:57:41 wow nice May 28 16:57:44 when you call super.onoptions.. you are callign the extended classes onOptionsItem May 28 16:57:45 niceeee May 28 16:57:46 niceee May 28 16:57:48 Awesome May 28 16:57:57 niiiiiiiice May 28 16:57:57 thank god May 28 16:57:59 I dont like that May 28 16:57:59 this will work great offline May 28 16:58:00 that's good May 28 16:58:00 tricknology: No way to specify a specific class's to be utilized? May 28 16:58:05 yayyyyy May 28 16:58:06 wait no that's bad May 28 16:58:07 tjbiddle, interfaces don't have implementation May 28 16:58:07 yay, this is excellent May 28 16:58:13 look at inheritence May 28 16:58:14 that means nobody can make an alternative twitter app for example May 28 16:58:16 or reddit May 28 16:58:20 tjbiddle, you can only ever extend from 1 clasa May 28 16:58:20 danijoo that's what I was thinking May 28 16:58:31 tjbiddle, super is obvious from that regard May 28 16:58:35 there's also that, danijoo. good thought. (but also offline!) May 28 16:58:37 M is feeling underwhelming now May 28 16:58:39 tjbiddle, there is no diamond problem May 28 16:58:41 Yeah, figured that was the case. Just wanted to check May 28 16:58:44 omg if gwallet doesnt come to UK soon! May 28 16:58:45 Thanks! May 28 16:58:51 GRRR May 28 16:58:57 samskiter: +1 May 28 16:59:04 uk have had NFC for WAY longer than US May 28 16:59:10 well. I thik you could say its a good thing because the site owner can choose to not make it open. May 28 16:59:13 new features are for USians May 28 16:59:15 still dont like it. mh May 28 16:59:19 i did my freaking masters dissertation on NFC payments 2 years ago May 28 16:59:28 can't I already throw my ATM card at the payment terminal May 28 16:59:33 is it secure ... like google gets details of my purchase ? :P May 28 16:59:38 haha May 28 16:59:41 they do with Google Wallet May 28 16:59:43 he's reading the autocue too much... May 28 16:59:46 they just give you a credit card number May 28 16:59:48 NFC payments are so 2014 May 28 16:59:52 “front” you the money May 28 17:00:01 they don’t say if it’s EMV or not May 28 17:00:07 GRRR May 28 17:00:12 lol May 28 17:00:17 alright then May 28 17:00:19 US US US May 28 17:00:25 so instead of in-app purchases, they'll use android pay? May 28 17:00:30 I wonder if once US POS terminals start upgrading for pin & chip if more will support NFC May 28 17:00:36 nvm May 28 17:00:37 google pay: Available in europe 2030 May 28 17:00:40 lol May 28 17:00:46 Afzal: probably yea. this just looks ike a rebrand of google wallet May 28 17:00:51 who needs Androdi Pay in Europe, danijoo? May 28 17:00:51 Because right now - I wouldn't even bother with NFC payments because 95% of people don't have support for it, so I always forget - which is a shame May 28 17:01:02 turns euot May 28 17:01:03 ugh fingerprint support, still useless May 28 17:01:06 I've got NFC payments on my phone today in Hong Kong May 28 17:01:10 we still trade goods instread of money here in eu. May 28 17:01:12 Leeds: how? May 28 17:01:18 gwallet works there May 28 17:01:19 ? May 28 17:01:24 samskiter: you know oyster in London? May 28 17:01:31 Leeds: yes May 28 17:01:32 fingerprint sensor??? May 28 17:01:39 on what device? May 28 17:01:41 hmm, looks good May 28 17:01:48 danijoo doesn't your ATM card itself have wireless pay already? where are you from? May 28 17:01:50 tricknology, thats also a new part of M May 28 17:01:57 they must've used a nexus to add that feature, right? May 28 17:01:59 ok but where are the devices? May 28 17:02:01 Chainfire, yes but no store supports it :p May 28 17:02:10 samskiter: there's a similar system here - but widely used as e-cash, not just for transport... called Octopus. I've got a SIM card which supports it, app installed, payments through the phone's NFC May 28 17:02:15 S5, S6? May 28 17:02:19 S9 May 28 17:02:23 Leeds: nise May 28 17:02:23 danijoo oh over here pretty much all the store payment terminals have it May 28 17:02:25 nice* May 28 17:02:26 samsung is going to dominate the mobile payments May 28 17:02:32 with Android Pay and Samsung Pay May 28 17:02:39 has fingerprint May 28 17:02:58 doze May 28 17:03:00 Of course battery is going to be last... Better actually make some progress this go around pleaseee May 28 17:03:03 Leeds: did you need an operator provided version of android? May 28 17:03:05 doze nuts! May 28 17:03:09 lol May 28 17:03:14 samskiter: absolutely not May 28 17:03:26 so just from an app? May 28 17:03:35 been a while since i looked at the NFC apis May 28 17:03:42 eh? May 28 17:03:55 no mifare classic in my device May 28 17:04:03 2 whole times if you don't use the device!! May 28 17:04:07 what about services that are running, when in dosing May 28 17:04:09 I had an idea to copy my Vegas hotel key to my device and use it May 28 17:04:10 so.. if i set my syncadapter to periodic sync every hour, i will end with syncs every 6 hours? May 28 17:04:10 lol May 28 17:04:19 YESSS!!! May 28 17:04:22 TYPE C!! May 28 17:04:25 yes May 28 17:04:28 obvious move May 28 17:04:29 half the time I don't plug in my device at night - so that'd be substantial May 28 17:04:30 OH SHIT!! what is that? May 28 17:04:33 samskiter: needs a specific SIM card - I guess the authentication is done there, so it's not on the device May 28 17:04:33 what' is that!?! May 28 17:04:46 ok.. so where is this new phone? May 28 17:04:46 its all about qi charging at night with the new ikea lamps ;) May 28 17:04:52 fingerprint.. type c May 28 17:05:04 whaaaat May 28 17:05:08 whooot May 28 17:05:12 wowwwww May 28 17:05:14 I can charge another phone with my phone? May 28 17:05:17 charge from tablet May 28 17:05:18 definitely has to have a new phone coming May 28 17:05:21 wow May 28 17:05:34 tjbiddle: yea, there needs to be anew dev phone with fingerprint stuff May 28 17:05:56 wasn't there a floating cut/paste/copy toolbar before? May 28 17:06:02 if nex 5 2015 comes with fingerprint and type C, this will be a must-buy May 28 17:06:07 wow finally May 28 17:06:13 oh thank god volume changes May 28 17:06:15 loooooong overdue May 28 17:06:16 thank god May 28 17:06:21 I liked the faint "finally!" from the background May 28 17:06:28 im sure they had that before May 28 17:06:29 lol May 28 17:06:30 hm, i saw BT 4.2 in there :) May 28 17:06:38 aaaand that's it May 28 17:06:40 supports 5, but not 7? May 28 17:06:45 downhill from here May 28 17:07:06 android wear. SEVEN DEVICES omg! May 28 17:07:07 nice. i was scared they only give nex 6 and 7 a prview version May 28 17:07:11 oh no May 28 17:07:12 from accent to accent these guys May 28 17:07:12 David Singleton - hahhah. Now that's a developer name. May 28 17:07:13 haha May 28 17:07:15 no playing with M for me, unless I want to kill my own 9 May 28 17:07:17 hahaha May 28 17:07:21 singleton May 28 17:07:25 WE LOVE WATCHES. THEY ARE RELEVANT May 28 17:07:36 omg M Preview link - http://bit.ly/IqT6zt May 28 17:07:42 (dont click that) May 28 17:07:50 wow Chainfire wow May 28 17:07:52 he’s trying to do an apple pitch “Beautiful, gorgeous… “ May 28 17:07:54 seen someone say Visa Europe is supporting Android Pay May 28 17:08:06 Im sitting waste deep in eclipse MAT. Im finding that large bitmaps, created from Application.getResources().getDrawable, are allocating huge amounts of space. Is there any way to clear the resource cache? May 28 17:08:46 (and get almost no downloads and aren’t profitable) May 28 17:09:11 lol Chainfire May 28 17:09:13 ffffff May 28 17:09:52 which one is that? May 28 17:10:03 button on the side? May 28 17:10:04 * g00s snoozes, let me know when wear stuff is passed May 28 17:10:08 Yeah. lol May 28 17:10:14 Things that aren't very interesting: Android Wear. May 28 17:10:28 omg persistent shopping list May 28 17:10:40 lol May 28 17:10:50 haha May 28 17:11:00 that's so weird May 28 17:11:05 Dat wrist gesture. May 28 17:11:11 everybody shake your wrist! May 28 17:11:18 who bets that “emoji detection” is a bigger gimmick May 28 17:11:19 drinks or gym May 28 17:11:20 lol May 28 17:11:21 "Try not to do this movement near schools." May 28 17:11:21 Yeah, not going to do that lol May 28 17:11:23 weird choice May 28 17:11:40 thats cool, but whos gonna do that May 28 17:11:41 how have we survived without this May 28 17:11:42 ok, this is all/mostly? stuff in the recent wear update - it's not new today May 28 17:11:45 lol May 28 17:11:56 FINALLY I can draw emojis. Android wear is complete. May 28 17:11:59 still, they could use that emoji stuff to write an email back? May 28 17:12:03 \s May 28 17:12:20 All About Android podcast had a whole section where they tried to draw the poop emoji about 3 weeks ago May 28 17:12:22 why May 28 17:12:25 why do we do this May 28 17:12:30 "let's see some of the apps" no May 28 17:12:35 “experiences that fit your wrist” when did i last draw a a cocktail glass on my wrists May 28 17:12:39 wait, foursquare still exists? May 28 17:12:39 what's the difference between flashing system.img and sideloading the ota zip file? May 28 17:12:43 haha moto 330 May 28 17:12:46 Finally, ads on my wrist! May 28 17:12:52 lol May 28 17:13:12 ezakimak: one is an update, one is a full system image install? May 28 17:13:13 ezakimak the first is a full image of the system partition, the second is a patch May 28 17:13:13 freeeeeeeee May 28 17:13:21 ezakimak: and neither are on-topic here May 28 17:13:23 freeeeeee May 28 17:13:25 any reason to need both? May 28 17:13:27 we’re so freeeee May 28 17:13:45 erm, doesn't that look like a pebble watch? May 28 17:13:52 i cant believe they are showing off such an ugly app May 28 17:13:54 I foresee people putting watch in weird places and showing what the watch think they are doing. May 28 17:14:09 lol May 28 17:14:11 groxx: https://www.youtube.com/watch?v=7V-fIGMDsmE May 28 17:14:14 if you put your watch on your other hand, it's like you're using someone else's apps May 28 17:14:15 if I drive around for a while, I get a congratulations on walking 10k notification from Google Fit... :P May 28 17:14:16 couldn't you do all that already? May 28 17:14:20 what's new about these apps? May 28 17:14:22 now that's cool May 28 17:14:27 all ihave to do is buy a new car May 28 17:14:39 From dream to 3d print - THAT's something! May 28 17:14:45 oh, nm. i know why i used both last time May 28 17:14:46 seriously, can someone write an app to measure... rapid wrist motion? May 28 17:14:47 tinder has an android wear app? May 28 17:14:48 TacticalJoke: yup, had it open in a tab as soon as I saw "dat wrist gesture". I figured that meant io was running :) May 28 17:14:50 different versions. May 28 17:14:50 FOUR THOUSAND May 28 17:14:54 * tjbiddle swipe...swipe..swipe May 28 17:15:00 :D May 28 17:15:06 and the watches are still clunky, ugly, and quite possibly the best birth control invented yet May 28 17:15:21 lol May 28 17:15:27 and they have shite batter life May 28 17:15:27 is this guy also a bit Irish? May 28 17:15:35 "Your choice of wrist calculators.." May 28 17:15:42 such a gimmicky line May 28 17:15:44 *sigh* May 28 17:16:04 now show us the chrome/android mashup May 28 17:16:04 Maybe will.i.am will drop through the roof all of a sudden. May 28 17:16:09 come on sundar May 28 17:16:11 IoT May 28 17:16:13 finally May 28 17:16:13 !!! May 28 17:16:28 haha, ROBOT FRIDGES May 28 17:16:36 sudo bring me a beer May 28 17:16:56 tea time May 28 17:16:57 No, sundar, bring me a beer. ;-) May 28 17:17:36 some estimates recon on up to 100 devices in a home May 28 17:17:48 :o May 28 17:17:51 there was a soccer ball in that IOT image May 28 17:17:59 1 per light, 1 per radiator, 1 temp sensor per room May 28 17:18:04 nest is cool, we have one May 28 17:18:10 erm, nest has two devices, one of which had to be recalled... May 28 17:18:15 I missed the soccer ball. it's probably the power/hype-generating one though? May 28 17:18:19 really? May 28 17:18:19 lol May 28 17:18:23 oh noes, the M preview! May 28 17:18:26 We need Nest-like devices without monthly fees. May 28 17:18:34 groxx isnt the soccer ball for the world cup May 28 17:18:34 * wakelock gets ready to relive the past May 28 17:18:37 (also known as L preview) May 28 17:18:40 nest has a monthly fee? May 28 17:18:40 yes yes yessss May 28 17:18:44 lol I heard project yolo May 28 17:18:45 ? May 28 17:18:48 Can we just call M "Mmmmm"? May 28 17:18:49 ok, are Brillo pads a thing in the US? May 28 17:18:50 oh May 28 17:18:58 oookay, May 28 17:19:04 Maybe I'm confusing it with other IoT things on Android. May 28 17:19:15 groxx, can we just call it "mutt"? May 28 17:19:15 oh yikes May 28 17:19:28 oh, is that a firmward for iot devices? May 28 17:19:28 I hope they took out automatic memory management and app management May 28 17:19:59 yea, the JRE stuff is gone from the looks May 28 17:20:23 not protobug!?! May 28 17:20:27 protobuf* May 28 17:20:35 madness! May 28 17:20:57 this is similar to the healthkit thing May 28 17:21:51 lol android@Home part 2 May 28 17:21:57 I don't have an oven at all, never mind a smartover May 28 17:22:05 Wonder how they're handling groups of devices - like all my lights in the kitchen, or something May 28 17:22:14 Or if it's.. Kitchen light 1, kitchen light 2, etc... lol May 28 17:22:22 Q3/Q4 May 28 17:22:55 yeah, my oven goes way in the opposite direction, to "idiotic oven". has trouble maintaining a temperature. May 28 17:23:19 use your phone as an oven instead :p May 28 17:23:32 (I hear some get pretty hot) May 28 17:23:39 haha, yeah, just play some games and fry an egg on it :) May 28 17:24:31 double fun! May 28 17:24:56 yeah. the oven mitts do mean the screen has trouble recognizing touches though :'( May 28 17:26:02 I wonder if that neural net was involved in the whole n**ga affair? May 28 17:26:06 hey guys, how do i use variant.packageApplication.outputFile; on my gradle? its giving me: Error:(61, 0) Could not find property 'packageApplication' on com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@6dc10950. May 28 17:26:25 Google Now thinks it takes much longer to get to and from my local airport than it really does May 28 17:27:09 it factors in "traffic conditions" too May 28 17:27:16 those can be awfully wrong May 28 17:27:18 lol why can't you remember where you parked your car May 28 17:27:50 wakelock: on a train? May 28 17:28:06 sure, there's train traffic too :p May 28 17:28:17 on a dedicated airport express line? :) May 28 17:28:27 ApplicationContext May 28 17:28:31 bah shut up :p May 28 17:28:44 sugar rush is not even a real thing May 28 17:28:45 https://photos.google.com/ May 28 17:30:00 yeah it's been quite a while since google launched a new web service May 28 17:30:08 too busy with android I guess May 28 17:31:00 they can have my free 1TB on flickr when they pry it from its cold, dead fingers by offering 2TB for free. May 28 17:31:34 wut May 28 17:31:39 aren't notifications for that May 28 17:31:44 Now Beer May 28 17:31:45 awkward delay May 28 17:32:07 Now on Tap……………….. *tumbleweed* claps May 28 17:32:18 Android on Tap? Android M = Android Mead May 28 17:32:18 oh nice May 28 17:32:18 Mmmm May 28 17:32:29 mead lol May 28 17:32:50 soooo google now can read the screen text? May 28 17:32:54 that's scary May 28 17:33:05 no man May 28 17:33:06 lol May 28 17:33:08 Afzal: any app can May 28 17:33:15 Afzal: given the permission May 28 17:33:18 I'm already working on my "Mirror mirror on the wall..." app that will speak your name when you ask it! May 28 17:33:22 it's called "accessibility", Afzal May 28 17:33:24 thankfully they didn't go with a U2 song May 28 17:33:24 Really? didn't know that May 28 17:33:29 wakelock oh lol May 28 17:33:36 Hello everyone May 28 17:33:41 is there any reason to flash the current stock system.img and then sideload the ota update, vs just flash the newer system.img ? May 28 17:33:55 ezakimak no there isn't May 28 17:34:01 ezakimak: is that going to affect your app development May 28 17:34:04 well, also it's really easy to listen to the music broadcasts, which have more than enough info to work with that. May 28 17:34:09 ezakimak, why are you asking this here? May 28 17:34:12 not developing any apps atm May 28 17:34:12 ezakimak: #android-root plz May 28 17:34:13 i have a AMD A8 and it doesnt run android 5.1.1 please help me May 28 17:34:36 maybe we need an #android-io for a couple days :) May 28 17:34:42 this is cool May 28 17:34:49 #android-m May 28 17:34:53 g00s: it is a developer event, after all May 28 17:34:55 i wanted to do something simpler like this a while back May 28 17:34:55 so, are they snooping textview contents, or what? May 28 17:35:03 if you don't need to modify your app... May 28 17:35:11 Anyone have custom typedapter for gson IO that has nested lists? May 28 17:35:18 Chainfire yup, looks like it May 28 17:35:27 Chainfire, for what? May 28 17:35:35 Ie I need a @JsonAdapter for a List> May 28 17:36:19 Chainfire, I believe the framework itself has some internal support to provide "readable" content to an accessibility service if it asks for it, or something like that May 28 17:36:27 lol his pronounciation was so off May 28 17:36:29 help me to speed up emulator on AMD cpu May 28 17:36:32 lol May 28 17:36:45 noooooo, stream is stuck May 28 17:36:46 Afzal, no textview snooping... May 28 17:36:47 yeah they just mentioned something about app indexing May 28 17:37:00 Chainfire that's for deep linking May 28 17:37:09 welp the stream is gone :( May 28 17:37:28 http://android-developers.blogspot.com/2015/05/android-m-developer-preview-tools.html May 28 17:37:30 Afzal: if it loves you, it'll come back eventually May 28 17:37:39 ndk support in studio 1.3 May 28 17:37:41 groxx it indeed loves me May 28 17:37:43 This is all useful and fancy stuff. But people want new toys! May 28 17:37:51 MOAR WATCHES May 28 17:37:52 Holy balls Google, now you have my attention May 28 17:38:00 wonder how your app gets indexed May 28 17:38:04 Now make it work in another language. May 28 17:38:04 Mccs, haxm is for intel only, either get an intel or deal with the default emulator. or, try geny May 28 17:38:12 .. or country. May 28 17:38:20 burntcookie90 nooooope, not updating AS to a preview version again May 28 17:38:24 ooh photod May 28 17:38:24 well lets hope the NDK support in 1.3 doesn't break the existing NDK scripts for 1.2 ... :) May 28 17:38:28 Design support lib May 28 17:38:30 NICE! May 28 17:38:32 android design library, includes FAB etc. May 28 17:38:33 samskiter: you have to integrate it with your app May 28 17:38:42 snackbar too May 28 17:38:45 "Android Design Support Library" :D May 28 17:38:49 motion enabled toolbars!! May 28 17:38:49 napalm: she said “after google indexes your app” May 28 17:39:07 would be cool if M came with a completely new set of design and usability guidelines :p May 28 17:39:12 hahahaha May 28 17:39:14 no it wouldn’t May 28 17:39:15 omg May 28 17:39:20 We call it "Material 2" May 28 17:39:27 Immaterial May 28 17:39:32 "Material Redesign" May 28 17:39:35 Spiritual May 28 17:39:41 here comes the dismemberment of G+ May 28 17:39:59 "It's not a paper anymore, it's digital now" May 28 17:40:03 Leeds, huh? May 28 17:40:13 help me to speed up emulator on Cpu AMD May 28 17:40:22 wakelock: taking photos out of G+ and making it a first-class service May 28 17:40:38 my emulator is very slow on cpu AMD i tried May 28 17:41:04 Mccs: does genymotion work better? May 28 17:41:07 Mccs: use a device instead May 28 17:41:18 Leeds, I see May 28 17:41:30 Mccs: otherwise, just emulate a smaller device. my laptop will emulate a 320x480-ish at almost real speed. May 28 17:41:31 Chainfire, pff, I want CMake support May 28 17:41:35 death to ndk-build. May 28 17:41:39 Mccs, I just told you what to do, why are you asking again? May 28 17:41:44 Leeds : i dont have device May 28 17:41:52 Mccs: get one May 28 17:42:05 My photos never sync that fast. May 28 17:42:07 or seven May 28 17:42:09 like Leeds May 28 17:42:10 :p May 28 17:42:23 Leeds : is not there any way ? May 28 17:42:27 sony smartwatch's box is so premium May 28 17:42:27 hopefully this means fast-scroll support for recyclerview May 28 17:42:28 all glass May 28 17:42:36 or transparent plastic May 28 17:42:39 Mccs, I JUST TOLD YOU WHAT TO DO. why are you asking again? May 28 17:45:46 I hope their face detection can detect my cats. otherwise I have no use for it. May 28 17:45:55 Yep. May 28 17:46:03 I just want to be able to say "OK Google, show me my photos of monkeys" May 28 17:46:06 my life is too boring for this, I guess May 28 17:46:11 i ran android 5.1.1 but emulator is very slower May 28 17:46:19 I do have quite a few photos of monkeys... May 28 17:46:24 also, wtf constantly takes pictures of stuff other than girly teenagers May 28 17:46:38 Mccs, I don't know why you're telling me this. I told you what are your options. nothing left to say. May 28 17:47:28 they should have hyperlapse May 28 17:47:34 Chainfire: Followup question if you're still around. Can you be more specific about what an application (application linux user) is not allowed to do? They're not allowed to interact with kernel modules or something? May 28 17:47:44 g00s, like microsoft? May 28 17:47:47 Mccs: 1) smaller device. 2) real device. 3) try genymotion? May 28 17:47:57 wakelock yes :) May 28 17:48:12 yes May 28 17:48:23 lol never gonna show hangouts May 28 17:48:32 my recyclerview highlight code will upload later on github May 28 17:48:33 can I get a link to a single image? May 28 17:48:40 your all welcome.. open source May 28 17:49:14 Napalm what do you mean highlight? May 28 17:49:22 that drag to select May 28 17:49:27 oh nice May 28 17:49:31 thanks based napalm May 28 17:49:37 i was working on it a couple of days ago May 28 17:49:48 does google photos have an android app ? May 28 17:49:53 yes May 28 17:49:57 nah May 28 17:50:00 ohhhh shiiiiit May 28 17:50:00 chrome webapp May 28 17:50:02 oh shiiiiiiit May 28 17:50:06 Napalm, should've finished it sooner so you could present it at I/O :p May 28 17:50:15 unlimited backup to photos videos!!! May 28 17:50:16 lol May 28 17:50:25 g00s: coming in seconds, minutes, hours... May 28 17:50:32 eh. still not unlimited. May 28 17:50:40 deadmund there is no specific list. pretty much everything not done through official API is not allowed, and might or might work on any given device May 28 17:50:45 yeah, it is unlimited groxx May 28 17:50:55 *might or might not May 28 17:50:57 if they're capping the image quality significantly below what my camera(s) can capture, it's not unlimited. May 28 17:51:08 I HEARD FREE May 28 17:51:08 unlimited 16mp = unlimited useless May 28 17:51:18 fuck you microsoft! May 28 17:51:20 ah unlimited 16mp, yeah nvm May 28 17:51:21 Glad I cancelled my Amazon Cloud Unlimited free trial a few days ago. :-) May 28 17:51:22 flickr it is May 28 17:51:29 1000 GB for free May 28 17:51:32 and you need to trust Google, which has a track record of just closing random services May 28 17:51:34 they've just upgraded their earlier unlimited-limit from its silly 2048^2-or-something size May 28 17:51:41 windows phone? bah! May 28 17:52:14 yep. 1tb will last me quite a while, guess I'm staying there. May 28 17:52:27 so all your photos including private ones are going to be available to the google big data mill? that would pay for unlimited storage May 28 17:53:06 I gotta hand it to them, I just got off the feel train May 28 17:53:08 remember that iPhones only have like 8mp camera May 28 17:53:43 yeah, 16mp for phones makes sense. 1080p doesn't really, since it seems every new device is capturing 4k (or higher). May 28 17:53:45 Leeds, remember that iPhone still has the best camera? May 28 17:53:52 MP isn't everything. May 28 17:54:03 Resolution isn't everything either on phones. May 28 17:54:05 Muchoz LG G4 would like to have a word May 28 17:54:07 Muchoz: so gphotos will store unlimited iphone photos May 28 17:54:12 but if it's a place for "all my photos", then it's going to be used for all my photos, including bigger ones + raw files, which it sounds like "except those". May 28 17:54:29 if you're taking raw, with a real camera, this isn't a platform for you May 28 17:54:30 Afzal, they're both equal. But the thing about MP is retarded. May 28 17:54:40 yup May 28 17:54:41 you can store bigger pictures, of course, just not unlimited May 28 17:54:49 Leeds, then you're a pro and then you have money. May 28 17:54:54 Muchoz: absolutely May 28 17:55:00 which is why I primarily use flickr, yeah :) May 28 17:55:06 Muchoz: why does it feel like you're trying to argue with me while agreeing? :) May 28 17:55:31 Leeds, I'm not trying to argue. I'm adding something to what you said. May 28 17:55:34 wait what? android one still lives? May 28 17:55:45 Chainfire do you think they are storing the photos as DNGs ? May 28 17:56:09 CAN WE GET SOME ANDROID ONE PHONES IN USA??? May 28 17:56:24 groxx: NO BECAUSE CARRIERS AND SHIT May 28 17:56:27 Verizon says no. May 28 17:56:28 at least for developers May 28 17:56:34 nobody tha gives a shit about their photos would put them on a service which will modify the original (raw) May 28 17:56:40 😭 May 28 17:56:46 She isn't very enthusiastic. she's so lame. May 28 17:56:57 (I hope that came through as emoji, not "😭". dunno what irccloud does.) May 28 17:57:20 -_- text emoji only! May 28 17:57:30 UTF isn't text? May 28 17:57:32 groxx, I got 😭. What's the difference between Emoji and that? May 28 17:58:08 emoji is a standard May 28 17:58:13 since it seems irccloud is auto-replacing the text (gotta find a way to turn that off....), I still don't know :| was it ":text:" or just a single emoji character? May 28 17:58:47 g00s I'd guess they'd keep everything as is when uploaded, but really who knows May 28 17:59:28 lol, did they remove the ads from the search result page as an optimization :D May 28 17:59:51 I'm trying the SipDemo (https://github.com/android/platform_development/tree/master/samples/SipDemo) and while I can make calls that work from my phone to my desktop, the app won't pick up when I call from the desktop to the phone. It stops at incomingCall.answerCall(30); and tcpdump says I'm getting error 407 Proxy Authentication Required. Any ideas? May 28 17:59:56 This is cool because my city still uses fucking EDGE May 28 18:00:05 Glad I go to college where I have 4G May 28 18:00:29 AS Preview update working for me now May 28 18:00:34 getting rid of superfluous shadows would speed things up too :| May 28 18:01:15 Chainfire, does it include M support? May 28 18:01:15 yeah not touching AS preview ever again :) May 28 18:01:46 Well I mean: "Can I download api v22?" May 28 18:01:51 omfg offline youtube FINALLY May 28 18:01:54 how come youtube offline is only in a few places ? May 28 18:02:02 they had offline youtube before May 28 18:02:08 g00s: licensing, presumably May 28 18:02:36 Open Maps + Google Map? May 28 18:03:00 That woman talks as if she is depressed May 28 18:03:04 emoji is text May 28 18:03:14 FINALLY May 28 18:03:16 Muchoz yes, new SDK manager is downloading M now May 28 18:03:20 didn't they promise offline maps 2 years ago? May 28 18:03:24 Offline Google Maps May 28 18:03:31 offline maps have been a thing for two years or more, yeah May 28 18:03:31 Fucking finally May 28 18:03:34 no, they *removed* offline maps two yeras ago :D May 28 18:03:38 ^ May 28 18:03:42 Muchoz: like a lot of others, she's reading the autocue too much May 28 18:04:08 you can save offline maps pretty easily now - except not in some countries - but being able to manipulate the data is big May 28 18:04:14 if you go to a map, search, scroll to the bottom -> save a new offline map May 28 18:04:16 https://plus.google.com/+PerryNguyen/posts/Ld1nWwg838M?pid=6153984753589614546&oid=111751695436781052143 May 28 18:04:19 I got it as emoji :) May 28 18:04:24 Leeds, yup. She shouldn't read it and just improvise, always better, I only prepare bullet points for these kind of things. May 28 18:04:49 offline navigation is very important for traveling May 28 18:05:02 pfn: haha, thanks :) unless qicr automatically converts descriptive-text to emoji characters May 28 18:05:15 groxx, swiftkey does May 28 18:05:25 type in "frown" and it'll give you a frown emoji May 28 18:05:31 😦 May 28 18:05:38 😲 May 28 18:05:41 frown, surprise, etc. May 28 18:05:47 😁 May 28 18:05:49 lol May 28 18:06:02 ah, yeah, offline nav and places is something they've needed for a long time. but you've been able to browse offline street maps for a long time, I don't think they ever went without it. it has been incredibly-stupidly-hidden at times, but it still existed. May 28 18:06:14 yes.. offline nav. May 28 18:06:39 preview is live in 1.3 May 28 18:06:41 "MNC" May 28 18:07:00 macadamia nut cookie May 28 18:07:11 woah: https://www.dropbox.com/s/v16akek0yz038ae/Screenshot%202015-05-28%2011.07.05.jpg?dl=0 May 28 18:07:28 compare lemon meringue pie which was apparently used as a code-codename for L May 28 18:08:37 http://www.google.com/design/ May 28 18:09:43 what platform are they talking about? May 28 18:10:04 oh android apps May 28 18:10:05 can I still use ant? :) May 28 18:10:08 no May 28 18:10:09 1.3 preview just took 1.5 minutes to build my app 😭 that's like 5x slower May 28 18:10:11 no you can't May 28 18:10:23 groxx lol thanks for that heads up :D May 28 18:10:23 Full NDK support. Finally. May 28 18:10:25 not installing it May 28 18:10:26 wooo NDK May 28 18:10:32 ape-like experiences... nice slip May 28 18:10:39 and the integrated SDK manager just totally fails, lol May 28 18:10:39 hahaha May 28 18:10:42 Makes me wanna do NDK more May 28 18:10:44 Polymer 1.0!! May 28 18:10:55 has anyone talked about Play Store yet ? May 28 18:11:01 does that entail anything for us on Android? May 28 18:11:03 does polymer now not run at 1fps? May 28 18:11:03 Muchoz the APIs still suck :) May 28 18:11:03 If only they would give me good theming for Material Design May 28 18:11:12 g00s please I hope they don't May 28 18:11:13 g00s: nope. May 28 18:11:21 g00s: nope May 28 18:11:21 everyone's like... we don't know iOS stuff, what are you talking about? May 28 18:11:27 I'd hate for them to announce yet another set of features while not fixing the issues May 28 18:11:54 Leeds, I know. May 28 18:12:24 soon, before next i/o May 28 18:12:24 top 20 May 28 18:12:29 that's so few May 28 18:12:33 there’s a lot of talk about ios stuff at IO May 28 18:12:41 oh cool, firebase May 28 18:13:26 cloud test lab w00t May 28 18:13:35 w00t w00t May 28 18:13:36 soon May 28 18:13:54 http://cdn.niketalk.com/c/c0/c00a83d2_soon-thanksgiving-cat.jpeg May 28 18:14:30 huh, Google push to ios May 28 18:14:50 cloud test things exist already. are they doing anything to make writing those tests easier? May 28 18:14:53 Guys, im rotating a JPEG image with ExifInterface and the file is rotated correctly when I look at it in my file system May 28 18:15:19 O ass May 28 18:15:21 yay! Android Studio finally gets NDK support! May 28 18:15:22 But then when I use the path of the image to create a Bitmap, and set the bitmap to an ImageView, the orientation shows up incorrect May 28 18:15:27 O-ass level notification May 28 18:15:30 s73v3r: I'd be happy with "cheaper" too. might mean I can actually test random apps that I build. May 28 18:15:45 thenk entropy for modern chemistry May 28 18:15:47 I'm just happy for NDK in android studio May 28 18:15:49 Just give us a better Google Play search. May 28 18:15:53 Then we're happy. May 28 18:15:55 waited for that since its release May 28 18:16:04 getting bored, next session!! May 28 18:16:04 think NDK in studio is building off of CLion? May 28 18:16:06 that's what I actually like about google...when watching Apple keynotes, Google/Android is only referred to when bashing or saying where iOS is better... instead, google even shows how developers can use their stuff even on a different OS May 28 18:16:16 s73v3r yup! May 28 18:16:21 yay, ads for IAP-ful games in Play May 28 18:16:22 s73v3r think I saw that mentioned somewhere May 28 18:16:34 s73v3r: yeah, I think so May 28 18:16:36 Would I would also like is a better speech recognition API like they were going to do May 28 18:16:45 evident: that’s cause Google makes money no matter where they show you ads May 28 18:16:51 well, api for google now May 28 18:16:55 Apple only makes money when you buy their stuff May 28 18:16:58 moar stats May 28 18:17:00 * g00s cynical about install adds May 28 18:17:05 oh man. preview tools to run in your preview tools: http://cl.ly/image/372Q1d171B1z May 28 18:17:07 http://android-developers.blogspot.ca/2015/05/android-m-developer-preview-tools.html s73v3r May 28 18:17:21 nothing can go wrong with this #yolo May 28 18:17:26 that's nice May 28 18:17:30 Ah, experiments, nice. May 28 18:17:36 yea May 28 18:17:46 groxx just like last year May 28 18:17:46 Too bad everybody will be doing it. :-) May 28 18:17:50 s73v3r: sure, I have no illusions about that they make money on all platforms and do this for own profits... but nevertheless, they work with the users and developers May 28 18:18:12 they both work with users and developers. just in different ways May 28 18:18:14 Afzal: I don't remember seeing build-tools preview releases? maybe I just missed it though May 28 18:18:24 developer pages is nice May 28 18:18:32 s73v3r: in which different way? :) May 28 18:18:36 is there any app where if you send a post request to there server, they send a push notification to your phone? May 28 18:18:44 cool developer pages :) May 28 18:18:59 meadhikari: pushbullet maybe? May 28 18:19:03 and no I don't want to bash Apple... I have a macbook myself and develop for iOS as well... it's just one thing I notice as a developer May 28 18:19:04 meadhikari: sure, set up GCM :) May 28 18:19:15 looks like Apple bought Google or something May 28 18:19:20 ios dev tools are sooooooooo much better than android. And I say that after spending several hours trying to get a god damned list cell to be a certain god damned height and not having it listen May 28 18:19:26 new support lib is up May 28 18:19:28 they are doing iOS stuff now May 28 18:19:29 meadhikari: ooh, you mean a way to send arbitrary ones. yeah, try pushbullet. May 28 18:19:34 shmooz well apple did just pass google in stock lol May 28 18:19:35 I can't help but feel that his untucked shirt is a strategic device. May 28 18:19:55 hmm... biggest ad network in China, does that mean Play Store in China? May 28 18:20:04 TJ can I ask you something May 28 18:20:18 groxx, I mean I curl a post request to there server, and receive a push notification in my phone May 28 18:20:19 TacticalJoke: if he tucks it, it will give him an orgasm May 28 18:20:24 ah, I was about to say, didn't Ellie do this stuff before? May 28 18:20:29 is as 1.3 out yet? May 28 18:20:42 lasserix canary, yes May 28 18:20:51 cool May 28 18:21:02 please ellie, tell me about promo codes :D May 28 18:21:07 meadhikari: push messages go to apps, not to the user May 28 18:21:07 lol May 28 18:21:20 good news about AS 1.3: fewer rendering glitches while starting up May 28 18:21:28 Leeds, yes to their own app on my phone :) May 28 18:21:40 s73v3r: yes iOS tools are good to use as well... I don't deny that... I use them myself... but I haven't seen Apple allow other phones than iPhones use Spotlight stuff with MacOSX... just as an example... same thing with payment stuff... May 28 18:21:51 meadhikari: yes, to your own app May 28 18:22:02 photos page is live? May 28 18:22:08 nope nvm May 28 18:22:23 Afzal: there's a placeholder page up May 28 18:22:26 right, because why would they? however, they provide the tools for developers to use them May 28 18:22:32 Leeds that's been up for a while yeah May 28 18:22:46 Hi, I heard there was I/O happening in here? May 28 18:22:53 kroot: what's I/O? May 28 18:22:59 lol May 28 18:23:00 I think it's like a different mentality... Apple says: Use our devices if you want to use our cool stuff... Google says: See how cool stuff you can do with our devices... but well, even if you don't have one or don't want to use it, you can use our cool services even with other devices May 28 18:23:08 Leeds: I think it's the power button May 28 18:23:23 nice May 28 18:23:25 s73v3r: and as a developer, I target at bringing my services and experiences to as many people as possible May 28 18:23:27 * Leeds has disconnected (no power) May 28 18:23:35 I/o is google's developer conference, similar to Apple's WWDC. Release new features/versions/products May 28 18:23:39 evident 75% of google's add revenue comes from iOS May 28 18:23:46 lol yea g00s i saw that May 28 18:23:48 Sloth514: Oh, thanks for the deets. May 28 18:23:49 mobile add revenue May 28 18:23:55 I know I've read that :) May 28 18:23:57 Add runner! May 28 18:24:02 google pays apple billions to remain the default search engine May 28 18:24:05 heads up, AS 1.3's builtin SDK manager just borked twice during MNC install... the standalone version works fine May 28 18:24:10 I am not saying they are doing it for the fun of it... they want to make profit May 28 18:24:21 i'm sure apple is going to can that eventually May 28 18:24:23 the builtin sdk manager totally fails for me :) never stops "updating" May 28 18:24:31 Pimp my Add May 28 18:24:32 since they have been working to replace it for a while while acquisitions, etc May 28 18:25:03 oh, lol, it's probably the amazon fire sdk that's breaking my sdk manager May 28 18:25:08 finally got an exception about it May 28 18:25:42 sry no promo codes May 28 18:26:21 wait for it, folks... big "one more thing" coming May 28 18:26:23 drose379: Fo' sho. May 28 18:26:24 Dat ad-supported warning doe. May 28 18:26:24 TacticalJoke, im getting a JPEG from my custom camera, and its rotated to landscape by default, so im using ExifInterface to rotate it to portrait, which seems to be working fine, cause if I look at the photo in "My Files", it shows up the way I would expect it to May 28 18:26:24 what thats it , ugh May 28 18:26:24 But then im using the path to create a bitmap, and when I set that bitmap to an imageview, its going back to the landscape orientation May 28 18:26:26 Cardboard 2.0 May 28 18:26:31 lol yea VR? May 28 18:26:37 nanodegree? May 28 18:26:45 like cardboard, but big enough to fit a nexus 6 May 28 18:27:04 it's the same thing with the whole Internet of Things thingy... of course Google does its stuff to make profit in the end... so people buy their products, use their systems, and so GOogle can serve ads, learn from users, make more money... May 28 18:27:05 i bet that dog got the nanodegree ! May 28 18:27:15 rofl May 28 18:27:18 but they do it through publishing an open protocol May 28 18:27:18 drose379: its because the EXIF data just specifies it should be displayed rotated May 28 18:27:33 the only thing I thought of with their IoT thing was that XKCD comic May 28 18:27:35 them's some big screens May 28 18:27:37 sounds like cardboard 2.0 May 28 18:27:46 But when I go to the photo in my file explorer, it displays correctly Napalm May 28 18:27:50 which I as a developer like... since people, no matter waht device or OS htey use, can connect to the devices... May 28 18:27:52 Why not in the imageView? May 28 18:27:59 ok, I was sort of joking about cardboard :) May 28 18:28:03 no, this time it's Paper! Cardboard was too expensive May 28 18:28:09 cardboard rocks so much :) May 28 18:28:12 Leeds: you're controlling the universe. stop it! May 28 18:28:18 rofl May 28 18:28:30 Recycled Paper May 28 18:28:46 VR API? May 28 18:28:54 cardboard is great - I blew someone's mind with it last week - he spent about an hour waving his head around like a maniac, then had trouble focusing on the real world when he took it off :) May 28 18:29:12 I may have missed it, but is there a date for the M release / preview release? May 28 18:29:18 Leeds: yeah it's great looking at people wearing cardboard... how funny they move :D May 28 18:29:26 i think Q3 this year groxx May 28 18:29:34 they said May 28 18:29:46 preview should be very soon May 28 18:29:46 is that preview or final? May 28 18:29:50 preview May 28 18:30:11 omg Leeds May 28 18:30:16 hey, that's cardboard 2.0 with support for the nexus 6 :D May 28 18:30:18 what are the winning lottery numbers going to be? May 28 18:30:19 oh snap cardboard for 6 inc May 28 18:30:20 finally, the N6 will work in Cardboard May 28 18:30:28 AND NO MORE MAGNET OMFG May 28 18:30:31 roflmao Leeds got it May 28 18:30:34 Chainfire: 1 2 3 4 5 6 May 28 18:30:39 finally, it might stop drifting May 28 18:30:57 what what, they replaced Siri with Dora da Explora ? May 28 18:31:06 rofl yep i got it, API for cardboard May 28 18:31:29 http://i.imgur.com/xzEIS7J.png full design library May 28 18:31:49 Sloth514: the SDK was available before afaik... May 28 18:31:55 this guy has clearly never met Ms. Frizzle May 28 18:32:06 http://goo.gl/569Csc May 28 18:32:08 burntcookie90: nice May 28 18:32:16 evident? api 2.0? May 28 18:32:34 ohh ok maybe not... :) May 28 18:32:42 haven't given it full attentation in the last minutes... :D May 28 18:32:54 nice May 28 18:33:03 wait did I really just write "attentation"... uhh... May 28 18:33:09 seriously, the Simpsons predicted this in 1993 May 28 18:33:21 http://simpsons.wikia.com/wiki/Ghengis_Khan May 28 18:33:27 oh, its cool lol... s73v3r is right though, shouldn't have called it 'expedition' but 'magic school bus' May 28 18:33:42 I'm actually slightly freaked how accurate they were May 28 18:34:29 a VR magic schoolbus episode could be pretty cool May 28 18:34:42 https://www.youtube.com/watch?v=l1_bp8YKUPU May 28 18:34:53 i wonder if stuff like that became self fulfilling. These guys clearly grew up with those things, and are now in a position to bring them to life May 28 18:35:11 groxx: Let’s get the Magic School Bus people to start a Kickstarter! May 28 18:35:26 YES. Hot on the heels of the Reading Rainbow success! May 28 18:35:32 rofl, groxx also they don't cover going inside a human being, or outer space May 28 18:35:54 gotta save something cool for 3rd parties to do May 28 18:35:55 or 'honey i shrunk the kids' view May 28 18:35:57 outer space is kinda already solved by Kerbal Space Program. they just need VR support. May 28 18:36:01 s73v3r well Homer Simpson did predict the Higgs boson mass correctly back in '98. I'm not sure how self fulfilling physics is... :P May 28 18:37:25 ppt fail May 28 18:37:29 it would be fun to make a VR, rampage/godzilla game, make u super big in NYC and just start crushing buildings May 28 18:37:47 VR will be as successful as it was in the 80's May 28 18:38:26 well of course GoPro would like the idea of a 16-camera rig they can sell. $$$x16. May 28 18:38:58 damnit, they got rid of the auto rotate quick settings animation in MNC again May 28 18:39:00 AGAIN! May 28 18:39:02 WHY!! May 28 18:39:07 hey May 28 18:39:19 Is there an image download of Android M? May 28 18:39:21 actually weird May 28 18:39:23 it's like a little john carmack May 28 18:39:23 haha May 28 18:39:28 sometimes it works, sometimes it doesnt May 28 18:39:29 yeah Muchoz May 28 18:39:37 Afzal, can't find one. May 28 18:39:40 emulator May 28 18:39:46 Guys, does putting a path with a .jpg ending to a FileOutputStrea automatically make the file a jpg? May 28 18:39:56 cause im trying to open the images on my computer and im getting errors May 28 18:39:58 apparently the M update is visible for at least some people on d.android.com now - presumably rolling out to mirrors May 28 18:40:05 Afzal, no something I can flash May 28 18:40:08 no May 28 18:40:21 LOL the version easter egg in the M emulator May 28 18:40:42 visible here -the M preview May 28 18:40:51 gradle faster build.... show the numbers Google! May 28 18:40:56 do you need targetSdk = MNC for new support lib ? May 28 18:40:59 adq yeah it just doesn't do it sometimes May 28 18:41:11 no M here :'( May 28 18:41:17 http://imgur.com/QTWf760 for the curious May 28 18:41:21 no hurry groxx May 28 18:41:25 YES HURRY May 28 18:41:33 lol i won't download it yet, will wait few days May 28 18:41:53 what mnc stands for? May 28 18:42:02 Maybe Not Codename May 28 18:42:13 ok May 28 18:42:13 no clue, not interested in speculating about mnc May 28 18:42:19 Macedanian Nut Cookies May 28 18:42:49 multinational corporation, usually May 28 18:42:51 whoa! May 28 18:42:51 it's false codename like Lemon Murangue Pie May 28 18:42:54 sd card support in M! May 28 18:42:59 lol May 28 18:43:03 hmm, the jump assembler will only be available to some. i wonder how that will pan out May 28 18:43:07 who cares about gopro show us new nexus 7 May 28 18:43:14 btw, android stuido 1.3 has integrated SDK manager May 28 18:43:23 Afzal: hasn't sd card been supported for a while, since getExternalFileDirs() ? May 28 18:43:23 burntcookie90 what do you mean integrated? May 28 18:43:30 gdrc: there hasn't been a nexus (phone/tablet) announcement at I/O for many years May 28 18:43:51 I/O is a developer conferences May 28 18:43:58 Not a device conference May 28 18:44:00 latest was nexus 7 2013 May 28 18:44:08 rymate1234: and by some definition, nexus is developer reference device May 28 18:44:23 does anyone have a good example of adding views to a scrollview (like a list) May 28 18:44:30 burntcookie90: hasn’t that been built in for a while? May 28 18:44:44 https://imgur.com/NjCEcuB s73v3r May 28 18:44:52 Afzal: May 28 18:45:11 groxx like this: http://imgur.com/eXKT5R7 May 28 18:45:25 oh, I hope the button is still in the toolbar May 28 18:45:43 you can finally set sdk location again nice May 28 18:45:50 hello, I just installed android M, how can I root it? May 28 18:45:56 Afzal: wow, SD as internal? that's a massive change May 28 18:46:01 yup May 28 18:46:22 wakelock, try with rm -rf / May 28 18:46:28 so many ppl was angry about sdcard May 28 18:46:29 M could also stand for milky way :) May 28 18:46:31 were* May 28 18:46:38 I wonder if it'll actually allow you to move _all_ apps to the sdcard, instead of just the ones that have that option... May 28 18:46:45 wakelock: try towelroot May 28 18:46:50 sdcard mean money to Microsoft May 28 18:47:01 oh, that finished quickly May 28 18:47:03 towelroot shouldn't work after ~4.4 I think? kernel change fixed the exploit. May 28 18:47:15 gdrc, thanks, I tried that and now my phone force closes, is that normal? May 28 18:47:25 Leeds, I don't have any clean towels May 28 18:47:33 keynote done? right? May 28 18:47:37 this conference sucked. maybe the worst I ever saw May 28 18:47:39 wakelock: but you do know where your towel is, right? May 28 18:47:41 Afzal: looks that way to me May 28 18:47:42 gdrc agreed May 28 18:47:43 towels usually root better when they're dirty May 28 18:47:49 nothing groundbreaking May 28 18:47:57 gdrc: er... it's a keynote, there's another 2 days of conference to go May 28 18:47:58 try some rooting hormone too May 28 18:48:07 might be Brotein™ May 28 18:48:15 Leeds, absolutely, I left it at 42° north May 28 18:48:21 Leeds, they removed the developers chat... May 28 18:48:34 :( that sucks May 28 18:48:40 JesusFreke, does any specific dirt work better than others? May 28 18:48:42 gdrc: nobody is allowed to talk to developers - they accidentally say true things May 28 18:48:44 so few live streamed events this year May 28 18:48:56 well, except kroot - he's a damned liar May 28 18:49:02 we got driverless cars, now all we need is workerless jobs May 28 18:49:04 does anyone have a good example of adding views to a scrollview (like a list) https://lh3.googleusercontent.com/65ZDt_K593-wIYaulS_Ts3reIiYXhaj8Ug3Ea5s1qHTBs77gazi29XEtWp8ACTG8HZLV=h900-rw like this May 28 18:49:07 waiting for faster gradle... May 28 18:49:18 developers are antisocial by definition, they should not be allowed to communicate May 28 18:49:29 ulli909, search for ListView May 28 18:49:42 shmooz, how about jobless work instead? May 28 18:49:43 anyone actually found the NDK support yet in 1.3 ? May 28 18:50:16 ulli909: those are probably CardView rows in a listview May 28 18:50:17 Chainfire, i don't think the 1.3 was released yet... May 28 18:50:29 Sloth514 you are mistaken May 28 18:50:33 on canary channel May 28 18:50:34 groxx, adq, thx May 28 18:50:35 sry May 28 18:51:01 well, it's nearly 3am, and yet another year where they didn't announce free shit for regulars in the official IRC channel May 28 18:51:15 * groxx ragequit May 28 18:51:22 rofl May 28 18:51:33 this isn't google IO this is google iOS May 28 18:51:33 * Sloth514 flips table May 28 18:51:34 beat you to it, gdrc May 28 18:51:39 er, groxx May 28 18:51:47 wtf, there's no session until 4pm?! May 28 18:51:55 I'm seeing some at 1? May 28 18:51:57 (live streamed) May 28 18:52:22 Afzal: http://cl.ly/image/322l1t1W3w27 May 28 18:52:33 err.. May 28 18:52:35 I mean May 28 18:52:36 unless that's local-timed May 28 18:52:42 eastern timed May 28 18:52:45 yeah it's local-timed May 28 18:52:58 ooh chet hasse May 28 18:52:59 yeah. they're probably discussing super-secret stuff, like how they hate livestream watchers May 28 18:53:06 so what did people think of i/o May 28 18:53:19 i liked the VR and education stuff May 28 18:53:24 IO is a difficult hero to play May 28 18:53:30 no Nexus or Moto 360 without flat tire :( May 28 18:53:34 i think it was great. May 28 18:53:44 new testing tool. May 28 18:53:56 keynote < http://android-developers.blogspot.com/2015/05/android-m-developer-preview-tools.html May 28 18:54:24 groxx, keynote: command not found May 28 18:54:26 The auto testing looks rather useful May 28 18:54:33 invalid redirection attempt May 28 18:54:33 and will save alot of dev time May 28 18:54:43 that the testing tool to test your apk on 20 device? May 28 18:54:52 yeah May 28 18:55:02 wakelock: sudo keynote < http://.... May 28 18:55:06 i going to really like this. May 28 18:55:14 I missed most of it. Are they gonna support the NDK finally? May 28 18:55:17 groxx, keynote: success, world nuked May 28 18:55:22 TacticalJoke: yes May 28 18:55:31 Ah, cool. May 28 18:55:32 perlsyntax, my guess is when you run it with an APK it will flag issues on what device. May 28 18:55:32 the google i/o 2015 video keep on freeze on me. May 28 18:55:41 cool May 28 18:55:50 that be very helping for me. May 28 18:56:00 how many new APIs in M i wonder May 28 18:56:10 probably over 9000 May 28 18:56:16 pclover, 107 May 28 18:56:55 pclover,i thought so. May 28 18:56:56 * wakelock is still hoping for a completely new set of design guidelines May 28 18:57:05 wakelock: that would be awesome May 28 18:57:17 i hope the video on the web site is better. May 28 18:57:24 wakelock: did you see the new design site? May 28 18:57:29 I guess google now tap has a new api? May 28 18:57:30 no May 28 18:57:33 well no May 28 18:57:39 i wonder how that will work with existing apps May 28 18:57:40 Leeds, ^ May 28 18:57:50 "material is out. texture is in. our new FauxLeatherFactory and RealLeatherFactory give your phone RealityFeelr™." May 28 18:57:51 wakelock: google.com/design May 28 18:58:37 what! 9000? May 28 18:58:41 first we switched to boring flat design, now we're switching to a monospaced font May 28 18:58:44 smooth May 28 18:59:01 won't be long before everything goes back to monochrome txtmode May 28 18:59:12 s73v3r: that's Godzilla-level dub delay May 28 18:59:25 lol May 28 18:59:31 sorry. I was busy :( I shall be better next time May 28 18:59:33 gradle is fast as fuck! May 28 18:59:41 lies May 28 18:59:50 gdrc: I think that means you're doing it too fast May 28 19:00:28 gdrc accidentally turned on the gradle timelapse mode May 28 19:00:38 lol May 28 19:00:59 pclover,I never hear of a cloud device testing before. May 28 19:01:00 21:00:44 Gradle build finished in 566ms May 28 19:01:04 itshappening.gif May 28 19:01:31 gdrc: nice. my first attempt to 1.5 minutes May 28 19:01:41 I'll have to poke at it more later though May 28 19:04:22 Does onyone know if the cloud test tool for google will cost anything? May 28 19:05:56 yeah google probably knows May 28 19:06:03 perlsyntax: they didn't talk about the price May 28 19:07:13 gdrc,i thought it be free. lol May 28 19:07:22 I'm not noticing that big a difference in gradle speed May 28 19:07:40 did they change gradle plugin ? May 28 19:08:12 i dont see new build-tools or gradle plugin May 28 19:08:28 g00s, yeah, they're switching back to ADT May 28 19:10:28 woot May 28 19:10:33 this design lib is awesome May 28 19:10:44 well at least they didn't say android was moving to dart May 28 19:10:46 yet May 28 19:11:15 TabLayout May 28 19:11:16 w00t May 28 19:12:18 Napalm where? May 28 19:13:02 http://developer.android.com/tools/support-library/index.html seems busted to me May 28 19:13:17 look what's in the dev options of the M emulator http://imgur.com/a/7cP54 May 28 19:14:14 Memorion is dar/light theme global - phone / wide ? May 28 19:14:51 heh, https://developer.android.com/reference/android/support/design/widget/NavigationView.html May 28 19:15:16 only the theming the settnigs wouldn't make much sense I hope, but the system ui doesn't seem to change May 28 19:16:14 hey guys, how do i use variant.packageApplication.outputFile; on my gradle? its giving me: Error:(61, 0) Could not find property 'packageApplication' on com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated@6dc10950. May 28 19:17:10 https://plus.google.com/+ChrisBanes/posts/aDKroNxhi6r May 28 19:17:13 oh yea May 28 19:17:27 g00s: there are new build tools, and preview build tools that are presumably newer than new May 28 19:17:51 they're the newerliest May 28 19:18:25 they are the least oldest May 28 19:20:17 http://developer.android.com/reference/android/support/design/widget/Snackbar.html May 28 19:20:23 FTW! May 28 19:20:29 i'll keep using nispok snackbar because it has indefinite duration May 28 19:20:42 I like the direct swap out from Toast to Snackbar May 28 19:21:22 Napalm when you go to pages like http://developer.android.com/reference/android/support/design/widget/Snackbar.html .. do you have rendering problems ? May 28 19:21:30 yes May 28 19:21:31 ok guys I'm going to make a marquee textview that you can override by horizontal scrolling May 28 19:21:45 its probably the global end-point caches still updating May 28 19:21:46 can't believe noone has done it before May 28 19:21:52 all the nav stuff is screwed up May 28 19:22:00 shmooz: done what? May 28 19:22:11 scrollable marquee textview May 28 19:22:21 its been done May 28 19:22:29 where May 28 19:22:37 like back in donut May 28 19:22:38 I just saw the android MNC preview api, is there anything about new apis or something? May 28 19:22:57 cliffreich: not really, but this is awesome. http://developer.android.com/tools/support-library/index.html May 28 19:22:59 Napalm: it's built in ? May 28 19:24:17 ohh May 28 19:24:46 whats really annoying is that I've already done these views.. and they could have brought them out months ago.. and saved me the headache May 28 19:24:49 Napalm, you mean how the page is broken? May 28 19:24:52 now to swtich it all to that May 28 19:24:57 wakelock: yes May 28 19:25:14 Napalm, stick to your own impl, just because May 28 19:25:15 :p May 28 19:25:45 booting the M preview now :D May 28 19:26:07 you so cool :p May 28 19:26:09 wtf the doc lol May 28 19:26:24 and at bottom (on broken pages) i can see "Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities." May 28 19:26:59 you should sign up May 28 19:27:06 "You have successfully signed up for the latest Android developer news and tips" May 28 19:27:08 i did nothing May 28 19:27:13 maybe they'll notifiy you when the page isn't broken anymore May 28 19:27:16 lol May 28 19:28:41 anyone on 1.3? when I set a project to the new build tools versions, it complains my Android plugin is 1.0 May 28 19:29:21 all the new views in the design library are awesome May 28 19:29:33 http://developer.android.com/reference/android/support/design/widget/CoordinatorLayout.html May 28 19:29:39 solves so many things I've been doing May 28 19:29:42 WHAT DID I MISS?! May 28 19:29:49 2.5 hr meeting ftl May 28 19:29:53 ftl May 28 19:29:57 zen watch was a pos May 28 19:30:01 tricknology: http://developer.android.com/tools/support-library/index.html check out the new view May 28 19:30:26 ah sweet! May 28 19:30:31 Thanks Napalm May 28 19:30:47 finally got TabLayout May 28 19:30:49 i'll curb my enthusiasm until the stuff is proven to actually work :D May 28 19:30:51 and others May 28 19:31:02 Swipe to Dismiss? May 28 19:31:05 https://plus.google.com/+ChrisBanes/posts/aDKroNxhi6r May 28 19:31:10 proof May 28 19:31:13 well sorta May 28 19:31:17 tricknology: yes May 28 19:31:38 i was hoping they would add some recyclerview helpers May 28 19:31:46 http://developer.android.com/reference/android/support/design/widget/SwipeDismissBehavior.html May 28 19:32:01 g00s: yea, that would have been good May 28 19:32:20 omggggggg May 28 19:32:24 indeed May 28 19:32:27 FINALLY May 28 19:33:05 CoordinatorLayout has now become the defacto root view for all activities May 28 19:33:52 Napalm so what were you saying earlier about Exif only changing the display orientation?> May 28 19:34:08 exactly that May 28 19:34:17 im busy right now, go read up on it May 28 19:34:35 why bother rotating all the bits in an image, simply store the fact it should be rotated May 28 19:34:41 basically that May 28 19:34:48 But the rotation doesnt work everywhere May 28 19:35:00 It shows correctly when I look at it in gallery May 28 19:35:20 Then when I pull the file and show it as a bitmap, it is showing how it was before I rotated it, which is incorrect May 28 19:35:27 it will be shown correctly where the orientation tag is (properly) taken in account May 28 19:35:28 obviously May 28 19:35:34 (not in an imageview.. for example) May 28 19:35:46 Why not in imageView? May 28 19:35:54 It doesnt look at Exif tags? May 28 19:36:00 cause i'm not aware imageview deals with exif May 28 19:36:12 So I can create a custom imageView and deal with it myself? May 28 19:36:16 drose379 May 28 19:36:20 read the fucking SDK May 28 19:36:21 http://developer.android.com/reference/android/media/ExifInterface.html May 28 19:36:31 now you can get the orientation and apply it to the view matrix May 28 19:36:32 :P May 28 19:37:02 get the orientation and apply it to the view matrix May 28 19:37:26 * Napalm gives drose379 the parrot achievement May 28 19:37:41 lol im like talking to myself but for some reason typed it May 28 19:37:43 lol he did it twice ;) May 28 19:38:11 So I wonder if I can getExifAttributes on a file May 28 19:38:30 ExifInterface exif = new ExifInterface(filename); orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 1); May 28 19:38:34 a quick search for you May 28 19:38:40 Then look at those when setting the imageview May 28 19:39:06 Ok, so then I just rotate the image again before setting it to imageview? May 28 19:39:13 Or that wont work, because imageview doesnt care May 28 19:39:24 hm. the live stream is showing things. May 28 19:39:40 drose379: noooo May 28 19:39:42 noo? May 28 19:39:44 how many times May 28 19:40:01 dude May 28 19:40:11 ImageView doesnt care about Exif attributes May 28 19:40:34 So once I get the orientation on the file, I just rotate the Actual Imageview to match the image? Or what? May 28 19:40:44 or what May 28 19:40:49 or what is what you have to do May 28 19:40:58 oh man. great news: http://developer.android.com/preview/backup/index.html (hopefully. we'll see if it's flexible enough to be useful.) May 28 19:41:08 Odaym what do you mean May 28 19:41:15 Im trying to figure out what I have to d May 28 19:41:16 o May 28 19:41:54 http://developer.android.com/reference/android/widget/ImageView.html#setImageMatrix(android.graphics.Matrix) May 28 19:41:58 drose379: ^ May 28 19:42:17 http://developer.android.com/reference/android/graphics/Matrix.html#setRotate(float) May 28 19:42:28 its kinda hard being snoop d o double g, man May 28 19:42:43 Matrix.. never used before May 28 19:42:43 Hmm May 28 19:42:56 but somehow, some way, I keep coming up with funky ass shit every single day! May 28 19:42:56 get the image matrix from the view.. set the rotation .. set the image matrix back May 28 19:43:10 Odaym: like what? May 28 19:43:19 OMG what May 28 19:43:21 you could also rotate the bitmap when you read it in, BitmapFactory supports that. May 28 19:43:23 why does the android.applicationVariants.all in my build.gradle only changes APK name for debug versions and not release? May 28 19:43:23 the fuck May 28 19:43:28 its a snoop dogg track, Napalm May 28 19:43:31 is ExifInterface new/? May 28 19:43:34 groxx: complete waste May 28 19:43:36 but true May 28 19:43:54 because I just wrote a TIFF tags application that inserts EXIF tags into a TIFF image May 28 19:43:55 So I get the image matrix after I set the bitmap May 28 19:44:11 hah fml May 28 19:44:19 drose379: you can do it at any time May 28 19:44:23 setAttribute(String tag, String value) May 28 19:44:24 the imagematrix is for the view May 28 19:44:27 hahaha May 28 19:44:27 not the bitmap May 28 19:44:28 tricknology: nah, it's been a thing for a while May 28 19:44:34 ok May 28 19:44:36 ah May 28 19:44:38 yo dawg May 28 19:44:40 you have to use it to fix photo-gallery thumbnails, for instance May 28 19:44:42 we heard you like TIFF May 28 19:44:48 oh well. It can’t run on Androidn anyway... May 28 19:44:49 wtf http://imgur.com/01YPs0F May 28 19:45:07 noooo May 28 19:45:07 Memorion: er. new launcher? I think I like it. May 28 19:45:08 finally May 28 19:45:16 i hope theres a setting for that May 28 19:45:21 so large May 28 19:45:25 yeah May 28 19:45:37 now on tap doesn't work yet :( May 28 19:46:50 hahaha when you press on the easter egg thingy you get a toast with -> ¯\_(ツ)_/¯ May 28 19:47:02 lol May 28 19:47:04 Napalm: May 28 19:47:12 I know there has to be some logic behind the setRotation May 28 19:47:21 But is that what you mean: http://pastie.org/10212474 May 28 19:48:01 yes May 28 19:48:16 drose379: it might work, but you may want preRotate May 28 19:48:24 pre-rotate? May 28 19:48:29 or postRotate. one of them things. May 28 19:48:43 why? May 28 19:49:08 setRotate clears all current state, and sets a rotation. preRotate and postRotate will rotate "before" or "after" everything else that's already in the matrix (e.g. translation, scale) May 28 19:49:27 After upgrading Studio: "The selected directory is not a valid home for Android SDK" May 28 19:49:29 the rotation degree value can be worked out from ExifInterface result May 28 19:49:29 What I posted above actually doesnt work May 28 19:49:35 Napalm, that dindt work May 28 19:49:42 did you do it after setting the image drawable? May 28 19:49:56 Yes May 28 19:49:57 so you can preRotate CW for 90°, then rotate CCW for 90°, and get the same thing, lol May 28 19:50:29 trying it with the matrix before now Napalm May 28 19:50:45 Nah, still doesnt work May 28 19:51:08 I wonder If I can implement sticky headers with this new behavior stuff May 28 19:52:16 why would this not work May 28 19:54:13 I guess I could just get the attributes from the file and rotate the imageview accordingly May 28 19:56:53 Hello! I have a class that does the communication to a servlet via AsyncTask. Around 20 methods. For every method I I do a new AsyncTask(serverURL) (server url differs from all methods). I instatiate the asynctask alot, and I want to try optimize it. Any tips? May 28 19:57:24 I've got a android studio project that fails on proguardDebug, but if I ask proguard to save the configuration and then run proguard manually with that configuration, it works. May 28 19:58:06 https://play.google.com/store/apps/details?id=com.google.android.apps.photos May 28 19:58:26 gradle outputs the so helpful: >4 :) May 28 19:58:39 has anyone seen this before? May 28 19:58:50 lol, the iosched app keeps hanging on blank screens May 28 19:59:07 or have a suggestion on how to proceed? May 28 19:59:18 I'm new to android studio. May 28 19:59:20 g00s: it's probably trying to recreate the experience of actually being there, and having unstable wifi / cell May 28 19:59:41 xelent, what are the task doing? are they all similar, can check out IntentService, or trying to batch all request connections on a single connection, or atleast reuse as much as you can and not keep rewaking networking radios May 28 20:00:29 canvs2321: Just a simple HTTP GET and send back string result as JSON May 28 20:00:50 For all methods May 28 20:01:15 "what's new in android" is starting btw May 28 20:01:31 here: https://www.youtube.com/watch?v=PhlpJ1ELAVw May 28 20:02:01 groxx: got a link? May 28 20:02:11 Memorion: cheers May 28 20:02:30 Napalm: or https://events.google.com/io2015/ May 28 20:02:41 it's channel 1, I think May 28 20:02:57 I think I picked a bad day to ask a question :) May 28 20:03:16 also w00t M preview images. doing a backup so I can install it now :) May 28 20:03:17 "The selected directory is not a valid home for Android SDK": the problem is that AS 1.3 requires the SDK directory to be writable... May 28 20:03:28 I see an "auto backup for apps" in the M May 28 20:03:34 http://www.technobuffalo.com/wp-content/uploads/2015/05/Google-IO-2015-031-1280x720.jpg May 28 20:03:55 http://developer.android.com/preview/backup/index.html May 28 20:04:09 Data binding support library beta! May 28 20:04:10 WUT May 28 20:04:26 :\ May 28 20:04:56 more improved layout performance, cool May 28 20:05:09 Afzal: yup.. already looking at that :D May 28 20:05:12 :D May 28 20:05:14 the io site is completly unusable on a smartphone May 28 20:05:17 how ironic May 28 20:05:25 nalawhere? May 28 20:05:27 Napalm * May 28 20:05:58 oh man May 28 20:06:07 oh http://developer.android.com/tools/data-binding/guide.html May 28 20:06:15 i think this will end up like zonealarm firewall in the 90s and after May 28 20:06:23 this will make ppl learn to always click yes yes yes yes May 28 20:06:28 whatever the security consequences are May 28 20:06:44 Afzal: SDK\extras\android\m2repository\com\android\databinding May 28 20:07:40 kinda scary how many information you now get under gcm 3 May 28 20:08:02 danijoo how much? May 28 20:08:18 Afzal, seems like the developer can see stuff like last online time May 28 20:08:26 danijoo: link May 28 20:08:28 ? May 28 20:08:36 Napalm, current talk May 28 20:08:54 im in "whats new in android" May 28 20:09:01 wow look at this: android:text="@{((User)(user.connection)).lastName}" May 28 20:09:01 wow google photos recognizes gorillas in pictures May 28 20:09:03 that's crazy May 28 20:09:04 channel 1 May 28 20:09:23 oh its channel 3 May 28 20:09:33 Afzal: interesting May 28 20:09:38 oh nice, new backup system May 28 20:09:49 existing backup apis sucked May 28 20:10:54 nice May 28 20:10:58 as does the existing backup _system_ :| May 28 20:10:58 Always wanted that May 28 20:11:20 yeah. don't suppose we can make 3rd-party backup providers though? May 28 20:11:26 the back-port of JobScheduler May 28 20:11:45 wait really? jobscheduler backport? May 28 20:11:58 (I'm a bit behind, low internets D:) May 28 20:12:03 yea called GCM Network ... something May 28 20:12:13 so probably GCM only? May 28 20:12:26 doesnt thise Doze kinda destroy the idea of periodic syncadapter? May 28 20:12:30 or do i misunderstand that May 28 20:12:31 no May 28 20:12:41 well you need the gcm client built into play May 28 20:12:44 i would assume May 28 20:12:49 which means no china May 28 20:13:08 because doze could extend my 1h update cycles to xx hours. May 28 20:13:28 which kinda forces me to use gcm instead May 28 20:13:48 data binding May 28 20:13:49 data binding :D May 28 20:13:51 oh yea May 28 20:14:30 I'm extremely meh about SDK-provided data binding. techniques change pretty rapidly, and quickly becomes crappy. May 28 20:14:42 if it's part of the support lib, sure, that's fine May 28 20:14:47 grobe0ba: its in the support lib May 28 20:14:53 sory groxx May 28 20:14:56 oh my god May 28 20:15:00 the syntax is horrible May 28 20:15:12 oh oh, late binding .. not statically typed ... jake is not going to approve :D May 28 20:15:46 google embracing annotation-based code generation would be pretty cool. otherwise, dunno how much better you can do with java. May 28 20:16:06 without massive boilerplate, that is May 28 20:16:41 they have new annotations in the design support lib May 28 20:16:56 data binding? are you guys watching "whats new"? May 28 20:17:02 yus May 28 20:17:08 ah i see you're talking about it May 28 20:17:17 * wakelock binds random data to burntcookie90 May 28 20:17:19 i wonder if this is support or M only May 28 20:17:24 ouch May 28 20:17:45 i think databinding will be support May 28 20:17:55 burntcookie90: its in the support lib May 28 20:18:02 so is the design May 28 20:18:03 RV drag and adrop :) May 28 20:18:05 switching from google io to ... kung fury May 28 20:18:10 yay May 28 20:18:12 it's out ( https://www.youtube.com/watch?v=bS5P_LAqiVg ) May 28 20:18:16 drag and drop and swipe in recylcerview May 28 20:18:18 ohhhh yea May 28 20:18:24 how do I make that channel selector go away on the IO live page? May 28 20:18:25 Napalm, you mean that planetary-popular piece of code made by one guy and his dog? lol May 28 20:18:32 finally May 28 20:18:35 ... May 28 20:18:45 google implementing basic ui features D: May 28 20:18:51 I don't know that I've _ever_ dragged-and-dropped a thing in android. or even wanted to. reordering is just not something I need :| May 28 20:18:57 I meant appcompat/support lib :p May 28 20:19:09 groxx, same here.. May 28 20:19:24 and I was referring to chris banes May 28 20:19:25 no wait, one thing - a todo list. which was a custom view thing anyway, because it would've been hell if they had used ListView May 28 20:19:27 groxx, but if its part of support, maybe every app will support dragging and dropping of everything soon May 28 20:19:27 and his dog May 28 20:20:02 i love this two guys ^^ May 28 20:20:05 groxx, you never dragged and dropped icons on the homescreen? May 28 20:20:07 drat. no mention of fast-scroller for recyclerview. May 28 20:20:18 wakelock: yeah. but that's not a recyclerview. May 28 20:20:23 "how long until we remove a deprecated feature? " May 28 20:20:36 so you're right, two places :) May 28 20:20:46 out of probably 1000+ apps (literally) May 28 20:21:17 groxx, it's like M$ Word, 99% people use only 1% of its features May 28 20:21:44 thats normal May 28 20:21:47 lol May 28 20:21:52 so many features, so little amount of time May 28 20:21:56 in every bigger program May 28 20:22:00 too many features.. May 28 20:22:24 ~ http://www.beheadingboredom.com/wp-content/uploads/2013/09/microsoft-word-funny-pie-chart.jpg May 28 20:22:31 ALL THE FEATURES! http://blog.codinghorror.com/content/images/uploads/2006/02/6a0120a85dcdae970b0120a86d6311970b-pi.png May 28 20:22:35 yes May 28 20:22:37 finalllly May 28 20:22:41 proper text wrapping May 28 20:22:42 Ashiren: 100% true May 28 20:23:00 * groxx waits to catch up to napalm May 28 20:23:01 * groxx excite May 28 20:23:03 they really want to seel android wear, lol May 28 20:23:07 sell* May 28 20:23:08 or this https://i.imgur.com/rQiPPEv.jpg May 28 20:23:24 very nice May 28 20:24:47 and thats how to remove all alternative twitter, reddit, etc apps from the store.. May 28 20:24:49 user can override app links May 28 20:25:14 has anyone ever managed to ./flash-all.sh with a nexus 6? mine reports a max download size of 0.5gb, but the zips are always way bigger than that and don't work. May 28 20:25:44 <[1]Tricknology> woot May 28 20:25:49 <[1]Tricknology> i like the deep link security May 28 20:25:51 <[1]Tricknology> finally May 28 20:26:10 good for the dev/owner, bad for the user May 28 20:26:38 <[1]Tricknology> how do you think? May 28 20:26:47 <[1]Tricknology> I heard mention of Reddit and Twitter earlier.. May 28 20:27:06 [1]Tricknology, lets say twitter uses this deep link thing May 28 20:27:20 you cant build an alternative app with others features anymore May 28 20:27:23 user can override May 28 20:27:27 danijoo: so you can May 28 20:27:30 <[1]Tricknology> yeah May 28 20:27:32 Napalm, they can? May 28 20:27:35 <[1]Tricknology> if certs not there it falls back May 28 20:27:35 yes May 28 20:27:36 nvm then :p May 28 20:27:40 <[1]Tricknology> to regular May 28 20:27:53 <[1]Tricknology> this is good because say you have some deep link that does some critical shit in your app May 28 20:27:54 well, twitter already doesn't want 3rd party twitter apps. they've made that painfully clear via their API key policies May 28 20:27:55 sheesh - they are speed running through this whats new section May 28 20:28:09 <[1]Tricknology> you want to know that whomever made that deeplink is the one you want opening your app May 28 20:28:11 <[1]Tricknology> bypassing login, etc May 28 20:28:31 groxx, understandable from the developer point of view :) May 28 20:28:56 very nice May 28 20:28:59 mmm May 28 20:29:14 so much more room to suck May 28 20:29:22 <[1]Tricknology> YES May 28 20:29:25 <[1]Tricknology> so good May 28 20:29:58 <[1]Tricknology> very good for games May 28 20:30:03 FINALLY! May 28 20:30:05 <[1]Tricknology> we can now do linear algebra operations May 28 20:30:10 they separated the flashlight from the camera May 28 20:30:16 holy crap that took way too long May 28 20:30:18 definitely May 28 20:30:19 <[1]Tricknology> lol May 28 20:30:30 I usually do the linear algebra myself May 28 20:30:31 ugh. the io player keeps kicking me out to the wrong channel while I'm watching it May 28 20:30:34 real hell May 28 20:30:54 <[1]Tricknology> well now you can manipulate your matrices directly May 28 20:30:58 groxx, same here.. May 28 20:31:04 oh yea that'll fix my problems May 28 20:31:08 can they separate "device ID" from "can view your send/receive phone calls as they happen" next? most idiotic permissions grouping ever. May 28 20:31:11 <[1]Tricknology> blas May 28 20:31:13 I can write Quake 3 for Android now May 28 20:31:24 Has anyone mentioned Kotlin? May 28 20:31:40 just once, so far May 28 20:31:42 <[1]Tricknology> yeeeee May 28 20:31:43 <[1]Tricknology> midi May 28 20:31:46 Oh, what happened? May 28 20:31:51 TacticalJoke: you asked if anyone mentioned it :) May 28 20:31:57 TacticalJoke, they are busy mentioning "you could use this on android wear!" May 28 20:31:59 <[1]Tricknology> midimidimidimidi May 28 20:32:09 [1]Tricknology: you sound excited May 28 20:32:10 Oh. haha May 28 20:32:27 <[1]Tricknology> i am May 28 20:32:31 i wonder what the latency is on the midi stuff May 28 20:32:38 2/3 of a second, probably May 28 20:32:41 <[1]Tricknology> i was waiting to get into synth stuff May 28 20:32:46 <[1]Tricknology> lol May 28 20:33:34 g00s_: iirc on the order of 50ms, but I could be remembering wrong. May 28 20:34:03 <[1]Tricknology> that's not bad at all May 28 20:34:09 <[1]Tricknology> my computer is liek.. 25? May 28 20:34:38 <[1]Tricknology> nvm 3.27 May 28 20:34:43 These questions are so boring. I wish they'd simply answer "Read the documentation when it comes out". May 28 20:34:57 yea....systrace May 28 20:35:07 if i've got an apk, is it possible to reconstruct the GUI from the stuff in res/* May 28 20:35:14 better systrace!! May 28 20:35:17 no tpw_rules May 28 20:35:20 <[1]Tricknology> tpw_rules yes May 28 20:35:25 :D May 28 20:35:30 tpw_rules: possibly! May 28 20:35:31 there you have your answers May 28 20:35:33 no yes, tpw_rules May 28 20:35:35 (just to cover all the bases) May 28 20:35:40 no yes probably, tpw_rules May 28 20:35:46 should be enough for you to start now May 28 20:35:55 i don't know anything about android if i'm honest but i've got the update image to a car head unit which runs android May 28 20:36:03 yea... May 28 20:36:18 <[1]Tricknology> you've got to update the image? May 28 20:36:24 mega bytes!! May 28 20:36:26 tpw_rules: the gui will be built with a combination of the stuff in res, and the code. May 28 20:36:27 <[1]Tricknology> in an already compiled apk? May 28 20:36:50 [1]Tricknology: i'm trying to get a feel for how it works. i don't know anything about android development May 28 20:36:55 or reverse engineering for that matter May 28 20:36:59 <[1]Tricknology> but is that what you want to do? May 28 20:37:08 <[1]Tricknology> change an image in an already compiled apk? May 28 20:37:10 dunno. may be able to replace it May 28 20:37:17 <[1]Tricknology> 1) get apk May 28 20:37:21 <[1]Tricknology> 2) decompile it) May 28 20:37:26 <[1]Tricknology> 3) find image May 28 20:37:29 <[1]Tricknology> 4) replace it May 28 20:37:31 <[1]Tricknology> 5) compile May 28 20:37:36 <[1]Tricknology> 6) hope it works May 28 20:37:39 6) profi May 28 20:37:40 t May 28 20:37:45 8) ??? May 28 20:37:53 <[1]Tricknology> 9) lawyer up May 28 20:37:57 <[1]Tricknology> 10) hit the gym May 28 20:38:00 what i'd like to do is somehow turn on adb in the update so that it is active if i apply the update to the unit May 28 20:38:04 dont forget to also replace the admob api key! for 6) May 28 20:38:17 <[1]Tricknology> a car head? May 28 20:38:19 <[1]Tricknology> im confused May 28 20:38:22 ohhhh this is gonna be nice May 28 20:38:25 the god article May 28 20:38:43 <[1]Tricknology> pdate? May 28 20:38:45 nooo ... why are they spreading more shit around to medium.com May 28 20:38:53 <[1]Tricknology> ill be back in an hr May 28 20:38:59 why can't they understand, just keep all the latest docs *here* May 28 20:39:11 putting it on d.android.com was just to obvious? May 28 20:39:23 well it's meta stuff May 28 20:39:28 too meta May 28 20:39:42 https://medium.com/google-developers/developing-for-android-introduction-5345b451567c May 28 20:39:56 they could also give it to chris barnes to post it on or google+ May 28 20:39:59 vertical scrolling apps list YES. I hate swipe-paging so much. May 28 20:40:21 what causes adb to be enabled on boot? May 28 20:40:34 tpw_rules, on the phone or on the pc? May 28 20:40:38 though wtf why did they make the app icons EVEN BIGGER? was 4 columns too much on a 6 inch screen? sheesh May 28 20:40:39 on the phone May 28 20:40:48 can i enable adb by modifying an update? May 28 20:40:54 tpw_rules, the setting that enables it May 28 20:41:03 well yes but that setting must do something May 28 20:41:10 yes. it turns on adb May 28 20:41:11 :D May 28 20:41:21 are there alternate methods of turning on adb? May 28 20:41:31 like, perhaps, a file in the FS i could modify? May 28 20:41:50 go to #android-root and ask them May 28 20:42:00 wow. my recent apps list survived an OS upgrade, and they still work May 28 20:42:02 we are app devs May 28 20:42:18 groxx, 5.1.1? May 28 20:42:20 is alarms only silent mode? May 28 20:42:23 do they also handle lower-level dev stuff? May 28 20:42:25 danijoo: from 5.1.1 to M May 28 20:44:23 not sure if its a good idea to install it on my private phone :/ May 28 20:44:29 likely not May 28 20:45:48 hm. lots of things breaking. exceptions on not-having-internet-permission, though that's apparently not a thing you can toggle. May 28 20:46:25 didnt they say the old permission system will count if you not target M? May 28 20:46:37 I flashed it clean and everything seems to work so far May 28 20:46:37 does anyone use any snackbar here? May 28 20:46:47 https://developer.android.com/tools/data-binding/guide.html May 28 20:47:33 huh. home button is busted when in an app's permissions setting screen. May 28 20:47:40 imho this is the best feature so far :) data binding May 28 20:47:52 ok, maybe just always. May 28 20:48:53 windows dev have had this for a long time :) May 28 20:48:59 Wow, Gradle build is WAY faster May 28 20:49:03 They weren't kidding. May 28 20:49:22 Anyone having trouble with the fact that Gradle 1.3 isn't on maven yet? May 28 20:49:29 can i use the tools preview with AS 1.2.x ? May 28 20:49:44 g00s_, I tried it, and it seems to be missing a part May 28 20:49:52 That's just from my experience trying it though May 28 20:50:22 Worked fine after upgrading to AS 1.3, in addition to also telling Gradle to still use old build tools/corresponding Gradle. May 28 20:51:00 i need stuff to work so i'll stick to existing i guess May 28 20:51:05 dropped wifi twice on M now :/ May 28 20:51:08 on the N5 May 28 20:51:18 Memorion power savings :) May 28 20:51:28 M preview is veryyyyy unstable on the emulator May 28 20:51:33 Died 3 or 4 times so far May 28 20:52:15 yeah, I'm immediately having lots of things breaking on M. notification center's expanded view worked once, now doesn't respond. home button doesn't work at times. apps starting and crashing continuously. May 28 20:52:21 sublimate I'm also having the issue of a missing gradle 1.3 May 28 20:52:22 might have to try a clean flash :\ May 28 20:52:32 solved it yet ? May 28 20:52:36 Chainfire, Yes, it doesn't seem to be on Maven. May 28 20:52:42 I think that's Google's move. :p May 28 20:52:57 Means we can't use the new build tools yet May 28 20:54:34 sublimate well I also haven't been able to find this NDK support, I'm wondering if my AS is just messed up May 28 20:54:45 maven central takes a while to update May 28 20:54:55 anyone tried data binding yet? May 28 20:54:55 probably there in a few hours May 28 20:55:08 Chainfire, I haven't looked yet. May 28 20:56:25 that article is *really* good May 28 20:56:35 which article? May 28 20:56:41 https://medium.com/google-developers/developing-for-android-introduction-5345b451567c May 28 21:00:35 ugh. this IO player is terrible. cuts out when the livestream is done, even though I'm like 15 minutes delayed May 28 21:00:49 i switched over to watching it on Youtube May 28 21:00:59 the site is also kinda unuseable on phone May 28 21:01:25 s73v3r: yeah, that's what I'm doing now too May 28 21:01:38 just got to the systrace part, and then it CUTS OUT D: May 28 21:01:56 where / when to they ask developers ? May 28 21:02:05 lol i never see that :D May 28 21:02:14 that’s nice May 28 21:02:17 of htem May 28 21:02:29 Cool thing: Integrated SDK manager in Android Studio May 28 21:02:38 but it keeps bugging out May 28 21:02:39 lol May 28 21:02:40 Which lets you download entire versions (the necessary bits) if you want May 28 21:02:51 Chainfire, It does flicker while refreshing May 28 21:02:57 That's what you get for using a canary build :p May 28 21:02:59 do you see anything under the "sdk tools" section? I see an entry, but when I enable the details option, it disappears :S May 28 21:03:02 sublimate, isnt that part of AS since version 0 ? May 28 21:03:10 'design support lib' ... we added stuff that should have been there last year May 28 21:03:19 danijoo, Nope, there was a button to launch the SDK manager May 28 21:03:24 But not an integrated one. May 28 21:03:26 danijoo: not like this. it's not an externally-launched java thing any more. May 28 21:03:29 oh well.. thats the same for me May 28 21:03:34 ok May 28 21:03:43 they should write docs instead :p May 28 21:03:57 yeah, but that's not gonna happen May 28 21:04:00 g00s_: exactly what i was thinking May 28 21:04:08 cool, i hope inkscape svgs work May 28 21:04:17 g00s_ yeah, and just after I finished doing half of that stuff myself last month :D May 28 21:04:30 Also, automated SDK updates May 28 21:04:37 If you choose in the options May 28 21:04:39 from now on, I'm never going to wait less than a year before I implement something cool :P May 28 21:04:43 * groxx wonders if the IO presenters are aware that the systrace viewer is busted for all current SDK users May 28 21:04:45 can u turn them off? May 28 21:04:55 danijoo, They're not on by default. May 28 21:04:59 though I gather they fixed the tool, so new systraces work at least May 28 21:05:00 good May 28 21:05:01 http://imgur.com/a/DtL3E May 28 21:05:14 There's the new vs old on the SDK manager May 28 21:05:18 autoupdate is dangerous May 28 21:05:22 I mean pics of the new SDK manager May 28 21:05:29 thx May 28 21:05:39 so I came in late. Does the layout editor actually work now? May 28 21:06:02 Anyway I have a midterm ;( May 28 21:06:03 leeroooooooooooooooyyyyyyyy May 28 21:06:09 Baii May 28 21:06:28 Jack and Jill w00t May 28 21:07:22 Chainfire yeah , i procrastinate as much as i can :D May 28 21:07:51 hopefully the new pngcrush doesn’t completely choke and emit a completely irrelevant error message on certain PNGs May 28 21:08:07 http://developer.android.com/preview/backup/index.html finally May 28 21:08:49 Hmm, I'm not that optimistic about the data-binding thing. May 28 21:08:55 Do you folks think it'll be that useful? May 28 21:09:04 fwiw a clean install of the M preview seems to be working _much_ better than an "update" flash. May 28 21:09:08 TacticalJoke, i like it May 28 21:09:20 will reduce the boilerplace quite a bit May 28 21:10:10 wow.. the gradle 1.3 numbers look impressive May 28 21:10:27 i dont think 1.3 has been released yet May 28 21:10:28 it'll be another thing we get questions about, because in my experience: databinding works great for some things, and then gets in the way when you try to do something slightly different :) May 28 21:10:35 too good to be true May 28 21:13:32 they just said 1.3 is already released May 28 21:13:43 but not with all features May 28 21:13:45 not gradle 1.3 May 28 21:15:06 gradle-core-1.3.0-beta1 May 28 21:15:23 gradle plugin May 28 21:15:33 Afzal, yes. May 28 21:16:42 wow, Android studio just became better than IDEA because of C++ May 28 21:17:34 why wont google allow icons on snackbars??!??! May 28 21:17:46 luist: you can May 28 21:17:54 its CharSequence so it supports Spannables May 28 21:17:54 Napalm: really? May 28 21:18:01 ImageSpan May 28 21:18:03 ;) May 28 21:18:26 cliffreich where did you find that? May 28 21:18:34 ugh. youtube live-stream chat has to be one of the worst ideas they've ever come up with. May 28 21:18:42 :D May 28 21:18:55 it's like youtube comments... but more! May 28 21:18:56 just classpath 'com.android.tools.build:gradle:1.3.+' May 28 21:19:30 cliffreich facepalm May 28 21:19:34 :D May 28 21:19:45 that certainly does it May 28 21:19:52 oh wtf, http://d.android.com got redesigned May 28 21:20:09 no mention of java 8 stuff May 28 21:20:58 Afzal I still don't see anything C++ish May 28 21:21:35 Chainfire, watch the talk :p May 28 21:21:54 they are talking about c++ right now May 28 21:21:57 g00s_: good, means my Stream stuff is not pointless.. maybe i'll finish it off :D May 28 21:21:57 link ? May 28 21:22:14 Chainfire: https://www.youtube.com/watch?v=PhlpJ1ELAVw May 28 21:22:15 google.com/io May 28 21:23:43 oh that is so good May 28 21:23:47 proper jni stuff May 28 21:23:48 but how did he start it? if I open a cpp file I do get highlighting, but no code completion/suggestion or anything May 28 21:24:01 next gen plugin only May 28 21:24:09 oh its not present yet? May 28 21:25:18 yes May 28 21:25:21 thread annotations May 28 21:25:23 niceee# May 28 21:25:33 nice May 28 21:26:23 love these annotations May 28 21:26:29 wow. pretty nice stuff May 28 21:27:04 ColorInt May 28 21:27:09 there we go May 28 21:27:11 permissions May 28 21:27:15 finally people stop asking the stupid question here May 28 21:27:19 hahah May 28 21:28:02 ah.. now things get clear.. May 28 21:28:22 I did mention earlier we'll need to rewrite all our code to handle SecurityException May 28 21:28:23 lol May 28 21:28:25 yeah, all that permission stuff doesn't seem so fun anymore May 28 21:28:26 so, until devs implement this checks, everything will crash on M :D May 28 21:28:42 thats not cool May 28 21:28:49 but well.. you can still just target 22 May 28 21:28:51 only if they do targetSdk=m May 28 21:28:54 yeah May 28 21:28:56 otherwise, compat paths May 28 21:29:05 only in debugger?! May 28 21:29:20 yes finally flag reversal May 28 21:29:48 really cool stuff May 28 21:30:53 say goodbye to Butterknife May 28 21:30:54 lol May 28 21:30:57 a lot less findViewById with this databinding May 28 21:31:56 oh yes! Intellij Allocation tracker! May 28 21:32:39 nice May 28 21:33:21 that is sweeeeeet May 28 21:33:25 wow May 28 21:33:28 awesome May 28 21:33:51 thread annotations? YES. do they actually warn you sanely? May 28 21:33:59 I've been itching to build some. May 28 21:34:10 same May 28 21:34:18 groxx, you are like 15min behind, arent u? ^^ May 28 21:34:34 yep. making sure I catch it all, and working, and getting M preview working on my phone :) May 28 21:35:40 damn, I really want 1.3 now May 28 21:35:50 “This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio” May 28 21:35:56 :( May 28 21:36:30 now he said it May 28 21:36:36 c++ is not in the current 1.3 preview May 28 21:36:53 oh damn May 28 21:36:57 oh daaaaaym May 28 21:36:57 yes May 28 21:37:00 finally a theme editor May 28 21:37:01 theme editor!! May 28 21:37:12 lol we're spoiling it for groxx May 28 21:37:19 I don't mind spoilers :) May 28 21:37:35 thats so awesome May 28 21:37:36 that is great! May 28 21:37:50 oh wow May 28 21:38:07 sweet May 28 21:38:09 this is some nice stuff May 28 21:38:17 really cool new tools May 28 21:38:22 That shirt tho. May 28 21:38:27 i wanted to wart tomorrow May 28 21:38:31 oh damn May 28 21:38:35 but seems like i need to load 1.3 preview :/ May 28 21:38:44 work * May 28 21:38:49 They're committed? Then why are we stuck with Java 7?! May 28 21:39:02 oh niiiice May 28 21:39:05 man I love this May 28 21:39:25 ah. they finally merged the xml and preview view May 28 21:39:28 oh, it's not in the current version? May 28 21:39:40 no the last couple things aren't ready yet May 28 21:39:43 man this is starting to look like we're no longer trying to hammer square pegs into round holes May 28 21:39:44 and finally the layout preview has rulers May 28 21:39:49 TacticalJoke, kotlin or what? May 28 21:39:50 nice May 28 21:40:03 danijoo: Are you talking about AS 1.3 Preview? May 28 21:40:08 Kotlin or death! May 28 21:40:16 TacticalJoke, :D May 28 21:40:19 yes i am May 28 21:40:28 but no kotlin mentions yet :( May 28 21:40:45 didnt saw the whole stuff yet though May 28 21:40:49 anything but java May 28 21:41:04 no java 8 mention either May 28 21:41:10 they should just deprecate their emulator and buy genymotion. May 28 21:41:19 they might have removed it.. the api legal battle and all May 28 21:41:33 the normal x86 emulator is as fast as genymotion for me May 28 21:41:36 instead of "we are working on it" May 28 21:41:48 Memorion, but not as feature rich :) May 28 21:42:00 true May 28 21:42:08 I want to see the crowd riot. "WE WANT BETTER LANGUAGE SUPPORT!" May 28 21:42:12 what's the package for the thread annotations, btw? it's not visible in android.support.annotation's docs :| May 28 21:42:13 Programming conventions don't have enough riots. May 28 21:42:27 groxx, i think not part of current preview :/ May 28 21:42:36 😭 May 28 21:42:41 haha May 28 21:42:42 TacticalJoke, unless thers Linus May 28 21:42:44 Java 8 May 28 21:42:45 hahahahahahah May 28 21:42:45 haha May 28 21:42:58 lol May 28 21:42:59 XD May 28 21:43:03 avoidance much May 28 21:43:03 lol May 28 21:43:06 someone ask about 9! May 28 21:43:14 10!! May 28 21:43:19 they don't have fireside chat anymore? May 28 21:44:08 oh cool May 28 21:44:09 that's good May 28 21:44:43 oh, the NDK stuff in AS won't be open source May 28 21:44:53 their integration is May 28 21:45:00 but the C++ side is by an external company May 28 21:45:03 CLion May 28 21:45:09 someone should have asked about kotlin :( May 28 21:45:16 Clion is not a company, it's a paid IDE from IntelliJ May 28 21:45:26 but yeah May 28 21:45:50 Napalm: data binding looks terrible May 28 21:45:55 :'( May 28 21:46:02 So say goodbye if you want, but meh May 28 21:46:06 JakeWharton: That was my impression too. :/ May 28 21:46:07 is there any data binding that _doesn't_ look terrible? May 28 21:46:14 Wasn't sure whether it was my eyes. May 28 21:47:33 I <3 the tools team May 28 21:48:02 hey theblang May 28 21:48:08 Napalm: Hey man! May 28 21:48:18 you missed out on the convo May 28 21:48:40 Napalm: Dang, yeah, we were watching it in the conference room May 28 21:49:40 someone should mention kotlin May 28 21:50:49 lol, when asked about java 8 they said it was a platform issue. did they mean to say it was a legal issue ? May 28 21:50:54 g00s_: hahaha May 28 21:50:57 lol May 28 21:51:03 already metioned May 28 21:51:04 :P May 28 21:51:04 :D May 28 21:52:04 Someone mentioned Kotlin? What was the response? I missed it. May 28 21:52:19 no mention of kotlin May 28 21:52:24 TacticalJoke, no. only java 8 May 28 21:54:24 does anyone else here want the Stream API from Java 8 on Android? May 28 21:54:34 I might finish off my library and open source it May 28 21:55:01 Napalm, kotlin :p May 28 21:55:06 http://i.imgur.com/9tDSrZw.jpg May 28 21:56:30 TacticalJoke, JakeWharton could you share some insight on whats bad with databinding in the way its done? May 28 21:56:56 Yeah - Agreed ^ It looks cool to my noob eyes May 28 21:57:01 i want the functional parts of Java 8 May 28 21:57:11 databinding on what? May 28 21:57:21 gdrc: It's on the Google I/O talk May 28 21:57:29 s73v3r: thats what im talking about :P May 28 21:57:39 link please? May 28 21:57:41 oh man. those annotations. <3 May 28 21:57:52 groxx: got a link? May 28 21:58:01 https://youtu.be/PhlpJ1ELAVw?t=2h10m12s May 28 21:58:13 gdrc: Basically create a 'data binding' to the layout that's being used by your activity, and it automatically does a bunch of crap - so you can do stuff like mydatabinding.myedittext1.settext('blah'); May 28 21:58:27 permissions, threading, integer-range bounds, etc May 28 21:58:27 eh its live at that link May 28 21:58:28 gdrc, lookes like this: https://twitter.com/mdumrauf/status/604018705887055872 May 28 21:58:29 without calling all the findviewbyid junk. Which - I think, is kind of what like dagger2 does? (Haven't played with Dagger yet though) May 28 21:58:30 groxx: oh yea May 28 21:58:44 tjbiddle: its more like ButterKnife May 28 21:58:51 bleh, that link doesn't work does it :| May 28 21:59:00 Napalm: Ah, you're right. That's what I remember looking at. Thank you May 28 21:59:03 about -35 minutes from now May 28 21:59:32 here is databinding http://developer.android.com/tools/data-binding/guide.html May 28 21:59:33 gdrc, will allow you to define how a custom viewgroup handles to display a "user" object and just setUser(user) to set all texts, imagaes et May 28 21:59:35 etc May 28 21:59:36 groxx: you mean the UiThread and other new tooling annotations May 28 21:59:38 ? May 28 21:59:42 yea May 28 21:59:44 yea May 28 21:59:50 i am so going to use those May 28 22:00:03 I am just about to start a new app from scratch May 28 22:00:09 get to use all the latest and greatest May 28 22:00:12 im so happy May 28 22:00:13 :D May 28 22:00:14 are those thread annotations just for documentation ? May 28 22:00:15 danijoo, oh wow its like XAML May 28 22:00:23 also debugging flag ints. fin-a-frickin-ly. May 28 22:00:37 I'm sick of building helper methods for that May 28 22:00:43 theme editor looks slick May 28 22:00:51 g00s_: for the AS to pickup on and analyse May 28 22:00:51 gdrc, yeah kinda like that May 28 22:01:06 Napalm ok but they don't change code behavior right ? May 28 22:01:10 is theme editor part of the current 1.3 preview? May 28 22:01:22 groxx: yea.. toString madness May 28 22:01:29 that's nice. at work I'll start again on android dev next week! May 28 22:01:31 danijoo: Don't think he's seaid yet May 28 22:01:32 g00s_: no May 28 22:01:32 said* May 28 22:01:48 what i would kinda like is to be able to color an annotation, like @WorkerThread tints the bg red May 28 22:01:56 tjbiddle, but there are some that already downloaded it in here :) May 28 22:02:03 so i can see quickly that red blob - thats not ui thread May 28 22:02:10 danijoo: Oo May 28 22:02:11 Napalm: yeah. I generally think "toString()" on Object was a mistake. handy for debugging, but that's a _terrible_ reason for it to exist - the debugger should be scriptable enough to solve that problem. May 28 22:02:12 Nice of Google to announce a load of stuff at I/O but refuse to give me my silent mode back :( May 28 22:02:24 tjbiddle, the preview is already available May 28 22:02:35 but does not include _everything_ May 28 22:02:43 c++ is left out for example May 28 22:02:50 danijoo: Any idea where the download is? Haven't found it yet May 28 22:02:55 ah fuck that. ill update it May 28 22:02:59 dont want to work anyways May 28 22:03:28 somebody needs to ask the GMS guys talking now, how do we communicate ? May 28 22:03:34 how do i report bugs ? May 28 22:03:55 b.android.com May 28 22:03:58 tjbiddle, just enable canary updates in AS and youl get it May 28 22:04:11 help->update->configure updates May 28 22:04:34 you may want to have a second installation of AS to run canary though - it can get unstable. May 28 22:04:42 true May 28 22:04:46 1.2.1.1? May 28 22:04:52 danijoo: Ah, awesome. Thanks! May 28 22:05:04 Anthaas, no. its 1.3.x May 28 22:05:10 Hopefully not too much is broken since I'm using AS right now :p May 28 22:05:12 Ahhh ta - will update now May 28 22:06:10 any devices yet? May 28 22:06:13 finally. I can uninstall MAT. May 28 22:06:24 seems like the theme editor is not part of current preview May 28 22:08:58 Seems like I won't be updating just yet then :P May 28 22:09:01 Bed time! Night alll May 28 22:09:05 haha May 28 22:11:43 http://developer.android.com/tools/data-binding/guide.html May 28 22:12:49 crap. gonna have to figure out how to root the preview :| seems it's checking some things on boot, it says I've failed validation. May 28 22:13:13 groxx, on your nex6? May 28 22:13:17 yep May 28 22:13:21 damn May 28 22:13:32 might be the TWRP recovery partition, might be because I had it root for me. May 28 22:13:49 dunno which, but alas that it's not as smooth as previous runs. May 28 22:13:50 yeah. you might need to go back to full stock firs May 28 22:13:52 yeah May 28 22:14:04 lol, these GMS guys "0 cost? how can we do that ?" May 28 22:14:22 we do that by monitizing your privacy :) May 28 22:14:25 groxx, how's the n6 camera? May 28 22:14:41 are there any Brillo talks ? May 28 22:14:57 gdrc: pretty decent for a phone camera. May 28 22:15:24 I'm trying to get monkeyrunner to run on linux. I've installed the jdk but I still can't get it work any suggestions on what it might be? May 28 22:15:31 Brillo in Italian means drunk lol May 28 22:15:37 ugh. yeah, gotta clean-flash my entire phone again :| so as a heads-up to anyone aiming to preview + use a custom recovery / root the phone: don't. or at least be prepared to erase everything. May 28 22:15:49 THe3rdIcon, what error do you get? May 28 22:17:58 hm, app invites sounds decent May 28 22:23:48 groxx, how did you flash? May 28 22:23:56 manually or with their scripts? May 28 22:24:00 always manually May 28 22:24:24 well, the clean-flash I just use flash-all because it does it correctly May 28 22:24:40 and it finally works on the N6 :| dunno why it failed in the past May 28 22:25:06 is there an easy way to blur a text view? May 28 22:25:15 render to bitmap, blur result? May 28 22:25:16 like to the point of illegibility? May 28 22:25:27 yeah but then it is going to be a bigass bitmap May 28 22:25:44 ah. I'll say "no". de-blurring works pretty well, if it's actually sensitive. black-bar the text. May 28 22:26:04 its more like premium users get extra info May 28 22:26:09 non premium it's supposed to be blurred out May 28 22:26:15 ah May 28 22:26:16 th ios guys just use a static image May 28 22:26:19 but May 28 22:26:34 well, when blurring, you can typically downscale, blur, display-upscaled and it looks awfully similar May 28 22:27:22 lasserix, use canfast and a BlurMasfkFilter May 28 22:27:26 canvas* May 28 22:27:32 might it make more sense to just fade it out to invisible after e.g. a line or two of text? May 28 22:27:37 * danijoo cant type today May 28 22:27:48 danijoo: only works on software layers May 28 22:28:14 groxx: i might tell them that May 28 22:28:35 danijoo: see setMaskFilter http://developer.android.com/guide/topics/graphics/hardware-accel.html May 28 22:29:12 blurring is also generally very computationally expensive, fwiw. so making a _nice_ looking blur will be slow. if you do end up going that route though, I'll definitely recommend looking at StackBlur - very nice results + much faster than gaussian. May 28 22:29:24 doesnt have to be nice May 28 22:29:26 i was thinking of like May 28 22:29:42 overriding onDraw then using matrix to scale up, set alpha lower, rinse and repeat once or twice May 28 22:30:12 lasserix: https://github.com/kikoso/android-stackblur May 28 22:30:31 pretty sure that won't work like you're expecting :) but yeah, something like that can work too. but just overlaying a fade-to-white gradient is fast and gets the "teaser, upgrade for more" aspect across pretty effectively May 28 22:30:39 dont want to use bitmap May 28 22:30:53 same difference, since you're using a Canvas May 28 22:31:01 err hmm maybe if i use very low quality May 28 22:33:50 i miss the technical talks... so many of these sessions act like advertisements May 28 22:34:00 its like marketing talk for an hour May 28 22:34:00 :| May 28 22:34:37 I think the "whats new in build tools" was pretty good May 28 22:34:49 yea May 28 22:34:57 for the technical part, there are docs May 28 22:34:59 data binding looks.. strange May 28 22:35:05 or well.. at least sometimes there are docs May 28 22:35:05 :D May 28 22:35:34 databinding looks great imho May 28 22:41:20 Ooh, we're getting collapsing Toolbars. :D May 28 22:41:26 I remember debating that in here two months ago. May 28 22:41:45 http://developer.android.com/reference/android/support/design/widget/CollapsingToolbarLayout.html May 28 22:41:48 (And expanding Toolbars.) May 28 22:42:18 That new site design is nice. ;o May 28 22:43:52 so we also get another appcompat package to inclide? May 28 22:44:00 support-design ? May 28 22:44:34 yup May 28 22:44:34 support-design-compat May 28 22:45:07 seems kinda complicated, coordinatorview, appbar view, colllapsingtoolbar, etc May 28 22:45:10 I wonder whether it's replacing or complementing AppCompat. May 28 22:45:20 g00s_: dont from my perspective May 28 22:45:24 i did all this recently May 28 22:45:30 myself May 28 22:45:33 yeah but you're Napalm May 28 22:45:37 i'm just a g00ey May 28 22:45:37 AbsListView, AbsoluteLayout (but don't use it), RecyclerView... May 28 22:45:44 oops, sorry g00ey May 28 22:46:04 it all works though the view May 28 22:46:09 i mean root view of your layout May 28 22:46:26 anyone played around with nested scroll? May 28 22:46:54 Wow, their answer to the Java 8 question. May 28 22:46:59 "We don't have anything to say about that." May 28 22:47:02 Says it all. May 28 22:47:04 wow collapsing toolbar. the future May 28 22:47:10 :) May 28 22:47:14 lokl May 28 22:47:17 lol May 28 22:47:19 ahh you can just do mTextView.getPaint.setMaskFilter(new BlurMaskFilter(radious, style))) May 28 22:47:36 but it has to be a software layer May 28 22:47:51 so what free goodies do IO attendees get this year? May 28 22:48:12 cardboard v2 May 28 22:48:13 lol May 28 22:48:20 hm. google play services presentation is too excited-sounding :| I might have to skip this one May 28 22:48:30 pfn: got my cardboard. May 28 22:48:46 is that all? May 28 22:48:53 I guess there's tomorrow for goodies still May 28 22:49:41 pfn play service guys shot some Tshirts into the audience :) May 28 22:49:50 that doesn't count May 28 22:49:54 and IO attendees get tshirts anyway May 28 22:49:59 (not gms tshirts of course) May 28 22:50:06 they got more tshirts then May 28 22:51:39 I like the new support design lib, that looks exciting May 28 22:52:29 i'm surprised they didn't talk more about jack & jill May 28 22:52:36 groxx: this guy is always like that May 28 22:52:36 pfn: it is May 28 22:52:42 actually, the whole thing has been kinda fluffy May 28 22:52:57 icedp: yeah :/ May 28 22:53:04 I cant get gradle to find the design-library May 28 22:53:17 g00s_: the entire google play services talk is a massive marketing advertisment thingy May 28 22:53:22 skip it May 28 22:53:34 yeah i watched part of it May 28 22:53:44 that's what it was sounding like, yeah May 28 22:53:58 switched to catch up on the keynote / gcm May 28 22:55:15 i wonder what ellie powers does all year May 28 22:55:20 my AS is complaining about rendering library May 28 22:55:23 but its up to date May 28 22:55:26 :( May 28 22:55:27 i'd like that kind of job May 28 22:56:14 Napalm: did you update after you updated? there's another update May 28 22:56:15 I guess i need to install the preview platform-tools and build-tools ? May 28 22:56:27 that's my guess, yeah May 28 22:56:34 groxx: what version of AS you using? May 28 22:56:45 just updated to 1.3, haven't played with it much yet May 28 22:56:48 :( May 28 22:56:49 seems to work. fewer rendering glitches too. May 28 22:56:53 i learned my lesson of using google preview stuff - let me know when it works :D May 28 22:57:03 exactly May 28 22:57:06 (in general, I basically never use the UI previewer) May 28 22:57:07 sO im not May 28 22:57:12 but now AS fails May 28 22:57:50 AS-stable = boom? May 28 22:58:28 you're probably best having AS 1.2 and 1.3 installed side by side May 28 22:58:30 I can't get it to find 'com.android.support:support-design:22.0.0' anyone encountered this? May 28 22:59:18 I think the maven stuff has a cache that only periodically gets updated? or no? May 28 23:00:17 Memorion: compile 'com.android.support:design:22.2.0' May 28 23:00:18 Do you need to download it via the sdk manager? May 28 23:00:52 got the version from http://developer.android.com/tools/support-library/features.html#design and installed everything in the sdk manager May 28 23:02:02 so, has anyone been able to get Android Studio to resolve com.google.gms:google-services:1.0 properly? May 28 23:02:04 Napalm: possible cause: it seems the preview tools replace the normal ones entirely May 28 23:02:12 installing one uninstalls the other May 28 23:04:05 Hi I have main class "public class MainActivity extends ActionBarActivity implements SearchView.OnQueryTextListener" there were function whose main purpose was to populate ListView with some data. And other expansion is expected (removing ListView items with swipe and animation...) May 28 23:04:05 I decided to to remove this method from MainActivity and created own class for it. "public class ListViewResultCareTaker extends Activity {", constructor "public ListViewResultCareTaker(Context context)" Problem is that calling this function now results in "java.lang.NullPointerException". on row "setContentView(R.layout.activity_main);" May 28 23:04:05 How would you do the separation of this functionality from MainActivity. As for beginner code is starting to be more unclear and chaotic... May 28 23:04:09 groxx lol May 28 23:04:42 groxx: even with 23rc1 preview fails in AS May 28 23:04:48 I guess I need AS 1.3 May 28 23:04:53 which is Canary? May 28 23:04:57 this cant be right May 28 23:05:49 I have the extras/android/support/design folder and it still doesn't find it May 28 23:06:18 Memorion: as i said use 'com.android.support:design:22.2.0' May 28 23:06:36 doesn't work either May 28 23:07:37 and if I click on "Install Repository and sync project" it redownloads the android support repository revision 15 May 28 23:08:16 did you restart AS since sdk update? May 28 23:09:26 today, we've expanded the guidelines around the FAB May 28 23:09:34 lol ... code or it didn't happen May 28 23:09:37 so nobody is using the new google services stuff? May 28 23:09:55 but g00s_: its an ImageButton with layout_gravity in a FrameLayout May 28 23:09:59 its not hard May 28 23:10:12 thats why the FAB in iosched looks borked :D May 28 23:10:15 so easy ! May 28 23:10:33 "expanded the number of patterns that the FAB supports" is the quote. and yeah, code or no. May 28 23:10:41 I have the following hierarchy: ViewPager -> SwipeRefreshlayout -> ListView, and some views glitch behind. If I change SwipeRefreshLayout with LinearLayout everything works... Why? Using latest sdk and appcompat May 28 23:11:23 dimitrovskif: it should be SwipeRefeshLayout -> ViewPager -> ListView May 28 23:11:28 i think May 28 23:11:30 Btw, SwipeRefreshLayout is inflated using a Fragment, which is returned from a FragmentAdapter May 28 23:11:35 blunden which services? May 28 23:12:09 Napalm: Umm what if I don't like swiping on some fragments? May 28 23:12:16 you can disable it May 28 23:12:20 the layout has that support May 28 23:12:44 asarazan: gcm but it's a general issue where AS doesn't find 'com.google.gms:google-services:1.0' May 28 23:12:52 oh the google play services. Missed that talk May 28 23:13:01 But I don't want my SwipeFreshLayout to be on top, Napalm May 28 23:13:06 *Refresh May 28 23:13:22 I want it to be somewhere in the Fragment May 28 23:13:23 asarazan: I started watching it. couldn't continue. May 28 23:13:27 too markety. May 28 23:13:49 dimitrovskif: use an interface and access it from the activity then May 28 23:13:51 asarazan: basically, I was in the middle of implementing GCM notifications in my app but I noticed they released new code examples and setup instructions today so I figured I'd base it on that instead May 28 23:14:01 see https://developers.google.com/cloud-messaging/android/client?configured=true May 28 23:14:22 Napalm: wat May 28 23:14:29 basically the google repository doesn't seem to include the needed stuff May 28 23:15:12 dimitrovskif: translation: "use code" May 28 23:15:17 or it fails to fetch it or something May 28 23:16:02 groxx: How would I use an interface to access a swipe refresh from activity when it should explicitly be in a fragment, since the fragment inflates a View and the RefreshLayout should be positioned inside that View May 28 23:16:14 Napalm yes, AS searches in /m2repository/com/android/support/support-design/22.2.0 but on disk everything is in /m2repository/com/android/support/design/22.2.0 May 28 23:17:11 Napalm it works with compile 'com.android.support:design:22.2.0' instead of com.android.support:support-design:22.2.0 lol May 28 23:17:18 Memorion: your using AS 1.3 .. im using 1.2.1.1 May 28 23:17:33 Memorion: thats what i said May 28 23:17:34 :| May 28 23:18:03 sorry, then I was fixed on the version because http://developer.android.com/tools/support-library/features.html#design says it's 22.0.0 May 28 23:18:22 ok now duarte is talking about material on android May 28 23:18:48 and shirting May 28 23:19:52 I like how they keep going, “Even though it’s really, really easy to do it yourself, we’ve given you a library with the FAB” May 28 23:20:08 s73v3r: its true though May 28 23:20:11 "it took us a year to do it, but we did it!" May 28 23:20:14 Oh man the scrolling toolbar component looks hot May 28 23:20:26 whats the Android M release date? May 28 23:20:32 cliffreich: the future May 28 23:20:35 lol May 28 23:20:55 then i wont even look the 22 doc May 28 23:20:59 In the year 2000 May 28 23:21:03 "what's new in android" basically said ~monthly? releases of the M preview, and no stated release date for the final. May 28 23:21:41 wohoo android 2.1 ! May 28 23:21:51 HE SAID SHIT! May 28 23:21:51 lol did he say you can lose your shit ? May 28 23:22:14 I am capable of doing so. I don't feel the need yet. May 28 23:22:20 g00s_: probably May 28 23:22:37 Is there anyway to get the size of the header at the top of a screen displaying phone info such as battery life, signal strength and time? May 28 23:23:01 chris11: yes, just google it.. its called a Status Bar May 28 23:23:27 cool, i'm going to set up an appointment at the design lab :) May 28 23:23:56 does Duarte even code bro? May 28 23:24:39 cliffreich I'd be willing to bet it lines up pretty close with the holidays May 28 23:25:08 design would be much easier to implement if the UI tools weren’t steaming, heaping piles of excrement May 28 23:26:44 anyone know how thumbnails for a video are picked? specifically i want to splice in a bit of video that ends up being the thumbnail for the video, but when i splice at the previous picked point it seems to pick something else May 28 23:28:09 its because it skips to the nearest key-frame May 28 23:28:25 bazz: how are you picking your thumbnail.. May 28 23:28:37 Napalm: i'm not. i'm just messing with the video file in a video editor May 28 23:28:48 :| May 28 23:29:05 does it not have a next frame button "|>" icon May 28 23:29:36 design library demo: https://github.com/chrisbanes/cheesesquare/ May 28 23:29:42 Napalm: i'll have a look, but i've put quite a bit of extra video over the area where it was previously picking, and it keeps just picking the first frame of the original video May 28 23:31:26 bazz: why are you even asking here? whats this got to do with Android? May 28 23:33:04 Napalm: i mean, on an android device. when i copy the video over to my device then in the gallery/whatsapp/etc it seems to always use the same thumbnail image, and i'm trying to control that May 28 23:33:42 bazz: in your own app? May 28 23:33:57 hmm, the deeplinking prompt thing will be annoying, huh May 28 23:34:16 what deeplinking prompt? May 28 23:34:19 what talk you on? May 28 23:34:29 the new android:autoVerify and I'm not watching any talks May 28 23:34:31 just going through rss May 28 23:34:39 Napalm: no, in any other app May 28 23:35:03 pfn: it doesnt prompt? May 28 23:35:07 thats the point May 28 23:35:15 yeah, that's what I mean by annoying May 28 23:35:35 because e.g. Twitter is going to add it to everything useful :| May 28 23:35:39 so nobody can play with them May 28 23:35:50 well, you won't be able to deeplink into any app except twitter May 28 23:36:00 unless there's a way to override for a user May 28 23:36:09 there is, afaik May 28 23:36:12 apparently there is, it's just not prompted. so you have to dive through settings. May 28 23:36:16 and that doesn't fix anything, I mostly get annoyed by prompts for media types and phones May 28 23:36:19 hopefully apps can link to that settings screen. May 28 23:36:35 phone calls, that is, I don't want to default to phone because I want to occasionally use hangouts, skype, etc May 28 23:36:37 pfn: yes the user can override it May 28 23:36:43 I assume it's for e.g. using browsers to unambiguously handle oauth-style logins May 28 23:36:51 to prompt defeats the purpose May 28 23:36:52 groxx, yeah, that's handy May 28 23:36:55 at the core, anyway. plenty of potential for abuse, obviously May 28 23:38:00 bazz: its probably a feature no other app bothers with May 28 23:38:46 bazz: thumbnails for videos where? in apps? May 28 23:38:56 groxx: yes May 28 23:38:59 bazz: http://developer.android.com/reference/android/provider/MediaStore.Video.Thumbnails.html May 28 23:39:07 bazz: all the apps probably use the MediaStore May 28 23:39:11 Napalm: cool, will check that out, thanks May 28 23:40:48 bazz: I use http://developer.android.com/reference/android/media/MediaMetadataRetriever.html#getFrameAtTime%28%29 at work. it tends to capture somewhere within the first second, but it's not reliably e.g. the first B-frame or something. May 28 23:42:48 awwww https://www.dropbox.com/s/jn10a1c6219obt8/2015-05-28%2023.42.08.png?dl=0 May 28 23:43:22 Still no luck from anyone trying to get the new build tools working? May 28 23:43:43 to have / have not, I would have to be productive :| this is not easily achieved. May 28 23:46:01 groxx, Are the APIs fro that out yet? Are there even an APIs? May 28 23:46:16 not sure :| May 28 23:46:39 groxx, Seems like they're just scraping apps from what they said in the keynote. May 28 23:48:36 I keep forgetting that I have this cloud -> moon extension installed. still makes me smile: http://cl.ly/image/3N2b272v0L27 May 28 23:49:17 e.g.: "Francesco Nerieri leads the global Mobile Moon engineering team at Google." May 28 23:55:40 so ive taken over an app from a previous developer and they keystore password they've provided doesnt work with the keystore May 28 23:55:56 i think it might be the actual key password for the key within the store but not the store password May 28 23:56:18 im using this to try and bruteforce it: https://github.com/MaxCamillo/android-keystore-password-recover May 28 23:56:45 but im just wondering is there something simple i'm missing? like maybe certain versions of the jdk handle keystores differently? May 28 23:57:15 is there an android specific keytool that i should be using rather than the jdk provided one? May 28 23:57:29 hm, some people are saying the appcompat 22.2 put them over the dex limit ... that sucks May 28 23:57:34 or am i just out of luck and have to brute force the password? May 28 23:58:19 AshyIsMe: make extra certain that it copies / pastes "cleanly" if you're trying it from within android studio. I've had problems (don't know the cause) where it pasted extra crap around the password, e.g. like it included metadata or something. May 28 23:59:17 groxx: it's a simple password that im just typing manually May 28 23:59:27 AshyIsMe: also, try just "android", which is the default one, for the debug keystore May 28 23:59:28 im also trying on the commandline with keytool aswell May 29 00:00:04 no luck :/ May 29 00:00:14 probably stuck brute-forcing it then :| May 29 00:00:41 damn May 29 00:00:42 or declaring (╯°□°)╯︵ ┻━┻ and shipping a new app to replace it. May 29 00:01:06 Spotify had to do that a while back, afaik someone got their signing certs May 29 00:01:48 ah is that what happened when they lost all my cached music haha May 29 00:01:50 AshyIsMe: also, make sure it's not something silly like LF -> CRLF due to some sort of windows file mangling or something :) May 29 00:03:12 it's just a 7 character password, no newlines involved May 29 00:04:40 no, I mean the file itself May 29 00:04:42 keytool -list -v -keystore my.keystore # <-- hitting return when it asks for a password lists the key entry with the warning about "not verified as you need to supply a password" May 29 00:04:55 OH, hmm May 29 00:04:58 so is the gradle-plugin 1.3 release or a preview / beta ? is it even out yet ? May 29 00:05:10 e.g. open it up in a hex editor and make sure nothing looks wonky in that regard May 29 00:05:12 does it require preview build-tools ? May 29 00:05:15 I doubt it, but it's worth a shot :) May 29 00:06:01 in some formats (like the dex format) include a CR in the header, to help detect exactly that sort of issue May 29 00:07:34 if you can communicate with the original developer, and they still have the file, maybe ask them for the sha256 of it, and compare with yours, to ensure your copy hasn't been corrupted somehow May 29 00:08:16 is there a description of what the file format should look like somewhere? May 29 00:08:53 no idea. I would just look to see if there are a large number of 0D 0A byte combinations, (or 0A 0D? never can remember) May 29 00:10:07 hmm, there's none May 29 00:14:10 Yeah, probably not the problem then May 29 00:14:14 it was a bit of a stretch :) May 29 00:16:24 when duarte mentioned L / Design was on 10% devices, i wonder whether he realized thats actually pretty poor May 29 00:18:07 JesusFreke: ah cheers anyway May 29 00:37:07 anyone use any CoAP libraries with android ? May 29 00:41:58 fwiw @ people: I can build and run my apps fine. no problems yet. May 29 00:42:03 on the AS preview 1.3 May 29 00:43:29 groxx is tempting us all into immense suffering :P May 29 00:43:39 indeed! May 29 00:43:41 * g00s doesn't fall for it May 29 00:44:26 I've also successfully restored my sms messages after a complete wipe, by `adb push`ing everything while booted into a temporary recovery image. and chmod'ing a bunch of things. /me recommends it to everyone. May 29 00:45:18 some people just want to watch the world burn May 29 00:45:45 you can roast marshmallows over a burning world. May 29 00:48:53 hm. does anyone know if libphonenumber is threadsafe? May 29 00:51:49 groxx who would ever want to dial a phone with multiple hands ? May 29 00:52:01 :P May 29 00:52:17 depending on the situation, I may need to parse like 1000 in parallel May 29 00:52:42 or, _ideally_ in parallel, because doing so serially is worth avoiding if possible May 29 00:54:57 hm. there is synchronization logic in its internals, seemingly around the right things. yolo. May 29 01:31:03 Sorry forr asking again, but has anyone been able to get the new build tools working? May 29 01:34:05 is there a specific issue? i'm sure someone has, no way everyone has it borked May 29 01:35:10 canvs2321, The 1.3 version of the Gradle plugin (required with the new version of the build tools) does not seem to be available on Maven Central. May 29 01:35:17 (See https://repo1.maven.org/maven2/com/android/tools/build/gradle/) May 29 01:35:37 how are you adding it? May 29 01:35:59 think 1.3 is a beta and not released, but if you do 1.3.+ it works May 29 01:37:00 classpath 'com.android.tools.build:gradle:1.3.+' that what you are talkin bout? May 29 01:37:07 canvs2321, It is required by the preview build tools so I'd assume 1.3 would work May 29 01:37:12 But I'll try 1.3.+ May 29 01:37:19 Cause I was just trying "1.3" or "1.3.0" May 29 01:37:43 1.3 isn't gonna be released for couple weeks think they said in the google io May 29 01:37:47 canvs2321, That didn't work either. May 29 01:37:55 canvs2321, They did not say it in the keynote. May 29 01:38:02 they talked about it today May 29 01:38:11 in the build tools talk May 29 01:38:15 canvs2321, So the new build tools are borked? May 29 01:38:23 (Until 1.3 comes out) May 29 01:39:06 not sure, it compiles my app fine May 29 01:39:34 canvs2321, With buildToolsVersion "23rc" May 29 01:39:36 ? May 29 01:41:05 23rc1 May 29 01:49:41 so anything cool come out of IO yet? May 29 01:50:06 i dont see gradle plugin 1.3.? anything on maven central May 29 01:50:13 some promising dev-tools updates, plus M has runtime permissions May 29 01:50:17 Guys, awesome stuff: https://www.youtube.com/watch?v=32i7ot0y78U&feature=youtu.be May 29 01:50:23 yooo May 29 01:50:26 Not sure why that's unlisted May 29 01:50:27 check out the watch face May 29 01:50:28 http://d35lb3dl296zwu.cloudfront.net/uploads/photo/image/20189/Google-IO-2015-_0519.jpg May 29 01:50:38 razzledazzle: I literally just started watching that :) yeah, it's a good overview of the new pieces May 29 01:50:38 M = Milkshake May 29 01:50:47 M = Moose May 29 01:50:53 groxx: meaning you can ask for a permision durring run time. if so that is awesome! May 29 01:51:20 Mousse* May 29 01:51:22 meaning _everything_ (targeting M) will. lower-SDK targets get the install-time permission dialog, but they can still be revoked in settings. May 29 01:51:32 yes DadFoundMy May 29 01:51:40 so they're getting rid of the install-time dialog entirely. win/win. May 29 01:51:40 groxx, hope it cuts down on the boilerplate :D May 29 01:52:08 maybe with the targeting part May 29 01:52:38 otherwise you would have to have a condition to check which version and request permission accordingly, no? May 29 01:52:45 revoke-able permissions are awfully coarse, but at least they _exist_. e.g. you can turn off camera, contacts, etc May 29 01:52:56 voice recording May 29 01:53:16 the thing is that once you give an app permission, it can do it any time May 29 01:53:27 iOS-y, yeah May 29 01:53:30 i wish google would fix the awful default intent system May 29 01:53:34 makes sense though. can't show too many dialogs. May 29 01:53:36 now I believe you will be alerted when that permission is needed May 29 01:53:43 some people want them May 29 01:53:44 ha May 29 01:53:47 if you want to change how to open an uri you have to clear ALL the defaults May 29 01:55:07 yeah, clearing-all-defaults is a horrible way to do it. I can't think of a better way though, since it could be claiming _anything_, and you really don't want to show people "app X is default for http://x.y.com, http://a.b.com, http://....... content://mms-sms/etc, content://photos, etc etc etc" May 29 01:55:52 though I do wish android had a permissions system like Chrome extensions, where you can ask for permission to access http://*.whatever.com _and nothing else_. May 29 01:56:16 groxx: good point, I always complain about it but idk how i would fix it May 29 01:56:23 maybe have it be a developer option May 29 01:56:48 waitwhat? can you explain? May 29 01:56:57 or maybe even like some sort of flow chart that shows: chrome will open spreashets with sheets, or drive May 29 01:57:06 the blog isn't ready yet http://android-developers.blogspot.com/2015/05/android-design-support-library.html May 29 01:57:09 yeah. or show X if it has a description (which would probably have to be system-defined, and/or rely on the current-owning app, which can be gamed) May 29 01:57:23 Tricknology: can you explain what needs explaining? May 29 01:57:42 the uri intent problem May 29 01:58:00 clearning defaults? May 29 01:58:22 man there is only one android thing livestreamed tomorrow ? (permissions) May 29 01:58:26 Tricknology: you know how when you click a link or some buttons and you choose the deault ap to launch? May 29 01:58:34 yes deeplinking May 29 01:58:40 pft, nobody wants to hear about permissions! :p May 29 01:58:40 the only way to clear that default is byu going into settings and clearing all the deafults for a particular app May 29 01:58:50 to un-set X as the default handler-app for intent Y, you can only unset _all_ defaults for app X. I'd love a more fine-grained way to do it, but the only way I can come up with is to show the uri / content type / metadata for their intent filter. May 29 01:59:04 does the user do this? May 29 01:59:08 or rely on descriptions entered by devs (10% untrustable and 99% untranslated, of course) May 29 01:59:14 Tricknology: yes the user clears the defaults May 29 01:59:22 ok now I'm up to speed May 29 01:59:30 the worst part of it is that you dont know if a certain app will work May 29 02:00:04 it would be interesting for someone to make their own intent manager but i doubt it would be worth the time May 29 02:00:12 I'd love if that were an option, yeah May 29 02:00:53 open intent with "IntentManager" May 29 02:01:00 let that handle all the routing of intents? May 29 02:01:21 intent manager for the intent manager haha i like it May 29 02:01:37 i would assume it would require at the very least root May 29 02:01:39 + get shown everything when they use the 'chooser' intent, yeah :) May 29 02:01:50 probably even xposed or a custom rom May 29 02:01:51 so to be clear on one thing... if the twitter app 'claims' twitter.com intents, by putting the appropriate stuff on https://twitter.com - does that mean there's no way for a third-party twitter client to accept those intents? May 29 02:02:01 yes May 29 02:02:10 Leeds, that does not mean you can't handle your own May 29 02:02:13 i believe so May 29 02:02:23 Leeds: yes, though they say there's something in settings to change that. May 29 02:02:33 but if you have Twitter I would be interested in seeing what happens when that intent is fired May 29 02:02:35 it's just automatically, silently granted that they're the default. May 29 02:02:52 like if you set a filter for you own app.. does Twitter take prescidence? or are you sshown intent manager? May 29 02:03:06 now that i think of it run time permisions is going to make our lives as devs a lot harder isnt it? May 29 02:03:14 a lot more if statements no? May 29 02:03:20 probably May 29 02:03:28 or just making all of them reqired :D May 29 02:03:29 a lot of permissions are still in the default / accepted group DadFoundMy May 29 02:03:30 or permission exceptino May 29 02:03:44 eh. wrap "doThing()" with "ensurePermission(); doThing();" May 29 02:03:56 there is another permissions file though May 29 02:04:02 and i wonder if this feature targets that May 29 02:04:14 you aren't going to have to worry about android.permission.CHANGE_NETWORK_STATE or android.permission.WAKE_LOCK May 29 02:04:21 so if i have a permision that i set to be required, if the user says no will the app just be disabled? May 29 02:04:27 btw, twitter shows up as: https://www.dropbox.com/s/5fcvp87vcwotyjd/2015-05-29%2002.04.08.png?dl=0 May 29 02:04:40 it's entirely possible they haven't updated though May 29 02:04:51 permissions.xml May 29 02:05:29 groxx: wait what??? are you on the M prevfiew already? May 29 02:05:56 yeah, twitter doesn't have any linking permissions going yet: https://twitter.com/.well-known/statements.json May 29 02:06:03 DadFoundMy: ayup May 29 02:06:23 groxx: i didn't realize they actually released the preview yet. does it feel different at all from L? May 29 02:06:37 DadFoundMy: if you install it, I'd recommend against trying to root it. it broke booting for me until I did a clean install, and I still get "device not verified" at boot (though it continues) May 29 02:06:41 i still havent bothered to update my rom to 5.1 yet :D May 29 02:07:02 well, my phone is relatively clean now, so "it's maybe smoother" could just be "it's cleaner". otherwise reasonably similar. May 29 02:07:05 groxx: i have a htc one m8 so any rom i get should come rooted May 29 02:07:20 i love the look of lolipop but my battery life is so bad with it May 29 02:07:27 that may be due to my lg g watch tho May 29 02:07:37 the launcher's list-of-apps is wildly different. enormous icons + vertically scrolling + search May 29 02:07:59 groxx: that sounds pretty odd, do you like it? May 29 02:08:10 <3 vertically scrolling lists. makes infinitely more sense than paging, especially on a phablet, since you can fling + scroll the app icon _to where your thumb can reach it_ May 29 02:08:36 aviate does it a bit better though, since you can swipe from the edge to fast-scroll to that letter. May 29 02:09:25 hm i dont remember liking vertical scrolling on on the stock sense rom May 29 02:09:40 though I've recently discovered that Aviate is somewhere between "amazingly braindead" and "intentionally horrible" when it comes to app shortcuts. they should just disable support for it entirely. May 29 02:10:13 DadFoundMy: it's easy May 29 02:10:19 in the right place May 29 02:10:30 does the support lib FAB button animate out submenus ? May 29 02:10:34 i cant do it May 29 02:10:43 i swear half my posts on irc are wrong chan messages May 29 02:14:10 meh, no. the new fab looks lame May 29 02:14:28 'see we tolf you it was just a circular view' May 29 02:14:37 haha May 29 02:14:49 the one in Google Keep does look neat May 29 02:15:04 `public boolean wasThatSoHard() { return false; }` May 29 02:15:20 i really dislike the keep one. I prefer when apps keep them all the same circular shape May 29 02:15:27 boolean isThisUseful() { return wasthatSoHard(); } May 29 02:15:51 although atleast the keep one is for useful actions. there is nothing worse than when an app uses a FAB for someting stupid May 29 02:15:56 boolean wasStatementTrue() { return !wasStatementTrue(); } May 29 02:16:33 the FAB in the iosched app does look messed up though, like something is peaking out from the bottom May 29 02:16:54 'went to I/O, all i got was a FAB' May 29 02:17:17 the worst app ever with the FAB is reddit sync May 29 02:17:25 such a well designed app, awful fab implementaion May 29 02:17:31 g00s: I'd probably buy that shirt May 29 02:17:37 as long as it had a FAB in the corner May 29 02:17:48 :D May 29 02:18:04 and wasn't sold by CafePress May 29 02:18:19 i am bummed there is no fireside :( :( May 29 02:18:41 also bummed there aren't any other sessions online yet May 29 02:18:44 probably dianne said, "i dont want some dumbass asking me binders aren't working, and when they will" May 29 02:19:18 or the inevitable onslaught of "why no java 8" May 29 02:20:33 well jake was right about all of that :) May 29 02:20:41 so now what, kotlin ? :) May 29 02:21:24 no aapt yet :| May 29 02:21:26 one thing i was surprised about was xav mentioning the 'next gen gradle plugin' May 29 02:21:36 i'm like wut, it took you guys 2 years to get to 1.0 ... May 29 02:21:41 there is a next-gen plugin in the works ? May 29 02:21:46 or blarg. wrong acronym. May 29 02:21:59 I was talking someone through installing the sdk yesterday - ant+CLI, of course - and I had to say, who knows, by tomorrow Java could be on the way out and we could all be learning Go or something... May 29 02:22:25 * groxx not-secretly hopes for rust instead May 29 02:22:46 yeah rust looks more interesting, but its a systems programming language May 29 02:22:51 Dart? May 29 02:22:57 pfft May 29 02:23:03 dart seems _very_ likely eventually, because Google. May 29 02:23:06 Hi all, just woke up -- any major major news from IO that I should check out before anything else? May 29 02:23:09 i bet thats where things will go, unfortunately, dart May 29 02:23:10 any other random obscure languages that Google's playing with? May 29 02:23:11 or if not Google, someone. May 29 02:23:16 native apps are against google's DNA May 29 02:23:24 Leeds: dunno. do they have anything in lisp? May 29 02:24:09 I have a drawable folder — sw360dp-port and one called port-xhdpi for some reason, it only calls the sw360dp-port image if it’s used as a background. if I try and invoke it as the src of an imageview, it prefers port-xhdpi. this is testing on a Nexus 5 (which has a dpi of 360) May 29 02:24:16 when we see that gmail is actually running in chrome, its all over May 29 02:24:24 groxx: oh, I'm sure they have a forgotten lab somewhere deep in a building where bewhiskered engineers with double-digit employee numbers are working on the LISP to beat everything May 29 02:25:10 groxx has whiskers May 29 02:25:16 Leeds: hopefully they call it "LIPS" May 29 02:26:20 DarkstarR: interesting. seems like that should be irrelevant... May 29 02:26:32 groxx: wow i actually do really like the look of the new app drawer May 29 02:26:45 DarkstarR: are you using the activity context each time, or possibly falling through to the application context when setting the source? May 29 02:27:52 I am not sure of the context. This is all loaded inside of an activity layout file. May 29 02:28:00 should be automagic then May 29 02:28:13 not new but have you guys tried the Transitions API, it wasn't as smooth as I expected it to be May 29 02:28:24 is there a way to check which resource it’s using? May 29 02:28:35 razzledazzle: not yet, but I intend to. "smooth" as in "animation stutters", or "API sucks"? May 29 02:29:39 didn't dive in deep, can't blame the API but the transitions weren't smooth, sort of janky and flickery May 29 02:29:52 groxx - May 29 02:30:23 that ImageView is inside a LinearLayout, which is inside a ScrollView, which is inside a RelativeLayout May 29 02:31:07 DarkstarR: do you have a different layout file for sw360dp-port vs port-xhdpi maybe? May 29 02:31:16 groxx, the API is kind of complex too, for me at least May 29 02:32:21 groxx - only two layout files, one for port, one for land. here it is: http://pastebin.com/Ei5PuA1F May 29 02:32:31 DarkstarR: hm. seems like it should always be preferring sw360dp-port... hm. May 29 02:33:53 I do have a folder for layouts where I want to specify positions more precisely. layout-sw360dp-land but that xml isn’t in there May 29 02:34:08 should be fine May 29 02:34:13 I didn’t think a corresponding layout xml was necessary to use the resource May 29 02:34:39 it's not, I'm just wondering if you might be modifying one layout, and not the other. but they're both port, so probably not. May 29 02:34:47 oh yeah.. more support libraries from google May 29 02:34:55 now also in your design ;) May 29 02:35:25 DarkstarR: are you certain that's the only change between those two results? it picking the port-xhdpi at all on the N5 seems like a bug. May 29 02:35:29 is there any way in the design view or elsewhere to see what resource is being used? May 29 02:36:06 not sure. the resolution rules should be in descending order here: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources May 29 02:36:09 it’s selecting land-xhdpi or port-xhdpi on this particular screen. on other screens, it works as it should May 29 02:36:18 can you take a screenshot of your project structure, your naming is weird May 29 02:36:35 you could probably trace the inflation / what getDrawable(R.drawable.begin_here_1) executes, but that seems like it could take a long time May 29 02:37:31 groxx - I faithfully used the resolution rules there May 29 02:37:50 lol, that was funny when Xav was talking about the emu .. "improvements" ... automatically installing haxm? ugh May 29 02:38:10 all the haxm in the world can't make that emu right May 29 02:38:22 haxm definitely helped. May 29 02:38:26 it was nuts before May 29 02:38:39 hm. possibility it relates to https://code.google.com/p/android/issues/detail?id=78389 ? May 29 02:38:54 though still weird. May 29 02:40:47 firing up the emulator.. May 29 02:41:21 I’ll try rotating it to see if I can reproduce that glitch May 29 02:46:04 anyone poked at Android MNC yet? May 29 02:46:40 anybody know WTF StringFactory is, and why java.lang.String now requires that StringFactory be used? https://android.googlesource.com/platform/libcore/+/master/libart/src/main/java/java/lang/StringFactory.java https://android.googlesource.com/platform/libcore/+/master/libart/src/main/java/java/lang/String.java May 29 02:47:49 groxx this is strange, in the android emulator, when I rotate that screen to landscape, it crashes May 29 02:48:27 this happens on all screens May 29 02:48:43 sounds like there might be other problems obscuring / causing this one/ May 29 02:49:19 jonp: interesting. do you get those exceptions if you target M or something? May 29 02:49:31 i'm just _running_ on M and using...JNI. May 29 02:49:33 to java.lang.String. May 29 02:49:37 and watching it BLOW UP May 29 02:49:44 because fuck you that's why May 29 02:49:53 even better, StringFactory isn't even in android.jar May 29 02:50:00 so it's unusable from Java code w/o reflection May 29 02:50:10 public String() { throw new UnsupportedOperationException("Use StringFactory instead."); } May 29 02:50:13 lol what ? May 29 02:50:18 I KNOW, RIGHT?! May 29 02:50:29 USE A TYPE WHICH ISN"T PUBLIC. LOL. May 29 02:50:39 i'm pissed and laughing, concurrently May 29 02:50:55 well anyhow, i wouldn't waste much time with , maybe a year from now May 29 02:51:04 oh, android. May 29 02:51:14 is there a place to file these preview bugs? May 29 02:51:36 i dont think its a bug May 29 02:51:44 all the ctors have that May 29 02:51:44 and this isn't mentioned in Behavior Changes: http://developer.android.com/preview/behavior-changes.html May 29 02:51:52 right. it's clearly deliberate May 29 02:51:54 and stupid May 29 02:51:59 and undocumented, afaict May 29 02:53:07 jonp is there another String class maybe ? May 29 02:53:30 not sure how i feel about a "java.lang.StringFactory" type which isn't in the JDK May 29 02:55:10 gotta be something goin on, they can't break String s = new String() May 29 02:55:16 uh, they did. May 29 02:55:23 they really really did May 29 02:56:50 Also StringFactory is @hide May 29 02:57:01 yup! **** ENDING LOGGING AT Fri May 29 02:59:59 2015