**** BEGIN LOGGING AT Fri Sep 09 02:59:58 2016 Sep 09 03:04:10 "com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 1" Sep 09 03:04:13 that's the error Sep 09 03:05:09 that's not the only error Sep 09 03:07:32 pfn what do you mean? Sep 09 03:07:57 look for other errors, that is the result, not the cause Sep 09 03:08:31 this is how it appears: https://s14.postimg.io/espbzs941/Capture1.png and this is how it should be https://s14.postimg.io/wwsckf6sh/Capture2.png Sep 09 03:08:37 of course, if gradle hides this from you, it's just dumb... Sep 09 03:09:53 pfn the first warning i get is this one "Warning:/home/myname/Android/Sdk/platforms/android-24/android.jar(android/os/Bundle.class): major version 52 is newer than 51, the highest major version supported by this compiler." Sep 09 03:10:37 how to update that? Sep 09 03:11:15 Make sure your JAVA_HOME points to a JDK path. Sep 09 03:12:46 tx: do you have any experience with importing SVG? Sep 09 03:12:52 to what Sep 09 03:13:14 to Android Studio as drawable using http://a-student.github.io/SvgToVectorDrawableConverter.Web/ Sep 09 03:13:23 right click on the drawables f older Sep 09 03:13:28 and click on new -> vector asset Sep 09 03:13:28 this is how it appears: https://s14.postimg.io/espbzs941/Capture1.png and this is how it should be https://s14.postimg.io/wwsckf6sh/Capture2.png Sep 09 03:13:31 follow the wizard. Sep 09 03:13:54 there is an importer inside AS? Sep 09 03:14:07 tx echo $JAVA_HOME literally prints nothing Sep 09 03:14:14 I was using the converted that I linked above Sep 09 03:14:34 Check the path to JDK in android studio / your project settings Sep 09 03:16:49 hexagonSun_, you need java8 Sep 09 03:16:57 tx: I re-imported the assets with the wizard. the result is the same: https://s14.postimg.io/espbzs941/Capture1.png instead of https://s14.postimg.io/wwsckf6sh/Capture2.png Sep 09 03:17:01 That's what I was getting to . :p Sep 09 03:17:08 and wow, android-24 is compiled with Java 8, that seems dumb Sep 09 03:17:17 but I guess it somewhat makes sense Sep 09 03:17:23 tx i should change open jdk for java jdk, basically? Sep 09 03:17:30 Yes, and Java 8. Sep 09 03:17:39 OpenJDK is pretty crumby in Android Studio Sep 09 03:17:40 tx: no, there result is even worse. Now the illustration are very small. Sep 09 03:17:42 performance blows. Sep 09 03:17:44 tx thank you, i'll try that Sep 09 03:18:50 tx (maybe) dumb question, should i uninstal openJDK before installing Java JDK or ir doesn't matter? (srry if its too dumb im learning) Sep 09 03:21:48 you don't need to Sep 09 03:21:51 :) Sep 09 03:22:03 you might want to though unless you use something that specifically requires it (unlikely) Sep 09 03:22:19 this answer seems kinda old, but it should work now too, right? http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre/55960#55960 Sep 09 03:22:43 anyone good with Observables? i'm trying to figure out how to make an observable that subscribers can use to see data in a class where that data is also loaded from an observable Sep 09 03:22:44 https://dpaste.de/MR7s Sep 09 03:23:12 tx: ok. Now I fixed the size problem. The illustration are offset anyway as you see them in the pictures above Sep 09 03:28:33 Does anybody have experience with importing SVG into an Android project? Sep 09 03:29:15 CedricBeust "The fact that there is a whole education and consulting mini industry around Gradle disturbs me." -- john carmack Sep 09 03:30:27 Arancio, importing SVG pretty simple in android studio Sep 09 03:31:01 greves: I already imported it! I'm asking how to fix a specific problem. Don't people read me here? Sep 09 03:31:24 I get this https://s14.postimg.io/espbzs941/Capture1.png instead of https://s14.postimg.io/wwsckf6sh/Capture2.png Sep 09 03:31:59 I don't need someone to tell me how to import it. I need to understand what is causing that offset. Sep 09 03:32:15 where are your SVGs from? Sep 09 03:32:49 Illustrator. Wait I got an idea! Sep 09 03:36:07 greves: I fixed the problem. I find the the illustration are imported (or exported from Illustrator) in a wrong way but I managed to work around the issue. Sep 09 03:36:19 greves: thanks for trying to help Sep 09 03:36:20 Arancio, what was the problem? Sep 09 03:38:33 the problem was that 1 illustration is overall shorter than the other, in particular its top is below the Y level of the top of the other illustration. When I place them in two ImageViews the illustration that begins at a lower level appears higher than the other. I hope I've been clear enough Sep 09 03:42:47 tx okay, i installed the java 8 JDK, now i should set JAVA_PATH? Sep 09 03:49:38 nevermind, no errors now, thank you so much tx :) Sep 09 03:54:10 good night, thank you all Sep 09 03:57:00 huh, who told you to use Java 8... Sep 09 03:59:39 too late, he's gone Sep 09 04:10:39 any data binding experts in the house? Sep 09 04:15:01 VerbalKint: good morning Sep 09 04:15:19 Arancio: morning Sep 09 04:15:31 experts? Sep 09 04:15:33 VerbalKint: Yesterday night I read something here that could interest you but I forgot what it was Sep 09 04:15:35 data binding isn't hard lol Sep 09 04:15:56 parco: what's the problem? Sep 09 04:15:59 Arancio: thanks for mentionting it :P Sep 09 04:16:23 parco: I'm no expert but I'm interested in the subject. I think I'll use MVVM soon Sep 09 04:17:07 VerbalKint: I remembered. Someone said that having a domain and a web page with marketing for your app is "a great investment". Sep 09 04:17:21 well i've made it a personal mission to try and squeeze as much out of the activity as possible. I was wondering if there was a way to handle the onCreateOptionsMenu Sep 09 04:17:26 Arancio: already have a link to it Sep 09 04:17:34 Arancio: on my website Sep 09 04:17:49 VerbalKint: just a link? Sep 09 04:17:54 Arancio: though, it's just a link. I should probably make a description. Sep 09 04:17:58 Arancio: yeah Sep 09 04:18:36 VerbalKint: not only a description. people should land on your page by googling other words. You need content with good keywords Sep 09 04:18:47 VerbalKint: and maybe naked girls Sep 09 04:18:59 VerbalKint: ok, the last suggestion isn't appropriate Sep 09 04:19:06 "well i've made it a personal mission to try and squeeze as much out of the activity as possible. I was wondering if there was a way to handle the onCreateOptionsMenu" Sep 09 04:19:08 what? Sep 09 04:19:15 but that's a method OF the activity Sep 09 04:19:24 trying to over modularize everything is dumb imo Sep 09 04:19:26 Arancio: my website's basically inexistent :D Sep 09 04:19:38 there's being reasonable with breaking things down and then there's just being over the top Sep 09 04:19:39 yeah? :P Sep 09 04:19:51 Arancio: so no "landing" stuff Sep 09 04:19:59 tx: i did say personal mission, sorry you don't want to join along Sep 09 04:20:04 VerbalKint: then the suggestion means "work on your website and add meaningful content" Sep 09 04:20:06 parco: haha I know Sep 09 04:20:12 I was just .. curious. Sep 09 04:20:31 as am I, I'd like to see just how much i can wring it out Sep 09 04:20:36 VerbalKint: that's marketing Sep 09 04:21:57 Arancio: yep :( Sep 09 04:23:56 if only i could stick onBackPressed() onCreateOptionsMenu() etc into the xml Sep 09 04:31:01 morning all Sep 09 04:31:03 hey tx Sep 09 04:31:08 thoughts on this approach https://medium.com/@maxirosson/versioning-android-apps-d6ec171cfd82#.gm88xgwhv Sep 09 04:56:12 oh boy, opened up an old project Sep 09 04:56:22 gradle built successfully with 800 errors Sep 09 05:00:04 hahahahah Sep 09 05:00:38 it works Sep 09 05:00:42 so the errors are non critical Sep 09 05:01:01 warnings Sep 09 05:01:13 Nope, they appear as errors. Sep 09 05:01:35 then it probably launches old build Sep 09 05:01:49 Nope, I have changed things. :P Sep 09 05:01:51 It's quite weird. Sep 09 05:02:09 perhaps it is just not rebuilding that component, BUT Sep 09 05:02:14 that implies it did build one time Sep 09 05:02:40 squ: ah wait they are warnings lol Sep 09 05:02:47 told ya Sep 09 05:02:49 why is the warning icon red Sep 09 05:02:52 that's silly. Sep 09 05:03:12 maybe that's your eye color perception Sep 09 05:03:22 which color am I? Sep 09 05:04:30 what color is my t-shirt? Sep 09 05:05:46 It must be my theme. Sep 09 05:23:14 squ: I can get a gradle build complete with 52 errors Sep 09 05:23:37 gradle clean assembleRelease Sep 09 05:23:43 52 errors, outputs an apk Sep 09 05:25:32 (you can set specific configs for the JVM via environment variables, the JVM prints them out on start, gradle counts that as error) Sep 09 05:26:22 ok Sep 09 05:30:43 VerbalKint: are you writing your landing page? Sep 09 05:31:06 Arancio: have you happened to see my website? Sep 09 05:31:29 VerbalKint: no Sep 09 05:31:33 please show us Sep 09 05:31:53 Arancio: do you have a website too? Sep 09 05:31:58 we must see it Sep 09 05:32:06 squ: :P Sep 09 05:32:22 tx: regarding over modularizing... Sep 09 05:32:34 squ: your first Sep 09 05:32:35 FizzBuzzEnterpriseEdition Sep 09 05:33:03 Arancio: well, I'm too lazy to change the format in order to accomodate a landing page Sep 09 05:33:14 Arancio: and my website's basically invisible to google Sep 09 05:33:55 VerbalKint: because it has not the right content. Read some book on SEO Sep 09 05:34:02 squ: so? Sep 09 05:34:15 what Sep 09 05:34:21 Arancio: not relevant right now Sep 09 05:34:30 I need ASO Sep 09 05:34:32 your site Sep 09 05:34:41 Arancio: not relevant right now Sep 09 05:34:55 squ: how is mine relevant? Sep 09 05:35:14 because it will be fun Sep 09 05:35:31 your one would be more fun Sep 09 05:35:47 Mine is an error 503 page Sep 09 05:36:11 I only have login page on my router Sep 09 05:36:56 squ: why do you hate me too? Sep 09 05:37:08 no one hates you Sep 09 05:37:47 stop asking it each day Sep 09 05:38:02 squ's had too much vodka today :P Sep 09 05:38:46 he's a scotch guy Sep 09 05:39:10 cup of tea in one hand, cookie in another. I'm prepared for your websites, guys Sep 09 05:40:46 He's had so much vodka that he can't even distinguish rum from tea Sep 09 05:40:57 holding your breath? keep holding it Sep 09 05:42:29 squ: xaxaxaxa :P Sep 09 05:48:40 are we sharing websites? Sep 09 05:49:01 because I don't see any blue clickable things... Sep 09 05:49:44 This is a little proect that I coded when I was 12 https://www.google.com/ Sep 09 05:49:59 *project Sep 09 05:50:35 But of course, someone pirated it and made a multitrillion company out of it Sep 09 05:52:28 If you're 24 years old, you've already been around for 10% of American history. Sep 09 05:52:31 parco: squ wanted to tease me about my website. I didn't work Sep 09 05:53:07 parco: lol Sep 09 05:53:28 -.- Sep 09 05:53:43 parco: well, I'm Romanian Sep 09 05:54:00 0.2% Sep 09 05:54:18 SVG support in Android sucks Sep 09 05:55:08 I couldn't decide which pattern to use, so I'm currently mvcpvm Sep 09 05:55:46 parco: and one could argue that the initial North Americans were just the religious nutjob franchise of European history Sep 09 05:56:02 + Dagger 2, which at the moment is one giant module Sep 09 05:56:25 GodModule.class Sep 09 05:57:31 VerbalKint: how initial are we talking here Sep 09 05:58:02 you speaking of our beloved founding fathers? If so, i'm gonna need another Diet Coke Sep 09 05:59:04 parco: weren't the first colonizers Protestants fleeing Catholic persecution? Sep 09 05:59:18 Yes, but they quickly turned into badasses Sep 09 05:59:30 -> android talks Sep 09 05:59:48 the converted to scientology in few weeks Sep 09 05:59:52 they Sep 09 06:01:12 i Sep 09 06:01:29 i'm only kidding, i know about as much history as I do about how Dagger works, which is very little Sep 09 06:02:14 no need to say it Sep 09 06:03:50 Is Cedric the boss here? Sep 09 06:09:58 I'm tired Sep 09 06:14:15 justJanne: what? Sep 09 06:16:55 Is it against Google's/AdMob's ToS to submit your app to other stores? Sep 09 06:55:32 i have a question about BitmapFactory.decodeByteArray Sep 09 06:55:52 i'm passing in a byte array directly from the camera and every time, decodeByteArray returns null Sep 09 06:56:13 however, if i save that very same byte array to the filesystem and instead use BitmapFactory.decodeFile, it works Sep 09 06:56:23 am i missing something obvious? Sep 09 06:56:45 it trashes all performance i'm trying to achieve Sep 09 07:57:45 Where can I find a list of MediaPlayer errors? I set an errorListener for mine, int what is 1, int extra is -1 Sep 09 07:58:53 use ExoPlayer Sep 09 08:06:16 squ: ExoPlayer doesn't support RTSP streaming, so I've been using the Vitamio library Sep 09 08:06:48 I see Sep 09 08:11:19 squ: or is there another player that supports rtsp? Sep 09 08:11:31 I don't know Sep 09 08:45:24 does anyone know roughly how long Crashes take to appear on dev console? My manager just tested the app, and got a crash (Which he reported) Sep 09 08:45:40 But it's not showing, didn't know if they take like 5-10 mins to appear (or maybe even longer?) Sep 09 08:46:12 didn't even know crashes appear in console, that's cool Sep 09 08:46:36 Well, they do if the user reports them Sep 09 08:46:57 You have a "Crashes & ANRs" section of developer console. Sep 09 08:47:32 ANR = App Not Responding Sep 09 08:47:45 It can take up to a day or two. Sep 09 08:47:53 Use some proper crash service if you want it faster. Sep 09 08:48:33 Mavrik: ah ok, that's fine. I'll wait for now. Out of interest, what other services are there that can report faster? Sep 09 08:48:48 There's a dime a dozen :) Sep 09 08:49:16 Ah, I think I found this ACRA site before, it feels familiar Sep 09 08:50:42 Might have a look into some solutions, but tbh, crashes are generally so few and far between, and I rarely know about them as they happen, so I just make a habit of checking Crashes & ANRs weekly to see if there's anything that needs fixing Sep 09 08:55:28 Is there any good RTSP player out there other than Vitamio? Sep 09 09:16:47 Do I need a ListAdapter for every RecyclerView which uses cardviews? Sep 09 09:29:11 Great, Opera App Store is foreign to the concept of public domain Sep 09 09:29:22 opera app store, really? Sep 09 09:29:53 Leeds: SEO juice? :D Sep 09 09:30:32 turns out android studio can't import the code style xml files it exports Sep 09 09:30:33 -.- Sep 09 09:34:21 Leeds: and it can't hurt, right? Sep 09 09:34:53 it can be a total waste of time... Sep 09 09:36:17 but other than that, sure, can't hurt Sep 09 09:37:16 Leeds: but free SEO juice can't hurt Sep 09 09:37:35 Leeds: and right now, not even my website's link to the app isn't showing on a google search Sep 09 09:38:17 Even the hobo down the street gets more visitors than me right now Sep 09 09:54:52 http://android.oms.apps.opera.com/en_ro/vegas_crime_simulator.html?pos=1 Sep 09 09:55:15 using rxjava/rxandroid, i need to wait until a MenuItem is visible on screen. How? Sep 09 09:55:21 That's a ripoff of Vice City and it's Miami, not Vegas Sep 09 09:56:20 And in what kind of world can criminals blow up cars with RPGs? "crime simulator" Sep 09 09:56:25 Society is fucked up Sep 09 09:56:56 Role playing games ? Sep 09 09:57:23 bithon: the fact that they're pushing criminality as something cool to kids is seriously messed up Sep 09 09:57:39 And they wonder why gun massacres happen Sep 09 09:58:02 But I'm going way offtopic Sep 09 09:58:35 i don't think that's the issue really Sep 09 09:58:45 Europe doesn't have the problem with gun shoot ups and whatnot Sep 09 09:58:55 and yet they also have access to the same video games that US have Sep 09 09:59:17 bithon: because we don't have lots of guns as they do Sep 09 09:59:38 There are more guns in the US than there are people, iirc Sep 09 09:59:56 VerbalKint: that's your game? :) Sep 09 10:00:02 Leeds: what? Hell no Sep 09 10:00:07 I don't know what the source of the issue is, all I know is that that definitely is not the problem Sep 09 10:00:35 bithon: you've probably spent too much time around the smart people minority :P Sep 09 10:00:39 if somebody's mentally unstable they'll do fucked up shit regardless of the environment and its influence on them Sep 09 10:01:18 Leeds: you curious about mine? I could PM it to you :D Sep 09 10:01:36 VerbalKint: ashamed to tell the channel? :P Sep 09 10:01:50 Leeds: thought it was against the rules Sep 09 10:02:22 don't think so... don't spam it, and be open to criticism... Sep 09 10:03:09 such a dilemma, am using emojis in texviews, and on pre kitkat devices the emojis are rendered in black and white. not sure whether i should minsdk my app to 4.4+ or giveup textviews and render them as imageviews Sep 09 10:03:30 Leeds: well, have a look https://play.google.com/store/apps/details?id=eu.ionuticleanu.trivia Sep 09 10:04:03 ah, I started writing a trivia game, years ago :) Sep 09 10:04:23 Leeds: the world needs more trivia apps. Sep 09 10:04:38 Slot machine apps, talking tom apps, tapper apps. Sep 09 10:04:46 I pub quiz 1-2 times per week Sep 09 10:05:07 Leeds: pub quiz? Sep 09 10:05:34 go to the pub, do a quiz with a team, against other teams Sep 09 10:05:49 Leeds: on android apps? Sep 09 10:10:50 um, no - with beer and chips Sep 09 10:11:07 do you know what a pub is? Sep 09 10:14:25 Leeds: of course, but I don't know every aspect of Brittish culture :P Sep 09 10:14:35 * Zharf wonders if he should just write his own file manager too Sep 09 10:18:56 that's "British" Sep 09 10:19:32 Leeds: https://en.wiktionary.org/wiki/Brittish Sep 09 10:19:42 when creating icon i can choose from hdpi, mdpi etc., should i just pick the one that's the sharpest? Sep 09 10:20:42 or is there some downside to that other that larger size? Sep 09 10:21:39 VerbalKint: no Sep 09 10:22:44 Leeds: you defy wikipedia?! Sep 09 10:24:22 the source of all knowledge? YES! Sep 09 10:25:20 Leeds: uwotm8!? Sep 09 10:34:22 Leeds: swer on mi nan dat ill bust ur chav bum Sep 09 10:34:34 lol Sep 09 10:35:44 oi oi Sep 09 10:43:00 bust ya propa n front of ur bird n crew, 'ave a laugh nd then grab twenty pints at the pub and get propa wasted Sep 09 10:43:10 The britTish way. Sep 09 11:06:35 is it a good idea to check via google play expansion download if the app has been purchased in the play store? Sep 09 11:06:54 to avoid copying of the apk to other devices? Sep 09 11:07:28 regardless that there are users who dont have installed google play Sep 09 11:15:21 cliffer, do you think your app is being pirated or why? :P Sep 09 11:15:38 if someone wants to do it probably the check won't help anyway Sep 09 11:18:43 ktwo: i just looked at an app and the app loads an extension file. but the file is not used but only the existence of the file is checked Sep 09 11:20:28 the only thing i could imagine is to used it as a check if the app has been bought Sep 09 11:20:57 ktwo: but why do you think the check wont help Sep 09 11:22:20 cliffer: because bypassing such checks is part of first year compsci curriculum? Sep 09 11:22:32 There's millions of people out there able to do it in their sleep Sep 09 11:30:09 why not just implement google play licensing thingie? sure everything can be bypassed if someone wants to but at least it's not a kludge solution like yours https://developer.android.com/google/play/licensing/index.html Sep 09 11:32:44 That feeling when you're waiting for your number of app downloads to refresh and hope that it's a big number, but you're too afraid to look it up because you're almost sure it's going to be a small one Sep 09 11:33:20 I haven't looked at my app installs in years Sep 09 11:33:28 Zharf: why? Sep 09 11:33:39 it has no meaning to me :) Sep 09 11:33:43 Zharf: you're doing so well that you don't even need to look at them? :D Sep 09 11:34:09 my apps are free, no ads or iap either Sep 09 11:34:23 Zharf: why would you do that?! Sep 09 11:34:33 :D Sep 09 11:35:15 because I have an actual job Sep 09 11:35:21 and I hate ads Sep 09 11:35:32 Zharf: it is not my app. i just looked at the code of an app and it is doing like this and i wondered why Sep 09 11:35:38 Anyone else ever fighted unwanted garbage on your Fragment backstack in the form of https://github.com/bumptech/glide/blob/master/library/src/main/java/com/bumptech/glide/manager/SupportRequestManagerFragment.java? Sep 09 11:35:43 and I don't write those apps for other people, I write them for myself and then release them in case someone else wants to use them Sep 09 11:35:50 It's annoying; it messes up my app. Sep 09 11:36:19 Zharf: :P Sep 09 11:36:52 Is there anything I can do to stop Android from showing the "app has stopped" error dialog for a native crash in a specific process? Sep 09 11:38:48 Yay, app got accepted on Amazon App Store Sep 09 11:38:58 that interface to block the app for some devices is awful, do you really have to click them one by one? Sep 09 11:39:48 it's only at most ~14k clicks Sep 09 11:40:28 :D Sep 09 11:40:44 should be possible within a work day^^ Sep 09 11:42:46 Zharf: can I see your apps? Sep 09 11:51:12 https://www.youtube.com/watch?v=Oc4L13LUubI Sep 09 11:53:18 squ: earthquake waranty. Just what I needed! Sep 09 11:54:24 https://redd.it/51t8kv Sep 09 11:59:56 veeti: you can crash the "app has stopped" process Sep 09 12:00:02 I did that accidentally yesterday Sep 09 12:04:16 justJanne: how do you mean? Sep 09 12:04:36 well, two solutions Sep 09 12:04:54 (a) you put up a signal handler for SIGSEGV and stuff, Sep 09 12:05:15 (b) you just use a bug in android to crash the systemUI process, then users will think it’s the OS crashing, and not your app Sep 09 12:05:31 what are you trying to achieve Sep 09 12:14:11 thepoosh: veeti asked how to avoid the "app has crashed" dialog when a native process crashes Sep 09 12:21:23 boilerplate is killing slowly Sep 09 12:54:06 Is there an actual indie developer out there that hasn't resorted to buying app installs at the beginning of publishing? Sep 09 12:57:48 Man, I'm thinking of dumping indie Android and going fullon web programming and designing :( Sep 09 12:58:12 The dream is dying Sep 09 12:59:46 usually having a good social media following/circle helps Sep 09 13:00:06 might wanna join some g+ groups or advertise on xda? Sep 09 13:00:09 zwliew: I'm socially-impaired Sep 09 13:00:25 zwliew: and I advertised it on the main g+ group Sep 09 13:00:34 zwliew: xda will let me post my app for free? Sep 09 13:01:07 i think there is a sub-forum for advertising apps Sep 09 13:01:30 zwliew: hmm. Checking it out. Had only a superficial look at it. Sep 09 13:04:09 zwliew: it says "No commercial apps/games allowed" Sep 09 13:04:17 Don't know if that includes ads or not Sep 09 13:08:50 Hey, this app that's supposedly ad-free has ads Sep 09 13:08:58 Maybe I should try posting there Sep 09 13:09:06 But I bet they have a limitation Sep 09 13:09:31 *a requirement of a minimum number of posts. But I freaking hate Android. Sep 09 13:20:11 Hi. I'm running androix-x86 (4.4) in a VirtualBox VM, and I'm trying to get a banking app to run on there. However, that app complains that the device is rooted. Do you have suggestions how to fix that? Since the VM's sole purpose is to make that app run, I'm happy with hackish solutions. :) Sep 09 13:24:29 *android-x86 of course Sep 09 13:34:31 not. the place to ask Sep 09 13:36:06 pfn: I thought that, since there's probably a bit of tinkering involved, this might be the appropriate place to ask. Can you recommend me where I should go? Sep 09 13:36:19 xda Sep 09 13:36:44 Maybe #android-root Sep 09 13:40:01 hi all, I've got a webview that's dying with ProGuard DataReductionProxySettingListener: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp Sep 09 13:40:37 pfn: Thanks, I will try there. Sep 09 13:50:52 how is that related to proguard Sep 09 13:51:48 hey pfn Sep 09 13:51:53 well I don't get that if I disable it :) Sep 09 13:56:46 Is there still not API 24 Google Play Service Addon? :( Sep 09 13:56:50 Don't see one in https://dl.google.com/android/repository/sys-img/google_apis/sys-img2-1.xml Sep 09 13:57:22 Would love to test on a tablet with play services and API 24 right now Sep 09 14:10:48 Hello Guys 'n' Girls, my name is david and i'm a totally new at programming and android development. I have a (maybe) stupid question and since english isn't my first language i hope that you can understand me. Sep 09 14:10:58 So now the enviroment: I'm programming a really small app with Firebase. In this app i have several avtivities. The MainActivity shows a ListView, if i click on this ListView (maybe element 1) a second Activity starts. In this second Activity i add some Values to the element 1. Now i press the back Button from the Android (not in my app) and i'm back in the MainActivity. Sep 09 14:11:06 Now the Problem: after pressing the Back Button the ListView in the MainActivity doesn't refresh. I Think the MainActivity is not restarting. Sep 09 14:11:12 I think maybe i have to deal with the Firebase "onChildChanged" or "onChildAdded" or maybe i have to implement an "own" back button. I hope anybody can understand my question and can give me some hints so solve this problem? Thank you. Sorry for the long post. Sep 09 14:11:12 my 6p still hasn't gotten nougat... Sep 09 14:15:53 i forgot to say that after i pressed the back button and i'm in the MainActivity and then i press element two it opens the second activity but with the valuas from the first pressed element one. Sep 09 14:18:59 davidbeginner, this may help: https://developer.android.com/training/implementing-navigation/temporal.html Sep 09 14:19:59 davidbeginner, don't know about firebase, but you probably have to do something in 'onResume' or 'onActivityResult' in the first activity Sep 09 14:20:35 reset the adapter or notify its data changed Sep 09 14:24:39 david: yeah, the element you pass into that second activity is not the same object that you get from the bundle extras. modifying that object in the second activity won't affect the object in the first. Sep 09 14:24:42 bitkiller, thats a good hint, i will try with "onResume" and "onActivityResult". thank you :-) Sep 09 14:26:32 bitkiller, i looked at my code, currently i'm working on "onCreate". I think i have to read the android lifetime cycles again ;-) Sep 09 14:33:29 mann, sorry i don't have seen your post. Thank you for the link i will check this :-) Sep 09 14:36:39 wow, so those exploding note 7s - anode shorted with cathode Sep 09 14:37:24 lol Sep 09 14:37:35 "occurred when the anode-to-cathode came into contact" Sep 09 14:38:18 The children in the Congo will have to double their mining efforts in order to provide raw material for the replaced devices Sep 09 14:38:35 bitkiller https://productforums.google.com/forum/m/#!topic/nexus/rz3BGwI-BDA/unsubscribe Sep 09 14:38:59 VerbalKint soon they will replace lithium batteries with soylent ... Sep 09 14:40:25 g00s: not getting whether that's a joke or something else :D Sep 09 14:40:48 joke, mostly Sep 09 14:41:03 i mean, people were batteries in the matrix right ? Sep 09 14:41:14 reactors Sep 09 14:41:19 we need micro reactors. Sep 09 14:41:28 g00s, more workaround to be stuffed in BT apps Sep 09 14:41:31 g00s: oh, now I get it Sep 09 14:41:41 if I could run a reactor powered car... I'd do it =) Sep 09 14:42:34 if nexus devices have these kind of problems, i'm imagining the others Sep 09 14:45:55 Maybe I'm an asshole, but I like when companies this big get hammered. I dream that it's the executives that get financially ruined. Sep 09 14:46:09 2 Ferraris instead of 1 per year Sep 09 14:46:16 *1 Ferrari instead of 2 Sep 09 14:46:26 /fail Sep 09 14:49:46 VerbalKint: which company got hammered? Sep 09 14:49:54 joel_: Samsung Sep 09 14:50:02 joel_: http://www.chicagotribune.com/bluesky/technology/ct-exploding-samsung-galaxy-note-7-20160907-story.html Sep 09 14:50:38 Oh, ok. thanks Sep 09 14:51:34 VerbalKint well their stocks did kinda get hammered Sep 09 14:51:41 kinda Sep 09 14:51:47 "hammered" Sep 09 14:52:08 oh thats nice, the flutter sdk uses Atom as the IDE Sep 09 14:54:40 Is there some disadvantage to enabling "largeHeap" in AndroidManifest.xml? Sep 09 14:54:51 Anyone tried out Flutter? Sep 09 14:55:55 VerbalKint, you'll have a high likelihood of ruining the multitasking experience Sep 09 14:56:38 ugh, so annoying, 6p won't see. that there's an update and I'm nowhere near a pc to apply the update manually Sep 09 14:57:53 pfn: well, it doesn't work on older models if I don't have it enabled Sep 09 14:58:16 decrease the memory requirements of your app Sep 09 14:58:52 VerbalKint what are you doing that requires more memory ? Sep 09 14:58:54 hey ron_frown Sep 09 14:59:43 g00s: nothing serious Sep 09 14:59:57 i guess if you had a lot of bitmaps i'd try it Sep 09 15:00:05 but yeah, don't use it to fix general sloppiness Sep 09 15:00:20 g00s: well, it seems to work now on this older model Sep 09 15:00:31 g00s: the crash happened specifically when I rotated the screen Sep 09 15:00:43 VerbalKint lol, fix that Sep 09 15:00:45 quit using up so much memory Sep 09 15:00:54 maybe you are leaking things Sep 09 15:01:02 50mb is big? Sep 09 15:01:05 there's few reasons to. enable large heaps Sep 09 15:01:29 manipulating large data structures in memory such as bitmaps is one Sep 09 15:01:39 g00s Sep 09 15:02:28 pfn: I do have ~100 jpgs, but I'm not using them all at once Sep 09 15:02:40 ron_frown http://www.infoworld.com/article/3118345/cloud-computing/why-kubernetes-is-winning-the-container-war.html Sep 09 15:04:15 interesting Sep 09 15:04:46 seemed to me like swarm was good and people were latching on big time but that others were bent because it wasnt hugely backwards compatible Sep 09 15:12:57 Hi all, what must I do to release my app for closed alpha testing? I've uploaded the APK and submitted the store listing - clicked 'publish' Sep 09 15:13:15 however, the opt-in link for Alpha testing has stil not appeared, status is 'Processing update' hmm Sep 09 15:13:27 oh 'Pending publication' Sep 09 15:15:45 ah.. that's why. Sep 09 15:17:34 how tough would it be to develop a game for android from scratch rather than working your ways with game engines? Sep 09 15:20:29 VerbalKint: 20M memory usage will already get your app killed on rotate on most devices Sep 09 15:21:20 justJanne: this happened only with an older phone Sep 09 15:21:44 Lemme check the actual memory usage Sep 09 15:22:38 Just keep your audience in mind Sep 09 15:23:09 If you are making an app to sell 60'000 USD watches to people, then just stop caring about older devices Sep 09 15:23:44 If you are making an app for young people, target around moto G performance Sep 09 15:24:24 If your audience is the third world, android 4.0 is what you need to target, running on 400M ram Sep 09 15:24:30 justJanne: yeah, it's just a quiz app :D Sep 09 15:25:02 VerbalKint Fb has a little library to bin devices into suckiness Sep 09 15:25:08 Then 50M is definitely far too much Sep 09 15:25:31 And videos of the size you mentioned will be an issue then, too Sep 09 15:25:46 You can't just put 150M of static data into a quiz app Sep 09 15:25:47 justJanne: videos? I said jpgs Sep 09 15:26:02 Well you also wanted to download videos, or was that someone else? Sep 09 15:26:09 justJanne: not me Sep 09 15:26:13 Hm, okah Sep 09 15:26:23 justJanne: and my app has ~100 jpgs and has 14mb in total Sep 09 15:26:32 justJanne: I compressed the hell out of them Sep 09 15:26:37 Yeah, and all of them end uncompressed in RAM Sep 09 15:26:45 Compressing them in jpg is useless Sep 09 15:27:02 And will just make loading them slower and more expensive Sep 09 15:27:04 justJanne: but I'm not actually using all of them at the same time Sep 09 15:27:16 justJanne: 1 per question Sep 09 15:27:22 Well, then you do something wrong Sep 09 15:28:14 justJanne: most definitely Sep 09 15:28:54 what game engine does anyone recommend to for android? Sep 09 15:30:45 justJanne: main menu idles at 31mb Sep 09 15:31:04 if I rotate, it goes to 35mb Sep 09 15:31:40 lol, the memory usage increments with each rotation :D Sep 09 15:31:44 Memory leak Sep 09 15:32:48 Hmm. What could it be. Sep 09 15:35:10 good morning all. Sep 09 15:36:05 good night orbyt_ Sep 09 15:36:20 have a good night shynoob Sep 09 15:37:10 welp.. it's just night here.. hehe not tht I want to sleep Sep 09 15:37:26 anyways orbyt_ enjoy your day! Sep 09 15:43:39 VerbalKint try leak canary Sep 09 15:45:53 VerbalKint this will also get you started https://medium.com/freenet-engineering/memory-leaks-in-android-identify-treat-and-avoid-d0b1233acc8 Sep 09 15:46:09 LEAK CANARY Sep 09 15:46:12 Do it Sep 09 15:46:16 DO EET! Sep 09 15:46:21 Just DO IT Sep 09 15:47:04 Think it's the AdMob getting new requests on each onCreate Sep 09 15:47:40 well, easy problem to solve - remove ads ! Sep 09 15:48:23 g00s: and let my children starve?! Sep 09 15:49:09 VerbalKint not much longer anyhow, Great Meteor 2016 ! Sep 09 15:49:28 g00s: another one? Sep 09 15:49:33 yup Sep 09 15:50:09 Oh, it's a campaign thing Sep 09 15:53:45 g00s: this leak cannary sounds awesome Sep 09 16:02:31 AS 2.2 RC 2 Sep 09 16:05:37 I'm not getting any leak notifications Sep 09 16:05:47 But the build finished with 24 errors for some reason Sep 09 16:06:42 It's actually 3 warnings Sep 09 16:07:51 Hmm. Sep 09 16:08:02 This leak is isolated only to the main menu Sep 09 16:08:27 My app, after a round and everything takes ~80mb. Is this much? Sep 09 16:09:51 Meh, it's fine this way Sep 09 16:12:45 VerbalKint Giant Meteor ! Sep 09 16:12:59 g00s: I'm Romanian! Sep 09 16:13:49 g00s: so American apocalypse won't affect me... much :D Sep 09 16:14:18 g00s: serves you right for votting Hillary instead of Bernie Sep 09 16:14:29 VerbalKint unless you're on pluto, you are inside blast radius of our dumb politicians ! Sep 09 16:16:29 hm, do i need to use gradle RC plugin with AS 2.2 ... thats where i draw the line Sep 09 16:18:12 g00s: who you voting for? Sep 09 16:18:35 i was going to write in my old dog jake Sep 09 16:19:03 of course you need to use rc plugin with rc studio Sep 09 16:19:13 g00s: or vote for Deez Nuts :P Sep 09 16:19:36 g00s: https://en.wikipedia.org/wiki/Deez_Nuts_(politician) Sep 09 16:20:24 yup Sep 09 16:21:05 g00s: says much about democracy :P Sep 09 16:25:07 Anyway, my app reaches a maximum of 80mb. Is that too much? Sep 09 16:25:25 Actually, the usage is lower on my older tablet for some reason Sep 09 16:32:44 For a splash screen animation, would it be best to have a LaunchActivity that transfers to the main activity, or just use a single activity and display some sort of fragment/view Sep 09 16:33:52 orbyt_: if you can remove the splash from the back stack, it's the same. Otherwise you want to display the splash in the main activity because you don't want people to go back to your splashscreen Sep 09 16:35:03 mhm Sep 09 16:37:52 Actually, it's not a memory leak and rather a layout issue or something :O Sep 09 16:40:27 i'm using BitmapFactory.decodeByteArray using a byte array directly from the camera, and every time it returns null. but if i save the same byte array to disk and then load it from that, i can call .decodeFile just fine. what is going on? Sep 09 16:40:35 Any tools you guys use for creating Animated svgs? Sep 09 16:40:44 i've been manually doing everything Sep 09 16:41:19 orbyt_: did you look into the arsenal? Sep 09 16:42:35 Android-arsenal? For what? Sep 09 16:45:28 orbyt_: what did you ask? tools for animating SVGs? Sep 09 16:45:53 yes Sep 09 16:46:06 then look for that Sep 09 16:46:08 https://android-arsenal.com/tag/96 Sep 09 16:46:33 you're welcome Sep 09 16:48:14 Arancio: Tools like Illustrator, Inkscape, etc. Most of the libs you linked are either view libs or tools for converting svg to avd Sep 09 16:48:20 Thanks though. Sep 09 16:48:42 there are a couple for making animation. Is not much but it's something Sep 09 16:49:03 you meant "designing animation" Sep 09 16:49:11 in illustrator you can interpolate shapes Sep 09 16:49:27 otherwise there is not much support for designing animations Sep 09 16:50:05 https://android-arsenal.com/details/1/3701 Sep 09 16:50:36 https://android-arsenal.com/details/1/2302 Sep 09 16:50:57 I’m using Retrofit2 and have 2 different APIs to hit - one for Authentication and one for data. 2 different URLs. I’m getting Read error: ssl=0x747df29700: I/O error during system call, Connection reset by peer when making calls. Can someone point me in the right direction to resolve these type of errors? Sep 09 16:51:17 g00s: I'd argue that at least one of the candidates promises "everything stays the same it is" Sep 09 16:51:39 codepete: your connection broke, or the server killed your connection Sep 09 16:52:29 Oh so it has nothing to do with having 2 API endpoints. Sep 09 16:52:47 What could cause a connection to break though? Sep 09 16:54:23 Many things. Sep 09 16:54:28 For example, a solar storm Sep 09 16:54:43 Or you walk out of WiFi range Sep 09 16:55:07 Could be an emp from a nearby nuke Sep 09 16:55:24 codepete: better take cover Sep 09 16:55:26 Or a lightning that has hit your phone Sep 09 16:55:33 Weren't we almost fried in 2012? Sep 09 16:55:35 lmao Sep 09 16:56:53 Nah, but we will be Sep 09 16:56:56 I notice this happens though when I’m making concurrent api calls. Sep 09 16:56:58 Soo Sep 09 16:57:45 No matter if you vote giant meteor or the conceptless billionaire, there will be quite an eruption Sep 09 16:57:59 https://en.wikipedia.org/wiki/Solar_storm_of_2012 Sep 09 16:58:19 Ah, thought you meant 21.12.12 Sep 09 16:58:31 To think that if that would've hit Earth in 2012 I wouldn't have to look for a job right now... Sep 09 16:58:38 :D Sep 09 16:59:25 if you want we could kill you and make hamburgers out of your dead body. Just ask Sep 09 16:59:48 we're here to serve you Sep 09 17:00:27 literally, serve you on a dish Sep 09 17:00:43 Arancio: I know, I know; I've seen Twilight Zone :P Sep 09 17:01:23 justJanne: in case you were wondering, the problem was the 1024x1024 resolution that I was using on a tiny, old-ish phone Sep 09 17:03:23 Didn't think the resizing would make the smaller phones crawl Sep 09 17:06:39 VerbalKint: use the mipmap directory then Sep 09 17:07:12 With that, you can specify resources in specific sizes, similar to drawables, but it will cjoose based on image size, not resolution Sep 09 17:07:33 justJanne: isn't drawable-hdpi the same as mipmap-hdpi? Sep 09 17:08:05 Not really Sep 09 17:08:12 Nevermind, I'll google Sep 09 17:09:45 justJanne thats true mostly; preferable to things getting worse of course, but for many things are already unbearable to maintaining the status quo is not really a selling point Sep 09 17:10:00 to->so Sep 09 17:12:32 orbyt_: do you use any software to draw SVGs? Sep 09 17:13:02 I've tried a couple I suppose Sep 09 17:13:17 which one do you actually use? Sep 09 17:13:31 I don't regularly use any of them, but i'd like to Sep 09 17:13:36 ok Sep 09 17:13:50 What's wrong with this linear layout with 2 buttons? https://gist.github.com/crised/b39d5d529ddcf7ce44aebfb555673745 Sep 09 17:13:50 illustrator and inkscape are the preferred for vectors though Sep 09 17:13:57 Sometime one button overlaps the other Sep 09 17:14:16 I'm having problems exporting from Illustrator. the viewbox size are a bit random. I can't do precision works. Sep 09 17:14:23 in some cases one button occupies the whole width, so the right button is not visible Sep 09 17:14:37 I'm going to try Inkscape to see if it's better Sep 09 17:15:29 crised: try getting rid of your margins Sep 09 17:15:45 orbyt_: What's this? baselineAligned Sep 09 17:18:04 interesting, google to start delivering burritos http://newatlas.com/google-drones-chipotle-burritos/45344/ Sep 09 17:21:44 hi i'm developing a gallery and i use a StaggeredGridLayoutManager. I have 3 different measure of item (200px, 500px, 700px), this is layout https://www.dropbox.com/s/2vavdkywid8h6hs/grid.png?dl=0 Sep 09 17:21:44 My solution is : http://pastebin.com/3UGLhr1i 3 different RelativeLayout.Params. all works but i'd like know some other solution.. Sep 09 17:21:54 So, now DHL, Mercedes AND Google are all ahead of Amazon in delivery drones Sep 09 17:23:11 Is there any light version of android Sep 09 17:23:30 RajRajRaj: and hi Sep 09 17:23:31 justJanne well donald trump was worried about taco stands on every corner, now he has to worry about tacos raining from the sky --- good day in my book :D Sep 09 17:23:40 Android is the light side, iOS is the dark side Sep 09 17:23:53 arancio__: hi Sep 09 17:24:12 don't be an Android fanboy Sep 09 17:24:47 Leeds: i wanta version of android that i can instal and my battery will last for 4 days insted of 1 day Sep 09 17:24:59 I believe iOS has its merits too Sep 09 17:25:16 RajRajRaj: just disable everything that’s running in background Sep 09 17:25:23 both are good systems and they keep getting better BC they compete Sep 09 17:25:23 also, this is a place for app developers for android, Sep 09 17:25:27 NOT generic questions Sep 09 17:25:32 Yep, the background image sizes was to blame. App runs smoother now too. Sep 09 17:25:35 RajRajRaj: Please use #android or #android-root for help with your device Sep 09 17:25:42 if you have questions regarding android ROMs, etc, check out #android or #android-root Sep 09 17:25:43 also, I want a pony Sep 09 17:25:58 devuser: Don't use hardcoded pixels, use dp values Sep 09 17:26:07 Leeds north korea will sell you a unicorn, close enough right ? Sep 09 17:26:08 justJanne: ok ty Sep 09 17:33:39 Even though I put much more effort in making my app, this guy who just happened to release his amateurish trivia app earlier than me gets 10k installs https://play.google.com/store/apps/details?id=com.mihaidragoi2.quiz Sep 09 17:33:49 There is no justice in this world Sep 09 17:34:46 why do you say you put much more effort? Sep 09 17:35:06 arancio__: because I did? :P Sep 09 17:35:16 do you know him? Sep 09 17:35:21 VerbalKint maybe he paid for installs Sep 09 17:35:22 maybe he marketed it a little bit Sep 09 17:35:28 arancio__: nope Sep 09 17:35:36 g00s: was thinking of doing the same thing Sep 09 17:35:39 at this stage in the game, in 2016, getting any installs for a trivia app is probably an achievement Sep 09 17:35:51 SimonVT, pastebin code is only an example Sep 09 17:35:53 then you can't tell Sep 09 17:35:57 because the biggest trivia would be, which trivia app to install Sep 09 17:36:11 VerbalKint: 2 points - firstly, his app has been out for *at least* 15 months... and secondly, being non-English could mean it found a niche Sep 09 17:36:13 just mind your own app and try to do your best Sep 09 17:36:30 Leeds: they are from the same country Sep 09 17:36:35 g00s: yeah, I knew that when I started making it Sep 09 17:36:46 also, https://play.google.com/store/apps/details?id=com.quizup.core Sep 09 17:36:48 g00s: I just hoped that I would make a breakthrough or something Sep 09 17:36:55 lol Sep 09 17:38:32 Leeds: yeah, well my app is released for ~2 weeks and I have only 10 installs X_X Sep 09 17:38:41 Leeds: though, I started marketing today Sep 09 17:39:09 Use your app making knowledge to make something more interesting Sep 09 17:39:58 i think that a fundamental problem of thinking Sep 09 17:40:05 1 install is by me! Sep 09 17:40:17 one makes a more interesting app not from app making knowledge, but from knowing what problems to solve Sep 09 17:40:17 so it's 9 installs! Sep 09 17:40:35 Well, this is what I did https://play.google.com/store/apps/details?id=eu.ionuticleanu.trivia Sep 09 17:40:48 so you have to have problems yourself to solve, or you need to talk to people with problems Sep 09 17:40:48 This app is incompatible with your device. Sep 09 17:40:50 noooo Sep 09 17:40:54 cannot install trivia ap Sep 09 17:41:02 the simple fact is that you can't rely on people randomly finding your app in the store - I don't know about the world as a whole, but I just never browse the store Sep 09 17:41:03 It certainly looks better than the first one you linked Sep 09 17:41:10 gordon_: huh? It's 4.0+ Sep 09 17:41:20 probably country locked Sep 09 17:41:31 gordon_: it's not country locked Sep 09 17:41:42 so.. 'sucks' to be me ;D Sep 09 17:42:08 gordon_: what's your device's version? Sep 09 17:42:23 7 Sep 09 17:42:55 Well, I didn't really believed that I would make something big out of it. I thought I would make it in 1 month and let it stay there and see if it'll automatically pick up after some marketing. Sep 09 17:43:14 Instead I did it in 2 and a half months Sep 09 17:43:35 So I lost 1.5 months of my original plan Sep 09 17:43:40 I did my first app because I needed something to learn japanese ;) Sep 09 17:43:45 learn a lot because of it Sep 09 17:44:02 and never relesed it to play store :D Sep 09 17:44:07 VerbalKint: don't think like that. It's all negative thinking. It's normal to spend more time than what you thought in making something you don't know nothing about Sep 09 17:44:08 google store back then Sep 09 17:44:14 *android market Sep 09 17:44:25 VerbalKint: Welcome to software estimates :) Sep 09 17:44:39 multiply by 3 ! Sep 09 17:45:12 VerbalKint: just try to make your app always better. marker it. try to make other kinds of apps. Don't compare yourself with other people. It's not useful Sep 09 17:45:14 That is my rule for all estimates actually Sep 09 17:45:23 Figure what I think it'll take, multiply it by 3 Sep 09 17:45:48 if it has camera or BLE or mediaplayer stuff, x4-5 Sep 09 17:46:07 and android is 1.3 x iOS costs Sep 09 17:46:09 arancio__: you'd feel sour (pun intended :P) too if some guy who put less effort than you wins because he can buy installs Sep 09 17:46:18 g00s: wat Sep 09 17:46:29 gordon_ yeah, there is data on that Sep 09 17:46:37 ^^^^ Sep 09 17:46:40 absolutely agreed Sep 09 17:46:41 It's a black hat world Sep 09 17:46:43 dont know about it Sep 09 17:47:04 all I know that we wanted to do gpu video rendering on android Sep 09 17:47:15 and man... gpu glitches everywhere :D Sep 09 17:47:18 depends on gpu Sep 09 17:47:28 VerbalKint: Make something better and make people aware of it and you don't have that problem. Nobody will download a shitty app, and nobody will download an app they don't even know exists Sep 09 17:47:29 green screen? check Sep 09 17:47:35 half rendered screen? check Sep 09 17:47:37 i’ve been working off and on and a camera2 rtmp live broadcast implementation Sep 09 17:47:39 boy howdy Sep 09 17:47:41 it’s horrible Sep 09 17:47:41 strange artifacts? checl Sep 09 17:47:57 and if it's enterprise, it would never end. for better or for worse Sep 09 17:49:23 ResidentBiscuit: meh, I'll market it a bit and go back to web dev Sep 09 17:49:35 *and then Sep 09 17:50:11 App development probably isn't the key to financial success anyways. You either make it big or get nothing, and the chances of being big are very slim Sep 09 17:50:43 ResidentBiscuit: my goal was making ~1000$/month Sep 09 17:50:46 well, it's frontend developer Sep 09 17:50:55 VerbalKint: lol, good luck Sep 09 17:51:05 ResidentBiscuit: actually, that was my optimistic goal Sep 09 17:51:19 ResidentBiscuit: so what are we all doing here? Sep 09 17:51:41 arancio__: I would drop android dev :P Sep 09 17:51:46 but next year Sep 09 17:51:54 I'm here because I'm a professional programmer who always learns new things, I get paid way more for my FT job than I would making apps Sep 09 17:52:11 FT? Sep 09 17:52:17 Learning new things = being more attractive = more money Sep 09 17:52:19 fulltime Sep 09 17:52:48 well Sep 09 17:53:08 gordon_: why the lol, though? Sep 09 17:53:11 if you have app, you need backend too Sep 09 17:53:28 VerbalKint: I dont think it's easy Sep 09 17:53:34 at least from ADs Sep 09 17:54:39 well, programming android is still more exiciting that programming MS sharepoint... Sep 09 17:54:43 so ;) Sep 09 17:54:54 or some other salesforce Sep 09 17:55:32 If that's what you do in your job, it's time to find a new job Sep 09 17:55:43 you mean what / Sep 09 17:55:48 sharepoint / salesforce ? Sep 09 17:59:29 The dream is dead. DEAD! Sep 09 17:59:35 gordon_ not as exciting as electron though :P Sep 09 18:00:06 btw VS Code 1.5 is amazing Sep 09 18:00:25 electron should be dead Sep 09 18:01:07 haha Sep 09 18:01:55 VerbalKint: don't be so negative Sep 09 18:02:12 Arancio: it's being realistic and pragmatic Sep 09 18:03:01 I'm whacking the dream with a tire iron to the face so that it may never wake up again Sep 09 18:03:14 you will not find success in independently written apps Sep 09 18:03:27 those are 1 in a million Sep 09 18:03:33 Probably less Sep 09 18:03:46 pfn: I wasn't looking for success, I was looking for mediocrity Sep 09 18:03:48 VerbalKint: it's your first app. And learning how to develop an app is just ONE skill. Someone could hire you because you can write a web app AND an android app coordinated Sep 09 18:04:04 Arancio: oh, I'm very hireable right now Sep 09 18:04:14 Arancio: it's just that I want to do independent stuff Sep 09 18:04:20 Why not both? Sep 09 18:04:23 VerbalKint: aiming for mediocrity is the secret for failure Sep 09 18:04:37 Arancio: do you happen to watch TED videos? :P Sep 09 18:04:45 VerbalKint: no Sep 09 18:04:59 mediocrity will not garner you 1k usd /mo Sep 09 18:05:24 VerbalKint: you must aim to turn the market upside down and maybe, on that route, you will gain 1k$/mo Sep 09 18:05:35 yeah Sep 09 18:05:38 like webvan :D Sep 09 18:05:41 lol Sep 09 18:05:45 tell that to the politicians, they get rich being useless Sep 09 18:05:45 now i have a client who wants a clone of the google calendar app so it accesses the client's backend Sep 09 18:05:48 or rdio Sep 09 18:06:22 time to refresh classics Sep 09 18:06:32 https://www.youtube.com/watch?v=I6IQ_FOCE6I Sep 09 18:07:00 VerbalKint: mediocrity is 999.999 apps over 1.000.000, why people should choose you? Sep 09 18:07:37 gordon_: lol Sep 09 18:08:27 here comes another bubble, its a moster rally all around the valley <3 Sep 09 18:10:21 :-( Sep 09 18:10:58 VerbalKint: Can you answer? Sep 09 18:11:10 Arancio: uh what? I was too busy tying this noose :P Sep 09 18:11:28 What is the proper way to start an animated vector drawable animtion? Sep 09 18:11:32 animation* Sep 09 18:12:04 Ok, no more offtopic :D Sep 09 18:12:40 wyrdtrtle, politicians work their ass off to. be useless Sep 09 18:13:17 no, they work interns asses off so they can be useless Sep 09 18:13:20 wyrdtrtle: populist! Sep 09 18:13:46 i'd like to pop most of them Sep 09 18:13:49 If being useless was easy, everyone would do it! It must be hard! Sep 09 18:14:16 orbyt_: Call start Sep 09 18:14:34 being useless IS easy, its getting paid for it thats hard Sep 09 18:17:44 SimonVT: Right, though this doesnt seem to work: http://prntscr.com/cg44it Sep 09 18:19:19 orbyt_, I've confirmed this to work in my own apps: https://cl.ly/2o0G0j1l0n01 Sep 09 18:19:35 Try doing that instead Sep 09 18:20:29 it works to call start on animatable Sep 09 18:21:31 SimonVT: is d in your example a Drawable? Theres no start method Sep 09 18:21:39 (it was a joke) Sep 09 18:21:44 Provide some information Sep 09 18:22:27 animation, vector, and animated vector defined in xml, and used in an imageviews src Sep 09 18:22:36 then the code as posted above Sep 09 18:22:49 ill paste the xml code Sep 09 18:24:42 just seen the calendar app source code and it's ugly Sep 09 18:25:28 bitkiller all of the gapps are ugly implementations Sep 09 18:25:34 Xml for above: http://paste.ee/p/WLMg4 Sep 09 18:25:38 i decompiled 7 or 8 of them Sep 09 18:26:21 dont know how it can be ugly Sep 09 18:26:24 it's just a grid ;P Sep 09 18:26:38 the content providers are terrible Sep 09 18:27:02 ... and those are huge hairballs Sep 09 18:27:27 why would you decompile them Sep 09 18:27:33 the are OS (atleast calendar) Sep 09 18:27:45 TheSchaf google calendar is not aosp Sep 09 18:27:48 any more Sep 09 18:28:02 hasn't been for a while now Sep 09 18:28:10 g00s: arent they use content providers so other apps can look for events / add them ? Sep 09 18:28:48 nope Sep 09 18:28:56 for the longest time, there was no calendar API Sep 09 18:28:57 I stand corrected Sep 09 18:29:05 yeah, they all have pretty complicated data models, which makes the providers very complicated too. but .. providers just add another degree of hairball on whatever level of complexity is already there Sep 09 18:29:35 orbyt_: The sample in the javadocs actually applies rotation. Worked for me without issue. They put a around the Sep 09 18:29:44 and they don't use 3rd party libs, i guess Sep 09 18:29:55 Maybe there's just no rotation property on path Sep 09 18:30:11 bitkiller some of the apps do, google also has some private internal stuff that gets reused across projects, like an internal support lib Sep 09 18:30:36 i've seen Glide in a few places ... Sep 09 18:30:38 seems there isn't https://developer.android.com/reference/android/graphics/drawable/VectorDrawable.html Sep 09 18:30:51 SimonVT: I was under the impression was to group multiple elements to animate as a group Sep 09 18:31:03 there is Sep 09 18:31:11 indeed Sep 09 18:32:42 https://github.com/scala-android/sbt-android/tree/master/resources/android-project-template Sep 09 18:33:09 my hello world template demos an animated vector with rotation Sep 09 18:33:56 Right, your target is a group not a path Sep 09 18:34:26 you may only animate groups Sep 09 18:34:31 He's trying to animate the rotation property on a path.. which doesn't seem to exist Sep 09 18:34:39 Indeed Sep 09 18:35:47 The documentation mentions animating both group and path attributes Sep 09 18:39:21 Well I got it animating but it seems its pivot point isnt at the center of the drawing Sep 09 18:39:34 set the pivot Sep 09 18:39:45 default is always 0,0 Sep 09 18:42:03 Ah I see, thank you. Sep 09 18:43:03 usually 0.5 for both x and y helps for rotating around the center Sep 09 18:43:39 I used the value of half the viewbox, let me try 0.5... Sep 09 18:43:42 it must be an absolute coordinate Sep 09 18:43:57 0.5 is wrong Sep 09 18:44:01 ah oops then 0.5 pivot won't work on this kind of animation Sep 09 18:44:15 usually it means 50% of the width/height (for x/y) Sep 09 18:44:29 Yea it just set the pivot coordinate top left Sep 09 18:44:49 then as pfn said, in this specific case you need to provide abs coords Sep 09 18:44:51 that's because it's basically 1 Sep 09 18:44:58 mhm Sep 09 18:45:21 Check the javadocs if you're unsure, they do it correctly Sep 09 18:45:54 Yes, their using half their viewport as well Sep 09 18:47:05 half viewport would be correct Sep 09 18:47:18 depends on your path as well Sep 09 18:48:01 do you want your path to spin or circle the center point Sep 09 18:52:33 Guys, I managed to fix all my SVG problems! Sep 09 18:53:03 By using VectorDrawables instead? Sep 09 18:54:25 SimonVT: No, they were Illustrator exporting problems Sep 09 18:55:35 SimonVT: Even if Illustrator is superior to Inkscape I suspect that Inkscape exports better than Illustrator. I have check it out more deeply. Sep 09 19:00:40 SimonVT: aren't SVG files converted to VectorDrawable when I import them in Android Studio? What did you mean? Sep 09 19:01:22 they are converted at build time, no? Sep 09 19:03:32 well, the xml that you see in AS is not SVG. It's the XML form a VectorDrawable. They are inflated in an actual object at runtime. Sep 09 19:03:40 This is what I understand. Sep 09 19:04:07 read "...the XML form of a"... Sep 09 19:05:17 there's several options Sep 09 19:05:22 Ah, I assumed you used some 3rd party svg library Sep 09 19:05:57 vector compat does not concert at build time Sep 09 19:07:29 SimonVT: Yes, I evaluated a 3d party SVG library. But I don't know if I'm going to use it. I need to make the map interactive now. Maybe I can do it the simpler way and won't need anything else. Sep 09 19:26:58 have anyone of you encountered a Trogan affecting your .apk and marked as a threat in Virus scanner app? Sep 09 19:28:33 t2mkn: Trogan? Sep 09 19:28:59 Trojan Sep 09 19:29:15 t2mkn: Why did you join #android-dev? Sep 09 19:30:03 humm so where should i go to discuss this with fellow devs Sep 09 19:30:26 humm ok Sep 09 19:30:33 you passed the test Sep 09 19:30:40 and hi Sep 09 19:31:08 hello Sep 09 19:31:47 I can help you. I hope someone else will Sep 09 19:31:50 can't Sep 09 19:31:52 what virus scanner O.o Sep 09 19:32:52 pc? android? Sep 09 19:33:46 android app "Bitdefender" Sep 09 19:34:07 Hey guys! I'm programatically generating textviews that I'm trying to align to the right of one another. What parameter do I need to do this? Rightof doesn't seem to be doing anything Sep 09 19:34:14 my app is marked as affected with "Trojan.Rootnik.gXPPA" Sep 09 19:34:20 hell I want to know why Sep 09 19:34:28 sent them an e-mail Sep 09 19:34:34 t2mkn: stop keylogging people u rascal you Sep 09 19:34:35 no response since last 5 days Sep 09 19:35:17 wow no swearing? Sep 09 19:36:10 amazoniantoad: depends on which layout system you are using as root of those textviews Sep 09 19:36:19 i'm looking for a good guide for developing apps for android, from the ground up. never programmed anything for a phone before. any recommendations? Sep 09 19:36:27 t2mkn: I'm using relativelayout Sep 09 19:36:59 scarpia: Really the best thing to do is make yourself projects. Sep 09 19:37:07 so in normal xml how do you align to right of first view Sep 09 19:37:09 small things you want to do Sep 09 19:37:29 scarpia probably get big nerd ranch android book Sep 09 19:37:29 t2mkn: I thought it was Sep 09 19:37:45 t2mkn: rightof Sep 09 19:38:40 t2mkn: oh. gravity? Sep 09 19:38:43 Wow I was way off Sep 09 19:38:50 have u tried Google? Sep 09 19:39:08 t2mkn: that's what I'm doing. I wasn't getting anything relevant to me Sep 09 19:39:41 t2mkn: got i think Sep 09 19:39:42 thanks! Sep 09 19:39:48 lol Sep 09 19:39:59 i swear I wasn't finding any results before Sep 09 19:40:03 lol Sep 09 19:40:06 thanks Sep 09 19:40:43 ok back to my issue :) any one? Sep 09 19:40:56 g00s: any info on my issue Sep 09 19:41:05 i wouidn't worry about it ... Sep 09 19:41:22 maybe the apk was modified and downloaded from another store :) Sep 09 19:41:48 yes, i was telling you guyes about hackers yesterday Sep 09 19:41:51 if u remember Sep 09 19:42:09 google licencing system is cracked by them Sep 09 19:42:37 may be people downloaded from their, and that has this trojan Sep 09 19:42:40 turnkey bypassing of lvl came out like a week after google released it Sep 09 19:43:02 yes Sep 09 19:43:17 especially if you use the defaults Sep 09 19:43:21 http://android-developers.blogspot.in/2010/09/securing-android-lvl-applications.html Sep 09 19:43:35 wow that was 6 years ago ... Sep 09 19:43:53 updated june 23, 2016 Sep 09 19:44:41 now he says to modify LVL as harder as possible in your own app Sep 09 19:47:33 there is only one way. google should keep a shortcut to app. user should download and launch as an installer. now google verifies the payment, and respond to devs server. now devs server should deploy the final apk. Sep 09 20:23:22 "Samsung Galaxy Note 7 Smartphone now Banned on the Indian Flights after Series of Explosions" Sep 09 20:23:29 i can't think of any worse publicity ... Sep 09 20:23:47 hahaha Sep 09 20:25:47 and from the FAA ""In light of recent incidents and concerns raised by Samsung about its Galaxy Note 7 devices, the Federal Aviation Administration strongly advises passengers not to turn on or charge these devices on board aircraft " Sep 09 20:25:58 i wonder what people interpret "turn on" as Sep 09 20:26:06 most people probably think, the screen is off, so its off Sep 09 20:26:06 hi all Sep 09 20:27:47 i have a navigation drawer that will replace the content frame with a new Fragment everytime, is there some Fragment Pager thing i should be using? Sep 09 20:28:15 parco there are 2 ways to do this: Sep 09 20:28:35 google keep has a framelayout for each fragment that will be shown, and just toggles viz of that FL Sep 09 20:29:01 but most other apps, replace whatever is in one framelayout (shared) with the new fragment to be shown Sep 09 20:29:29 so there's no cache implementation, that might keep a fragment around if that screen will be navigated often? Sep 09 20:29:31 parco basically something like https://guides.codepath.com/android/Fragment-Navigation-Drawer Sep 09 20:29:55 almost like a ViewPager, but vertical :) Sep 09 20:30:04 parco cache ... is the framelayout that always keeps the fragment Sep 09 20:31:02 Interesting, ok thanks Sep 09 20:31:11 Hello guys Sep 09 20:31:18 I'm having an issue with animations Sep 09 20:31:24 I'm using the following attribute android:animateLayoutChanges="true" Sep 09 20:31:33 so that it sets the animation automatically Sep 09 20:31:53 I'm setting a textview like gone Sep 09 20:31:56 and then visible Sep 09 20:32:15 but when it becomes visible the imageview in my android screen goes below my app bar Sep 09 20:32:41 gone means it won’t be included in the layout hierarchy Sep 09 20:32:45 parco http://pastebin.com/A3Ey07u5 Sep 09 20:32:50 what you want is probably invisible Sep 09 20:32:51 thats from google keep's main layout Sep 09 20:32:57 ok let me check Sep 09 20:36:01 No Sep 09 20:36:06 What I need its gone Sep 09 20:36:20 But I mean the animation is currently showing Sep 09 20:36:25 but it impacts the layout in my screen Sep 09 20:36:38 the imageview gets beneath the app bar Sep 09 20:36:49 you’ll have to post your layout, then Sep 09 20:36:51 Maybe because It's a coordinator layout Sep 09 20:37:45 which one? Sep 09 20:37:51 the content_main or the activity_main? Sep 09 20:37:53 the one you’re having problems with? Sep 09 20:38:15 your textview sounds like it’s above the imageview? Sep 09 20:38:23 does that have a top margin/padding set? Sep 09 20:38:24 No no Sep 09 20:38:29 I have a textview below the image Sep 09 20:38:50 the image is above the textview Sep 09 20:39:02 and when I tap to make the textview visible Sep 09 20:39:09 the animation pushes the image Sep 09 20:39:14 or the text Sep 09 20:39:24 actually the text with the animation pushes the image Sep 09 20:39:37 the image doesn't remain static in its position Sep 09 20:39:45 whats your root layout Sep 09 20:40:23 in content_main it's a scrollview Sep 09 20:40:56 you need a layout where you can order elements on the z axis so they dont push each other Sep 09 20:41:17 Like which one? Sep 09 20:41:40 Well FrameLayout does that, but ScrollView is a subclass of FrameLayout..idk just try several Sep 09 20:41:59 I mean content_main it's included in a coordinatorlayout Sep 09 20:42:11 so the root of everything is a coordinator layout Sep 09 20:43:31 g00s: and you think they're literally GONE and VISIBLE to the inner framelayouts? Sep 09 20:45:06 I think the issue might be the coordinator layout Sep 09 20:45:16 I think the coordinator layout has some elevation Sep 09 20:45:27 and that's why the content gets below the app bar Sep 09 20:46:04 is it supposed to be drawn on top of the app bar? Sep 09 20:46:17 s73v3r: who is that directed to Sep 09 20:46:45 No Sep 09 20:47:12 It's supposed to stay there :/ Sep 09 20:49:23 g00s: i wonder how they are instantiated them with Fragments, are they creating and inflating them only when needed... Sep 09 20:50:00 parco its been a few months since i looked at it, pull the apk and look through BrowseActivity Sep 09 20:50:31 personally i'd go with the codepath route, one framelayout Sep 09 20:51:29 I'm using linear layout now Sep 09 21:10:01 s73v3r: Sep 09 21:15:48 g00s: https://cdn.meme.am/instances/500x/71616693.jpg Sep 09 21:16:21 parco grab apktool + cfr 0.118 Sep 09 21:17:58 g00s: "Pentagon Purchases 500.000 Samsung Galaxy Note 7 Smartphones To Fight ISIS. Northrop Grumman to buy Samsung" I can't imagine better publicity Sep 09 21:20:09 parco and https://github.com/google/enjarify Sep 09 21:21:22 * parco puts on his black hat Sep 09 21:22:21 parco grab your hazmat suit also Sep 09 21:22:53 parco: the dry-cleaning service has your black hat Sep 09 21:22:54 already wearing it since i was working with fragments today Sep 09 21:30:08 I found something that runs much faster on Android Emulator than on Genymotion Sep 09 21:35:25 the wtf/min? Sep 09 21:38:22 adq: what's "wtf/min"? Sep 09 21:42:27 the amount of times you say “WTF?” per minute while looking at someone else’s code Sep 09 21:42:28 A measurement of code quality Sep 09 21:42:32 ^ Sep 09 21:44:52 I don't know. I just added 4 ImageViews displaying VectorDrawables and Genymotion became very slow. Android Emulator is faster. Usually it's the other way around Sep 09 21:45:28 I doubt that dropped the quality of my code Sep 09 21:45:44 and wtf/min would make also Android Emulator go slow Sep 09 21:46:31 maybe Genymotion isn’t using the graphics accelerator on your computer Sep 09 21:49:41 Genymotion might still use the appcompat vector rendering Sep 09 21:49:47 Which is fully CPU based Sep 09 21:49:54 Hello guys, I want to make an app which gets its data from a live website (not exists yet). So decided to use Wordpress and fetch the data via REST JSON API which would be available through this Wordpress plugin: http://goo.gl/7Qfccc But I'm wondering how to integrate users' info and preserve ACL (access control list) for authorized access to some app's data as will be on the Wordpress site. Using Parse API sounds promising, but I have no ide Sep 09 22:14:41 The "Design" preview is all wrong Sep 09 22:15:44 it usually is Sep 09 23:01:34 Hello, folks! I need to run Android on PC (as a virtual system or emulator, not main system). So my OS must be Windows for best solutions? Sep 09 23:01:54 hells no Sep 09 23:02:16 windows is the last choice Sep 09 23:04:21 missingno, so what is the best for Linux then? Don't say genymotion or Android SDK. They fail on my computer Sep 09 23:05:17 missingno, i don't need it to code. I just need Android for trying apps Sep 09 23:07:06 hey, do any of you use a particular application or website for making design mockups? Sep 09 23:07:21 i'm aware of a few options (invision, sketch for OS X), but i'm not sure which to go with Sep 09 23:07:55 i'd typically just "mock up" a design by writing an app, but this particular gig i'm on is very specific that they want mockups before any development is done Sep 09 23:08:12 proto Sep 09 23:11:25 orbyt_: ah, cool, i'll take a look; thanks! Sep 09 23:11:52 the pricing isn't too crazy either Sep 09 23:27:31 haha, went to use a Navigation bar library and the sample app does not respond. Sheesh Sep 09 23:30:44 g00s: I just tried out Google Keep, I think they switched up the way they do it Sep 09 23:31:05 parco ok i may have to grab some fresh sources Sep 09 23:31:05 it looks like they delay after an item is selected and launch a whole new activity Sep 09 23:31:27 hm ... i have doubts Sep 09 23:31:57 that allows the Drawer to properly finish the animation, and also allows them to intents without some crazy switchboard Sep 09 23:32:11 to use intents* Sep 09 23:32:23 they do start new activities for a few things ... Sep 09 23:32:37 well, i guess i have to pull apk again to look at whats new Sep 09 23:32:53 parco i'd just do it the codepath way Sep 09 23:33:08 I did notice a couple drawer items didn't seem to refresh the toolbar, so maybe you're right Sep 09 23:34:08 g00s: i'm not afraid of the code path, i've just already ran into problems with nested fragments Sep 09 23:34:55 not to mention housing an entire application under one activity kind of feels wrong with android, like an anti-pattern Sep 09 23:35:23 it gets difficult when using bottom nav, and you have to maintain a kind of task stack Sep 09 23:35:52 because thats global even for child views Sep 09 23:36:02 youch Sep 09 23:45:19 capella-5x: hi. Do you know that your name is a little... ehm... ambiguous... in Italian? Sep 09 23:47:32 just saying... Sep 09 23:48:36 small female goat iirc Sep 09 23:48:42 and, yes Sep 09 23:49:16 I prefer to point to the star in the constellation Aurigae Sep 09 23:49:57 no, it's not "small female goat" Sep 09 23:49:58 6deg decl iirc big one Sep 09 23:50:45 or 6mag I forgot Sep 09 23:51:03 what are you writing? Sep 09 23:51:31 trouble keeping up? Sep 09 23:52:55 capella-5x: Interesting enough its actually 4 stars Sep 09 23:53:22 I want to implement a computer in conways game of life and jump to the 99999999999999999999999999999999 th iteration. Supercomputer. That's the idea. Sep 09 23:53:23 yes very nice Sep 09 23:54:03 orbyt_ cool that's hard to learn Sep 09 23:54:33 what does "6deg decl iirc big one" mean? Sep 09 23:54:47 though I've dragged us off topic on a weekend 🙂 Sep 09 23:55:34 t was trying to quantify it's size based on suspect knowledge Sep 09 23:55:56 pfffffft: drunk much? Sep 09 23:56:33 aaaaaand now i've just realized things like Mortar exist. Down the rabbit hole i go! Sep 09 23:57:08 he needs an adiabatic quantum computer... they're the best Sep 09 23:59:26 "in May 2013, Google purchased a D-Wave Two with 512 qubits" Sep 09 23:59:50 D-wave isn't a quantum computer Sep 10 00:00:25 "Tests performed by researchers at [...] Google show that as of now, there is no evidence of a quantum advantage [over a classical processor]." Sep 10 00:01:01 "D-Wave Systems [...] describes it as doing quantum annealing" Sep 10 00:04:37 Umesh Vazirani: "D-Wave's "quantum computer" even if it turns out to be a true quantum computer, and even if it can be scaled to thousands of qubits, would likely not be more powerful than a cell phone." Sep 10 00:05:49 "In March 2013 several groups of researchers at the Adiabatic Quantum Computing workshop at the Institute of Physics in London produced evidence, though only indirect, of quantum entanglement in the D-Wave chips" Sep 10 00:06:06 So it's quantum computer smartphone without a touch sensitive display Sep 10 00:06:12 pfffffft: you can make it! Sep 10 00:19:17 pfffffft: "I want to implement a computer in conways game of life and jump to the 99999999999999999999999999999999 th iteration. Supercomputer. That's the idea." Can I print this and hang it on the wall? Sep 10 00:19:35 lol sure Sep 10 00:21:10 Repeated: Hello guys, I want to make an app which gets its data from a live website (not exists yet). So decided to use Wordpress and fetch the data via REST JSON API which would be available through this Wordpress plugin: http://goo.gl/7Qfccc But I'm wondering how to integrate users' info and preserve ACL (access control list) for authorized access to some app's data as will be on the Wordpress site. Using Parse API sounds promising, but I Sep 10 00:22:34 BeauJacques_: your text was truncated Sep 10 00:25:12 Arancio: Thanks, Here's my question [which is not shown publicly on Android development community :( ] : https://plus.google.com/u/0/102665713722499873345/posts/ECeRsQVxx2b Sep 10 00:26:49 BeauJacques_: you may also want to rephrase its essence or ask it from another angle. It's unlikely that I can help but somebody else could. Sep 10 00:27:41 quantum entanglement... fancy talk for a paired system... not sure of the inherent value beyond that Sep 10 00:28:19 paired system that works at any distance? Sep 10 00:28:27 Communication for starters Sep 10 00:29:54 we do that already... what exactly do you pair? we xan do polarition communication Sep 10 00:30:06 already Sep 10 00:30:07 "instant" communication Sep 10 00:30:20 haha haha Sep 10 00:30:46 but we agree on the goal Sep 10 00:31:31 Arancio: I appreciate your attention. But I don't know what's wrong with its phrasing. I'll try to re post my question here later on. After all do you know any way to contact admins of Android-dev community on G+ to show my question? Sep 10 00:31:33 polariton times out suboptic wavelength Sep 10 00:33:18 BeauJacques_: there is nothing wrong per se. People may understand better what's the core of your issue if you use other words. It's a chance. Or maybe no one knows about your problem. Sep 10 00:34:52 Arancio: yes, you're right Sep 10 00:44:55 BeauJacques_: ask your question Sep 10 00:46:35 orbyt_: apparently it will be truncated here due to text length. so here it is: https://plus.google.com/u/0/102665713722499873345/posts/ECeRsQVxx2b Sep 10 00:46:50 orbyt_: Thank you Sep 10 00:47:02 BeauJacques_: you can paste it in two lines Sep 10 00:47:31 Arancio: Sure Sep 10 00:48:23 I want to make an app which gets its data from a live website (not exists yet). So decided to use Wordpress and fetch the data via REST JSON API which would be available through this Wordpress plugin: http://goo.gl/7Qfccc But I'm wondering how to integrate users' info and preserve ACL (access control list) ... Sep 10 00:48:29 BeauJacques_: Dont use Parse, it's closing Sep 10 00:48:31 ...for authorized access to some app's data as will be on the Wordpress site. Using Parse API sounds promising, but I have no idea if it's possible to handle only user section by Parse and integrate it with Wordpress' content and ACL system. Or even I could Parse alone as the whole solution. Thanks Sep 10 00:48:45 Take a look at Firebase for user auth on both your app and website Sep 10 00:50:31 orbyt_: Since Parse released it's source and I got used to it, found this site: back4app.com which does the job Sep 10 00:51:24 I wouldnt recommend using something that is not going to be supported. Firebase is owned by Google Sep 10 00:52:42 orbyt_: However I have no idea how to integrate external services like Firebase or Parse with Wordpress data to manage controlled access to website's article etc Sep 10 00:53:17 If it was just possible to do with wordpress DB alone ... Sep 10 01:13:58 lol debate over line numbers in AS Sep 10 01:14:43 * g00s has line numbers on Sep 10 01:15:24 i had them turned off, but there was some error, maybe in logcat, where i had to navigate back to the file and eyeball it Sep 10 01:15:54 oh cmd-l Sep 10 01:31:59 A document can be anything like an image, a text file, a mp3 file, or a pdf. Is that correct? Sep 10 01:46:01 hey TacticalJoke ! Sep 10 01:46:12 Hey, g00s! Sep 10 01:46:32 i keep wondering if your reddit client is on Play ... Sep 10 01:46:40 how are you doing ? Sep 10 01:46:47 Not yet. :S Sep 10 01:46:52 (because if it is, you beat me :D ) Sep 10 01:46:59 I'm pretty good. haha Sep 10 01:47:00 lol there is still a chance then ... Sep 10 01:47:06 How 'bout you? Sep 10 01:47:23 You'll probably win. Sep 10 01:47:26 i'm distracted with other things, put mobile down for a while Sep 10 01:47:39 now i'm starting to forget everything it seems Sep 10 01:47:47 which ... could be a good thing Sep 10 01:48:02 There are things more important than Android development?! Sep 10 01:48:54 TacticalJoke so have you started using Kotlin yet ? Sep 10 01:48:55 :D Sep 10 01:48:56 :D Sep 10 01:50:36 * g00s suspects TacticalJoke is regretting this already Sep 10 01:50:45 I haven't. Now that I'm out of contract, I can admit that JetBrains paid me to promote Kotlin here and elsewhere. Sep 10 01:50:47 Just kidding; I don't know why I haven't yet. Sep 10 01:51:12 reading /r/androiddev sounds like they are pating zac taccardi now lol Sep 10 01:51:18 *paying Sep 10 01:51:21 Has everyone switched to Kotlin by now? Sep 10 01:51:54 https://www.reddit.com/r/androiddev/comments/51xpmp/just_starting_using_kotlin/ Sep 10 01:52:27 i have to downvote this crap, use it if you want - stop trying to sell me on it Sep 10 01:52:27 He did criticize it in Part 2, though. :D Sep 10 01:53:05 I agree with the SAM criticism and the const thing. Sep 10 01:53:56 But we might be subject to eternal Hellfire if we stick with Java. Sep 10 01:54:25 Repent! Sep 10 01:54:29 no ! Sep 10 01:55:47 atm i see kotlin:android::ruby:ror Sep 10 01:56:11 Hard to believe that 'hellfire' doesn't have a capital aitch. Sep 10 01:56:30 Also hard to believe that 'aitch' is a word. Sep 10 01:57:08 So are you ever gonna release, g00s? Sep 10 01:57:46 at this rate, probably not Sep 10 01:58:03 maybe i should just start rewriting everything in dart so that when fucshia is released i'm ready Sep 10 01:58:14 10 years from now :) Sep 10 01:58:50 Dart = Dalvik Android Run Time. ;o Sep 10 02:00:50 I'm sad that the Mercurial overlord has left. Sep 10 02:01:01 oh yes, i remember that Sep 10 02:01:42 Though sadder that we're still talking Git in September 2016. Sep 10 02:02:34 * g00s updates git to 2.10.0 Sep 10 02:03:02 CS = become a slave of the market, unless you're in academia Sep 10 02:03:06 I goto a Moto G4, g00s. Really like it. Sep 10 02:03:21 CS = certified slave? Sep 10 02:03:23 it's all about implementing stuff. Sep 10 02:03:23 TacticalJoke maybe we'll see google + fb collaboration take hg to the next level Sep 10 02:03:27 TacticalJoke: indeed Sep 10 02:03:47 TacticalJoke what is the morale like on the project ? Sep 10 02:03:59 facilitating peoples work with computers, that's all there is. You're not making tomorrows AI Sep 10 02:04:13 g00s: To be honest (and it hurts to say this), I hope they both die. Sep 10 02:04:42 I think the morale is good, but I'm a bit out of touch. Sep 10 02:05:25 but computers weren't the same 10 years ago so we're always moving forward I guess Sep 10 02:05:52 seems backward Sep 10 02:06:38 I guess programming is generally less painful today. If that makes any difference. Sep 10 02:07:06 good evening :) Sep 10 02:07:08 Not as unpainful as it shoul be on average, though. Sep 10 02:07:13 should* Sep 10 02:07:22 * g00s gives TacticalJoke some C++ Sep 10 02:08:23 I'm still in therapy over C++. What you just did is cruel and possibly illegal. Sep 10 02:08:53 TacticalJoke does your therapist handle android survivors ? Sep 10 02:09:09 android is fatal in 100% of infections, sorry Sep 10 02:09:11 Joking aside, I think the law should step. Look at the misery PHP creates. Sep 10 02:09:38 isn't android like php of the mobile world though ? Sep 10 02:09:44 haven't seen you in a while, TacticalJoke Sep 10 02:09:50 how's it going? Sep 10 02:09:52 I think Android is too new for scientists to understand the long-term harm. :s Sep 10 02:10:01 step in* Sep 10 02:10:14 sure there is some lateral gene transfer from PHP / android Sep 10 02:10:26 drinfernoo: Hay. Not too bad. How 'bout chu? Sep 10 02:11:04 doing good, just trying to get back in the swing of coding after, you know, not lol Sep 10 02:11:25 Oh yeah, Android has some of the PHP 'goodness'. Sep 10 02:12:03 Has everyone recently come out of retirement? Sep 10 02:13:03 i think so Sep 10 02:13:47 I've seen you commenting on Reddit, drinfernoo. I'm always like "Hey, it's drinfernoo from #android-dev". Sep 10 02:14:25 lol indeed, drinfernoo from /r/androiddev too Sep 10 02:14:36 I've been drinfernoo for a long time Sep 10 02:16:03 Shout outs to g00s and JW, who've also been spotted in the wild. Sep 10 02:16:21 ive been trying to build a custom ViewPager-based, wizard-style form library, sort of like https://github.com/romannurik/Android-WizardPager Sep 10 02:16:27 and im going nuts lol Sep 10 02:16:35 i spotted JW today as well lol Sep 10 02:17:04 ┬┴┬┴┤ ͜ʖ ͡°) ├┬┴┬┴ Sep 10 02:18:01 lol good one Sep 10 02:18:07 TacticalJoke: why does everybody like you? What's your secret? Sep 10 02:20:08 He drinks dos equis Sep 10 02:20:33 the most interesting "android dev" in the world Sep 10 02:20:36 g00s and others are just my alt accounts. Sep 10 02:21:04 like pfn and pifon, pretty sure theyre the same Sep 10 02:21:48 i just recently found out of /r/android-dev, i liked the post "lets play a game, name your dagger scopes" Sep 10 02:22:47 i'm missing words, its getting late Sep 10 02:23:21 "Dagger scopes" sounds like something you'd read on /r/gaming. Sep 10 02:24:33 TacticalJoke: oh DI is no game, let me tell ya Sep 10 02:25:03 i have self identity issues after a view hours working with it Sep 10 02:25:09 few*! Sep 10 02:25:50 model - few - presenter, its a new pattern Sep 10 02:26:18 Few models; few problems. Sep 10 02:26:18 mfp, i like it Sep 10 02:28:06 hey drinfernoo, TacticalJoke, parco Sep 10 02:28:08 I don't understand what's the sense of making a SVG library that can only read SVG and draw it on a raster image without possibility for any kind of manipulation Sep 10 02:28:09 hey orbyt_ Sep 10 02:28:13 hey Napalm! Sep 10 02:28:17 Napalm: hey there ! Sep 10 02:28:18 hows everyone doing tonight? Sep 10 02:28:24 hey Napalm, good Sep 10 02:28:34 Napalm in the building. Sep 10 02:28:35 Hey Napalm ̿̿ ̿̿ ̿̿ ̿'̿'\̵͇̿̿\з= ( ▀ ͜͞ʖ▀) =ε/̵͇̿̿/’̿’̿ ̿ ̿̿ ̿̿ ̿̿ Sep 10 02:28:37 drinfernoo: i might have something for you Sep 10 02:28:46 hit me Sep 10 02:29:19 Napalm: I'm gonna be on the BBC. Housing Enforcers. Sep 10 02:29:33 ? Sep 10 02:29:59 https://plus.google.com/collection/YTXRI < Geekscapes are soo cool Sep 10 02:30:50 those are awesome, was that the thing? Sep 10 02:31:35 My road is quite nice, but I have dreadful neighbours. They keep me awake at night. The TL;DR is that the BBC interviewed me about it (probably because they're desperate for footage). Sep 10 02:32:27 TacticalJoke is it an AirBnB ? Sep 10 02:33:00 drinfernoo: no, i saw a wizard interface library for viewpager that did multiple branching and all sorts. Sep 10 02:33:02 hopefully Housing Enforcers is just like https://www.youtube.com/watch?v=V8yKL6obA5U Sep 10 02:33:26 g00s: Nah, it's a private flat. Sep 10 02:33:58 myke: Oh, I would love that. Sep 10 02:34:04 TacticalJoke what version of AS are you using ? Sep 10 02:34:10 (this should be like a time capsule) Sep 10 02:34:14 2.1.3 Sep 10 02:34:21 oh my , up to date ! Sep 10 02:34:38 #tired_of_all_the_beta_drama Sep 10 02:34:58 TacticalJoke what you don't want to be google QA ? Sep 10 02:35:13 or what do they call it "try it and give us feedback" lol Sep 10 02:35:18 :D Sep 10 02:35:31 "we're looking for feedback" --> tell us if it works Sep 10 02:35:42 Their issue tracker is arbitrary /r/androiddev posts. Sep 10 02:36:31 TacticalJoke i still see jackhexen ! Sep 10 02:36:49 love it when he comes out of the woodwork for a zinger Sep 10 02:37:00 I wish he'd come in here. I want to psychoanalyze him. Sep 10 02:37:07 lol Sep 10 02:37:29 TacticalJoke the FAB is still kinda broken :P Sep 10 02:37:44 24.2.0 broke view anchoring in CoordinatorLayout for nested views Sep 10 02:38:44 of course it did lol Sep 10 02:38:48 capella-5x i managed to use FF straight for 1 week without shooting myself in the head Sep 10 02:39:00 split process is working a ok Sep 10 02:39:08 My UI is so simple. I have avoided those horrors so far. Sep 10 02:39:11 Napalm, got a link? Sep 10 02:39:15 drinfernoo: i follow this group on G+ called "Android projects on Github" and I thought I saw it come up there, although I've looked though and cant find it. https://plus.google.com/u/0/communities/100609058582053363304/ Sep 10 02:39:23 whoa that was quick Sep 10 02:40:03 g00s: "those people" Sep 10 02:40:31 I have to option Sep 10 02:40:39 I have two options Sep 10 02:40:44 drinfernoo: I was already typing a reply Sep 10 02:41:03 g00s: Are you interested in Jack? Sep 10 02:41:15 1) keep the s**tty code that I have, stuffed with workarounds Sep 10 02:41:22 For some reason, I find it interesting. Sep 10 02:41:26 2) rewrite the third party SVG library Sep 10 02:41:30 TacticalJoke clarify, jack meaning jack / jill ? Sep 10 02:41:31 What will I do? Sep 10 02:41:40 g00s: Yeah. Sep 10 02:41:53 well i was wondering whats taking google so long there ... Sep 10 02:42:19 Arancio: NIH syndrome crew checking in. And recruiting. Sep 10 02:42:20 someone over there just reported a bug I could have predicted Sep 10 02:42:30 Napalm, is it a recent library? Sep 10 02:42:34 TacticalJoke its still beta, so i haven't tried it Sep 10 02:42:42 Arancio: what you doing? Sep 10 02:42:49 drinfernoo: yes Sep 10 02:42:58 Napalm :) Sep 10 02:43:12 i remember seeing it and thinking, ah that would be perfect for that dude on irc Sep 10 02:43:13 lol Sep 10 02:43:28 I'm making an "image map" based on SVG files. An human body where you can tap to select single parts Sep 10 02:43:33 drinfernoo wut are you looking for ? Sep 10 02:43:54 g00s, Napalm said he found a nice wizard library i should look ay Sep 10 02:43:56 at Sep 10 02:44:15 oh, wizard library... there are a few Sep 10 02:44:33 the thing i havent found in any of the ones ive looked at is a simple way to actually get the data back from the wizard Sep 10 02:44:55 I put on my robe and wizard library. Wait, what. Sep 10 02:45:53 the one im building is meant to be, ideally, a simple fluent api, mostly builder-style methods, that is easy to setup, very customizable, and also easy to get the values back Sep 10 02:45:59 TacticalJoke: it's not NIH syndrome. I have to parse an XML file inside onMeasure()! :D Sep 10 02:46:13 This code is a joke Sep 10 02:46:25 The library is not meant to be used as I'm doing Sep 10 02:47:19 Arancio: why are you doing this? Sep 10 02:47:27 at this point, im having it start an activity, and it uses custom viewpager, sets it all up for you, etc... and passes the values through a callback to your original fragment/activity/view/whathaveyou Sep 10 02:47:43 Inside View.onMeasure? :S Sep 10 02:48:01 Napalm: why I'm doing the "SVG map" or why am I parsing an XML file inside View.onMeasure()? Sep 10 02:48:23 Arancio: i mean the onMeasure thing.. but also in general what do you mean "SVG map"? Sep 10 02:49:21 The library reads the SVG file and draws it in one pass. If you need to know any information you can't do anything but that anyway. It's stupid. That's why I think I should rewrite the library. Sep 10 02:49:58 Napalm: I need a representation of a human body where I can select single body parts tapping on them Sep 10 02:50:05 Arancio: what i mean is, is this so you can draw a complex SVG file and pan around and zoom in on it or something? Sep 10 02:50:24 ok, im with you. Sep 10 02:50:30 so whats the problem? Sep 10 02:51:25 you give Id's to your paths.. put your svg file though an xml parser and then create a HashMap of ID to Path Sep 10 02:52:03 yes, plus I have to scale them, draw them and hit test them Sep 10 02:52:07 no Sep 10 02:52:15 well not exactly Sep 10 02:52:20 I've done all this before Sep 10 02:52:31 how do you detect clicks? Sep 10 02:52:38 onTouchEvent ? Sep 10 02:52:39 lol Sep 10 02:52:54 how do you detect which part has been clicked, I mean Sep 10 02:52:56 you mean, how did I do it nicely Sep 10 02:53:16 I attempted other strategies but they failed Sep 10 02:53:33 visual transparency is not hit transparency on Android Sep 10 02:53:44 so I could not layer partial images Sep 10 02:56:14 TacticalJoke, would you mind putting some fresh eyes on this for me? https://github.com/drinfernoo/Gandalf/blob/values/library/src/main/java/gandalf/blango/com/gandalf/view/GandalfViewPager.java Sep 10 02:57:17 the methods in question are updateForwardBranches() and updateBackwardBranches(), which are meant to add and remove, respectively, pages from my adapter, based on whether the choice indicated needs to add a "branch" in the wizard flow Sep 10 02:58:01 feel free to ask for clarification or whatever, i can elaborate, but we may want to go into pm lol **** ENDING LOGGING AT Sat Sep 10 02:59:58 2016