**** BEGIN LOGGING AT Fri Dec 11 02:59:58 2015 Dec 11 03:00:41 the first thing I do to a new mac is set the wallpaper to the default blue one Dec 11 03:01:44 * alex_PP now wants a 4k monitor Dec 11 03:02:02 alex_PP 5k is the new thing ! Dec 11 03:02:40 ron_frown be fun running seeing an android app running on that monitor :D Dec 11 03:02:56 ehh Dec 11 03:03:10 500dp padding between list items Dec 11 03:03:12 you gotta have some serious video card bandwidth to be able to run 4k Dec 11 03:03:31 I can run that 4k, my 4k on my laptop and a 27" hd Dec 11 03:03:32 g00s, I'm not greedy Dec 11 03:03:46 works surprisingly well Dec 11 03:03:57 ron_frown you realize that there are phones with 4K screens right? just much higher dpi Dec 11 03:04:08 I think my phone has that Dec 11 03:04:18 Which phone? Dec 11 03:04:21 high dpi but still ultimately not that large Dec 11 03:04:27 I have a note5 Dec 11 03:04:34 Wanna try my app on it? I wonder Dec 11 03:04:38 I'm really hoping marshmallow saves android for me Dec 11 03:04:40 what is your app Dec 11 03:04:48 Its not published just yet Dec 11 03:04:49 Xperia Z5 Premium is 4k seems Dec 11 03:04:56 g00s, only sometimes Dec 11 03:04:57 hmm Dec 11 03:05:02 I can send you apk ron_frown Dec 11 03:05:05 I can have 4k monitor Dec 11 03:05:07 but why g00s Dec 11 03:05:08 shit Dec 11 03:05:10 but i dont think my pc will handle it Dec 11 03:05:13 can it ? Dec 11 03:05:16 I'm not going to just go installing shit willy nilly Dec 11 03:05:19 not on androdi Dec 11 03:05:21 also, good 4k monitor is expensive Dec 11 03:05:22 No prob ron_frown Dec 11 03:05:30 i it was on the appstore and what not Dec 11 03:05:34 I'd be more inclined to try it Dec 11 03:05:42 Yeah, I understand completely man, no worries Dec 11 03:05:46 "The phone will be the first to have a 5.5-inch 4K display, according to The Verge. It's likely to be released in November. The pixel density on the upcoming Xperia Z5 Premium will be 806 ppi." Dec 11 03:05:50 806 ppi?!?!? Dec 11 03:05:53 Actually it kinda is ron_frown its in alpha Dec 11 03:06:03 overkill Dec 11 03:06:04 But the link is broken like 90% of the time so im not even going to attempt Dec 11 03:06:07 alex_PP: it doesnt make sense Dec 11 03:06:10 except for cardboard Dec 11 03:06:16 then it's perfect Dec 11 03:06:16 hmm Dec 11 03:06:21 The Xperia Z5 uses the 4K mode only in Videos/Photos and Camera, nowhere else. it downsizes to 2k or 1080p everywhere else Dec 11 03:06:26 I used cardboard once Dec 11 03:06:31 dont know why it's so 'cool' Dec 11 03:06:34 Crystal clear detail. 5.7" Quad HD Super AMOLED display. Dec 11 03:06:40 thats all they say about note5 Dec 11 03:06:50 I dont know what quad hd super amoled means Dec 11 03:06:50 4k? Dec 11 03:07:02 it means that it's super Dec 11 03:07:21 (quad hd is 4k) Dec 11 03:07:28 drose379: Can't you do a public beta on Google Play? Dec 11 03:07:41 by area, maybe they mean by width? Dec 11 03:07:47 so 16k? Dec 11 03:08:06 btw, intellij new branding Dec 11 03:08:17 ron_frown, note 5 is 1440 x 2560 pixels Dec 11 03:08:36 Yeah, its all broken TacticalJoke Dec 11 03:08:55 What's broken? Dec 11 03:09:01 gordon_: Wow, neat: http://blog.jetbrains.com/idea/2015/12/intellij-idea-15-0-2-is-available/?platform=hootsuite Dec 11 03:09:13 TacticalJoke, whoever I give the link to says its dead Dec 11 03:09:13 yep Dec 11 03:09:23 So I've just been sending people the release apk Dec 11 03:09:27 wonder if intellij will move to javafx one day Dec 11 03:09:41 Okay, this is a better link: http://blog.jetbrains.com/blog/2015/12/10/the-drive-to-develop/ Dec 11 03:11:09 drose379: Are you sure they're not trying to get out of testing? :D Dec 11 03:11:21 Lol Dec 11 03:11:22 No, im not Dec 11 03:11:24 :D Dec 11 03:11:41 why would they move to javafx Dec 11 03:11:58 oracle has pretty much abandoned Swing Dec 11 03:12:07 doesn't seem like they are even fixing bugs any more Dec 11 03:12:15 drose379: Are you wanting to post the link? Dec 11 03:13:05 what does oracle do in general these days? Dec 11 03:13:24 they try to compete with their database product Dec 11 03:13:25 A lot of money Dec 11 03:13:27 I would love to TacticalJoke but its a dead link Dec 11 03:13:40 TacticalJoke, if you have the time to test I will gladly send you the apk Dec 11 03:13:49 http://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html#6 Dec 11 03:13:52 they do nothing new, i don't see what their future is Dec 11 03:13:56 "foreseeable future" Dec 11 03:14:23 pfn: because swing is not supported Dec 11 03:14:23 CedricBeust lol you mean extort money Dec 11 03:14:24 Are you sure it's dead? Dec 11 03:14:49 kommunicate they build the first multi tennant database a year or two ago Dec 11 03:14:55 HAHAHAHA Dec 11 03:15:05 cept every other database thats been doing it for.... at least 10yr? Dec 11 03:15:11 TacticalJoke, yeah I've been messing with it for a few days Dec 11 03:15:19 also javafx has support for opengl and stuff Dec 11 03:15:55 I think oracle is strong with the blackmail and bullying Dec 11 03:16:01 so they arent going anywhere Dec 11 03:16:14 gordon_ javaFX didn't really take off, but i think thats more because java has failed client side Dec 11 03:17:34 nobody says it took off ;) Dec 11 03:17:52 :D Dec 11 03:18:54 Maybe some other toolkit would be better Dec 11 03:19:01 like bindings for qt or something Dec 11 03:19:05 like anything Dec 11 03:19:10 or 3rd party library Dec 11 03:19:13 qt aint terrible Dec 11 03:19:22 but qt being consumed from java is kinda dumb Dec 11 03:19:22 qt is really nice I'd say Dec 11 03:19:37 qt is like basically a VARIANT of c++ for all intents and purposes Dec 11 03:19:46 true that Dec 11 03:19:52 but has bindings for many languages Dec 11 03:20:01 what I dont like is.. electron Dec 11 03:20:05 since it's slow Dec 11 03:21:36 I'd install new android emulators... but AS 2.0 is crashing ;) Dec 11 03:21:57 I like 'known bugs section" :D Dec 11 03:23:25 "Linux - segfault on exit in some conditions" Dec 11 03:23:26 :D Dec 11 03:23:45 I'm surprised Oracle is getting so much hatred from Java users. Oracle has been much better for Java than Sun ever was this past decade. Dec 11 03:24:02 you think? Dec 11 03:24:04 suing everyone ? Dec 11 03:24:15 I find oracle's custody of java much worse Dec 11 03:24:39 under sun, java got generics and it nearly got lambdas Dec 11 03:24:52 the first real release of java since oracle took ownership was java8 Dec 11 03:25:15 Under Sun, Java stopped evolving after Java 5 Dec 11 03:25:35 Oracle resumed publishing new JDK's every two years shortly after the acquisition Dec 11 03:25:42 OBviously, I'm not thrilled about the lawsuit Dec 11 03:26:10 heh, people still don't really understand generics to this day.... Dec 11 03:26:16 but at least, the Java section of Oracle has been doing a lot of good work these past years Dec 11 03:26:28 fixing lots of bugs Dec 11 03:26:57 and firing old java people Dec 11 03:27:02 pfn I concur Dec 11 03:27:05 Still doing some really good work even after Adam left Dec 11 03:27:13 but undertanding generics in java Dec 11 03:27:26 it's really not that difficult Dec 11 03:27:29 really cant blame em because type erasure... what in the actual fuck Dec 11 03:27:29 jigsaw should be here much earlier Dec 11 03:27:33 its not hard Dec 11 03:27:36 type erasure is good Dec 11 03:27:37 its just so dumb Dec 11 03:27:42 Erasure is great Dec 11 03:27:44 pfn first person I've heard say that Dec 11 03:27:50 apparently second Dec 11 03:27:52 type erasure prevents doing stupid shit that people want with reified types Dec 11 03:27:53 Not the first Dec 11 03:28:17 anyone who understand the problem behind generics and erasure can only come to the conclusion that erasure is way superior to reification Dec 11 03:28:47 ron_frown: Here: http://beust.com/weblog/2011/07/29/erasure-vs-reification/ Dec 11 03:28:53 you wont convince me Dec 11 03:29:00 but we can agree to disagree Dec 11 03:29:07 ron_frown: Well, at least try to educate yourself? Then we can talk. Dec 11 03:29:17 HAHAHA Dec 11 03:29:26 I disagree and I'm oviously just uneducated Dec 11 03:29:29 or dumb Dec 11 03:29:31 you are Dec 11 03:29:31 or wrong Dec 11 03:29:32 :p Dec 11 03:29:53 CedricBeust: have you done some web development in kotlin ? Dec 11 03:30:02 No just ignorant about the issue. Nothing wrong about that, we're all ignorant about lof of things. What's unforgivable is holding to opinions while refusing to learn about the parts we don't know. Dec 11 03:30:12 gordon_: No, haven't touched that part. Dec 11 03:30:19 thats a huge fucking assumption Dec 11 03:30:23 * pfn has been meaning to convert his browser extensions into scala.js Dec 11 03:30:39 ron_frown: Read my blog post above, then let's talk about it Dec 11 03:30:43 because of how .net handles generics... way way way way more powerful than javas Dec 11 03:30:54 nice Dec 11 03:30:57 a blog YOU wrote Dec 11 03:30:58 and .net has zero interop languages from outside sources. Even wondered why? Dec 11 03:31:00 presented as fact =) Dec 11 03:31:07 .net doesn't interop with anything Dec 11 03:31:15 Even scala.net gave up on .net, guess why... reification. Dec 11 03:31:25 also Dec 11 03:31:38 well, there are a few ironXXX ports of things, python, ruby, I think, I forget what else Dec 11 03:31:42 The scala.net people just couldn't come up with a way that Scala generics could work on .net, because of reification. Dec 11 03:31:45 scala exists because java is utter shit... that problem doesnt exist with c# Dec 11 03:31:58 scala is vastly superior to c# Dec 11 03:32:00 in otherwards Dec 11 03:32:03 who needs it Dec 11 03:32:04 Please no straw man ron_frown, they distract from the issue. Dec 11 03:32:46 Read my post, don't be a victim of the ad hominem fallacy. Judge it by its content, not who wrote it. Then let's talk. Dec 11 03:32:59 you've already judged me Dec 11 03:33:04 based on what I think Dec 11 03:33:05 Nope. Dec 11 03:33:10 I'm uneducated Dec 11 03:33:13 I'm ignorant Dec 11 03:33:17 I'm wrong Dec 11 03:33:20 Again, nothing wrong with being ignorant. Dec 11 03:33:38 I'm ignorant about a lot of things. Dec 11 03:33:39 What's wrong is being willfully ignorant. Dec 11 03:33:59 Being ignorant is not an insult, everyone is ignorant about 99% of things. Dec 11 03:35:25 hmmmm Dec 11 03:36:34 You want to tell me I'm ignorant about oyster biology? You'll be 100% right. I completely am. I'm not saying I'm proud or ashamed of it, it's just a fact I know nothing of it. Nothing wrong with that. Dec 11 03:36:51 You want my opinions about oyster biology? I'll tell you I have none, I know nothing about it. Dec 11 03:36:53 I'm not telling you taht Dec 11 03:37:03 I'm just illustrating my point about ignorance. Dec 11 03:37:12 I can tell you that you are apparently a presumptuous douchelord Dec 11 03:37:23 Emphasing "apparently". Dec 11 03:37:30 see Dec 11 03:37:32 even in insulting Dec 11 03:37:36 I dont know for sure Dec 11 03:37:44 sooo, I dont say it like its fact Dec 11 03:38:15 I wish I could downcast instead of having to use an abstract factory Dec 11 03:38:20 * barbs eats popcorn Dec 11 03:38:27 https://github.com/NikoYuwono/ToolbarPanel/blob/master/toolbar-panel/src/main/java/com/nikoyuwono/toolbarpanel/ToolbarPanelLayout.java Dec 11 03:38:34 is it just me, or is there no reason for that to extend RelativeLayout Dec 11 03:38:39 and i wish method pointers were a bit more like function pointers Dec 11 03:38:50 its a dumb argument anyway Dec 11 03:39:07 but, i really hate all the get / set you see EVERYWHERE in java Dec 11 03:39:20 i like the c# way of doing it a lot more Dec 11 03:39:28 pfn, margins? Dec 11 03:39:37 wait, relative Dec 11 03:39:38 eugh Dec 11 03:40:01 CedricBeust I didnt mean to personally attack you... but I do think it feels an aweful lot like java community likes to take what is a flaw in anyone elses book and treate it like its fantastic Dec 11 03:40:04 kommunicate, yes, java has lots of anachronisms Dec 11 03:40:07 by design and the best thing ever Dec 11 03:40:18 c# has issues with co/contravariance in generics Dec 11 03:40:19 type erasure is not a flaw in *anyone*'s book Dec 11 03:40:21 and type inference Dec 11 03:40:25 ron_frown: Not sure what you're referring to. Dec 11 03:40:40 I can admit c# is faulted there Dec 11 03:40:52 kommunicate: I like scala way ;) Dec 11 03:41:01 except for people who don't know better, and want to special-case for specific types Dec 11 03:41:10 it's ok, i'm not really that mad at you, java Dec 11 03:41:12 * kommunicate hugs java Dec 11 03:41:16 there is no reason you should treat T any differently if T is String or Object Dec 11 03:41:18 i could never stay mad at you Dec 11 03:41:53 the only flaw in type erasure is being unable to do certain things like generic array creation Dec 11 03:42:45 and if you need reified types, you can always reify for concrete types Dec 11 03:42:49 I highlight a lot of negatives to reification in my blog post but if I had to pick a #1, it would be the fact that once your program is compiled, erasure keeps you honest by not allowing you to do reflection stuff. Dec 11 03:43:25 e.g. creating StringTypeToken extends TypeToken Dec 11 03:43:37 and poof, you now know it's String Dec 11 03:43:37 Your compiler established a lot of good properties on your program by accepting to compile it. Use reification or reflection and you're second guessing it with unprovable results. Dec 11 03:44:31 oh, is idea 15.0.2 out only because of the rebranding? Dec 11 03:44:43 how did they rebrand it Dec 11 03:45:54 everyone should use php... and workpress and joomla etc Dec 11 03:46:14 its better because its easier to get into it if you happen to forget your server passwords or accidentally locked yoruself out of your machine Dec 11 03:46:27 because its super easy to hack Dec 11 03:46:45 "super easy to hack" It's not a bug, it's a feature! Dec 11 03:47:05 sure as fuck seems that way =) Dec 11 03:47:14 I've got a client that has rebuild servers countless times Dec 11 03:47:26 rebuildign with latest versions Dec 11 03:47:28 and weeks later Dec 11 03:47:29 hacked Dec 11 03:54:59 drose379's app looks professional as frack. Dec 11 03:57:46 Thanks TJ Dec 11 04:07:45 what is it Dec 11 04:08:04 ron_frown, Pet adoption application Dec 11 04:08:21 bitchin dude Dec 11 04:08:22 bitchin Dec 11 04:08:30 instant respect Dec 11 04:08:40 bitchin? Dec 11 04:08:49 Like bitching? But just bitchin Dec 11 04:08:59 like awesome Dec 11 04:09:03 Oh, I get it now Dec 11 04:09:08 Thanks! You should try it :) Dec 11 04:09:11 Its in beta stage Dec 11 04:14:02 Later guys Dec 11 04:18:36 phew! I thought new intellij update broken android support; nope, just requires latest android platform-tools Dec 11 04:31:00 hmm, drawerlayout uses 2 viewdraghelpers... Dec 11 04:31:04 maybe I should do the same Dec 11 04:41:02 pfn, why not 3 or even 4? Dec 11 04:41:05 more the merrier Dec 11 04:42:50 well, use as many as one has dragging views Dec 11 04:42:59 I'm using a single viewdraghelper for multiple views being dragged Dec 11 04:43:05 drawerlayout has 1 per view Dec 11 04:51:28 pfn: Mavrik: thank you guys for your help. got my arch problem figured out Dec 11 04:53:20 CedricBeust interesting that i found http://planet.jboss.org/post/three_arguments_for_reified_generics Dec 11 04:53:31 "Cedric recently brought up the topic of type erasure, concluding:" ... Dec 11 05:01:16 CedricBeust from what i've heard, if Java is going to get value types, generic reification is necessary Dec 11 05:01:42 beside your blog i generally haven't heard from many that type erasure is a good thing Dec 11 05:03:04 In my experience, it's the general position who have thought about it Dec 11 05:03:23 Most people who have a (wrong) opinion on this topic don't even know what TypeLiteral is Dec 11 05:03:32 which immediately excludes them from having an opinion on the subject Dec 11 05:19:04 CedricBeust: What about his point about overloading? I've run into that on the JVM, and it's annoying. Dec 11 05:19:43 Supporting reification just for overloading is a terrible solution to a trivial problem Dec 11 05:20:12 You're solving one tiny problem while creating hundreds of way, way worse problems Dec 11 05:20:26 It's not just for overloading -- there are lots of arguments in favour of type erasure. Dec 11 05:20:38 I'm just pointing that one out as being a real pain in some cases. Dec 11 05:21:12 I mean "in favour of reified generics". Dec 11 05:21:46 the main argument i hear for type erasure is language interop, but i dont hear anyone say yeah, my new language will have type erasure :P Dec 11 05:22:47 but i haven't studies this lately so maybe time to refamiliarize myself with the arguments Dec 11 05:22:48 Anecdotally, I can't say I've been botherd by this overloading problem much, if at all Dec 11 05:23:20 and the kind of code/library that I write makes me one of the few people who should be a fervent supporter of reification Dec 11 05:23:45 Do you think Java would've gone with type erasure if it had been new at the time? Dec 11 05:23:46 After carefully considering the pros and cons, I'm firmly convinced that erasure is the right position Dec 11 05:24:02 I wonder how big a factor existing code was. Dec 11 05:24:11 TacticalJoke: Probably not, but I would have made a mistake back then. I learned a lot since then. Dec 11 05:24:58 I used to think backward compatibility was the best justification. Now, I think the fact that erasure keeps you honest from a type system standpoint is the most important aspect of erasure. Dec 11 05:25:44 The compiler is handing you bytecodes that have some proven correct properties. Every time you use reflection or reification, you invalidate these promises and making your code more error prone. Dec 11 05:37:27 i'm looking at https://www.google.com/design/spec/layout/responsive-ui.html#responsive-ui-patterns Dec 11 05:37:35 "Tabbed sibling content is divided within the same view. Dec 11 05:38:06 is "tabbed sibling content", master = tab 1, detail = tab 2 ? Dec 11 05:38:38 i remember roman nurik said don't do that, but maybe navigation guidelines have changed Dec 11 05:45:30 marker in google map is not appearing.What may be the problem?link is http://hastebin.com/qekonopami.avrasm from line 155 to 168 Dec 11 05:45:41 anyone please help Dec 11 05:50:24 Hmm, I prefer the look of my app bar without elevation. I wonder whether I'll get lynched if I go against the material spec here. Dec 11 05:50:35 oh i can't say catch (ExceptionX | ExceptionY) unles minsdk=19 Dec 11 05:50:58 TacticalJoke yeah i generally dont' like shadows on anything really Dec 11 05:51:03 so windows 95 era Dec 11 05:51:16 cards too Dec 11 05:51:27 Yeah. Dec 11 05:52:11 and on a dark theme shadows are useless anyhow Dec 11 05:52:36 my dark card casts a shadow onto the other darkness! Dec 11 05:53:11 i remember I/O 2013 or 14, when they introduce Material, they were talking about the physics of light Dec 11 05:53:17 Hmm, I don't think Kotlin supports multiple exceptions in one catch block. Dec 11 05:53:21 i was like OMG, you HAVE to be Effing kidding me Dec 11 05:55:53 It all seems so hipster to me. Dec 11 05:56:26 hehe, to me it sounds like ... designers didn't do their homework, weren't familiar with arguments against that, etc Dec 11 05:56:33 all talked about many years ago Dec 11 05:56:37 :D Dec 11 05:56:54 in a galaxy far far away :D Dec 11 05:58:47 Alan Cooper called these 'Mechanical Age Metaphors' Dec 11 05:58:56 TacticalJoke: Yeah no multiple catches in Kotlin yet, post 1.0 Dec 11 05:59:29 g00s: The phenomenon of people repeating the mistakes from the past? Dec 11 05:59:34 CedricBeust: Ah, good. Dec 11 06:00:08 TacticalJoke an example of mechanical age metaphor, would be like the Windows 1 rolodex which looked like one Dec 11 06:00:35 paper reminds me of that, its something that exists in the real world, because we can't write on air Dec 11 06:00:53 but purely digital UIs don't need the idea of paper Dec 11 06:00:58 Ah, okay. Dec 11 06:01:15 (paper as in material) Dec 11 06:02:14 Hello, i see app [Firefox, Amaze, ES File Explorer] (android decide this?) give a intent to open a CSV file as mimeType="text/comma-seperated-values" instead of the IANA registered CSV file mimeType="text/csv" [used Intercept the Intent to see]. so, where is the best place to report this? Dec 11 06:03:02 does android follow the IANA definitions in general ? Dec 11 06:05:17 g00s, (says for case sensitive but nothing for IANA) https://developer.android.com/guide/topics/manifest/data-element.html#mime Dec 11 06:10:30 marker in google map is not appearing.What may be the problem?link is http://hastebin.com/qekonopami.avrasm from line 155 to 168 Dec 11 06:10:52 please help Dec 11 06:14:48 xruptronics: what that code does? Dec 11 06:15:13 it connects to 192.168.1.109:8082, what for? Dec 11 06:15:22 it gets latitude and longitude fro http request and show marker on map Dec 11 06:15:46 have you heard about static maps? Dec 11 06:16:06 squ,no? Dec 11 06:16:11 have a look? Dec 11 06:16:35 squ,but same code works else where. Dec 11 06:16:43 have fun Dec 11 06:18:06 TacticalJoke reading that AMA now ... Dec 11 06:18:09 "A lot of the negatives in the Pixel C reviews are related to the application/software side of things. How are you going to address/encourage more authors to make their apps compatible with tablets, not just a phone app on a tablet?" Dec 11 06:18:23 "GM: We're spending a lot of time working with developers to get better and more awesome tablet apps, but it is definitely a chicken-egg problem, and we think a key driver is awesome hardware (like the Pixel-C :)" Dec 11 06:18:32 nop, its not just the apps, its the PLATFORM Dec 11 06:18:39 * g00s headdesk Dec 11 06:18:54 wtf is pixelc Dec 11 06:19:03 squ not worth reading about Dec 11 06:19:16 g00s: I'm not a big redditer, but what's with the high-score deleted thread at the top of the page Dec 11 06:20:37 Leeds no idea. ... i got there too late to see what it was Dec 11 06:21:36 I want a pixel c Dec 11 06:22:14 apparently, what you want is a pixel c with android n Dec 11 06:23:04 pfn: why Dec 11 06:23:39 pixel c sounds like compiler Dec 11 06:23:44 c compiler Dec 11 06:23:54 why not Dec 11 06:24:00 it's a nice tablet Dec 11 06:25:33 i wonder if i replied to Google_PixelC_Team if they would still see it Dec 11 06:26:07 I think they've stopped taking questions now. Dec 11 06:26:45 i think Microsoft has sent a lightning bolt up Google / Apple behind with the surface Dec 11 06:37:21 hehe this is great http://i.imgur.com/iDVTstR.jpg Dec 11 06:37:39 multithread programming: theory vs practice" Dec 11 06:39:06 :) Dec 11 06:45:55 CedricBeust did you see this already http://openjdk.java.net/projects/mobile/ Dec 11 06:46:04 hello there people. i am using recyclerview as listview and inflating cardview and its items. here is the code of main xml file. if i comment the whole cardview then i can see the cards and all the methods of recyclerview's adapter are called but when i uncomment them than i cannot see any cards. here is the code http://paste.ubuntu.com/13892030/ Dec 11 06:46:22 http://openjdk.java.net/projects/mobile/android.html Dec 11 06:47:07 g00s: Why are they doing that? Dec 11 06:47:49 TacticalJoke i .. have no idea, i'm always hoping oracle + google work things out, the existing harmony shit gets burned in hell, and an official JRE is used Dec 11 06:48:02 hey guys, quick question is it possible to add IAP to an already published free app? Dec 11 06:48:11 maybe this is the start of a budding romance? no idea Dec 11 06:48:23 g00s: Where did you find the link? Dec 11 06:48:31 uh i forgot now Dec 11 07:05:12 @jareddlc yes you can add IAP. You just can't convert it to fully paid Dec 11 07:05:23 TacticalJoke maybe they are just tossing that out there, knowing devs are frustrated with java 6 - kinda like live bait "see , we have Java 9 right here and you can use it ... if google does X' Dec 11 07:06:07 otoh oracle has interest that java be cross platform across WP, android, ios regardless Dec 11 07:06:27 What's the best way to overlap a View? Basically, I want an ImageView to overlap the buttom of a CardView, similar to this image: https://i.imgur.com/x5QUQ0g.png Dec 11 07:06:45 I tried using a framelayout but the ImageView goes behind the CardView instead of in front Dec 11 07:07:05 liuwenhao perhaps ViewOverlay ? just throwing that out there Dec 11 07:07:28 liuwenhao: You can make the FrameLayout go in front of the CardView. Dec 11 07:08:53 Or, if they're both in the FrameLayout, make the ImageView go in front. Dec 11 07:09:20 that circular avatar has shadow Dec 11 07:09:28 other stuff doesn't have shadow Dec 11 07:09:35 ViewOverlay looks interesting. Dec 11 07:10:25 How TacticalJoke? I know FrameLayout adds in a stack from top to bottom. My ImageView is below the CardView in my FrameLayout but it's still drawing the ImageView behind it Dec 11 07:10:54 application is interesting Dec 11 07:11:00 it tracks friend movement Dec 11 07:11:22 If you define the ImageView after the CardView, the ImageView should appear on top. Dec 11 07:11:22 g00s: I will check out ViewOverlay if I can't get the FrameLayout to work the way I need it to Dec 11 07:11:39 Hold on, I'll paste my XML Dec 11 07:12:46 http://pastebin.com/rGRm0qx3 Dec 11 07:13:57 It's showing the ImageView behind the CardView. I would link a screenshot but I'm testing on device and not emulator atm Dec 11 07:15:29 maybe it's just a quirk of CardView Dec 11 07:16:51 eh, actionbar title can't have onClick listener Dec 11 07:17:06 Hmm, have you seen this? http://stackoverflow.com/questions/27411195/android-cardview-stays-above-textview Dec 11 07:17:30 "[I]f you are running on android L+ you need to set a higher elevation on the CardView than the TextView." Dec 11 07:18:01 And this: http://stackoverflow.com/questions/25045261/cardview-doesnt-respect-z-index-order-in-relative-layout Dec 11 07:19:27 Thanks TacticalJoke. Setting the elevation on the ImageView worked Dec 11 07:19:37 Didn't even cross my mind to do that Dec 11 07:20:27 I didn't realise elevation changed the z-order. Though I haven't messed with it much. Dec 11 07:20:29 I wonder if that fixes it for below API 21. Hopefully it does Dec 11 07:27:47 Hey guys. I am having an issue with ADB where it keeps on starting two emulators after a few seconds Dec 11 07:28:21 https://i.gyazo.com/5ecf006f83ad7d663c7421bb53e23efc.png Dec 11 07:28:45 adb kill-server gets rid of it shortly, but those two emulators appear after a few seconds Dec 11 07:31:18 That seems like a bad decision to me. We can already figure out z-order -- why do we need elevation to also mess with this. Dec 11 07:31:47 And I can't find any serious documentation about this on d.a.c. Dec 11 07:34:31 Yeah. It definitely seems like a weird decision Dec 11 07:34:54 Because I always thought elevation was only for casting a shadow, and didn't have any other use Dec 11 07:36:17 Yeah. If I have a toolbar with elevation, and a progress bar on top of that without elevation, the progress bar doesn't show. Seems weird to have to define elevation on the progress bar to avoid this. Dec 11 07:36:48 Although from what I'm seeing right now elevation doesn't always add a shadow. Can't figure out when it does and when it doesn't. Dec 11 07:40:21 card_view:elevation casts a shadow, but android:elevation doesn't Dec 11 07:40:25 I think? Dec 11 07:40:44 Because just adding the elevation to this ImageView doesn't cast a shadow. I have to use app:shadow="true" with this Circle ImageView library Dec 11 07:46:12 I'm testing right now -- if I have one object declared later in a FrameLayout and it has the same elevation as the object behind it, it's visible but there's no shadow. Dec 11 07:46:29 If it has a greater elevation, it gets a shadow. If a smaller elevation, the whole thing is invisible. Dec 11 07:47:19 There doesn't seem to be consistency there. As far as I can tell, 10dp elevation gives a "10dp-elevation shadow" as long as the object behind it has less elevation. If it has equal elevation, it gets no shadow at all. Dec 11 07:47:50 And it's not the case that adding 1 extra dp to the View-in-front's elevation gives it a 1dp shadow. Dec 11 07:48:58 Is there any sdk api hooksinto the cheorgrapher? Dec 11 07:54:06 liuwenhao: Can you fix it by setting 0dp elevation on the CardView? Dec 11 07:54:12 I haven't really used CardView seriously, but I'm curious. Dec 11 07:54:41 make sureif you are using padding to usecompat padding / compatpadding true Dec 11 07:54:46 Yeah, but then it gets rid of the shadow Dec 11 07:54:49 @tacticaljoke Dec 11 07:55:05 but if neither have elevation set it works fine Dec 11 07:56:02 I feel like if Google was going to bolt on Z axis to elevation they should have made two elements, one for shadow and one for Z axis Dec 11 07:56:18 Yeah. Dec 11 07:59:15 Hey guys Dec 11 08:01:40 What pattern should be i if want from string= thisismytest.INEEDTHIS.thisismytest get INEEDTHIS? I was trying with Pattern.compile("^(.*?[.].*?)[.].*") but its not doing ok Dec 11 08:25:07 Anyone know how wifi authentication works? Like when i goto the mall, and it says wifi available, with the notification that takes me directly to the "I agree to have all my data and future data and progeny forfeit to Disemboded Inc in the event I fail to sign out before leaving the mall" page? Dec 11 08:28:20 Hello! I’m using Android Stidio on mac os. Is it me or for some weird reason Android Studio also opens the contextual menu when I ctrl+click on a symbol? Dec 11 08:28:28 You mean like this lasserix_? http://www.hotspot-software.info/myhotspot/en/index.html Dec 11 08:29:01 Pretty sure it just intercepts the traffic and forces you to use their certificates? I'm not entirely sure Dec 11 08:29:38 but I could be wrong Dec 11 08:30:15 it's like a man in the middle attack except the middleman is your mall Dec 11 08:30:40 just the free wifi access part Dec 11 08:30:55 like i run a webserver, then how does the client know to goto that page? Dec 11 08:33:34 luc4: isn't ctrl-click the same as right click on osx? Dec 11 08:34:21 Darkwater: yes, but I see from intellij docs that ctrl+click is the way to follow symbols. Dec 11 08:34:33 Darkwater: why do they chose that combination? Dec 11 08:43:50 anyone played with the new emulator yet? Dec 11 08:49:07 why are first world societies still largely working on schedules that emerged in the 1700s? Dec 11 08:49:18 oh wait i know why nm Dec 11 08:49:22 excuse the digression Dec 11 08:52:54 what schedules Dec 11 08:53:41 9-5 Dec 11 08:53:44 anything like that Dec 11 08:53:47 9-5? Dec 11 08:53:56 which was based on early industrial revolution Dec 11 08:54:00 what Dec 11 08:54:52 yeah the 9AM-5PM time schedule is based on landless peasants working in factories in the rise of the industrial revolution in europe Dec 11 08:55:03 lol wut Dec 11 08:55:12 :) Dec 11 08:55:18 actually if you've ever been to a school in us / europe and heard the class bells, this is literally from those factories Dec 11 08:56:17 go straight to main point Dec 11 08:57:41 lasserix_: Dec 11 09:00:18 i would but what i would express is basically what marx wanted someone to say when the time is ripe, the time is not ripe. the blockchain is not yet widely adopted enough and if that's enough for you the fact scrum is the best we can do in terms of canonical development-procedure schemes just shows how far we have to go Dec 11 09:01:12 how much far? Dec 11 09:01:27 also, have you see the state of toys for cats? Ancient eygpt built monuments that dwarve typical homes in homage and honor to cats and the best we can do is a ----ing plastic tube with a ping pong ball. Yet cat memes are the number one rage. No wonder civilization is doomed. Dec 11 09:01:35 how much farther Dec 11 09:02:17 you dislike toys for cats? Dec 11 09:03:33 yeah Dec 11 09:03:36 the state of them? Dec 11 09:03:41 ---King horrendous Dec 11 09:03:51 have you played them yourself Dec 11 09:03:52 they are the most miserable, sadistic things that exist. Dec 11 09:03:59 i have a cat so yeah, i have Dec 11 09:04:05 is it fun? Dec 11 09:05:34 no cat toys suck. Dec 11 09:05:56 they are like basically invented in the year 1812 Dec 11 09:06:03 and have remained thus till today Dec 11 09:06:09 no Dec 11 09:06:32 why i cannot use cardview and recycler view in the same layout Dec 11 09:06:33 ? Dec 11 09:06:39 yes apart from those with LASERS Dec 11 09:06:41 s9iper1, you can Dec 11 09:06:54 google up for ancient toys Dec 11 09:07:23 lasserix_ i am using recyclerview as listview and inflating cardview and its items. here is the code of main xml file. if i comment the whole cardview then i can see the cards and all the methods of recyclerview's adapter are called but when i uncomment them than i cannot see any cards. here is the code http://paste.ubuntu.com/13892030/ Dec 11 09:09:32 "ancient cat toys" comes up with 4 results Dec 11 09:09:51 in this code there is cardview and below it there is recyclerview. i can see its inflated layout when i comment the cardview and its gone when i uncomment them and also the methods are not called such as oncreateViewHolder() all of its method. Dec 11 09:09:53 lasserix_, Dec 11 09:10:11 s9iper1, you need to look at a tutorial on recycler view Dec 11 09:10:17 you do not add views the way you have Dec 11 09:10:23 you add them via the adapter and viewholderbinder Dec 11 09:10:38 ok Dec 11 09:10:57 lasserix_: and? Dec 11 09:11:11 "These imposing statues, it is speculated, were thought by Foo to have insured that all remaining Siamese cats would be, by the time the emperor reached the afterlife, literally stomped out. The statues all wear thick, cat-crushing boots, and many hold ancient cat-toys and cat-lances designed to entice, impale and eviscerate unsuspecting kitties." Dec 11 09:11:28 fun? Dec 11 09:12:02 what date? Dec 11 09:12:18 you said they were invented in 1812 Dec 11 09:14:24 lasserix_: Dec 11 09:14:28 hello Dec 11 09:18:05 squ i was being somethign i can't remember the word, what i mean is. cat toys suck and need someone to come along and bring them into the year 2015 Dec 11 09:18:40 have you played with them yourself Dec 11 09:20:00 hello Dec 11 09:20:54 squ yes Dec 11 09:21:08 are you a cat Dec 11 09:21:45 i have read siddartha and meditated for days in exisential absentia filling my mind substituting my body with the qualia of the days of cat's life. Dec 11 09:22:01 you should avoid that Dec 11 09:22:07 and thereafter played with these ****ing toys and wanted to scratch the eyes out of every human being. Dec 11 09:22:22 anyone know a good android tv emulator? Dec 11 09:22:40 lasserix_: how about visit to a doctor Dec 11 09:23:37 did i walk into a nervous breakdown? Dec 11 09:27:12 no Dec 11 09:27:46 squ doesn't understand what i meant by reading siddartha and thinks what i said is something nuts. actually its just one of the most effective ways of concieving of the ultimate or epic tangible deliverable. Dec 11 09:28:02 I see Dec 11 09:30:23 squ look it "deep trascendental meditation" david lynch's goto modus operandi Dec 11 09:30:35 I'm not fan Dec 11 09:30:46 but thanks Dec 11 09:31:00 https://www.youtube.com/watch?v=oPJoZ4w6w70 Dec 11 09:31:04 thank you Dec 11 09:31:09 has nothing to do with what he produces, but how Dec 11 09:31:47 similar to https://en.wikipedia.org/wiki/Paranoiac-critical_method Dec 11 09:32:13 thanks Dec 11 09:32:22 :) Dec 11 09:32:44 so Dec 11 09:32:47 i hope you are a semi-autonomous bot and these links help you take over the world of humanity Dec 11 09:32:53 https://en.wikipedia.org/wiki/Bullshit Dec 11 09:33:04 you watched couple of hollywood movies and that happened to you, right? Dec 11 09:33:18 you started playing cat toys and became a cat Dec 11 09:33:34 david lynch is terrible. i think most people would benefit from not recreating his modus operandi Dec 11 09:34:02 though im quite fond of hermann hesse Dec 11 09:34:19 there are good classic film-noires, lynch is popular, but not best Dec 11 09:34:44 again DTM has nothing to do with the aesthetic qualities of david lynch's films Dec 11 09:35:08 lasserix_: how exactly you became a cat, tell us? Dec 11 09:35:59 maybe it is android fault Dec 11 09:36:13 it gives headaches Dec 11 09:36:22 first you go to the library, ready a couple books about cats. their biology, pscyhcology, history of/and involvent in human affairs, etc. Dec 11 09:36:41 you went to library? Dec 11 09:37:08 then goto the location animal shelter and find a cat and without raising aggression hold its presence and not antecedents of your perceptions' ratiocination in your mind for an hour or two Dec 11 09:37:19 then watch the cat piano meme shortly before going to bed Dec 11 09:37:59 when you wake up go through the normal motions of meditation (deep breathing, clearing of the third eye, etc) when you are in the trance state and there is no you subddive yourself Dec 11 09:38:10 yea Dec 11 09:38:30 why not, after all Dec 11 09:38:39 ultimatly you can keep dividing into the cells that make up a fetal feline until you are divinvely born as a cat in the world Dec 11 09:38:58 then go about your life as you normally would, you're a cat after all. Dec 11 09:40:32 personally, I prefer to harness the force of gravity and redirect it into a differential equation slip so I can surf Dec 11 09:40:56 how'd you figure out how to do that? Dec 11 09:41:19 you have to read the Glass Bead Game by Hesse Dec 11 09:41:23 it'll teach you Dec 11 09:42:25 yeah i read itbut that was a different question Dec 11 09:42:56 i used the force of knowing Dec 11 09:43:10 and interceded ubituity Dec 11 09:43:19 ubiquity Dec 11 09:43:39 it helps, but only on the slant Dec 11 09:43:45 but of course you know that Dec 11 09:44:12 Has anyone ran the updated android emulator on a Windows OS yet? Dec 11 09:44:55 the_rabbit, i've been having all sorts of problems today on windows 10 Dec 11 09:45:40 the_rabbit, which verson are you using? Dec 11 09:45:42 windows Dec 11 09:47:58 jonky, so why haven't you used that for other purposes? seems like you could make a whole lot nothing Dec 11 09:50:10 lasserix_, i made a star system once Dec 11 09:51:52 has anyone who rooted their device gotten a perpetual "device offline" message in adb? Dec 11 09:53:15 Hello everybody, Dec 11 09:53:24 jonky, Root/custom ROMs, head to #android-root Dec 11 09:53:48 Number5, sorry/thanks Dec 11 09:54:45 jonky, this was displayed as welcome message when you entered this channel :) Dec 11 09:57:48 Number5, congratulations? Dec 11 09:58:32 @jonky Windows 10 as well Dec 11 09:58:54 When I receive a push notification, I keep seeing the notification again and again every time my onCreate() method is called. That's because I check whether there is an intent sent from a broadcastreceiver. But it should only show it once. How to handle that? Dec 11 10:04:44 the_rabbit, mine's not working at the moment either, also on windows 10 Dec 11 10:06:10 the_rabbit, im going to try restarting Dec 11 10:30:19 number5 something about how you set the intent Dec 11 10:32:09 lasserix_, thnx for your answer. What I'm trying now is add a key to determine whether I've handled the intent or not. If not, than handle it and set the handle-key to true. Hope it works. Dec 11 10:36:30 yess! :) Dec 11 10:37:32 and Hellou! ) Dec 11 11:25:58 Hi guys, can I ask 'Andrdoi Studio' related questions? I suddenly have an issue with building my project complaining about not finding grade home. Dec 11 11:26:13 s/grade/gradle Dec 11 11:30:20 I use ArrayList a lot, but the profiler say that HashMap.get is taking 18.5% of cpu time. Any ideas? Dec 11 11:38:21 how big is the memory footprint of the kernel and the services on android? Dec 11 11:43:39 is it just me or are tooltips on android studio fairly broken? Whenever I hover over something (like code that is giving warnings/errors) the tooltip that pops up disappears if I move my mouse by like 1 pixel, even if it's still within the bounds of the highlighted code. Has anyone else experienced this, or found a workaround? Dec 11 11:50:45 Hey Mates! Dec 11 11:51:18 I'm trying to figure something out.. it seems httpclient is depreciated in 23 and beyond Dec 11 11:52:10 There is another library that's been suggested, but I want to build something that works on 15(my phone) Dec 11 11:52:37 If I use the new hotness, will it run on my older phone? Dec 11 12:02:51 Hi all question on NOOB if i use a handler and write myhandler.post is this only ones and then the handler dies Dec 11 12:03:30 im stuck on reading a BTserial device Dec 11 12:04:14 i can connect then the connection tread claass is set to null so how do i get a runneble that reads from the socket Dec 11 12:13:02 hi people Dec 11 12:13:15 i'm sure most of you would think my question is strange Dec 11 12:13:27 but if someone know of any good android icons pack let me know please. Dec 11 12:13:29 I'm developing a game for Android. Is there a problem redrawing the whole screen every frame? Dec 11 12:21:47 DelphiWorld, look at icons8 Dec 11 12:22:06 drose379: thank dude. i just got them Dec 11 12:22:11 Sweet Dec 11 12:22:30 drose379: i'm blind bro, that why i'm not good at design Dec 11 12:22:41 Really Dec 11 12:22:56 drose379: yep, and i am creating a basic app using cordova Dec 11 12:23:05 Cool, good luck Dec 11 12:23:12 thank dude! Dec 11 12:23:26 Yep Dec 11 12:23:44 haha, thinking how to detect time ;) Dec 11 12:23:49 morning or afternoun or something Dec 11 12:24:10 Cordova is written in what language? Dec 11 12:24:15 JS? Dec 11 12:24:28 yep js Dec 11 12:24:34 Should be able to get the time in js Dec 11 12:24:45 yep i know Dec 11 12:24:48 i'm documenting Dec 11 12:25:02 Cool, what does the app do Dec 11 12:25:22 drose379: play some islamic content by user selection or according to time Dec 11 12:25:43 Nice Dec 11 12:25:57 fucking ionic is pretty awesome Dec 11 12:26:00 check it Dec 11 12:35:11 So if I have a view with two checkboxes, and I inflate in in one place with a LayoutInflater, and check one box Dec 11 12:35:22 Then inflate it again later, that box will still be checked? Dec 11 12:46:11 Are static variables kept when closing the app? Dec 11 12:47:51 if the app is backgrounded, yes. If the app is backgrounded and killed, no. Dec 11 12:52:19 If I click the back button, it will probably still be background? And when I open the app it calls onCreate again, right? Dec 11 12:55:29 how does webview caching work ? Is it on by default ? Dec 11 12:58:09 My main activity gets started by clicking on a push notification. I than grab the intent to show some data by calling getExtra(KEY). The problem is, after my Activity is closed and restarted again, I show the same data again as if another push opened the Activity. How can I deal with this situation according to the Android design? Please, I'm stuck here. Dec 11 12:58:56 Number5, with opening it again you mean by clicking the launcher and not the notification, right? Dec 11 12:59:19 danijoo, yes exactly, sorry for not being that clear. Dec 11 12:59:35 Hey. Are there any good tutorials on speech-to-text available for Android? Dec 11 12:59:51 Number5, the reason is if your activity is minimized its not actually closed, its just paused Dec 11 13:00:18 Number5, you can either set a flag or explicitly call finish() on the activity to close it Dec 11 13:00:34 danijoo, no it's really closed. Because onCreate() is called, I show it when calling onCreate(). Dec 11 13:01:12 Number5, theres a difference between created from scrath and REcreated Dec 11 13:01:30 I understand the Android OS doesn't remove the Intent, so when calling getIntent() I get the same intent as a copy back,for what I understand. Dec 11 13:01:31 a recreated acitvity would receive the same intent again afaik Dec 11 13:01:59 you cantell if its a recreated or new activity by checking savedInstanceState in oncreate Dec 11 13:02:11 its null for a new activity and an instance of Bundle if its recreated Dec 11 13:02:31 danijoo, hmmm, you mean recreated as in orientation change situation? Dec 11 13:03:00 Number5, yes. but also if system decides to kill your activity because of low memory Dec 11 13:03:19 this can happen any time your activity is in background Dec 11 13:03:56 danijoo, aah yes I remember the concept, thank you, I think I can fix it now, thnx to you. Dec 11 13:06:15 Tobbi I've been using a decemt about of speech-to-text and text-to-speech recently if you have any specific questions Dec 11 13:07:21 Taios: Alright, I'll ping you. I'll be trying to implement a SpeechRecognitionListener first, see if that works. Dec 11 13:10:49 ok :) Dec 11 13:28:20 danijoo, no success buddy. savedInstance is null every time after Activity is destroyed. So it's not recreated, it is created normally. Maybe I need to add a variable in the Application class and check the value there whether application is started first time or not. Dec 11 13:32:14 hmm, anyone implemented a "wait for event to happen, then execute" pattern with rxjava? Dec 11 13:43:54 hi Dec 11 13:44:12 hello Dec 11 13:46:12 is it possible to tell android to trust my .apk files from my homepage? like installing my CA or key? so i wouldn't need to switch on '[x] unknown sources' after downloading an apk Dec 11 13:46:30 there's a way to share resources folder between test and androidTest?, want to load a json file to mock something Dec 11 13:49:59 Bombo: no, i don't think so Dec 11 13:53:56 For some reason, the speech recognition handlers are not firing, any idea? We call createSpeechRecognizer and setRecognitionListener(this), yet none of the handlers are called. Dec 11 13:55:07 anyone know how to log the raw response as a string using retrofit 2.0.0 & okhttp 2.5 ? Dec 11 13:55:13 Hi, how do I disable push notifications temporarily within an app? Dec 11 13:56:02 agaurav77, more context Dec 11 13:57:15 I have an app which utilises an OTP service. I wait for the OTP, and have a BroadcastReceiver implementation for the same. But the SMS is kinda obtrusive, just that one. How do disable push notifications for SMS for just that once? Dec 11 13:57:43 cant you do an if clause ? Dec 11 13:58:01 in your receiver i mean Dec 11 13:58:17 I dont know how to disable the push notifications from showing I mean Dec 11 13:59:09 it's not a push notification Dec 11 13:59:28 agaurav77, this is not iOS Dec 11 13:59:41 sorry for messing up with the words Dec 11 13:59:52 the differences are more than the name Dec 11 14:00:05 Hello, is there a way to put a professional application on store ? Only authorized users must be allowed to download it. I dont know the options, but maybe somehting like : user must enter a password to download it Dec 11 14:00:44 mtR_, play store does not have that option. you could add only beta builds to the app and no released builds Dec 11 14:00:52 and then invite them as testers Dec 11 14:00:58 danijoo: how to disable notifications from the local messaging application for the time the OTP is received, as that is of no use to the user. Dec 11 14:01:46 agaurav77, i dont think this is possible Dec 11 14:02:44 danijoo: okay, thanks Dec 11 14:02:49 but wait. I think whatsapp does that, doesnt it? Dec 11 14:02:53 so it should be possible Dec 11 14:03:00 thats what, something like that Dec 11 14:03:15 danijoo: ok thanks for the info, but i cant fiddle something like that ^^ Dec 11 14:03:32 maybe its not disabling it, but marking it as read when it arrives agaurav77 ? Dec 11 14:04:30 time to try emulator 2.0.. *fingers crossed* Dec 11 14:04:43 lets see if AS 2 breaks my sdk again :p Dec 11 14:05:09 danijoo: thanks, that could be it. I'll fiddle around and come again if I need :) Dec 11 14:05:49 tell me if you find a solution. sounds like an interessting problem to me Dec 11 14:08:50 sure Dec 11 14:10:16 Just check if the activity/fragment is open in the foreground when you receive the push message before showing it Dec 11 14:11:08 how does webview caching work ? Is it on by default ? If so, is it an in-memory cache or is it stored somewhere on disk ? Dec 11 14:12:02 emilsp, http://developer.android.com/reference/android/webkit/WebSettings.html#setCacheMode(int) Dec 11 14:18:03 Hi, im using the latest stable AS version. But when i open the translation editor it doesnt render it properly when scrolling. Anyone else has this problem? Dec 11 14:23:29 thanks, VnM Dec 11 14:59:41 I am getting this error when I am starting avd emultar SDL init failure, reason is: No available video device Dec 11 14:59:42 plz help me Dec 11 15:02:05 http://imgur.com/jacoj Dec 11 15:04:11 Hi folks, I am trying to integrate Fabric to my cordova project via android studio fabric plugin, and it says that my build tools should support AAR and I need to set project up with maven or gradle, but it is building via gradle already Dec 11 15:04:15 any ideas ? Dec 11 15:11:25 the fabric docs have an example how to setup gradle with it Dec 11 15:13:47 danijoo, I have read it, it says use either plugin or the manual config, neither helped me Dec 11 15:14:51 what part of the manual config did you not understand Dec 11 15:14:54 edited the gradle file as needed, tried to build, still getting error package not existing Dec 11 15:15:28 Stag, http://imgur.com/jacoj Dec 11 15:18:49 if only I had an idea how android studio works Dec 11 15:20:35 hello gents Dec 11 15:20:37 and ladies Dec 11 15:20:55 Android dev noob here, coming from a .net background. Dec 11 15:21:07 Stag, nobody can help you if you dont post a stacktrace and your gradle file Dec 11 15:21:37 I'm trying to set the background of an activity, inside an event handler (onclick). I can't quite seem to get it to work. Dec 11 15:21:43 I'll get my code pasted Dec 11 15:23:33 https://paste.ee/p/DbI08 Dec 11 15:23:40 any thoughts? sorry if this is a noobish question. Dec 11 15:25:06 danijoo, well the https://gist.github.com/nikoTM/c930d98f7c552454930d Dec 11 15:25:39 danijoo, as I said dependencies are just not there Dec 11 15:28:47 Stag, still no build.gradle Dec 11 15:28:53 Humorousone: Could you post your layout? Maybe you need to use getParent() instead. +1 for using paste.ee btw Dec 11 15:29:24 Humorousone, try findViewById(android.R.id.content) instead Dec 11 15:30:01 danijoo, https://gist.github.com/nikoTM/ada106a4d3f91816f41c this is the gradle file, without my manual additions Dec 11 15:31:23 you dont have fabric in the dependencies Dec 11 15:32:02 danijoo, this is manually added fabric https://gist.github.com/nikoTM/5c9db71f9216c150fd98 Dec 11 15:34:32 Stag, you still dont have it in your dependencies Dec 11 15:34:59 ah nvm you have.. Dec 11 15:39:18 is this the outer or inner gradle file? Dec 11 15:46:56 So if I have a view with two checkboxes, and I inflate in in one place with a LayoutInflater, and check one box Dec 11 15:47:03 Then inflate it again later, that box will still be checked? Dec 11 15:47:45 why should it? Dec 11 15:47:52 Im not sure, but for me it is Dec 11 15:48:28 Not sure why daniele_athome Dec 11 15:48:29 oops Dec 11 15:48:30 danijoo, Dec 11 15:50:46 no code . Dec 11 15:51:36 This is it: http://pastie.org/10625569 Dec 11 15:51:59 I mean, every time I inflate the dialog, all the checkboxes that I checked last time I inflated it still presits Dec 11 15:52:07 Not a bad thing, im just wondering why Dec 11 15:53:42 Oh I understand why Dec 11 15:53:58 Its because I am creating the dialog once and re-using it Dec 11 15:54:08 With that null check, so I should really create the view inside the null check block Dec 11 15:55:24 drose379, Trying to help you is always hard because you always show parts of the code and not the full context. I wont ask for more this time. Good luck with the problem Dec 11 15:56:28 danijoo what else did you need to be able to see that Dec 11 15:57:16 the full codebase obv Dec 11 15:57:37 there are calls to methods you dont show, you dont show where in the activity this is called, you dont show variables that are stored outside the methods. Dec 11 15:58:17 I guess Dec 11 16:01:49 I'm setting up android studio.... with genymotion... when I try to debug my proggy. I get "unable to open debugger port" Dec 11 16:01:54 its like pulling teeth sometimes. Dec 11 16:01:58 If I click debug again it works. Dec 11 16:02:18 Almost every other debug fails... I always have to do it twice. Anyone have any idea why? Dec 11 16:02:21 TinFury, check if genymotion is set to use its own adb instance or the sdks one Dec 11 16:02:26 it should be the sdks one Dec 11 16:02:58 k lemme look Dec 11 16:04:43 Genny set to my sdk C:/Java/sdk Dec 11 16:05:42 Wait... there is an update for geny plugin lemme try that Dec 11 16:09:04 the new emulator is pretty amazing Dec 11 16:09:21 gonna let my genymotion license expire this year. Dec 11 16:10:15 The build in emulator? Dec 11 16:10:18 where is the new emulator Dec 11 16:10:20 yeah, it's pretty great. I wonder what they changed under the hood. Dec 11 16:10:28 danijoo do you still need haxm for best performance? Dec 11 16:10:36 g00s, yes Dec 11 16:10:37 Let me try that. Dec 11 16:10:43 pfn: http://android-developers.blogspot.co.uk/2015/12/android-studio-20-preview-android.html Dec 11 16:10:52 g00s, but the new feautres arent bound to haxm i think Dec 11 16:10:54 it's still a preview, though.. Dec 11 16:10:57 I said where Dec 11 16:11:02 not in sdk manager? ok Dec 11 16:11:03 ie you get fast adb speed and the new options without haxm Dec 11 16:11:12 pfn canary Dec 11 16:11:19 yeah it is in the sdk manager Dec 11 16:11:34 danijoo, sorry got carried away, it's the file under platforms/android/ Dec 11 16:11:37 canary + sdk tools preview and they will let you update Dec 11 16:12:05 i see SDK Tool RC in SDK Manager, maybein there too Dec 11 16:12:19 see http://android-developers.blogspot.de/ Dec 11 16:12:39 danijoo haha the german version Dec 11 16:12:46 oh sorry :D Dec 11 16:13:15 stupid chrome redirects me to .de if i enter .com for dev blog oO Dec 11 16:13:28 but its still in english Dec 11 16:16:45 danijoo, Excuse me sir..... chrome is NOT stupid Dec 11 16:18:35 it's not chrome doing it... Dec 11 16:20:27 Ok.... I gotta say this... Dec 11 16:20:36 I love Microsoft.... Dec 11 16:20:47 I've been with them since PC DOS and MS DOS. Dec 11 16:21:01 But recently... I gotta wonder... Dec 11 16:21:14 WTF is going on with Internet Explorer... in all this time.... Dec 11 16:21:29 WTF... they couldn't make a browser that functions correctly? Dec 11 16:23:51 wut Dec 11 16:24:13 their JS engine has better ES6 coverage than firefox Dec 11 16:24:40 (Chakra) Dec 11 16:25:04 they seem to be doing good browser work lately Dec 11 16:33:24 Under http://developer.android.com/reference/android/os/Build.VERSION_CODES.html, I do not see Marshmallow listed. Would this be version M? Dec 11 16:34:01 yes Dec 11 16:34:13 Awesome. I appreciate it. Thank you! Dec 11 16:41:46 Anyone with app publishing experience? Is a pet adoption app "Communication" ? Dec 11 16:42:17 whatsapp is communication Dec 11 16:42:23 Hmm Dec 11 16:42:34 What would pet adoption be do you think? Dec 11 16:42:41 I mean, it helps you communicate with organizations Dec 11 16:42:47 i dont have all available categories in my head.. Dec 11 16:44:12 One sec danijoo Dec 11 16:44:48 check what categories identical apps use Dec 11 16:45:17 http://i.imgur.com/WAHRKo6.png Dec 11 16:45:17 True Dec 11 16:45:37 Lifestyle? Dec 11 16:49:08 pets are lifestyle Dec 11 16:49:40 Got it Dec 11 16:50:07 buying them is shopping Dec 11 16:50:17 but you dont sell, right? you only create the contact Dec 11 16:50:40 I connect the shelter to the potential owner daniele_athome Dec 11 16:50:41 damnit Dec 11 16:50:43 danijoo, Dec 11 16:51:42 it's not shopping Dec 11 16:52:09 Lifestyle Dec 11 16:53:41 Bout to release Dec 11 16:59:35 drose379, will take hrs Dec 11 17:01:57 Publishing? Dec 11 17:02:17 hi, how can I associate traffic stats with a phone number? Dec 11 17:02:20 http://developer.android.com/reference/android/net/TrafficStats.html Dec 11 17:02:20 g00s, wut? I wasn't here... internet explorer or edge? Dec 11 17:02:39 g00s, I'm an amature at any form of programming...... What does it take to make a browser? Dec 11 17:02:43 JFlash, again :D Dec 11 17:02:51 \o/ Dec 11 17:03:01 drose379, yes. First publish will take hrs because of the review process Dec 11 17:03:17 Actually I've published as alpha and beta before this Dec 11 17:03:25 So do they have to review it again for prod? Dec 11 17:03:53 drose379 get goof feedback from your alpha / beta users ? Dec 11 17:03:56 *good Dec 11 17:04:08 Yeah, was satisfied, found a few bugs Dec 11 17:04:21 drose379 did you add analytics ? Dec 11 17:04:41 Yeah I added the facebook SDK and that offers some analytics Dec 11 17:05:03 drose379, crashlytics is great for analytics Dec 11 17:05:03 ok, as long as you're asking the right questions, and the data can help you improve the next version Dec 11 17:05:21 g00s did you ever try the apk? Dec 11 17:05:33 goddamit, my questions are becoming too difficult to the level of this channel Dec 11 17:05:35 it will give you this: https://fabric.io/headlessdanijoos/android/apps/com.lolsummoners/issues/561a5d0ef5d3a7f76bb80446 Dec 11 17:05:44 me wrong link Dec 11 17:05:49 http://crashes.to/s/2678928d2fb this Dec 11 17:05:53 i make this example exactly but it forced stop and write this error to log: http://codepad.org/wmN54tYH Dec 11 17:05:54 Ok Dec 11 17:06:04 this example: http://www.techotopia.com/index.php/Using_Fragments_in_Android_Studio_-_An_Example Dec 11 17:06:11 Ah nice danijoo Dec 11 17:06:28 JFlash, its more like they become to shady so nobody wants to help Dec 11 17:06:43 haha, JFlash ... Dec 11 17:06:49 seriously Dec 11 17:07:21 mintux, read the trace Dec 11 17:07:28 line 37 tells you what the problem is Dec 11 17:07:54 if it's shady, why there are APIs to do what I am doing :P Dec 11 17:08:15 there's call logs api, sms api, and stats traffic api Dec 11 17:08:22 they are there for a reason Dec 11 17:08:48 Then use them JF Dec 11 17:08:53 JFlash, why you asking us Dec 11 17:09:08 because traffics api doesnt talk about phone number Dec 11 17:09:11 JFlash, you cant think of another use for a stats api other than spying? like.. showing stats? :P Dec 11 17:09:20 danijoo: it means i should have something like this: public class MainActivity extends AppCompatActivity implements ToolbarFragment.ToolbarListener { Dec 11 17:09:21 ? Dec 11 17:09:22 I dont see why traffic should be related to a phone number Dec 11 17:09:29 mintux, yes Dec 11 17:09:32 i want to show stats but for a specific sim card Dec 11 17:09:58 well me neither but the dabatase and the webservice are done that way and I am not allowed to change them Dec 11 17:10:21 they just sit me here, told me what to do and offered me a bunch o' money Dec 11 17:10:37 It's either take it or leave it. so I took it Dec 11 17:11:08 seriously, the webservice was done for some dude who used JBoss + RESTEasy, which I know nothing about Dec 11 17:11:14 so I cannot change it :( Dec 11 17:12:42 you have to match it manually somehow Dec 11 17:12:49 I wont do your work this time ;) Dec 11 17:12:58 heh so im writing this game kinda like ultima 3 etc and im doing mob generation and mob pathing. its amazing what a difference proper synchronization will make in your code. Dec 11 17:13:26 2 days ago 6 mobs would bog down the game. i have 36 of them moving once per second and every move requires a complete path recalculation Dec 11 17:13:49 so i have 36 mobs being randomly generated and moving once per second towards me and despawning once they get to me Dec 11 17:13:59 yeah, that brings me back to my point that my questions are too advanced for the channel. I will have to find out a way like I did for all the other 10 hard problems I had Dec 11 17:14:22 JFlash, i dont think there is any question that is "too advanced" for this channel Dec 11 17:14:35 unless its NDK issues and thats not too advanced for them its just not something they do much Dec 11 17:14:49 There are people that are too "advanced" to bother answering Dec 11 17:14:51 ndk is where i prefer to be :) Dec 11 17:14:58 I440r, so you have an idea on how to match a phone number with TrafficStats/ Dec 11 17:15:00 ? Dec 11 17:15:13 there rarely are questions too advanced, but there are plenty of people who are working at a level too advanced for them Dec 11 17:15:28 ndk is not "more advanced" than sdk. it's a completely different beast Dec 11 17:15:34 s73v3r, i ALWAYS work at a level too advanced for me. how the hell else would i learn Dec 11 17:15:53 depends on how you go about learning it Dec 11 17:16:07 from zero knowledge of android i learned as i went what i needed in order to implement a native android forth compiler in assembler Dec 11 17:16:38 the point is that JFlash rarely gets answers because he keeps coming in here and asking us to do his work for him Dec 11 17:16:38 repeated poking myself in the eye with the fork as i try to feed myself till i figure out where the mouth is. pain is a good teacher :) Dec 11 17:16:59 g00s, tried the new emulator? :) Dec 11 17:17:07 what new emu? Dec 11 17:17:16 THE new emu Dec 11 17:17:23 is it ARM ? Dec 11 17:17:27 or x86 only Dec 11 17:17:38 danijoo not yet, sounds exciting though! i just wait for stable stuff - beta/preview from google is usually terrible Dec 11 17:17:40 I440r, the new one from google. x86 and arm Dec 11 17:17:57 amg they made something better than avd? bout freekin time lol Dec 11 17:18:00 where do i get it? Dec 11 17:18:19 I440r, instructions are in the dev blog Dec 11 17:18:30 g00s, this time 2.0 didnt break my sdk :P Dec 11 17:18:40 danijoo ... yet :) Dec 11 17:18:43 g00s so my concurrency issues are gone :) Dec 11 17:18:54 g00s, true... :p Dec 11 17:19:00 well. from what i can tell so far. Dec 11 17:19:02 I440r ... for now :D Dec 11 17:19:17 s73v3r, I actually come here quite less because the channel is not being so useful to me anymore Dec 11 17:19:18 g00s, but I had no time. genymotion license will expire in 7 days :D Dec 11 17:19:33 google couldnt have chosen their release time better Dec 11 17:19:34 because we’ve stopped doing your work for you Dec 11 17:20:13 i just left my "game" running overnight generating 36 random mobs and theres 3 tasks that mess with the mob list... 6 mobs would bog me down before and i would crash in no time flat... 36 random mobs spawning, pathing to my location and despawning allowing new mobs to spawn... Dec 11 17:20:27 its like a constant flow of random mobs to my location all night and its not crashed yet Dec 11 17:20:35 not really a definitive test tho lol Dec 11 17:20:43 I440r, im sure this feels very good to see in the morning :) Dec 11 17:20:46 s73v3r, so this is why you come here to answer questions, to later say that you are doing ppls work for them? Dec 11 17:20:49 perfect start for a day :) Dec 11 17:21:22 s73v3r, that's quite a low level of existance, if you ask me Dec 11 17:21:35 no, just for people like you who try to “fake it til you make it” Dec 11 17:21:36 danijoo, what excites me is not that it didnt crash but that my pathing algorithm which i wrote in forth and which is run once per second per mob was not the bottleneck :) Dec 11 17:21:56 or the cause of the crash Dec 11 17:22:19 s73v3r, well it worked for them. I got payed and they did not complain. there was no one else available, possibly. Dec 11 17:22:28 it was thread a adding mobs, thread b moving and killing them and thread c drawing them Dec 11 17:22:48 somwhere they would get all confused about what mobs existed still lol Dec 11 17:22:52 s73v3r, i'd shed the idealism unless you are still in yr teens, that I will let it pass Dec 11 17:22:54 JFlash, theres a difference in asking for help if you did your best and failed and not doing your job and let others do research Dec 11 17:23:25 i half ass fixed it by making sure that when thread a was scanning the mob list thread b and c would block... Dec 11 17:23:27 etc etc Dec 11 17:23:33 but how can I do my best if I dont even know where to start :P Dec 11 17:23:40 but that was just a temp fix. not very good for performance Dec 11 17:24:00 JFlash, you dont know where to start because you didnt learn the basics. Which is not doing your best Dec 11 17:24:03 danijoo: Whoops, sorry. Family arrived just after I asked Dec 11 17:24:18 basically I just need to know if it's possible to match Trafficstats to a phone number. and I will do it myself it its possible Dec 11 17:24:24 danijoo: Just got back. trying out findbyID now Dec 11 17:24:28 the real fix was to have a few synchronized methods in the moblist class and for each of the 3 threads to work with their own copy of the list Dec 11 17:24:49 danijoo, who are you triing to kid here. there's nothing basic about this and you know it Dec 11 17:25:17 adding a new mob goes straight into the master list. deletions are stacked up and a synchronized method purges the master list of those mobs slated for removal. Dec 11 17:25:18 if you had the basics down, you’d know more about where to go Dec 11 17:25:27 lets try 200 mobs max :) Dec 11 17:25:37 keep going till i see things start to get slllooowwww Dec 11 17:25:38 i440r: sounds like you’ve got a much nicer system now Dec 11 17:25:51 JFlash, sooo.. did you read the docs about multiple sim card support and the apis about it? Dec 11 17:26:00 s73v3r, g00s helped me by suggesting a book i cant afford but it gave me a clue what to look for :) Dec 11 17:26:12 which book? Dec 11 17:26:17 erm hang on Dec 11 17:26:30 well. nvm. why am I discussing. Dec 11 17:26:32 JCIP Dec 11 17:26:51 ahh Dec 11 17:26:54 danijoo, interesting that's a good place to start, thank you Dec 11 17:27:09 JFlash, thats what I mean. you clearly dont do your homework at all Dec 11 17:27:25 danijoo, that's the old helpful danijoo that I remember. Dec 11 17:27:39 wait i thought JFlash was one of the ppl here with a clue lol Dec 11 17:27:54 nope Dec 11 17:28:02 I440r, no. hes the one who applied for a job he dont has the skills for :p Dec 11 17:28:02 hmm.. This throws an error: Thisview.findViewById(android.R.id.content).setBackgroundColor(Color.GREEN); Dec 11 17:28:29 what’s the error? Dec 11 17:28:34 almost every job i have taken in the past 30 years (real time embedded) was like that Dec 11 17:28:35 it’s likely that the ID doesn’t exist Dec 11 17:28:43 something i was clueless about till i walked in the door Dec 11 17:29:06 is there any ui framework to build nice ui fast and perfect for android like bootstrap for html and css? Dec 11 17:29:14 ahh, I440r I'm trying to set the background colour programatically Dec 11 17:29:29 mintux, theres not really more then the tools in AS unfortunatly :/ Dec 11 17:29:33 I'm new to android, came from .net Dec 11 17:29:36 mintux: the Android framework :D Dec 11 17:29:42 https://paste.ee/p/DbI08 <<-- my code Dec 11 17:29:50 Humorousone, http://imgur.com/jacoj :p Dec 11 17:30:00 Humorousone, you need to look at layouts, canvas's and bitmaps. Dec 11 17:30:04 If you’re more comfortable in javascript, you might look at ReactNative, but it’s not going to be exactly what you want Dec 11 17:30:23 to draw into a bitmap you need a canvas. theres a method on canvas that fills the bitmap with a specified color Dec 11 17:30:35 s73v3r: something like theme ? Dec 11 17:30:51 not really Dec 11 17:30:55 theres also ColorDrawable Dec 11 17:31:37 godammit there was no sim card support before lollipop! Dec 11 17:31:37 I'm not trying to draw a bitmap. I'm trying to set it to a colour Dec 11 17:31:52 thanks guys, that settles it for me. I will talk to my supervisor about it Dec 11 17:31:55 ttyl Dec 11 17:31:57 Humorousone, nobody can help you if you dont post the error Dec 11 17:32:08 More specifically, the background colour property of the activity Dec 11 17:32:14 (I think) Dec 11 17:32:30 activity doesn’t have a background color Dec 11 17:32:32 the view does Dec 11 17:32:51 set my max mobs to 100 and as mobs spawn and move towards me and despawn the max count never seems to get above 36 lol Dec 11 17:36:25 i had a problem with my pathing where a mob path would circle back on itself c <- b <- a <- c and as i scanned back from the destination to the mob to see which direction to move it i would enter an infinite loop Dec 11 17:36:52 * pfn headscratches Dec 11 17:36:57 spent a week trying to debug and optimize my pathing algorithm and it was my java nubness Dec 11 17:36:59 wtf isn't my emptyview showing up when I set it on my listview Dec 11 17:40:58 actually i think its taking about 1.5 seconds to move all the mobs with this many of them. not an issue... the game is never going to have this many mobs active at once Dec 11 17:41:55 where would be a good place to find people who do game music or game art? Dec 11 17:41:58 maybe room for some more optimization :p Dec 11 17:42:11 s73v3r, thats why i smoke test it like this Dec 11 17:42:21 omg.. so why do I have to learn java to reach the app market? What's wrong with c++? Dec 11 17:42:38 there is NOTHING right with c++ Dec 11 17:42:41 meh, just layout problems Dec 11 17:42:52 you don't have to learn java, write it entirely in c++ Dec 11 17:42:56 just be miserable the whole time doing it Dec 11 17:42:57 pewpau, however, you can code NDK libraries in c++ all you want Dec 11 17:43:02 and your app will look like shit Dec 11 17:43:15 pfn ndk doesnt really allow native apps any more Dec 11 17:43:25 always has Dec 11 17:43:30 NativeActivity Dec 11 17:43:31 go nuts Dec 11 17:43:37 or you’re going to spend a lot of time doing stuff in OpenGL that would take someone 5 seconds to do with a regular toolkit Dec 11 17:43:48 the nativeactivity example supplied by google does not work Dec 11 17:43:56 because the security model has changed Dec 11 17:44:10 i wanted my android forth to be a native app. CANT Dec 11 17:44:10 no it hasn't Dec 11 17:44:18 but but, if I compile with C++, how's it going to run on other phones? They all have different CPUs Dec 11 17:44:29 pewpau: That’s why we use Java Dec 11 17:44:33 I440r, nothing about it has changed such that you can't NativeActivity Dec 11 17:44:40 but the answer is you compile for the different architectures Dec 11 17:44:42 pewpau, most phones are ARM, you can target those first Dec 11 17:44:51 but yes, you would compile for x86, mips, etc. as necessary Dec 11 17:44:58 do I have to use java to put apps on google play? Dec 11 17:45:09 no Dec 11 17:45:15 no, you can use whatever you want Dec 11 17:45:28 what.. so someone can buy the app and get the error msg "pfft, you don't have the CPU"? Dec 11 17:45:30 but if you want to take advantage of any of Android’s features, you’re better off using Java Dec 11 17:45:38 just do java Dec 11 17:45:44 I440r, nothing about the security model has changed such that NativeActivity no longer works Dec 11 17:45:45 the native activity example compiles jsut fine. it segfaults when you run it because of the security policies that were put in place Dec 11 17:45:56 are there any popular mips phones out there? Dec 11 17:46:02 that's false Dec 11 17:46:11 the store won’t show people who don’t have a supported CPU architecture Dec 11 17:46:13 or is it still close to 0% market share Dec 11 17:46:27 Hey guys, is connecting android studio to a hardware device, android-dev or an android question? Dec 11 17:46:40 both Dec 11 17:46:42 :> Dec 11 17:46:56 they tightned up the secure linux stuff in android Dec 11 17:46:59 danijoo, :) well ill give it a shot in here the other channel seems to be rejecting it Dec 11 17:47:04 screwed up my forth compiler plans Dec 11 17:47:12 I440r, still false, segfaulting is a different issue, nothing to do with security model change Dec 11 17:47:28 I have a phone its in developer mode, the documentation hints I need to install OEM usb drivers, I assume thats the same crap as when you flash phones but the device im meant to update does not exist in device manager Dec 11 17:47:44 So I switched from beta to production, how long do you guys think itll take? Dec 11 17:47:45 pfn i used the term segfault as a general fault. GPF is not always an access to invalid memory Dec 11 17:47:56 daemon, did you install the OEM drivers? Dec 11 17:47:59 I am running windows 10, 64bit; I have the corrosponding OEM compatible drivers; I have LG phone suite and the phone is an LG 3; what am I missing Dec 11 17:48:16 danijoo, thats the problem, according to the android docs I should update 'adb .. something or other' Dec 11 17:48:20 I440r, proof or it didn't happen, there are a ton of NativeActivity apps on playstore without issue Dec 11 17:48:21 daemon, did you install the drivers before or after plugging the phone in? Dec 11 17:48:21 that device does not exist on my device manager Dec 11 17:48:25 try changing the permissions on an allocation to +rwx for example or to ANYTHING at all.. and the security model complains Dec 11 17:48:35 just show us the error you get Dec 11 17:48:41 danijoo, the LG phone suite installed all the devices the second I plugged the phone in Dec 11 17:48:51 the OEM drivers are litterally inf files Dec 11 17:48:54 it has no 'installer' Dec 11 17:48:54 s73v3r, i dont get any errors now. my forth is not a native app any more. Dec 11 17:48:54 I440r, and that in no way inhibits the ability to write native apps Dec 11 17:49:08 daemon, usually those ¨phone suites¨ are the problem Dec 11 17:49:11 unless you're trying to hack ipc together Dec 11 17:49:19 danijoo, so uninstall the phone suites and re plug the phone? Dec 11 17:49:25 in which case, shame on you for trying to make globally accessible memory Dec 11 17:49:46 pfn i spent 3 weeks screwing around with nativeactivity before abandoning it, what clued me in to the utter futility of the exercise was the fact that the google example code also failed to work due to se linux changes to android Dec 11 17:50:21 my forth would be orders of magnitude faster if i could change an allocation to +rwx Dec 11 17:50:38 i could make it "native threaded" instead of "indirect threaded" it is now Dec 11 17:51:57 but as this was a couple of years or so ago i dont remember the details Dec 11 17:51:58 I just ran native-activity sample from ndk just fine Dec 11 17:52:38 i was not the only one at the time who could not get it to work, there must have been some snafu bug in android preventing it at the time Dec 11 17:52:40 they do happen Dec 11 17:53:19 http://pastie.org/10625815 Dec 11 17:53:23 works fine: proven Dec 11 17:54:18 and android-r9d is an old as fuck NDK Dec 11 17:54:29 (testing on android 5.1) Dec 11 17:54:49 danijoo, ok uninsatlled both the driver set and the suite Dec 11 17:54:53 still not got the ADB device though Dec 11 17:56:32 so much for the claim "NativeActivity" does not work Dec 11 17:56:37 er, "NativeActivity does not work" Dec 11 17:59:16 What does T stand for in this Dec 11 17:59:17 Response.Listener Dec 11 17:59:25 I'm trying to understand gson. Dec 11 17:59:25 a placeholder Type Dec 11 18:01:27 Hey all can anyone help me get my device connected, I cannot seem to find any 'composite ADB' I have no pc suite and its associated drivers have been removed too Dec 11 18:01:31 the phone is in developer mode Dec 11 18:02:33 pfn, THanks Dec 11 18:19:19 this is a good mvp example right? https://github.com/grandstaish/hello-mvp-dagger-2 Dec 11 18:23:01 why are services on main thread? Dec 11 18:27:31 Afzal, why not Dec 11 18:27:46 IntentServices arent btw Dec 11 18:30:30 all android lifecycle occurs on mainthread unless explicitly documented otherwise Dec 11 18:30:48 you can also use startForeground to run it in another thread. Dec 11 18:31:20 http://developer.android.com/reference/android/app/Service.html#startForeground(int, android.app.Notification) Dec 11 18:31:29 false Dec 11 18:31:34 danijoo just wondering. Because whenever my phone comes back from a no-network situation, apps start syncing and sometimes the main thread gets blocked Dec 11 18:31:34 really? Dec 11 18:31:35 it does not run in another thread Dec 11 18:31:50 Afzal, if you want stuff to run on a separate thread, you must do so explicitly Dec 11 18:32:01 or use framework components that are documented to use a non-main thread explicitly Dec 11 18:32:07 Can anyone tell me how to fix unchecked call to gsonrequest. with this http://pastebin.com/jQpss7vf Dec 11 18:32:17 wait but why is it written that -> "Make this service run in the foreground, supplying the ongoing notification to be shown to the user while in this state" Dec 11 18:32:27 I know I have a specify a type... which is probably "user" but I dont' know how. Dec 11 18:32:28 pfn, I know. I'm asking the reason behind it because of *other* apps Dec 11 18:32:29 the_rabbit, "run in the foreground" = foreground priority Dec 11 18:32:30 that's like the first words of the documented method. Dec 11 18:32:38 not "foreground thread" Dec 11 18:32:41 foreground process Dec 11 18:32:43 OH! Dec 11 18:32:46 It doesn't generate an error... just a warning Dec 11 18:32:51 there's a very distinct difference Dec 11 18:33:08 android components have lifecycles and states, foreground is a state Dec 11 18:33:12 prf, Thanks for the clarification Dec 11 18:33:20 your nick complete sucks Dec 11 18:33:54 ok? Dec 11 18:34:37 Anyone? Dec 11 18:34:50 TinFury what's the warning and have you googled it? Dec 11 18:34:55 i really thought it would be easy to make the actionbar title clickable ... Dec 11 18:35:07 Afzal, yea I have googled. Dec 11 18:35:15 g00s lol, if only you could get the title's view :D Dec 11 18:35:23 Afzal if only :D Dec 11 18:35:35 Agh how long does this "Processing Update" take!! Dec 11 18:35:57 drose379 few hours ? Dec 11 18:36:09 Yeah, prob Dec 11 18:36:12 Afzal, I know what its saying unchecked call to gson request... in the constructor I have Map I suspect this is where the problem is Dec 11 18:36:18 I just don't konw how to correct it. Dec 11 18:36:24 g00s, its from beta to production so im excited for this one Dec 11 18:36:51 :D Dec 11 18:50:59 Hey all can anyone help me get my device connected, I cannot seem to find any 'composite ADB' I have no pc suite and its associated drivers have been removed too, the phone is in developer mode Dec 11 18:51:20 daemon, look for adb providers for your manufacturer Dec 11 18:51:40 some (samsung) have their own drivers exclusivly for adb Dec 11 18:52:08 danijoo, yeah I grabbed them the problem is there is no device AT ALL matching /ADB/ in device manager Dec 11 18:53:10 http://i.imgur.com/Q9IC0lH.png Dec 11 18:53:18 viewing by association Dec 11 18:53:29 paul's brick is what I named my phone Dec 11 19:00:03 am I missing something here -_- Dec 11 19:01:30 anyone have a rooted phone on project fi? Dec 11 19:02:30 DocOC, see topic of this channel Dec 11 19:03:21 So, Dec 11 19:03:28 is there ANY solution for https://code.google.com/p/android-developer-preview/issues/detail?id=2225#c11 yet? Dec 11 19:03:31 danijoo, so, custom roms is not considered application development? Dec 11 19:03:56 DocOC, read the whole topic ;) Dec 11 19:03:57 because currently, in 6.0, Google is violating several laws even with that issue. Dec 11 19:05:07 Summary of issue: Doze kills even apps with "ignore optimizations", Apps can not be whitelisted, except for GCM Dec 11 19:05:35 if that continues to be the case, I might just ship my app with a root exploit and rewrite the system on the fly. Dec 11 19:06:03 (I *have* to use a non-GCM notification system for real-time person-to-person notifications) Dec 11 19:06:15 danijoo, just so. sorry, I live a tldr; lifestyle and stopped reading after the first line. Dec 11 19:07:33 Hey again Dec 11 19:08:18 It's another basic thing, but I promise I've tried to search for this. Dec 11 19:08:35 is it possible to tell android to trust my .apk files from my homepage? like installing my CA or key? so i wouldn't need to switch on '[x] unknown sources' after downloading an apk Dec 11 19:09:06 and secondly: is it possible in android emulator to simulate two (2) fingers down? Dec 11 19:09:17 somehow with the mouse ;() Dec 11 19:09:42 Bombo, maybe with 2 mices :p Dec 11 19:10:17 first: No, that’s not possible unless you modify /system on the phone that is downloading the app. Dec 11 19:10:24 danijoo: hmm ;) Dec 11 19:10:28 https://paste.ee/p/4SHrF code here. Dec 11 19:10:43 justJanne: hmmkay Dec 11 19:10:53 Can't figure out why I can't call .isChecked() here. Sorry for noobishness again. Dec 11 19:10:59 Humorousone: ((CheckBox)ThisView.findViewById(R.id.CbToggleYellowMode)).isChecked() Dec 11 19:11:02 do it like that Dec 11 19:11:17 the cast is only applied as last thing, so you have to put the casted part in parenthesises Dec 11 19:12:55 I still can't use that method Dec 11 19:13:25 isActivated(), and a few others are there Dec 11 19:13:35 just not .ischecked() Dec 11 19:13:46 It is definitely a Checkbox btw Dec 11 19:13:49 Are you sure you put the parenthesises in the exact same spot? Dec 11 19:14:33 Humorousone, stop using Uppercase names :s Dec 11 19:14:49 als Boolean != boolean Dec 11 19:14:59 this is not C# :P Dec 11 19:15:04 s/als/also Dec 11 19:15:19 Is my camelcase to standard in my variable names? Dec 11 19:15:30 and yeah, maybe it's an artefact from my c# Dec 11 19:15:32 :P Dec 11 19:15:48 java is all starting lowercase except class names ;) Dec 11 19:15:48 we can discuss style later (variables and fields always start with a lowercase letter in Java), Dec 11 19:15:52 justJanne: I'm sorry, managed to mess up the bracked. Your thingy fixed it. Dec 11 19:16:01 and a Boolean is not a boolean. a Boolean is a wrapper arround boolean Dec 11 19:16:18 hey guys, whats the best way to pass a string from an activity to a fragment? The fragment is added to the activity layout directly and not added programmatically Dec 11 19:16:20 ? Dec 11 19:16:21 justJanne: This is a strange transition Dec 11 19:16:25 Humorousone: your issue before was that Java saw (CheckBox) (thisView.findViewById(...).isChecked()) Dec 11 19:16:45 instead of seeing ((CheckBox) thisView.findViewById(...)).isChecked() Dec 11 19:17:48 justJanne: I understand Dec 11 19:18:13 justJanne: the same thing would be evaluated correctetly if this was C# :'( Dec 11 19:18:27 justJanne: (probably) Dec 11 19:18:40 justJanne: Thank you very much for the help though < Dec 11 19:18:41 <3 Dec 11 19:20:08 I’ve worked with C# before, I know the issues of switching xD Dec 11 19:20:46 May I say that this is a lovely channel. Dec 11 19:21:11 It's an interesting journey learning. I'm sure I'll be here a lot. Dec 11 19:21:27 lol. I’m not really a regular to the channel because I hate it xD Dec 11 19:22:03 there are worse channels :p Dec 11 19:22:06 (##java) Dec 11 19:24:35 So, my options are: person-to-person notifications up to 15 minutes delayed, or I have to ship a root exploit with the app and do evil stuff to disable doze. Dec 11 19:24:41 Fucking doze mode >_> Dec 11 19:25:04 justJanne, yeah.. doze kinda killed all GCM alternatives :/ Dec 11 19:25:34 Worse in my case, because we offer no central server, but people self-host on their raspberry pi or DO or OVH server Dec 11 19:25:37 in Android studio, XML editor, is there a good way to take an element like and insert it into a new parent? Dec 11 19:25:48 without copy pasting . etc Dec 11 19:26:15 getting GCM into that is impossible (and people would hate it, due to a lot of the FOSS crowd using it) Dec 11 19:26:21 justJanne yeah i was looking at mqtt for something , doze pretty much fucked those plans Dec 11 19:27:37 g00s: I’m thinking of writing a secondary server, which users have to install in addition to our other self-hosted server, which would then offer a socket so the user can pull for notifications every 15 minutes Dec 11 19:28:02 doesn’t help me, though, when, like Thursday two weeks ago, I get a message via IRC that the lecture at 8 is cancelled, Dec 11 19:28:08 justJanne, how would they pull every 15 minutes if doze dont let them? Dec 11 19:28:10 but my phone is still in doze at the time, Dec 11 19:28:18 and I then go there, Dec 11 19:28:24 and get thrown out by security, Dec 11 19:28:31 and only receive the notification AFTER that Dec 11 19:28:41 justJanne: Doing evil stuff to disable doze is not an option Dec 11 19:28:41 danijoo: doze wakes up apps every 15min for a few seconds Dec 11 19:28:53 goodnight guys Dec 11 19:28:56 backi n the morning Dec 11 19:28:57 s73v3r: well, what do you suggest then? Dec 11 19:29:06 justJanne, I think it does expand that time the longer you are away Dec 11 19:29:17 ie 15 min, 30min, 1hr, 2hr.... Dec 11 19:29:22 until the phone is used again Dec 11 19:30:12 Is there any up to date information around on rounding corners in various View objects? Everything I'm finding seems really dated, circa 2010 Dec 11 19:30:24 after you come out of doze, you’re given a chance to update your data Dec 11 19:30:35 s73v3r: But I want the notifications DURING doze Dec 11 19:30:37 so you would still get that message Dec 11 19:30:46 no, because doze is when the user is asleep Dec 11 19:30:52 Yes, that’s the issue Dec 11 19:31:00 I want the notification to literally wake me up Dec 11 19:31:07 so I can turn off my alarm and set it to 2h later Dec 11 19:31:42 I don’t control the server, the IP of the server the app connects to is configured by the user. I can’t route anything centrally. Dec 11 19:31:56 And all notifications are direct, important, person-to-person messages Dec 11 19:32:14 justJanne is this app on the play store? Dec 11 19:32:17 What am I supposed to do except telling people to download an XPosed module or something? Dec 11 19:32:35 danijoo: one old version of the app is, I’m rewriting it currently Dec 11 19:32:56 justJanne just fyi; also you better take a look at some of the issues of declaring your app exempt from battery optimizations, some people have problems with google Dec 11 19:33:07 because i think theres a hidden feature that will allow you to bypass doze but will get you banned from play store Dec 11 19:33:12 the one tasker used in their app Dec 11 19:33:25 ^what g00s said is what I meant Dec 11 19:33:30 danijoo: well, then I could ship that at least through F-Droid and self-compiled Dec 11 19:33:49 the feature is supposed to be there for apps that cannot work with doze. but not receiving notifications is not considered not working Dec 11 19:34:03 s73v3r: It’s a messaging app. Dec 11 19:34:13 Not receiving notifications for realtime messaging IS not working Dec 11 19:34:28 not according to Google Dec 11 19:34:36 lol yeah, i hate google thinking they know best Dec 11 19:34:37 well, then GCM should not be exempt either. Dec 11 19:34:54 This is definitely going to give a complaint to the EU to add to the antitrust trial. Dec 11 19:34:54 in the conditions where Doze is activated, the user isn’t using their phone. Therefore notifications aren’t a big deal Dec 11 19:35:23 s73v3r: But a person still wants to get a notification if their smart Fire Alarm sends them a notification, or if someone sends them an SMS Dec 11 19:35:28 s73v3r, unless you want notifications that make you using it.. Dec 11 19:35:30 why is only GCM allowed to do so? Dec 11 19:35:43 justJanne, GCM is considered to be part of the android system Dec 11 19:35:44 the idea being that the user is asleep Dec 11 19:35:47 like push on iOS Dec 11 19:36:02 danijoo: That sounds interesting, but Google says opposite Dec 11 19:36:14 justJanne, yeah.. but thats how they act imo Dec 11 19:36:18 you can bypass doze by running a foreground service Dec 11 19:36:19 what's the problem Dec 11 19:36:23 Google said, in the antitrust trial, that the user has the choice with the Android products sold to switch to any competing app they wish to Dec 11 19:36:40 pfn: the issue is bypassing doze without emptying the battery completely Dec 11 19:36:47 so? Dec 11 19:36:50 you can do that Dec 11 19:36:54 run a foreground service Dec 11 19:36:58 but foreground service sounds okay Dec 11 19:37:01 use a foreground service with the JobScheduler API? Dec 11 19:37:02 yeah. they have the choice to use something delivering the notification in 2 hrs instead of immediatly :p Dec 11 19:37:02 if that is true Dec 11 19:37:35 stop complaining about lawsuits and antitrust bullshit Dec 11 19:37:42 it means nothing in the here and now Dec 11 19:37:53 odds are they’ll ease up somewhat for Android N Dec 11 19:37:55 if you don't like it, go somewhere else Dec 11 19:38:05 pfn: that’s a pretty crappy solution Dec 11 19:38:24 Well, a foreground service is at least one solution, I have to use that in some cases already anyway. Dec 11 19:38:26 then do something about, complaining doesn't fix Dec 11 19:38:40 pfn: Sending lawyers is the fastest way to get a reaction from Google Dec 11 19:38:53 that's absolutely false Dec 11 19:38:54 hey pfn Dec 11 19:38:57 even calling them leads to them hanging up on you in the middle of a sentence Dec 11 19:39:00 unless by reaction, you mean in 3 or 5 years Dec 11 19:39:08 pfn: Yes, better than no reaction at all Dec 11 19:39:15 3 years is still less than never Dec 11 19:39:17 meaningless Dec 11 19:39:21 go ahead, send lawyers after google Dec 11 19:39:48 release the hounds ! Dec 11 19:39:59 I’m not stupid enough to send my own, I usually complain to the local Antitrust or Data Privacy official, who then goes after Google Dec 11 19:40:18 yeah, go do that Dec 11 19:40:21 ignoring you for now Dec 11 19:40:22 the name Thilo Weichert, Data Privacy official in my city, should be known by now, after the countless cases against facebook Dec 11 19:40:30 and never heard of that person Dec 11 19:42:14 Anyway, the issue is real. Dec 11 19:42:46 Dianne Hackborn also says foreground services still work, so I’ll have to use that then Dec 11 19:42:59 justJanne there is a bug there too though Dec 11 19:43:13 g00s: uggggh, not again. What’s that bug? Dec 11 19:43:19 they’ve received plenty of complaints. the issue is that since they gave absolutely no thought to updates, they won’t be able to fix Doze until Android N Dec 11 19:44:21 justJanne i think its https://code.google.com/p/android/issues/detail?id=193802&q=label%3APriority-Medium&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Dec 11 19:44:30 oops Dec 11 19:44:31 https://code.google.com/p/android/issues/detail?id=193802 Dec 11 19:44:40 s73v3r: Well, they managed to fix the time sync in 6.0.1 already Dec 11 19:45:24 right, but because they gave no thought on how to update the system after release, you can’t really count on people getting it Dec 11 19:46:31 s73v3r: well, they could at least update the GSF to allow you to specify a SocketAddress to which GSF would keep a connection with 28min heartbeat open, and then would wake up your app as soon as a message arrives Dec 11 19:46:37 Of course, because of that same problem, your problem with Doze is also made smaller, because such a tiny amount of people have Android Marshmallow Dec 11 19:46:38 (effectively, similar to self-hosted GCM) Dec 11 19:48:43 s73v3r: well, currently I have no problem either – the old version of the app simply uses a foreground service which constantly keeps a socket open, or reconnects on socket failure, and uses that. Dec 11 19:49:05 but I hoped I’d be able to modify that into a more reasonable, power-saving system Dec 11 19:50:34 howdy folks, question for anyone up for it about bitmaps and android Dec 11 19:50:54 just ask it Dec 11 19:51:03 roger that...here goes Dec 11 19:51:13 So here's a good question, how do you think Waze handles Doze mode? Dec 11 19:51:21 if i want to layer a bunch of different images, what's the best approach? Dec 11 19:51:34 these are images with transparency that layer on top of one another Dec 11 19:51:49 i've tried a few ImageViews in a FrameLayout and that seems to work OK Dec 11 19:51:57 I don’t think Waze has to worry too much, as most people using Waze are in a car, and so are moving Dec 11 19:52:07 but another approach is to combine the bitmaps into a canvas and then display the combined bitmap Dec 11 19:52:08 plus, foreground service and all Dec 11 19:52:11 android-dev971, LayerDrawable in xml Dec 11 19:52:18 the second approach leads to more out of memory errors Dec 11 19:52:28 or in code. Dec 11 19:52:29 and I'm wondering if there's something i could do differently when loading Dec 11 19:52:45 cool, i will look into that. thanks, danijoo Dec 11 19:53:10 i’m assuming these images are dynamically composited? Dec 11 19:53:40 android-dev971, http://pastebin.com/ig7Tyddn Dec 11 19:54:11 you can do the same in xml Dec 11 19:54:20 depending on if its dynamic or not Dec 11 19:54:30 got it Dec 11 19:54:39 i'm trying it as we speak Dec 11 19:54:44 thank you Dec 11 19:55:23 Yes, but Waze constantly receive updates from the server about the location of other cars? It runs in the background as a foreground service and unless my understanding of the discussion between justJanne and the bug that g00s posted in the room is correct, a foreground service is currently affected by Doze. Dec 11 19:55:29 Am I understanding this correctly? Dec 11 19:55:45 it is, but I don’t think the phone would go into Doze mode Dec 11 19:56:05 the_rabbit: the phone only dozes after 30min+ of not moving and screen locked Dec 11 19:56:21 even if you’re in gridlock, slow moving traffic, the bursts of movement should fend it off Dec 11 19:56:50 what if the user hasn't been moving for extremely long periods of time? say like an 4 hours? Dec 11 19:57:14 I'm assuming movement won't wake the phone up. Dec 11 19:57:15 the car is still rumbling, and the user has the screen on Dec 11 19:57:42 and i seriously doubt the user is going to be stuck in traffic, not moving at all, for 4 hours Dec 11 19:58:04 plus, the user would probably have the phone plugged in if they’re stuck for that long. Dec 11 19:58:18 yeah you forget theres a pretty big time until doze actually kicks in Dec 11 19:58:45 man.... alright so, I'm going to ask the next question and it's going to seem outlandish. Dec 11 19:59:05 what if the user is in a situation that is a little of their control. Dec 11 19:59:06 ? Dec 11 19:59:21 you’re gonna have to ask that again, cause I’ve got no idea what you said Dec 11 19:59:40 and even with that, you’re asking all these “What ifs” that are highly unlikely to happen Dec 11 19:59:59 any sl4a experts around? Dec 11 20:00:21 the_rabbit: GCM or SMS or so then still work Dec 11 20:00:24 I wonder if it's possible to make the dialogs "uncancellable" by tapping on the background? Dec 11 20:00:59 s73v3r: well, I’ve been in a traffic jam for 6h once. The people car in front of us started making a barbeque after 2 hours of being stuck Dec 11 20:01:03 Hamburg, Elbtunnel >_> Dec 11 20:01:34 Thats like a daily thing on the 405 Dec 11 20:01:51 micechal: you could capture touches and just swallow them Dec 11 20:02:30 s73v3r: with the Event facade? Dec 11 20:02:36 tough, alright thanks for answering guys. I appreciate it. Dec 11 20:03:23 yeah, I really hope Android gets more smart with Doze, instead of using the sledgehammer that it currently is Dec 11 20:03:26 nohe427: the elbe tunnel in hamburg has similar issues every day, too. Best suggestion is to drive around, or use the train Dec 11 20:05:16 hello, can anyone point towards how I would build an app version of a online database? Dec 11 20:05:22 i can't google it properly .-. Dec 11 20:05:54 You want an app that connects to a REST API and submits queries or do you want something that connects to Firebase" Dec 11 20:05:56 ? Dec 11 20:06:25 let me understand the difference between the two are first before I answer you (brb google) Dec 11 20:07:03 AGPBI: {"kind":"error","text":"No resource identifier found for attribute \u0027weight\u0027 in package \u0027android\u0027","sources":[{"file":"/.../src/main/res/layout/status.xml","position":{"startLine":31}}],"original":"","tool":"AAPT"} Dec 11 20:07:14 jesus, its 2015 cant they just show the error in the IDE Dec 11 20:08:15 justJanne, pretty sure you didnt have internet in there anyways :p Dec 11 20:08:22 (the elbtunnel) Dec 11 20:09:10 danijoo: well, if we would get into it, it would be no problem Dec 11 20:09:19 ah I see :) Dec 11 20:09:27 the problem was, as always, a truck that hit the roof of the tunnel, leading to that tube of the tunnel being closed Dec 11 20:09:30 so not to beat the Doze/GCM/push notification dead horse some more, but companies like Urban Airship also offer push notifications, and I don’t think they go through GCM. Have they come up with something? Dec 11 20:09:48 as the other tube was under construction, it took almost a day to fix the tunnel Dec 11 20:10:30 s73v3r: they only have one blog post mentioning "Doze": https://www.urbanairship.com/blog/i-o-2015-signals-googles-broader-intentions-beyond-android Dec 11 20:11:25 Does anyone here know a lot about the 6.0.1 root? I've built a custom kernel, but would like to add root ability to it. I know I'm supposed to change something in the kernel, but I figure out what. Dec 11 20:11:57 ... wrong room. sorry Dec 11 20:12:31 nohe427: i'm sorry, I'm having difficulty understanding what a rest API is, can you explain the difference to me? Dec 11 20:13:02 you’d be better off researching what a REST api is yourself Dec 11 20:13:10 did you build the database app? Dec 11 20:13:13 okay, alright then Dec 11 20:13:33 aeronautic, are you attempting to build an administration page for a database that you are using or... Dec 11 20:13:34 aeronautic: a post explaining it: http://www.sitepoint.com/developers-rest-api/ Dec 11 20:14:12 Thank you for the page! Dec 11 20:14:52 aeronautic: it sounds like you don’t have much experience – is english not your native language, or are you new to programming? Dec 11 20:15:22 I'm new to programming, sorry. I don't have the ability to accurately explain how I want the app to work in technical terms Dec 11 20:15:39 i wanted to at least be set on the right path before I google everything and learn Dec 11 20:16:17 can you explain what the app is supposed to do in simple terms then? like, in general, not going into detail how it works, but what should the user be able to do? Dec 11 20:17:02 gigster, the uber for programmers. yey. Dec 11 20:17:53 okay, uhm it's for a game I play and i'd like to build a database for fellow players to use and store their information Dec 11 20:18:00 aeronautic: Word. We were all there once. I would look at solving a specific problem first. If you want to build a way to interact with one of your databases such as PostGRES, look at getting PostGRES all set up and then getting something like phppgAdmin installed and then look at sending web requests via a browser to manipulate the database. From there, I would look at developing your own classes to interact and perform the web interactions tha Dec 11 20:18:29 aeronautic: so, what would they store there? just their player profile, or so on? Dec 11 20:18:44 and they can then edit that stuff, and see the profiles of other people, etc? Dec 11 20:18:47 i have an interview with gigster next week Dec 11 20:19:17 ah, first thing I should mention. there is no database I can pull from, I'll be using the wiki and a bunch of testing to get values Dec 11 20:19:38 aeronautic: ah, okay. That is helping a lot, but makes the work for you harder Dec 11 20:20:18 aeronautic, you should still setup your own server and provide a database there because you never know when the other site is changing their layout and break your code Dec 11 20:20:18 that's okay I've got plenty of time xd Dec 11 20:20:28 with your own middleman server you can quickly update the parsing Dec 11 20:20:29 aeronautic: If there isn’t an existing database that you’d be connecting to, then you’d either have to host your own, or use a service like Parse, Firebase, or Amazon to do it for you Dec 11 20:20:41 unless its a real wiki page, then they provide a wiki api Dec 11 20:20:53 hmm, okay then Dec 11 20:21:07 Yeah, sounds like you might want to provide your own server that parses all the data and integrates it, and then provide an API from that to your app Dec 11 20:21:13 most of the work will be in that server Dec 11 20:21:39 this will also allow you to cache the stuff and remove stress from the wiki server. Dec 11 20:21:39 btw, if you need to host yourself, OVH (2$ a month) or DO (5$ a month) are some of the cheapest providers Dec 11 20:22:00 (you might need to upgrade later on to a larger server, in case your app gets more popular) Dec 11 20:22:06 great, thank you! i'm making notes on notepad right now Dec 11 20:22:14 (you could also use one year of free AWS, but that’s only one year) Dec 11 20:23:15 I would recommend Firebase. Its fast and as long as you stay under a certain limit, its free. Dec 11 20:23:24 is there a particular way I should build the database from the wiki? Dec 11 20:23:40 probably Dec 11 20:23:54 but then you’re getting into data modeling, and that’s a pretty tricky thing to answer in general Dec 11 20:24:25 Most of what I'm working off of are very.. set in stone Dec 11 20:24:26 that is a topic that has its own full course in most universities, I don’t think we can answer that so quickly here Dec 11 20:24:40 that is to say, patches and whatnot will not be affecting previous values Dec 11 20:25:24 if its a wikia page, it already provides an api Dec 11 20:25:40 domains are subdomain.wikia.com Dec 11 20:26:02 what is the wiki site you’re talking about? Dec 11 20:26:30 oh you're right there is an API Dec 11 20:26:36 are links okay? Dec 11 20:26:42 well, chain chronicle wiki Dec 11 20:26:53 it's a mobile game Dec 11 20:27:00 this one? http://chain-chronicle-global.wikia.com/wiki/Chain_Chronicle_Wiki Dec 11 20:27:07 yup Dec 11 20:27:26 http://api.wikia.com/wiki/Documentation Dec 11 20:28:46 to expand on this, when calling for values from this, how can I modify it? Dec 11 20:29:14 modify the wiki? Dec 11 20:29:35 :S i'm not sure they'd take kindly to me expanding things that would not be useful for them Dec 11 20:29:56 (the example is that characters from this game have different stats at different levels, the wiki only offers min/max level stats) Dec 11 20:30:21 you might want to look into general Android development first Dec 11 20:30:30 okay, you're right i'm getting ahead of myself Dec 11 20:30:36 then some of these questions might be easier to answer Dec 11 20:31:30 alright, so to reiterate: start with a basic app that calls the wikia API for information? Dec 11 20:32:32 pretty much Dec 11 20:33:26 great! thanks again for everyone's help. I'll go figure it out on my own now since I have direction Dec 11 20:34:24 see you in a few minutes! :D Dec 11 20:34:31 lol .-. i hope not Dec 11 21:03:47 after update android studio to 1.5.1 got this error on preview layouts: java.lang.NumberFormatException: Color value '?attr/colorPrimaryDark' must start with # Dec 11 21:05:27 anyone got that too? Dec 11 21:06:36 the dc? Dec 11 21:09:45 When is android studio 2 comming out? Dec 11 21:11:06 gopar, nobody knows Dec 11 21:11:12 download the canary if you want to test it Dec 11 21:11:58 or just download IDEA 15 and install the android plugin? Dec 11 21:12:02 that works just as well? Dec 11 21:12:08 justJanne, no. Dec 11 21:12:20 2.0 has features idea 15 doesnt have Dec 11 21:19:27 Hi guys, Im using Android Studio.. I added a c++ source file and I need to call a function in MainActivity.java.. I wonder how can I do that? Dec 11 21:21:33 so you generated the file from java source using fancy javah and/or ndk things Dec 11 21:22:41 probably a bit uotdated http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/ Dec 11 21:31:01 hey all Dec 11 21:35:50 Ashiren, Im reading... thanks for the tip Dec 11 21:37:58 Can you guys see this? Dec 11 21:38:02 https://play.google.com/store/apps/details?id=dylan.com.adoptapet Dec 11 21:38:15 drose379, yes, its up ;) Dec 11 21:38:20 :D Dec 11 21:38:37 Do the screenshots look appealing? Dec 11 21:40:19 drose379, the style of them differs.. Dec 11 21:40:30 Hmm what do you mean Dec 11 21:40:33 ie some are with a phone, some are just the screen, some are screen + buttons Dec 11 21:40:59 Thats true, do you think I should go all one or the other Dec 11 21:41:08 idc Dec 11 21:41:10 Oh and the one with buttons is the tablet, was supposed to have one with the tablet Dec 11 21:41:13 i dont think customers care Dec 11 21:41:19 but it looks less professional Dec 11 21:41:36 I personally like the style with the phone arround the screenshot Dec 11 21:41:42 Ok, will update Dec 11 21:41:44 Thanks :) Dec 11 21:42:01 what version of API is better to choose to develop applications ? Dec 11 21:42:31 baltun_, better then what? :p Dec 11 21:42:51 "This app is incompatible with all of your devices." <-- how did you manage that Dec 11 21:43:10 I've got a nexus 5 with android 6 and a 4.3 tablet Dec 11 21:43:28 Thorn, drose379 , oh yeah.. just saw that. I have the same issue Dec 11 21:43:42 Its not compatible with my nexus 4,5 and galaxy tab A Dec 11 21:43:47 Are you guys outside of the USA Dec 11 21:43:53 drose379, yes. Dec 11 21:43:54 ah :) Dec 11 21:43:59 Sorry man :( Dec 11 21:44:03 makes sense. Dec 11 21:44:09 API only gives me animals located in the US of A Dec 11 21:44:27 i didnt even know its possible to regionlock apps :D Dec 11 21:45:05 Guess it is now :) Dec 11 21:45:51 danijoo do you have a "zip code" in germany? Dec 11 21:45:52 I don't really understand why some of emulator configurations doesn't start, what values of parameters I should set - how much memory to allocate, which API to use Dec 11 21:46:05 drose379, yes Dec 11 21:46:16 5 didgit? Dec 11 21:46:23 drose379, yes again Dec 11 21:46:50 I wonder what would happen if I tried a germany zip, could you give me one? Not yours if you dont want, but maybe one you know of Dec 11 21:46:52 PM if you want Dec 11 21:46:57 10117 << berlin Dec 11 21:47:54 Hm, thats giving me results in NY Dec 11 21:47:56 :( Dec 11 21:48:18 Prob also a new york zip Dec 11 21:48:27 I wonder if there are any APIs with international access Dec 11 21:48:34 drose379, where do you get the info from Dec 11 21:48:46 An API Dec 11 21:48:47 drose379, i dont think so Dec 11 21:48:59 also whats with the name all but home? Dec 11 21:49:10 The pets are all, they have it all, but a home :) Dec 11 21:49:25 Ah Dec 11 21:49:40 Did you download? Dec 11 21:49:43 is any difference to develop from root or from my user? when I start "android adv" from root and from my users they started with different lists of avd's... Dec 11 21:49:43 we are not that far in germany ^^´ Dec 11 21:50:58 baltun_, the avds are stored in the home directory of the user Dec 11 21:51:04 root has a different home directory Dec 11 21:52:37 how can I find what happens after application lay down on device ? Dec 11 21:52:49 and the same on emulator ? Dec 11 21:52:55 what means lay down Dec 11 21:54:00 started and finished at the moment Dec 11 21:54:15 without any messages or errors Dec 11 21:55:36 I dont get what you mean.. Dec 11 21:56:18 g00s, it is released Dec 11 21:58:23 danijoo: I have some project that was written by other man. I compile it and start on device. But app is finished straight after starting. How I can find out what happens, what error? Dec 11 21:58:32 is it more clear now? Dec 11 21:58:45 baltun_, read the log Dec 11 21:58:55 where are logs ? Dec 11 21:58:59 logcat Dec 11 21:59:04 the bottom panel in AS Dec 11 21:59:13 AS? Dec 11 21:59:18 android studio Dec 11 21:59:28 mm... Dec 11 21:59:46 this: http://prntscr.com/9d353j Dec 11 22:01:20 ok, when I find in GooglePlay apps by "logcat" there are a lot of different apps with this name. What of these I should use? Dec 11 22:01:48 none of them Dec 11 22:01:53 use the ide Dec 11 22:02:47 ok, thanks a lot, I'll try! It so cool that I can get an answers from you, guys in real time! ))) Dec 11 22:03:09 welcome in the 21th century ! :D Dec 11 22:09:06 drose379: Have you tried checking with D24107? Dec 11 22:09:18 What country is that? Dec 11 22:09:25 the ISO standard says prefixing ZIP codes with the country symbol is supposed to work Dec 11 22:09:42 Where does it say that? Dec 11 22:09:49 well, the ISO standard for international ZIP codes is pretty much "country code" + "country internal ZIP" Dec 11 22:10:30 D24107 or D-24107 would be Country: Germany, State: SH, City: Kiel, District: Suchsdorf Dec 11 22:10:51 is there a way to unload a library? Dec 11 22:11:04 System.loadlib() but unload lib? Dec 11 22:11:10 as there are 5 places on the planet with the ZIP code 24107, just all having different country prefixes Dec 11 22:11:16 (which you notice when entering 24107 in the yahoo weather app) Dec 11 22:11:19 danijoo: my project that i mentioned above is on Cocos2dx and I compile and run it from command line by "ant debug install". How can I find errors at this case? Dec 11 22:11:41 baltun_, try adb logcat Dec 11 22:11:56 in terminal. assuming you have added adb to your classpath Dec 11 22:16:05 I want to display a table of data in my app. TableLayout seems like the obvious choice, but there is no adapter for it? I want my table data to be redrawn when no data is available. Any suggestions to solving this scenario? It seems so common Dec 11 22:16:19 when new data is available* Dec 11 22:18:15 philwantsfish, use a list Dec 11 22:18:27 i think there are also tablelistlayout libraries Dec 11 22:18:28 Or try to find a 3rd party library Dec 11 22:18:31 yeah Dec 11 22:18:50 The problem with list if each "column" wont be spaced properly Dec 11 22:19:27 On Windows Phone the defaults have everything you could ever wish for, but on Android instead we can rely on searching for third party libs, some of which haven’t been updated in months. But at least Material is better than Metro. If Android would just use it everywhere Dec 11 22:19:45 yes, I’m more than just a bit cynic Dec 11 22:19:46 can you use shared element transition animations between fragments prior to L using support lib ? Dec 11 22:20:06 im okay with a third party lib, do you guys know an applicable for me off the top of your head? Dec 11 22:20:29 I don’t see why you’d need a 3rd party lib for this Dec 11 22:20:47 philwantsfish, this is a good source for finding libs: https://android-arsenal.com/ Dec 11 22:20:51 if you don’t have data, set TableLayout view to hidden or gone, and show the blank state Dec 11 22:21:16 s73v3r: the no data was a typo, i mean to say when new data is available Dec 11 22:21:23 justJanne do WP development ? Dec 11 22:22:54 test Dec 11 22:23:08 just redraw the view, I guess Dec 11 22:24:24 I have a list with an edittext below the listView. For a messenger app. I click on the edit text, and the keyboard comes up. The editext is above the keyboard which is good. But the listView isn't scrolled all the way to the bottom. its like the messages are under the keyboard. Ideas? Dec 11 22:24:50 g00s: I used to. Microsoft gave out free devices to devs, was pretty useful. I got introduced to WP programming through a national school-uni cooperation program in STEM, where we had a one-week camp doing WP stuff at the HPI Potsdam. Was still in high school back then Dec 11 22:25:01 on keyboard shown, tell the list to scroll to the end? Dec 11 22:29:50 eghdk: Store the lowest message shown as soon as the keyboard starts to pop out, scroll the list back to that point after that Dec 11 22:30:35 Sounds like you're just not filling from bottom, or the list is actually covered by the keyboard Dec 11 22:31:03 I don’t know if "setStackFromBottom" did that automatically, or not Dec 11 22:31:07 justJanne oh no, cynical already? took me like 20 years to get to that state :D Dec 11 22:31:18 So the list fills from the bottom, but yeah, it's weird that the keyboard seems to cover the listview, but not the edittext Dec 11 22:34:26 eghdk: okay, /that/ sounds indeed weird Dec 11 22:36:17 g00s: well, I’ve just spent a month reimplementing a binary protocol based on a client where the only documentation is "look in the source". Often reading the hex TCP data was easier than the source. Dec 11 22:36:33 Actually, since I can scroll to the bottom of the list, it would seem that the list is not under my keyboard. So the list view IS ressizing correctly, it just isn't in the right position. Storing the position seems hacky in this case. Thoughts? What callback would I even use to move the list to that stored position. Dec 11 22:37:02 eghdk: so, is your edittext now moved properly or not? Dec 11 22:38:45 The editText was always in the right place, (above the keyboard), but now it's just that when I click the edittext, the list should re adjust. Dec 11 22:39:51 g00s: I also had to use reflection to get a Multi-Pane Preference Activity with AppBar using AppCompat Dec 11 22:40:05 after so much shit, you can only react with cynism. Dec 11 22:43:11 justJanne btw, for protocol parsing, i've used ragel - its very nice Dec 11 22:43:24 http://www.colm.net/open-source/ragel/ Dec 11 22:43:52 How do I get butterknife to work with Fragments? Dec 11 22:44:13 gopar, its explain on butterknifes main page Dec 11 22:44:20 lol Dec 11 22:44:27 danijoo, really? How the heck did I miss that :/ Dec 11 22:44:54 wow, found it Dec 11 22:46:18 g00s: ragel wouldn’t help me much. Dec 11 22:47:21 it only does the low-end stuff Dec 11 22:47:45 justJanne: and SimonVT seems like android:transcriptMode="normal" is pretty close to the behavior I want. Dec 11 22:49:35 but, g00s, ragel sounds like it could be useful for another project of mine, reading binary HAFAS data Dec 11 22:52:00 justJanne yeah, developer (adrian) is pretty smart guy. highly recommend it Dec 11 22:55:16 g00s: it just doesn’t help me much when I can do the parsing on my own more efficiently Dec 11 22:55:38 oh ha, i doubt you can do the parsing more efficiently Dec 11 22:55:49 especially using the goto-driven fsm Dec 11 22:56:06 ragel is fast as %$# Dec 11 22:56:11 the protocol I interacted with was mostly QtDatastream: Sends a uint_32 of buffer size, then a uint_32 to define the type, then a byte to mark "isNull", then the content. Dec 11 22:56:32 oh for trivial stuff, yeah maybe not worth it Dec 11 22:56:35 (and multiple pieces of content could be in a row, too – in that case the outermost piece just has the type list) Dec 11 22:57:02 so I can just have a registry of type parsers that take a buffer, return a value and advance the buffers pointer Dec 11 22:57:35 and then I can just say intparser is just: take 4 byte, cast to int, pointer += 4, return int Dec 11 22:58:22 a boxed type parser is just: take int, look up type in registry. take boolean, call it "isNull". If not "isNull", apply parser of the type gotten from the registry to buffer, return box of value Dec 11 22:59:29 so, very simple stuff Dec 11 22:59:41 and then I use an event-based system to do all the stuff, Dec 11 22:59:58 use an executor for the parsing and so on, so I can give a time limit for parsing a buffer, Dec 11 23:00:01 and yeah Dec 11 23:18:51 hi guys, does android studio only come in 64bit and does it affect any apk data? Dec 11 23:19:05 maybe, and no Dec 11 23:19:17 so google play fucked up my phone so badly that T-mobile had to send me a replacement Dec 11 23:27:17 12-11 23:27:21.809 4241-4257/com.ktxsoftware.Blaster A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 4257 (oftware.Blaster) Dec 11 23:27:28 whoops wrong chat Dec 11 23:34:01 define ¨affect apk data¨? Dec 11 23:36:08 I’m not sure, for some time NDK would only compile on 64-bit Dec 11 23:36:14 dunno if that’s still the case. Dec 11 23:57:39 danijoo: I have no specifics, just wondering it would affect the apk in some way that could cause some devices not to run it Dec 11 23:57:59 but emulator is also giving me issues so i know it's not the ndk Dec 11 23:58:07 i mean my android settings Dec 11 23:58:18 it's the software im using Dec 11 23:59:40 and by software i mean frameworks/libraries Dec 12 00:33:49 in AS XML editor, lets say i have , and I'd like to put those into a new parent ... so . seems to happen a lot when i'm editing layouts and decide to put things in a viewgroup Dec 12 00:34:24 whats the best way to do this? i always wind up typing abd then AS autocompletes it on the same line, so I copy the closing tag past the children, etc Dec 12 00:34:43 g00s, i do the same.. Dec 12 00:34:50 are you looking for a shortcut? Dec 12 00:34:56 yeah - something like ... select children, then type parent tag Dec 12 00:35:06 and have them automatically be elements of the parent Dec 12 00:36:00 the problem is that would clash with the typical editor experience of (marking + typing) = replacing Dec 12 00:38:07 danijoo found it, select the children , then say Code -> Surround With Dec 12 00:40:15 you get autocomplete on the tag, but no attribute completion Dec 12 00:40:44 hm.. thats not really faster moving the closing tag after creating it :S Dec 12 00:41:04 ah nvm Dec 12 00:41:07 it has a shortcut Dec 12 00:41:08 so it is Dec 12 00:41:14 but I wont be able to remember it :p Dec 12 00:42:14 danijoo yean sometimes Eclipse structured XML editor was nice Dec 12 00:42:45 move nodes around Dec 12 00:43:21 I cant remember Dec 12 00:43:39 I only used eclipse for like 3 months before AS came out Dec 12 00:44:13 And man.. when I see my code from that time ... Dec 12 00:45:59 then you end up extracting the ugly parts into a library, import it, and never look at it again Dec 12 00:46:43 then you call it 'support library' \o/ Dec 12 00:46:49 haha Dec 12 00:47:42 exactly. Dec 12 00:47:54 And then others build similar libs around it. Dec 12 00:47:57 And so on. Dec 12 00:48:17 then you call it a 'Modern WebScale JavaScript Ecosystem' Dec 12 00:48:20 justJanne: Why not make the ugly parts non-ugly? Dec 12 00:48:24 * justJanne pukes about JS Dec 12 00:48:32 TacticalJoke: that’s the tactical Joke Dec 12 00:48:38 If the ugliness is in Android, there's nothing we can do, but if it's in our code then we can surely fix it. :D Dec 12 00:48:41 talk about JS, i'm using Atom - 1.3 is pretty damn nice Dec 12 00:48:50 and what MS is doing on VS Code is amazing Dec 12 00:48:55 g00s: yeah. But look at it. Dec 12 00:49:17 i wanted to play around with electron, but i'll try to use TypeScript instead Dec 12 00:49:21 you have compilers in JS that compile from a JS dialect down to JS, to get rid of some stupid scoping concepts, Dec 12 00:49:36 you have the neat feature of []+{} being not {}+[], Dec 12 00:49:56 you have the issue of Number("2") being 20 times slower than "2"-0 in Webkitm Dec 12 00:50:03 lol Dec 12 00:50:04 unless you afterwards do a isNaN Dec 12 00:50:12 you have issues where Dec 12 00:50:29 while(i--) is 50 times faster than a for loop Dec 12 00:50:29 makes support library look well designed :p Dec 12 00:50:30 etc Dec 12 00:50:50 for a good laugh: https://www.destroyallsoftware.com/talks/wat Dec 12 00:50:56 (not just JS) Dec 12 00:52:34 hows your app going TacticalJoke Dec 12 00:52:49 justJanne: where did you hear while loops are 50 times faster...? Dec 12 00:53:01 orbyt_: while (i--) used to be a lot faster. Dec 12 00:54:11 https://blogs.oracle.com/greimer/entry/best_way_to_code_a Dec 12 00:54:13 That would depend on the language/compiler. But assuming your talking about java, where did you hear that? Dec 12 00:54:21 JS, not Java Dec 12 00:54:28 I was making fun of JS Dec 12 00:54:40 Java has luckily a compiler that optimizes that stuff away Dec 12 00:55:46 on Firefox 2.0, you had differences from 6000ms to 170ms, back in the day Dec 12 00:56:11 i'm using FF 44 (dev edition) with split process, its pretty depressing Dec 12 00:56:23 i mean, super slow and janky Dec 12 00:56:23 (for looping through a few tenthousand items, as JS actually did a method call for every iteration to check the array length if you used (i < arr.length)) Dec 12 00:56:42 g00s: that shouldn’t happen, maybe your addons are to blame? Don’t use ABP Dec 12 00:56:50 i dont have ABP Dec 12 00:56:56 hm Dec 12 00:57:04 dont have anything, i just try it out next to safari Dec 12 00:57:15 safari is butter smooth Dec 12 00:57:57 FF seems to really struggle on amazon.com - and has problems rendering d.android.com Dec 12 00:58:17 so , not rendering d.android.com well is kinda a problem - but i wish google didn't use that crappy JS side nav Dec 12 00:58:39 it works for me on FF 44 Dec 12 00:58:48 did you enable e10s? Dec 12 00:59:18 what are your most used third party libs? Dec 12 00:59:18 justJanne try scrolling up and down the side nav Dec 12 00:59:31 justJanne yeah multiprocess is on Dec 12 00:59:32 g00s: well, of course that’s not smooth Dec 12 00:59:39 Bubo, kotlin stdlib :p Dec 12 00:59:40 cause Google disabled smooth scrolling for that, Dec 12 00:59:51 when they replaced the scroll listener for non-webkit browsers Dec 12 00:59:58 justJanne oh, but scrolling the side nav for me causes the rest of the page to scroll too Dec 12 01:00:16 well, weird, but: Google issue. File a bug with them. Dec 12 01:00:27 on chrome + safari it works OK Dec 12 01:00:33 not really sure whos issue it is Dec 12 01:00:37 Okay, let me explain: Dec 12 01:00:43 danijoo, why kotlin? Dec 12 01:00:44 Firefox has no way to style scrollbars. Dec 12 01:00:53 so Google, in their infinite wisdom, Dec 12 01:01:00 disabled scrolling in that sidenav in FF, Dec 12 01:01:08 and use a shitty javascript handler to replace it Dec 12 01:01:19 in Chrome and Safari, they use CSS to style the scrollbars Dec 12 01:01:25 Bubo, because i like it more then java Dec 12 01:01:45 justJanne so you think the JS is defective then Dec 12 01:01:57 its been like this for years Dec 12 01:01:59 g00s: well, it’s worse than native scrolling Dec 12 01:01:59 lol Dec 12 01:02:01 danijoo, the syntax seems a bit simpler Dec 12 01:02:05 or at least not that verbose Dec 12 01:02:11 and yes, it’s been like this for yours Dec 12 01:02:13 *years Dec 12 01:02:15 yeah thats one of the pros Dec 12 01:02:31 but Google search on firefox mobile hasn’t supported search options (like image size, etc) since 2011 Dec 12 01:02:34 like, forever Dec 12 01:02:40 danijoo, so what about android libs :D Dec 12 01:02:42 justJanne i dont care if its janky, but its totally bizarre when you go to scroll the side nav and then the rest of the page scrolls along with it Dec 12 01:02:55 Bubo: http://jakewharton.github.io/butterknife/ ButterKnife. Pure awesome Dec 12 01:02:57 but if you see that too, interesting - its not just me Dec 12 01:03:12 Bubo, kotlin-android-extension library :D Dec 12 01:03:13 Bubo: https://github.com/afollestad/material-dialogs MaterialDialogs. Awesome, too Dec 12 01:03:41 Bubo: and awesome material viewPager lib: https://github.com/florent37/MaterialViewPager Dec 12 01:03:47 justJanne, i've seen butterknife it seems really neat Dec 12 01:03:55 (just the top entries of my lib bookmark folder) Dec 12 01:04:16 justJanne, share more Dec 12 01:04:20 Picasso is a default dependency for me Dec 12 01:04:24 and RxAndroid Dec 12 01:07:44 Okay, this may sound stupid, but: What makes RxJava so awesome? Dec 12 01:09:17 * g00s waiting for pron's quasar port to android + concurrency goodies built on top of it Dec 12 01:10:30 and who knows, since he did some kotlin support, maybe it will even work with kotlin on android Dec 12 01:10:32 how about a book on android? which one would you recommend? Dec 12 01:11:16 Bubo, i suggest to not use a book Dec 12 01:11:28 because kinda changes yearly Dec 12 01:11:46 books are outdated pretty fast and you can get the basics from online tutorials as well Dec 12 01:12:00 danijoo, well thing don't change that much Dec 12 01:12:32 things* Dec 12 01:14:13 permissions system changed this year Dec 12 01:14:27 the whole designing/actionbar stuff too Dec 12 01:17:47 danijoo, The Busy Coder's Guide to Android Development is updated all the time Dec 12 01:18:59 but they wont update your printed book :p Dec 12 01:19:17 i think Doze mode and knowing how that impacts you is pretty important too Dec 12 01:19:30 g00s, but still no good docs about it.. Dec 12 01:19:38 yeah thats why we need books :P Dec 12 01:19:55 on iOS no shortage of awesome docs + books Dec 12 01:21:48 danijoo, which online tutorials would I use? vogella? Dec 12 01:22:00 maybe if all devs start paying google 100$ per year just to be able to dev, we get good docs :p Dec 12 01:22:05 Bubo try udacity course, codepath, and d.android.com Dec 12 01:22:58 g00s, the udacity course is videos right? Dec 12 01:23:02 ya Dec 12 01:23:22 yes. udacity is very good imp Dec 12 01:23:22 i can't watch videos, they are too time consuming Dec 12 01:23:25 i'd rather read Dec 12 01:23:48 i think the best book is Reto's but the schedule keeps slipping out Dec 12 01:24:02 Reto's? Dec 12 01:24:07 also do you have a link for the course? Dec 12 01:24:08 Reto from google Dec 12 01:24:17 not offhand Dec 12 01:24:43 well there are more it seems Dec 12 01:26:45 g00s, which one did you mean? https://www.udacity.com/courses/android Dec 12 01:26:47 big nerd is supposed to be good Dec 12 01:29:20 it is i've read it Dec 12 01:29:51 then you should be set O.o Dec 12 01:30:00 http://www.amazon.com/Professional-Android-Reto-Meier/dp/1118949528 Dec 12 01:30:15 g00s, i haven't read it fully Dec 12 01:30:18 like 70% Dec 12 01:30:45 I just want to read one book cover to cover so I can learn android more throughly Dec 12 01:35:27 The best way to get to know Android is by (a) knowing Java. Yes, it hurts, but you need it, (b) experience, experience, experience. (c) being able to read the documentation. and then, only then (d) having knowledge of some weird edge cases only documented in books or random Google+ posts from Dianne Hackborn Dec 12 01:35:35 * pfn wonders what simple_list_item_1 does for long text Dec 12 01:35:53 ah, it scrolls, excellent Dec 12 01:36:17 er, it wraps Dec 12 01:36:21 rofl at (D) Dec 12 01:36:23 (d)* Dec 12 01:36:39 eh, edge cases are easily found by googling Dec 12 01:37:00 * pfn ponders Dec 12 01:37:09 Uhh, no. Many require knowing about them *before* you can google them. Dec 12 01:37:37 ok, this new feature is working well enough, ship it! Dec 12 01:37:54 Yes, like spending hours trying to find that weird bug when your app crashed on KitKat, but only KitKat. Dec 12 01:38:01 And it was a bug in AppCompat. Dec 12 01:38:22 random, unsubstantiated example OP Dec 12 01:39:02 The KitKat "crash on rotation" crash of AppCompat is well known, right? Dec 12 01:39:09 It was even in the patch log. Dec 12 01:39:58 no idea what you're talking about Dec 12 01:41:12 do you always use the latest sdk version in target sdk? Dec 12 01:41:22 Doesn't matter, it was a fairly well known example of such an issue. Dec 12 01:41:40 Bubo, very much depends Dec 12 01:42:50 pfn on? Dec 12 01:45:35 Bubo, if you actually need or want the latest version Dec 12 01:46:01 Bubo remember, if you want to use Support Library X, targetSdk must be X Dec 12 01:46:33 so you probably want to use the latest Dec 12 01:46:36 wouldn't you want ot use the latest? Dec 12 01:46:43 but must test when they add things like permissions :D Dec 12 01:46:55 in what file the logcat is placed in ? Dec 12 01:47:06 baltun_ i think its a ring buffer in memory Dec 12 01:47:34 how can I see it from command line? Dec 12 01:47:40 what do you use for testing android apps? Dec 12 01:47:40 adb logcat :P Dec 12 01:47:52 is there a third party lib that everyone uses or not? Dec 12 01:48:01 adb logcat makes it not readable Dec 12 01:48:38 I prefer lolcat Dec 12 01:49:18 lolrat Dec 12 01:50:06 there's adb lolrat? Dec 12 01:50:39 or sorry, there is no... Dec 12 01:50:47 and lolcat is exist :) Dec 12 01:51:04 thank you Dec 12 01:51:15 Bubo: not really. The only time when really everyone used a 3rd party lab was with ActionBarSherkock, back in the days. Dec 12 01:59:01 what avd CPU you usually use ? Dec 12 02:00:38 Android TV ARM, Android Wear, ARM, Intel Atom (x86 and x64)? Is any difference to test apps? Dec 12 02:02:47 I made AVD with parameters: Nexus 4, Android 5.0.1 (API Level 21), Android TV ARM - and it loading so very-very long... Dec 12 02:03:55 is there away to downgrade from 5.0.1? Dec 12 02:09:38 Leeds sorry again, it's my idiotic mistake.. Dec 12 02:18:34 do you use java 7 or 8 Dec 12 02:24:55 I use java 8. Why? Dec 12 02:28:29 just asking Dec 12 02:41:59 baltun_: you should probably use a virtualised x86 AVD Dec 12 02:44:28 thanks! Dec 12 02:49:57 [exec] Failure [INSTALL_FAILED_NO_MATCHING_ABIS] Dec 12 02:54:20 Leeds: x86 emulators are loaded in 10 times faster then arm! but app doesn't work on it :( **** ENDING LOGGING AT Sat Dec 12 02:59:59 2015