**** BEGIN LOGGING AT Sat Mar 19 02:59:58 2016 Mar 19 03:05:14 is creating 2 media players and start/stopping them together the best way to play 2 audio clips simultaneously? Mar 19 03:05:40 i've looked at SoundPool but i get the feeling its use case is for really short sound clips, like sound effects Mar 19 03:50:10 Hmm, so playing 2 mediaplayers loaded with .mp3's that are ~1 minute long, I can only hear the one that had .start() called on it the latest. Eg. If i call mOne.start(); and then mTwo.start(); I only heard mTwo. Mar 19 03:50:48 But, if I substitute one of the tracks with a .mp3 that is only ~3 seconds long (looping) I can hear both mediaplayers normally. What might cause this Mar 19 03:50:51 ? Mar 19 03:51:13 mediaplayer lol Mar 19 03:51:18 why is that funny Mar 19 03:52:05 you're expecting some kind of sane behavior out of it Mar 19 03:52:28 ¯\_(ツ)_/¯ Mar 19 03:52:42 I did look at SoundPool but dont think thats suitable for this use case Mar 19 03:52:49 and comes with its own set of issues.... Mar 19 03:53:06 g00s: is there a better alternative? Mar 19 03:53:25 exoplayer maybe Mar 19 03:55:05 alright will take a look at it Mar 19 04:11:47 any recommendations for higher level sqlite libraries, or just keep rolling my own? Mar 19 04:33:54 if i want to implement circular imageviews is it wiser to do it myself or use one of the popular libraries I see online? judging by the libraries it seems a bit more complicated than just setting rounded corners but each one i see has a decent handful of bugs that come along with them :\ Mar 19 04:34:39 Akayllin: whats your minSdkVersion? Mar 19 04:36:29 its 21 Mar 19 04:36:55 you can just set the view outline then Mar 19 04:38:20 Akayllin: http://hastebin.com/xusecayiro.java Mar 19 04:41:16 thanks! circular images look better for profile images in my app Mar 19 04:45:36 Napalm is it still requirement, nested fragments need to be dynamically created Mar 19 04:53:02 g00s: erm, you mean require a public blank constructor? Mar 19 04:54:05 when nested fragments were introduced, the children could not be s in layouts, you had to dynamically create them Mar 19 04:55:16 using the childFragmentManager Mar 19 04:58:02 this is probably still true, nm "Note that one limitation is that nested (or child) fragments must be dynamically added at runtime to their parent fragment and cannot be statically added using the tag. " Mar 19 04:59:34 g00s: yes, i suspect thats still an issue.. i never use tags anyway Mar 19 05:00:05 Napalm do you use nested fragments ? Mar 19 05:00:16 i have done Mar 19 05:12:22 Napalm hopefully this weekend i'll get around to trying the sqlite.org android bindings ... Mar 19 05:12:44 never used the NDK before, and the instructions don't really go into how to build it - should be fun Mar 19 05:13:08 well, beside saying 'ok now do ndk-build' :) Mar 19 05:13:30 does the gradle plugin let you create a library project with native libs ? Mar 19 05:13:36 .so (s) Mar 19 05:20:38 hello, I am beginner/novice android developer and am trying to implement a feature where the user can switch between a custom inapp keyboard and the native installed keyboard Mar 19 05:20:39 something like how Whatsapp has a button for emojis which switches to a tab of smilies instead of the keyboard Mar 19 05:21:21 has anyone had the ui layout xml parser just break on them? Mar 19 05:23:20 emceelovin the AS xml editor ? Mar 19 05:25:58 yeah, the one when you double click on the xml_layout and it shows it rendered and you can modify it Mar 19 05:26:10 i think when i was updating stuff through the SDK manager a while back, it broke then, but im not quite sure Mar 19 05:26:23 im gonna reinstall AS and see what happens. fuck it Mar 19 05:26:35 i needed an excuse to stop being lazy and make something to eat Mar 19 05:42:20 Gotta love the android bug tracker.. https://code.google.com/p/android/issues/detail?id=189789#c477 Mar 19 05:44:20 Workaround: Disable the battery optimisation for com.qualcomm.timeservice Mar 19 05:44:22 lol Mar 19 05:49:50 g00s, The FutureRelease is always what gets me Mar 19 05:50:09 Because for Android that just means "whenever we feel like rolling out another update" Mar 19 05:50:29 Which probably means Android N, because god forbid they release a 6.0.2 Mar 19 05:52:16 But it appears as if the team that manages the tracker on code.google is completely separate from the devs working on the actually issue. Themselves using an internal bug tracker. Mar 19 05:52:28 Unity-Mobile Dev attempting to create native code to select an video file using the built in gallery then send the URI back to the game engine. No real luck (it doesn't help that I don't really know the native language [I'm C#, not Java].) Mar 19 05:55:24 KevinM yeah, sadly a disconnect between public tracker and internal one Mar 19 05:56:42 Doesn't appear to be as bad with the Android tools (still an internal tracker, but devs use both?) Mar 19 05:57:35 The actual Android devs appear to work within a locked box at Google and only a select few people who probably aren't on that team get to participate with the "outside world" on the code.google tracker Mar 19 05:58:18 They follow the tracker, engaging is a totally different ball game that comes at a very expensive price. Mar 19 06:02:45 CedricBeust, I don't doubt that at all but with the way that it's currently being used (i.e. little engagement) a tracker seems like a poor format Mar 19 06:03:11 Any format where the engagement is unilateral will be unsatisfying to the people participating. Mar 19 06:03:43 All you can do is report bugs and trust that they are being considered and prioritized according to what the team wants to accomplish. It sucks but that's the way it is. Mar 19 06:04:31 the worst is when you have problems with GMS Mar 19 06:04:41 can't submit those to the AOSP tracker Mar 19 06:04:54 (╯°□°)╯︵ ┻━┻ Mar 19 06:05:08 fuckin app works on emulator but not device -___________- Mar 19 06:05:17 Submitting feedback for GMS using the in-app mechanisms is arguably better since there's no expectation that you will receive a reply or be updated Mar 19 06:05:53 KevinM where is that ? Mar 19 06:06:40 For specific Google apps it's in there as "send feedback." I just did that for Maps a few minutes ago because they removed the "never" option from the location tips dialog. Mar 19 06:07:10 oh i meant bugs in the GMS APIs Mar 19 06:07:20 or bugs in their documentation Mar 19 06:07:27 For GMS go to the Google Settings app which is directly exposed by GMS and then hit the menu then Help & feedback then Send feedback Mar 19 06:07:37 That's the only way I know of to reach the GMS team Mar 19 06:08:57 Someone was able to get in contact with them indirectly here https://github.com/googlesamples/android-play-location/issues/26 Mar 19 06:09:40 hm i don't see a google settings app. Mar 19 06:09:59 It's in my app drawer Mar 19 06:10:06 i remember that at one time though Mar 19 06:10:11 Your best bet would probably be the AOSP tracker. In the way it's currently being used it's really just a feedback form for most issues Mar 19 06:10:50 all i have are main Settings app, Google app Mar 19 06:11:04 yeah when i submitted to AOSP they just said wronfforum Mar 19 06:11:10 don't bother ;) Mar 19 06:11:19 Wow Mar 19 06:12:05 Would've been nice if they couldn't pointed you in the right direction. Although I assume they didn't because there just isn't any way for developers to get in contact with them Mar 19 06:12:12 *could've pointed you Mar 19 06:14:45 g00s, com.google.android.gms/com.google.android.gms.app.settings.GoogleSettingsActivity Mar 19 06:15:01 and just adb shell am start that Mar 19 06:15:35 If you're on Marshmallow maybe you have to go to the main settings app to get to that Mar 19 06:16:26 Another way to get to it is go to your Google account under "Accounts" Mar 19 06:16:49 tap Account preferences, tap the back arrow, and you're there Mar 19 06:17:20 cool thanks Mar 19 06:17:38 still seems really weird way to submit API bugs Mar 19 06:17:56 i've done my best to avoid GMS so far, haha Mar 19 06:18:09 keep my sanity using a few google apis as possible Mar 19 06:18:13 *as Mar 19 06:19:36 KevinM and don't get me started on the emus having out-of-date versions of GMS which aren't updateable Mar 19 06:19:49 so yeah try to avoid that stuff if i can Mar 19 06:20:07 That's been my biggest problem, historically Mar 19 06:20:31 and that form is definitely not for reporting API bugs but that is literally the only way I can find to contact the GMS team. It's very sad. Mar 19 06:21:52 It's one thing to have poor (zero?) communication with apps like Hangouts or Maps but for GMS where there are developer-facing APIs? Odd. Mar 19 06:30:26 app plays both audio streams on emulator, but not on a nexus 5 or a tablet. thoughts on what may be causing this? Mar 19 06:31:01 tablet is 5.0, nexus is 6.01, tried the emulator for both and it worked on the emmy only Mar 19 07:02:36 Can anyone help me with Bluetooth API. i have to make an app that connects two android phones over bluetooth and then one can see the live feed of the camera of the other device.I have read bluetooth documentation but didn't find any way to implement the different connection threads given in the documentation Mar 19 07:08:46 well BluetoothSocket, InputStream/OutputStream, similar to network sockets Mar 19 07:32:11 long story short, im sure i already suffered the answer to my question after literally reversing my code, is it possible to run a server behind sprint? does anyone know if theres anyway to enable such a thing behind sprint? if sprint has a port(s) it allows phones to bind on? i tried http port 80, ftp port 21, and ssh port 22 to see if sprint allowed those, but apparently you get EACCESS Mar 19 07:32:12 while trying to do so. is that an android thing? Mar 19 07:32:49 just sucks because the focus of my app is my phone, and i want it to be the server. originally i had the windows side be that, and it all working. then i go and delete everything, make it the server, when i totally forgot i was behind sprints network and probably cant do that Mar 19 07:36:27 would listening for connections on my windows app, connecting the phone to it, then connecting successive connections to the windows app even make sense or sound sane? i.e. using the first connection to give all the other connections the phones real address to connect to, or is that not how ip works Mar 19 07:40:57 i guess thats what ill do. ill just connect the windows app to the phone via the windows app being the server, then listen for connetions on the windows app itself and forward it to the phone Mar 19 07:45:43 emceelovin: you've got two problems Mar 19 07:46:02 seems like i have one big one lol Mar 19 07:46:32 first problem, you can't typically listen on ports below 1024 unless you're running as root - that's a Linux/Unix thing Mar 19 07:47:02 second problem, it's very likely that your phone is NATed and/or firewalled to block those ports anyway Mar 19 07:47:03 well i am, but i have to think in terms of the general public. Mar 19 07:47:23 right i figured that. of course i didnt remember that, when i know about that, until the last minute Mar 19 07:47:32 i just wasnt thinking out of excitement of doing my app the "right" way... Mar 19 07:48:14 the first problem isnt a problem at all. i wouldnt care what port above 1024 a person used. im sure the second problem is the problem =/ Mar 19 07:48:49 i guess the only way to achieve what i want is to use the first instance of the windows app as the middle man... Mar 19 07:49:35 since with port forwarding etc. on any sane router, desktops can accept connections. like it does now Mar 19 07:51:46 Leeds this might sound stupid, but since i have a connection between my phone and windows app, is it somehow possible to tunnel to that, or well should i say, use that sockets data to gain a connection from another point? stupid question im sure Mar 19 07:52:36 im sure overall im gonna just end up tunneling data in my app someway or another, but figured it was a try. seeing as how once the phone connects to the app, its able to send data, so i figured maybe there was a way Mar 19 07:53:50 as a general principle, assume you have to initiate connections *from* your phone Mar 19 07:53:50 Leeds appreciate the help brother Mar 19 07:54:08 yeah idk why that didnt occur to me...i mean in the beginning i had the phone be the client Mar 19 07:54:30 depending on what you're actually doing, GCM might be a viable alternative Mar 19 07:54:39 gcm? Mar 19 07:55:17 nevermind Mar 19 07:55:41 push through Google Mar 19 07:55:59 oh. well in a way thats kinda what im doing, but not really Mar 19 07:56:46 in a way. its fine though. just have to go back to the way it was and modify my structure overall. Mar 19 07:57:10 my windows app will just be the middle man Mar 19 07:59:13 changing all this stuff should be fun... Mar 19 08:05:01 im such a big dumbo and it didnt occur to me with such a huge code change to save my project before... Mar 19 08:05:31 dude Mar 19 08:05:34 version control Mar 19 08:05:43 rough Mar 19 08:05:45 i keep telling myself to get that... Mar 19 08:06:08 dude Mar 19 08:06:13 backups Mar 19 08:06:25 i know i know...im really kicking myself right now. no joke Mar 19 08:06:47 its not TOO bad since i just rearranged code really, but i sitll have to undo that and put it back where it was..fuck. you live you learn Mar 19 08:07:33 git init before continuing Mar 19 08:09:04 this will never happen again.. Mar 19 08:12:13 this really wouldnt be so bad if building and debugging android apps was fast like windows app Mar 19 08:12:33 that install everytime you need to debug just makes me wanna slam my dick in the door... Mar 19 08:34:57 http://stackoverflow.com/questions/20461243/how-to-play-two-sine-wave-on-left-and-right-channel-separately-with-16-bit-forma?rq=1 Mar 19 08:35:15 hey guys, would like to ask what does the for(sample = 0; sample < buffer1.length; sample ++){ time = sample / sampleRate; buffer1[sample] = (float)(amplitude1*Math.sin(2*Math.PI*f1*time)); buffer2[sample] = (float)(amplitude2*Math.sin(2*Math.PI*f2*time)); } do ? Mar 19 08:35:23 thanks based on that link :/ Mar 19 08:38:20 i need help with this example Mar 19 08:38:21 https://developers.google.com/maps/documentation/android-api/start#the_xml_layout_file Mar 19 08:39:17 i have got error Error inflating class fragement Mar 19 08:40:32 Read the rest of the stack trace to find out what the error is Mar 19 08:44:04 it is same like this Mar 19 08:44:05 http://stackoverflow.com/questions/35780033/google-maps-activity-on-android Mar 19 08:44:11 but there is no answer Mar 19 08:47:57 Looks like there's an accepted answer Mar 19 08:54:02 i got it Mar 19 09:11:01 http://stackoverflow.com/questions/20461243/how-to-play-two-sine-wave-on-left-and-right-channel-separately-with-16-bit-forma?rq=1 with reference to that link, any idea what does this for loop do? for(sample = 0; sample < buffer1.length; sample ++){ what is sample? Mar 19 09:11:22 and why the time formula has to be that? ( time = sample / sampleRate;) Mar 19 09:12:17 and what does this do ? Mar 19 09:12:17 buffer1[sample] = (float) (AMPLITUDE_LEFT * Math.sin(2 * Math.PI * f1 * time)); Mar 19 09:38:55 how make dot in the center of relative layout ? any idea ? Mar 19 09:39:17 or little rectangle Mar 19 11:02:00 that moment you compile thefile to run in an emulator then Error:Execution failed for task ':wallet:preDexDebug'. Mar 19 11:02:00 > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_71\bin\java.exe'' finished with non-zero exit value 1 Mar 19 11:02:03 that happens Mar 19 11:02:03 xD Mar 19 11:07:11 wait i might be a noob Mar 19 11:10:39 thats not the error ;) just the result Mar 19 11:11:45 danijoo, well thats all it outputs me in the Gradle Console and such so it might be jdk 8's fault lol :p Mar 19 11:12:28 yes. but thats just the message telling you "something went wrong". the actual error might be somewhere above that Mar 19 11:13:42 i scrolled through it just says all the stuff compiling then just go BUILD FAILED and threw that at me danijoo haha xD Mar 19 11:14:04 anyone knows how to make a dialog with different text / background colors? Mar 19 11:14:27 hypermist, check the gradle output Mar 19 11:14:53 looks like https://github.com/avast/android-styled-dialogs doesn't allow to change the text color Mar 19 11:19:09 looks like it's dex related danijoo Mar 19 11:20:04 http://pastebin.com/ycwRkCS9 as from the gradle console danijoo Mar 19 11:23:43 maybe a DialogFragment has more room for customization? Mar 19 11:24:29 hypermist, are you using proguard? Mar 19 11:24:38 well i think the issue was jdk 8 Mar 19 11:24:38 xD Mar 19 11:24:47 jdk 8 works fine Mar 19 11:25:08 well i removed jdk 8 and put jdk 7 and it built and didn't throw an error this time Mar 19 11:25:42 also danijoo i ahve another question here and there my android studio will go from normal ui to http://prntscr.com/ah59oa Mar 19 11:25:42 xD Mar 19 11:25:58 latest gpu drivers Mar 19 11:26:06 gpu drivers before that also did the same :S Mar 19 11:26:09 wow Mar 19 11:26:14 fix your os ^^ Mar 19 11:27:11 But the thing is Mar 19 11:27:20 Its only doing it with certain programs Mar 19 11:27:32 not an AS issue though i guess Mar 19 11:27:34 I just switched my jdk to jdk 7 and then that showed up i switch to jdk 8 and i hadnt had it for ages Mar 19 11:28:36 but the proguard for jdk 8 might be the issue Mar 19 11:28:54 as this isnt my project its open src danijoo https://github.com/coinomi/coinomi-android is the main project Mar 19 11:30:20 imma just about rage Mar 19 11:30:23 and go fetch my laptop Mar 19 11:30:25 and work on that instead Mar 19 11:30:29 since i know that WORKS Mar 19 11:30:29 xD Mar 19 11:38:59 thats exactly what im gunna do now xD Mar 19 12:46:58 how do you set listview items background colour? Mar 19 12:47:09 dynamically Mar 19 12:49:45 is to have a list view with different colours Mar 19 12:50:00 you change the view in the getView of the adpater Mar 19 12:50:16 but you should not be using a listview in this day&age Mar 19 12:50:31 what should i be using then? Mar 19 12:50:37 RecyclerView Mar 19 12:50:57 mmh nope i don't need a RecyclerView for this Mar 19 12:51:24 if you need a listview you need a recyclerview Mar 19 12:56:09 not if you need a really simple list Mar 19 12:56:41 but yea i use recyclerview most of the time Mar 19 13:09:17 I need a way to pull the sqlite database file of my app from my device to see if the app works correctly. I found a couple ways via google about a week ago, but none of them worked on my device. any suggestions? should my app have a button that copies the file to external memory card? Mar 19 13:32:01 saapas: use the Android Device Monitor Mar 19 13:32:06 saapas: u can explore the device from there Mar 19 13:36:08 Twirl, thanks, but it shows no contents of /data Mar 19 13:36:24 idk man Mar 19 13:36:33 keep looking Mar 19 13:36:40 if you can't find it then it's not there Mar 19 13:36:54 for your information, all apps are in there. Mar 19 13:37:10 good to know Mar 19 13:37:26 but apparently I don't have permission to browse or access them this way, eithe Mar 19 14:28:23 any idea why the recyclerview covers my button in the layout when it's too big to fit on the screen? Mar 19 14:30:45 this is the layout http://pastebin.com/raw/Wu7LEVKV Mar 19 14:31:28 for some reason the button disappears when the recycler view list gets too big Mar 19 14:31:37 idk why Mar 19 14:31:55 i even tried putting the recyclerview inside a linear layout and the button outside of it Mar 19 14:55:28 Hi guys. I'm in the process of creating a new Android Gradle Project. Not sure what to check in Support Mode: though. I'm yet to know what sort of Support Libraries I need, can I change/add these later on? Mar 19 14:58:47 yes Mar 19 15:10:09 Good thanks Mar 19 15:12:57 i am looking for some test API Mar 19 15:15:03 Hi!! Mar 19 15:16:33 I need to store a key into my android app to decrypt a file. What is the best way to store it to avoid reverse engineering it? Mar 19 15:16:52 not storing it on android device Mar 19 15:17:09 adq, getting it from a server ? Mar 19 15:18:47 though i haven't look in details https://developer.android.com/preview/features/direct-boot.html but it might be interesting, though it's probably not for your use-case, however they mention "device encrypted storage"" Mar 19 15:20:31 JoseBravo, it is really a complicated topic, you could ask the user to provide the decryption key for example Mar 19 15:20:44 so it does not stay in the device, except temporarily in memory when needed Mar 19 15:21:23 what you are asking is "how to securely store a symetric key on an android device" Mar 19 15:22:28 adq The thing is that the user can't know the key, just use it if the app allows the use Mar 19 15:23:08 what if someone has rooted his device and decompile your apk? Mar 19 15:23:33 jesus.. I JUST generated a new project and already it cannot resolve R Mar 19 15:25:44 adq right now I'm storing half of the key into the code and the other half is received by the server and stored in preferences encrypted (with a key sotred in the app too) Mar 19 15:25:56 adq but I'm looking a better solution Mar 19 15:26:03 *for Mar 19 15:27:15 check http://android-developers.blogspot.fr/2013/02/using-cryptography-to-store-credentials.html maybe Mar 19 15:29:45 reading Mar 19 15:30:35 also http://developer.android.com/training/articles/keystore.html Mar 19 15:32:10 maybe you can ask once your server the key and store it in the keystore provider, but you still have the same problem since you don't want the (trusted) user to be part of the auth mechanism to retrieve the key Mar 19 15:38:49 for some reason my DialogFragment doesn't want to show the button inside the LinearLayout it inflates when it get's larger than the viewport because of the recyclerview inside of it has too many elements, but it shows fine when there is not so many elements as to fill the view, any way to fix this? Mar 19 15:44:28 already tried putting the recyclerview inside a linarlayout and adding padding to it, stll not working for some reason Mar 19 15:45:06 the root linearlayout layout_height is set to wrap_content Mar 19 15:46:15 Anyone know how to resolve this from a fresh project? http://pastebin.com/LtWj2bWw I got all the necessary build tools installed, I've actually installed every single one now I think. And yes I've rebuilt and cleaned the project multiple times Mar 19 15:51:40 Twirl: hey, you mean the buttons are getting pushed off the screen because the recyclerview is getting to big? Mar 19 15:51:54 i found the problem Mar 19 15:52:02 can't scroll the linearlayout Mar 19 15:52:09 implementing navigation with bottom navigation is damn hard. if you want it persistent and task stack to be set properly switching between top level spaces, i can't think of another way than to do this all in once activity Mar 19 15:54:24 Napalm: idk how to fix it tho Mar 19 15:54:31 Twirl: i do, one sec Mar 19 15:54:46 g00s: i dont see the problem Mar 19 15:54:53 g00s: ps. im working on my own Bottom Nav lib Mar 19 15:54:59 Napalm: alright i fxed it Mar 19 15:55:05 Bernzel_: change your build tools to 23.0.2 Mar 19 15:55:09 placed it inside a scroollview Mar 19 15:55:15 ugh Mar 19 15:55:15 no Mar 19 15:55:22 your putting a RecyclerView in a ScrollView? Mar 19 15:55:32 no Mar 19 15:55:34 the linear layout Mar 19 15:55:37 that doesn't work Mar 19 15:55:51 but the LinearLayout has a RecyclerView in it? Mar 19 15:55:55 im so confused Mar 19 15:56:03 with Nav Drawer, i used it to switch among fragments, but then when something was selected usually went to another activity Mar 19 15:56:29 it's pretty complicated set up (many layers), i just fixed it so don't worry about it :) Mar 19 15:57:07 Twirl: ok, well there is a simple way.. Mar 19 15:57:24 i already fixed it but tell me anyways Mar 19 15:57:50 Napalm I'll do that. But when I placed one if the ic_launcher png images in "drawable" folder the error went away ? :s any idea why? Mar 19 15:57:52 Twirl: so you have a list and some buttons that you always want to appear at the bottom of the dialog thats a floating popup dialog? Mar 19 15:58:14 yea Mar 19 15:58:26 Bernzel_: probably because you have a reference to @drawable/ic_launcher when it should be @mipmap/ic_launcher Mar 19 16:00:34 Napalm , indeed that is it. But just @mipmap ? Not mipmap-hdpi or any of the other folders? Mar 19 16:01:54 Bernzel_, http://android-developers.blogspot.fr/2014/10/getting-your-apps-ready-for-nexus-6-and.html Mar 19 16:03:17 Ah okey. So the Drawable folder is for my "external" assets that I will use in the app? Mar 19 16:06:07 Twirl: so, heres a simple layout http://hastebin.com/iqivaxiyex.xml Mar 19 16:06:49 Twirl: if you want the list to scroll behind the buttons then set clipToPadding to false on the RecyclerView.. you could then add a semi-transparent background to the botton bar Mar 19 16:06:50 Napalm: don't worry about it, i already fixed it but that wouldn't wory Mar 19 16:06:59 nope that didn't work Mar 19 16:07:05 i already fixed it don't worry Mar 19 16:07:05 i know, im not worried Mar 19 16:07:13 cool Mar 19 16:08:00 Bernzel_: read this section https://developer.android.com/guide/topics/resources/overview.html Mar 19 16:08:34 Twirl: is it because your RecyclerView is expanding to the full height? always? Mar 19 16:08:40 im curious Mar 19 16:08:57 Napalm: don't worry it's really complicated Mar 19 16:09:02 can't explain Mar 19 16:09:06 also i'm working Mar 19 16:09:08 ok Mar 19 16:09:18 so am i.. got some cool shit to make Mar 19 16:09:21 so g00s Mar 19 16:09:36 g00s: what minSdkVersion you think this should be .. v7? Mar 19 16:11:56 i want to use TransitionManager with Scene transitions for it.. but thats min v19 Mar 19 16:12:26 thats one thing google should do, add a TransitionManagerCompat Mar 19 16:14:36 Napalm lol, i dunno guess minSdk should be 16 Mar 19 16:15:07 i set minSdk=19 , i might even set it to 21 Mar 19 16:15:57 How can I tint Navigation Item Icons in the navigation drawer? Mar 19 16:15:59 http://i.imgur.com/xDnbhLM.png Mar 19 16:18:03 MarkyC: call navigationView.setIconTintList() or add app:itemIconTint="@color/your_color" to the NavigationView Mar 19 16:18:20 MarkyC: rtfm https://developer.android.com/reference/android/support/design/widget/NavigationView.html Mar 19 16:18:23 ;) Mar 19 16:19:25 Napalm|afk have you talked to nick or chris about whether its going to show up ? Mar 19 16:19:37 Napalm|afk: nice, thanks! Mar 19 16:38:23 i've been deving on windows for so long, I forget Mar 19 16:38:43 is there a way to launch studio without needing a terminal window open? Mar 19 16:41:47 oh I didn't specify, I'm on ubuntu Mar 19 16:42:04 yea Mar 19 16:42:53 hey... question: i just removed a lib from my proejct and imported it's src... i modified the pacakge name at the top.. i check my declarations and i get ONE error , the problem is its using the type from the lib to try assigning it to the type from the src.. why is the type from the lib even there? Mar 19 16:58:48 Hello Mar 19 16:58:59 Im running android studio and am wondering where the difference between "Blank Activity" and "Empty Activity" is? Mar 19 16:59:19 Ok i just found a good answer - solved :O Mar 19 17:38:03 looking at Apache Kafka - is anyone using it as their pub/sub queue for mobile apps - instead of mqtt for example Mar 19 17:54:07 Hello Mar 19 17:54:16 Im trying to switch my activity using Intent browsePictureIntent = new Intent(this, BrowsePictureActivity.class); Mar 19 17:54:16 startActivity(browsePictureIntent); Mar 19 17:54:26 But I get "no suitable constructor found for intent(....) Mar 19 17:55:28 Ok solved, I was in the wrong context and this didnt work correctly here Mar 19 18:03:36 how do you set searchViewStyle pre lollipop ? Mar 19 18:03:58 Heya, when I do Intent browsePictureIntent = new Intent(ListActivity.this, BrowsePictureActivity.class); Mar 19 18:03:58 startActivity(browsePictureIntent); my app crashes randomly Mar 19 18:04:04 any idea why? :O Mar 19 18:04:09 or how I can even debug that? xd Mar 19 18:04:15 nothing happens randomly Mar 19 18:04:26 it must be something inside your computer Mar 19 18:04:29 :P Mar 19 18:04:50 I just did exactly what he did at accepted anwer here http://stackoverflow.com/questions/3591465/on-android-how-do-you-switch-activities-programatically Mar 19 18:05:02 But it doesnt print me anything useful, it just crashes :| Mar 19 18:05:31 I wonder how long it will take to get used to this 6p Mar 19 18:05:41 its awesome, but feels humongous in my hand Mar 19 18:05:59 anybody got an idea? ._. Mar 19 18:11:53 Nobody?.p Mar 19 18:12:39 RustyShackleford: still smaller than 6 ;) Mar 19 18:12:58 Xatenev: stacktrace Mar 19 18:13:19 adb shell Mar 19 18:13:20 logcat Mar 19 18:34:32 my toolbar menu disappears when i return to fragment from backstack Mar 19 18:34:45 what could be the issue Mar 19 18:35:34 I have a specific menu for one fragment...and it not returning after executing popbackstack() Mar 19 18:47:31 i've got 10 boolean columns in this database Mar 19 18:47:41 is there a more concise way to do that? Mar 19 18:48:02 bitmasks would be more concise in the database, but more work to use it Mar 19 18:48:13 RustyShackleford: its called an integer Mar 19 18:48:26 RustyShackleford: bit fields in a single integer Mar 19 18:48:40 uh yeah, you're right its an int. I'm interpreting it as a boolean Mar 19 18:48:52 wa? Mar 19 18:49:11 hah i dunno. sorry if I'm confusing you Mar 19 18:49:22 a more concise way of using 10 boolean columns is to use a single integer bit field columm Mar 19 18:50:00 gotcha. Yeah I'm weighing the pros and cons of that representation Mar 19 19:16:57 I love this Nexus 6p Mar 19 19:17:09 now I just need some friends to communicate with Mar 19 19:20:19 lol Mar 19 19:20:32 all dressed up and nowhere to go ! Mar 19 19:20:39 doesn't matter Mar 19 19:20:44 I'll stay home and play with my new phone Mar 19 19:20:57 * g00s sighs Mar 19 19:20:59 seriously though, this thing is so smooth and responsive Mar 19 19:21:13 miles ahead of my last phone Mar 19 19:21:17 galaxy s5 Mar 19 19:21:18 finally :) iOS was like that in 2010 :D Mar 19 19:21:42 and its Android as Google imagined it Mar 19 19:21:57 no TouchWiz or whatever other launchers, no 3rd party garbage Mar 19 19:24:13 hm fit.google.com is pretty neat Mar 19 19:24:28 i guess i should learn how to make accompanying web site for the app Mar 19 19:24:57 bleh web development Mar 19 19:25:03 I need a way to pull the sqlite database file of my app from my device to see if the app works correctly. I found a couple ways via google about a week ago, but none of them worked on my device. any suggestions? should my app have a button that copies the file to external memory card? Mar 19 19:26:02 saapas this should work : Mar 19 19:26:04 adb exec-out run-as package.name cat databases/file > file Mar 19 19:26:36 saapas also Stetho is pretty helpful here Mar 19 19:27:53 g00s, thanks, that gives me "error: closed" and exit code 255 Mar 19 19:28:11 O.o Mar 19 19:28:56 are you sure that one's bulletproof or is it just your experience on a few devices (with no disrespect intended)? Mar 19 19:29:20 I suppose it should be cat /data/data/package.name/databases/file ? Mar 19 19:29:44 g00s: just wondering if that requires root Mar 19 19:29:52 saapas yeah absolute path Mar 19 19:30:18 RustyShackleford should work on consumer and engineering builds w/o root Mar 19 19:34:05 g00s, if I call exec-out run-as in adb shell, should that work too? gives me /system/bin/sh: exec-out: not found Mar 19 19:34:29 saapas ah what version of android ? Mar 19 19:34:58 g00s, 4.4.2 Mar 19 19:35:06 oh lol, yeah thats old Mar 19 19:35:11 :< Mar 19 19:35:19 *old* Mar 19 19:35:43 I was supporting galaxy S lately Mar 19 19:35:45 any idea why my onOptionItemSelected() isn't triggering for the home button? I set a breakpoint on my switch and it never breaks Mar 19 19:35:47 that is old ;) Mar 19 19:36:19 grekkos: because it's invoked for menus ? Mar 19 19:36:37 hi, does YouTube app(client) is an open source? Mar 19 19:36:46 I consider this one still just as good as the new ones. waiting for a small phone with android 6.. :P Mar 19 19:38:04 saapas sadly, small phones tend to be budget, coming with bloatware and little support Mar 19 19:38:35 gordon_: isn't it supposed to trigger for android.R.id.home also? Mar 19 19:38:45 hm can't connect my bluetooth earpiece to my phone Mar 19 19:38:59 gordon_: I could have sworn I did that before but I can't find a sample of where Mar 19 19:39:19 grekkos: you mean toolbar back button ? Mar 19 19:39:45 at least that's it's id Mar 19 19:39:46 gordon_: i mean the toolbar hamburger button I have Mar 19 19:39:56 yeah I know there's the back button too I thikn the ids are different Mar 19 19:39:58 ah, then that's it Mar 19 19:40:08 yeah Mar 19 19:40:10 I was thinking about bottom home button Mar 19 19:40:22 ah Mar 19 19:40:27 sorry about that Mar 19 19:41:10 so for hamburger would it be in onOptionsItemSelected()? Mar 19 19:41:29 then - it should be called Mar 19 19:41:31 so now I'm pulling complete /data out of the device with android device monitor :-D Mar 19 19:42:51 grekkos: how are you setting the hamburger button? If you setting it via .setNavButton or whatever the method is, then setup a listener for .onNavClick. If your just using an imageview as the ham button, then set a normal click listener Mar 19 19:45:16 btw someone take a look at this and let me know if you have any ideas: http://stackoverflow.com/questions/36097494/mediaplayer-cannot-play-two-simultaneous-mediaplayers Mar 19 19:45:59 Does anyone use ResultReceiver for callbacks from IntentService Mar 19 19:47:18 Seems convenient, might be able to replace eventbus Mar 19 19:50:17 Damn, cant use it Mar 19 19:50:25 Wanted to use it inside a BroadcastReceiver Mar 19 19:52:27 this bluetooth earpice connects to my s5 no problem Mar 19 19:52:47 6p does not see it Mar 19 19:52:59 I made sure bluetooth on the old phone is turned off Mar 19 19:53:28 I guess I'll use EventBus to the broadcastreceiver Mar 19 19:53:47 also noticed that when I turn bluetooth on on this nexus, it tries to connect to my car bluetooth Mar 19 19:53:53 which is off and out of range anway Mar 19 19:54:19 eeh.. now that I pulled whole /data from the device, I can see its contents in android device monitor ?? Mar 19 19:55:00 bah.. I think that's the emulator after all. Mar 19 19:55:21 orbyt_: ah okay I think that makes sense I'll try the listener Mar 19 19:57:28 If I have a bunch of IntentService, is it better practice to get results through an EventBus or through passing the intent a ResultReceiver Mar 19 19:57:51 EventBus works, but is extremely de-coupled and hard to debug and follow Mar 19 19:58:14 ResultReceiver is still pretty de-coupled, but seems like it would be better for debugging and more natural to follow Mar 19 19:58:18 Any thoughts? Mar 19 19:59:24 orbyt_: I actually don't really know how that hamburger button is there, I used the template for creating a menu activity, it was cleaner and nicer than I could do it myself and there's a lot of black magic there Mar 19 19:59:44 you mean a drawer activity Mar 19 19:59:49 yeah Mar 19 19:59:53 post the code Mar 19 20:00:49 let me try one more thing first Mar 19 20:00:57 drose379: i just used a result receiver for a intentservice Mar 19 20:01:01 drose379: works really well Mar 19 20:01:14 Napalm how come you didnt use a EventBus? Mar 19 20:01:24 Im just trying to decide one over the other Mar 19 20:01:29 i wanted to give it a go.. plus cross process Mar 19 20:02:01 I have to pass a Handler to ResultReceiver? Mar 19 20:02:34 drose379: yea.. just do new Handler() to use the calling threads looper Mar 19 20:02:45 Makes sense Napalm Mar 19 20:02:45 Thanks Mar 19 20:02:50 or new Handler(Looper.getMainLooper()) Mar 19 20:02:53 to force main thread Mar 19 20:03:00 Well im in a BroadcastReceiver Mar 19 20:03:07 So it doesnt have to be on the Main Mar 19 20:03:11 erm.. Mar 19 20:03:20 ?? Mar 19 20:03:22 broadcastreceiver calls back on main thread? Mar 19 20:03:28 i forget.. i know service does Mar 19 20:03:43 Ill just use new Handler() and it should be on the same thread as the BroadcastReceiver Mar 19 20:03:49 yes Mar 19 20:03:51 but remember Mar 19 20:03:55 you only have 10 seconds max Mar 19 20:04:02 or your broadcast receiver will timeout Mar 19 20:04:11 Hmmm Mar 19 20:04:14 Should be fine Mar 19 20:04:17 Im making a HTTP request Mar 19 20:04:32 Well, in the BroadcastReceiver, im calling an IntentService that makes the request Mar 19 20:06:15 you know the way the layout preview shows the entire content of a ScrollView when the first tag is ScrollView. anyone know how to force this behaviour with other tags? Mar 19 20:06:28 android.support.v4.widget.NestedScrollView for instance Mar 19 20:06:47 tried android:isScrollContainer="true" and it doesnt change Mar 19 20:06:51 yeah that didn't work haha orbyt_ I think I need to create my own ActionBarDrawerToggler class or some such, is that right? https://gist.github.com/hk0i/24699fe0846564dc66c4 Mar 19 20:09:43 like my own drawerlistener Mar 19 20:12:41 grekkos: are you just wanting a drawer? .setDrawerListener is deprecated. All that code is doing is setting up a listener for drawer events Mar 19 20:14:44 orbyt_: so i have the drawer and the hamburger button... actually now that I think about it I guess what I'm trying to do is hide the keyboard when the menu comes out, but you can also slide the drawer so probably the onclick isn't what i'm looking for Mar 19 20:16:18 3 bar button Mar 19 20:16:26 it looks nothing like a hamburger Mar 19 20:16:53 grekkos: setup a drawer listener and do whatever you want when the drawers state changes Mar 19 20:21:16 This project has several modules. Is it possible to set compileSdk, minSdk and so on in a variable/constant Mar 19 20:21:18 orbyt_: yeah I just saw that.. awesome thanks so much I think it probably just helped more to realize what I actually needed to do Mar 19 20:21:23 then reference this in each module Mar 19 20:21:49 found some stackoverflow posts but their answers don't work for me Mar 19 20:22:35 like this for example: http://stackoverflow.com/questions/32635272/how-to-access-ext-variables-in-gradle Mar 19 20:31:57 RustyShackleford, compileSdkVersion rootProject.ext.compileSdkVersion Mar 19 20:32:03 i'm using that in the module for example Mar 19 20:32:32 and the root project build.gradle has: ext { compileSdkVersion = 23 ...etc } Mar 19 20:32:54 nothing more, note that AS is unable to understand it and will warn you despite there is no issue at compile Mar 19 20:34:07 otherwise, it's all documented in gradle doc iirc Mar 19 20:36:08 let me try this again Mar 19 20:36:19 its funny sometimes you'll be stuck on something for hours Mar 19 20:36:28 you revisit it again and wonder what the problem was Mar 19 20:36:48 be sure to put your ext { } declaration at the top of your project build.gradle Mar 19 20:37:01 so variables are declared Mar 19 20:37:22 you can also do differently with properties Mar 19 20:37:30 did not know that Mar 19 20:37:35 there are several project using that on github i saw Mar 19 20:37:58 there's also a way to override everything with subprojects { android {} } Mar 19 20:38:21 couldn't make that work. That works better almost Mar 19 20:38:32 ooh gradle! I'd love to know how to pass variables to custom tasks :P Mar 19 20:38:41 eg, in gradle.properties you put COMPILE_SDK_VERSION=23 and in your module build.gradle: compileSdkVersion Integer.parseInt(project.COMPILE_SDK_VERSION) Mar 19 20:38:44 ^ something like that Mar 19 20:38:53 because we set minSdk = 15. But I can take advantage of faster compiles if I set minSdk=21 everywhere Mar 19 20:39:14 adq: apparantly ext{} at the top is not required Mar 19 20:39:30 i find it more useful for the buildtoolsv and targertsdk Mar 19 20:39:40 RustyShackleford, maybe, i'm nto a gradle expert tbh :p Mar 19 20:39:48 no worries, me neither Mar 19 20:39:49 the less i customize it, the better i feel Mar 19 21:15:47 Okay I saw fair amount of bad reviews about ZXing, so I am confused enough to ask here: I want to make an app, that reads QR code, and then draws stuff on the screen (So it becomes more of AR or whatever), what is the best library for that? basically I want a quite great library, because my QR codes will have to be somewhat harder to read as they are styled to look unique from all other QRs Mar 19 21:17:31 Actually the Augmented Reality I am doing is all based on QR codes, the app reads QR and gets coordinates of various objects Mar 19 21:18:19 Doesn't the SDK have a built in QR code reader? Mar 19 21:20:52 Hello, I'm updating an old project, adding some material design elements. I've created the style files, and extending AppCompatActivity, my buttons get some of the design attribute but not all, for example I have ripple effect but no shadow. I've taken the style files directly from a skeleton project... any idea what am I missing? Mar 19 21:21:19 are you using official FABs? Mar 19 21:21:43 you are using the support library and eveything? Mar 19 21:22:04 design library? Mar 19 21:24:24 fattire: yes, I've added the design library, appcomat v7, suppot lib v4 Mar 19 21:24:38 pretty usual to use them all yes Mar 19 21:24:47 I'm talking about regular button, not fabs Mar 19 21:25:23 viran, you should show your style if you need help Mar 19 21:25:37 its hard to tell without seeing what you do Mar 19 21:26:39 here's tha style file: http://pastebin.com/ndwytmj3 Mar 19 21:26:56 the v21 is the same just with the android: prefix Mar 19 21:27:13 viran, dont do that. Mar 19 21:27:26 if you want to use support libs, use them for every version, not only pre 21 Mar 19 21:27:43 so remove the v21 files? Mar 19 21:27:47 yes Mar 19 21:28:20 also your AppTheme without a titlebar dont have any colors defined right now, so activities using AppTheme.NoActionBar wont have your button styles Mar 19 21:48:22 wasup Mar 19 22:01:14 hi, i just downloaded sdk to linux(ubuntu) i cd the tools but when i do emulator on cli it says doesnt rcognize Mar 19 22:02:22 im sure it says more than that Mar 19 22:08:03 danijoo i fixes it. added to ~/.bashrc Mar 19 22:08:59 danijoo i want to emulate custom img and im not sure how to do that Mar 19 22:09:25 you cant. Mar 19 22:10:23 danijoo so how i can debug or check modfications? only by running on device? Mar 19 22:10:54 emulator is for testings apps, not for testing OS tweaks Mar 19 22:11:02 also this is an app dev channel Mar 19 22:11:23 hmm where i can get help about it? Mar 19 22:11:30 #android-root Mar 19 22:11:37 see topic Mar 19 22:12:46 danijoo thanks and sorry Mar 19 22:50:18 Anyone use IntelliJ exclusively for Android development? Mar 19 22:53:44 Why would you do that? That's like boiling water over a fire rather than using a kettle imo Mar 19 22:54:11 some people do it because of intellij ultimate features i guess Mar 19 22:54:30 its not that much different from AS Mar 19 22:54:40 markyosullivan: boiling water over a fire is pretty efficient no? Mar 19 22:54:40 Is there not features they're missing from Android Studio? Mar 19 22:54:57 but more dangerous I guess Mar 19 22:55:14 I think the only thing that isnt merged into intellij yet is the CPU monitor Mar 19 22:55:16 rgb-one it's possible to do so but when you have something which was built for the purpose of boiling water, why not use it? Mar 19 22:55:56 because I've got a fire a blazin' already :p Mar 19 22:56:11 I have intelliJ installed already Mar 19 22:56:24 They're pretty much the same but I'd rather use Android Studio and know I'm not missing any advantages of using it Mar 19 22:56:25 I prefer one ide per 'job' Mar 19 22:56:37 so i have AS, intellij, rubymine all installed in parallel Mar 19 22:56:38 just use intellij Mar 19 22:56:57 no reason to use multiple ide unless you like waste Mar 19 22:57:03 yeah its really not a big deal. intellj is not missing much Mar 19 22:57:07 I got Android Studio and I also have IntelliJ for just Java related coding only and not Android Projects Mar 19 22:57:13 i just like my workspace focused Mar 19 22:57:21 Well I don't have IntelliJ installed on this pc atm actually Mar 19 22:57:38 That's the same as me danijoo Mar 19 22:58:18 rubymine? Mar 19 22:58:36 yes? Mar 19 22:59:00 Ah Mar 19 22:59:26 I've heard of WebStorm and IntelliJ, didn't know they had ones for Ruby and Python as well Mar 19 22:59:28 rgb-one, if you already have intellij, there's no requirement to also get android studio Mar 19 22:59:34 and PHP Mar 19 22:59:41 just be aware that documentation of any kind doesn't favor it Mar 19 22:59:55 pfn: Alright Mar 19 22:59:56 otherwise, there's nothing wrong with doing so Mar 19 23:00:07 Will check out how it goes with IntelliJ alone Mar 19 23:00:13 Wait, they're doing an IDE for iOS development? Mar 19 23:00:14 * pfn uses only intellij Mar 19 23:00:18 if that doesn't work I will go to Android Studio Mar 19 23:00:20 have been for years Mar 19 23:00:29 https://www.jetbrains.com/objc/ Mar 19 23:00:33 I am developing a calculator app Mar 19 23:00:36 since I fixed my intellij project import stuff Mar 19 23:00:37 I don't need much Mar 19 23:00:43 Will this mean you wont need a mac to develop iOS apps? Mar 19 23:01:03 I have 0 experience with Android development however Mar 19 23:01:10 rgb-one good luck, my first app was essentially a glorified calculator Mar 19 23:01:39 cool Mar 19 23:01:46 danijoo Mar 19 23:02:01 is xml required for the GUI or can one just code the interface with minimal effort? Mar 19 23:02:14 Do you know what the differences are between the different web based IDEs by JetBeans? Mar 19 23:02:22 you can code GUI with maximal effort, or use xml for minimal effort :p Mar 19 23:02:32 ^ this Mar 19 23:02:35 danijoo: cool :) Mar 19 23:02:42 Drag and drop would be so much harder than XML Mar 19 23:02:46 writing code to do layouts isn't very difficult Mar 19 23:02:55 but it's not pleasant in java Mar 19 23:03:10 have you used kotlin for anything pfn? Mar 19 23:03:13 one of my apps does layout exclusively through code Mar 19 23:03:19 I don't like kotlin Mar 19 23:03:29 it's just a marginal improvement over java Mar 19 23:03:43 I've got a big to-do list, trying out kotlin is on my list :D Mar 19 23:04:02 working in kotlin more or less exclusivly right now Mar 19 23:04:10 anko for kotlin has facilities for making layouts from code though Mar 19 23:04:19 which is better than java Mar 19 23:04:38 view-code in java is horrible Mar 19 23:05:23 as I've said in the past, kotlin is svn to java's cvs Mar 19 23:05:40 good if that's the improvement you're looking for Mar 19 23:06:03 so which one is git Mar 19 23:06:07 danijoo is there many libraries for kotlin? Mar 19 23:06:26 markyosullivan, who cares. you can use all java libraries Mar 19 23:06:40 Well, that's pretty damn useful! Mar 19 23:07:48 is xml always used for GUI in java, or is that an android specific thing? Mar 19 23:08:24 Can I activate intelliJ from the community edition? Mar 19 23:08:42 activate IntelliJ Ultimate* Mar 19 23:09:52 no Mar 19 23:10:37 DaveWM I remember creating windows with some Java class which didn't need any XML at all Mar 19 23:11:00 rgb-one, scala Mar 19 23:11:10 https://docs.oracle.com/javase/tutorial/uiswing/components/frame.html Mar 19 23:11:30 Yeah I used that and added buttons, shapes and other stuff in the past Mar 19 23:11:35 scala, huh, have you used it personally? Mar 19 23:11:50 was just a random curiosity... I never really worked in java.. was wondering if learning android development would easily allow one to transition to java application development Mar 19 23:12:17 Well I think its the other way around DaveWM Mar 19 23:12:27 Or it can be both Mar 19 23:12:38 If you could use XML for doing GUI for Java, I think that'd be good, just cause I'm used to Android layouts :D Mar 19 23:12:43 you need some knowledge of Java to do android app development Mar 19 23:13:27 I gather that... but it's nice to know when you learn something that it can be applied to other things Mar 19 23:13:41 I agree DaveWM Mar 19 23:14:05 I'm getting older and don't have as much time to absorb as much... so I like to make what I do count Mar 19 23:14:07 rgb-one, of course Mar 19 23:14:12 rgb-one, I'd recommend Genymotion for testing your app Mar 19 23:14:26 and yes, Java is a highly transferable skill Mar 19 23:14:35 The oddest I found playing with Android dev is that an IDE is pretty much required for a non-trival application. Up till this, I just used vim and called gcc and javac with :!. Mar 19 23:14:40 it is the #1 reason why java is the language for android Mar 19 23:14:58 jamesawagner3, you've only written trivial things then Mar 19 23:15:08 javac has never been a usable build. tool Mar 19 23:15:20 jamesawagner3: pretty hardcore Mar 19 23:15:52 I just reached dev skill level of hard core... Mar 19 23:15:56 Im sure you learned quite a bit Mar 19 23:16:05 I've been meaning to just go straight into the SDK, but I don't have enough background yet to deal with gradle without AS. Mar 19 23:16:14 not to say android studio wouldn't teach you alot Mar 19 23:16:29 There's a tiny "Hello World" on my phone... look out bill gates.. here I come Mar 19 23:16:48 but there is something about using primitive tooling that really helps one learn, it takes longer but you know your stuff Mar 19 23:17:00 its like Arch Linux vs Ubuntu Mar 19 23:17:08 its a cumberstone but you can do android without a proper IDE Mar 19 23:17:20 theres a reason people use IDEs though ;) Mar 19 23:17:57 rgb-one: I agree in part... I open up a new project for android and I'm a bit overwhelmed at the amount of content on my screen... working with command lines and simple setups made from scratch gives you a better idea of how things are put together Mar 19 23:18:31 DaveWML yea, that can be overwhelming as well however Mar 19 23:18:59 Maybe all my projects were trivial, I'll grant that. But even for modifing existing projects, AS is almost required. I can patch the kernel from a slow serial link, but Android development seems to generally assume that your system is capable of more than an 80x24 xterm. I actually feed Xmx1024 to the line in studio.sh, in some of my boxes, because they start hitting swap after 2 hours, and Mar 19 23:19:05 then cause OOM-killer to eat X11. Not pretty. Mar 19 23:19:58 The worst is when I go to a potty-break, and come back to a frozen and overheated laptop. That's why I commit so much Mar 19 23:20:24 Any interesting names for a calculator? Mar 19 23:20:57 Mathulator Mar 19 23:21:01 lol Mar 19 23:21:06 If your name was Matthew Mar 19 23:21:20 Richard is mine Mar 19 23:21:37 Ricalculate Mar 19 23:21:48 if your arm is numb but your leg is more numb, is your leg number? Mar 19 23:21:51 jamesawagner3, that is a lack a familiarity Mar 19 23:21:58 hehe Mar 19 23:22:10 I, and others, have no problem with working on android stuff from vim Mar 19 23:22:41 Leeds commonly uses vim and ant, he's not around now though, I suppose Mar 19 23:22:52 I've used vim for very minimal changes Mar 19 23:23:04 but other than that there's no point using it over AS Mar 19 23:27:10 Not needing local X11 to run is a pretty big one. Significantly lower memory requirements is another. AS definitely has it's perks, but it just feels so heavy to me, especially when I only use it as a glorfied javac to build the app. Mar 19 23:27:39 Depends on your machine, using a SSD and 16GB RAM so doesn't feel heavy to me Mar 19 23:27:53 Don't get me wrong. It's definitely well-written, and stable. I just wish it ran on a 486... Mar 19 23:28:11 Though when I was using my laptop, it was frustrating the use, loading times was annoying Mar 19 23:28:16 486? Mar 19 23:28:22 I kid on the 486. Mar 19 23:28:35 Celeron with 2Gb is the worst I've got. Mar 19 23:28:35 I don't know what that is Mar 19 23:28:46 Ouch Mar 19 23:29:42 My laptop was decent, bought it for the purposing of lasting me at Uni while studying CS. So I got i7 processor, 8GB RAM, decent-ish gfx card to keep me entertained with games when I was wanting to game Mar 19 23:30:03 Calculator - abacus Mar 19 23:30:08 I bought a lenovo mainly because of the extisibility Mar 19 23:30:18 DaveWM: brilliance Mar 19 23:31:00 My primary box is 4 cores at 3.1Ghz, and 24 Gb of RAM. I pretty much make that do the heavy lifting, and let my laptops act as glorified web-browsers and IRC clients. Mar 19 23:32:25 I just ditched an i7 desktop with 24gb of ram in place of an i7 laptop with 8gb... I don't like being tethered to a desk any more and I am low on space Mar 19 23:33:15 rgb-one my laptop is lenovo :) Mar 19 23:33:45 markyosullivan: :) Mar 19 23:33:49 Wow, I hate working from a laptop DaveWM Mar 19 23:33:54 Dual monitors ftw Mar 19 23:34:17 I'm working on creating a mount to use an android tablet as a secondary display Mar 19 23:34:18 you can still use a laptop as a desktop unless you need the power for the latest games Mar 19 23:34:28 If I have a laptop with i7, SSD and long battery life I could use it. Providing I have a secondary monitor at my primary work place. Mar 19 23:34:44 just plug in the monitor keyboard and mouse and it becomes a desktop ;) Mar 19 23:34:57 I did that on placement shmooz Mar 19 23:35:04 shmoooz Mar 19 23:35:04 markyosullivan: have you upgraded your machine or did you buy it with the specs it has Mar 19 23:35:15 how much ram does it have? Mar 19 23:35:16 Did I put enough o's? :s Mar 19 23:35:19 shmooooz: thats exactly what I do Mar 19 23:35:24 I bought it with the spec it has Mar 19 23:35:30 has 8GB RAM Mar 19 23:35:32 portable desktop haha Mar 19 23:35:42 markyosullivan: cool, what model? Mar 19 23:36:00 I don't understand how people deal with the egornomics of a laptop Mar 19 23:36:11 even if yuo're not a developer, plenty of people spend all day on the computer Mar 19 23:36:32 mine is a Thinkpad E450 Mar 19 23:36:47 mine isn't a Thinkpad though I did have one of them for my internship Mar 19 23:37:05 Ah, its a Y series? Mar 19 23:37:06 Z580 Mar 19 23:37:09 oh Mar 19 23:37:39 soon they will have laptops with real NVIDIA GTX 980 cards not the mobile version, they already have a few out Mar 19 23:37:51 it's been through bad times, keys half fall off when I type on them :D Mar 19 23:38:06 I came across an interesting article about doing work only 3 hours a day Mar 19 23:38:10 but everyday Mar 19 23:38:12 shmooooz those laptops will have a life of 1 year or something Mar 19 23:38:19 my laptop is practically dead Mar 19 23:38:30 rgb-one: hah i'll try pitching that to my boss Mar 19 23:38:35 yeah and they are thicker and need more fans to cool them and extremely expensive Mar 19 23:38:37 hahah Mar 19 23:38:45 I have 1 hr without being plugged in if I'm lucky (lowest brightness) Mar 19 23:38:47 the guy was a freelance Mar 19 23:38:53 Pain of having a laptop Mar 19 23:39:08 i've been working for the past 4 hours :( Mar 19 23:39:21 I hate how often this happens Mar 19 23:39:29 RustyShackleford: take a break bro Mar 19 23:39:43 Don't lie RustyShackleford, you've been on this chat for at least 5 minutes Mar 19 23:39:45 almost done hopefully, then I can put the work laptop away Mar 19 23:39:48 3hr 55 min Mar 19 23:39:50 ;) Mar 19 23:39:51 compiling bro Mar 19 23:40:17 "Why are you on Facebook", "Oh my code is just compiling" :D Mar 19 23:40:17 * p_l is waiting for the leasing to go through for his beefy Xeon thinkpad Mar 19 23:40:39 And then run a server with his laptop Mar 19 23:41:01 I like those new razor laptops with the LED keyboard that can be set to any colors Mar 19 23:41:09 .. Mar 19 23:41:12 I did not just see that Mar 19 23:41:23 and the GPU is seperate so it doesn't need fans or need to be thick Mar 19 23:41:24 rgb-one: my laptopt will sometime have to run equivalent of a full rack, so... Mar 19 23:41:44 p_l: wow, what kind of work do you do> Mar 19 23:41:56 rgb-one: programming and system administration Mar 19 23:42:00 my reaction to shmooooz: http://imgur.com/YK06I4x Mar 19 23:42:05 p_l: cool Mar 19 23:42:12 our work laptops are so bad Mar 19 23:42:16 sometimes I need to start up the whole server setup on my computer Mar 19 23:42:23 I did an interview yesterday at a job fair Mar 19 23:42:30 trying to convince my manager that we need better. Its like trying to tow a boat with a honda civic Mar 19 23:42:35 RustyShackleford, what you running? Mar 19 23:42:38 sure it works, but its not the tool for the job Mar 19 23:42:40 Thouroghly unprepared was I Mar 19 23:42:54 hp elitbook Mar 19 23:43:06 Got a link to specs? Mar 19 23:43:15 some people have an older model lenovo, takes them 45 minutes to do a complete clean and rebuild no joke Mar 19 23:43:22 What Mar 19 23:43:29 No Mar 19 23:43:34 What Mar 19 23:43:38 RustyShackleford: at the very least, campaign for good SSDs and memory upgrade Mar 19 23:43:38 I don't believe it Mar 19 23:43:58 if it takes that long I think an upgrade wouldn't do it for them p_l Mar 19 23:44:10 well its a large project. With some tweaks its down to 15 mins on my machine Mar 19 23:44:27 p_l: you do system administration with what tools mainly? Mar 19 23:44:28 markyosullivan: well, memory and I/O can change a lot in that, and depending on tools etc. they use... Mar 19 23:44:32 which is still outragous honestly. I read stackoverflow posts where people complain about 3 min build times Mar 19 23:44:41 I'm still running eclipse on a old AMD laptop with 4GB ram ;P Mar 19 23:44:43 go cry me a river lol Mar 19 23:44:47 rgb-one: VMware, Chef, Puppet, little bits of ansible Mar 19 23:44:52 shmooooz, I feel sorry for you Mar 19 23:45:08 I have a faster laptop but I'm too lazy Mar 19 23:45:14 shame Mar 19 23:45:16 shame Mar 19 23:45:20 *ding* Mar 19 23:45:22 rgb-one: new laptop should allow me to play around with things like running a micro-esxi lab inside VMware workstation Mar 19 23:45:23 bah Mar 19 23:45:50 Does nobody here use a desktop?! Mar 19 23:45:59 I hate the new versions of androids since lollipop and I have android studio and I hate work Mar 19 23:46:03 Macbooks seem quite good for dev Mar 19 23:46:08 very good battery life Mar 19 23:46:14 s/have/hate :P Mar 19 23:46:20 markyosullivan: I don't have space for a desktop, and the main client I have (who was previously my employer) doesn't have any desktop anywhere... Mar 19 23:46:24 markyosullivan: you using linux? Mar 19 23:46:35 rbg-one yep Mar 19 23:46:41 * rgb-one Mar 19 23:46:43 p_l: you work remotely? Mar 19 23:47:03 p_l there's ALWAYS space for a desktop Mar 19 23:47:11 rgb-one: no, the company just doesn't have desktop purchases Mar 19 23:47:30 I couldn't not use a desktop, I game though Mar 19 23:47:37 sweet, got my shit done. I can put the work laptop away finally Mar 19 23:47:41 markyosullivan: not in my flat at the moment, and due to long pause in desktop purchases, I'd need to buy pretty much everything Mar 19 23:47:54 p_l: hmm..interesting, I guess one major benefit is they save alot Mar 19 23:47:57 RustyShackleford: you work too much, stop it Mar 19 23:48:08 markyosullivan: also, the P50? I can put it in my current backpack and I'd only notice a 1.5kg more or so :P Mar 19 23:48:14 shmooooz well half his work time is compiling ;) Mar 19 23:48:17 rgb-one: we don't have good office :/ Mar 19 23:48:27 these contractors work hard. I'll look bad if I don't Mar 19 23:48:40 ideally I just get everything done during the week but that doesn't happen Mar 19 23:48:41 p_l: I see, maybe thats a good thing Mar 19 23:48:44 during my industrial placement, we had proper workstations and office Mar 19 23:48:58 open workspace now? Mar 19 23:48:59 programmers are not supposed to work Mar 19 23:49:06 they automate and walk away Mar 19 23:49:14 Dell Precision T3500, which we upgraded at one point with X-series xeons instead of W-series and more ram Mar 19 23:49:29 It has pros and cons Mar 19 23:49:29 RustyShackleford: not exactly, but at 6 people in room, it's similar Mar 19 23:49:45 I'll be working quietly, all of the sudden 10 people sit right next to me and have a heated meeting Mar 19 23:55:27 Any of you make a living doing Android development? Mar 19 23:56:48 for the past 6 months yeah Mar 19 23:56:55 pretty awesome in some ways Mar 19 23:57:02 rgb-one, the Stack Overflow survey says mobile developers are the #2 most employed developers...behind full-stack webbers Mar 19 23:57:28 Ologn: Oh Mar 19 23:57:52 I'm going to have to learn web stuff or move if I want to continue with Android dev Mar 19 23:58:08 there aren't that many companies around here hiring mobile devs Mar 19 23:58:08 RustyShackleford: why is that the case? Mar 19 23:58:10 http://stackoverflow.com/research/developer-survey-2016#developer-profile-developer-occupations Mar 19 23:58:14 Oh Mar 19 23:58:31 Oops...I mean #3 ... full/back end web is #1 and #2, mobile is #3 Mar 19 23:58:41 correction, hiring junior mobile devs Mar 19 23:58:55 I do see ads for architects, senior devs, etc. Mar 19 23:59:30 RustyShackleford, yes. It went from almost no hiring posted, to everyone wanting a senior programmer with 5 years experience. Mar 20 00:00:23 I think im at the stage where I am deciding which direction to go in terms of my career Mar 20 00:00:50 Ologn: I dunno if I can ride my current employer out for 5 years Mar 20 00:00:53 hah Mar 20 00:01:04 but my job prospects should be looking great in a few years Mar 20 00:01:30 RustyShackleford: What are you interested in web wise? Mar 20 00:01:34 RustyShackleford: where do you work ? Mar 20 00:04:43 shmooz: a bank Mar 20 00:05:10 in the US? Mar 20 00:05:48 yeah Mar 20 00:06:07 web wise, I dunno. Backend stuff Mar 20 00:06:12 UI design is not my thing Mar 20 00:07:46 ok so you don't do front or back. what do you do? Mar 20 00:08:04 I don't do web stuff is my point Mar 20 00:08:09 middle, duh Mar 20 00:08:16 lmao Mar 20 00:09:43 I am considering going into web development myself Mar 20 00:09:46 I still do my web stuff in php Mar 20 00:09:54 python is the language I am thinking of going with Mar 20 00:10:35 I have a book and some resources on Flask web development so that's a start and the python docs are well done Mar 20 00:11:24 i thought web dev was one area with negative job growth Mar 20 00:11:45 at least in the US ;) Mar 20 00:11:53 Na, web dev isn't going anywhere Mar 20 00:12:13 g00s: statistics shmatistics Mar 20 00:12:13 Angular, Node.js, etc Mar 20 00:12:21 they're all getting more and more popular Mar 20 00:13:16 rgb-one learn Javascript and do all web development in it Mar 20 00:13:20 it's very popular Mar 20 00:13:39 yeah because of the enterprize theres some hype on whats the latest best way to do things but hate following those bandwagons Mar 20 00:13:52 markyosullivan: yea, seems like good advice Mar 20 00:15:04 ah, if you're going to be JS front-end guy, know its easy to get burned out with the latest JS framework of the week Mar 20 00:15:11 I find desktop development interesting as well Mar 20 00:15:24 python FTW Mar 20 00:15:27 desktop is dead Mar 20 00:15:38 rgb-one: use QT for desktop dev ;) Mar 20 00:15:40 TRUMP4PRES! Mar 20 00:15:50 (sorry, carried away there) Mar 20 00:16:06 yea, you typed faster than I could reply shmooz Mar 20 00:16:11 I am interested in Qt Mar 20 00:16:22 rgb-one you may want to get this report (free, needs email) https://www.developereconomics.com/reports/developer-economics-state-of-developer-nation-q1-2016/#insights Mar 20 00:16:56 Qt is applicable in Embedded environment as well so it is still quite useful Mar 20 00:17:16 you and I are using desktop applications right now so it isn't quite dead Mar 20 00:17:17 qt ... embedded ? Mar 20 00:17:19 I like Python, I've used it a bit but if I was looking for a web role of some sort, I'd be learning Javascript and using the most popular frameworks Mar 20 00:17:23 yea Mar 20 00:17:48 it is being used in the automotive industry Mar 20 00:17:54 medical Mar 20 00:17:58 all over the place Mar 20 00:18:05 ics.com is a Qt company Mar 20 00:18:06 I'm currently a student but I'm aiming at getting a job in Android dev, not many jobs but applying for any mobile developer positions going Mar 20 00:18:12 you can check their portfolio out Mar 20 00:18:27 Finished Uni at the end of May Mar 20 00:18:31 Im a student as well Mar 20 00:19:02 markyosullivan: ah, cool :), I should finish in August Mar 20 00:19:07 summer school Mar 20 00:20:23 Awesome :) Mar 20 00:20:39 I better get a raise if I'm going to be working on weekends Mar 20 00:21:03 RustyShackleford you shouldn't be doing weekends, raise or not Mar 20 00:21:08 our dev servers were all broken this week lol. Next time it happens I should just go home Mar 20 00:21:43 sounds like wage theft ;) Mar 20 00:21:51 I'm thinking freelance work is a nice option Mar 20 00:21:51 i mean, on their part Mar 20 00:22:08 its BS. I'm going to have to push back a little bit Mar 20 00:22:10 lots of flexibility Mar 20 00:22:18 rgb-one: lots of risk... Mar 20 00:22:27 rgb-one lots of competition Mar 20 00:22:35 rgb-one: make your own stuff first so you have some portfolio Mar 20 00:22:37 nobody speaks up when we have too much to do. Is it that terrible to say to your managers? Mar 20 00:22:48 shmooz: yea Mar 20 00:22:57 rgb-one, for every freelancer in europe/USA, there are 10 in asia doing it for half the money Mar 20 00:22:57 I think its our job to tell them whats reasonable Mar 20 00:22:59 That is a nice gateway into finding clients Mar 20 00:23:24 shmooz I've got 3 apps on the store, 1 it's just showing a web page, other two I've spent time developing something Mar 20 00:23:32 rgb-one you'll find many clients simply won't work with one developer. like leeds said, too much risk Mar 20 00:23:33 I don't mean using platforms like Upwork Mar 20 00:23:50 markyosullivan: cool, what are the other 2? Mar 20 00:23:52 have you tried? Mar 20 00:23:55 how can you know? Mar 20 00:24:22 shmooz old app which I haven't updated since like 2 years ago and another one which I did for a website called BetMMA.tips (know the owner) Mar 20 00:24:53 https://play.google.com/store/apps/details?id=mos.studentbudget&hl=en_GB Mar 20 00:24:54 i think somebody is going to get reality check soon Mar 20 00:25:03 I spoke to one freelancer yesterday of an opensource application and he says 90% of his clientel is through that web application Mar 20 00:25:07 https://play.google.com/store/apps/details?id=tips.betmma.oddscalculator&hl=en_GB Mar 20 00:25:36 g00s who? Mar 20 00:26:01 it depends on the project as well Mar 20 00:26:09 Freelance doesn't interest me and neither does working remotely, at least for a couple years. Mar 20 00:26:30 danijoo, it's less than half, I can tell it by experience :/ Mar 20 00:26:33 Freelance is difficult when you have to compete with the guys in Asia who can work for such a cheap rate Mar 20 00:26:46 so don't compete Mar 20 00:26:52 just do your work Mar 20 00:26:58 remotely isn't something I want unless I can have 1 / 2 days remotely a week. Would rather work in an office with a team Mar 20 00:29:04 Is there anyone here atm who is a freelance developer? Mar 20 00:29:25 I am Mar 20 00:29:47 Would you recommend it? Mar 20 00:30:06 no - he dont want competitors :p Mar 20 00:30:37 markyosullivan, only if you have time to build your reputation Mar 20 00:31:03 Ever had any issues with clients who refuse to pay? Mar 20 00:31:16 markyosullivan, it's tough to make reasonable money on the begining :/ Mar 20 00:31:47 Logico: How do you gain much of your clients? Mar 20 00:32:01 I could imagine, I did that app for BetMMA.tips for free because I knew the owner but then I was being asked to do more apps which just showed web pages. Didn't take long to do but I had other things to do and was a bit of a pain when not getting paid for it. Mar 20 00:32:18 markyosullivan, no, but I never got the crap jobs, the ones they ask too much for a very low price Mar 20 00:32:35 markyosullivan, and I also prefer work for companies Mar 20 00:32:45 Logico ever had a dry spell? Where you were waiting for work? Mar 20 00:33:05 how long before I graduate from a junior to a senior dev? Mar 20 00:33:23 rgb-one, that's depends on the size of the project, take a look on Upwork website and you'll see the average prices the contractors offers Mar 20 00:33:25 RustyShackleford you also a graduate? Mar 20 00:33:29 * student Mar 20 00:33:53 I know of upwork and I have an account but I don't think I will be using such platforms Mar 20 00:34:06 markyosullivan: nope not a student Mar 20 00:34:10 markyosullivan: you need to build your apps with a self disable capability that you can remotely trigger Mar 20 00:34:13 I've heard for most CS related jobs, to maximise your pay you have to constantly switch. I guess the same is true for Android jobs? Mar 20 00:34:15 Does anyone know of a simple way to display a tablayout at the bottom of a collapsabletoolbar? if i put it inside the collapsing layout it shows up but at the very top only, even if gravity is set to bottom. but if i put it outside the collapsable view but still inside the appbarlayout like i found suggested in this stackoverflow post it doesn't show up at all Mar 20 00:34:21 markyosullivan, yep, dry spell happens a lot to who don't have regular clients Mar 20 00:34:25 markyosullivan: i've heard both sides of that argument Mar 20 00:34:26 RustyShackleford, graduate? Mar 20 00:34:45 actually I have 2 more classes I need. Sorta messed up at the end lol Mar 20 00:34:51 I will need to take care of those Mar 20 00:34:57 I've been speaking with a startup, they said if I was to join them after a year I could be a senior dev Mar 20 00:35:13 They've got 8 employees atm Mar 20 00:35:18 rgb-one, well, Upwork an option to who wants only fast jobs Mar 20 00:35:22 well less than 10 I think Mar 20 00:35:25 Yea Mar 20 00:35:25 I basically have the degree. I can take literally any class for these last credits Mar 20 00:35:45 RustyShackleford, technically still a student ;) Mar 20 00:35:45 all major and college requirements fulfilled, only requirement left is number of credit hours Mar 20 00:35:52 and I'm guessing from the US Mar 20 00:35:54 not if I didn't attend last semester Mar 20 00:36:14 I'm hoping to move to US / Canada within the next 5 or so years Mar 20 00:36:33 which country are you markyosullivan? Mar 20 00:37:36 Northern Ireland Mar 20 00:37:38 the joys Mar 20 00:38:05 Were you born there? Mar 20 00:38:08 Yep Mar 20 00:38:13 cool Mar 20 00:38:22 What about you rgb-one? Mar 20 00:38:29 Jamaica Mar 20 00:38:39 Really? Mar 20 00:38:42 yea Mar 20 00:38:46 That's cool :) Mar 20 00:38:59 I feel like I just need an android mentor >.< lol Mar 20 00:39:01 Wish I had the weather you have Mar 20 00:39:02 It's pretty warm actually ;) Mar 20 00:39:10 Always run into niche problems Mar 20 00:39:22 Akayllin, how experienced are you? Mar 20 00:39:35 It's quite cold in Nothern Ireland eh? Mar 20 00:40:29 rgb-one yep! We're unfortunate to have summer for about 1 week in a year. Mar 20 00:41:00 Thats alright, enjoy the cold then there is no problem Mar 20 00:41:04 be happy to be cold Mar 20 00:42:12 I just made my first app which was a great experience wise but it wasn't anything super fancy. I would like to say I am maybe 3/10 on expert scale but sometimes I see stuff and I feel like i'm really still just 1/10 still :\ Definitely still playing in the kiddie pool haha. This app has more stuff associated with it though so each time I make a new one I try to do stuff I haven't done before to incorporate more learning opportunitie Mar 20 00:42:12 s Mar 20 00:43:12 Alright guys, i'm off Mar 20 00:43:14 take care Mar 20 00:43:31 rgb-one, see you Mar 20 00:47:12 I know how you feel Akayllin though the new app I'm doing I'm learning a lot with. I've constantly felt in the past that a mentor would be great but why have 1 mentor when you can have hundreds in here? Mar 20 00:47:31 The people in here are fantastic help and have a wealth of knowledge Mar 20 00:47:52 markyosullivan, agree :) Mar 20 00:47:58 markyosullivan Sometimes I prefer just 1 on 1 support Mar 20 00:51:16 Why? I used to want that in case I asked something silly Mar 20 00:52:00 Though it's better to ask a question and learn from the answer than sit in silence no better off Mar 20 00:54:08 i wonder what percentage of new developers will go on to other professions once the app hype dies a little bit, i'm old enough to have been around the 1999/2000 dot com boom and that's what happened back then Mar 20 00:54:41 you had all these business students from the top schools in the CS classes, once the dot com crash happened they were all gone Mar 20 00:54:58 rosten: things repeat in cycles Mar 20 00:55:01 yeah Mar 20 00:57:35 rosten even if the app hype dies, something else will take its place which developers can move into Mar 20 00:57:52 I hope be a very qualified back end developer when the app hype is dead :) Mar 20 00:58:23 I wouldn't mind working on other development things but prefer app development because it's something I enjoy Mar 20 00:58:27 for the most part Mar 20 00:59:04 yep, and this hype it going to last for many years, the PC era isn't even gone Mar 20 01:00:12 don't get me wrong, mobile is just getting started.. Mar 20 01:00:19 then we'll have mobile and VR Mar 20 01:00:53 smartwear as well Mar 20 01:04:08 and IoT Mar 20 01:05:36 Of course IoT will be used a lot I reckon Mar 20 01:05:54 the fridge will keep track of expiration dates etc. updating the grocery list automatically Mar 20 01:06:10 Encouraging more people to be lazy :D Mar 20 01:06:16 grocery list will be on your phone of course Mar 20 01:06:20 yeah hehe Mar 20 01:07:00 I'm trying to put a material dialog within my ListAdapter, feel like there must be an easier way to do this. Think I've nearly got it Mar 20 01:07:50 If this works, I'm going to facepalm Mar 20 01:07:59 Think I've found an easier way to get it to do what I want Mar 20 01:08:16 amazon (or some other company) can deliver the groceries to your fridge from the outside, the fridge told them what you needed Mar 20 01:08:31 Driverless cars Mar 20 01:08:36 I mean how lazy can you get haha Mar 20 01:08:46 I enjoy driving Mar 20 01:08:58 just not long distances or if I have to sit in traffic for long Mar 20 01:09:23 If we could make some sort of technology which would remove all of the corrupt politicians in the world, it'd be fantastic Mar 20 01:09:49 Read a write up that here in the UK 180,000 retail jobs will go by 2020 Mar 20 01:10:09 Self serving checkouts and all that probably causing it Mar 20 01:10:45 It'll get to the stage where you wont have super markets, everything will be in factories like Amazon where your shopping gets devilered when you need it Mar 20 01:11:01 I can imagine you'll still have petrol stations where you can pop in and self serve yourself Mar 20 01:12:21 only for a while, electric with solar panels on your house roof and batteries in the garage is probably the future Mar 20 01:12:47 car will charge itself and drive you by itself Mar 20 01:12:52 it probably won't happen on all kind of stores (I hope) Mar 20 01:13:14 you probably want to buy your own art :) Mar 20 01:14:02 it'll be a big problem when there are no more jobs for people Mar 20 01:14:06 There's going to be a real problem when jobs are lost because of technology like the 180k predicted in the UK Mar 20 01:14:11 lol Mar 20 01:14:13 lol Mar 20 01:14:19 wtf haha Mar 20 01:14:28 Stop reading my mind dude Mar 20 01:14:37 we're a herd Mar 20 01:14:43 whether we like it or not Mar 20 01:15:03 I can imagine some bullshit legislation being passed where there has to be a 50:50 ratio of machines and manual workers Mar 20 01:15:24 Anyone heard about the Snoopers Charter legislation which is trying to be passed in the UK? Mar 20 01:15:39 only once the corporations selling the machines and controlling the government will allow it Mar 20 01:15:48 nope :/ Mar 20 01:16:03 we'll reach some sort of critical mass after a while, revolution a la France 1789? Mar 20 01:16:08 but it'll take a while Mar 20 01:16:14 I'll link it so you guys can read, honestly unbelievable how dumb the UK govt is Mar 20 01:16:44 seems Robocop and similar scenarios from sci-fi are not that fiction Mar 20 01:16:49 https://en.wikipedia.org/wiki/Draft_Communications_Data_Bill Mar 20 01:17:00 Estimated cost of £1.8Bn Mar 20 01:17:26 Logico: nope, https://www.youtube.com/watch?v=rVlhMGQgDkY Mar 20 01:18:17 markyosullivan, this shit already happens here in brazil :( Mar 20 01:19:34 markyosullivan, believe me, this is potentially dangerous, it's like in Orwell's 1984 Mar 20 01:19:54 markyosullivan: people can't see two steps ahead and keep electing bad people, for instance Bernie wants to transform the political system in the US but the people don't want it Mar 20 01:20:16 same thing happened in the UK last spring? Mar 20 01:20:22 Logico that kind of law was already passed in Brazil?! Mar 20 01:20:26 rosten, theirs things give me chills... o.O Mar 20 01:20:47 rosten the majority of US citizens seem like morons (no offence to the US guys here) Mar 20 01:21:01 markyosullivan, yep :( Mar 20 01:21:06 I'm getting pretty sick of the attitude I get from grownups lol Mar 20 01:21:13 I honestly think both Trump and Clinton aren't great candidates Mar 20 01:21:15 "well welcome to the working world" Mar 20 01:21:18 well, i just think they think for themselves in their immediate future, they don't care about privacy as long as they get to keep their job Mar 20 01:22:08 RustyShackleford ask them how long do old do you have to be until you can start saying that, 50? 60? Mar 20 01:22:23 Then before they answer say "Yeah that made you quiet old man" Mar 20 01:22:30 or "old woman" Mar 20 01:22:35 :D Mar 20 01:22:42 markyosullivan, every Internet service companies that operates here are obliged to save user access logs for one year Mar 20 01:23:17 Logico is the govt allowed to hack your phones? Or the police? Mar 20 01:23:27 Hacking phones / PCs / etc Mar 20 01:23:51 It's like the whole iPhone encryption thing in the US Mar 20 01:24:01 markyosullivan, not yet Mar 20 01:24:05 the UK is wanting it to be possible to hack the phones Mar 20 01:24:15 to essentially abolish encryption Mar 20 01:24:40 markyosullivan, this is insane Mar 20 01:24:58 They don't understand the amount of danger that can result in if they pass a law to make it easier for them to hack into devices and so they can have encryption keys and all Mar 20 01:25:01 I was really glad to see Apple would not unlock that guy's phone for the FBI Mar 20 01:25:02 Tech firms will leave the UK Mar 20 01:25:03 funny thing is, the people that do this are elected Mar 20 01:25:13 "democracy" Mar 20 01:25:30 The more and more I disagree with the laws being proposed the more and more I think democracy is a farce Mar 20 01:25:47 how do I change the package identifier information in eclipse? (com.name.package) Mar 20 01:25:55 well, people want Trump now, he doesn't want encryption...people still love him Mar 20 01:26:09 Bcadren you can't if you've published the app, I know that 100% for sure Mar 20 01:26:18 Not sure if you haven't published the app Mar 20 01:26:29 i'm betting trump supporters dont even know what encryption is :D Mar 20 01:26:31 rosten *face desk* Mar 20 01:26:42 g00s you from US? Mar 20 01:26:43 as long as they get their jobs back from China and can kick out the Mexicans they're pretty happy with their president I suppose Mar 20 01:26:48 markyosullivan yes Mar 20 01:26:55 part of me wants trump to win. That will be some excellent television Mar 20 01:27:09 I honestly think a large number of people in the US are uneducated Mar 20 01:27:21 but it's the same in the UK Mar 20 01:27:25 Well, Trump is not all bad, at least he seems fairly honest although he has a pretty childish worldview in my opinion Mar 20 01:28:02 markyosullivan lol I'm not really trying to publish anything it's as a package for something else. Mar 20 01:28:03 He wants to take care of homeless people afaik Mar 20 01:28:03 when somebody says they take advice from themselves, its almost all bad Mar 20 01:28:05 Northern Ireland is crazy, we have two sides. One for the union (remain part of UK) and one for a united Ireland (republicans), they bicker at each other instead of actually trying to solve the issues in society Mar 20 01:28:14 rosten, I'm not from US but I more concerned about the wars this Trump can start :( Mar 20 01:28:18 g00s: yeah hehe, that was crazy Mar 20 01:28:44 wow, fairly honest Mar 20 01:28:51 If Trump gets elected, I think I'll avoid US and just move to Canada Mar 20 01:28:53 Logico: hmm, yeah although I think he would start them by accident, not on purpose, he's against bad wars from what I gather Mar 20 01:28:55 Canada seems really good Mar 20 01:29:22 Leeds: I'm sure he's hiding a lot of stuff but we'll see if he gets elected Mar 20 01:30:07 Leeds, you from Leeds UK? Mar 20 01:30:22 rosten, like provoca Middle East rage, that's way possible :/ Mar 20 01:30:32 I tell you what is scary, North Korea doing those nuclear warhead tests Mar 20 01:30:33 Logico: definitely Mar 20 01:30:37 *provoce Mar 20 01:31:01 *provoke : damn :) Mar 20 01:31:12 anyone using retrofit? how do you get the raw body response? Mar 20 01:31:48 I am Mar 20 01:31:57 Twirl: wrap it in a result? Mar 20 01:31:59 Use ResponseBody as the type Mar 20 01:32:27 JakeWharton: hi jake, i alreay got my response object Mar 20 01:32:54 I'm creating a new projeect and using abakus as a package name but there seems to be an error; why is this? Mar 20 01:33:05 I am using IntelliJ Idea 15.0.4 Mar 20 01:33:11 You only get either the converted body or the raw body, not both Mar 20 01:33:14 Creating a new Android Applicatioin Mar 20 01:33:21 markyosullivan: from, yes - living in, no Mar 20 01:33:30 JakeWharton: oh, so i have to intercept it or something? Mar 20 01:34:04 Depends what you're doing. Mar 20 01:34:19 JakeWharton: i need the plain json for the database Mar 20 01:34:24 Application Name: Abakus, Package Name: abakus, Create "Hello World" activity is checked and Activity Name: MyActivity. Mar 20 01:34:47 abakus is highlighted red and I am unable to proceed when I click next Mar 20 01:35:01 JakeWharton: but i'm also using the object Mar 20 01:35:29 JakeWharton: i was wondering if i could do both things at the same time Mar 20 01:35:48 Not without some effort Mar 20 01:36:34 Sweden's main news sources got DDoSed during earth hour, I hope it wasn't Russia Mar 20 01:36:45 When I put com infront of it it works Mar 20 01:36:56 JakeWharton: alright, is there something built in retrofit to map the json from a string? that way it would be easier, i'm not sure (haven't tried it yet) if the Gson converter will give me the same results Mar 20 01:38:37 JakeWharton: i don't trust this gson.fromJson(json, new TypeToken>() {}.getType()); Mar 20 01:39:08 I'm busy. Can help later Mar 20 01:39:26 JakeWharton: ok, sorry Mar 20 01:53:56 Ceylon 1.3 getting official Android support. Now even more options ! Mar 20 02:02:31 Yes it's nice to see Gavin finally adding some focus on Android Mar 20 02:13:42 MediaPlayer is, by far, the buggiest piece of shit api i've ever come across Mar 20 02:14:44 like seriously: https://code.google.com/p/android/issues/detail?id=18756 Mar 20 02:14:57 20 fuckin 11 Mar 20 02:17:06 CedricBeust have you worked on any apps where the whole thing was one activity ? the bottom nav guidelines say its visible throughout the app - i found its very clumsy trying nav drawer visisble throughout the app Mar 20 02:18:09 these things all work find as 'fragment switchers' but if its permanent, navigating to children gets pretty tricky - and handling master / detail ... all in one activity Mar 20 02:18:11 This line isn't working: m_bridge = new AndroidJavaClass(CLASS_NAME); Mar 20 02:18:14 There is a java class with CLASS_NAME in Plugins/Android/pkg.jar Mar 20 02:18:28 [Not sure if it's better to ask in unity or here; since it's both.] **** ENDING LOGGING AT Sun Mar 20 02:59:58 2016