**** BEGIN LOGGING AT Thu Oct 27 03:00:00 2016 Oct 27 03:01:37 Hi all. Anyone here has any experience with MediaMuxer ? Oct 27 03:02:48 Hey not sure if anyone has ever ran into this problem... looking for any possibilities... for some reason the recyclerview does not show anything - now my adapter's bindviewholder gets hit and the list has a size of 2 items... the returned getCount is correct as well so not sure what could be wrong... spending sooo much time trying to figure this mystery out, any ideas? Oct 27 03:03:30 I am trying to write mp4 byte stream into my output file, but writeSampleData is crashing abrupty. Log states Fatal signal 6 (SIGABRT), code -6 in tid 8025 (MPEG4Writer) Oct 27 03:04:13 Lonesoldier728: make a gist on github and ping the link to file. Will look into it :) Oct 27 03:04:18 kk Oct 27 03:05:29 @varunest http://pastebin.com/tmwR9qKB Oct 27 03:05:47 or anyone else who wants to take a look at the adapter and the setting up of it Oct 27 03:12:13 Lonesoldier728: code looks alright. Oct 27 03:12:29 Want me to show you the main activity Oct 27 03:12:37 the whole thing maybe I am breaking it somewhere Oct 27 03:13:05 Lonesoldier728: have you tried taking view hierarchy snapshot? Oct 27 03:13:13 Yeah. Let me see. Oct 27 03:13:20 @varunest http://pastebin.com/YCx8FJmc this is my whole activity - it might look a bit much Oct 27 03:19:56 Lonesoldier728: Don't see anything suspicious. Try removing setHasFixedSize(). Oct 27 03:20:34 hm ok, but I have that everywhere and there is no problem, I am rebuilding the project hoping android studio is bugged up - then I will remove that and check Oct 27 03:20:43 Guys are you getting ready for the #android-dev IRC Halloween Party? Oct 27 03:21:17 Pumpkins? Costumes? Beer? Condoms? Popcorn? Oct 27 03:22:04 @varunest tried it no luck : / ... damn it was working with the old code - I just added firebase and this whole thing is messing up now Oct 27 03:23:21 @Lonesoldier728 Haha happens. Later on you will find something silly behind this. I don't think firebase is the reason. Oct 27 03:23:52 Yeah I am going to try passing in test data to see if that is it then work my way into every part of it Oct 27 03:24:49 Okay. Let me know if you solve it, I am curious :P Oct 27 03:30:49 lol Oct 27 03:37:18 Hey guys. I'm trying to import a new project into Android Studio, and the Gradle sync is telling me that it has "failed to find Build Tools revision 23.0.0 -rc2", and that it cannot download it from anywhere because it does not exist. Oct 27 03:37:47 In Project Structure, setting the build tools version to 22.x, 23.x, 24.x, or 25.x, I am now getting "Gradle DSL method not found: 'android()'" Oct 27 03:38:13 I have tried many different things (such as upgrading Gradle, to 2.1+), to no avail. I have no idea what to do. Could somebody please help? Thank you. Oct 27 03:39:02 Android Studio 2.2.2, running on Arch Linux. Oct 27 03:40:26 @varunest well that did it Oct 27 03:40:38 apparently SwipeRefreshLayout - caused an issue Oct 27 03:46:21 Lonesoldier728: what exactly ? Oct 27 03:46:42 Having it wrap the recyclerView but not sure why trying to figure out how I can still use it then Oct 27 03:47:00 aha Oct 27 03:47:36 because I had it in a linear layout before - so I had weight involved so because of that the height was 0 dp - I am thinking it is that Oct 27 03:47:48 ohh, Ohkay Oct 27 03:48:06 So much time wasted for nothing :/ Oct 27 04:03:52 I have a google map where there are multiple markers are the exact same coordinates. What would be the best way to let the user know that this location is actually multiple markers? Oct 27 04:04:27 I've heard of clustering, but I dont think thats relevant as these markers are at the same exact coordinates Oct 27 04:09:21 Perhaps a custom InfoWindow with a small list would work. Oct 27 04:11:03 Yeah. You will have to store info that a single marker contains three different infos and show it in the UI somehow Oct 27 04:25:38 Anyone have any idea why it doesn't seem to be working https://gist.github.com/chamunks/987cc23716d2bbb56a35bad5e11acf2e the license file that I copied over doesn't seem to matter that it exists in $ANDROID_HOME/licenses/android-sdk-license Oct 27 04:25:55 Or mayhaps somewhere I could be directed to that I could ask this question. Oct 27 06:24:29 hello? Oct 27 06:25:40 /amsg test Oct 27 06:39:38 anyone have expierence using the jack compiler? Oct 27 07:58:59 Hi all. Does somebody know how the relation is between a RecyclerViewAdapter - RecyclerView. Let's say, you call adapter.notifyDataSetChanged(); how will this work? is there a relation in the adapter to the recyclerview? Oct 27 07:59:18 just wondering how it works because I want to do the same with my custom view Oct 27 08:01:42 it will redisplay visible rows Oct 27 08:12:26 morning thepoosh Oct 27 08:12:35 oh hi there! Oct 27 08:12:54 everything in order today? Oct 27 08:13:52 hmmmm..... Oct 27 08:13:54 sort of Oct 27 08:14:27 raoul11: https://events.withgoogle.com/firebase-dev-summit/agenda/ Oct 27 08:15:24 why wasnt i invited ): Oct 27 08:15:51 oh, berlin Oct 27 08:16:32 whois this dude on the Firebase Partner Lightning Talks Oct 27 08:16:40 sounds familiar Oct 27 08:20:37 firebase spams tons of shit into my xcode log Oct 27 08:34:03 raoul11: it's my boss Oct 27 08:34:24 oh, yeah Oct 27 08:34:26 and me!!! Oct 27 08:34:27 \: Oct 27 08:34:36 but where is foxworth?! Oct 27 08:34:56 now you're asking the real questions Oct 27 08:35:04 HA! Oct 27 08:35:40 probably in a mental hospital after she kept mumbling "bigquery" nonstop for the past two months Oct 27 08:36:52 Somehow my app bypasses the system rotation lock. Anyone know how to fix this? Oct 27 08:37:31 well, it IS very easy to export it to BigQuery Oct 27 08:37:47 pduin: there is a system lock on orientation? Oct 27 08:38:05 like the user choosing to stay in portrait? Oct 27 08:41:54 Not sure if we are talking about the same thing, but every phone has an orientation lock Oct 27 08:45:53 yep Oct 27 08:46:26 on android, it is in the top-down scroll window Oct 27 08:47:47 thepoosh: can you pass a question to askfirebase team Oct 27 08:56:48 Hey Oct 27 08:57:55 I have a fragment which I use to present details of a certain TV series, and I use this to replace a fragment that lists various TV series Oct 27 08:58:00 squ, he sure can, unless its this question: "how can you export firebase data to csv" Oct 27 08:58:38 Each series has many details which comprise of a 'Series' object. How can I pass this object to the detail fragment? Oct 27 08:58:46 would be nice if they get familiar with ios multipeer connectivity (a kind of mesh networking) Oct 27 08:59:01 and the question would be to implement it Oct 27 08:59:38 it fits their offline database design, but extends to multiple users on local bluetooth or wifi network Oct 27 09:01:40 https://firebase.google.com/docs/database/android/offline-capabilities Oct 27 09:01:57 squ: sorry, got disconnected Oct 27 09:01:58 Disk Persistence Oct 27 09:01:58 Firebase apps automatically handle temporary network interruptions for you. Cached data will still be available while offline and your writes will be resent when network connectivity is recovered. Oct 27 09:02:02 what you want to know Oct 27 09:02:10 I'll paste into query Oct 27 09:02:20 sure Oct 27 09:03:00 they name this feature Persistence Oct 27 09:03:35 I want it to extend to nearby devices, on ios it is possible with available multipeer connectivity Oct 27 09:03:41 on android it is not possible Oct 27 09:09:05 AllTuna: fragment.setArguments(), getArguments() with parameter of type Bundle Oct 27 09:10:22 squ, it is an object though, are you saying I should make it parcelable? Is that the best option? Oct 27 09:10:56 I'm serializing objects to json Oct 27 09:11:18 and pass String Oct 27 09:12:40 Am I able to do this easily using the available JSON API, or should I use something like GSON Oct 27 09:13:44 StringWriter JsonWriter StringReader JsonReader Oct 27 09:15:42 Seems like a lot of code, I'll use GSON, thanks for the advice Oct 27 09:16:46 What are your thoughts on replacing my fragment to show the detail fragment, as opposed to starting a new activity with an intent? Oct 27 09:17:07 amount of code is 1 line per property Oct 27 09:17:24 There are quite a lot of properties, plus I use JSON around the app anyway Oct 27 09:17:28 writer.name(JSON_property).value(property); Oct 27 09:18:07 else if (name.equals(JSON_property)) instance.property = reader.nextInt(); Oct 27 09:25:33 sup guise Oct 27 09:26:37 about Retrofit's ability to cache responses Oct 27 09:26:58 I've successfully implemented this and I do get offline caching and everything loads even in airplane mode, and that's great Oct 27 09:27:23 but I think I've missed the part where I can exempt specific requests from being cached, some of them I don't want to cache and I always want to go out and get the result from the server Oct 27 09:31:51 Retrofit doesn't cache Oct 27 09:32:16 You're thinking of OkHttp, perhaps Oct 27 09:34:47 Greetings girls and boys. Oct 27 09:35:35 Tell me something, I should not use translators from English who has this on their website correct ? Oct 27 09:35:44 "Leave your message in this form and we will get it to the e-mail and will answer!" Oct 27 09:36:25 why Oct 27 09:36:56 Is that fine English to you ? Oct 27 09:37:03 NeoFrontier: check this site https://www.fiverr.com Oct 27 09:37:05 It is understandable yeah. Oct 27 09:37:12 Guys one question whats currently prefered MVVM or MVC ? Oct 27 09:37:37 NeoFrontier: how is it important Oct 27 09:38:49 I think it is important that translator can actually translate. Oct 27 09:38:52 :) Oct 27 09:38:56 Correctly. Oct 27 09:39:08 translators* Oct 27 09:39:30 Or is it just me ? ;) Oct 27 09:39:40 you are partially correct Oct 27 09:39:50 lol Oct 27 09:39:53 :) Oct 27 09:40:14 12:38:49 I think it is important that translator can actually translate. Oct 27 09:40:18 I fixed it for you Oct 27 09:40:31 that's true JakeWharton Oct 27 09:41:14 I do actually attach the interceptor to the http client Oct 27 09:41:55 is there a way I can get OkHttp to cache some requests and not others? Oct 27 09:42:19 can it have sessions? Oct 27 09:43:59 one session for cache, other for live requests :) Oct 27 09:45:52 ah you were talking to me Oct 27 09:46:48 I'm not sure because all what I've done is this http://pastie.org/10950949 Oct 27 09:48:14 ok, client Oct 27 09:48:28 configure multiple clients Oct 27 09:49:44 yep, seems reasonable Oct 27 10:23:23 Who here speaks Hindi ? Oct 27 10:27:03 you do Oct 27 10:31:55 totoro to-to-roo Oct 27 10:31:57 Eye dew ? Oct 27 10:32:02 totorototoro Oct 27 10:32:43 I speak Oct 27 10:32:45 :) Oct 27 10:32:58 this is pretty cool https://material.io/ Oct 27 10:33:29 Komichi ni Ko no mi Uzumete Oct 27 10:33:37 Tonari no To to ro Totoro To to ro Totoro Oct 27 10:33:37 he used google translate Oct 27 10:33:47 Mori no naka ni Mukashi kara sunderu Oct 27 10:34:00 Kodomo no toki ni dake Anata ni otozureru Oct 27 10:34:00 Fushigina deai Oct 27 10:34:06 omelette du fromage Oct 27 10:34:29 if you are curious, here is original: https://www.youtube.com/watch?v=A0PZj0zmqAU Oct 27 10:34:51 https://www.youtube.com/watch?v=jhA5sykz9c0 Oct 27 10:36:07 Odaym: ))))) Oct 27 10:36:13 :D Oct 27 10:36:47 NeoFrontier: we all speak, what do you want to translate? Oct 27 10:37:54 Good morning! Oct 27 10:38:45 mornang Oct 27 10:39:22 gewdmornin Oct 27 10:43:08 Where are you from squ ? Oct 27 10:43:37 zion Oct 27 10:47:21 neverneverland ? Oct 27 12:07:12 hi my friends Oct 27 12:28:48 I get the error adb: error: failed to copy 'no response: Success when doing adb push, how can I fix this? It works for a while and then fails Oct 27 12:30:40 Figure out why it's failing. Fix the problem. Oct 27 12:31:49 Very helpful, thanks, I woudln't have come up with that myself. Oct 27 12:32:57 Are we supposed to be psychic? You've given no details about anything that might be a symptom. Oct 27 12:33:19 I described the symptoms Oct 27 12:33:29 adb gave him ‘no response’ for push command Oct 27 12:33:42 which means device does not respond Oct 27 12:33:54 It stops in the middle of a push at x% Oct 27 12:34:14 How about that. Actual details. Oct 27 12:35:33 This is on ubuntu if that makes any difference Oct 27 12:35:34 Any sign from the OS about a sudden USB disconnect? Is the USB cable _absolutely certainly_ known to be good? Are there other times when a mysterious disconnection happens, like when copying a hundred megabytes or so via MTP? Any other error dialogs happening at the same time? Is a USB hub involved? Oct 27 12:35:41 So tail the syslog while you do this Oct 27 12:36:04 Any USB disconnects will show up there Oct 27 12:36:49 what is the new standout and tooleap library , these both look nice but about 2 years old. Does android have lib's for this feature ? Oct 27 12:36:50 Under Android Studio there's also the rather continuous scrolling of logcat output to be watched Oct 27 12:37:38 It's not the USB cable, I've tried with multiple cables and multiple devices. Oct 27 12:37:56 The MTP connection is unstable in general Oct 27 12:38:01 Then you're almost certain to see something showing up in syslog on the PC Oct 27 12:38:56 If it's actually happening with multiple devices, then it's almost certainly the USB chipset and/or driver on your desktop machine, or it's time to get a new USB hub if there's a hub involved. Oct 27 12:39:42 There's no hub involved Oct 27 12:39:57 Trying again now with syslog Oct 27 12:40:10 stuck again Oct 27 12:40:25 No new syslog entry Oct 27 12:41:00 Disconnect and reconnect the device. You should see entries in syslog about it. Oct 27 12:41:19 barq: device may be broken too Oct 27 12:41:43 its storage Oct 27 12:41:47 I tried with 2 devices Oct 27 12:41:54 Same thing on both Oct 27 12:42:11 how big is the file? something about caching? Oct 27 12:42:46 But after it fails adb devices returns nothing Oct 27 12:42:53 So seems like adb or something related is screwing up Oct 27 12:42:59 I need to plug in again after that happens Oct 27 12:43:08 a 5mb apk Oct 27 12:44:35 well, if you find a cause don't forget to tell us back what was it Oct 27 12:44:36 Use lsusb to enumerate the USB devices before and after the adb transfer failure Oct 27 12:45:06 ANY squirrely output would be a sign the USB driver is insane/wrong or the chipset is failing Oct 27 12:45:09 tried a diff cable barq ? Oct 27 12:45:23 yes Oct 27 12:45:34 You wouldn't be the first person to have the brain-damaged "ub" driver in play Oct 27 12:47:25 I'm also using virtualbox, maybe that is screwing things up Oct 27 12:48:42 I got a Timed out waiting for device in syslog Oct 27 12:48:53 Then it's VirtualBox that's the prooblem Oct 27 12:49:17 Any way I can pin down virtualbox without adb? Oct 27 12:49:28 They won't fix anything, because they haven't got an Android device Oct 27 12:49:49 Who won't what now? Oct 27 12:50:14 The VirtualBox team won't fix this problem since they have not got a USB device to reproduce the error. Oct 27 12:50:19 Android device* Oct 27 12:50:34 It doesn't have a thing to do with the Android device Oct 27 12:50:57 Does it have to do with adb? Oct 27 12:51:19 No, VirtualBox is probably the least reliable vm manager you can find Oct 27 12:51:32 What would you prefer? vmware? Oct 27 12:52:01 ...and it's USB support isn't so great either because it can readily get into snits with Windows about who's in charge of a given USB slot Oct 27 12:52:16 Actually running adb on the native platform Oct 27 12:52:17 And how could I reproduce this without adb? Oct 27 12:52:33 i.e, if you're running Windows, just go get the windows binaries for it Oct 27 12:52:56 Or reinstall Ubuntu on it's own partition and stop messing about with VirtualBox Oct 27 12:53:48 Yeah, I usually switch to windows to do the pushing, which is a pain Oct 27 12:54:04 I can't run both OSes in parallel without and vm, though Oct 27 12:54:48 I fail to see a reason to be running it in a VM in the first place Oct 27 12:55:22 Because maven won't run properly on windows Oct 27 12:57:20 Well, take your pick as to which is less painful... Fixing maven, fixing virtualbox so that it has _exclusive_ use of that USB port, or shrinking your Windows partition by ~16-32Gb and actually installing Ubuntu on bare hardware Oct 27 12:58:28 I can't fix any of them Oct 27 12:59:00 look who crawld right in /: Oct 27 13:02:07 Or, use one of the ubuntu liveboot images that saves state to the usb Oct 27 13:03:29 ? Oct 27 13:06:07 pretty cool http://listentothe.cloud/ Oct 27 13:10:10 Hi. Can someone help me with NumberPicker? I am trying to use one in a Dialog but it looks like it is missing any theme. Oct 27 13:11:09 it looks like follows: https://p.styler2go.de/2244263/ Oct 27 13:12:13 is there some way I can find out what layout I am working in with from the IDE? Oct 27 13:16:08 a method calls a static class to do some server interactions, I want to dismiss a dialog from the server interaction method and I want to use .findViewById Oct 27 13:16:33 how do I find the view that goes before the .findViewByID? Oct 27 13:16:57 activity.findViewById Oct 27 13:25:00 you dont want to be passing context to that place Oct 27 13:25:08 that's a first Oct 27 13:25:36 why dont you send an event bus event from within the method's onSuccess Oct 27 13:25:47 receive it back at the activity, change the UI :P Oct 27 13:27:35 ewvent bus event Oct 27 13:27:40 what is that? Oct 27 13:28:29 well.. Oct 27 13:29:07 disregard, I'd rather see someone answering this with the proper solution Oct 27 13:30:09 actually I wouldn't place these server interaction methods in a static class that is so cut off from the activity Oct 27 13:30:24 you'd have to pass the waitingDialog, the Context, the idontknowwhat, it's a clusterfuck Oct 27 13:30:29 for the sake of being "tidy" Oct 27 13:33:03 ok, so I go back to where the call to the server interaction is made and setup an event handler that triggers after the event completes? Oct 27 13:33:59 yea this is real confusing Oct 27 13:35:10 Is there a calendar view layout that supports decoration, and is inflated fast (fragment doesn't lag when loading)? Oct 27 13:37:01 you send the event from inside the task Oct 27 13:37:05 the receiver is in your activity Oct 27 13:37:40 I....think you will get a "only the thread that created the UI can touch its elements" exception Oct 27 13:37:41 but try Oct 27 13:37:54 what you can do is :) Oct 27 13:38:02 inside the task, runOnUiThread() Oct 27 13:38:17 but you need a reference to the activity in that case so you can say activity.runOnUiThread Oct 27 13:38:20 you're fucked bro Oct 27 13:38:26 welcome Oct 27 13:38:51 if you want, pass a reference to the activity to the server task, who fucking cares, get it working Oct 27 13:40:56 Odaym: no bad words, please Oct 27 13:40:59 The problem is the calendar view takes time to inflate. Oct 27 13:41:07 im sorry sweetheart Oct 27 13:51:53 I really feel like much could be done to make handling dialogs better Oct 27 13:52:16 Im sure once I know these libraries and how to deal with threads better, I will realize everything is there which I need Oct 27 13:52:30 there is much to wrap my head around Oct 27 13:52:45 and my old brain is resistant to learning I think Oct 27 13:52:59 If I have a tab based navigation bar that I've created from various buttons and need to use in multiple fragments, with onClick listeners and various other logic, should I create a custom View or Activity or Fragment for that navigation bar? Oct 27 13:53:15 Hi. Can someone help me with NumberPicker? I am trying to use one in a Dialog but it looks like it is missing any theme. it looks like follows: https://p.styler2go.de/2244263/ Oct 27 13:58:19 it's not resisting anything man Oct 27 13:58:26 it's a difficult thing you stumbled upon, just deal with it Oct 27 13:58:39 it's not impossible, I run into it several times Oct 27 13:58:43 updating ui from thread.. Oct 27 14:05:53 does anyone know how to objcopy for target in an Android.mk Oct 27 14:06:40 like i have a huge file that i need to convert from binary to elf and link it to the program i'm building Oct 27 14:10:23 noone ever worked with NumberPicker? :D Oct 27 14:11:51 styler2go, I looked at your screen shot Oct 27 14:11:53 i have Oct 27 14:11:58 seems horribly wrong there Oct 27 14:12:01 what've you done Oct 27 14:12:05 and I have no idea what your question is Oct 27 14:12:30 Nothing. just added a NumberPicker to RelativeLayout Oct 27 14:12:37 xml file: https://p.styler2go.de/5483398/ Oct 27 14:13:13 with that theme i at least get the old fashioned style, removing theme will result in the screenshot above Oct 27 14:13:18 what do you feel is wrong with your layout? Oct 27 14:13:46 why are you setting its theme to dialog Oct 27 14:13:57 just create a dialog in code, set its view to that view Oct 27 14:14:06 just to see if it works firstr Oct 27 14:14:50 azv4, the NumberPicker has no theme/style and one can look through it to the view behind Oct 27 14:15:14 styler2go, transparent background? Oct 27 14:15:29 Odaym, because it is a dialog Oct 27 14:15:39 it's a number picker Oct 27 14:15:41 not a dialog Oct 27 14:15:47 it's sits inside a dialog Oct 27 14:16:30 yes Oct 27 14:28:08 hi my friends Oct 27 14:30:39 Hi everyone Oct 27 14:30:58 I have a problem in the development of an application, I explained it here : http://stackoverflow.com/questions/40286096/using-adjustresize-pushes-up-my-tabbar Oct 27 14:31:07 I don't know if you could be able to help me Oct 27 14:37:30 guys can anyone point me in the right direction, I want to write functional tests with fragments using espresso Oct 27 14:40:45 Even background colors are being ignoren.. woah those NumberPickers... Oct 27 14:47:51 hi Oct 27 14:48:12 i want update android studio with proxy how can i do that ? Oct 27 14:48:50 Anyone here had any experience with android SDK licenses not working correctly? Oct 27 14:51:03 https://material.io/ Oct 27 14:52:04 i want update android studio with proxy how can i do that ? Oct 27 14:52:19 homa_ what OS are you running? Oct 27 14:52:33 linux , chamunks Oct 27 14:52:40 Also who is running your proxy ( you or someone else ) Oct 27 14:53:06 chamunks, i want use tor as proxy Oct 27 14:53:10 Also what type of proxy a socks proxy or a vpn Oct 27 14:53:39 okay well theres been ways to redirect ports as they leave your machine through proxies. Oct 27 14:53:55 how Oct 27 14:58:44 homa_ https://superuser.com/questions/539203/how-can-i-make-tor-route-all-my-traffic https://superuser.com/questions/316851/how-do-we-configure-another-browser-to-use-tor Oct 27 14:59:13 That should start you down the path to knowing how. Oct 27 15:01:07 anyone TESTS here? Oct 27 15:11:08 no Oct 27 15:21:15 tests are for the weak Oct 27 15:24:07 can I modify this line so that it is forced to run on the ui thread? new Handler().postDelayed( new Runnable(){ public void run(){ pf.dismiss(); }}, 2000); Oct 27 15:24:32 lol, still on this Oct 27 15:27:15 back to this Oct 27 15:27:25 I did spend a fair amount of time reading up on some related topics Oct 27 15:27:48 if you have a clear answer to my question, woudl greatly appreciate it Oct 27 15:27:56 you were already given clear answers Oct 27 15:28:08 pass the main looper in to the ctor of the handler, or retrieve a handler from a view object Oct 27 15:28:24 not sure where to do that though... Oct 27 15:28:36 I guess I should look at handler again in the docs Oct 27 15:28:41 read the docs Oct 27 15:28:47 this isn't #spoonfeedanswers Oct 27 15:28:50 Im having issues with my eyes this morning though, making reading very ahrd Oct 27 15:28:59 you are a crab apple Oct 27 15:29:06 teach a man to fish... Oct 27 15:29:21 I understand, and Im trying Oct 27 15:29:34 but I can hardly read, my eyes wont focus this morning, its miserable Oct 27 15:29:42 screenreader Oct 27 15:30:09 its bad, I got blinded by the sun the other morning, and my eyes are already bad, and Im having major issues since getting blinded Oct 27 15:30:23 the eclipse is next year Oct 27 15:30:26 it was a forced prolonged exposure to looking directly into the sun Oct 27 15:30:26 staring at the sun now is a bad idea Oct 27 15:30:39 It's best to only do that at night Oct 27 15:30:46 So guys are you getting ready for the #android-dev IRC Halloween Party? Oct 27 15:31:16 I was driving and got caught in high speed traffic on highway where the sun was reflecting off wet road, and also directly in line of sight, and I was 100% blinded on highway going 100kph Oct 27 15:31:32 sunglasses are a good idea when driving Oct 27 15:31:38 didn't have any handle Oct 27 15:31:46 bummer Oct 27 15:31:54 this is literally the only time this exact situation in my 30 years of driving Oct 27 15:32:05 azv4: we are happy you survived Oct 27 15:32:09 it's interesting how recent news makes it seem like chevy bolt is dead in the water because the tesla model 3 will have self-driving hardware... Oct 27 15:32:50 I hope all cars in the US are Tesla soon Oct 27 15:32:57 apparently they don't know americans and their love of cars(driving) Oct 27 15:33:14 * pfn still plans on getting a bolt as soon as it's available Oct 27 15:33:17 GM, Ford, Dodge, they have abused the public for too long Oct 27 15:34:17 I had a Prius C, it was a great car, until I hit a 20 kilo baby deer and the Prius C basically exploded into 100 pieces and nearly killed me with its horrible airbag system Oct 27 15:35:04 airbags are all generally catastrophic measures Oct 27 15:37:06 O.o Oct 27 15:38:33 azv4: how did you hit a deer? Oct 27 15:39:07 Melatonina, I was driving on the road and the baby deer was on the road and I didn't see it, I hit it going fairly fast Oct 27 15:39:26 it was at about 6:30 am and was very dark and rainy out Oct 27 15:39:40 was going maybe 55mph Oct 27 15:40:07 it is the only accident I've had in my life with me behind the wheel, I was quite annoyed by the whole thing, just happened last summer Oct 27 15:40:39 raoul11: hi! Oct 27 15:40:46 azv4: scary Oct 27 15:41:12 I still cant believe I didn't see it, my eye sight is declining quickly lately though Oct 27 15:41:42 must be old Oct 27 15:42:00 could a Tesla detect a deer on the road? Oct 27 15:42:03 hi Melatonina Oct 27 15:43:42 getting old at the same approx. rate as you Oct 27 15:43:54 I might be a little farther along;)_ Oct 27 15:46:21 What's a Thread without a Looper? If I create a Thread with new Thread(...) will it be without a looper? Oct 27 15:47:46 Does that mean just a Thread that doesn't call Looper.prepare();? Oct 27 15:49:36 It should be so Oct 27 15:49:52 is there any API for password managers like Lastpass? I see one for iOS, but it seems like all the android apps use their own keyboard and screen scraping Oct 27 15:50:56 Melatonina, https://developer.android.com/reference/android/os/Looper.html Oct 27 15:51:11 adq: I read it Oct 27 15:51:18 a thread without a looper is a thread without a looper, it will be without a looper if you create a thread without a looper Oct 27 15:51:41 ok. Thanks for confirming it Oct 27 15:51:41 whats a looper Oct 27 15:51:46 hi Oct 27 15:52:24 azv4: a message loop implementation Oct 27 15:52:33 what is a message loop? Oct 27 15:53:00 it's a loop that listens for messages and does something when they arrive Oct 27 15:53:19 i have an api and i am trying to get image out of it... but i can't here is the api " http://affordablehairtransplants.com/app/api/aboutus.php " Oct 27 15:53:44 why can't you? Oct 27 15:56:04 azv4: if you used Handler to post Runnable, you used the services of a Looper through its Handler Oct 27 15:56:27 sorta understand that I guess Oct 27 15:56:38 I need to get more terminology locked in, Im lost 1/2 the time still Oct 27 15:57:02 what is the Visual Studio C# term that is like 'post' in Android world? Oct 27 15:57:06 call? Oct 27 15:57:15 you don't usually deal with the Looper because when you create a Handler it binds automatically to the Looper of the current Thread. So you don't see it Oct 27 15:57:28 looper is like an event handler? Oct 27 15:57:39 yes Oct 27 15:57:50 and post is like? Oct 27 15:57:59 post is a method call? Oct 27 15:58:01 function call? Oct 27 15:58:03 Let me check .NET documentation Oct 27 15:58:10 Im sorry, no need to do that Oct 27 15:58:13 I can figure it out Oct 27 15:58:20 no, it's like when you do AsyncInvoke Oct 27 15:58:26 it's called something like that Oct 27 15:58:28 it is a handler Oct 27 15:58:45 post == AsyncInvoke Oct 27 15:58:46 it delegates a method call to a separate thread right? Oct 27 15:59:11 to the event loop which is possibly running in a differen thread Oct 27 15:59:28 yes Oct 27 15:59:52 ok, I hope some of that sinks in! Oct 27 16:00:01 this eye strain business is ruining my week holy smokes... Oct 27 16:00:28 amg I made it work Oct 27 16:00:38 here is my beautiful code that surely is horrendous! Oct 27 16:00:48 tests are for the sane Oct 27 16:00:57 activity.runOnUiThread(new Runnable() { Oct 27 16:00:57 public void run() { Oct 27 16:00:57 new Handler().postDelayed( new Runnable(){ public void run(){ pf.dismiss(); }}, 2000); Oct 27 16:00:57 } Oct 27 16:01:01 }); Oct 27 16:01:04 * azv4 ducks for cover Oct 27 16:01:12 is that a nightmare? Oct 27 16:01:37 it actually works, but I think I will setMessage to let user know of failure Oct 27 16:01:44 it's a peculiar piece of code Oct 27 16:02:09 azv4: do yourself a favor and use retrolambda Oct 27 16:02:28 I prefer hipsterlambdas! Oct 27 16:02:45 * azv4 realizes he isn't very funny Oct 27 16:03:09 and buy a Tesla with auto-pilot Oct 27 16:03:39 but I live on a pretty low wage... I hope Tesla is so successful they can offer a full featured car for people on lower middle class incomes Oct 27 16:04:07 activity.runOnUiThread(new Runnable() { Oct 27 16:04:07 public void run() { Oct 27 16:04:07 pf.setMessage("Vi-Mobile server unreachable"); Oct 27 16:04:07 new Handler().postDelayed( new Runnable(){ public void run(){ pf.dismiss(); }}, 2000); Oct 27 16:04:07 } Oct 27 16:04:07 }); Oct 27 16:04:11 Im sorry Oct 27 16:04:21 I was trying to post it with retrolambda Oct 27 16:04:21 azv4: I don't think posting code like that is appreciated here Oct 27 16:04:31 I know, Im sorry, I thought it would be way less lines Oct 27 16:05:46 I feel like I learned something very important Oct 27 16:05:58 not sure it is considered acceptable form to do things like that Oct 27 16:14:16 thebishop, there is no api yet, openyolo aims to solve that Oct 27 16:14:54 azv4, model 3 is $35k Oct 27 16:15:22 but won't be available for general purchase until at least 2018 probably Oct 27 16:18:18 anyone using the design support bottom sheet? i remember reading there wer a few things off with it. is that still the case? Oct 27 16:23:12 I just tried it recently Oct 27 16:23:21 It was fairly straightforward Oct 27 16:23:56 Hello, does anyone have experience with adb repeatedly killing and starting the adb daemon when any adb command is run? This is on Ubuntu if that is of any help. Thanks Oct 27 16:24:34 that's what i figured. thanks orbyt. Oct 27 16:24:49 banana_oat, mixing adb versions Oct 27 16:25:43 Okay interesting. I am running adb version 1.0.32 from the command line. I am also running android studio could that have a different version of adb? Oct 27 16:26:01 possibly Oct 27 16:26:06 most likely Oct 27 16:32:53 pfn, lol, only $35k huh? Oct 27 16:33:06 that is approx. 2x what my budget allows... Oct 27 16:33:18 then you mean lower-class, economy car Oct 27 16:33:23 35k is thoroughly middle class Oct 27 16:33:50 the median is 50k in the US Oct 27 16:33:54 income that is Oct 27 16:34:09 if you're a developer, your income is above median Oct 27 16:34:11 I work for 20% less than that... Oct 27 16:34:17 median income of everyone. not developers Oct 27 16:34:29 and middle class isn't middle income Oct 27 16:34:35 the 'middle class' income isn't based on dev's alone... Oct 27 16:34:54 I choose median for a legit reason in this case Oct 27 16:34:55 no, but this discussion kinda is Oct 27 16:35:12 and middle class income varies by region Oct 27 16:35:18 middle class income in california is ~100k Oct 27 16:35:40 middle class income around here is about $32k on average I'd estimate Oct 27 16:35:53 odd Oct 27 16:35:54 dev beside me has been here for 8 years, has 30 years exp, and makes $37k Oct 27 16:36:02 then he’s getting fucked in the ass Oct 27 16:36:10 no, he is doing well in this area Oct 27 16:36:25 it isn't unheard of for some devs to work for as low as $12 an hour around here Oct 27 16:36:36 like junior devs Oct 27 16:36:39 then they’re being fucked Oct 27 16:36:40 what bfe is this... Oct 27 16:36:46 NW PA Oct 27 16:36:50 fucked Oct 27 16:36:53 it is a terrible economy around here Oct 27 16:37:04 sux2bu Oct 27 16:37:04 damn, server identity reqd(?) Oct 27 16:37:06 I was born into it, and invested myself in family in the area unfortunately Oct 27 16:37:11 for others, not for development Oct 27 16:37:20 and remote work is a thing Oct 27 16:37:36 you’re not that far from major areas where devs get paid a sane amount Oct 27 16:37:37 I hope to develop the skillset to earn the opportunity to do remote dev Oct 27 16:38:09 Pittsburgh is closest, and $45-60k is normal for mid level devs there, 35-40 for junior guys Oct 27 16:38:32 not worth the 90 minute drive each way for an extra 5-10k per year Oct 27 16:38:35 and they’re one of the areas that does complain about not having talent Oct 27 16:39:09 the taxes around here are very unattractive for businesses Oct 27 16:39:27 i really doubt that too Oct 27 16:39:34 you are wrong then Oct 27 16:39:47 I'm 43 years old, my family has been in this area for 220 years Oct 27 16:39:48 of course, I’m in California, and I guarantee you are taxes are more, yet we don’t have problems with business Oct 27 16:39:51 and I've seen a thing or two Oct 27 16:40:26 California is a special case in so many ways Oct 27 16:40:33 no, it’s not Oct 27 16:40:35 so huge, diverse... Oct 27 16:41:38 til old tech Oct 27 16:41:54 if you look at the history of this region, the money trails are much different Oct 27 16:42:12 * capella lurks :| Oct 27 16:42:26 we were a steel producing region, in the 1980s when the Bush's and Clinton's pushed free trade, we lost our economy to China Oct 27 16:42:31 me studies moeny trails ;) Oct 27 16:42:42 we literally had the bottom drop out of our state's economy almost overnight Oct 27 16:42:49 and then sat on your asses after it happened Oct 27 16:42:59 from Syracuse ... heard of the Solvay family? Oct 27 16:43:18 I guess we needed you to literally save us from ourselves with your brilliant economic preservation policy Oct 27 16:43:28 several areas had the steel industry drop out from under them. but others were able to survive Oct 27 16:43:37 eh, free trade is going to happen regardless Oct 27 16:43:37 we are all surviving Oct 27 16:43:40 with huge tax burdens? Oct 27 16:43:41 no, you needed to do shit Oct 27 16:43:56 steel left. That sucks. Move on to the next thing Oct 27 16:44:04 free trade stuff happens when idiots vote for people who profiteer from free trade at the expense of a whole generation's wellbeing Oct 27 16:44:15 after steel we grab petro Oct 27 16:44:17 no, the economy is global Oct 27 16:44:23 fuck globalism Oct 27 16:44:27 ++ Oct 27 16:44:27 that's all Ill say about that Oct 27 16:44:29 you could have staved it off for a generation, but it won't net you anything Oct 27 16:44:38 we staved it off for many generations Oct 27 16:44:44 no, you didn't Oct 27 16:44:45 that's not true Oct 27 16:44:48 then the Bush's and Clintons got together and forced it on us Oct 27 16:44:49 yes, we did Oct 27 16:44:59 you are too young and ignorant to have an opinion on this topic, that is quite clear... Oct 27 16:45:13 ahhh, so anyone who disagrees with you is ignorant now Oct 27 16:45:18 and "young" Oct 27 16:45:23 you know nothing, jon snow Oct 27 16:45:28 anyone who makes idiotic statemnts like the ones you made Oct 27 16:45:31 is simply an idiot Oct 27 16:45:42 ignorant to its truest definition Oct 27 16:45:50 yay, one less person here to help Oct 27 16:45:54 too simple, keep yelling, er explaining Oct 27 16:45:59 that is fine, you are of very little help anyways Oct 27 16:46:03 * pfn throws yet another fool on ignore list Oct 27 16:46:05 someone who says that you guys needed to move on after steel is ignorant. Oct 27 16:46:06 you are more prone to bitch than help Oct 27 16:46:14 deflection Oct 27 16:46:22 so let’s compare those areas that did move on after steel to your area. Oct 27 16:46:24 you know full well I was commenting on tarriffs and free trade Oct 27 16:46:53 materials fabrication is getting awesom at the quantum level Oct 27 16:47:04 we moved on in this area, we moved on to CNC and computer controlled manufacturing, which supports this region Oct 27 16:47:16 and it does so by funneling all the profits to owners not operators Oct 27 16:47:24 and leaves the masses to the service industry Oct 27 16:47:28 or to invent something new Oct 27 16:47:35 polariton propagation in high energy super optimized systems Oct 27 16:47:35 which is no different than when steel was there Oct 27 16:48:58 there is a battle going on between globalism and isolationism, and neither side is clearly winning, it isnt going to be a simple or clear transition Oct 27 16:49:03 I like locking my front door before bed... dropping off for a few Oct 27 16:50:13 it is easy to make statements like, "move on from steel", but when you have a region that was raped of natural resources, poisoned to the hilt in groundwater, for full generations, chocked full of the least desirables who didn't up and leave to better regions in the 80s when steel fell out, you have a complex problem with no easy solution Oct 27 16:51:19 kroot, so I can better understand which word you booted me over, can you tell me? I don't recall using a "swear" word Oct 27 16:51:51 pfn, thanks, i'll take a look Oct 27 16:52:57 azv4: I don't know, but my bet's on the one preceding "of natural resources". Oct 27 16:53:17 i assume it has something to do with the use of the word "idiot" directed to another member Oct 27 16:53:48 or maybe for the talking about politics instead of appdev Oct 27 16:53:50 probably also best to keep politics out Oct 27 16:54:01 well idiot has a literal meaning, I've never understood how it was mistakenly associated with "swear" Oct 27 16:54:03 I'm not going to read through it. My wager stands. :-) Oct 27 16:54:08 I can live with that Oct 27 16:55:05 either way, I'd love to afford a Tesla that the rest of the middle class outside Cali can afford;) Oct 27 17:00:02 s73v3r, for the record, literally every one of the major steel producing regions of yester-years is still in HORRIBLE shape after NAFTA Oct 27 17:02:15 Morning all, I have a pretty low level question about surface textures. I'm trying to use MediaPlayer and send the surface texture to Unity to render. I can't control when Unity decides to run its gl draw and it seems to be causing timing issues. I'm calling SurfaceTexture.updateTexImage() from Unity's GL context and I see 12 ms hangs. Oct 27 17:02:21 Looks like (to my very fresh eyes) that GLConsumer is doing some VSync, which might work great for when Android does a draw but this is halting my Unity rendering. Is this a right assumption and is there a way to disable VSYNC for surfaceTexture/GLConsumer? Oct 27 17:02:53 can anyone check if slideshare.net is kind of insane (status 999)? Oct 27 17:03:48 working fine here Oct 27 17:04:31 apple event just started Oct 27 17:20:26 Has anyone dealt with SurfaceTexture and vsync? Basically, can anyone confirm that its blocking on vsync and whether theres anything I can do about that? Oct 27 17:24:26 thanks, raoul11 Oct 27 17:37:05 hi, i know that you've already heard this question before ... i want to know if my android is affected by with the privilage esclation dirtycow kernel vulnerability ?? i'm intersted to know if any of my apps(all installed from google play store) are able to execute native code that calls the effected kernel functions for example using the following android methode https://developer.android.com/reference/java/lang/Runtime.html Oct 27 17:37:58 my phone isn't rooted, Oct 27 17:38:26 you want to know if any of the apps on your phone might exploit the dirtycow vulnerability? Oct 27 17:39:59 yep i think you can say so i run android version 4.1.2 Oct 27 17:40:16 * azv4 tried Oct 27 17:40:25 kernel 3.0.8 Oct 27 17:40:50 a3rpha22: ask #android or #android-root Oct 27 17:40:52 also if there is any way to patch my phone Oct 27 17:41:01 Hello! is there any better way to stop user messing up with the application while doing something in the background. For example a singup page. After user clicked signup and waiting response from the server. Is the best way just disableing all other components? Oct 27 17:42:07 Youre vulnerable to everything Oct 27 17:42:22 You don't even have SELInux protection there Oct 27 17:42:51 Don't, don't, don't download apps from anywhere even remotely fishy, and you should probably put some thought into what webpages you visit with a phone that old Oct 27 17:43:44 toark: the easiest is probably putting up a non-cancellable progress dialog. you also have to take into consideration that the user may background your app while your task is executing. Oct 27 17:45:30 a3rpha22: If you can get a Cyanogenmod image for that phone, the patches are making their way into nightly builds right now, should start showing up in most nightlies rather soon Oct 27 17:59:11 the dart keynote with flutter was very, very, interesting :) Oct 27 18:07:24 g00s: hi hi Oct 27 18:09:48 are they still claiming 120hz apps? Oct 27 18:14:46 s73v3r they are claiming no fragmentation :D Oct 27 18:14:55 hey thepoosh Oct 27 18:15:20 your app ships everything it needs Oct 27 18:16:02 how do you mean? Oct 27 18:16:40 watch the keynote Oct 27 18:17:27 wut? Oct 27 18:17:54 so flutter apps are a minimum 30mb each... Oct 27 18:18:14 g00s: which keynote? Oct 27 18:18:27 thepoosh the dart dev summit day 2 keynote Oct 27 18:18:36 oh, link? Oct 27 18:18:56 g00s: https://events.withgoogle.com/firebase-dev-summit/agenda/ Oct 27 18:20:39 thepoosh https://events.dartlang.org/2016/summit/ Oct 27 18:21:32 thepoosh maybe you like " How to build a Dart and Firebase app in 30 mins" :D Oct 27 18:21:35 not watching the apple event g00s? Oct 27 18:21:58 adq didn't even know there was one lol Oct 27 18:22:07 new MBP? i can read about it later Oct 27 18:23:00 hello everyone. where can i tell people about my android app Oct 27 18:23:49 pfn i guess the MS surface were bumped spec wise Oct 27 18:23:53 tumble4ya: facebook, reddit Oct 27 18:24:02 but they are pretty much the same, more like a refresh Oct 27 18:24:08 i7, bigger battery Oct 27 18:24:25 indeed, it'd be nice to have an i7, but I'll make do Oct 27 18:24:31 kinde like how apple does mid year refresh Oct 27 18:25:58 adq "Apple’s new Macbook Pro has a headphone jack" thats all i needed to know, phew! Oct 27 18:27:41 hm, they converted everything to thunderbolt 3 ... Oct 27 18:28:17 is this turning out to be another firewire fiasco ? Oct 27 18:30:04 no, cause Thunderbolt and USB are compatible Oct 27 18:30:09 and it’s using USB-C connectors Oct 27 18:30:41 . Oct 27 18:30:45 oh great, my dumb Oct 27 18:31:28 s73v3r i wish they didn't get rid of the mag safe power Oct 27 18:31:35 one of the best things evar Oct 27 18:31:58 You have microusb cables with magnets Oct 27 18:31:59 i think they were tired of people complaining about fraying cables Oct 27 18:32:20 Where you leave the head connected Oct 27 18:32:30 So less strain in the usb Oct 27 18:32:40 ornitorrincos orly, man i'm out of it with state of the art Oct 27 18:33:03 No data though, so it can be tricky for phones if you develop for them Oct 27 18:34:05 so that keyboard looks more compact, key spacing - is it short travel too? christ, for $2400 might be better to get a surface :D Oct 27 18:37:13 can’t type on a surface on your lap Oct 27 18:39:01 thats ok w/me i never do that anyhow, neck strain Oct 27 18:39:31 g00s: bringing the framework?! Oct 27 18:39:36 sounds terrible Oct 27 18:39:40 bring the framework ! Oct 27 18:40:06 thepoosh everything sounds terrible this morning :( Oct 27 18:40:09 sounds awful Oct 27 18:41:29 haha HN is shitting all over this (MNP) Oct 27 18:41:46 all i care - Affinity Designer works on Windows now :D \o/ Oct 27 18:42:00 i don't ever get too comfortable in any ecosystem Oct 27 18:42:33 but these companies try their damnedest ... Oct 27 18:46:40 oddly enough, they were overjoyed at the thought of a bluetooth jog dial Oct 27 18:48:17 hmm, image file lacking extension, this is in header: RIFF8Ÿ WEBPVP8X Oct 27 18:48:21 any ideas what a RIFF8Ÿ WEBPVP8X is? Oct 27 18:48:49 WebP image? Oct 27 18:49:14 VP8 video. Oct 27 18:49:35 RiffTrax audio? :p Oct 27 18:50:01 Sooper sekrit NSA memorandums. :) Oct 27 19:01:06 hmm, \n gives newline in some of my notifications, but not all... Oct 27 19:01:22 \n Oct 27 19:05:04 anyone know what's the deal with landscape peek height for bottom sheet dialogs? Oct 27 19:28:16 dsardari: I just assumed it was broken and stopped using the support lib for it Oct 27 19:37:53 hey droids, I'm using jenkins to run `clean build` as part of my CI pipeline. This will run the android linter. How can I have the android linter not fail the build on warnings? It suggests setting abortOnError to false, but I would like it to fail the build if there are linting errors, just not linting warnings Oct 27 20:12:44 I keep getting DC'ed today :/ Oct 27 20:12:46 hey droids, I'm using jenkins to run `clean build` as part of my CI pipeline. This will run the android linter. How can I have the android linter not fail the build on warnings? It suggests setting abortOnError to false, but I would like it to fail the build if there are linting errors, just not linting warnings Oct 27 20:36:49 So T-mobile no longer carries the HTC 10. Meaning my only option for warranty replacement is the S7 Edge Oct 27 20:41:22 It's not a bad phone at all Oct 27 20:42:48 s73v3r i think they are going to have the pixel Oct 27 20:42:59 wasn't that announced today or something ... Oct 27 20:44:03 I wonder what will happen with the IntelliJ/AS shortcuts with the new Macbook... Oct 27 20:45:16 surf2b1: https://youtrack.jetbrains.com/issue/IDEA-163208 Oct 27 20:45:37 they announced that you can buy the pixel, and over 24 months they’ll reimburse you Oct 27 20:46:09 how do I remove the old android system images I'm not using anymore? I only have like 2 on here but I want to remove at least one of them Oct 27 20:46:31 it's taking up a lot of space I need to reclaim Oct 27 20:46:37 like for AVD? Oct 27 20:46:42 yeah Oct 27 20:46:44 find them on the hd and delete them Oct 27 20:46:49 is that safe? Oct 27 20:46:57 why not Oct 27 20:47:03 if you have an AVD image you’re using, it’ll break that Oct 27 20:47:09 otherwise, yeah, you’ll be fine Oct 27 20:47:13 yeah I don't want to put anything in a broken state Oct 27 20:47:20 I can delete whatever avd I was using too I don't care Oct 27 20:47:24 is that the only down side? Oct 27 20:47:34 yeah Oct 27 20:47:40 ah okay Oct 27 20:47:42 s73v3r: thanks for the link. Hmm.. so will the function keys no longer be there? I use a lot of shortcuts. I don't know how I feel about this. haha Oct 27 20:47:53 wasn't sure if it'd throw anything else into a bad state Oct 27 20:48:02 what link? Oct 27 20:48:37 also, I don’t use function keys, so I’m cool with them going away. and I’m pretty sure there will be something that lets you create your own buttons to put up there Oct 27 20:48:44 oops... that was meant for xorgate Oct 27 20:49:09 surf2b1: like dmitry (jetbrains) said, 'im sure we will think of something' Oct 27 20:49:28 so feel free to give them ideas Oct 27 20:49:39 i’m going to bet that the majority of Mac developers will have something there Oct 27 20:49:59 my main problem with the new mac is that it still has 16 gig ram Oct 27 20:50:06 which is starting to become a problem for me Oct 27 20:50:10 even if it’s just buttons that do the same thing as the function keys did, it’ll be more discoverable cause they’ll have names Oct 27 20:50:39 in the keynote the guy was really hammering the touch bar :/ Oct 27 20:51:05 s73v3r: there are quite a few shortcuts that use function keys in AS. You don't use those? Oct 27 20:51:13 nop[e Oct 27 20:51:36 so rename a field is shift + f6... what do you do to rename fields? Oct 27 20:51:45 i use f2 :/ Oct 27 20:51:53 i right click and select “rename" Oct 27 20:51:59 ouch Oct 27 20:52:03 yeah, ouch Oct 27 20:52:24 hell i'd prefer 'cmd+shift+a and then rename' Oct 27 20:52:25 if i’m in the mood to rename, then I’ve already got my hand on the mouse, cause i’m scrolling around reading code, not typing Oct 27 20:52:35 hi guys Oct 27 20:52:45 hm AS has pretty solid navigation though Oct 27 20:52:51 no need for mouse scrolling for me Oct 27 20:53:11 shift-f6 doesn't work anymore in Android Studio Oct 27 20:53:16 i’m heavy on the mouse wheel Oct 27 20:53:29 i’d love a keyboard that had that built in Oct 27 20:53:35 Melatonina: it does for me but maybe I'm using different mappings Oct 27 20:53:40 i have seen some that have, but they had other problems Oct 27 20:53:57 I didn't change anything. After the update to 2.2 it stopped working Oct 27 20:54:21 I'm on 2.2 and just used it. Oct 27 20:54:44 I just tried it, and nothing Oct 27 20:55:02 wait, no, it works Oct 27 20:55:08 and key mapping shows shift+f6 as the active keybinding for rename Oct 27 20:55:11 i had to have the cursor over a symbol Oct 27 20:55:37 ok Oct 27 20:55:43 I had function keys disables Oct 27 20:55:55 surf2b1 and s73v3r thanks for the feedback Oct 27 20:56:00 Keep using it and your hand will thank you later :P Oct 27 20:56:45 anyways, part of the reason I don’t use the Fn key shortcuts is that I have no idea what they are Oct 27 20:57:05 if they were buttons that actually said what they do, instead of arcane, generic names, I’d be more likely to use them, I think Oct 27 20:57:18 I rename things a lot so I remember shift-f5 Oct 27 20:57:20 f6 Oct 27 20:57:27 but then when I go back to work and use the USB keyboard, I’d be back to the mouse Oct 27 20:57:39 Android Studio is rich in features and consequently key combinations Oct 27 20:57:50 It does take some time to memorize but it is worth it. Maybe the magic touchpad will be good then. Oct 27 20:58:00 meh Oct 27 20:58:13 i also used to have the KeyPromotor plugin, but that just got annoying Oct 27 20:58:57 did you know that there is a touch sensitive display for smartphones and similar device that can change shape of the surface via software Oct 27 20:59:00 s73v3r: https://www.youtube.com/watch?v=eq3KiAH4IBI Oct 27 20:59:12 i'm sure he discusses some features you don't use :0 Oct 27 20:59:21 i don’t watch videos at work. what is it? Oct 27 20:59:40 when the soft keyboard is displayed, the keys "come out" from the screen and you can feel them Oct 27 20:59:42 ah 23:00 here :) it's a guy explaining a bunch of advanced features of intellij Oct 27 21:00:46 apparently it has been bought by Apple some time ago Oct 27 21:00:46 they’re all accessible from menus Oct 27 21:00:51 you're just selling yourself short by not using the keyboard more Oct 27 21:00:57 no, i’m not Oct 27 21:01:02 http://www.patentlyapple.com/patently-apple/2010/06/apple-introduces-the-incredible-shape-shifting-device-interface.html Oct 27 21:01:06 well suit yourself of course Oct 27 21:01:27 i use some keyboard shortcuts, but i don’t use ones that use the fn keys Oct 27 21:02:35 you can remap Oct 27 21:02:43 meh Oct 27 21:03:08 alright :) Oct 27 21:03:44 https://i.kinja-img.com/gawker-media/image/upload/s--faB74PsM--/c_fit,fl_progressive,q_80,w_636/kl57aermvvbl0xbpg4sv.gif Oct 27 21:03:57 the main problem with those keys, though, is discovery. I have no idea what those keys do or what shortcuts can be used with them. And, quite frankly, I’ve got too many other things to do to find out Oct 27 21:04:01 that's a clip showing the morphing of the display Oct 27 21:04:33 I’ve heard of that, and I wish that tech was ready for this Oct 27 21:14:07 anybody try this origami studio yet ... Oct 27 21:14:32 ? Oct 27 21:15:15 https://facebook.github.io/origami/ Oct 27 21:16:06 um http://origami.design/ Oct 27 21:27:01 got the pixel today... mmmm Oct 27 21:30:57 Someone's high on their own farts there Oct 27 21:31:41 Not really sure it's a good idea for people's designs to emulate FB at all Oct 27 22:00:09 Correct me if im wrong but you cant make a class Parcelable if it has member variables that are not primitives correct? Oct 27 22:02:22 you can have parcelable members too Oct 27 22:02:43 non-primitive, subclasses of Parcelable Oct 27 22:03:29 Right, but for example one of my classes has a BluetoothDevice variable Oct 27 22:03:38 Which I dont think is Parcelable Oct 27 22:03:58 Whoops it is, how about that.. Oct 27 22:17:52 your member doesn't have to be parcelable, you just need to be able to create it when unparceling Oct 27 22:19:05 yeah, I was thinking the same Oct 27 22:19:29 pfn: Which would essentially involve destructuring the object into primitives, correct? Oct 27 22:19:43 if your member can be serialized to a primitive type (String or something else) or another Parcelable type you can still make your type parcelable Oct 27 22:19:56 orbyt_, more or less, yes Oct 27 22:21:04 Is there any way in Android to simply pass any object between two activities, regardless of fields they contain? Oct 27 22:21:09 nope Oct 27 22:21:16 yes, use a singleton to pass data Oct 27 22:21:19 it’s their biggest design flaw Oct 27 22:21:26 everything exists on the heap Oct 27 22:21:40 pfn: Yea, sort of a last resort though Oct 27 22:21:41 you could store it in a singleton and retrieve it on the other side Oct 27 22:22:28 you could store a an object in a map between an int and an Object, pass the int and retrieve the object on the other side Oct 27 22:24:46 what life cycle methods are called once you replace a fragment with a transaction? Oct 27 22:24:59 OnCreate and OnCreateView Oct 27 22:25:06 OnAttach Oct 27 22:25:49 Does anybody know ExtractMpegFramesTest here? Oct 27 22:26:19 from BigFlake.com Oct 27 22:26:22 i can't seem to see any of those being called in my logs Oct 27 22:26:28 http://bigflake.com/mediacodec/ExtractMpegFramesTest.java.txt Oct 27 22:30:37 KukOrkan: Did you put Log statements in to actually log that? Oct 27 22:32:54 ...yes Oct 27 22:34:11 Did you put them in for the _new_ fragment? Oct 27 22:34:32 Those aren't going to fire for the fragment you're replacing. Oct 27 22:41:19 Anyone have any ideas why my app won't install for my beta tester. It just says "not compatible". I have minSdkVersion at 16 and he's running 22, and the only uses-feature I have is android.software.live_wallpaper. Oct 27 22:51:22 hi, can anyone with Android Map API help me? im getting only a white screen rendered. I need to figure out if its an API key problem or my application (im using react-native-maps) Oct 27 22:51:49 Android Map API experience* that should say Oct 27 22:52:54 ugh http://arstechnica.com/tech-policy/2016/10/its-official-oracle-will-appeal-its-fair-use-loss-against-google/ Oct 27 22:53:21 lee_da_biker well, react would be a huge wildcard Oct 27 22:53:27 this is native app dev Oct 27 22:53:35 I have created 3 keys for Maps, a restriced Android MAPS API Key, an unrestricted and a unrestricted Javascript API key - i have tried them all in my manifest Oct 27 22:54:12 g00s, I wondered if theres a simple uptodate native project i can validate my API keys with Oct 27 22:54:18 to rule out that Oct 27 22:54:40 just something light and is known to work Oct 27 23:23:46 ugh, keep doesn't do richtext? that's kind of annoying Oct 27 23:49:00 Why is my application waiting for the debugger to attach if I'm not running it in debug mode? Oct 27 23:51:38 do you call waitForDebugger somewhere? Oct 27 23:52:41 It's code from the web. It's designed as part of a test suite for Android graphics. I'll search for that method call. Oct 27 23:52:44 Thanks Oct 27 23:55:26 No, it's not called. Oct 27 23:55:44 I started another emulator and that doesn't happen Oct 27 23:55:52 I'll start again the first emulator Oct 27 23:57:55 Restarting the emulator fixed the problem Oct 27 23:58:38 By the way, Android Device Monitor's File Explorer doesn't work with a Nexus 5x API 24 image Oct 28 00:00:37 I managed to make ExtractMpegFramesTest work! Oct 28 00:00:58 Well, I just googled StackOverflow hard enough Oct 28 00:01:08 I'm a failure and dumb Oct 28 00:07:40 Will somebody attend to the #android-dev Halloween mega-party? Oct 28 00:09:28 I guess I will be alone Oct 28 01:00:03 capellasRightBeh: hello. How are you? Oct 28 01:01:03 lol TrumpScript is a thing Oct 28 01:07:07 it's a silly thing Oct 28 01:30:17 Hello I have service that hosts SQLite DB. From my Activity I need to export some data. So I send export message to service and there I try to call File root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); Oct 28 01:30:58 root.mkdirs() failes. I did added permission for reading and writing to manifest Oct 28 01:31:29 Anyone what I am missing and why I can't save data to Download folder from service? Oct 28 01:45:10 Guma: did you request the permissions at runtime? Oct 28 01:45:20 No. How? Oct 28 01:45:47 That is right. I do not eve remember being asked about this on install. Oct 28 01:47:09 Guma: https://developer.android.com/training/permissions/requesting.html Oct 28 01:50:02 Guma: you are welcome Oct 28 01:50:19 Opps. Sorry. You very welcome!!! Oct 28 01:50:26 I got straight to reading Oct 28 01:52:48 No. I'm thanked. You are welcome. Oct 28 01:52:56 should be Oct 28 02:02:49 Melatonina That fixed my issue. Thank you and hats down to you :) Oct 28 02:03:06 np :) Oct 28 02:03:17 I had the same problem few hours ago Oct 28 02:20:13 Hey guys, anyone know what I am doing wrong in this update call for firebase ? http://pastebin.com/xp2Yh3C2 I am trying to add a new child if it does not exist Oct 28 02:27:01 http://stackoverflow.com/questions/40297110/firebase-update-childred-not-working :/ **** ENDING LOGGING AT Fri Oct 28 03:00:00 2016