**** BEGIN LOGGING AT Mon Sep 19 02:59:59 2016 Sep 19 03:02:02 ic Sep 19 03:05:33 I gave this VM 8 gigs of ram Sep 19 03:05:37 lets see how this goes Sep 19 03:47:59 Communication error with Jack server 59. Try 'jack-diagnose' Sep 19 03:47:59 god damn it Q.Q Sep 19 04:17:04 I'd like to be able to embed the GMail widget into my application. Is there a way to do this? Sep 19 04:57:10 hey guys, how bad is it out of 10 to include the keystore in a private repo? Sep 19 04:57:42 i was trying to avoid doing it but it makes CI/ onboarding new devs etc way easier Sep 19 05:02:21 do you mean "at github but marked private" or "within our LAN"? Sep 19 05:17:24 I am using mock-web-server as a lightweight web server in production code. It seems to work fine even though this is a testing framework Sep 19 05:17:48 is there anything wrong with this? OKHTTP3 mockwebserver Sep 19 05:17:49 I mean Sep 19 05:21:42 Leeds: github private repo Sep 19 05:22:28 okay Sep 19 05:22:32 slowly I'm getting places Sep 19 05:22:40 now I'm stuck with "'/usr/bin/curl': Failed to parse version, please ensure you're running a supported java Sep 19 05:22:41 " Sep 19 05:22:47 what the hell does that even mean Sep 19 05:24:12 What if a View wasn't dumb. What if each View had its own Presenter? Sep 19 05:24:32 What if Activities or Fragments only job was determining which views were put on the screen? Sep 19 05:28:37 The view could present the data its presenter decides it should. The view was only put on the screen because of some kind of data that says "Oh, this data is displayed by this kind of view"? Sep 19 05:29:54 Lets say an Activity or Fragment could decide what data to show on screen. Some "adapter" - say a recyclerview adapter - could turn this data into views. each view could then be presented with its display using that data Sep 19 05:32:20 Hi.. I have enabled inbuilt proguard in eclipse for android. After de-compiling the apk file. I could read the jar although there is some degree of obfuscation. What can I do more to protect my application? Please help! Sep 19 05:34:51 .s. Sep 19 05:36:01 BustyLoliChan: you mean i should write in native language like C, and use JNI? :( Sep 19 05:37:10 no... I'm staring at an error of my own and I'm just speechless. Sep 19 05:37:39 I don't know if you can really protect your application Sep 19 05:38:00 as long as instructions are capable of being read by a machine they are capable of being read by a human just the same Sep 19 05:38:48 I just need some moderate protection Sep 19 05:39:17 some people with 1/2 yrs of experience in java, android cannot use it Sep 19 05:39:21 a condom? Sep 19 05:40:02 is anyone familiar with android emulators for the pc they can possibly help me out please? Sep 19 05:41:28 hm? Sep 19 05:41:43 FXpro: nah, you don't want to ask here Sep 19 05:42:29 hm? but its legit question here Sep 19 05:42:31 isnt it Sep 19 05:42:40 can you direct me to the correct channel please? Sep 19 05:43:23 Ashiren: not when someone is looking for a way to run whatsapp and games on their desktop Sep 19 05:43:30 FXpro: if you want to use android emulator just to run other people's app, this is the wrong channel. Sep 19 05:44:13 FXpro: try #android-for-people-without-a-smartphone Sep 19 05:44:32 heh... more like I am sick of fking finger typing a virtual keyboard on a small screen when I can rip on a standard keyboard Sep 19 05:44:50 whatsapp have desktop version Sep 19 05:45:11 I only like to use the smart phone when I have to for that reason. Sep 19 05:45:14 FXpro: seriously, try on #android Sep 19 05:45:24 I am in that channel Sep 19 05:45:25 FXpro: wise choice but wrong channel anyway Sep 19 05:45:42 currently you are in #android-dev Sep 19 05:46:00 if you are in #android too, ask in that channel Sep 19 05:46:07 Hi Guys! How to introduce fake methods in android code apart from pro-guard? Sep 19 05:46:14 I already did someone suggested I also try in here. Sep 19 05:46:23 what is this channel's purpose again? Sep 19 05:46:23 FXpro: they were wrong Sep 19 05:46:26 pranav: you asked already Sep 19 05:46:28 app development or? Sep 19 05:46:40 app development Sep 19 05:46:51 so bye Sep 19 05:47:18 I am surprised there is not a channel on freenode specifically for emulators. Sep 19 05:47:26 create it Sep 19 05:47:30 it's free Sep 19 05:47:31 or maybe there is and I need to look around more. Sep 19 05:47:33 squ: no i haven;t asked Sep 19 05:47:49 my previous question was different which was not replied Sep 19 05:47:52 okey Sep 19 05:48:01 this one will not be replied too Sep 19 05:48:17 may i know why Sep 19 05:48:18 pranav: are you from India? Sep 19 05:49:15 not a valid question for this channel Sep 19 05:51:22 what's not a valid question for this channel? Mine or yours? Sep 19 05:52:40 not even closest Sep 19 05:52:53 to android development Sep 19 05:53:00 *close Sep 19 05:53:29 pranav: if you want to obfuscate your code just write it in the same way you write in English. Nobody will be able to reverse-engineer it. Sep 19 05:53:56 hahaha Sep 19 05:54:00 got it! Sep 19 05:54:01 :) Sep 19 05:54:13 No need to use special tools Sep 19 05:54:44 ok, let me see.. on top of that a little tools would be great! Sep 19 05:54:46 thanks, bye Sep 19 05:54:50 shut up you two Sep 19 05:56:01 squ: anything to add? Sep 19 05:56:11 no Sep 19 05:56:16 :D Sep 19 05:57:32 Sometimes this channel looks like an asylum. Too bad that I must admit that often it's my fault Sep 19 06:24:15 Mariu: you forgot to change your nick to Alphabet Sep 19 06:25:05 oh Sep 19 06:25:59 Arancio: okay Sep 19 06:28:16 Mariu: how is going the development of your Android app? Sep 19 06:29:12 Arancio: I'm not developing any Android app at the moment Sep 19 06:29:44 Ok. That explains why you are so silent in this channel Sep 19 06:30:58 Hi everybody! Does anybody know how to make my app use the most recent version of java? I saw that in the mean time 'X' has been added to SimpleDateFormat in the android docs too but it won't work for me.. "java.lang.IllegalArgumentException: Unknown pattern character 'X'" Sep 19 06:32:53 LameName123: Hi! Sep 19 06:45:03 Hi. Sep 19 06:46:34 I have a ViewPager that allows swiping between 3 horizontal views. One of the pages has some Views in it that accept long press. Now, when I try to fling to the next page, and I start the gesture with my finger on one of the long-pressable Views, then the fling gesture isn't detected. Sep 19 06:46:58 In other words: I can only swipe when I thouch the space between the items on the page. Sep 19 06:47:06 How do I fix this? Sep 19 06:50:31 Zta77: that's an interesting question Sep 19 06:54:17 Zta77: does this help you? https://recalll.co/app/?q=android%20-%20TextView%20inside%20ViewPager%20intercepts%20touch%20events Sep 19 06:54:49 Zta77: this is the original source: http://stackoverflow.com/questions/5915595/android-not-receiving-touch-event-on-a-textview-with-scrollbars Sep 19 06:57:49 I'll take a look at it. It's an interesting problem... however I didn't expect this to happen, so I don't really have the time to fix it even though I have to =) Sep 19 06:59:32 Then just improve the precision of your finger Sep 19 07:00:23 Damn... Seems like I have to do a lot of manual event filtering and management in each type of view. Sep 19 07:00:56 Perhaps a transparent homemade GestureIntercepterAndMediatorView would be preferrable... Sep 19 07:28:41 thepoosh, emojis? Sep 19 07:31:58 raoul11: looking Sep 19 07:32:10 bokertov btw Sep 19 07:32:51 regular TextView.setText Sep 19 07:32:58 and boker boker Sep 19 07:33:33 whats the minSdk you guys support? Sep 19 07:33:43 16 Sep 19 07:34:09 btw, unrecognised emojis look like the box with X in it Sep 19 07:34:15 but pre-kitkat had no support for colorful emojis? Sep 19 07:34:32 checking Sep 19 07:39:59 raoul11: http://imgur.com/a/pmgFo Sep 19 07:40:42 the blue one is custom? Sep 19 07:40:56 this is how its rendered on 4.3 -? Sep 19 08:03:15 raoul11: nothing is custom and it was rendered on sgs4 running 4.2.2 Sep 19 08:03:51 the blue is the background for the TextView Sep 19 08:04:05 but the emoji are the touchwiz native emoji Sep 19 08:06:43 Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx8G -cp /home/busty/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher / Communication error with Jack server 59. Try 'jack-diagnose' Sep 19 08:06:45 kill me... Sep 19 08:09:35 thepoosh, so regular emojis are rendered as black and white? Sep 19 08:17:11 I think it depends on textColor Sep 19 08:18:22 yeah, but textColor will set them to one color Sep 19 08:19:29 thanks thepoosh, still wondering what whatsapp and others do to support color emojis on textviews Sep 19 08:20:14 I'm sure Whatsapp and messenger use their own implementation of spans, you can actually see that best with their (whatsapp) link messages and the click area Sep 19 08:21:16 i h8 working with spans, but had to use them to render those color emojis on prekitkat Sep 19 08:21:34 did it with vector drawables, which was even more of a pain Sep 19 08:36:42 vector drawbles? would have thought textview offered unicide... or is the color the issue ? Sep 19 08:50:07 capella-5x: it does offer unicode support, but pre-kitkat, emojis are rendered as black and white Sep 19 08:50:14 and i support 15+ Sep 19 08:52:04 oic, thanks! Sep 19 09:15:06 hi guys. am getting some json with retrofit (which is successful) and populate a recyclerview list. but the list isnt being populated.. im getting the msg "No adapter attached; skipping layout" can someone take a look at what im doing wrong http://hastebin.com/ihecuqicaj.java Sep 19 09:15:42 attach an adapter Sep 19 09:16:06 i am arent i? Line 72 Sep 19 09:20:47 do you have a layoutmanager installed? Sep 19 09:21:00 also is it going to that branch in the response handler? Sep 19 09:24:18 nope, and actually its appears its not Sep 19 09:24:42 there's your problems then Sep 19 09:24:56 you need a layoutmanager and the request should succeed of course ;) Sep 19 09:25:42 hmm but the log for whether its unsuccessful doesnt fire Sep 19 09:25:43 another point I'd make is that usually I have an adapter attached to my recyclerviews regardless of whether they have any content or not and then add the content to the adapter when it's available Sep 19 09:27:01 ok so set that outside the enqueue Sep 19 09:27:30 it's not really needed but that's how I usually do it Sep 19 09:31:39 Zharf, wait ive narrowed i to the actual calling with getUserCalendar. im not sure why that wouldnt be being fired Sep 19 09:34:10 oh yea i do have a layoutmanager, my mistake. Sep 19 09:34:11 recyclerCalendarView.setLayoutManager(new LinearLayoutManager(getActivity(), LinearLayoutManager.VERTICAL, false)); Sep 19 10:41:57 Hello to everybody! Sep 19 10:45:05 lads, when running application from android studio with backup=false in manifest, will it uninstall app data first ? Sep 19 10:46:01 Does anybody have experience with using NavigationDrawer alongside with activities and fragments? Sep 19 10:48:19 Hessesian, no Sep 19 10:49:39 hi i can't find any example of google sign-in and google plus+ friends Sep 19 10:50:30 new google signin is very simple but i need get user's friend or g+ friends Sep 19 10:58:58 devuser: The G+ API is sadly quite limited. Sep 19 11:18:50 Emperor_Earth: Welcome back! The channel salutes you! Sep 19 11:20:01 tothbalint: hi. how would you like to use NavigationDrawer? Sep 19 11:20:45 Arancio, well, my issue is a bit complicated, let me explain a bit :) Sep 19 11:21:11 unless you explain it, nobody will be able to help you Sep 19 11:23:05 I am really a noob with Android development, so I have tried to make my app based on what I have read in the book BigNerdRanch Android Development (2nd Edition). They use a SingleFragmentActivity, which in my understanding extends FragmentActivity from support.v4, and every new Activity needs to extend that class so they use a common fragment container Sep 19 11:23:10 <_genuser_> so my bintray was sort of successful. Sep 19 11:23:22 <_genuser_> support reached out and asked which artifact ID out of the 3 I want published to jcenter. Sep 19 11:23:27 any musicians in the audience? Sep 19 11:23:36 * _genuser_ is a musician Sep 19 11:23:54 cuz i was just thinking what interesting software for music theory exists Sep 19 11:24:07 i dont mean those composing apps Sep 19 11:24:14 <_genuser_> the best software I have used is chrome. Sep 19 11:24:37 are you sure? Sep 19 11:25:38 sadly the book does not cover NavigationDrawer, so I have found a tutorial which I was able to follow and implement the NavDrawer. It uses similarly a common FragmentCotainer, and when I click on a menu item, it uses a FragmentTransaction to replace the contents of the fragmentContainer with the menu item's fragment, and that part works Sep 19 11:26:25 <_genuser_> Nick-S: learning for music theory? Or composing and recording and stuff like metronomes for practice? Sep 19 11:26:50 <_genuser_> Nick-S: for learning, that most helpful thing has been to just google for specifics, and just buckle down and work out the boring details, the math, the note distances, etc. etc. Sep 19 11:27:06 * Zharf 's a wannabe "musician" Sep 19 11:27:20 however if I try to start an activity/fragment with a click listener or other way, and using Intents with extras to start the activity, when the new activity starts, the navDrawer is not visible anymore, I guess because it is uses the SingleFragmentActivity, not the NavigationActivity fragmentContainer... Sep 19 11:27:39 I've only been at it for the past 20 years and my theory knowledge is just bad :p Sep 19 11:27:44 i have been looking around and found https://github.com/danigb/tonal for example Sep 19 11:27:48 <_genuser_> Zharf: if you play something (at any skill level) you're a musician. amateur, professional, master, those are levels. Sep 19 11:27:57 _genuser_, sure :p Sep 19 11:28:04 oh i am iin #android-dev i thought i was in #coders Sep 19 11:28:13 i don't wanna risk myself being off topic Sep 19 11:28:27 <_genuser_> Zharf: I've been playing guitar since college. If you asked me to play any metallica tune, I'd be like, do what now? Sep 19 11:28:43 <_genuser_> Zharf: and I used to be huge into metal. and after a break, I'm listening to metal again. Sep 19 11:28:45 SingleFragmentActivity extends FragmentActivity, NavigationActivity extends AppCompatActivity, so I dont know how could I implement so the Navigation is working everywhere :( Sep 19 11:29:09 <_genuser_> Nick-S: haven't seen much of an off-topic warning stuff here... Sep 19 11:29:28 tothbalint, AppCompatActivity is also a FragmentActivity Sep 19 11:29:49 tothbalint, try merging the implementations :) Sep 19 11:30:19 <_genuser_> tothbalint: https://developer.android.com/reference/android/support/v7/app/AppCompatActivity.html Sep 19 11:30:34 <_genuser_> appcompatactivity is extended from fragment activity, which is extended from activity. Sep 19 11:30:58 <_genuser_> so appcompactactivity should work on any device that support library v7 claims to support. Sep 19 11:31:49 Zharf, _genuser_: so I should make the 'common' SingleFragmentActivity extend AppCompatActivity, and try to copy everything there from the NavigationActivity? Sep 19 11:32:34 let's say, yes Sep 19 11:32:52 <_genuser_> either or. your navigationactivity already extends from appcompat. so either pull in singleactivity's code. Sep 19 11:33:04 <_genuser_> but Zharf's original recommendation of merging the two remains valid. Sep 19 11:33:41 <_genuser_> Zharf: heh, finally got git workign on windows with ssh pushes. always bugged me that I had to punch in my git password. Sep 19 11:35:17 :o Sep 19 11:35:28 okay, will try :) thank you very much :) an other question I am troubled with... until now I have used Intents to start new activities, since there are some situations where I need to pass some parameters, but I see that the NavigationDrawer's implementation from the tutorial uses FragmentTransaction to change the FragmentConmtainer's content. Is that way of doing things related to something, I mean, do I need to use that Sep 19 11:35:29 method since the navDrawer is a common part in every layout, or using the intents should be fine too? Sep 19 11:35:39 doesn't git bash come with ssh-keygen Sep 19 11:36:45 you add/remove/hide/show/etc fragments with FragmentTransactions Sep 19 11:36:49 <_genuser_> Zharf: the git packages for windows comes with bash and ssh-keyben and all those. I just never was able to set it up properly. because it all just looked so linux'y and make it look like I had to download extra thigns. Sep 19 11:36:51 and you start new activities with Intents Sep 19 11:37:16 <_genuser_> Zharf: then I finally decided to just RTFM on github and heh, you can do all that from git bash and no problem. Sep 19 11:37:25 yep Sep 19 11:37:54 <_genuser_> Zharf: basically I don't remember any of my passwords. and because of that, I pick really long and complicated ones. Sep 19 11:38:15 <_genuser_> each account has a different password. no master password that is used to derive specifics ones. Sep 19 11:38:23 okay, thank you very much! I am trying to merge the 2 classes, is it ok to get back to you if I hit some roadblock? Sep 19 11:38:46 <_genuser_> so if I git push, I have to open my notepad and find teh dang password. with ssh keys.... I can encrypt the ssh private key with a simpler password and use that to push. Sep 19 11:38:59 tothbalint, asking questions here is always ok, just be patient though since there might not be anyone active at every possible minute Sep 19 11:39:09 <_genuser_> not that you asked for my setup, lol. Sep 19 11:40:08 Zharf, makes sense, thank you! I really appreciate any help, and sorry if I ask stupid questions, I am just a noob who got thrown into the sea with full of sharks :D Sep 19 11:40:54 <_genuser_> my c# habits and VB6 habits of naming classes with NamesThatMeanSomething and the java/android culture of names-that-mean-something is really messing up my android project names. Sep 19 11:43:24 .setCompoundDrawablesWithIntrinsicBounds -- couldnt just add setDrawableTop/Bottom/Right/Left? Sep 19 11:43:44 this sounds too much like a german cake. Sep 19 11:49:05 any googlers here who I can ask an account query of? Sep 19 12:25:21 hello Sep 19 12:25:51 is anybody in here ? Sep 19 12:26:41 asniex_: HAI Sep 19 12:26:43 no Sep 19 12:29:41 I am new to android development. I did a couple of beginner level projects to kick start my development. I need advice on what to search and learn for a project I have in mind. I wanna develop something like tincore mapper. I build myself a bluetooth Joystick it works fine as bluetooth joystick but only for the games that support BT joystick. I wanna extend it to work for games that are hard to play with on screen joystick like Sep 19 12:29:51 annoying keymap for a generic hid joystick Sep 19 12:30:10 what should I learn/search for to begin the project. Sep 19 12:34:44 You should learn that BT is the devil and to avoid it like the plaguq Sep 19 12:34:46 *plague Sep 19 12:34:56 BT3< is fine. Sep 19 12:34:59 BT4 is assy. Sep 19 12:35:17 To be more specific, classic Bluetooth is nice Sep 19 12:35:20 but BLE is annoying to use. Sep 19 12:36:05 way to lift a beginner's spirit Sep 19 12:55:12 Not using BLE yet. Classic BT2.0 :p Sep 19 12:55:17 does anyone know why this would cause a memory leak and crash ? http://hastebin.com/lorexecohu.http its like 6 lines Sep 19 12:56:52 thornekey: is this a test? Sep 19 12:57:09 if you want it to be ;) but its actually happening to me :( Sep 19 12:57:48 if it's happening you can dump the memory and see what is being allocated and to who Sep 19 12:58:03 what does getCurrentProfile() return? Sep 19 12:58:13 an object Sep 19 12:58:13 umm, stack overflow exception? Sep 19 12:58:19 what is the name of the default popup box in AS? Sep 19 12:58:34 because you return the function, not the object Sep 19 12:58:47 infinite recursion for the win Sep 19 12:58:55 oh Sep 19 12:59:53 Guys any suggestion for my quest ? :p Sep 19 13:00:06 oops so remove the get haha Sep 19 13:00:32 wait no, still crash Sep 19 13:00:36 you want to map some portions of the screen into the joystick buttons? Sep 19 13:00:57 oh i got it Sep 19 13:00:58 thornekey: paste the stacktrace Sep 19 13:01:04 it'll be easier to help Sep 19 13:01:42 @Ashiren yes exactly and overlay it on the game so that I can manipulate the game's control Sep 19 13:02:19 actually i dont know where to start Sep 19 13:02:42 it is called a Dialog in AS azv4 Sep 19 13:02:48 thanks azv4 Sep 19 13:02:49 np Sep 19 13:02:51 ive figured it out, getUsername isnt being set before i check it Sep 19 13:03:05 but im using retrofit so how can i make sure that retrofit has gotten the data first Sep 19 13:03:06 then do this Sep 19 13:03:14 im using enqueue Sep 19 13:03:39 Ashiren: Same problem. I can create an app and make dummy joysticks and button in it and control those items using by BT joystick. But I dont know how to overlay on the game and manipulate the touch for the game Sep 19 13:06:38 thepoosh, cos the stackstrace says its nullpointer so it seems that the username is being set after im calling this Sep 19 13:06:55 asniex_: for starters, do you know how to draw things "on top" of other apps? Sep 19 13:07:05 does SYSTEM_ALERT_WINDOW permission say something to you Sep 19 13:08:13 Ashiren_: No mate Sep 19 13:08:39 googling Sep 19 13:09:57 i.e. this http://stackoverflow.com/questions/4481226/creating-a-system-overlay-window-always-on-top Sep 19 13:10:11 looks like this http://cdn9.staztic.com/app/a/983/983006/sticky-memo-always-on-top-312460-2-s-307x512.jpg Sep 19 13:10:31 but to be honest i dont know how (if possible) touch things programmatically Sep 19 13:11:40 But there are apps like BT/Joystick center and Tincore mapper that do it. So I am guessing its possible. Have to figure out how Sep 19 13:12:03 Thanks for the help mate. I think I will read those up as they are essentially the first step Sep 19 13:12:19 oh they do Sep 19 13:16:55 I have a dialog box that displays a message after a task is complete, right now I have Dialog.setCanceledOnTouchOutside(true);, but I want the user to be able to touch anywhere to cancel the dialog box, how can I accomplish this? Sep 19 13:18:25 how do i access savedInstanceState in another method Sep 19 13:21:36 thornekey: more specifically? Sep 19 13:33:38 hmm, so I found way to add an Ok button to my progress Dialogs, but the 'Ok' button is present as soon as the dialog is called, how can I make the 'Ok' button only appear when the method is finished? Sep 19 13:33:49 the method the dialog box is reporting status of that is Sep 19 13:37:37 are you using an alertdialog or what? Sep 19 13:38:32 ProgressDialog Sep 19 13:38:36 unless that is a custom Dialog Sep 19 13:38:41 trying to figure that out now Sep 19 13:40:14 Happy monday everyone Sep 19 13:40:17 looks like ProgressDialog extends AlertDialog Sep 19 13:40:38 konk3r, are you trying to rip apart the fabric of space, time, and reality? Sep 19 13:40:52 Happy and Monday are mutually exclusive! Sep 19 13:41:17 Haha Sep 19 13:44:49 you could retrieve the positive button onStart and set the visibility to GONE until whatever you're doing is finished Sep 19 14:03:06 Hi all, does somebody know a face tracking / recognition library? Something like Google Mobile Vision? I want to know if there's a face in a picture.. Sep 19 14:04:22 im doing a new installation on a windows machine. I was asked once for SDK location and i chose the default c:\android\sdk...now in the setup it again is allowing me to set an SDK location, but is defaulting to c:\users\my name with spaces\etc.... should these just be the same c:\android]sdk ? Sep 19 14:05:49 not sure of the difference between installation and setup for the sdk path, why it woudl be different Sep 19 14:07:20 this is part of the bundle exe installation Sep 19 14:07:36 winegoddess: my sdk is in c:\Users\Me\AppData\Local\Android\sdk" or something like that Sep 19 14:08:21 thanks Arancio - im really trying to find out if there is any reason the default path for installation is different for setup. and if i ca just use the same path given during installation of c:\android\sdk Sep 19 14:08:45 if no one has seen this, i will just do it and see if it works for my projects etc Sep 19 14:08:58 just is a bit confusing why it woudl have two different locations, two different defaults Sep 19 14:09:09 I guess so. I didn't have that problem though. Sdk is really big. No need to duplicate it in two places Sep 19 14:09:48 i peoples Sep 19 14:09:49 hi Sep 19 14:09:52 it even says during setup, that it will update the SDK if need be. maybe it is just comparing what was partof the bundle and seeing if there is a newer version Sep 19 14:10:02 thebishop: hi! Sep 19 14:10:09 in case they dont update the bundle i guess! Sep 19 14:10:29 i have a TextView in my widget which is invisible on the app, but shows up in the hierarchy viewer. it's obscured somehow, but i can't tell how. it looks good into the layout designer Sep 19 14:14:24 thebishop: probably there is something else over it. It happens to me when I set the layout parameters incorrectly. Sep 19 14:15:03 Arancio, makes sense, so any overlap would totally obscure it? Sep 19 14:16:07 thebishop: not any but it happens quite easily. If you place two views inside a FrameLayout with match_parent in both directions, the will have the same size and one will be invisible Sep 19 14:16:41 thebishop: if you have a LinearLayout set to horizontal when it should be vertical, you won't see anything at all. Etc. Sep 19 14:19:24 Arancio, thanks, i'll take a look Sep 19 14:19:51 thebishop: You're welcome. Sep 19 14:30:20 <_genuser_> I have an activity in a library. When I instantiate it, can I override the themes it's ui elements are using? Sep 19 14:30:40 <_genuser_> activity has an ImageView which has style="@styles/new_style", defined in styles.xml Sep 19 14:31:13 <_genuser_> from the calling ap, I want to launch it with an intent and override/extend the values in new_style included in the library Sep 19 14:33:33 set the styles programmatically and pass them as arguments in the intent Sep 19 14:33:50 directly or indirectly Sep 19 14:35:57 <_genuser_> you can't. styles can only be applied at instantiation. Sep 19 14:36:09 <_genuser_> new you're newing a view programmatically, etc. Sep 19 14:37:28 <_genuser_> I can send each element in intent and pull it out and .setBackground, .setBorder, .setMyControlWidth(), all that individually on the other side. Sep 19 14:37:31 <_genuser_> was hoping not to have to do that. Sep 19 14:37:37 sorry Sep 19 14:37:39 accident Sep 19 14:41:49 dsardari, I understand the idea of setting visibility to GONE, I'm just not sure how to monitor the status of the task that should be complete before changing the visibility to visible Sep 19 14:42:22 So I have a viewgroup that I want to have start off just below the activity viewport, and upon an action slide up only by the height of this viewgroup Sep 19 14:42:27 can I use a public global variable as a flag? Sep 19 14:43:00 using the animation I'm not sure how to get the values to start and stop in that manner Sep 19 14:43:47 I've also attempted with an ObjectAnimator.ofFloat setting the y value, but it doesn't seem to be moving it up enough Sep 19 14:44:26 This is what I've done to try to get the new height to animate to, http://pastebin.com/CBKZmRsi Sep 19 14:44:59 Bottom bit of the view is being clipped by the nav bar. So I tried adding the height of the nav bar to how much it should shift up, and that is too much Sep 19 14:45:05 azv4: what's your task doing? and how do you know when it's done to stop showing the progress dialog? Sep 19 14:45:54 dsardari, there are about 25 different tasks that can call ProgressDialog (which extends AlertDialog) Sep 19 14:46:16 most of them are just on screen confirmations that a certain task has been completed Sep 19 14:47:59 you'd have to have a reference to that dialog or a callback from your task that it can implement Sep 19 15:04:14 dsardari, Im not sure I understand what you suggest, but I am doing some reading Sep 19 15:04:43 "callback from your task that it can implement" callback seems to be the key concept here Sep 19 15:13:03 hi all Sep 19 15:16:26 woa Ceylon 1.3 is out, and this release supports Android Sep 19 15:21:54 g00s: is Ceylon 1.3 cooler than Java? Sep 19 15:22:39 Anyone in here that managed to make at least 10$/day through AdMob? Sep 19 15:23:28 I'm not sure if I should continue this Android app project or not because it's been ~3 weeks and it's made very little X_X Sep 19 15:25:46 Do you have 50.000 daily active users yet? Sep 19 15:26:26 Mavrik: nope Sep 19 15:26:36 Mavrik: not even close Sep 19 15:26:43 Well. Sep 19 15:26:49 Do you have a plan on how to get there? :) Sep 19 15:27:05 Mavrik: A, B, C and D failed Sep 19 15:27:07 is 50k daily users really what it takes to make $10 per day? Sep 19 15:27:15 that seems like a lot Sep 19 15:27:38 (not disagreeing, just surprised) Sep 19 15:27:41 Mavrik: managed to make 1.2k page views by now Sep 19 15:27:54 I'm making ~2$/day with 20 daily downloads Sep 19 15:28:21 DeaverDev: really inspiring numbers X_X Sep 19 15:28:33 Gah, I'm freaking frustrated. Sep 19 15:29:00 I should've been a millionaire by now. Cruising Ibiza in a yacht. Sep 19 15:29:16 truckcrash, you get 0.1 - 0.01$ per click Sep 19 15:29:25 Impressions are worth a fraction of that. Sep 19 15:29:48 And you can hope for a click on about 0.1 - 0.5% of your impressions, depending on context and app :) Sep 19 15:29:50 Mavrik: so it's a big corporation game? Sep 19 15:30:00 *'s game Sep 19 15:30:34 No, but advertisers aren't going to throw money at you if you're not giving them exposure. Sep 19 15:30:34 Actually, I wanted to mean medium-sized companies' game who can make decent money? Sep 19 15:30:50 So if you don't have the users, you're not going to earn much. Sep 19 15:30:57 Which means you need the users. Sep 19 15:31:25 And the prices of impressions/clicks are dropping... without a good marketing strategy you're just pissing off your existing few users with ads for no reason :P Sep 19 15:31:46 I haven't even made those 25$ that I paid to Google, goddamn it Sep 19 15:32:20 Mavrik: yeah, but what I really wanted to ask is whether it'll get better over time Sep 19 15:33:17 Not to brag, but I've seen applications of lesser quality than mine that have biggish download numbers (50k) Sep 19 15:34:29 Again. Do you have a plan on how to get those users? Sep 19 15:34:30 And I'm wondering in what span of time I could reach that number considering that in almost 3 weeks I've made ~300 (not all of them from Google, but from alternative stores) Sep 19 15:34:33 It's not going to happen byitself. Sep 19 15:34:48 *300 downloads Sep 19 15:34:54 if you build it... they will come. Sep 19 15:34:56 People aren't gonna go "Oh, is Idiosyncratic making an app? Let's look for it" every week :P Sep 19 15:35:02 is a lie. Sep 19 15:35:52 Idiosyncratic: is it a globally-relevant app? Sep 19 15:36:02 Leeds: yeah Sep 19 15:36:10 for that matter, is it a globally-localised app? Sep 19 15:36:16 Leeds: yep Sep 19 15:37:01 you paid for professional translation for an app with 300 downloads? Sep 19 15:37:13 Leeds: I'm the professional translator. Sep 19 15:37:19 :D Sep 19 15:37:40 you're a professional translator into 10s of languages, and a developer as well? wow! Sep 19 15:38:08 Hey all. I'm looking to buckle down and really learn android. I've been a hobbyist programming for a few years pretty much all self taught, so I've picked up some bad habits along the way. I can crank out a crappy poorly written app with relative ease, but I'm looking to step my game up and learn something like MVP/RxJava/RxAndroid Sep 19 15:38:18 Leeds: hold the record for the smartest polyglot Sep 19 15:38:25 *world record, that is Sep 19 15:38:46 But most stuff I see is either super basic(setting up IDE, explaining what variables are, etc etc) or way too advanced for me Sep 19 15:39:18 Idiosyncratic: so what amazing things does the app do? Sep 19 15:39:27 Is MVP the way to go? It seems to be, but the official Android nano degree doesnt seem to teach the MVP pattern Sep 19 15:40:30 Leeds: it wastes peoples' time Sep 19 15:40:58 *people's Sep 19 15:41:04 What a concept! Sep 19 15:43:39 I don't understand this pattern of having a burst of downloads and then they go down fast Sep 19 15:45:07 erm... you do realise that 300 downloads isn't a burst, right? Sep 19 15:45:39 Leeds: for a brand new application Sep 19 15:45:55 it's a drip, or possibly a dribble Sep 19 15:47:14 My SEO tool's telling me that I have/had pretty good visibility on pretty good keywords, but Android users are philistines and will only download the celebrity-worship trivias Sep 19 15:47:17 the days of the indie gold rush are long lnog gone Sep 19 15:47:45 and now I am also going to be gone, to the shower! Sep 19 15:48:31 hey guys, i figure it should easily be possible to have CoordinatorLayout with a collapsing header where the toolbar is always visible at the top of the page. Does that make sense? Sep 19 15:51:21 anyone Sep 19 15:54:52 When using Observables, AS seems to not detect the implicit type parameters going around the bend. The latest offense is a .materialize().filter(Foo::errorIsNotAParticularError).dematerialize().subscribe(next, err, complete); I had to put: .dematerialize().map(bar-> (Bar) bar).subscribe(...) to make it not complain Sep 19 15:55:16 xximjasonxx: could you just put the toolbar above your Coordinator? Sep 19 15:55:27 i thought it had to be the root Sep 19 15:55:35 i suppose I could put the whole thing i n LL Sep 19 15:55:41 wanst sure if that was kosher Sep 19 15:55:51 Oh yea, nevermind Sep 19 16:07:36 explodes: I’ve had to deal with that too. It works 90% of the time but sometimes it just doesn’t get it Sep 19 16:08:01 It drives me crazy Sep 19 16:10:31 i am also being driven crazy by CoordinatorLayout Sep 19 16:11:08 hi all Sep 19 16:11:12 anyone using admob guys? Sep 19 16:11:31 I'm using admob Sep 19 16:11:37 Haha I was actually talking about having to manually cast a field to itself with an observable, I haven’t gotten to deal with CoordinatorLayouts yet Sep 19 16:12:03 Oh wait, yes I have Sep 19 16:12:24 DeaverDev: i created admob ap and a baner ad unit and inserted that in my android app but the ad not displaying. i'm confused bethwan app id, interstitial id and the publisher id? Sep 19 16:12:40 DeaverDev: want to see my code? Sep 19 16:13:28 Did you try to show test ad? Sep 19 16:13:41 DeaverDev: i wish, where to go? Sep 19 16:14:14 xximjasonxx: I’d just put it above the collapseable layout, unless you need something to shrink into it. Sep 19 16:14:28 tried that, it gets cut off Sep 19 16:14:33 cut in half rather Sep 19 16:15:13 https://firebase.google.com/docs/admob/android/quick-start Sep 19 16:15:26 im basically on the verge of using LL as the root and doing TB CL in vertical orientation Sep 19 16:16:07 xximjasonxx: what exactly are you trying to accomplish? Sep 19 16:16:09 https://material.google.com/patterns/scrolling-techniques.html#scrolling-techniques-behavior Sep 19 16:16:31 There are a few different techniques that fit under your description, finding out exactly what effect you’re after could help Sep 19 16:16:33 nothing complex Sep 19 16:17:01 basically i want the toolbar to always be visible and the user to scroll a fragment and recyclerview stacked vertically with a FAB Sep 19 16:17:19 nothing should collapse Sep 19 16:17:28 only reason, from my understanding, that i need the CL is for the FAB Sep 19 16:18:24 Arancio, oof, so it was even dumber. the font color was white, which matched back background image i was using for the widget. but the layout view showed it as black. strange that the defaults don't match Sep 19 16:18:56 all is well that ends well Sep 19 16:18:57 konk3r: basically all i really need is the FAB and the content of the page to scroll under the toolbar Sep 19 16:19:08 Totally forgot my headphones at home >=( Sep 19 16:19:56 DeaverDev: MobileAds.initialize(getApplicationContext(), "ca-app-pub-3940256099942544~3347511713"); Sep 19 16:19:59 xximjasonxx: you can do it but snackbar will scroll as well Sep 19 16:20:01 DeaverDev: what is this id? Sep 19 16:20:08 is this my ap id? Sep 19 16:20:26 Arancio: no snackbar on this page Sep 19 16:20:47 DelphiWorld: thanks for publishing the id. now we get all your money Sep 19 16:21:05 Arancio: Lulz, am i stupid? HAHAHA Sep 19 16:21:15 he is right though Sep 19 16:21:16 this is google test id, congratulation Arancio for faling Sep 19 16:21:35 there was a story on verge about some guy who accidentally published his aws key into GitHub Sep 19 16:21:40 woke up the next morning owing $40k Sep 19 16:21:46 HAHAHA Sep 19 16:22:09 DelphiWorld: I don't even know what that id is about. Sep 19 16:22:18 ... Sep 19 16:22:47 DelphiWorld: I was joking. I hope you get rich so you can buy some sense of humor Sep 19 16:22:48 xximjasonxx: Does the FAB need to do anything special, or does it just scroll with the page? Sep 19 16:23:07 xximjasonxx: put the coordinator view in a scroll view Sep 19 16:23:11 Arancio: i have only one dream to buy in my life ;( Sep 19 16:23:12 scroll with the page for now Sep 19 16:23:47 Okay Sep 19 16:23:48 konk3r: what i laid out is literally all i need Sep 19 16:24:12 konk3r: if we are looking at the link you sent this sums up the need: The app bar can stay fixed at the top with content scrolling under it. Sep 19 16:24:22 DelphiWorld: I know: you want to buy love Sep 19 16:24:37 Arancio: no, you're out of the range Sep 19 16:24:54 What’s your xml for layout out your page? If you put the coordinator layout below the toolbar it shouldn’t be able to cut anything off Sep 19 16:24:55 DelphiWorld: a car? Sep 19 16:25:12 You could do it with a simple LinearLayout that holds your toolbar then your coordinator layout Sep 19 16:25:13 Arancio: if i was not blind i would dream about a car :( Sep 19 16:25:34 konk3r: i am trying a fix i found on SO Sep 19 16:25:35 DelphiWorld: sorry, I forgot that Sep 19 16:25:42 if it doenst work i will post the XML Sep 19 16:26:22 DelphiWorld: pretty useless indeed Sep 19 16:26:29 konk3r: this is the current XML Sep 19 16:26:30 http://pastebin.com/jQAwXkfx Sep 19 16:26:43 most everything is there an working with the exception of the toolbar which is being cut off at the top Sep 19 16:27:27 *and Sep 19 16:27:42 Arancio: my dream is some glass Sep 19 16:27:48 dedicated to blind people Sep 19 16:28:01 what kind of glass? Sep 19 16:28:12 it's some glass built in saudi arabia Sep 19 16:28:24 what does it do? Sep 19 16:28:34 it include hell load of features including gps navigation, money reading, OCR, and a lot lot lot Sep 19 16:28:40 even face recognition Sep 19 16:28:45 glasses? Sep 19 16:28:53 maybe glace Sep 19 16:28:56 like the google glace Sep 19 16:29:00 xximjasonxx: You don’t need to coordinate your toolbar with anything Sep 19 16:29:16 google glasses! not glace! Sep 19 16:29:27 You can pull it completely out of the coordinator layout, make a LinearLayout as a root object and have the Toolbar and CoordinatorLayout be its two children Sep 19 16:29:45 DelphiWorld: are you using a typing assistant? Sep 19 16:29:47 Arancio: tts dont make any diference bethwan glass or glasses... LOL, that why i do lot of stupid errors Sep 19 16:29:50 konk3r: that is what i was thinking but i somehow go the impression that was not a good way to go Sep 19 16:30:04 Arancio: no, i learned the full keyboard Sep 19 16:30:05 That’s how Toolbars have historically been used Sep 19 16:30:32 konk3r: got it, thanks - let me give that a try Sep 19 16:30:34 DelphiWorld: isn't tts a typing assistant? what is it? Sep 19 16:30:46 If you can make it work in a coordinatorLayout then cool, it’s one less view in your hierarchy for Android to navigate, but one LinearLayout at the top won’t kill you Sep 19 16:30:57 Arancio: tts = text to speech, that provide Voice fidback on any activity on the pc Sep 19 16:31:18 Arancio: if you're a developer, checkOut TalkBack. you'll make your apps blind user's friendly Sep 19 16:31:29 DelphiWorld: ah ok. thanks. I'm ignorant, sorry Sep 19 16:32:00 DelphiWorld: thanks for the suggestion Sep 19 16:32:09 Arancio: hahaha welcome Sep 19 16:32:15 if you need testing i am glad to do Sep 19 16:33:57 DelphiWorld: I guess my application would not very usable by blind people anyway. But it's useful to know. I'll think about it Sep 19 16:34:10 I have 5 EditTexts. Is there an easy way to go through and check if any are empty without 5 seperate if (!iTextUtils.isEmpty()) blocks? Sep 19 16:34:37 orbyt_: put them in an array Sep 19 16:35:38 Arancio: is it to show a single msg with ok button without touching the interface? Sep 19 16:35:46 use logic OR Sep 19 16:35:53 Yea that's what I figured, but assuming this is a relatively common thing was wondering is there was a utility method for it Sep 19 16:36:15 DelphiWorld: what? Sep 19 16:36:29 konk3r: weird, that didnt work either Sep 19 16:36:37 Arancio: in javascript, for example: alert ('Hello Arancio!'); Sep 19 16:36:39 if (!iTextUtils1.isEmpty() && !iTextUtils2.isEmpty() ... etc) or if (!(iTextUtils1.isEmpty() || iTextUtils2.isEmpty() ... etc)) Sep 19 16:36:43 how do i show a msg like that in java Sep 19 16:36:53 Try setting your toolbar to a set height Sep 19 16:36:53 A && B == !(A || B) Sep 19 16:36:54 orbyt_: there is one in com.orbyt.utility Sep 19 16:37:11 konk3r: toolbar is big enough, just getting cut off Sep 19 16:37:11 Ah yeah, A and B equal not A or cool face Sep 19 16:37:12 adq: mhm Sep 19 16:37:26 DelphiWorld: check the class Dialog. But I never used it so far Sep 19 16:37:35 ok Sep 19 16:37:40 Can you take a screenshot? Sep 19 16:38:38 i can, give me a second. this is a certain amount of nda that i have to make sure isnt revealead Sep 19 16:38:42 *there Sep 19 16:44:51 hey guys, just a quick question here, I have an app thathas a custom URL scheme (myapp://) my IDP redirects to it after successful login, Sep 19 16:45:46 I integrate with chrome custom tabs , but on some samsung devices it seems this opens with the default included browser, and it does not perform the redirect. Sep 19 16:45:55 has this happened to anyone? Sep 19 16:46:22 are you launching an intent? Sep 19 16:46:29 No worries, let me know when you have it and post the updated XML Sep 19 16:48:41 konk3r: http://screencast.com/t/HtwwQoa6 Sep 19 16:48:47 http://pastebin.com/zBuvZnVq Sep 19 16:48:50 screen and xml Sep 19 16:49:17 strangest thing is, there is content Sep 19 16:49:25 and there was before i used LL as the root Sep 19 16:49:34 I'm using this https://github.com/openid/AppAuth-Android Sep 19 16:49:49 Arancio: finaly test ad worked :P Sep 19 16:50:23 xximjasonxx: One note there, you’ll have to set your linearLayout to orientation:vertical Sep 19 16:50:39 is it not? Sep 19 16:50:58 Nope, it’s default so horizontal Sep 19 16:51:00 But that’s a side note Sep 19 16:51:21 lol - well never realized that (figures the one time i dont specify it outright) :) Sep 19 16:51:23 Try changing the height to 400 and see if it has any effect, there’s nothing in that code that should affect it Sep 19 16:52:30 konk3r: as a side, thank you very much for helping me with this Sep 19 16:52:50 whether we get it here or not, its always nice to find people willing to help on IRC Sep 19 16:54:20 Hi all, what's the best way to get ANR crash reports sent to Slack? Sep 19 16:54:25 HockeyApp? Sep 19 16:54:41 is that what you’re using? Sep 19 16:54:59 no, s73v3r want to find out what we _should_ be using :) Sep 19 16:55:06 what are you using? Sep 19 16:55:09 Play store's inbuilt stuff's meh. Sep 19 16:55:17 nothing at the moment - still in alpha dev. Sep 19 16:55:30 try this: https://slack.com/apps/A03HHTUN5-appbot Sep 19 16:55:59 HockeyApp isn’t bad, I’ve used Fabric/Crashlytics as well and thought it was pretty good Sep 19 16:56:19 oh thanks Sep 19 16:56:20 if you are intending to use Xamarin in the future use HockeyApp Sep 19 16:56:36 Microsoft recently bought them so its kind of the goto if you use Xamarin Sep 19 16:56:44 also supports native so its two birds with one stone Sep 19 16:56:47 just saying Sep 19 16:57:06 konk3r: it great appropriately Sep 19 16:57:06 crashlytics is free? Sep 19 16:57:07 wow Sep 19 16:57:09 (grew Sep 19 16:57:12 *gre Sep 19 16:57:14 ugh Sep 19 16:57:15 it’s owned by twitter Sep 19 16:57:16 I mean Fabric. Sep 19 16:57:44 michael_mbp, it is Sep 19 16:58:21 nice thanks! Sep 19 16:58:21 konk3r: do you have any idea why it is being cut off? Sep 19 16:59:00 xximjasonxx: so it grows but it’s still cut off? Sep 19 16:59:15 Oh wait, is the top just hidden behind the notification bar? Sep 19 16:59:25 status bar, yeah Sep 19 16:59:31 Ooooooh, okay Sep 19 16:59:40 sorry, i wasnt clear on that Sep 19 17:00:01 Yeah, you’re manually setting something to make it ignore the status bar, I don’t remember what that flag is though Sep 19 17:00:13 windowNoTitle Sep 19 17:00:13 Pull out fitsSystemWindows Sep 19 17:00:19 windowNoActionBar Sep 19 17:00:29 On the LinearLayout and Toolbar Sep 19 17:00:58 those two keys are set in our base style Sep 19 17:01:28 Oh shoot, that should prevent that from happening Sep 19 17:01:43 https://medium.com/google-developers/why-would-i-want-to-fitssystemwindows-4e26d9ce1eec#.rtzoqc6yb Sep 19 17:02:17 yeah, i just confirmed that Sep 19 17:02:51 Make sure that no parent views or styles are calling FitsSystemWindows=false Sep 19 17:03:31 there arent Sep 19 17:03:32 Even if it breaks other things in your app, do it for now just to confirm if that’s the cause or not Sep 19 17:03:35 unless its inherited Sep 19 17:03:54 from Android Sep 19 17:04:15 hey, say that i want to get a log of what time different apps entered or exited the foreground; that should be easily doable via logcat, right? Sep 19 17:05:36 xximjasonxx: Is your activity calling anything that may affect it? Sep 19 17:05:55 `getWindow().getDecorView().setSystemUiVisibility(...` Sep 19 17:06:03 negative Sep 19 17:06:39 theme of the activity: http://pastebin.com/JNsdgCqt Sep 19 17:07:26 xml of the activity: http://pastebin.com/yn0aXJPh Sep 19 17:07:50 Anyone know of a good online code example or tutorial where the topic is "how to show an 'ok' button on an AlertDialog only after some methods are complete? Sep 19 17:08:02 as for the activity code itself, cant show it but there is nothing in here affecting the system level UI Sep 19 17:09:28 And pulling out fitssystemwindow or changing it to false didnt work? Sep 19 17:09:35 made it worse Sep 19 17:09:51 the bar went up farther, less than 1/3 visible Sep 19 17:10:16 it shouldnt matter that the fragment this fragment is replacing did call fitssystem window Sep 19 17:10:25 basically, each fragment defines its own coordinatorlaout Sep 19 17:14:47 kode54: i MIGHT have fixed t Sep 19 17:14:49 *it Sep 19 17:15:20 konk3r: rather Sep 19 17:15:41 Anyone know of a good online code example or tutorial where the topic is "how to show an 'ok' button on an AlertDialog only after some methods are complete? Sep 19 17:15:53 What’s your potential fix? Sep 19 17:16:05 status bar translucent Sep 19 17:16:10 https://codedump.io/share/LYSxwMkAHXKS/1/using-windowtranslucentstatus-with-collapsingtoolbarlayout Sep 19 17:16:20 Interesting Sep 19 17:16:33 yup, that worked Sep 19 17:16:43 Awesome, congrats :) Sep 19 17:16:48 here are the two lines: Sep 19 17:16:59 item name="android:windowDrawsSystemBarBackgrounds">true Sep 19 17:16:59 false Sep 19 17:16:59 g00s: decided to learn new stuff Sep 19 17:17:13 azv4: You may have to make a custom dialog, create the view with the OK button set to invisible, then change visibility after the method finishes Sep 19 17:17:21 other pages look a bit weird, but i can cover those with a derived style Sep 19 17:18:04 konk3r, I understand that conceptually, but I dont know how to implement it in code. Sep 19 17:18:22 that's why I'm trying to find some example online of similar functionality Sep 19 17:18:29 it seems like very common thing Sep 19 17:18:42 but I can't find any stackoverflow examples Sep 19 17:20:10 hahaha Sep 19 17:20:11 So, I need to include a local library module in a local app Sep 19 17:20:12 raoul11: sup sup sup Sep 19 17:20:18 wasted Sep 19 17:20:24 Arancio: i'm crazy... was looking for you guys in #android :-P Sep 19 17:20:28 u? Sep 19 17:20:38 ^Continuing from above, I dont want the local library to show up in the local apps project structure Sep 19 17:20:44 how is this done? Sep 19 17:23:05 When I set a button with: mProgressDialog.setButton("Ok", (DialogInterface.OnClickListener) null), what does DialogInterface.OnCLickListener) null) represent? Sep 19 17:29:51 Ceylon Krew checking in. Sep 19 17:29:56 Not really. Sep 19 17:30:26 Wish their documentation were easier to understand. Takes too much effort right now. Sep 19 17:32:19 yeah, anyone who wants to have an “alternative” to Java needs to understand that their offering needs to be less friction than the existing experience Sep 19 17:32:55 They already have a hill to climb in that they need me to install something else. Don’t handicap yourself with other things like confusing documentation Sep 19 17:32:59 Yeah. Sep 19 17:33:40 er, just a sanity check, but you can just view log messages on a connected device in debug mode, right? you don't necessarily need to launch something on the phone to see the logs? Sep 19 17:33:46 The quick-introduction page is way too wordy. The rest is too complicated. Sep 19 17:34:49 diphtherial: Yeah, I think you can see debug log messages by default. Sep 19 17:35:53 TacticalJoke: yeah, funny, it worked this time; earlier i ran adb logcat and it just sat there saying 'waiting for device' despite it being connected, but it's working (and spewing a ton of stuff out) now Sep 19 17:36:28 first you need to enable usb debugging, then you need to authorize the pc Sep 19 17:36:31 Once it detects that you've gone on IRC and asked, it works. Sep 19 17:38:01 Is there any issue manually deleting the app/build directory? Its regenerated correct? Sep 19 17:38:29 TacticalJoke: seems so, heh. i guess it's an instance of a heisenbug Sep 19 17:41:07 thepoosh what did you learn !? Sep 19 17:41:22 http://www.theverge.com/2016/9/19/12943054/google-trips-travel-app-android-ios Sep 19 17:41:27 learning all sorts of things I should've started a long time ago Sep 19 17:42:34 lol do share .. Sep 19 17:43:27 AS 2.2 stable is out Sep 19 17:43:58 thepoosh we were wrong :DF Sep 19 17:44:00 2.2 is out? Oh snap. Sep 19 17:44:22 Whats with the rumor that Allo is being released this week Sep 19 17:44:39 Poor Ceylon guys; can't even get a day of "Ceylon supports Android" without being eclipsed. Sep 19 17:44:52 guys, please could someone check my activity file? fail to compile due to missing } simbole or something? i'm blind so it's hard to validate. link: http://pastebin.com/VUsHipUy Sep 19 17:44:55 Without being Android Studioed. Sep 19 17:45:47 DelphiWorld: Are you actually blind or was that just sarcasm Sep 19 17:46:07 TacticalJoke lol Sep 19 17:46:07 orbyt_: why the hell claim to be blind if i am not? Sep 19 17:46:12 I want to help a fellow Delphi enthusiast. But that code... Sep 19 17:46:37 TacticalJoke i think there is much more hype around kotlin than actual adoption; i never see kotlin in the top XXX of any language list Sep 19 17:46:41 TacticalJoke: delphi is over for me, just kept my irc name for 8 years so didnt want to let people ask again :P Sep 19 17:47:09 Over for me too. But those memories. *stares off in distance* Sep 19 17:47:16 DelphiWorld: Because asking for someone to review your code and sarcastically commenting you're blind is common Sep 19 17:47:18 orbyt_: i am 100% blind without any sight at all Sep 19 17:47:22 but as somebody said the other say, android is one of the most cargo culted platforms out there Sep 19 17:47:29 How are you communicating over IRC? Sep 19 17:47:36 g00s: Didn't Netflix pick up Kotlin? It seems to be gaining some traction. Sep 19 17:48:09 i remember reading they ditched groovy for java 8 Sep 19 17:48:10 orbyt_, screen reader. take a look at "VoiceOver", "NVDA", "Jaws for windows", "TalkBack (Android)" and others Sep 19 17:48:29 DelphiWorld: Interesting, thats cool Sep 19 17:48:38 orbyt_: those are screen readers Sep 19 17:50:16 i always get errors with {}... Sep 19 17:50:24 g00s: Something that's annoying me about Kotlin (and I know this is petty) is that kotlinc generates more bytecode instructions in quite a few cases for basically the exact same code than javac does. Sep 19 17:50:46 Sometimes it seems pointless. Though I'm no JVM expert. Sep 19 17:52:08 TacticalJoke i haven't looked into it yet Sep 19 17:52:19 * DelphiWorld is lost Sep 19 17:52:36 its low on my list of priorities :P Sep 19 17:52:41 DelphiWorld: I'm not sure, but I think the close-brace on line 86 may be wrong. Sep 19 17:52:54 I hate no idea, though; we humans are terrible at this stuff. Sep 19 17:52:55 let me see Sep 19 17:54:00 It'd be cool if brace-balance recognition had been selected for. Sep 19 17:54:40 ok, i think now i miss a class Sep 19 17:56:27 TacticalJoke: you saved me. thanks Sep 19 17:57:10 Wow, I'm surprised that fixed it. That was just a "spidey senses tingling" thing. Glad it worked. :D Sep 19 17:57:34 hold on, rebooting Sep 19 17:58:58 anyone happen to have a hint on what i should be looking for in logcat to tell when an activity enters the foreground? Sep 19 17:59:12 this message seems relatively reliable: ActivityManager: Displayed com.facebook.orca/com.facebook.messenger.neue.MainActivity: +1s851ms Sep 19 17:59:45 having trouble finding the corresponding line that tells me they've exited to another screen/the homescreen, though Sep 19 18:00:09 diphtherial: in your own app or 3rd party? Sep 19 18:00:20 Afzal: third-party Sep 19 18:00:46 note that this is with the phone in debug mode and plugged in; i'm just trying to build a timeseries of my activity on the phone for testing Sep 19 18:01:39 TacticalJoke: how much i am hell happy... Sep 19 18:01:56 by 'activity', i just mean when an app's activity becomes visible, when i'm on the homescreen, and ideally also when the device is locked Sep 19 18:02:27 wow, what kind of a lazy ass doesn't fix this? https://code.google.com/p/android/issues/detail?id=55733&can=5&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened :/ Sep 19 18:02:29 If its your own app, just add log statements throughout the lifecycle Sep 19 18:02:53 diphtherial: I don't think there is a LogCat message for an activity resuming. Sep 19 18:03:09 That thing you're seeing might happen only when an activity takes ages to show (though I'm not sure). Sep 19 18:04:04 TacticalJoke: didn't seem to take ages to show to me, but perhaps by machine standards Sep 19 18:04:18 http://android-developers.blogspot.fr/2016/09/android-studio-2-2.html Sep 19 18:04:22 it's out, again Sep 19 18:05:18 fwiw, it's either this or the relatively lower-tech method of writing down each activity with the time i'm supposed to do it (e.g. "T+5minutes: open facebook, T+10min: return to homescreen") Sep 19 18:05:44 i'm attempting to build a 'ground truth' timeseries against which to compare my estimation of the user's activity just from looking at network traffic Sep 19 18:06:03 (and before you tell me it's impossible, sure, it may be, but i at least have to make an effort at this point) Sep 19 18:07:25 diphtherial: xposed might help with that Sep 19 18:08:53 haha, talk about a risky google search... Sep 19 18:09:13 lol I don't think that would be risky :p Sep 19 18:09:38 well, i was hoping to avoid having to write a lot of code for something i assumed would be available in the system logs Sep 19 18:09:41 suggestions, yes :D Sep 19 18:09:52 happy happy happy... dansing Sep 19 18:09:53 if it comes down to it, i guess i'll be using a spreadsheet to track my activities Sep 19 18:10:30 diphtherial: I'm pretty sure this stuff is not normally logged. Sep 19 18:11:48 adq let me know how it goes, if you like it, i will too :D Sep 19 18:12:02 just updated, trying this new apk analyser Sep 19 18:12:03 DelphiWorld: How do you move to the correct line in a method? Just curious. Sep 19 18:12:26 2.2 is taking ages to download. Sep 19 18:12:38 whoa 11 second build time! Sep 19 18:12:39 TacticalJoke: it appears the events log tracks activities moving to/from the foreground Sep 19 18:12:51 let's clean project, try this again Sep 19 18:13:07 g00s: sorry was afk Sep 19 18:13:11 TacticalJoke, just move up & down to heare the line :P Sep 19 18:13:12 diphtherial: For every app? Even one you've just created? Sep 19 18:13:18 DelphiWorld: Ahh, okay. Sep 19 18:13:26 started learning things I should already be knowing like retrofit, Rx and some more Sep 19 18:13:33 Big drama over Fragments in the andev reddit this weekend Sep 19 18:13:48 lol Sep 19 18:13:53 my ad is showing now!!! Sep 19 18:13:59 s73v3r heh, there must be a Fragments post every month, or something is wrong Sep 19 18:14:11 s73v3r: tired of it lol. Fragments are usable and you don't have to manage the damn backstack Sep 19 18:14:18 and nice, 50 sec build time :D Sep 19 18:14:22 but… you do Sep 19 18:14:26 we talking about fragments? Sep 19 18:14:26 Afzal: Is that good? Sep 19 18:14:32 because i just learned about them and they're fun. Sep 19 18:14:37 i don't see any build time improvement here, but i'm not using jack Sep 19 18:14:46 i generally don't like frameworks / libraries that abstract over platform apis, like Conductor Sep 19 18:14:54 TacticalJoke: yeah, it's a system-level log that tracks activities moving on the stack; it's not reliant on any particular app's logging Sep 19 18:15:00 Am I right in thinking I don't technically need the JDK or JRE to install AS 2.2? Sep 19 18:15:11 g00s: although, according to Dianne Hackborn, that’s what’s supposed to be done Sep 19 18:15:16 installing is just unzipping Sep 19 18:15:19 so yes you are right Sep 19 18:15:24 s73v3r: not for a lot of things, and it's not complicated when you do. It's not like writing another interface, then implementing it everywhere. You just do addToBackstack Sep 19 18:15:34 adq: Not on Windows. :D Sep 19 18:15:38 TacticalJoke: you don't, it comes bundled Sep 19 18:15:39 s73v3r what is supposed to be done? i don't recall her saying along those lines ... Sep 19 18:15:39 <- i'm on win too Sep 19 18:15:54 i dont use android studio at all Sep 19 18:15:56 Afzal: Ah, that's handy. Sep 19 18:16:00 g00s: that stuff should be made to abstract over platform apis Sep 19 18:16:04 DelphiWorld: What do you use? Sep 19 18:16:07 eclypse was better ..., it use "SWT" ui. android studio use AWT Sep 19 18:16:07 yeah who needs AS? I program in notepad Sep 19 18:16:25 s73v3r do you have a link? Sep 19 18:16:25 http://tools.android.com/download/studio/builds/android-studio-2-2-stable cc TacticalJoke Sep 19 18:16:29 you have exe, zip etc Sep 19 18:16:30 * DelphiWorld use Notepad++, TacticalJoke Sep 19 18:16:37 avoid the installer, imho Sep 19 18:16:42 it was her G+ post, where she was saying that the platform provides just the base stuff Sep 19 18:16:46 man, days when AOSP was better to code with sublime than eclipse Sep 19 18:16:55 also why not Sublime Text, DelphiWorld Sep 19 18:16:55 I like being treated like a computer noob and using installers. :[ Sep 19 18:17:01 :D Sep 19 18:17:06 i am wondring about something Sep 19 18:17:20 why the only software company that care about users with disability is apple? Sep 19 18:17:32 why oracle dont move on and change the world of java a bit? Sep 19 18:17:32 yep, cool, adb logcat -b events | grep 'focused_activity' seems to be precisely what i wanted Sep 19 18:17:35 cause there the ones that take the time to think about the experience Sep 19 18:18:24 Confession: I've been using JDK 7 this whole time. Sep 19 18:18:36 gonna try this new "android.enableBuildCache=true" in build.gradle, now Sep 19 18:18:39 also, Apple primarily makes their money by selling devices. If the device has a bad experience, they directly see it Sep 19 18:18:53 err; settings.gradle Sep 19 18:19:15 nooo, err again, gradle.properties, my bad Sep 19 18:19:17 s73v3r: yes but all there Os are usable Sep 19 18:19:17 :') Sep 19 18:19:22 <- need holiday Sep 19 18:19:42 DelphiWorld: come again? Sep 19 18:19:48 DelphiWorld: because Oracle only cares about winning the one lawsuit that will earn them big bucks, and PeopleSoft. Sep 19 18:20:08 Afzal: good expression. Sep 19 18:22:36 I love uninstalling stuff. Sep 19 18:22:47 It's like "Get the hell off my computer". Sep 19 18:23:40 JDK 7, JRE 7, AS 2.1.3. Sep 19 18:23:57 s73v3r: cyrill mottier is a big proponent of not going against the framework, his apps are nice Sep 19 18:23:57 lol Sep 19 18:24:19 (on fragments) Sep 19 18:24:36 he liked ContentProviders also, at least a while back Sep 19 18:24:41 ugh Sep 19 18:24:44 ha! Sep 19 18:24:45 okay that's where I draw the line Sep 19 18:24:54 mouarf i don't see any diff on a relatively little project with android.enableBuildCache=true, except.... now it raises an error (in debug mode though): Execution failed for task ':app:transformClassesWithInstantRunForDebug'. Sep 19 18:24:55 > java.lang.ClassNotFoundException: android.security.keystore.KeyGenParameterSpec$Builder Sep 19 18:24:57 GG Google Sep 19 18:24:59 I like my Repository pattern way too much now Sep 19 18:25:20 I’m totally for not going against the Framework, but Fragments are not a critical part of the framework Sep 19 18:25:20 Afzal i'm trying something like cqrs / event sourcing Sep 19 18:25:23 and by my, I mean, the one that's everywhere, not the one made by me or something Sep 19 18:25:44 g00s: hmm, unsure Sep 19 18:26:06 disabling instant-run again, now it builds........... Sep 19 18:26:24 i love that they wrote: "If you have previously disabled Instant Run, we encourage you to re-enable it and let us know if you come across further issues. " Sep 19 18:26:30 very encouraging Sep 19 18:26:31 s73v3r: fair, I tried to go the View way but man, so much more boilerplate, so much more extra code to achieve the same ends Sep 19 18:27:03 adq yeah, they should then add "if it doesn't work for you, hang in there until AS 2.3 coming 6 months from now" Sep 19 18:27:04 adq: And then firebase are like, instant run's gonna mess us up for now, whoops Sep 19 18:27:14 and jack too Sep 19 18:27:16 I'm was never keen on the whole Instant Run thing (even when I assumed it was gonna work). Sep 19 18:27:18 "we'll get it right eventually :)" Sep 19 18:27:28 jrebel somehow did it way better Sep 19 18:27:33 it's totally work on other platform or with other tools TacticalJoke Sep 19 18:27:37 Always felt they should instead get build and deploy times down as much as possible. Sep 19 18:27:37 at least back when i tried ttheir beta Sep 19 18:27:40 jrebel has an incentive to do so. Sep 19 18:27:46 yup Sep 19 18:27:47 for example with sbt (and protify of pfn), or ICE with juce Sep 19 18:27:48 etc Sep 19 18:27:58 so there is no excuse. Sep 19 18:28:05 is there a way to control the emulator sensors from command line? Sep 19 18:28:21 looked into the telnet thing but I see no events related to that Sep 19 18:28:35 g00s: The smiley makes it feel safe. Sep 19 18:28:36 and rotate, but that's about it Sep 19 18:28:47 Afzal, try with genymotion or visual studio emulator instead Sep 19 18:28:56 you have much more control about what you want to inject into the sensor(s) Sep 19 18:29:13 adq: genymotion sensors stuff is only paid Sep 19 18:29:22 I view fragments as a first party solution to an existing issue on Android Sep 19 18:29:23 ah sorry, it's cheap though (i paid) Sep 19 18:29:41 And like a lot of Google’s first party library solutions, it works but it isn’t the greatest Sep 19 18:29:49 meh, my employers don't find value in it, and sadly I'm the only android dev Sep 19 18:29:51 Many view them as a first-party problem. Sep 19 18:29:54 either do I konk3r Sep 19 18:30:04 things were much more stable and bug-prone Sep 19 18:30:08 now it's a real mess Sep 19 18:30:50 g00s: I’m not opposed to using a third party extention like Conductor, it just feels like Conductor still has so much boiler plate that I haven’t picked it up yet. Sep 19 18:31:06 there is at least 3 ways to getColor now lol Sep 19 18:31:15 If they could find a way to make it more seemless I’d be all for it Sep 19 18:31:19 seamless* Sep 19 18:31:25 i dunno, I feel like constantly checking isAttachedToActivity is a huge amount of boilerplate for fragments Sep 19 18:31:37 adq: What's the new third way? Sep 19 18:31:44 something in a compat lib Sep 19 18:31:49 very recent iirc Sep 19 18:31:51 Ahh. Sep 19 18:32:07 ContextCompat maybe Sep 19 18:32:09 or something like that lol Sep 19 18:32:14 (hilarious) Sep 19 18:32:26 s73v3r: I’m not a proponent of fragments either, I think they cause more issues than custom views Sep 19 18:33:56 Wait, is Conductor one of the two libraries Square put out that work together to let you replace fragments with custom views, or am I thinking of something else? Sep 19 18:34:02 I'm using a string filter on an edittext to only allow characters found in a typical mac address (A-F, 0-9, and it auto-inserts ':' after every two characters. I found the implementation on stack overflow and it runs kind of... badly. If I insert a full mac, and then try deleting the whole thing, the first 3 characters will not delete. But if I fill in the remaining positions, and try again,... Sep 19 18:34:04 ...I can delete the whole string again... its unreliable at worst. mac filter from http://stackoverflow.com/questions/13569715/enter-a-mac-address-in-the-right-format-on-android Sep 19 18:34:10 https://developer.android.com/reference/android/content/res/Resources.html#getColor(int) https://developer.android.com/reference/android/support/v4/content/ContextCompat.html#getColor(android.content.Context, int) https://developer.android.com/reference/android/support/v4/content/res/ResourcesCompat.html#getColor(android.content.res.Resources, int, android.content.res.Resources.Theme) etc.. Sep 19 18:34:18 but there are more, not sure which one is the newest Sep 19 18:34:33 konk3r: Conductor is similar, but it’s by Lyft, I think Sep 19 18:34:52 Ooooh, okay. I was thinking of Flow and Mortar. Sep 19 18:35:00 also Afzal, check https://1.bp.blogspot.com/-URyZsUSY0aM/V-AVq9VOA6I/AAAAAAAADaI/qGiCYVkXxlcf8dm4y3i2HQQvsFd5dyWUwCLcB/s1600/image02.gif Sep 19 18:35:05 in the latest release of AS Sep 19 18:35:24 just finished reading the blog post and saw that after you asked Sep 19 18:35:29 anyone? Sep 19 18:35:48 hey konk3r how is it going Sep 19 18:35:53 s73v3r: ah, I use a version of this: https://github.com/czyrux/MvpLoaderSample, my fragments are pretty stripped down, have only 2 methods ever to override. onPresenterPrepared() and getPresenterFactory() Sep 19 18:36:02 Long time no talk g00s, what’s up? Sep 19 18:36:28 adq, I know, I wanted to see if there was a way to do that with command line Sep 19 18:36:38 to automate some emulator movement Sep 19 18:36:41 konk3r not much really, looking at rxjava 2, maybe convert to that now Sep 19 18:36:44 I finally got a macbook instead of a windows machine at my new job so I have a decent IRC client I can leave up haha Sep 19 18:36:45 my admob account isn't showing any ad, but my app can show test ad from google ? Sep 19 18:36:49 Afzal: For testing? Sep 19 18:36:57 konk3r: textual? Or IrcCloud? Sep 19 18:37:09 Colloquy Sep 19 18:37:19 konk3r try textual Sep 19 18:37:19 s73v3r: for testing? Sep 19 18:37:31 I have Textual on my personal computer, I thought I’d try out Colloquy here Sep 19 18:37:37 although, i was thinking about writing a desktop irc client using electron :P Sep 19 18:37:38 Regardless, both are way better than mIRC Sep 19 18:37:46 textual / limechat Sep 19 18:37:49 for osx Sep 19 18:37:51 I mean, are you trying to automate movement to facilitate automated tests Sep 19 18:38:05 Afzal, yeah but you said you tested with telnet which can give you the list of supported sensor Sep 19 18:38:17 yeah, for a motion recognition library, would be nice to have deterministic movements to test against Sep 19 18:38:18 and also iirc provides a way to write/inject some basic values Sep 19 18:38:32 I tried leaving mIRC open on my windows machine but the UI made it hard to read, and it didn’t automatically notify me when I was mentioned. I’m sure I can set that up, but I need a client that just works for my work machine haha Sep 19 18:38:35 adq: I'll investigate more perhaps, thanks! Sep 19 18:39:27 konk3r: Miranda-NG Sep 19 18:39:31 g00s: how different is RxJava 2 from 1.x? Sep 19 18:39:54 konk3r best i can tell is it depends on reactive streams now, and implements some of those interfaces Sep 19 18:40:21 konk3r: I use https://webchat.freenode.net/ now. Sep 19 18:40:28 As lame as that sounds. Sep 19 18:40:31 Okay, so most people won’t notice much of a difference? Sep 19 18:40:54 Hahaha, that’s not too lame. I used to use mibbit all the time Sep 19 18:41:03 :D Sep 19 18:41:05 there was somethiung about null is not allowed anymore too Sep 19 18:41:10 not sure if it was rxjava or kotlin Sep 19 18:41:12 Having trouble with my edit text string filter. It's supposed to allo users to only enter hexadecimal characters and auto-insert ":" characters. I'm using code from http://stackoverflow.com/questions/13569715/enter-a-mac-address-in-the-right-format-on-android Sep 19 18:41:16 This webchat thing is actually pretty good. Sep 19 18:41:16 I've only played around w/ RxJava. Question: How does everyone handle orientation change. RX seems like it would still hold onto the activity and cause memory leaks. Sep 19 18:41:20 Nowadays. Sep 19 18:41:22 adq: that was definitely RxJava, I was reading that yesterday Sep 19 18:41:27 right Sep 19 18:41:34 konk3r https://medium.com/@theMikhail/rxjava2-an-early-preview-5b05de46b07#.rvh43jwdn Sep 19 18:42:01 Man, I wish that Java had null operate as an optional instead of having a separate Optional class Sep 19 18:42:28 Jesperhead, did you verify the issue is not coming from the regex? Sep 19 18:42:33 yeah, having to null check the Optional itself is just shitty Sep 19 18:42:42 surf2b1 yeah thats a tricky one, sometimes ... Sep 19 18:42:53 cause few days ago i read that regex with substring in java is treated a bit differently depending on the op (https://iluxonchik.github.io/regular-expression-check-if-number-is-prime/ in this article it's explained) Sep 19 18:43:09 s73v3r hahaha, not to mention that having Optional all over your code is just messy. Sep 19 18:43:14 It would be so cool if they had anticipated the problems with null at the beginning. Sep 19 18:43:35 `String text = null;` <-- error: String variable cannot be null Sep 19 18:43:47 konk3r: not so much. It’s better than having to do if(something != null && something.somethingelse != null && something.somethingelse.anotherthing == null) Sep 19 18:44:28 This is why we need prescient people. Sep 19 18:45:11 I’d say just break Java compatibility, but if they did, I know we’d never see it on Android Sep 19 18:45:18 s73v3r: That’s true. But if ( optional.isPresent() ) { optional.get().act()… } is still way messier than optional?.act() Sep 19 18:45:30 agreed Sep 19 18:45:40 This is why we need prescient people. < or sentient AI :> Sep 19 18:45:51 <_genuser_> darn jcenter bintray people are so slow to upload a simple package to jcenter. Sep 19 18:45:52 Although… would it be possible to write a library that converts that? Similar to RetroLambda? Sep 19 18:46:13 adq: I think we could have intelligent AI without sentience. I wouldn't wish sentience upon those poor machines. :[ Sep 19 18:46:24 do the package name need to match to be able to display admob ? Sep 19 18:46:27 Unless that sentience did not involve the ability to suffer. Sep 19 18:46:29 i don’t know. maybe, but you’d have to annotate all of them, I guess? Sep 19 18:46:42 How does retrolambda work without annotations? Sep 19 18:47:11 i do not know Sep 19 18:47:15 I should look into that, I’ve always been curious how those libraries work Sep 19 18:47:15 Unless that sentience did not involve the ability to suffer. < not sure :p without experiencing suffering, you might end up without any moral Sep 19 18:47:22 anyway :p Sep 19 18:47:29 oh, AS 2.2 is up? Sep 19 18:47:34 it is Sep 19 18:47:59 I think it's a tragedy that sentience ever hit organisms on this planet. But that is a different topic. :D Sep 19 18:48:00 wonder if that had anything to do with AS freezing up weirdly today Sep 19 18:48:35 adq: what did you mean about prime numbers? I'm not too sure how that matters regarding the operation im trying to complete Sep 19 18:48:46 This is an interesting argument in favour of abolishing suffering: http://www.hedweb.com/ Sep 19 18:49:04 Jesperhead, in this article they highlight that substring in java will force you to have a slightly different regex Sep 19 18:49:04 <_genuser_> TacticalJoke: but if it hadn't, you wouldn't be sentient to think it a tragedy! Sep 19 18:49:21 Jesperhead, and I asked you if you verified that your regex is ok Sep 19 18:50:08 i dont know regex. actually didnt know the code was using it either. i saw the "matches" arguments resembled regex Sep 19 18:50:14 oO Sep 19 18:50:29 ok, then forget Sep 19 18:50:38 ouch... Sep 19 18:50:46 regex get me mad when i was doing VoIp Sep 19 18:50:46 you can also take another approach and do it one char inputed by one char Sep 19 18:51:01 and verify every new char (or at every change) that it matches your constraint Sep 19 18:51:15 less elegant but it will be functional Sep 19 18:54:06 Gawd dayum, AS takes forever to install. Sep 19 18:56:09 nice, well, seems that i have a fairly high-resolution app usage monitor now Sep 19 18:56:33 all you have to watch for is screen_toggled, am_resume_activity, and am_focused_activity in the events log Sep 19 18:57:29 holy shit, the nav drawer in google trips is enormous Sep 19 18:59:30 The AS team seems pretty active on Reddit lately: https://www.reddit.com/r/androiddev/comments/53iqji/android_studio_22_released/ Sep 19 19:00:32 <_genuser_> TacticalJoke: forever to install. even longer to actually build. Sep 19 19:00:50 ;o Are your build times slower than before? Sep 19 19:00:56 gradle error: > Plugin with id 'com.google.gms.google-services' not found. Sep 19 19:01:36 s/slower/longer/ Sep 19 19:02:40 DelphiWorld make sure you have the google repository Sep 19 19:02:58 g00s: i have it, but how to resync my gradle in command line? Sep 19 19:03:01 g00s: yeah, wonder why it's so big... Sep 19 19:05:19 DelphiWorld, just running gradle build should auto sync iirc Sep 19 19:05:35 mmmmmmmmmm Sep 19 19:06:11 gradlew build Sep 19 19:06:14 i meant Sep 19 19:06:31 adq: i use gradle assemble... Sep 19 19:08:46 hm, AS fonts are screwed up on my mac, i was worried about this Sep 19 19:08:54 look like fuzzy shit Sep 19 19:09:06 god i hate java desktop crap Sep 19 19:11:10 isn't it an old bug g00s? and this is why they shipped another jvm with AS which was leading to another issue lol but fixed the font Sep 19 19:11:35 yeah its an old bug ... was supposed to be fixed Sep 19 19:27:47 Hello guys Sep 19 19:27:54 I've a question about a layout implementation Sep 19 19:28:06 I want to add a couple of list items in my android app Sep 19 19:28:13 but I don't need the scrollbars of a Listview Sep 19 19:28:20 or something scrolling these items Sep 19 19:28:26 Would a listview be the way to got? Sep 19 19:28:30 go* Sep 19 19:28:36 you don’t need it to scroll? Sep 19 19:28:40 No Sep 19 19:28:57 I would just add views to a linearlayout Sep 19 19:29:11 It's a Textview with an Image next to it. Sep 19 19:29:18 so I would use drawableLeft Sep 19 19:29:29 and center it vertically to the image. Sep 19 19:29:30 ok. and? Sep 19 19:29:39 No, I mean, I'm just saying. Sep 19 19:29:54 just add them to the layout, then Sep 19 19:29:56 and there are a couple of those you said right Sep 19 19:30:26 are you allowing for landscape or locking to portrait? Sep 19 19:30:48 you’d probably be best off creating a view layout in code, and then adding them to the main layout dynamically in code Sep 19 19:31:24 It's locked Sep 19 19:31:40 boo Sep 19 19:31:53 in all honesty, it wouldn't hurt you to have a ListView, or a scrollview around a LinearLayout, just in case Sep 19 19:32:11 true Sep 19 19:32:25 Scrollview is my master layout Sep 19 19:32:40 #scrollviewmasterrace Sep 19 19:32:45 haha Sep 19 19:32:48 ok, if scrollview is your root, definitely don't use a ListView Sep 19 19:33:02 Cool! Sep 19 19:33:53 anyone here have nougat and enabled the easter egg thing? I found that it was just murdering my battery life Sep 19 19:33:55 is it a bad practice to have a scrollview as my root? Sep 19 19:34:04 nope not bad practice Sep 19 19:34:08 ok Sep 19 19:34:11 Thanks :) Sep 19 19:40:16 s73v3r: How do I position the content that I want to dynamically add? Sep 19 19:40:33 should I add an empty LinearLayout in my XML where I want my content. Sep 19 19:40:35 ? Sep 19 19:45:10 man, there are a lot of android related plugins ... Sep 19 19:46:59 "Firebase Services" version 0.1. Initial Prototype. Sep 19 19:47:02 nope Sep 19 19:52:42 g00s: you installed? Sep 19 19:52:48 yeah Sep 19 19:52:50 http://developers.redhat.com/blog/2016/09/19/java-language-support-for-visual-studio-code-has-landed/ Sep 19 19:53:07 visual studio code sux Sep 19 19:53:12 installing now Sep 19 19:56:27 * g00s <3 VS Code Sep 19 19:59:54 "We didn't fix all the High issues; we have quite a few remaining and if we wanted to hold the release until they're all fixed, we wouldn't ship this year" Sep 19 19:59:56 hahaha Sep 19 20:02:49 How do you guys name your linear layouts, relative layouts and so on? Sep 19 20:05:06 shyman, often "@+id/layout_somethingrelatedtotheneeds" Sep 19 20:05:33 i don't feel the need to distinguish from the id if it's a linear or a relative one though, and when i can i tend to only cast to ViewGroup (most of the times) Sep 19 20:15:15 g00s, everyone likes what uncle bob say, but few practice what he says Sep 19 20:15:56 and, what he says is not for every project Sep 19 20:16:40 but, google is a 'no warranty of any kind' business Sep 19 20:19:14 uncle bob is awesome. Sep 19 20:20:01 I give up on instant-run (again), tried everything to get rid of "Execution failed for task ':app:transformClassesWithInstantRunForDebug'. > java.lang.ClassNotFoundException: android.security.keystore.KeyGenParameterSpec$Builder" Sep 19 20:20:17 cleaned cache, anything, even tried with gradle 3.1 ...... Sep 19 20:20:29 disable again for maybe 6 monthes Sep 19 20:22:36 all these jre/jdks are a pita. which one am i using? i had Apple Jre 6 previously for AS. Now i don't need it, but it can't be uninstalled. So for other stuff i have JAVA_HOME set .. to my Java 8 standalone; but reading this now gradle plugin will default to AS bundled if JAVA_HOME is NOT set Sep 19 20:22:41 jesus christ, i hate java Sep 19 20:25:22 So what's the problem? Sep 19 20:25:58 it's fun! Sep 19 20:27:20 if you do cpp oo Java translates well Sep 19 20:27:25 if the gradle daemon is started with a different jvm than what AS is using, they can't share daemons Sep 19 20:27:37 you'll get 2 daemons Sep 19 20:28:19 capella-5x give me cpp any day ... Sep 19 20:29:06 yes! and, how do you feel about masm? ☺️ Sep 19 20:29:08 so i have 6 jvms running now, something is wrong again Sep 19 20:29:33 i miss being able to have functions not inside a class Sep 19 20:29:56 capella-5x never used masm ;) Sep 19 20:30:08 inline macro? Sep 19 20:30:47 bit twiddling front panel ftw! Sep 19 20:33:38 when setting a color filter on a UI element, the first parameter is an int. What does this relate to? I'm familiar only with using Hex strings for colors. Do I need to reference a string\ resource? Sep 19 20:34:16 that appears to be an affirmative Sep 19 20:34:16 look at the documentation Sep 19 20:34:31 I uh.. did Sep 19 20:34:48 https://developer.android.com/reference/android/graphics/drawable/Drawable.html#setColorFilter(int,%20android.graphics.PorterDuff.Mode) Sep 19 20:35:18 not too much there to indicate you need to reference a string resource in your strings.xml Sep 19 20:35:22 thanks though! Sep 19 20:35:59 cool, import project failed, IDE internal error Sep 19 20:38:27 This is interesting: https://play.google.com/about/ip-deception-spam/spam/webviews-affiliate/ Sep 19 20:38:31 Have you seen that already? Sep 19 20:38:44 You can’t make an app showing a website in a webview unless you have permission Sep 19 20:38:59 (so no tinfoil or however all those facebook third party apps are called) Sep 19 20:43:16 tell facebook? Sep 19 20:44:38 Yes, rat out apps that make using Facebook a non-arse experience :P Sep 19 20:44:46 I bet they'll pay you a lot for help. Sep 19 20:44:55 it's facebook's service. dont like it dont use it Sep 19 20:45:02 not enough people vote with their wallets/actions Sep 19 20:47:08 anyone wants to launch a startup with me lol Sep 19 20:47:18 I paid for Sublime Text, I love that thing... I probably should drop Pelles some cash :-/ Sep 19 20:47:18 ill do it for 75% Sep 19 20:47:30 50 Sep 19 20:47:32 also Sep 19 20:47:47 90% and i get to take your sister out on a date. Sep 19 20:47:47 95% Sep 19 20:47:57 pifon: I’ll do it if you pay, I get 100% of the equity, and I control everything Sep 19 20:48:17 80 pct and two sisters Sep 19 20:48:18 i will take 80% of the equity Sep 19 20:48:21 I already have a business idea: facebook, but in pink! Sep 19 20:48:30 holy shit get marketing in here Sep 19 20:48:31 i'llbe the idea guy and you can handle the coding work thank you Sep 19 20:48:36 lol Sep 19 20:48:37 or how about a new online storage system, Sep 19 20:48:46 called "Boxes!" Sep 19 20:48:48 more than Box Sep 19 20:48:59 or how about an app that heals cancer? Sep 19 20:49:10 huh.. wonder why no one's done that yet Sep 19 20:49:43 cause they’re not smart enough to think about it Sep 19 20:49:54 I have the best ideas Sep 19 20:50:03 im pretty dumb. just gonna throw that one out there. Sep 19 20:50:11 the others don’t bring their best ideas, they bring their worst ideas, although some, I presume, are good Sep 19 20:50:18 But my ideas are the best! Sep 19 20:50:20 /s Sep 19 20:50:36 always the people going "let’s do a startup" are the funniest Sep 19 20:50:52 i wouldnt trust any of you lol Sep 19 20:51:50 i feel most of those people are more romanticising the idea of a startup, rather than thinking of any of the work involved Sep 19 20:52:00 they just want the perks and the cool office Sep 19 20:52:09 im just sick of ramen Sep 19 20:54:55 Jesperhead add some cottage cheese to it Sep 19 20:55:04 Package ramen or real ramen? Sep 19 20:55:20 sounds like package Sep 19 20:55:33 You must be right, cant get sick of real ramen Sep 19 20:56:10 use the noodles, throw the flavoring packet away, pick yourself up a jar of instant broth and some miso, and make ramen broth Sep 19 20:57:59 those packaged ramen companies ... often use crappy ingredients, like trans fatty acids Sep 19 21:00:38 so that s why i look like such a bloated wretch Sep 19 21:01:33 seriously, stop eating premade food like that Sep 19 21:01:59 i should order more pizzas? Sep 19 21:02:16 its made made. not premade. Sep 19 21:02:56 for example with pizza, there’s 3 difficulty levels: frozen pizza (3 bucks, shit quality, simple), pizza dough + sauce + a piece of gouda for 2 bucks (takes 10 min preparation, better), or buying everything yourself and making it yourself (about a buck, 30min prepreration, awesome) Sep 19 21:03:43 i actually did make my own pizza once. it was a negative experience. Sep 19 21:04:05 but i hear you. fresh over preserved/premade junk. Sep 19 21:04:09 I do it at least twice a month completely myself, Sep 19 21:04:17 and about once a week from premade dough + sauce Sep 19 21:04:17 justJanne: Where in the world do you live where the ingrediants for a pizza are a dollar Sep 19 21:04:33 orbyt_: if you reuse them for multiple pizzas? Sep 19 21:04:41 if you’re just going with cheese pizza, you could do it Sep 19 21:04:59 a pack of shredded cheese here is like 3-4 bucks Sep 19 21:05:05 enough tomatoes and cheese for one pizza, with a bag of flour amoritized over multiple pizzas could be about a buck Sep 19 21:05:45 I do dough (flour, salt, water), sauce (tomatoes, garlic, onions, spices), onions, garlic, cheese (a piece of gouda and shred it myself) Sep 19 21:06:08 I use olive oil in the dough, too, but the bottle I bought 2 years ago for 7 bucks is still good Sep 19 21:06:27 the important thing about making stuff yourself is that it’s super cheap if you do it multiple times Sep 19 21:06:30 you must never use the stuff, then Sep 19 21:06:46 I cook alot in bulk Sep 19 21:06:56 hey now a topic i can join in I am great at making pizza's from scratch ... not so great with android apps yet Sep 19 21:07:01 eg. made a bunch of fajita and stir fry ingrediants yesterday Sep 19 21:07:27 orbyt_: enough gouda for two baking trays of pizza, including same-day delivery, is for me here 2.49€ Sep 19 21:07:46 Grocery delivery? Sep 19 21:07:51 from what store Sep 19 21:07:52 if you do everything organic, an entire baking tray of pizza is about 2-3 bucks Sep 19 21:08:09 orbyt_: rewe or edeka or Sky, their prices are all the same Sep 19 21:08:15 Oh your in Europe Sep 19 21:08:20 Germany, yeah Sep 19 21:08:32 mhm Sep 19 21:08:34 tbh, I only buy organic food, the price is almost the same Sep 19 21:08:49 and quality usually a lot better. Sep 19 21:08:53 Organic bell peppers at the store yesterday-$2.99 ea Sep 19 21:09:23 (for example, organic milk from cows has to come from cows that go outside, or organic eggs from chickens living outside, too, with requriements for several square meters grass per chicken, etc) Sep 19 21:11:16 gak, sorry Sep 19 21:15:01 so im googling how to adjust UI element's background-alphas and a find a popular post saying the first 2 digits of the hex value adjusts alpha. This does not appear to be true, as I've tried several different values for the first two ints but see the same result Sep 19 21:15:42 The first 2 digits in an 8 digit hex code are alhpa Sep 19 21:15:47 alpha* Sep 19 21:15:53 i might only be using 6... hrmm brb Sep 19 21:16:31 Jesperhead: Do you know how to read hex color values? Sep 19 21:16:49 not on the fly. i know the pairs represent RGB (i think?) Sep 19 21:16:54 and now... alpha Sep 19 21:17:15 correct, ff0000 is red, 00ff00 would be green, etc Sep 19 21:18:47 is there a way to initialize all sensors in a phone at once instead of writing initBaro, initTemp, ...? Sep 19 21:20:45 are those Java class methods? Sep 19 21:21:08 er, Android Sep 19 21:28:58 Google Play Store’s forced auto-translation is fun Sep 19 21:29:29 IRCCloud’s short description "Chat everywhere and never miss a message" is translated into German meaning "Chat everywhere and miss every message" Sep 19 21:31:06 what does stroke color relate to? in any view. (I am making a new drawable for a layout (rounded corners)) Sep 19 21:32:37 the color of the line Sep 19 21:32:58 outline? to clarify, the drawable I'm making will be a background with rounded corners Sep 19 21:33:22 because there's also a element. I thought that would be the actual bg color Sep 19 21:33:26 the line around whatever it is you’re drawing Sep 19 21:33:29 ok Sep 19 21:33:31 outline Sep 19 21:36:43 yeah it's the border Sep 19 21:37:03 outline, whatever you want to call it, the edge Sep 19 21:48:37 justJanne i wonder how easy it is to replicate quassel with something like Apache Kafka, out of the box, no coding (well, of course there needs to be an IRC protocol client, but there are a few of those ... ) Sep 19 21:49:03 architecturally i see little difference between twitter timeline and .. irc Sep 19 21:50:27 g00s: well, firebase would be a better analogy Sep 19 21:50:47 reading here twitter often gave the fail whale when a new tweet came in, they did something dumb like select * from tweets; Sep 19 21:50:58 you could use a firebase database, with clients reading from it, Sep 19 21:51:08 and a bouncer for each user writing to it Sep 19 21:51:25 the config would also be in the database, so you’d write to the config, and the core would directly adapt Sep 19 21:51:35 justJanne hm, interesting too .. yeah. i'd like something to host myself though Sep 19 21:51:49 you and i ... we don't trust google much :D Sep 19 21:51:51 (which is what quassel actually does – you do freenode.nick = "kuschku", and quassel does Sep 19 21:51:55 for you Sep 19 21:52:00 I'm trying to set the focusable color on my textview, but i'm not sure i've done it correctly - can someone give this a quick look? https://gist.github.com/Michels10/6725292d0488da597f22ae33744fe9b5 Sep 19 21:52:06 and you do freenode.nick = "justJanne" Sep 19 21:52:25 surprisingly, i've never tried to set it with xml before, generally just do it programmatically Sep 19 21:52:41 that concept – basically having a model where you can just change variables, which directly affect the way the program works – make it very awesome to work with Sep 19 21:52:55 but understandably like 90% of the code on Android are dedicated to that model Sep 19 21:53:51 g00s: rethinkDB would be a possible solution Sep 19 21:53:59 yeah i remember that one Sep 19 21:59:02 anyone sucessfully copiled an msm kernel with CFLAGS -pg to enable mcount for profiling? Sep 19 21:59:21 blocky see topic Sep 19 22:02:41 ah okay thanks Sep 19 22:04:34 shit, the font rendering in AS 2.2 is giving me a headache Sep 19 22:05:06 I'm getting a crash when I set android:background="@drawable/menu_background_color" where that drawable specifies colors for focus states Sep 19 22:05:19 yet android:textColor accepts that drawable just fine Sep 19 22:06:17 read the log, fix the error Sep 19 22:06:28 android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class Sep 19 22:06:40 it goes away when i don't set the drawable on the background Sep 19 22:06:46 fix line 2 Sep 19 22:07:02 eemgr does that menu_background_color have ?attrs for stateList ? Sep 19 22:07:12 https://gist.github.com/Michels10/6725292d0488da597f22ae33744fe9b5 Sep 19 22:07:13 thats all i've done Sep 19 22:07:17 very short Sep 19 22:08:45 it would appear i can't set either of those drawables to a textview's background color Sep 19 22:08:49 but i can set either of them for the textColor Sep 19 22:09:01 so is that just a limitation on TextView? Sep 19 22:09:30 is your textview clickable? Sep 19 22:10:05 yes Sep 19 22:13:07 oh, turns out you can't use a color selector as a background Sep 19 22:13:10 TIL Sep 19 22:13:30 not sure i fully understand why though Sep 19 22:14:42 yeah just use drawable then Sep 19 22:15:17 well it is a drawable, it's just you have to hack a solid shape with a color value, otherwise, you need to do it programmatically Sep 19 22:16:05 hack? Sep 19 22:16:22 doesn't it seem odd that you can set a background to a color, but not a color selectable? Sep 19 22:16:32 er Sep 19 22:16:42 yeah, more or less Sep 19 22:17:02 http://stackoverflow.com/a/17252203 Sep 19 22:19:08 the -1 answer is fine Sep 19 22:19:39 less clutter than the accepted answer, both work Sep 19 22:20:09 it's not less clutter if you need to make a separate drawable for each color Sep 19 22:20:15 or export an image Sep 19 22:20:29 anyway, have it working now, thanks Sep 19 22:20:32 you are using the same color, so can point to one drawable, unless you are just doing the #000000 for a test Sep 19 22:20:46 that was just an example i whipped up Sep 19 22:21:26 <_genuser_> do you guys name your projects as MainProjectForSomething or main-project-for-something? Sep 19 22:39:08 lol genuser MainProjectForSomething for personal projects, main-project-for-something for company projects :p Sep 19 22:41:51 _genuser_ don't forget main_project_for_something ! Sep 19 22:45:54 wow, thats one expensive ebook ! http://shop.oreilly.com/product/0636920114055.do Sep 19 22:46:14 "Mobile Developer Segmentation 2016 " $2900 Sep 19 22:49:13 <_genuser_> g00s: so which one do you use, tho? Sep 19 22:49:34 <_genuser_> g00s: I'm also finding out AS just deleted one of my activities when I did alt-enter, move to new package folder. Sep 19 22:49:47 <_genuser_> delete from disk! Sep 19 22:50:05 i just call it MyDumbProject Sep 19 22:50:22 <_genuser_> do you leave the module as "app"? Sep 19 22:50:56 <_genuser_> or change that to have caps, etc. etc. I'm finding out as I submit to jcenter and see how the packages are getting named, all the caps really ruin the look and structure of the projects. Sep 19 22:57:59 <_genuser_> g00s: ok, I just messed up the project. just by renaming the modules, heh. Sep 19 22:58:05 <_genuser_> and it delete some activities. Sep 19 23:00:42 its funny how something as simple as rounded corners and a translucent background color (laid over an ambient image) adds character to your app Sep 19 23:01:00 aesthetically of course Sep 19 23:04:49 <_genuser_> it makes it faster too. Sep 19 23:04:59 oh? how do you mean? Sep 19 23:05:02 <_genuser_> and you can call it web 2.0 for android. Sep 19 23:05:25 <_genuser_> oh, I'm joking because apparently if it's hip, marketing will run with it. Sep 19 23:05:35 ha Sep 19 23:08:54 you know what makes it faster though? Sep 19 23:08:57 Removing enums /s Sep 19 23:11:59 <_genuser_> I thought that was a myth. Sep 19 23:12:22 Afzal dont forget about removing comments Sep 19 23:12:39 haha joke's on the optimizers, I don't write comments Sep 19 23:12:55 what's an indent? Sep 19 23:14:16 <_genuser_> there's also the 3 spaced indentation. Sep 19 23:14:36 <_genuser_> man, some app module renames and Android Studio is not even building R files anymore. Sep 19 23:14:41 <_genuser_> clean and rebuild isn't doing anything. Sep 19 23:15:09 <_genuser_> AND move to package deleted one of my files.... because I thought I'd cleanup and then check it in. Sep 19 23:16:22 _genuser_: lol it's not a myth but it's not a high priority source for slowdowns until you go into like really big projects, like AOSP (https://plus.google.com/+DianneHackborn/posts/YDykw2hstUu) Sep 19 23:19:06 Nah. Sep 19 23:19:09 She has a point. Sep 19 23:19:49 Infesting your code with bunch of small performance problems causes your whole app to be dog slow and pretty much prevents you from figuring out why. Sep 19 23:20:04 yes but it's for really big projects Sep 19 23:20:19 it's not gonna cause any noticeable difference in a normal app Sep 19 23:20:33 Is there a reason why if I override dispatchKeyEvent() and return false my view's onKeyListeners don't get called? Sep 19 23:20:35 maybe fb because their code base is like 500 mb or something for the android app Sep 19 23:20:52 enums I don’t believe are in the class of things that will make a difference for app developers. For platform people, yes, they have to worry Sep 19 23:21:07 Right. Sep 19 23:21:08 :) Sep 19 23:21:22 anyone try this yet ? http://tools.android.com/tech-docs/build-cache Sep 19 23:21:54 g00s: adq did, I think Sep 19 23:23:05 Ah, they made ccache :) Sep 19 23:23:36 This feature is currently considered to be experimental and is disabled by default. Sep 19 23:23:49 g00s, you know that means it'll be broken right? ;) Sep 19 23:23:57 lol Sep 19 23:24:09 man i thought AS 2.2 would have instant run working with jack Sep 19 23:24:20 lol Sep 19 23:24:20 so i guess thats 2.3, 2.4, 7.0 ... Sep 19 23:24:23 high expectations Sep 19 23:24:50 ConstraintLayout is still alpha8, guess i'll wait on that too :D Sep 19 23:24:56 g00s: Did you fix your font issue? Sep 19 23:25:32 I'm sure that alpha8 is production ready :P Sep 19 23:25:40 TacticalJoke not really. its not as bad as pre AS 2.2, trying to use Oracle JRE 8 .. but its not as good as Apple Java Sep 19 23:26:16 the fonts in the editor are thin and fuzzy, i thought - maybe its just me, psychosomatic or something ... Sep 19 23:26:33 but i get eye fatigue for some reason after about 5 minutes, looking at the code Sep 19 23:26:58 maybe i should get glasses or something :P Sep 19 23:27:06 just for AS Sep 19 23:27:12 g00s: It's pretty good now :p Sep 19 23:27:23 TacticalJoke had a feeling you would like this http://mobile.nytimes.com/2016/09/18/opinion/why-do-anything.html Sep 19 23:27:25 Fun. Sep 19 23:27:32 Is it a non-retina screen? Sep 19 23:27:33 My fonts started getting psychosomatically blurry after reading your complaints, but they seem all right now. Sep 19 23:27:38 Mavrik yes Sep 19 23:27:52 TacticalJoke lol Sep 19 23:28:23 https://gist.github.com/Michels10/29c1d55e4959a2c8f050d362c67f46cd My recyclerview's OnKeyListener isn't being called, despite returning false in my activities dispatchKeyEvent. Does anyone have any insight as to why? Sep 19 23:28:36 activity's Sep 19 23:28:38 VS Code has Java support, man i'd go for android plugin there. maybe its w worthwile project ! Sep 19 23:29:10 does it have refactoring support, though? Sep 19 23:29:37 s73v3r absolutely (but not sure about java) Sep 19 23:29:46 It doesn't even have fully working intellisense Sep 19 23:29:49 but it does for C#, etc Sep 19 23:30:03 It's doing some kind of fuzzy matching. Sep 19 23:30:31 its growing up very quickly. ms guys make tons of progress every few weeks Sep 19 23:31:06 g00s, tried that cache conf, nothing appeared in the build-cache dir Sep 19 23:31:14 Anyone else finding the new emulator extremely slow? I'm running 7.0 on it. Sep 19 23:31:20 it does work for me the build cache thing Sep 19 23:31:24 Constant garbage-collection pauses (shown in LogCat). Sep 19 23:31:35 g00s: I'll check that article; thanks. Sep 19 23:31:36 but i don't see any noticeable speed improvement anyway Sep 19 23:32:36 adq, yeah, if I see it correctly it pretty much helps you only if you have a lot of projects with a lot of heavy AARs Sep 19 23:32:56 the guy who wrote enjarify is a monster. originally in python. rewrote it in Go, then rewrote it again in Rust Sep 19 23:33:12 instant-run did fail miserably though :3 disabled again Sep 19 23:33:16 mhm Sep 19 23:34:16 TacticalJoke reoccurring theme - things are best before they are created :P Sep 19 23:34:20 (fta) Sep 19 23:38:11 Hmm, disabled Instant Run and now the emulator feels fast again. Sep 19 23:38:59 Maybe Instant Run is designed to weed out the weak developers. Sep 19 23:39:24 anyone seen capella? Sep 19 23:39:42 instant run got him Sep 19 23:39:48 :P Sep 19 23:40:09 TacticalJoke i think emu is to weed out weak devs :P Sep 19 23:40:45 after all, the strong and succesful would just have $10k worth of phones laying around on their desks right? Sep 19 23:42:42 the very few moments i need to rack capellas brain and he is always nowhere to be seen Sep 19 23:43:02 <_genuser_> ok, my project is corrupted for some reason. renaming app modules has messed it up. R files won't get generated. anybody got suggestions? Sep 19 23:43:02 ando g00s god knows i have at least 5 phones on me at a time Sep 19 23:43:08 <_genuser_> start again? Sep 19 23:43:08 TacticalJoke Mavrik i also notice, scrolling in AS editor is more janky, probably because font rendering isn't being done by quartz ? Sep 19 23:43:35 its crazy when JS editor is more fluid ;) Sep 19 23:44:11 my machine is pretty wimpy though, so these things become pretty obvious. Sep 19 23:44:14 g00s what issue do you have with js? i can build a really mean webapp Sep 19 23:44:32 i would say webapps are getting up there with native apps now Sep 19 23:44:32 jamie_1 no problem. was just saying above i liked VS Code Sep 19 23:44:57 i love vs code i use it religously expecially when you are able to link typescrpts for libaries Sep 19 23:45:05 although, VS Code is in Typescript Sep 19 23:45:12 g00s: Hmm, I'm not seeing that here on Windows 7. Even on my old 4GB RAM laptop. Sep 19 23:45:31 TacticalJoke did you return your newer laptop for a new one ? Sep 19 23:45:44 i remember you had some issue Sep 19 23:45:51 I returned the HP for a Toshiba, yeah. Sep 19 23:46:05 Had to have a huge argument in the store. Sep 19 23:46:06 dont mention wimpy to me... i am running on a single core amd semperon with 3gb of ram... all of my phones have better hardware than my laptop Sep 19 23:46:19 <_genuser_> single core... Sep 19 23:46:23 Never buy from Currys in the UK. :S Sep 19 23:46:25 <_genuser_> can't even imagine using that anymore. Sep 19 23:46:42 my thinkpad took a crap on me... Sep 19 23:47:14 i had a i7 dual skylake with 8gb of ram... Sep 19 23:47:29 ooh Sep 19 23:47:34 <_genuser_> TacticalJoke: currys selling hardware instead of curries? Sep 19 23:47:46 i hear skylake is pretty iffy Sep 19 23:47:46 The HP one, as soon as I got it, was making HD noises that sounded unhealthy. Took it back for a refund, and had a 50-minute argument with the guy in the store who claimed nothing was wrong with it. Sep 19 23:48:04 g00s i have had zero issues with it other than constant compiling killed my motherboard Sep 19 23:48:16 jamie_1 lol i almost did that with gentoo Sep 19 23:48:27 After that argument, he agreed to send it off to a technician. Several weeks later, the technician called me and told me the HD *was* defective. Sep 19 23:48:28 not issues per say, just not the performance one expected Sep 19 23:48:29 does some major dammage when you are compiling daily os builds XD Sep 19 23:48:39 good for you TacticalJoke Sep 19 23:48:50 <_genuser_> TacticalJoke: interestingly, having used an HP before, I'll say this: the one I had was super slow and I thought was crappy. In a copule of days it sped up and then lasted for years. Sep 19 23:48:52 When I went to get the refund, I was gonna make Mr. "there's nothing wrong with it" give me the money back, but unfortunately he wasn't there. Sep 19 23:48:55 yeah, like i'm going to take the advice of area guy working in produce for new laptop Sep 19 23:49:03 <_genuser_> TacticalJoke: top speed, everything, until power surge took the mobo out of play. Sep 19 23:49:13 <_genuser_> g00s: hmm, I have used gentoo for years, never had mobo issues. Sep 19 23:49:14 I told several of his colleagues to tell him what had happened. Sep 19 23:49:36 _genuser_ just ... lots of heat. i think gentoo is causing ACD Sep 19 23:49:37 im going to be buying one of the cheapo thinkpads with shitty hardware and just fitting my good parts into it Sep 19 23:49:48 _genuser_: I wish they sold only curries. They'd cause way less suffering. :D Sep 19 23:49:54 oh cheapo thinkpad, could be another fail Sep 19 23:50:04 expensive ones are supposedly still good though Sep 19 23:50:53 g00s when i say cheapo i mean the one with like an i3 with 2gb of ram, they have modular cores so i can take out the i3 and drop in my i7 Sep 19 23:50:55 the dell xps15 got good reviews Sep 19 23:51:21 same with the ram so i can also drop in my 8gb of ddr3 Sep 19 23:51:47 and then probably burn out that motherboard also in a year or two for heavy compiling of b2g Sep 19 23:52:00 g00s: When dealing with these idiots, you can't back down one inch. Sep 19 23:52:41 That guy would've convinced a non-computer person there was nothing wrong. They would've then experienced hard-drive failure perhaps weeks or months later. Sep 19 23:53:35 The guy claimed to be a hard-drive expert who "took apart hard drives for fun". He also said it's impossible for a hard drive to be failing if the SMART log is empty. Sep 19 23:53:37 TacticalJoke maybe it was the same guy asking for help on reddit on how to delete emails :D Sep 19 23:53:55 I didn't see that. :D Sep 19 23:53:58 TacticalJoke yeah thats not true Sep 19 23:54:06 SMART doesn't catch all failure modes Sep 19 23:54:17 Yeah, I told him that in the store, and he swore blind that it was true. Sep 19 23:54:25 btw read one of the biggest factors in HD failure was humidity Sep 19 23:54:26 And acted like I was some clueless idiot. Sep 19 23:54:44 TacticalJoke you should have told him 'i'd like a model with more platters' Sep 19 23:54:48 and more GBs Sep 19 23:57:16 <_genuser_> TacticalJoke: LOL Sep 19 23:57:26 <_genuser_> g00s: ACD? Sep 19 23:57:45 yea i had to contact htc today to get one of my phones repaired the lady is like "oh and isnt android just amazing, what do you think of the amazing things it can do?" Sep 19 23:58:13 I think it pays to even pay more for the same item from a store that doesn't treat customers awfully. Sep 19 23:58:16 i just simply responded with "lady... i program some of those 'amazing' thigns you use" Sep 19 23:58:41 <_genuser_> "yeah, I know, I program those. wanna get laid?" Sep 19 23:59:15 yeah most of tech support i have found are not lesbians sadly Sep 19 23:59:23 Plot twist. Sep 19 23:59:34 <_genuser_> you're a female? Sep 19 23:59:46 ... i think you just answered your own question with that one Sep 19 23:59:49 <_genuser_> then my mistake. I guessyou'll have to wait for a male support guy to use thte line. Sep 20 00:00:08 <_genuser_> altho, let's be honest, us guys aren't picky at all. Sep 20 00:00:25 <_genuser_> anybody could walk up to us and without reason be like, wanna get laid, and most guys will be game. Sep 20 00:00:34 I have noticed that... and you gauck at any girl that knows how to use a code ide Sep 20 00:00:41 Then new JIT in 7.0 -- is it taking machine code as input? It sounds like 7.0 still has AOT compilation. Sep 20 00:01:03 <_genuser_> I haven't gawked in a long time. girls in IT aren't what they once used to be either. Sep 20 00:01:11 <_genuser_> there's more now, and I think people are getting used to the idea. Sep 20 00:01:29 its come quite far in the 4 years i have been working in it Sep 20 00:01:32 I'm amazed at how fast the emulator is now on this old laptop. Sep 20 00:01:47 It's about as fast as my Moto G4 Sep 20 00:02:16 (After I turned off Instant Run, anyway.) Sep 20 00:02:29 all the phones i have but two have either quad core or octa core... so my phones are rather fast Sep 20 00:02:46 Yeah, the G4 is octa-core. Sep 20 00:03:18 Octa-core crew in the building. Sep 20 00:03:20 hello everyone :) Sep 20 00:03:32 lol Sep 20 00:03:43 _genuser_: its still funny though to watch the amount of you guys that will still gauck over girls in tech, i ran into one just he other day who was all oogly... borderline creepy Sep 20 00:03:44 Knock, knock. Who's there? Dr. Dr. Who? drinfernoo! Sep 20 00:04:12 TacticalJoke: i kinda wish the xperias had octa cores Sep 20 00:04:23 I'm a big Xperia guy. Sep 20 00:04:26 even know i will say my z3c almost out performs the octa cores Sep 20 00:04:37 i love my z3c, my main dev device Sep 20 00:04:41 TacticalJoke lol Sep 20 00:04:54 jamie_1: isn't it "gawk"? Sep 20 00:05:08 Arancio: i wasnt sure how to spell it but to a swing at it anyways Sep 20 00:05:16 so yes its probably gawk Sep 20 00:05:35 TacticalJoke: which xperia do you use? Sep 20 00:06:05 I haven't had one in a while, but back in the day I had a U, and then an M. I like my mum's M4 Aqua. Sep 20 00:06:08 _genuser_ antropomorphic climate change Sep 20 00:06:11 sp Sep 20 00:06:21 Did want a Z3C, but didn't like the price tag. Sep 20 00:06:31 oops anthropomorphic climate disruption :P Sep 20 00:06:35 <_genuser_> jamie_1: political correctness wants us to act as if girls are just men with boobs. nature wants us to sit back and just appreciate any female who is interested in the same things we are. we just sit back and gawk in wonder/amazement. Sep 20 00:06:35 oh the $699? Sep 20 00:06:44 Even though Jessie J says we shouldn't worry about that. Sep 20 00:06:55 _genuser_: XD perfect wording Sep 20 00:06:55 <_genuser_> jamie_1: full disclosure, I have been called a sexist due to that view before. Sep 20 00:07:10 i wouldnt call it sexist i would call it being real Sep 20 00:07:21 _genuser_: Not just any female. :s Sep 20 00:07:27 <_genuser_> g00s: oh, I see. heh, I was thinking what could acd stand for. I write call center apps and for us it's Automatic Call Distribution... Sep 20 00:07:40 we know you di it, at least be man enough to admit it :p Sep 20 00:08:17 <_genuser_> I mean it's less of a "how could you? you're a girl and incapable of the mental capacity" Sep 20 00:08:24 TacticalJoke: so you didnt like the $6-700 price tag for the z3c? Sep 20 00:08:37 <_genuser_> it's more of, "whoa, youre a girl and still interested in this? (against social/peer pressrue)?" Sep 20 00:08:57 _genuser_: i have noticed more these day its more of a wow you actually have the guts to try to compete in this market Sep 20 00:08:59 Yeah, I preferred the price tag of the Moto G and others. Sep 20 00:09:10 I know that's an apples-to-oranges thing. Sep 20 00:09:16 TacticalJoke: i didnt pay for mine, it was supplied by moz for me Sep 20 00:09:29 Oh, that's why you were looking for capella. Sep 20 00:09:46 kinda, he never actually worked on the same projects as me, i had more of a cm question for him Sep 20 00:10:05 <_genuser_> jamie_1: there are some girls who have had to become more of "I wear my hair like guys, I wear no makeup, and I scream loud, so take me serious." Sep 20 00:10:15 <_genuser_> those, I kinda of just avoid. Sep 20 00:10:29 They also have pink hair. Sep 20 00:10:40 _genuser_: im more of one of those "i enjoy this and i will show most of you up and kick your ass" and i do have pick hair XD Sep 20 00:10:41 Or is it blue. Sep 20 00:10:45 *pink Sep 20 00:10:57 i have hot pink hair XD Sep 20 00:11:00 :S Sep 20 00:11:11 <_genuser_> hey I've had red hair back in teh day, so I get all teh hair color fascination.. Sep 20 00:11:36 there is just about no color i have not had my hair.. i change it on almost a weekly basis Sep 20 00:11:46 I'm just happy that the emulator is fast. And that my app is. Sep 20 00:12:03 oh and TacticalJoke cap worked on fx for android i work on firefox os Sep 20 00:12:37 That's cool. I submitted a few patches to Firefox (the desktop browser) ages ago. Sep 20 00:12:50 oh you can find me in the credits XD Sep 20 00:13:17 i have now put 4 years of work into moz... kinda wish i handent because they then turn around and fucked over my project.. Sep 20 00:13:37 <_genuser_> I have a friend who is a PhD in CS and she's bigtime into "let's not cater to girls feelings because they're girls, just be an engineerand nothing else matters". Sep 20 00:14:00 <_genuser_> she also is highly of the opinion that women can't drive. Sep 20 00:14:22 right now i am working on a full html5 3d world that runs on all platforms as proof of concept that it can compete with native Sep 20 00:15:14 tip: it can’t compete with native Sep 20 00:15:25 im basing it on threejs... was going to use babylon js but for some odd reason it was always popping off with webGL not Supported Sep 20 00:15:40 at least as long as other browsers are refusing to properly handle asm.js Sep 20 00:15:48 * justJanne definitely doesn’t look at chrome, noooo Sep 20 00:16:10 justJanne: i have seen some pretty amazing things in webGL and some of the thingsi have done with it, heck it fully supports gurtrude shading Sep 20 00:16:20 <_genuser_> on android, I tend to use the default "browser" thing whatever that is. Sep 20 00:16:37 <_genuser_> I find the whole firefox/chrome thing too complicated. But I also tend to find using a browser on android too clunky. Sep 20 00:16:41 _genuser_: common sense... what browser do you think it is? Sep 20 00:16:53 <_genuser_> especially if the web devs don't have a proper stylesheet for mobile. Sep 20 00:17:06 android uses chrome by default Sep 20 00:17:12 <_genuser_> jamie_1: who knows, whatever the default is, I use it (sparingly) when I have to. Sep 20 00:17:22 its chrome... Sep 20 00:17:36 <_genuser_> mostly of the time, tho, I prefer to use the app of whatever vendor I'm buynig from. Sep 20 00:17:41 I use Firefox on one of my phones. uBlock FTW. Sep 20 00:18:05 i have fxos on two phones and on the z3c swap between fxos and cm Sep 20 00:18:14 <_genuser_> jamie_1: so there's the "browser" and then there's "chrome" installed on mine. The "chrome" app does tabbing differently. Sep 20 00:18:18 Shout out to g00s for recommending uBlock years ago. Sep 20 00:18:25 Or whenever it was. Sep 20 00:18:31 <_genuser_> jamie_1: I'm assuming the one I have is a modification by samsung, since they replace all stock apps with theirs. Sep 20 00:19:00 _genuser_: which is why they always have such a headach getting it approoved by google for the google propritary apps Sep 20 00:19:48 The new typo-underlining in AS is way less obnoxious. Sep 20 00:19:49 <_genuser_> jamie_1: heh, and since I've mostly just used samsung devices, probably why i'm not too familiar with the uncorrupted android view. Sep 20 00:20:02 whelp time to go grab some food, then get back to cracking in blender on my rendering Sep 20 00:20:28 <_genuser_> alright, time for me to fix up my lib and upload back to github. Sep 20 00:20:38 <_genuser_> hopefully bintray people can approve my request to add my repo to jcenter Sep 20 00:20:42 <_genuser_> what a waste of time. Sep 20 00:20:43 lol tc all, see ya later Sep 20 00:20:52 <_genuser_> next lib, jitpack. Sep 20 00:26:45 uBlock origin - yeah i have plage rendering issues though Sep 20 00:27:13 for example, this page will have missing illustrations http://www.confluent.io/blog/making-sense-of-stream-processing/ Sep 20 00:27:24 just because the filename has "analytics" in it i think Sep 20 00:29:02 holy shit, the *smaller* pixel phone might start at $649 Sep 20 00:30:49 yeah. they’re “pixel” phones. They’re supposed to be flagships, not like Nexus phones Sep 20 00:31:48 g00s: they’re "pixel" phones for consumers Sep 20 00:32:02 not "cheap devices for developers as reference devices" like the nexus devices Sep 20 00:32:36 i like cheap reference devices :( well, understanding demand would be limited - but often OEMs have cheap reference designs for other using devices Sep 20 00:33:10 wonder if the dragonboard will get updated to the 821 Sep 20 00:33:32 those flagships better get more than 2 years of support ... Sep 20 00:37:23 "My bet is sales will be dismal at this price, and it will be $450 by Christmas" Sep 20 00:39:13 Gawd, some of the IntelliJ defaults are dumb. Why wouldn't a missing `@Override` annotation at least warn (though preferably be an error). Sep 20 00:41:25 <_genuser_> ok, anybody here push to jcenter? Sep 20 00:41:34 <_genuser_> I'm trying to figure out how it's taking them a day to respond. Sep 20 00:42:18 <_genuser_> took them a day to ask for clarificaiton and now almost another day and haven't heard about the push. Sep 20 00:45:58 what do the ':' denote in the settings.gradle? ie. include ':app', ':entities', ':domain', ':config', ':environment' Sep 20 00:50:01 teasp00n: root of the project perhaps? Sep 20 00:50:12 justJanne: do you mean that my Nexus 5x is a "cheap device"? Sep 20 00:50:19 whoa whoa whoa Sep 20 00:50:27 justJanne: messing with the Nexus 5X crew? Sep 20 00:51:12 teasp00n: https://docs.gradle.org/current/userguide/multi_project_builds.html#sec:project_and_task_paths Sep 20 00:51:14 _genuser_, jitpack lol Sep 20 00:53:13 I think a lot of "Why does Gradle do ?" questions can be answered with "Because f*** you. Sincerely, the Gradle team." Sep 20 00:53:49 Okay, maybe I'm being a little harsh. Sep 20 00:54:23 Afzal: thanks man ill have a read. just trying to fix a build issue atm so it's challenging my understanding of the multi project stuff Sep 20 00:57:14 <_genuser_> drinfernoo: yep, next lib jitpack. but this one the upload worked out. so now I put in a request for them so they could push it to jcenter. Sep 20 01:00:46 ohh Sep 20 01:32:43 <_genuser_> so the application craps out, without even a stacktrace dump in adb. Sep 20 01:32:55 <_genuser_> says nothing, no dialogs, just disappears. Sep 20 01:37:23 _genuser_: What happened? I missed most of what you said. Sep 20 01:46:44 hi everyone, when I try to update Android Studio in Ubuntu 16.04, it doesn't restart after downloading the update. After re-starting it, it asks me again to install the update? I ended up downloading Android Studio again, and re-installing it. Sep 20 01:47:13 Is there a known issue or something I missed in the documentation? Sep 20 01:53:42 TacticalJoke whats your favorite AS 2.2 feature Sep 20 01:54:55 Hmm, not sure. Haven't tried much yet. Sep 20 01:55:09 I might try the APK analyzer in a minute. Sep 20 01:55:47 i filed the enhancement request for that a year+ ago ... Sep 20 01:56:04 i think its the only thing i filed which got acted on :P Sep 20 01:56:19 Nice. :D Sep 20 01:56:23 i want to try constraintLayout, but its still alpha8 Sep 20 01:56:30 must wait until RC21 Sep 20 01:58:34 Yeah, I'm too lazy to try it right now. Sep 20 01:59:15 lol Sep 20 01:59:39 TacticalJoke maybe the GPU debugger help with your rendering performance ? Sep 20 01:59:59 oh, its opengl es commands Sep 20 02:00:12 Yeah, it looks pretty cool for game devs. Sep 20 02:01:45 so, I haven't been paying attention... how's everyone doing? Sep 20 02:02:49 hey drinfernoo Sep 20 02:02:58 TacticalJoke since you aren't using instant run, did you try jack ? Sep 20 02:03:01 hi :) Sep 20 02:03:05 I'm currently debating whether to use `import static` in one place. How about you? Sep 20 02:03:08 drinfernoo: excellent - if I didn't have to go to the office soon and deal with a client who literally spends hours week after week discussing details of a site which should be close to live by now Sep 20 02:03:10 g00s: Not yet. Sep 20 02:03:31 Leeds, sounds as excellent as it gets lol Sep 20 02:03:42 Leeds gotta manage your clients :D Sep 20 02:05:11 at least you can face to face with then, whiteboards, etc Sep 20 02:05:22 gets much harder when doing distance , using skype lol Sep 20 02:05:26 I think Java devs need to go easier on `import static`, especially in an increasingly functional world. Sep 20 02:05:31 thats when you need some real collaboration tools Sep 20 02:05:52 he's not really my client, I get to sit on the sidelines for most of the time he wastes... my job is to handle data import for the site - he goes back and forth about twice a week on which source to use, so I've been trying to ignore him until he makes up his mind Sep 20 02:06:33 why not implement both, show him, so he can see - and make up his mind ? Sep 20 02:07:16 hardest thing about sw dev, is helping them learn what they want Sep 20 02:07:28 because, usually, they don't know. it requires something concrete Sep 20 02:07:33 is a pager indicator basically just a view that implements ViewPager.OnPageChangeListener? Sep 20 02:07:52 oh, as 2.2 finally Sep 20 02:08:04 I've already done a couple, he just keeps changing his mind, he's negotiating with the data providers about what data and how much... Sep 20 02:08:13 time for more tests :> Sep 20 02:12:19 gordon_ hey VS code got java support ! Sep 20 02:13:23 * g00s waiting for smartass thing about electron app :D Sep 20 02:14:55 oh come on gordon_ you're letting me down Sep 20 02:14:58 The APK analyzer's pretty cool. You can see exactly what makes it into your final APK. Sep 20 02:15:16 (Unsurprisingly. :D) Sep 20 02:15:30 hm, 40K methods to play services haha Sep 20 02:17:14 Oh, this is cool: `android:configChanges="0x480"` Sep 20 02:17:25 I didn't realise it was actually binary OR. Sep 20 02:18:01 With N I'm gonna be adding, I think, two more, and it seemed kinda bloated. Sep 20 02:18:53 i'm going to ask Google Trips how i can travel to mars Sep 20 02:20:27 TacticalJoke no i haven't tried jack yet Sep 20 02:21:04 It sounds like Jack could be really fast, with its own compilation server and all. Sep 20 02:21:48 I wonder whether we'll get incremental compilation à l'Eclipse. Sep 20 02:22:36 Type stuff, and suddenly 15 files have compile errors. I loved that. Sep 20 02:22:45 Instant feedback. Sep 20 02:23:15 yeah, thats why i'm stressing about migrating from rxjava 1 to rxjava 2 ... i know i'll wind up doing hundreds of builds to get everything right Sep 20 02:23:35 since interfaces / etc changed a bit Sep 20 02:27:11 Imagine if Google supported Kotlin and make their own Kotlin-to-dexcode compiler. Sep 20 02:27:18 That'd be so neat. Sep 20 02:27:30 Hopefully they wouldn't call it Kack. Sep 20 02:28:08 lol Sep 20 02:28:16 oh wow I thought ConstraintLayout was supposed to be high performance :/ Sep 20 02:28:24 slow as a puck Sep 20 02:28:36 When I look at the Jack source and see nullability annotations everywhere, I can't help but think they'd benefit from it. Sep 20 02:29:29 Is there a compatibility class providing Canvas#drawRoundedRect on older versions of Android? Sep 20 02:32:25 Arancio: The four-parameter Canvas.drawRoundRect is available from API 1. Is that no good? Sep 20 02:33:03 TacticalJoke: Android Studio says it's not available on API 16 Sep 20 02:33:47 says it requires API 21 Sep 20 02:34:58 Hmm, this says API 1: https://developer.android.com/reference/android/graphics/Canvas.html#drawRoundRect(android.graphics.RectF, float, float, android.graphics.Paint) Sep 20 02:36:04 It's in donut-release: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/donut-release/graphics/java/android/graphics/Canvas.java#934 Sep 20 02:36:53 TacticalJoke: I misread your first message. You are right. Sorry Sep 20 02:44:24 I don't see why IntelliJ would warn that a public method could be package-private if the class itself is package-private. It seems to me that `public` here simply means "as visible as the class". Sep 20 02:45:17 If we're changing a class from package-private to public, we don't want to be changing the methods as well. Sep 20 02:45:19 g00s: sorry, i was enjoying my breakfast :P Sep 20 02:45:26 is it anygood ? Sep 20 02:45:46 despite wasting 600mb of memory just for editor Sep 20 02:49:28 Turning off "Suggest package local visibility level for class members" doesn't work. :s **** ENDING LOGGING AT Tue Sep 20 02:59:58 2016