**** BEGIN LOGGING AT Mon Nov 23 03:00:35 2015 Nov 23 03:00:47 WebView will always be inferior/slower than native code Nov 23 03:01:19 WebView has a lot of problems Nov 23 03:03:32 i know its not supported on android tv Nov 23 03:49:31 gordon_, plugin is. unnecessary, just add the dependency Nov 23 03:50:05 gordon_, like I said, u2020 uses dagger Nov 23 03:50:21 gordon_, and the annotation processor, I showed you how it's done Nov 23 04:44:09 mornin' all Nov 23 04:46:44 hey alex_PP Nov 23 04:47:03 anything interesting happing in android today? Nov 23 04:47:08 *happening Nov 23 04:47:17 alex_PP i guess the summit is Monday Nov 23 04:47:22 can't concetrate on work, monday Nov 23 04:47:25 summit? Nov 23 04:47:33 android summit Nov 23 04:47:37 linky? Nov 23 04:48:16 hm, well here is the live feed https://www.youtube.com/watch?v=YYin_N6xXxQ Nov 23 04:48:24 i'm sure some googling will turn up more Nov 23 04:48:41 hmm Nov 23 04:48:51 12 hours off, i will be very asleep by then Nov 23 04:48:59 suppose they'll post the videos afterwards Nov 23 04:49:37 wonder what'll be in 9:45 Android App Arch. Nov 23 04:49:45 that might be interesting Nov 23 04:50:16 wow, i can't believe in 2015 i can't format linkedIn job descriptions. Nov 23 04:50:23 god they suck Nov 23 04:50:49 i was hoping somebody by now would have replaced them Nov 23 04:52:02 they should at least have markdown abilities, cmon Nov 23 04:52:39 I wonder how instant run will work Nov 23 04:53:15 I imagine that will be unveiled as what's in the box Nov 23 04:56:13 wonder if it will be beta or ready to use :P Nov 23 04:56:28 notice i said "OR" Nov 23 04:58:02 Hello Nov 23 04:59:47 doesn't matter, bugs exist in all software regardless of calling it beta Nov 23 05:20:50 alex_PP there is also a day 2 Nov 23 05:21:08 "3:30pm Developing for Android: The Naughty Bits" lol Nov 23 05:21:18 wonder what this is Nov 23 05:21:23 *that is Nov 23 06:20:47 Should there be any speed difference in Google API intel images and non-API one's? Nov 23 07:28:57 It's Romain's presentation, he's done a similar one before Nov 23 07:34:22 CedricBeust does romain work with the android guys at all any more? i thought he was in robotics now or something Nov 23 07:36:30 Yeah not really any more Nov 23 07:39:56 huh. so if you want divider in NavigationView you need a group with unique Id ... but then checkable behavior gets messed up because thats local to Nov 23 07:41:33 pfn did you add any nigh/dark icons to resources? Nov 23 07:42:02 hm nm will check Nov 23 07:44:53 CedricBeust are you giving any talks at future android conferences? Nov 23 07:49:17 Not in the near future, might resume doing that next year Nov 23 08:38:36 Where is getHeaderFields from httpurlconnection implememted Nov 23 08:39:18 Because apparently httpurlconnection inherits from urlconnection which only defines a stub Nov 23 09:00:29 Hi all, I need to show a new Fragment with an animation from the bottom to half screen (height). When the user swipe up, the fragment must go 'full screen'. Any advice? Nov 23 10:32:19 hi, from gcm page: Note: There is a limit of 100 messages that can be stored without collapsing Nov 23 10:33:19 is this per senderId or per each device that the message was sent? Nov 23 10:49:27 I'm trying to figure something out. Nov 23 10:50:07 the ndk samples have apply plugin: 'com.android.module.application' Nov 23 10:50:16 but when I create a new project. Nov 23 10:50:19 apply plugin: 'com.android.application' Nov 23 10:50:47 Why are they different Nov 23 10:53:54 I just don't get why some of them have model Nov 23 10:54:07 You sure it's module, and not model? com.android.model.application is for the gradle-experimental plugin Nov 23 10:54:30 I misstyped it here. Nov 23 10:54:40 Here's a copy paste Nov 23 10:54:41 apply plugin: 'com.android.model.application' Nov 23 10:54:51 Why are they different Nov 23 10:55:53 Because it's different plugins Nov 23 10:56:36 But why? How Nov 23 10:57:23 If the NDK samples are up to date, why are they using dated plugins? Or are they the new one? Nov 23 10:57:48 Google gradle-experimental.. Should explain it Nov 23 10:57:50 I don't mean to sound frustrated or curt.. I'm really trying to suss this out. Nov 23 10:58:19 Eh? Nov 23 10:58:50 What do you mean gradle-experimental Nov 23 11:01:52 Ah there it is. Nov 23 11:03:08 hey! how do you return from an activity to the previous activity? i read on stackoverflow i'd just have to call finish, but in my case it closes the entire app Nov 23 11:05:34 d'oh i was calling finish in the main activity..nervermind Nov 23 11:12:50 Hello, is it possible somwhere to get Material icons in XML format? I saw thath example project import xml files for this 5 icons in drawables Nov 23 11:25:29 Hello, recently, many users of my app have this kind of error : java.lang.OutOfMemoryError: Failed to allocate a 276 byte allocation with 16777216 free bytes and 363MB until OOM; failed due to fragmentation (required continguous free 32768 bytes for a new buffer where largest contiguous free 20480 bytes) Nov 23 11:26:26 Any idea how to fix it ? Everything was working fine. Could it be linked with the 5.0 Android version ? Nov 23 11:27:00 I precise it happen when loading simple files, not bitmap or big stuff like that Nov 23 12:23:44 Is it possible to START Google Maps with several waypoints? I searched through StackOverflow and all responses are talking about starting Google Maps from point A to point B. I want it to display a path from A to B through points C D and E. Starting navigation for that would be simply marvelous but at least I'd like to start Google Maps and show the route. Nov 23 12:23:55 * Zharf sad Nov 23 12:24:33 my phone's screen not reacting to touch anymore... I guess 4 years is as far as it'll take me :E Nov 23 12:25:04 need to find a new phone... Nov 23 12:29:16 how do i find the reason behind ”Unable to compute hash of classes.jar”? Nov 23 12:29:32 proguard trouble.. Nov 23 13:01:54 Do you guys know any Github project that have a simple implementation of the billing API? I want to study it a little bit. Nov 23 13:03:40 i made a google play account 2 years ago and paid the fee. it still seems to be active but i havnt uploaded any apps yet. should everything still be ok? that i had my play account for so long with no apps uploaded yet Nov 23 13:21:20 is there a way to "download" a local file? I am trying to make my app save files to the download folder. The problem is that they are not visible when using the local "Downloads" App! I read, that this would be because of the fact that they weren't actually downloaded. So i tryed to make a download with the DownloadManager and pass an Uri of a local file. But this causes an illegal argument exception because DownloadManager can only handle http/h Nov 23 13:29:12 Hey, Im working with google's Camera2 API sample which uses TextureViewer for preview, I'm trying to modify that code to use SurfaceView istead.... I cant get the preview going.... Anyone familiar with tha sample code? Nov 23 14:17:40 is it considered bad practice to have a horizontal scrollview in a tabbed layout that can also horizontally scroll? Nov 23 14:22:44 is there a way to "download" a local file? I am trying to make my app save files to the download folder. The problem is that they are not visible when using the local "Downloads" App! I read, that this would be because of the fact that they weren't actually downloaded. So i tryed to make a download with the DownloadManager and pass an Uri of a local file. But this causes an illegal argument exception because DownloadManager can only handle http/h Nov 23 14:23:12 Hi Nov 23 14:24:26 I have written this code :http://pastebin.com/Gn0HtVsK , for a listview with 2 items per row. I am getting it but there is something wrong. The listview is displaying every entry 2 times. See this: http://tinypic.com/r/213f60l/9 Nov 23 14:24:41 Can anyone point out the mistake please. Nov 23 14:33:47 I just checked. On every notifyDataSetChanged, it is changing all the entries of the list to the new value added to this list. Nov 23 14:47:05 So the only problem is that on updating the listview arraylist, it is setting all the items to the new entry in the arraylist. Nov 23 14:58:53 What do you mean rudolf_ Nov 23 15:00:05 drose379, something weird is happening. Whenever I add a new entry to my arralist, all the values in the list get changed to the new entry added. Nov 23 15:01:40 That is weird, could be something with how you are recycling your views Nov 23 15:04:21 drose379, this is the log: http://pastebin.com/WkNjPZsJ Nov 23 15:04:38 I have printed the list on every update. See what is happening. Nov 23 15:05:31 On the 1st update, I add "3-8" and "=-5.0" to the list. So the first and the second element both get changed to this. Nov 23 15:05:57 Now on the 2nd update, I add "8-8" and "=0.0" and see what happened to the list Nov 23 15:06:46 drose379, is it the views? Or is it something wrong with the arrayList? Nov 23 15:07:57 All your items reference the same array (update) Nov 23 15:08:08 When you change values in that array, all items that use it are changed Nov 23 15:08:26 SimonVT, how should I add a new entry then? Nov 23 15:08:38 Without affecting the previous entries/ Nov 23 15:08:47 Don't use the same array for all entries Nov 23 15:09:31 Hello, in my logcat i have a LOT of "in isSyncFinished posting message with delay of 4sec" from MTPRx. Is it normal ? The device seems to be very slow... Nov 23 15:09:46 So can I do history.add(new String[] {"string1", "string2"}) ? , SimonVT Nov 23 15:09:59 mtR_: physical device or emulator? Nov 23 15:10:02 Yes, that creates a new array Nov 23 15:10:09 Ok...lemme try it. Nov 23 15:11:28 huh Nov 23 15:11:35 liuwenhao: physical device Nov 23 15:11:53 Great, it works SimonVT :) Thanks a lot Nov 23 15:12:18 it seems very slow since i am on 5.0 Android Nov 23 15:12:56 Btw how do I create a listView with empty initial data source? Nov 23 15:14:02 give it an empty adapter Nov 23 15:22:42 pfn, thanks..I used setEmptyView() Nov 23 15:23:23 Oh, you mean you want to make it look different when it's empty Nov 23 15:26:49 pfn, not in any different way. I just wanted it not to throw any error if the data array is empty. Nov 23 15:29:46 setEmptyView doesn't prevent any errors... Nov 23 15:31:09 pfn, does it throw error if my data source is empty? Nov 23 15:31:45 It is not...I just checked lol Nov 23 15:31:58 So what is the use of empty adapter then? Nov 23 15:34:21 Is it normal to have a lot of message from Android : "in isSyncFinished posting message with delay of 4sec" from MTPRx tag Nov 23 15:38:38 So im trying to check if something in a JSONObject is null, but even if I do if ( json.getString("x") != null ) , its throwing a JSONException Nov 23 15:38:43 Any way around that? Nov 23 15:40:48 Ah, isNull() Nov 23 15:41:52 rudolf_, you're the one that asked to set an empty adapter Nov 23 15:52:49 pfn, yes...i thought there will be some error if the data is empty. Nov 23 15:53:08 But it is not giving any error for empty data. Nov 23 15:53:18 So why do we use empty adapter? Nov 23 15:53:39 Its not giving you an error because getCount is returning 0 Nov 23 15:53:51 Why do you think it should give an error? Nov 23 15:54:28 rudolf_, no one does Nov 23 15:55:01 Ah...i just dint know about empty adapter that's why I asked. Nov 23 15:55:09 Why are you using an empty list? Nov 23 15:55:09 'sup peeps? Nov 23 15:57:11 drose379, initially I have an arraylist that is empty. So I thought I would need something to handle an empty arraylist. Nov 23 15:57:25 you thought wrong Nov 23 15:57:32 Basically ^ Nov 23 15:57:35 Yes :) I understand now Nov 23 15:57:48 rudolf_, Why are you starting empty though? Nov 23 15:58:03 anyone want to give me a hand on picking out headset? Nov 23 15:58:20 horny-sama: for your phone or your computer? Nov 23 15:58:28 Ankhwatcher: computer Nov 23 15:58:29 Should I grab http://www.directcanada.com/products/?sku=16950PB3319 or http://www.memoryexpress.com/Products/MX45413 Nov 23 15:58:38 basically my price range is 40 ish cad Nov 23 15:58:39 drose379, because I am storing calculation history in a list. Initially it will be empty. Nov 23 15:58:44 Got it Nov 23 15:58:52 Making a calculator application? Nov 23 15:59:07 there's nothing wrong with having an empty list Nov 23 15:59:10 it's absolutely normal Nov 23 15:59:21 for a boy your age Nov 23 15:59:51 Haha Nov 23 16:00:01 drose379, yep...my first one :) Nov 23 16:00:04 No wasent saying there was anything wrong, just wondering what hes working on Nov 23 16:00:08 Cool rudolf_ good luck Nov 23 16:00:53 Anyone have experience with character encoding? Apostrophes coming from the API I am using are coming out funky Nov 23 16:00:56 Thanks...first version is done drose379 Nov 23 16:00:58 Check this out: Nov 23 16:00:59 don\xc3\xa2\xc2\x80\xc2\x99t call there Nov 23 16:01:14 rudolf_, msg me and I'll give you my email and I'll try the APK Nov 23 16:01:22 horny-sama: I suck at choosing those things, you don't want my help Nov 23 16:01:43 ok Nov 23 16:02:29 Anyone see what I pasted? The ' in the text I am getting is coming out like this Nov 23 16:02:44 Supposed to be: don't Nov 23 16:02:46 Is: don\xc3\xa2\xc2\x80\xc2\x99t Nov 23 16:03:13 I see a ´ Nov 23 16:03:15 the one I use at the moment was a gift from a friend, it has a constant background hum from my gaming rig and yet it's still the best gaming headset I've used with that computer Nov 23 16:03:55 danijoo_, is that what all those mean? Nov 23 16:05:16 you must decode and encode proberly Nov 23 16:05:31 Well that is coming from an API, so I would have to decode right? Nov 23 16:05:42 pfn http://android-developers.blogspot.com/2015/11/android-studio-20-preview.html?linkId=18972843 Nov 23 16:06:00 g00s, and yes, dark/light icons for every image Nov 23 16:06:31 g00s, yeah, that's what I thought Nov 23 16:06:51 totally didn't suspect AS 2.0 Nov 23 16:07:04 g00s, well, version numbers are overrated Nov 23 16:07:15 I did expect instant run, though, based on what you linked the other day Nov 23 16:07:25 instant run is enough of a feature for them to call AS 2.0, imo Nov 23 16:08:52 Hey guys, could you shine light uppon me: how do you go about loading images in recycler view? In my case, I have recyclerview which contains cardviews and cardview basically has textview and imageview. Nov 23 16:09:37 I use Picasso Nov 23 16:10:43 drose379, so basically, you access images using Picasso in RecyclerViewAdapter onBindViewHolder? Nov 23 16:11:10 pfn i guess google did this all in-house? don't recall they buying any startups that offered that feature Nov 23 16:11:26 g00s, probably Nov 23 16:11:33 g00s, bazel got them halfway there already Nov 23 16:11:40 and is this just resources or are they shipping class files too Nov 23 16:11:49 do you know how this apps sets Android wireless radio into high performance mode ? https://play.google.com/store/apps/details?id=com.shiof.wifienhance Nov 23 16:11:56 g00s, no idea, watch the summit to see Nov 23 16:12:20 i don't know, but seems a prank app Nov 23 16:12:39 ech0s7, decompile and read source :p Nov 23 16:13:06 danijoo_: for sure i will do, but as last chance Nov 23 16:16:12 you expect us to decompile and read the source for you? Nov 23 16:16:45 ech0s7, by being a f'in scam, I'd say Nov 23 16:16:46 heh Nov 23 16:16:56 pfn: no, but i'm asking if you know some API to do that Nov 23 16:17:07 no. there is no api to do that. Nov 23 16:17:27 It's typical signal booster scamware Nov 23 16:18:24 I love the idea people have that somehow it would be in a manufacturers best interest to decrease the performance of the device :P Nov 23 16:19:01 and that there's some magical way to make the radio more powerful. it's the same mentality that thinks a gas additive will get them another 10mpg :P Nov 23 16:19:08 dragorn, well, there are battery concerns and wifi Nov 23 16:19:36 pfn, yup, and everything turns on maximum power saving, which does f-all with consumer APs Nov 23 16:19:37 dragorn, I remember there was defragmenter for battery which "increases" your battery lifespan. Nov 23 16:19:53 And it was in Google play store Nov 23 16:20:03 pfn, since most home APs don't implement power save at all, and have it turned off by default even if they do :P Nov 23 16:20:30 dragorn, yeah, but AP power saving is independent of client power saving, is it not Nov 23 16:20:59 pfn, not really. there's a whole coordination system where the AP will hold packets for delivery to a PS client Nov 23 16:21:15 hmm, is that so Nov 23 16:21:19 I thought they just got dropped' Nov 23 16:21:24 pfn, but the client has to notify and they have to syncronize vis the bss timestamp, because the client doesn't say "i'm ready now", it just says, "I'll listen at this millisecond" Nov 23 16:21:42 and the AP spits out packets when it thinks it's time, and maybe the client listened, maybe it didn't Nov 23 16:21:48 powersave on wifi is pretty janky Nov 23 16:22:33 you can adjust your tx power on the client, but it's kind of a losing game - if you drop your tx power, you decrease your signal fidelity, which decreases your link speed, which makes you spend more time with the radio on to send a packet Nov 23 16:22:48 and there's no API to do that, anyhow Nov 23 16:22:58 dragorn: adjust your tx power ?? Nov 23 16:23:01 how do you do that ? Nov 23 16:23:08 ech0s7, you don't. Nov 23 16:23:21 dragorn if you increase your tx power too much can't you also degrade performance, as the amplifier introduces more distortion ? Nov 23 16:23:30 certainly not without root, and depending on the drivers and firmware, which are typically hugely stripped down in mobile, you may not be able to period Nov 23 16:23:37 g00s, yes, if you amp beyond spec Nov 23 16:23:37 g00s, you run into signal clipping issues Nov 23 16:23:41 g00s, but not distortion Nov 23 16:23:46 pfn, you get both Nov 23 16:23:51 pfn, there's a lot of shit amps Nov 23 16:24:06 all hail the 741 ! Nov 23 16:24:07 well, clipping is a form of distortion Nov 23 16:24:10 more so in APs than in clients, at leats, before you get into the wacky high power clients Nov 23 16:24:18 pfn just added nonlinearities Nov 23 16:24:48 ok, got my qicr app icon fixed to be a vector now, yay Nov 23 16:24:50 you also tend to get absurd spread from the DSSS stuff on the lower encodings, i've seen older APs over-amped just crap across the entire 2.4 spectrum Nov 23 16:25:04 the ofdm stuff is a little sharper on the edges but you still get all sorts of terrible stuff when you over-amp Nov 23 16:25:39 there's also 802.11d specs, which encode the region code and the power transmit level maps in the beacons, so the AP tells you your max tx levels Nov 23 16:25:59 basically so a US or EU client obeys the right regulatory limits in another country, by consensus of the APs it's near Nov 23 16:26:03 weird, I'm getting a strange crash on gingerbread now Nov 23 16:26:11 I wonder if it's time to retire gb support for qicr Nov 23 16:26:23 that's encoded down into the mac80211/nl80211 layer usually tho, if not in the firmware itself Nov 23 16:28:17 pfn, btw, the stuff I was talking about was PSM, there's also UAPS-D which tries to do a client poll "I'm awake, send me pending data now", and they sort of extended that into WMM and PSMP in 11n, so it's not QUITE as idiotic as it used to be Nov 23 16:28:51 pfn, but all that should impact connection latency rather than throughput, since you have to wait for the powersave wakeup to initiate, but once you're going, the client shouldn't be going to sleep Nov 23 16:29:45 pfn, I still haven't seen uaps-d implemented in home gear, tho I'd bet that the google AP does it. unfortunately the google ap was also shit in a lot of other regards so mine is sitting in a box somewhere. Nov 23 16:29:50 http://android-developers.blogspot.fr/2015/11/android-studio-20-preview.html?linkId=18972843 fear Nov 23 16:30:10 pfn, everyone doing 11n does wmm which does some degree of power save tho Nov 23 16:30:23 summit starts in 30 minutes :) Nov 23 16:31:07 well if you don't clip, you will increase the noise amplitude Nov 23 16:31:21 if you clip, it's indeed a form of distortion Nov 23 16:31:37 g00s, anyhow, you should be able to range anywhere up to your max. the bad times come when everyone decided to go over the max via firmware hacks. Nov 23 16:32:35 adq, the WRTs everyone loved to hack displayed a number of horrible effects when you overamped them. good times. All sorts of distortion, plus center clipping, plus horrible bleedover. Nov 23 16:32:44 adq, fortunately they also couldn't take the heat and tended to burn themselves up :P Nov 23 16:32:50 :D Nov 23 16:33:06 talking about signal, i improved a lot my visualizer: https://vid.me/zPfU Nov 23 16:33:18 fft ftw Nov 23 16:33:20 i've got some nice spectrum plots of horrible amped WRTs somewhere Nov 23 16:33:40 i don't cheat and zero pad the signal yet Nov 23 16:33:43 adq, nice Nov 23 16:34:07 dragorn pfn did you guys see this http://digg.com/video/brightest-flashlight-led-video Nov 23 16:34:08 but i would love even a bigger fft window side, but when you zero pad you need to upsample (because my signal is not periodic) Nov 23 16:34:19 and this is extremely consuming + you have to take care of aliasing, etc Nov 23 16:34:26 s/side/size/ Nov 23 16:34:33 adq, related, you might dig this - gr-fosfor... it's for SDR, but it's a FFT and waterfall done in opencl... https://www.youtube.com/watch?v=mjD-l3GAghU Nov 23 16:34:41 wooo thx, looking at it Nov 23 16:34:51 cause i haven't port the fft stuff on renderscript, but i might in the future (for fun) Nov 23 16:34:51 adq, I can crank 40msamps @ 16bit on an intel gpu Nov 23 16:35:09 it's actually fast enough you can see the 10hz beacons on wifi Nov 23 16:35:13 fft is done in java (with the fftpack port from fortran, pretty efficient) Nov 23 16:35:23 damn this is a nice vizualizer you shown me Nov 23 16:35:56 adq, it's input is IQ sampling from a SDR, so interleaved 16bit samples Nov 23 16:36:30 he could plot it in 3D with so many windows at same time :D Nov 23 16:37:39 lol did not know beacon have a particular freq, but it makes sense since they are always the same Nov 23 16:37:53 beacons are only containing the SSID name right? Nov 23 16:37:54 adq, standard spec is 10 beacons a second Nov 23 16:38:07 adq, they transmit at the same center frequency as the AP, but it's a 10hz rate Nov 23 16:38:13 yup Nov 23 16:38:24 if they are periodic, you might have a freq indeed Nov 23 16:38:41 and the data inside you make the same amplitude Nov 23 16:39:04 adq, beacons are pretty complex. ssid, encryption, power save, vendor extensions, country code extensions Nov 23 16:39:07 modulo the amplitude signal which varies of course Nov 23 16:39:27 if your looking at a mostly idle network you can see the beacon strobe pretty clearly Nov 23 16:39:27 oh ok but that data payload does not vary i imagined Nov 23 16:39:51 maybe the BSSID sequence num or other stuff vary though Nov 23 16:40:02 long time i haven't looked at wifi packets Nov 23 16:46:30 1000W? lol Nov 23 16:48:43 g00s, you there? Nov 23 16:48:53 drose379 yeah Nov 23 16:49:00 Whats up man Nov 23 16:49:14 I think we have talked a few times about the pet adoption app I am working on, no? Nov 23 16:49:40 drose379 waiting for dev summit in 10 minutes Nov 23 16:49:58 Oh ok I suppose you're busy then Nov 23 16:50:01 yeah, cool project Nov 23 16:50:07 I got a question for you Nov 23 16:50:30 ok, quick Nov 23 16:50:32 Theres already a PetFinder app, and it does basically the same thing, so im trying to develop some areas where my app has an edge over the existing one Nov 23 16:50:44 eh , dont' bother Nov 23 16:50:47 Im thinking of keeping track of how many views each pet has had Nov 23 16:50:48 http://ezscreens.appspot.com/view/58f1/gb+crash Nov 23 16:50:52 if there is already one, and it hits the official api Nov 23 16:50:58 meh, hate this crash, can't tell wtf is the view with the problem at all Nov 23 16:50:58 And also keeping track of how many favorites Nov 23 16:51:40 Would that make sense g00s Nov 23 16:51:56 drose379 can't ask me, have to ask your users Nov 23 16:52:00 i'm not a user :) Nov 23 16:52:09 No users yet man Nov 23 16:52:22 dont expect 'build it and they will come' Nov 23 16:52:29 But what were you saying before, you were saying "if there is already one, and it hits the official api" Nov 23 16:52:29 ... Nov 23 16:52:29 thats for the movies Nov 23 16:52:40 No I have a marketing strategy Nov 23 16:53:46 nah, jus tdon't build niche apps Nov 23 16:53:48 and they will come Nov 23 16:54:03 Eh, this isnt too niche Nov 23 16:54:19 * danijoo_ built a niche app - they came Nov 23 16:54:29 What is it danijoo_ Nov 23 16:54:45 drose379, I dont advertise here :p Nov 23 16:55:14 Is it possible to START Google Maps with several waypoints? I searched through StackOverflow and all responses are talking about starting Google Maps from point A to point B. I want it to display a path from A to B through points C D and E. Starting navigation for that would be simply marvelous but at least I'd like to start Google Maps and show the route. Nov 23 16:55:22 Really danijoo_ ok Nov 23 16:55:35 Where do you advertise then Nov 23 16:55:48 i dont advertise Nov 23 16:56:05 How can I find your app on the GPS Nov 23 16:56:08 i spent 50$ for advertising in 2 years. It got me 2 installs :P Nov 23 16:56:35 lol Nov 23 16:56:37 (on reddit, targeted to a single subreddit btw) Nov 23 16:56:49 i think its about $5 per head now danijoo_ Nov 23 16:56:52 $4 Nov 23 16:56:55 I dont really think my project is niche Nov 23 16:56:58 Do you guys? Nov 23 16:58:03 drose379 going by the prevailing power laws of usage pretty much everything is niche after Fb and twitter :P Nov 23 16:58:25 I mean, nearly 8 million dogs and cats go to shelters every year, if this app can help get 10 thousand more adopted then before, its a success Nov 23 16:58:26 but of there is a free official version i don't see what you plan on gaining from another app Nov 23 16:58:51 g00s, the existing free official version looks like crap to me Nov 23 16:58:57 g00s, you forgot whatsapp :p Nov 23 16:58:57 And I want to add some features Nov 23 16:59:01 the app is just the tip of the iceberg for the petfinder 'service' Nov 23 16:59:12 yeah fuck that drose379 Nov 23 16:59:22 unless you are doing this just for fun Nov 23 16:59:25 dragorn, https://vid.me/zPfU (sorry couldn't resist) Nov 23 16:59:29 erff wrong link Nov 23 16:59:34 http://i.imgur.com/QGsE3bJ.jpg Nov 23 16:59:44 Doing it to get something on the play store Nov 23 16:59:51 And cause I think its a good app Nov 23 16:59:53 drose379, you cant beat an app that already has its user base unless you have _lots of_ better features Nov 23 17:00:00 Heres the existing https://play.google.com/store/apps/details?id=com.discovery.petfinder Nov 23 17:00:03 because people dont change if hey have one Nov 23 17:00:06 drose379 and make sure if you go ahead you have written perimission to use their stuff Nov 23 17:00:13 so when google comes around, you have a story Nov 23 17:00:33 imho its not worth it Nov 23 17:01:02 definitly worth to finish it just of the exp. if its your first app though Nov 23 17:01:23 Ive worked on others but never finished, so Im definitely going to finish this one Nov 23 17:01:25 its almost done Nov 23 17:01:33 danijoo_ unless it gets the account in hot water Nov 23 17:01:42 Theres one big feature im adding that I think people will really like Nov 23 17:01:53 If anyone wants to hear it Nov 23 17:01:56 g00s, true Nov 23 17:02:34 So in the existing version, you can search by breed, age, etc. Im adding a feature so you can search by traits, incase you dont know exactly what breed you want Nov 23 17:02:58 So, "House Trained", "Good with Cats", "Good with Small children", "Good with other dogs" Nov 23 17:03:09 Things like that Nov 23 17:03:40 from the comfort of their home, most people want all the good traits. its not until they visit the shelter when impulse kicks in from cute overload ;) Nov 23 17:04:00 drose379 don't make an app thats a missing feature from another app ;) Nov 23 17:04:31 Not just _A_, theres a few Im adding Nov 23 17:05:17 drose379 sorry to be so negative, this is 2015 not 2010 ;) Nov 23 17:05:40 No problem, you are trying to help, but what do you mean by that Nov 23 17:08:47 Plus the app has some dismal reviews Nov 23 17:09:07 this is so weird... Nov 23 17:09:34 What is? Nov 23 17:10:54 after years, they add cts ^^ Nov 23 17:11:07 cts? Nov 23 17:11:18 something's giving me the same object back even though I expect it to give a different object Nov 23 17:11:18 summit Nov 23 17:11:45 but only occurs on gingerbread Nov 23 17:11:52 g00s, leaving me hanging about what you meant by the year thing Nov 23 17:12:01 minSdkVersion=16 :> Nov 23 17:12:07 drose379 watching the summit Nov 23 17:12:12 Got it Nov 23 17:12:41 https://gist.github.com/pfn/409d2ca8ccc47c71432d Nov 23 17:12:54 https://gist.github.com/pfn/409d2ca8ccc47c71432d#file-createview-scala-L10-L13 Nov 23 17:13:00 * pfn shrugs Nov 23 17:13:39 on gingerbread, for some reason, layout.perform() returns the same view object Nov 23 17:13:43 which is insanely weird Nov 23 17:14:16 19:13:45 IllegalArgumentException: Argument for @NotNull parameter 'aFileName' of com/intellij/openapi/util/io/FileUtil.toSystemIndependentName must not be null On AS 2.0 Nov 23 17:16:28 Hey. Has anyone worked with p2p Wifi Direct? I was wondering if it's possible to get an approximation of how near or far another device is from yours Nov 23 17:16:45 It doesn't have to come down to the centimeter, but a rough idea of whether the device is close or on the edge of your wifi range Nov 23 17:18:45 next generation emulator :D Nov 23 17:19:28 adb push speed - thats interessting Nov 23 17:19:30 faster adb push speeds ! \o/ Nov 23 17:19:47 How can you create a bottom bar like on instagram? Nov 23 17:19:47 I've got some ideas for an app that relies on finding physically nearby users with the same app installed, but I'm not sure if it's technically feasible Nov 23 17:19:47 or rather, where to start Nov 23 17:20:30 wow, that looks great Nov 23 17:20:43 ThePendulum: how nearby? Nov 23 17:20:44 ¨we took all the features of genymotion and added them to the stock emulator¨ :D Nov 23 17:21:03 wish/hope it has BT though Nov 23 17:22:12 orbyt_: thinking a few meters, unfortunately outside NFC's scope. Wifi Direct might be just the right range, but I think it might be just a little too wide, hence I was wondering if it's possible to know at what kind of range detected devices are Nov 23 17:22:34 "spent countless hours debugging" Nov 23 17:22:36 20cm would get a little awkward, you'd have to butt bump others to get a match Nov 23 17:24:09 bluetooth is another option, but it sounds like it'll be way too slow Nov 23 17:24:38 ThePendulum: have you looked at the Nearby api? Im not sure how complete it is but id look into that. Other than that, you could just store gps locations and run queries of the db to find nearby users Nov 23 17:25:21 hmm, GPS might work although I wasn't looking to require accurate locations for the app Nov 23 17:25:59 Nearby sounds interesting, although I think it requires other devices to be connected to the same network? Nov 23 17:26:13 thus if there isn't a 3rd party hotspot both are connected though, they won't be able to find eachother Nov 23 17:26:49 lifecode Nov 23 17:26:50 from what ive read thats only the "nearby connections" portion of the api that requires them to be on the same network. The rest will work with any internet connection Nov 23 17:27:11 pfn, (instant run == death of protify)? Nov 23 17:27:21 adq, other build system ;) Nov 23 17:27:25 Oh, yeah, looking into it now Nov 23 17:27:35 same, downloading the canary preview in // Nov 23 17:28:21 orbyt_: thanks for the tip, it does look interesting Nov 23 17:28:35 as long as a cell connection to the Internet is enough for it to work Nov 23 17:28:59 which seems to be the case Nov 23 17:29:29 Hello guys, I'm having some problem that the google play store is detecting the AdMob SDK in my apk but I dont have it installed Nov 23 17:31:24 whats wrong with him :D Nov 23 17:31:38 Imagine if google could actually deliver on their promise of a less sucky emulator Nov 23 17:31:43 lol, profify will be ok for a while :D Nov 23 17:33:05 this looks impressing Nov 23 17:33:54 isn’t this hot reloading, what JRebel was supposed to do? Nov 23 17:35:50 iirc jrebel required you to alter app code Nov 23 17:38:05 Dave Burke's accent always confuses me :) Nov 23 17:38:27 Leeds what time is it over there ? Nov 23 17:38:34 g00s: 1:40am Nov 23 17:38:37 lol FF crashed right in the middle of the live stream Nov 23 17:38:46 damn firefox Nov 23 17:39:33 that's why you should be using Edge Nov 23 17:39:48 lol, safari works best on mac actually Nov 23 17:39:55 turns out apple knows how to write mac software Nov 23 17:40:23 i was just trying out FF, every couple of months to see what progress they made with e10s, etc Nov 23 17:40:32 not encouraging; they just split FF into 2 processes Nov 23 17:40:47 so UI in one, plugins the other ... UI still janks all over Nov 23 17:41:37 How do I download the latest source code without using google's funny script? Nov 23 17:41:42 I just want to use raw git only Nov 23 17:41:52 Exaeta: the latest source code to the app you're developing? Nov 23 17:41:55 repo, haha Nov 23 17:42:13 their script is just using git commands Nov 23 17:42:17 why don’t you want to use it? Nov 23 17:42:58 Because I want to work with git which I already know how to use Nov 23 17:43:32 adq, depends on how good instant-run is Nov 23 17:43:36 adq, but if it's based in gradle, it won't be Nov 23 17:43:57 Instant run works on any device? Or just emulator Nov 23 17:44:10 have you tried to use repo? Nov 23 17:44:23 liuwenhao: as it was announced, approximately any device, any OS version since ICS Nov 23 17:44:24 repo is git Nov 23 17:44:27 yigit has a funny accent haha Nov 23 17:44:40 why would it be emulator only Nov 23 17:45:09 yrah Nov 23 17:53:40 adq, in any case, no, I'm sure protify still remains better than instant run in many aspects Nov 23 17:54:57 finally a statement on overusing fragments : Nov 23 17:54:59 :) Nov 23 17:55:08 it’s a political answer :p Nov 23 17:55:25 Hello guys, I'm having some problem that the google play store is detecting the AdMob SDK in my apk but I dont have it installed Nov 23 17:55:54 there’s been a couple answers to this on the android dev reddit and on the commonsware blog Nov 23 17:56:11 https://commonsware.com/blog/2015/11/19/why-play-store-thinks-app-has-ads-when-does-not.html Nov 23 17:56:13 there Nov 23 17:56:15 sudo_aptGet: http://i.imgur.com/R1vKTaT.png did you turn it off here Nov 23 17:56:18 it’s a play services thing Nov 23 17:56:38 Ah Nov 23 17:57:44 liuwenhao: and s73v3r I'll read it now. But it is not that checkbox because I'm using cordova, I dont even have the IDE installed Nov 23 17:58:03 you should have mentioned you were using Cordova from the start Nov 23 17:58:28 you’d be better off asking their community, as not many of us do Cordova Nov 23 17:59:13 Tanis.7x reports that play-services-analytics depends upon play-services-ads, though that seems to be limited to version 8.1.0. Others may crop up in the future. Nov 23 17:59:37 Thats the thing, I have this dependency on my gradle build file Nov 23 18:00:06 the play-service-analystics Nov 23 18:01:51 compile "com.google.android.gms:play-services-analytics:+" Nov 23 18:02:16 But they say it is something about the version 8.1.0, how can I change the version that I use? Nov 23 18:03:33 instead of the +, put an explicit version number Nov 23 18:13:00 sudo_aptGet, you should never use '+' as version. There will be a day when this shoots you in the back Nov 23 18:15:13 danijoo_: should i change for the version that I want and it will update, or do I need to change somewhere else? Nov 23 18:15:15 hi, so tapping 'build number' on my nexus7 (2013) doesn't enable developer mode Nov 23 18:15:18 have you ever seen this? Nov 23 18:15:24 sudo_aptGet, yes. Nov 23 18:15:56 thebishop: how many times did you tap it? Nov 23 18:16:23 Leeds, like 40 Nov 23 18:16:38 Leeds, it seems only the original user account on lollipop can enable it Nov 23 18:16:56 Leeds, i switched to the other account and it worked Nov 23 18:17:11 thebishop: problem solved, glad to help :) Nov 23 18:17:21 thebishop, it would be a security problem is every account could enable debug Nov 23 18:18:12 danijoo_, makes sense, just never encountered that before Nov 23 18:25:48 Does this confuse people: https://vid.me/0kBY Nov 23 18:27:02 drose379, its to much imo Nov 23 18:27:22 You think the switches should go in another activity? Nov 23 18:29:28 i wouldnt bother reading through activities only for sorting (as a user) Nov 23 18:29:42 So what are you suggesting? Nov 23 18:29:56 Maybe hide the switches under a “More Options” collapse Nov 23 18:30:09 I think they are important enough to be showing though Nov 23 18:30:15 s73v3r, thats a good idea Nov 23 18:30:27 if they were, they wouldn’t be grayed out Nov 23 18:30:43 They aernt grayed out Nov 23 18:30:50 they look grayed out to me Nov 23 18:30:59 Oh, gotta change the text color to black Nov 23 18:31:02 they’re definitely using a lighter color for text Nov 23 18:31:17 Right im gonna change it to black now Nov 23 18:31:23 k Nov 23 18:31:43 its still way too much for a simple task like sorting/filtering a list Nov 23 18:32:07 To many options? Nov 23 18:32:10 users want it simple. Like a dropdown menu with sort alphabetically/by age etc Nov 23 18:32:42 I thought switches were simple enough Nov 23 18:32:55 This isnt just sorting, it refines their results Nov 23 18:33:09 it’s not that switches aren’t simple, it’s that there’s a lot of stuff Nov 23 18:33:24 Hmm Nov 23 18:33:38 and it seems to me like the switches are optional, whereas the checkboxes are required Nov 23 18:34:16 Its all optional, but I thought CheckBoxes give the optional feel, while Radio may give required Nov 23 18:34:47 yeah, it’s probably all optional, but I feel like the top things are the more important options Nov 23 18:34:48 drose379, you still have to read them all to see if you need them Nov 23 18:34:57 sometime too many options/features are just ... to many Nov 23 18:35:40 Im just looking at the reviews for the app I am competing with and they are asking for these options Nov 23 18:35:56 So they need to be there, just trying to figure out the best way to display them Nov 23 18:37:18 Maybe next brings you to an activity with just the switches Nov 23 18:37:21 Then after that, it searches Nov 23 18:38:02 Or maybe tabs, and the first has a "More" button, and when thats clicked it just scrolls to the next tab Nov 23 18:38:21 or hide the bottom and expand it when more is clicked Nov 23 18:38:29 thats not a bad idea imo Nov 23 18:39:25 Ok let me try that Nov 23 18:39:54 Thanks for the help guys Nov 23 18:45:58 danijoo_, s73v3r better? https://vid.me/mIyc Nov 23 18:58:13 much better. I don’t know how much I like using a standard button for the trigger, though Nov 23 19:20:35 aanyone have a good video links on setting up maco s screen spaces (particularly when using multipole moniters)? Nov 23 19:28:40 lasserix you can try #macosx Nov 23 19:31:09 mouhaha AS 2.0p -> 8:26:09 PM Error Report: Submitted Nov 23 19:31:37 it also failed to load flavor & variants, and is failing on [flavor][variant]AndroidTestResources despite there is no unit tests in this project Nov 23 19:31:39 :thumb-up: Nov 23 19:31:49 lol i didn't fall for it ! Nov 23 19:31:51 oh, and it freezed for a minute or so Nov 23 19:31:58 waited for you guys to test :D Nov 23 19:32:01 1star uninstall Nov 23 19:32:53 8:32:53 PM IllegalArgumentException: Argument for @NotNull parameter 'aFileName' of com/intellij/openapi/util/io/FileUtil.toSystemIndependentName must not be null Nov 23 19:32:58 omg lol Nov 23 19:33:41 guys, calm down, it's a preview. of course you can expect bugs. no need to freak out :) Nov 23 19:34:01 well, it's not usable atm, i would not call that a bug :p Nov 23 19:34:03 * thug life * Nov 23 19:34:13 Dunno, works here Nov 23 19:34:30 and i'm use to having canary on the side, first time it fails so much Nov 23 19:34:40 Instan Run just does nothing, but that might be my project being rather close to the dex limit. as stated on the tools page Nov 23 19:35:10 dont think it handles multidex yet Nov 23 19:35:21 i'm far from worrying about that :> Nov 23 19:35:35 I proguard it down under the limit ;D Nov 23 19:35:36 i see they added lldb in the sdk tools oO Nov 23 19:35:50 adq what is that ? Nov 23 19:35:54 llvm debugger Nov 23 19:36:04 probably for the GL debugger? Nov 23 19:36:18 or RS, or NDK stuff Nov 23 19:38:59 lol i didn't fall for it ! Nov 23 19:39:00 :D Nov 23 19:39:15 huh, i just tried the official twitter client, can't believe how poor this thing is ... Nov 23 19:39:22 dozens of engineers ehhhh Nov 23 19:39:52 Didn't they fire most of their engineers? Nov 23 19:40:16 i think they hire few too, like the one who developer falcon twitter client Nov 23 19:40:23 developed* Nov 23 19:41:04 in 25 days my genymotion license expires. with emulator 2.0 i wonder if i should renew it.. Nov 23 19:41:27 was bummed they didn't say anything about BT in the new emu Nov 23 19:41:28 damn it is stuck :x i tried on another project too, i wanted to test their new features Nov 23 19:41:46 danijoo_, same Nov 23 19:42:37 their new emulator seems very similar to the UI of gm lol, got more or less same features too now Nov 23 19:42:51 (i also use android visual studio emulator which works well by the way) Nov 23 19:43:24 is the new emulator also available already? Nov 23 19:43:36 it should be for instant run, no? Nov 23 19:43:53 no idea. im scared to update Nov 23 19:43:56 i downloaded all the images today so idk if they are new Nov 23 19:45:11 https://code.google.com/p/android/issues/list?can=2&q="2.0+preview" only 3 atm lol Nov 23 19:45:31 adq, i forsee an exponential increase :P Nov 23 19:45:35 :x Nov 23 19:45:44 like download curves Nov 23 19:45:48 the new emulator will be available soon (tm) Nov 23 19:45:55 :( Nov 23 19:46:00 hopefully in the next month Nov 23 19:46:43 I guess this will hurt genymotion a lot Nov 23 19:47:06 i think so Nov 23 19:47:32 can't use the VS emu, so this is a welcome improvement Nov 23 19:54:33 So did they reveal what was in the box this morning? Nov 23 19:55:38 ok it works with a "sample project" lol Nov 23 19:55:51 guess no love for my custom gradle root.ext & stuff Nov 23 19:57:22 i just tried instant and it does not work for me too Nov 23 19:57:39 the application turns black, and shows the old screen again (without the change) Nov 23 19:57:47 and then it does a normal build in AS, lol Nov 23 19:58:25 :) Nov 23 19:58:27 I can confirm its blazing fast though Nov 23 19:58:42 way faster than building with 1.5 Nov 23 19:58:47 well i cannot, i took a very light sample: Total time: 33.694 secs Nov 23 19:59:08 despite i have a decent cpu (i7 5930K) Nov 23 19:59:15 my project is above dex limit and requires to compile kotlin code + java code Nov 23 19:59:53 lol, it fails at clean now Nov 23 20:00:07 Unable to delete file: blablaba \build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.1\jars\classes.jar Nov 23 20:01:18 i wonder if the new emus are still based on qemu Nov 23 20:03:34 lol permission of file is rx only Nov 23 20:03:51 how do they mess that up inside build is a mystery Nov 23 20:03:58 I am dynamically updating my strings.xml in gradle, I guess it won't support that either :D Nov 23 20:04:46 uhh no, it's nto even the perm, it's the java vm which is locking the file *.* Nov 23 20:05:10 oh I hate when this happens Nov 23 20:05:18 it never happened to me Nov 23 20:05:24 litterally _never_ Nov 23 20:05:27 also if you want to delete Build/ manually but gradle still sits in there. Nov 23 20:05:41 killall -9 * Nov 23 20:05:48 will retest in one week Nov 23 20:06:11 hm you are right Nov 23 20:06:19 the super fast builds are only for xml changes Nov 23 20:06:30 code change still takes forever (at least with proguard enabled) Nov 23 20:06:44 yeah updating resource id, index & references should not take long Nov 23 20:06:50 i remember faapt in the past :)) Nov 23 20:07:02 which got burried along with the fall of eclipse Nov 23 20:07:11 (faapt for fast aapt) Nov 23 20:07:11 but again this might be kotlin +proguard for me Nov 23 20:07:42 they did not announce anything related to ndk :( iirc Nov 23 20:07:55 http://prntscr.com/964o7j Nov 23 20:08:16 ahah (you summoned a lol) Nov 23 20:08:49 ^^ Nov 23 20:09:16 wait.. 54 k methods? Nov 23 20:09:24 when did this happen? Nov 23 20:10:03 I ditched out play services doh! maybe im below dex limit now.. Nov 23 20:10:53 thats nice Nov 23 20:14:23 fuxkin dex limit Nov 23 20:14:26 i'm at 83k Nov 23 20:14:58 before or after proguard :p Nov 23 20:19:33 before Nov 23 20:19:45 but i tried proguard on my other project and it was a 100% fail Nov 23 20:19:59 so i'm a bit scared Nov 23 20:20:24 yeah, it doesn't look like it handles changes to my strings or layout dynamically yet either Nov 23 20:20:53 so much about "available in canary now." ^^ Nov 23 20:22:20 omg it corrupted something, going back to 1.5 and still got this Execution failed for task ':****:processFullDebugAndroidTestResources'. Nov 23 20:22:46 and comparing with latest commit reveal no change (so it must be inside one of the folders i ignore since no local change since last commit) Nov 23 20:23:14 did you try deleting build folders? Nov 23 20:23:49 i did a clean Nov 23 20:25:10 lol stable got errors like: null java.lang.NullPointerException Nov 23 20:29:39 well even gradlew fails with gradlew taks Nov 23 20:29:40 tasks* Nov 23 20:29:43 > Could not determine the dependencies of task ':audioid:mockableAndroidJar'. Nov 23 20:30:02 git clone :p Nov 23 20:34:40 should I reference an interface in my viewholder in a recyclerview? Nov 23 20:35:21 need to use a method on an interface from a viewholder Nov 23 20:35:45 but it says i cant refernce a non static field from a static context Nov 23 20:35:59 so i need to include a field in the view holder which is the interface? Nov 23 20:36:02 is this correct? Nov 23 20:40:00 Anyone have experience with fading a view in and out Nov 23 20:41:07 view.animate().alpha(...); Nov 23 20:42:27 So 0 would fade out? SimonVT? Nov 23 20:42:46 Ill look at the doc Nov 23 20:42:46 0 is transparent Nov 23 20:42:48 Right Nov 23 20:42:56 0xff is opaque Nov 23 20:43:00 Ha works Nov 23 20:43:13 1.0f is opaque, not 0xff Nov 23 20:43:20 For this method Nov 23 20:43:27 For other alpha methods you are right Nov 23 20:43:35 Ok, so if im trying to fade out Nov 23 20:43:46 I did the view.animate.alpha(0) Nov 23 20:43:49 Then set it to gone Nov 23 20:43:59 But I am not sure if it would work the same the other way Nov 23 20:44:01 hey i know that guy on the stream :) Nov 23 20:44:12 I guess I dont have to set it to gone actually, nevermind Nov 23 20:44:44 If you have views that are not visible you should at least set them to invisible Nov 23 20:45:00 I'm not sure alpha is checked when it decides whether you draw Nov 23 20:45:13 Ok Nov 23 20:45:29 Could someone point me towards some information on how to build Conscrypt? Nov 23 21:00:07 ARGH GOOGLE MAPS PLS Nov 23 21:00:42 If you pass https://www.google.com/maps/dir/51.1102683,17.0612965/51.1086875,17.0570954/51.1079516,17.0403369/51.1082951,17.0318719/@51.10908,17.0378717 as in Uri for Intent it actually starts navigation through points Nov 23 21:00:51 Why there is no normal intent for this holy shit Nov 23 21:02:16 adq, I fixed that nullpointer by restoring .AndroidStudio to an old state Nov 23 21:02:23 I luckly had a backup Nov 23 21:02:30 i'm mad atm Nov 23 21:02:43 i ignore all these stuff from the repository Nov 23 21:03:33 Quintasan, why is this not "normal" ? Nov 23 21:04:08 danijoo_: Because I have to workaround the available Google Maps intents by manually constructing URL which can be error prone. Nov 23 21:04:41 just a list of geolocs, isnt it? Nov 23 21:04:59 It is, but it's still something that's not intuitive. Nov 23 21:05:14 Every possible source says Google Maps on Android CAN'T handle multiple waypoints Nov 23 21:05:16 But it can. Nov 23 21:06:17 ok it builds again now danijoo_ and i think it was related to sdk platform 23 (from the sdk manager) Nov 23 21:06:45 Quintasan, not natively i think. What you did is using a deeplink Nov 23 21:06:57 idk how this happened, but i launched the old sdk manager, saw that 23 was not installed (surprinsingly and a couple of broken images & stuff depending on) Nov 23 21:06:58 which could change any time Nov 23 21:07:05 reinstalled it fixed things Nov 23 21:07:31 pfiiiieww Nov 23 21:07:50 danijoo_: Yeah, they could have at least mentioned it's possible but can break anytime Nov 23 21:08:12 it also changed the gradle project wrapper into 2.8 (i used an earlier version) Nov 23 21:08:25 I've been banging my head against the wall for the past two days because you can share a route from desktop to phone and it works but you can't create the same route from within the app itself. Nov 23 21:08:29 for me it actually downgraded it adq Nov 23 21:08:33 from 2.9 :p Nov 23 21:08:35 lol Nov 23 21:12:22 so i'm building a game, let's say chess. I have a square custom view to display the pieces on the board. When I tap a piece i calculate which moves are valid and show them on the view. Now what i want is to have the destination squares animating, like for example glowing brighter and duller. I have the entire board in a bitmap that i blit in onDraw, and then draw the destination squares. Then call invalidate again to force anothe Nov 23 21:12:22 r update. I get max 30ish fps.. how can i speed this up? Nov 23 21:15:20 are you using surfaceview? Nov 23 21:15:29 no just a subclass of View Nov 23 21:15:32 why Nov 23 21:15:42 idunno, it works Nov 23 21:15:59 its not really made for this purpose Nov 23 21:16:41 so surfaceview would be better Nov 23 21:17:01 yes Nov 23 21:17:13 thanks i will check it out Nov 23 21:17:25 Anyone be able to help me with this? The scrollParent is not scrolling ever: http://pastebin.com/gZqzLS7E Nov 23 21:18:23 It was working before when I was just adjusting the alpha and not changing VISIBLE AND GONE Nov 23 21:18:44 I dont see why it wouldnt work though, because I am setting the options to visibile, then trying to scroll, so it DOES have something to scroll Nov 23 21:20:16 Doesnt make much sense Nov 23 21:23:05 that instant run looks pretty neat Nov 23 21:23:20 TacticalJoke whats up Nov 23 21:23:59 Hey. Nov 23 21:24:09 Struggling with somethin Nov 23 21:24:16 Got a second? Nov 23 21:24:23 Maybe this has been talked about (I just joined), but I wonder whether Instant Run and Kotlin will play well together. Nov 23 21:24:23 osxorgate, surfaceview or opengl (or an engine like unity, libgdx, etc) Nov 23 21:24:38 and even surfaceview, you won't get much out of it Nov 23 21:25:04 it just allows you to control better when to redraw, but operation on canvas are damn slow if you have many of them and on big resolution Nov 23 21:25:13 i think if i have to do opengl then i'd rather skip the animating.. Nov 23 21:25:17 TacticalJoke thats why i haven't poked kotlin yet; so i don't have to wonder if it works with whatever google is doing ;) Nov 23 21:25:17 With a content provider, is it possible to use an IN() type query? Eg: new CursorLoader(getActivity(), myURI, projection, "_ID IN(?)", new String[]{"(1,2,3,4)"}, null); Nov 23 21:25:23 TacticalJoke, I tried to test Nov 23 21:25:44 maybe without the parentheses in the selectionArgs Nov 23 21:25:44 Instant Run is Google’s ploy to finally put this Kotlin thing out to pasture once and for all Nov 23 21:25:46 turns out instant run doesnt even work properly with plain java yet :D Nov 23 21:25:48 g00s: Yeah, this is why I want Google to officially support Kotlin (though I guess it'll never happen). Nov 23 21:26:00 danijoo_: Ah, okay. Nov 23 21:26:02 it manages to corrupt my projects partially TacticalJoke :) changed the gradle version too Nov 23 21:26:13 TacticalJoke, it broke android studio for adq and me Nov 23 21:26:17 the whole fucking sdk Nov 23 21:26:31 they’re tired of all the questions of when they’ll move off of Java 6, which everyone knows is the perfect implementation of Java Nov 23 21:26:32 lol Nov 23 21:26:33 yeah, not my project but the sdk and few things, lost an hour lol Nov 23 21:26:51 all that for trying instant run which does not work yet since they haven't pushed the emu Nov 23 21:26:56 adq it messed up your sdk ? Nov 23 21:27:13 yeah it made platform sdk 23 disappeard Nov 23 21:27:21 and of course i was using compilesdk 23 Nov 23 21:27:29 how stable is android studio 2.0 ? Nov 23 21:27:32 g00s, for me it made the old AS installation throwing nullpointers because it changes some random files in my settings directory o_O Nov 23 21:27:45 danijoo_: Damn. Nov 23 21:27:54 had a backup luckily Nov 23 21:28:04 LilDog, like a tightrope walker beginning Nov 23 21:28:15 TacticalJoke imho the android build pipeline is so complicated, deviating from it with custom thingies invites even more inscrutable problems Nov 23 21:28:18 naaa joke, sarcasm, idk how it's stable but i did not manage to go far Nov 23 21:28:27 LilDog, on a scale from 0 to 10, somewhere arround 0.1f :p Nov 23 21:29:28 yeah i had this nullpointer thing too, also it tried to run test tasks on a project where i explicitly remove anything related to test instrumentation/unit Nov 23 21:29:29 Danijoo_ .......sad to hear that. What i read said some nice features in it....i looking forward to upgrading Nov 23 21:29:38 gradlew tasks even broke Nov 23 21:30:16 LilDog, I would install it seperatly and keep a working stable version Nov 23 21:30:22 and even with that it might break Nov 23 21:30:30 yeah, i separated them of course Nov 23 21:30:36 i would not imagine the nightmare if not :p Nov 23 21:30:38 So will Protify no longer be needed? ;o Nov 23 21:30:50 adq, it might work if you also use a diofferent sdk directory Nov 23 21:30:50 yeah that would be good idea Nov 23 21:30:59 danijoo_, ah true! but ... come on Nov 23 21:31:04 TacticalJoke, protify is for sbt Nov 23 21:31:32 different build system. pfn never cared about gradle :p *hide* Nov 23 21:32:00 Thanks for information. yall have good day Nov 23 21:33:39 pretty much Nov 23 21:33:41 Does anyone use GreenDao? Nov 23 21:33:46 we'll see how good instant run turns out to be Nov 23 21:33:53 I don't have high hopes if it's running on gradle Nov 23 21:34:22 Anyone see the code I pasted above? Cant figure out why its not working correctly Nov 23 21:34:37 I didn't see anything. Nov 23 21:34:43 http://pastebin.com/gZqzLS7E TacticalJoke Nov 23 21:34:47 i must be blind too Nov 23 21:34:51 Everything is working up to the scroll Nov 23 21:34:57 what is scrollParent Nov 23 21:35:03 A ScrollView Nov 23 21:35:17 Keep in mind, the scrolling worked until I added the GONE and VISIBLE part Nov 23 21:35:29 Now it wont scroll, even after the view is set to VISIBLE Nov 23 21:35:55 What is the best way to store a duration in time? Nov 23 21:36:00 It could be minutes, days or weeks? Nov 23 21:36:06 did you try with "invisible" instead drose379? Nov 23 21:36:10 (instead of gone) Nov 23 21:36:15 AKK9, a long :p Nov 23 21:36:19 I was thinking of storing minutes as Long and then converting it when I need Nov 23 21:36:23 * g00s has hard time understanding Yigit Nov 23 21:36:27 not sure how they schedule it, but animated a gone view might be bypassed Nov 23 21:36:36 (assuming it does not start when sequentially) Nov 23 21:36:42 s/when// Nov 23 21:36:50 addo, https://en.wikipedia.org/wiki/Unix_time Nov 23 21:36:52 Well the view is actually visible when I try to scroll it Nov 23 21:36:54 ups Nov 23 21:36:57 AKK9, https://en.wikipedia.org/wiki/Unix_time Nov 23 21:37:09 drose379: Try breaking it down. Nov 23 21:37:26 I did, I tried to do a log to see if its visible, and that is coming out, then I try to scroll Nov 23 21:37:27 Still nothing Nov 23 21:37:32 just a long storing the seconds since 1.1.70 Nov 23 21:37:45 danijoo_: ah okay thanks, so I should even store dates with long? Nov 23 21:37:59 AKK9, its the easiest way. Nov 23 21:38:11 Is that what you meant TJ Nov 23 21:38:20 also you can use them for new Date(12361983131) directly Nov 23 21:38:30 storing seconds since 1970 is very common Nov 23 21:38:31 danijoo_: Ah amazing, that was gonna be my next question haha Nov 23 21:38:33 Thanks Nov 23 21:39:04 AKK9, even the DateUtils in android take this format :p Nov 23 21:41:35 A very annoying issue Nov 23 21:41:44 danijoo_: Noice, thanks Nov 23 21:41:55 oh, I see what happened... Nov 23 21:42:42 drose379: Figure out which part isn't working and isolate it. Nov 23 21:42:57 Its the GONE part Nov 23 21:43:07 It works fine if replace GONE with INVISIBLE Nov 23 21:44:10 What's not working? The animation? Nov 23 21:44:15 The scroll Nov 23 21:44:16 drose379, is specialNeeds part of moreOptions? Nov 23 21:44:44 It is, my bad. But that doesnt solve the issue because I tried hardcoding a number in there too Nov 23 21:44:59 thats the reason then Nov 23 21:45:07 a view thats gone has no y Nov 23 21:45:19 I know, but like I said I tried hardcoding a number too Nov 23 21:45:21 Still no change Nov 23 21:45:56 So its somethinge else Nov 23 21:47:17 good luck & n8 ;) Nov 23 21:47:40 n8? Nov 23 21:48:24 Where is getHeaderFields from httpurlconnection implememted Nov 23 21:48:24 Because apparently httpurlconnection inherits from urlconnection which only defines a stub so its probably polymorphismed from somewhere else Nov 23 21:49:28 oof that instant run is pretty sweet \o/ Nov 23 21:50:56 drose379: It might be related to the fact that changing a view's visibility isn't instant. Try scrolling with `post` or `postDelayed`; if it works then it's probably this. Nov 23 21:50:56 TacticalJoke, You see any issue here? Nov 23 21:50:58 Oh, Nov 23 21:51:17 So like scrollParent.post() Nov 23 21:51:28 Though I wouldn't recommend that as a real solution; it's just a debugging thing Nov 23 21:51:28 Or should I post on moreOptions Nov 23 21:51:31 It's the same regardless. Nov 23 21:51:38 Why not real? I have a feeling thats it Nov 23 21:51:51 Because posting things to the message queue isn't simple. It's the kind of thing that can cause hard-to-understand issues elsewhere. Nov 23 21:52:15 whoop, no more pngs in qicr Nov 23 21:52:20 It will just run when the running item in the queue is finished right TacticalJoke Nov 23 21:53:15 That does fix it Nov 23 21:53:16 It'll run when the looper gets around to it. Nov 23 21:53:28 The UI looper? Nov 23 21:53:31 My guess is that the ScrollView isn't big enough to scroll to that position until the view is un-gone Nov 23 21:53:48 Yeah, it makes perfect sense Nov 23 21:53:57 Do you have to use View.GONE here? Nov 23 21:53:57 IF, the visibility change isnt instant Nov 23 21:54:01 Yeah Nov 23 21:54:09 Well, what do you mean? Nov 23 21:54:16 Couldn't you use View.INVISIBLE? Nov 23 21:54:46 It works fine if replace GONE with INVISIBLE < told you, it's because of how it is scheduled then, with the ui thread Nov 23 21:54:49 No because with invisible it leaves a whole hunk of blank space, enough so that the scroll view can be scrolled, and nothing will be there Nov 23 21:55:03 Thats to the "why not use invisible" ^ Nov 23 21:55:39 then be sure to start your animation, after visibility has been enabled Nov 23 21:55:40 I can show a screen recording Nov 23 21:55:48 in the past with old animationutils, there was a listener Nov 23 21:55:51 Its not the animation, its the scroll Nov 23 21:56:03 But yeah, I have to use .post() now to add it to the queue Nov 23 21:56:27 i never run into your issue cause i never animated something scrolling so idk Nov 23 21:56:42 Its a really quick thing, one sec I'll show you Nov 23 21:56:46 Hmm, I wonder whether you could use ViewTreeObserver.OnGlobalLayoutListener here. Nov 23 21:56:55 (no need to show me, i picture it clearly) Nov 23 21:56:56 Though that doesn't seem hugely simple either. Nov 23 21:57:58 Either way thanks for the help Nov 23 21:58:11 Maybe View.post is fine here; not sure. Nov 23 21:58:32 Ill give it some time and see if I hit issues, so far its been seemingly instant Nov 23 21:59:26 i'm sure there is a solution :p Nov 23 21:59:58 Well now to do the fun part Nov 23 22:00:09 Implementing functionality for the view Nov 23 22:00:18 I managed to do this: If I long press an item in a gridview, the cursor loader is restarted with a new query (showing a subset of the data). The user will want to hit "back", to go back to the full view. But since I'm only restarting the loader, that takes me out of my app. How can I hook up the back button s.t. it will only cause the loader to reload? Nov 23 22:01:38 danijoo_, if you are still around I'd like to show you what I got since we were talking about it earlier Nov 23 22:01:40 LMK Nov 23 22:02:36 Can I add "states" of the current fragment, manually to the backstack? I thought this was a nifty idea (long press -> restart loader), but I need the back functionality to work as if the user was actually taken to a new activity Nov 23 22:03:21 trying out the new AS 2.0 preview with the new gradle plugin Nov 23 22:03:22 it just seems redundant to implement *two* fragments, both containing essentially the same gridview... Nov 23 22:03:54 and our app crashes on startup with java.lang.ClassCastException: com.android.tools.fd.runtime.BootstrapApplication cannot be cast to Nov 23 22:04:08 what is BootstrapApplication? Nov 23 22:06:57 jobi: From what I've read, stuff doesn't necessarily work yet. Nov 23 22:12:36 AS 2.0 is gonna be based on IntelliJ 15. Sounds pretty cool. Nov 23 22:12:50 Wonder whether they'll ship with Kotlin support. Nov 23 22:12:51 yeah Nov 23 22:13:38 jobi: Does 2.0 Preview come with the Kotlin plugin bundled and enabled? Nov 23 22:13:47 I’d imagine they’d ship with whatever Kotlin support IntelliJ 15 has, but maybe not the Android specific Kotlin support libraries Nov 23 22:14:32 I haven't seen anything kotlin related so far Nov 23 22:15:05 You might have to go ( Ctrl+Shift+A > "kotlin" ) to tell. Nov 23 22:15:07 me neither. I don’t think they’re thinking about Kotlin Nov 23 22:15:14 TacticalJoke there is a fireside, should be interesting :D Nov 23 22:15:38 s73v3r: Yeah, they haven't said anything, but it'll be interesting to see whether they keep IJ 15's Kotlin plugin or remove it. Nov 23 22:15:45 Dianne Hackenborn will just stand up at the beginning and say, “Anyone with questions about moving away from Java or using enums, get out" Nov 23 22:16:13 s73v3r won't happen. she went back in time and terminated them already Nov 23 22:16:29 why would people have questions about using enums Nov 23 22:16:31 terminated what now? Nov 23 22:16:31 o.O Nov 23 22:16:58 TacticalJoke lol, i'm watching the recyclerView presentation - and wonder if i understand it at all Nov 23 22:16:58 it’s not on how to use enums, it’s more on Google’s stance that you just shouldn’t use enums Nov 23 22:17:12 Wait, is it going right now? Nov 23 22:17:22 he's presenting too much info, they should just write a book on it Nov 23 22:17:31 TacticalJoke almost over Nov 23 22:17:33 s73v3r, yeah well, people don't need to care about that Nov 23 22:17:59 yeah they do Nov 23 22:18:12 remember, this is a developer conference Nov 23 22:18:25 g00s: Doh! I instinctively ignore all stickied posts (on Reddit and elsewhere). Nov 23 22:18:35 I basically have stickied-post-block built in. Nov 23 22:18:45 s73v3r, developers are people are fools too Nov 23 22:19:36 I sometimes think they shouldn't have bothered with AppCompat. Nov 23 22:19:49 me too Nov 23 22:20:13 anyone who use mac know hwy i can only enter two shortcut keys in editing/crraing a keyboard shotcurt Nov 23 22:21:05 TacticalJoke: What would you have as an alternative? Simply not having those APIs? Nov 23 22:21:27 I guess requiring `minSdkVersion 21` to get a material look. Nov 23 22:21:38 Or just separate resources. Nov 23 22:21:57 AppCompat feels like such a hack to me. Nov 23 22:23:15 My app has a prominent Spinner, and the latest AppCompat has a new bug relating to two items showing click-highlights in some cases. This happens even when my app runs on 5.0+. Makes me wanna rip it out and just go with `minSdkVersion 21`. Nov 23 22:23:26 Two items showing them at the same time, I mean. Nov 23 22:23:31 TacticalJoke with Java 9, the JDK is becoming modularized Nov 23 22:23:45 they should do something with android too, where they can push out a new java.io module Nov 23 22:23:49 I would agree that if they want to make AppCompat a thing, they should have more than just one guy on it Nov 23 22:24:12 and fix bugs faster Nov 23 22:24:42 chris banes is next, but feed seems late Nov 23 22:24:56 * g00s wonders if the dog will be there Nov 23 22:25:20 Feeds on Nov 23 22:25:36 I’ve been watching it for at least the last 10 minutes or so Nov 23 22:26:41 AppCompat tries to do that, but basically fails. Nov 23 22:27:06 Like I said, they should put more than one guy on it Nov 23 22:27:17 one guy for whom that’s probably not his primary focus Nov 23 22:27:23 s73v3r: It might be impossible to solve these issues, though. Nov 23 22:27:29 At least some of them. Nov 23 22:28:16 broken fragments though :( Nov 23 22:28:22 And how long until `minSdkVersion 21` becomes the norm. Nov 23 22:28:24 yeah child fragments are kinda busted Nov 23 22:28:27 impossible is a big word, especially for a company with the resources of google. but I think it’s probably going to be a while before see any meaningful improvement on this front Nov 23 22:28:45 why does ADV think haxm is not installed from time to time Nov 23 22:29:00 it getting annoying Nov 23 22:32:47 I want to download something and then run it. On a modern device I can only run from internal storage (external is often a noexec filesystem). I used to be using a DownloadManager.Request, but the only destinations allowed are on external storage. Nov 23 22:33:26 Of course, I could make a copy, but that raises space issues. Is there some other framework object I should use, or do I need to roll my own to do the download? Nov 23 22:34:12 my stream just froze, but it sounded like they were addressing the dex method count of the support libraries Nov 23 22:34:21 Still going here. Nov 23 22:34:34 no, it’s probably just a local problem for me Nov 23 22:35:10 Banes looks nervous as hell. So much movement. Nov 23 22:35:18 they were talking about using minifyEnabled true to cut down Nov 23 22:35:24 did they mention anything past that? Nov 23 22:35:59 heh, he might be nervous cause he can imagine all the questions he’s gonna get after the talk Nov 23 22:36:08 I think they said they're gonna try to trim the support libraries a little, but I'm listening to two talks at the same time, so maybe I mishread. Nov 23 22:36:15 misheard* Nov 23 22:36:32 two? Nov 23 22:36:44 One is Android; one is something totally unrelated. Nov 23 22:36:50 ahh Nov 23 22:36:55 Anyone here is on the Summit site? ;_; Nov 23 22:37:52 Quintasan: Yes. Nov 23 22:38:07 Ooh, Q&A. Nov 23 22:38:10 I'd like to be there. lol Nov 23 22:39:02 i tried to go, but couldn’t make it work with work Nov 23 22:39:02 TacticalJoke: Can you forward a question to anyone in the Office Hours? Nov 23 22:39:25 Quintasan: Oh, sorry, I thought you had meant "website". I'm not geographically there. Nov 23 22:39:54 Meh Nov 23 22:40:23 did they reveal what’s in the box? Nov 23 22:40:28 Nobody really says "on the site" for geographical locations. It'd be "at the venue" or something. Nov 23 22:40:43 Unless we're talking building sites, I guess. Nov 23 22:40:45 haha, someone just asked about the Samsung bug Nov 23 22:41:47 TacticalJoke: Yeah, I used that in the latter manner, guess I wasn't clear enough. Nov 23 22:47:59 These questions are so boring. Nov 23 22:50:35 hmm Nov 23 22:50:44 AS instant run is not 'that' instant Nov 23 22:51:29 shocking Nov 23 22:51:40 yes Nov 23 22:53:07 gordon_, protify is better :p Nov 23 22:53:14 it's slow as fuck unless they drop gradle Nov 23 22:53:46 Shamless selfad :P Nov 23 22:53:54 http://techcrunch.com/2015/11/23/android-studio-2-0-with-improved-android-emulator-and-instant-run/ and many others talk about an improved emulator. Where are people getting that from? I don't see it mentioned in the blog post. Nov 23 22:53:56 Quintasan, not shameless at all, legitimately better Nov 23 22:53:58 God I really suck at typing Nov 23 22:54:13 well, that is shameless, actually :p Nov 23 22:54:34 pfn: happens Nov 23 22:54:38 i think the “improved emulator” stuff comes from the instant run talk Nov 23 22:54:39 Christ, getting in touch with someone on the venue might prove impossible Nov 23 22:55:00 pfn: btw, I checked your gist before, it works for u2020 Nov 23 22:55:06 tweet out using the #androiddevsumit tag Nov 23 22:55:11 but u2020 uses dagger1, I use dagger2 Nov 23 22:55:21 I added dependencies to my build.sbt Nov 23 22:55:36 still dagger doesnt create my classes Nov 23 22:55:55 apt 'com.google.dagger:dagger-compiler:2.0' Nov 23 22:56:11 this 'apt' is the key I think Nov 23 22:56:37 gordon_, libraryDependencies += "com.google.dagger" % "dagger-compiler" % "2.0" % "provided" Nov 23 22:56:42 gordon_, my gist showed *exactly* that Nov 23 22:56:57 https://gist.github.com/pfn/f31d7dcadaa08e9dc259#file-build-txt-L14 Nov 23 22:59:29 it doesnt work for dagger2 Nov 23 23:00:16 http://pastebin.com/6vihasVq Nov 23 23:00:20 this is what I have now Nov 23 23:00:39 good to see build times are increased in AS2.0, and "Instant Run" looks awesome Nov 23 23:01:08 increased? Nov 23 23:01:13 you mean decreased Nov 23 23:01:19 yeah, that one :) Nov 23 23:02:50 changing string resources is not yet compatible with Instant Run, according to the website Nov 23 23:02:52 lol Nov 23 23:02:59 how useless Nov 23 23:03:10 can't even change the most trivial of resources... Nov 23 23:03:27 barbs: Did they say anything about how, in particular, build times will be better? I presume it's Gradle-related. Nov 23 23:04:51 not that I can see. I read the same techcrunch article as you Nov 23 23:06:06 they dont say how it works yet Nov 23 23:06:17 just download AS 2.0 Nov 23 23:06:36 yeah apparently it's available in the Canary channel Nov 23 23:06:45 might play around on it at some point Nov 23 23:06:46 * pfn imagines how it works will be very similar to how protify does it Nov 23 23:07:04 gj Nov 23 23:08:18 I'd not heard of protify before, looks interesting https://github.com/pfn/protify Nov 23 23:08:49 wow "instant run" Nov 23 23:08:59 as opposed to "it will launch sometime later today" Nov 23 23:09:05 gordon,Android studio builds fast. Nov 23 23:09:15 :) Nov 23 23:09:28 i mean 2.0 Nov 23 23:09:47 Can anyone explain the difference between bundled and unbundled Conscrypt? Nov 23 23:10:34 I've been doing a little bit of web development lately, makes me wonder how much time I've wasted waiting for Android builds :) Nov 23 23:12:59 barbs,What you use for your web site? Nov 23 23:13:21 perlsyntax: it takes like 4-5 seconds for me Nov 23 23:13:24 on 'new' emulator Nov 23 23:13:51 ok, now it took 2 seconds Nov 23 23:13:53 not bad Nov 23 23:13:59 gordon,even faster on my ssd. Nov 23 23:14:06 perlsyntax: I'm just hacking around on Flask Nov 23 23:14:09 i have ssd too Nov 23 23:14:26 gordon,cool Nov 23 23:14:36 but yeah, pfn 's protify was doing the same thing Nov 23 23:15:11 gordon,Waiting for the google cloud test lab to come out to to make thing abit easy. Nov 23 23:15:11 "a full build is now 2x to 2.5x faster than in previous releases" Nov 23 23:15:31 yep Nov 23 23:16:03 That's a pet peeve of mine -- people who talk like that almost always mean "2x to 2.5x *as* fast". Nov 23 23:16:41 "Google is introducing new emulators that, given modern hardware, should run faster than any physical device" Nov 23 23:16:51 https://www.youtube.com/watch?v=oBV2U4w89_A Nov 23 23:17:00 about goddamn time Nov 23 23:17:45 i watch that one was good. Nov 23 23:18:26 i want android cloud test lab to come out.I was told they where have abit of probs with it. Nov 23 23:18:31 :) Nov 23 23:19:18 kinda surprised ny how 'light' the summit talks have been , except for recyclerview Nov 23 23:19:28 jamestorm,I can't wait for that. Nov 23 23:20:27 what about those emulators? emulators dont seem to run here.. some haxm error Nov 23 23:21:00 when i try it it seem abit slow. Nov 23 23:21:03 works for me Nov 23 23:21:53 maybe it was me. Nov 23 23:22:29 i not sure what happon to the android stuio plugin for google cloud test lab. Nov 23 23:22:38 in android studio 1.5 Nov 23 23:26:18 A lot of positive changes. I wonder what they're gonna do regarding JVM support, though. I don't think we can stay on 1.6 forever. Nov 23 23:26:45 sure they can Nov 23 23:27:26 android doing alot of updates:D Nov 23 23:28:08 As time goes by, more and more Java libraries will move towards 1.8 (and beyond) support, leaving Android unsupported. Nov 23 23:28:45 TacticalJoke JavaCompat, its coming ! Nov 23 23:28:49 haha Nov 23 23:29:25 in all seriousness, I would like to be a fly on the wall during some of those meetings they have Nov 23 23:30:41 i think at this point google is doing damage to the entire java ecosystem. i'm sure lots of library / framework devs get asked 'does it work on java' and it just turns into a mess / extra work / etc Nov 23 23:30:58 err, 'does it work on android Nov 23 23:31:10 "We still have a couple of users [on Eclipse]." Nov 23 23:31:45 Anyone got an apple script with keyboard shortcut to open hierarchyviewer? Nov 23 23:32:19 shmooz: Now is the time to update to AS! :D Nov 23 23:33:38 i hope during the fireside somebody asks about the documentation Nov 23 23:33:48 I hope they also ask about Kotlin. :D Nov 23 23:33:48 being consolidated, revised, etc Nov 23 23:34:27 They should highlight the Banes SO questions and answers. Nov 23 23:34:43 Doesn’t the question about advancing or moving away from Java get asked at every fireside chat? Nov 23 23:35:20 It should be asked every time. Nov 23 23:36:51 agreed, although I highly doubt there’d be any more news available then Nov 23 23:37:10 unless they thought it’d be funny to wait to reveal until someone inevitabley asked the question Nov 23 23:45:47 onRequestPermissionResult doesn't work on children, hope somebody brings it up Nov 23 23:46:30 instant run is amazing Nov 23 23:49:02 children fragments? Nov 23 23:49:07 Hello, I have a crash in my app that only happens after an in-app purchase, in-app purchases only work when an app is installed from Google Play, so that's the only way to get the crash. Now the problem is that Logcat shows nothing for apps installed from Google Play. How can I debug that crash? Nov 23 23:49:13 anyone using retrolambda? Nov 23 23:49:13 s73v3r yeah Nov 23 23:51:45 oh man, that seems bad Nov 23 23:52:03 permission leaking is easy if the proxy app didn't code correctly Nov 24 00:09:06 "We want to get to a point where sync is very, very fast so that we can do it in the background all the time (when the build files are changed)." -- droidxav Nov 24 00:13:47 oops Nov 24 00:13:53 ExternalSystemException :D Nov 24 00:16:32 how do you ask questions from internet Nov 24 00:17:24 Fill the correct intertubes and flush. Nov 24 00:19:23 has anyone asked about java yet on the fireside chat? Nov 24 00:19:54 Oh, I didn't realise the thing had restarted. Nov 24 00:20:18 i think it just started Nov 24 00:20:33 s73v3r nobody has asked yet Nov 24 00:20:40 I thought g00s was going mad for a moment. :D Nov 24 00:20:57 google used to have a platform for asking questions - google moderator Nov 24 00:21:36 how are they taking questions now? Nov 24 00:21:38 Is that Dianne Hackborn? Nov 24 00:21:43 yes Nov 24 00:23:49 It'd be cool if every question was "When is Google going to move past Java 1.6?". Like a staged protest in question form. Nov 24 00:24:02 is there a link to this fireside chat Nov 24 00:24:06 https://www.youtube.com/watch?v=YYin_N6xXxQ Nov 24 00:24:08 i can see that get old real fast Nov 24 00:24:16 tnx! Nov 24 00:26:26 how are they taking questions? Nov 24 00:28:56 I think it’s on the YouTube page chat Nov 24 00:31:25 Such a weird pronunciation: "ee-nums". Nov 24 00:32:31 how do you say it? Nov 24 00:32:45 On the live stream they were talking about permissions on M. I have been asking for camera permission before doing ACTION_IMAGE_CAPTURE. They were saying that performing the intent ACTION_IMAGE_CAPTURE does not require camera permission. Nov 24 00:32:57 "en-um" (though I could understand "en-yume"). Nov 24 00:33:04 I just changed up my code to not ask permission but crashes. What would I be missing? Nov 24 00:34:01 enums is like a wedge issue thats a distraction Nov 24 00:34:10 i can't believe they are talking about this crap Nov 24 00:34:25 I agree. Nov 24 00:34:32 because everyone always brings it up :p Nov 24 00:34:32 I've always called them eenums... Nov 24 00:35:18 c’mon, get to the questions about leaving or updating Java Nov 24 00:35:33 Words beginning "en" are always pronounced "en", I think. Seems weird to pronounce it "e-num". :D Nov 24 00:35:38 Reminds me of "eye-rack" and "eye-ran". Nov 24 00:35:46 Or just enum like in actual [enum]eration Nov 24 00:35:51 Nohus, yup Nov 24 00:36:01 Nohus: The speaker just did that! Nov 24 00:36:03 yeah, thinking about it now it doesn't really make sense how I pronounce Nov 24 00:36:08 usually what i do. Nov 24 00:36:10 maybe cos it's a bit like email Nov 24 00:36:38 EE-num is just easier on the tongue lel Nov 24 00:36:54 it does feel nicer :) Nov 24 00:37:06 I think of "enjoy", "enhance", "entail". Nov 24 00:37:40 those are all verbs Nov 24 00:37:47 ayy num Nov 24 00:38:01 "Enhancement" is a noun. Nov 24 00:38:12 unstressed-stressed sounds weird at the end of a sentence Nov 24 00:38:13 lol Nov 24 00:38:14 idk Nov 24 00:38:33 i just pronounce things based on how much effort itd take to pronounce Nov 24 00:38:42 screw correctness Nov 24 00:39:08 what a gross floccinaucinihilipilification Nov 24 00:39:39 of pronunciation Nov 24 00:39:48 Kotlin! Nov 24 00:40:05 i dont know a single person in real life that can code Nov 24 00:40:07 so rip Nov 24 00:40:09 lol Nov 24 00:41:25 i wonder how you pronounce kotlin Nov 24 00:42:22 coat line Nov 24 00:42:26 The team seems well aware of Kotlin. Nov 24 00:42:26 definitely Nov 24 00:42:37 kay-ott-lin Nov 24 00:42:40 Just kidding. :D Nov 24 00:42:45 :D Nov 24 00:43:31 sounds like the thing they should take away from everyone asking about alternate languages is that Java 1.6 sucks Nov 24 00:44:18 is there a lʲ in english Nov 24 00:44:26 ..who cares, anyway Nov 24 00:44:51 Oh, nice, another Kotlin question. Nov 24 00:45:07 how was the rest of the day? any interesting talks? Nov 24 00:45:08 and punted away Nov 24 00:45:24 The guy in the purple shirt is the most sensible one there. Nov 24 00:45:51 Adam Powell? Nov 24 00:46:28 Yeah, the images I see in Google seem to match up. Nov 24 00:47:26 hope somebody asks about the doze permission and getting banned Nov 24 00:51:42 leveldb is cool, google should have jni bindings though Nov 24 00:57:02 How is nobody asking about the JVM? Nov 24 00:57:07 Unless they did earlier and I missed it. Nov 24 00:57:16 what would you ask about the JVM? Nov 24 00:57:19 nothing yet Nov 24 00:57:50 I mean about Java 8 (and beyond) VM support. Nov 24 00:57:55 ah Nov 24 00:58:32 Is anyone going to an Android Launchpad day next week? Nov 24 01:00:13 why are people asking about ORMs? Nov 24 01:00:22 ikr? Nov 24 01:03:19 TacticalJoke i'm telling you, dianne went back in time and terminated all the would-be java 8 askers Nov 24 01:04:53 :D Nov 24 01:10:43 there’s still the tools team tomorrow Nov 24 01:52:36 hm, somebody wrote a webserver in swift - trying to advance tha argument its a full stack language Nov 24 01:59:51 hi all, what's the preferred way to have an actionbar? Set the "android:theme" in AndroidManifest.xml to one with an actionbar, or include the actionbar in the layout file? Nov 24 02:00:25 Using Toolbar in the layout file. Nov 24 02:01:05 ok thanks Nov 24 02:01:49 which android:theme should I use for my main activity? It won't run unless I declare it Nov 24 02:02:38 Theme.AppCompat[.Light].NoActionBar Nov 24 02:05:13 thanks Nov 24 02:20:17 TacticalJoke do you know offhand; is WPF still a thing ? Nov 24 02:23:54 I think so, though I'm out of touch with .NET now. Nov 24 02:29:43 depends on what you want to do, automatically provided or a custom toolbar Nov 24 02:29:48 most apps will just want to use automatically provided Nov 24 02:49:01 slow night Nov 24 02:53:02 never fear Nov 24 02:53:05 ron_frown is here! **** ENDING LOGGING AT Tue Nov 24 03:00:52 2015