**** BEGIN LOGGING AT Wed May 25 02:59:58 2016 May 25 03:02:46 g00s, haven't seen many comments so far...I wish the frame rate was universally zeroed out for arm by default, but... May 25 03:03:13 motivation to fix that any how May 25 03:03:40 I posted to reddit /r/androiddev but someone flagged it May 25 03:03:46 I wish I could get motivation to do anything usefull. May 25 03:19:47 Ologn oh yeah, can't really post apps to /r/androiddev May 25 03:22:11 hai May 25 03:22:38 according to this, google may be adding RPi3 to AOSP May 25 03:22:50 Leeds still have your rpi ? May 25 03:26:32 "Samsung executives told Fast Company today that no more Samsung Android Wear devices are in development or being planned. " May 25 03:34:47 https://i.imgur.com/P3UNP0b.png why does this keep happening when i try to flash system May 25 03:35:12 https://i.imgur.com/wRJThHd.png and htis happens whe i try to click the flash-all.bat May 25 03:36:29 wrong channel May 25 03:36:57 . May 25 03:37:02 why would it be wrong one May 25 03:37:15 im wrong person :I May 25 03:37:39 see topic May 25 03:37:55 root then? May 25 03:38:30 worthless May 25 03:39:23 haha May 25 03:39:40 no wonder why he's having problems : can't read :D May 25 03:40:18 bankai_ we need some kind of bot, when you join the channel , it asks you if this is root related, and if so, redirects you to android-root :D May 25 03:40:59 nuh, instant disconnect May 25 03:42:11 lol, glad to see my app is quite popular in its pirated form :D May 25 03:44:24 That's why I write ad-supported apps May 25 03:44:51 I met a guy who owned like two dozen 7-11s, I told him I was an Android developer, he told me how many Android apps he pirated May 25 03:45:08 heh May 25 03:45:20 711 apps ! May 25 03:46:09 that monument valley article a few days ago - i remember ustwo guys saying only 10% customers paid for it May 25 03:46:16 so thats like 90% piracy rate haha May 25 03:46:20 go android May 25 03:47:19 thought everyone was going in-app these days May 25 03:47:34 Ologn i've heard piracy is a problem on iOS too, but i think its more difficult ? maybe not possible unless they root the device ? May 25 03:48:11 Probably less of a problem May 25 03:49:02 hm, when i use TransitionManager and hit buttons quickly stuff crashes more often May 25 03:49:11 just don't do that May 25 03:49:17 i have no idea what i'm doing, maybe i'll take out TM May 25 03:51:03 it would be great if you could say something in xml like red_alpha = red | 0xf000 May 25 03:59:35 g00s: yeah, still got it - but it's not an RPi3... May 25 04:00:04 also, on the Samsung Android Wear thing - they only ever released one AW device, and it was 2 years ago... not exactly a world-shattering announcement May 25 04:00:43 although self serving they say tizen is much more memory efficient May 25 04:04:41 it's quite possible that it does May 25 04:04:46 er, is May 25 04:05:13 battery efficiency seems like it would be priority #1 for that form factor / power constraints ... May 25 04:05:53 can't imagine running java on a watch, sorry guys :D May 25 04:06:56 why? it’s the same processors as the phone May 25 04:09:06 i'd rather have manual memory management, not GC there May 25 04:10:14 i thought it was widely acknowledged by now, both iOS and windows phone go much further with HW specs than android did May 25 04:11:14 turns out that my watch has a 100MHz Cortex-M4 in it... May 25 04:20:41 s73v3r bah i can't find it, still trying though. android needs much more memory to do the same thing as iOS May 25 04:22:48 i'm kinda surprised android watch is not more like Brillo, and you just write in native code May 25 04:23:02 they would have to figure out something for the UI May 25 04:23:40 but a GUI toolkit for a 1" circle doesn't seem like ... that much work :D May 25 04:24:15 but there would be no code reuse between wearable and phone, which could suck May 25 04:27:58 I dunno, it wasn’t that long ago that people would’ve said the same for the phone May 25 04:28:14 the Pebble uses C for it’s apps May 25 04:28:20 as well as JavaScript May 25 04:29:40 Pebble are pushing their JS toolkits more and more... they've proudly announced that the default watchface on their newest firmware release is something like 30 lines of JS rather than thousands of lines of C May 25 04:29:55 lol, thats nice :) May 25 04:30:27 s73v3r if you do it in C, do they give you more than the typical anemic C stdlib with shit like strcmp May 25 04:30:48 i mean, C is pretty awful if you can't get libraries for basic stuff May 25 04:30:51 I don’t know offhand May 25 04:31:06 at least c++ stdlib is stl, etc May 25 04:31:33 has STL May 25 04:32:08 C is the last honest language. It doesn't lie about what it can do, it's just straight with you. May 25 04:32:08 but yeah, there often are kernel calls you can make from C that aren't possible from Java May 25 04:34:40 I haven't done any C in over a decade, which makes life much easier May 25 04:35:01 haha c is degenerate May 25 04:35:05 java ftw May 25 04:36:39 oh, 232 lines of C, not thousands :) https://gist.github.com/HBehrens/1a91b97e1e98a6a09c5f May 25 04:41:34 s73v3r https://www.quora.com/Why-is-the-iPhones-1-GB-RAM-touted-to-be-able-to-compete-with-more-than-2-GB-RAM-of-Android-phones/answers/7061202 May 25 04:43:08 but our GC has gotten better since then May 25 04:43:32 CedricBeust> I thought asm was :/ May 25 04:43:44 Asm definitely is as well May 25 04:43:56 ASM isn't really a language May 25 04:44:11 Yeah it is May 25 04:44:17 g00s: because java vs C compiled code :) May 25 04:44:24 clang compiled code May 25 04:44:31 industrys top compiler May 25 04:44:35 These days, Java is close to being as compiled as C May 25 04:44:44 CedricBeust> what's the deal with A.S. when forced closed and restarted it tanks on gradle build. Even if nothing has happened to said code. May 25 04:44:55 CedricBeust: c is c, java is shit May 25 04:45:08 lol tell us how you feel squ May 25 04:45:10 Both are solid languages with clearly identified strenghts May 25 04:45:16 oops, a typo, I meant c is c, java is java May 25 04:45:26 suppose you're working on a production app where you want to be careful about upgrades May 25 04:45:26 g00s: :) May 25 04:45:41 http://pastebin.com/MGYW3heY - > anyone wanna help remedy. The error code is bogus. May 25 04:45:44 how risky is upgrading the build tools version? May 25 04:46:08 * impliednude <3's asm / Vasm only May 25 04:46:31 is there any reason to not use the most recent build tools release? gradle release? May 25 04:47:09 someone knows how to handle date deserialization with retrofit? May 25 04:47:14 if it's working, don't touch it :) May 25 04:47:21 rusty> unless the project is defined by another version. May 25 04:47:41 I've tried new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").create(); but the date field of the class is null with a date like 2016-05-21T23:29:54Z May 25 04:47:45 Upgrading build tools should be pretty safe May 25 04:49:04 RustyShackleford as long as you aren't using RC build tools ... May 25 04:49:26 i guess your build could break tho May 25 04:49:51 you might have to update your gradle plugin too May 25 04:50:02 and then gradle May 25 04:50:03 lol May 25 04:50:08 if they are all really out of sync May 25 04:50:09 and assuming you figure out the conflict, wouldn't your compiled app be pretty much identical? May 25 04:50:14 which could mean AS update May 25 04:50:19 and then, maybe update the OS May 25 04:50:26 see? don't do it! May 25 04:50:34 how about AS updates? May 25 04:50:56 C was written once and revised once, java gets revised a million times, I don't mind them adding new functionality, but I get mad when they tell you to forget the old way and replace a keyword with a better sounding keyword May 25 04:50:59 anyone? last try. http://pastebin.com/MGYW3heY - My entire build was working perfectly until I mistyped a char which screwed gradle build. I forced restart. Fixed the letter. however, now even though nothing has been modified its spitting out that error. Please assist... May 25 04:51:05 the architect is reluctant to upgrade to 2.0. I argue that we could all use different versions of AS and not add any risk May 25 04:51:47 RustyShackleford get 2.2 beta and add come ConstraintLayout stuff :D May 25 04:52:23 g00s, got me there yeah May 25 04:52:31 RustyShackleford there were big changes between gradle plugin 1.5.x and 2.0 though - May 25 04:53:59 although i wouldn't use RC / beta stuff, i don't see the value of staying on 1.5. not like the older stuff is necessarily better May 25 04:54:06 if we upgraded to 2.0+, would there be issues if you're still using 1.5 May 25 04:54:26 upgrade to gradle plugin 2.0+, AS 1.5 May 25 04:54:40 well there are some build DSL changes for dex in process ... May 25 04:55:27 but it would probably work if you accept the defaults May 25 04:55:38 I guess I could try it tomorrow May 25 04:55:40 i think it has max processes = 4 as default, if thats ok with you May 25 04:57:33 I find having upgraded AS to current that the minor revisions on debug to be helpful May 25 04:57:44 since it runs so much faster May 25 04:58:21 the emulator is the main reason I want to use AS 2.0+ May 25 04:59:26 Just trying to build my argument lol. I don't think they have much of an argument except they don't know so we're going to be cautious May 25 05:00:31 RustyShackleford volunteer to be canary :) May 25 05:00:50 I definitely do. I know i've bitched a ton here but I'm sorta killing it May 25 05:01:32 I rewrote our gradle scripts so they're neat, organized, and take advantage of gradle/maven May 25 05:02:05 15-18 minutes down to 7-8 minutes just because we don't have to rebuild all of our dependencies May 25 05:02:43 and shockingly enough, newer versions of android tools and gradle build significantly faster May 25 05:02:46 RustyShackleford> and the newest AS would make minor revision 30 seconds. Which is a ++ May 25 05:03:07 i get 5 second builds now May 25 05:03:13 with IR May 25 05:03:17 instant run? May 25 05:03:25 yeah May 25 05:03:36 yeah. There are issues with this project so instant run will not work May 25 05:03:46 i think it takes longer to send the app to device :P May 25 05:04:03 android tools don't detect changes in xml resources when they're in nonstandard places May 25 05:04:28 as bankai_ would say "then don't do that" :D May 25 05:04:33 so you have to clean and rebuild the whole damn thing to see your changes show in the emulator May 25 05:05:51 I wrote a script that will fix this whole problem in about 5 seconds by copying layouts/string resources/drawables to their proper location. Just need to convince this asshat to let me do it May 25 05:06:13 that sounds like crap RustyShackleford May 25 05:06:18 why would you do that ? May 25 05:06:27 my work or theirs is crap? May 25 05:06:29 why not just put stuff in the standard locations May 25 05:06:49 to work around our terrible use of version control May 25 05:07:02 fix that :/ May 25 05:07:11 also working on it May 25 05:07:29 actually that was fixed. This is just some junk leftover after May 25 05:07:59 so frustrating. Its a 20 minute job May 25 05:10:13 regardless. anyone have a quick fix for my said issue? May 25 05:22:36 why kotlin is getting popular when its just a alternate to java May 25 05:23:20 one reason may be that android developer completely fed up from android May 25 05:25:26 because java improves slowly, 3rd party languages can iterate much faster May 25 05:31:49 this si the only reason May 25 05:31:56 *is May 25 05:35:29 being a language compatible with Java has its advantages May 25 05:37:54 this i like most Kotlin comes from industry, not academia May 25 05:38:00 lol May 25 05:38:13 https://medium.com/@octskyward/why-kotlin-is-my-next-programming-language-c25c001e26e3#.643wuq2pn May 25 05:38:19 I'm having an issue reading touch input May 25 05:38:33 don't worry, oracle will buy them in a few years and 'fix' everything :) May 25 05:38:38 I need a way to find a list of touches and their position on the screen May 25 05:38:41 Is that possible? May 25 05:40:52 you want to find an existing list of historic touches or you want to capture touche positions in your app? May 25 05:46:49 Capture the touch positions May 25 05:48:47 I'm doing this right now, but the touch_move isn't being fired. Am I doing anything wrong? May 25 05:48:48 https://github.com/sriharshachilakapati/SilenceEngine/blob/silenceengine-1.0.1/backend-android/src/main/java/com/shc/silenceengine/backend/android/AndroidInputDevice.java#L191 May 25 05:54:58 Guys anyone? May 25 05:55:57 I'm doing this right now, but the touch_move isn't being fired. Am I doing anything wrong? May 25 05:55:58 https://github.com/sriharshachilakapati/SilenceEngine/blob/silenceengine-1.0.1/backend-android/src/main/java/com/shc/silenceengine/backend/android/AndroidInputDevice.java#L191 May 25 06:02:39 are you getting the down event? May 25 06:06:37 eh guys , I have a class that extends Application and within it are 3 hashmaps , sometimes when to many items are added in and an iteration has to go through , the application crashes May 25 06:06:37 ? May 25 06:06:55 any logs? May 25 06:07:14 too many? 1000? 1000000? May 25 06:07:38 3+ , i'll tell you the exact log now, just replicating the bug May 25 06:08:25 java.util.ConcurrentModificationException May 25 06:10:19 any suggestions on avoiding this error May 25 06:10:42 you (probably) have two threads modifying the same list May 25 06:11:07 the fix is "dont" - but to avoid it you need to find out where it is being modified, which the stack trace will tell you May 25 06:11:36 you can synchronize around the points where you modify the list so that two thread do not hit modification code simultaneously May 25 06:11:50 spid3rMin3: any questions? May 25 06:22:40 so my alarmmanager delayed intents are not fired properly, but i can see them i dumpsys and then disappearing May 25 06:31:58 hello. I am asked to help debuging a glitch in a GUI ... which seems due to a hidden character. I am seeking for UTF/ISO issue. <