**** BEGIN LOGGING AT Sun Oct 19 03:00:00 2014 Oct 19 03:06:33 oh well first error when i switched thepath\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\5.0.89\res\values\wallet_attrs.xml Error:Attribute "theme" has already been defined Oct 19 03:08:00 ewww backslashes Oct 19 03:08:33 i know... but i cant use illustrator on my gentoo Oct 19 03:09:51 oh forgot goole play services Oct 19 03:09:59 hope that doesnt affect this old phone Oct 19 03:20:23 JakeWharton do you know if we should be using the older maven/uploadArchives or maven-publish ? maybe stuff broke in gradle 2.1 but i can't get the google examples to work Oct 19 03:20:34 maybe they didn't update the examples ? Oct 19 03:21:17 is there a good getting started guide for modern android development? best practices and such Oct 19 03:22:10 maqr, the android developer training thing on their website is pretty good Oct 19 03:22:35 hmm, ok Oct 19 03:22:37 and usually using a bad practice will give you a warning in android studio Oct 19 03:22:45 "bad practive" Oct 19 03:22:47 lol Oct 19 03:23:20 is android studio the thing to be using? Oct 19 03:23:33 what's the dex count on apache utils? Oct 19 03:23:48 maqr, yeah Oct 19 03:24:04 its supposed to be buggy but i havent encountered any major ones yet Oct 19 03:24:07 its really awesome though Oct 19 03:25:00 chaosagent: wow, it's open source Oct 19 03:25:06 well that's neat Oct 19 03:25:26 also, is java the way to go? Oct 19 03:25:34 what are you trying to do? Oct 19 03:25:56 Can some help me with this iPhone app..... ummm I am confused Oct 19 03:26:09 if its just the usual text, images, and animations kind of app, java is the best Oct 19 03:26:20 games are diff Oct 19 03:26:22 idk about games Oct 19 03:26:42 chaosagent: i'm an iOS dev looking to transition to android, because iOS sucks... i'm hoping to develop for L with material design, and i'm trying to get a sense of the available tooling... i've read that people are using vim, groovy, and gradle, but i don't know how viable that is Oct 19 03:26:57 gradle is awesome Oct 19 03:26:59 chaosagent: yeah, i'm not interested in making games specific to one platform, i'd use ue4 for that Oct 19 03:27:05 yeah Oct 19 03:27:09 javas the way to go Oct 19 03:27:12 youll like it a lot :) Oct 19 03:27:17 alright, i guess i need to brush up on my java a bit :) Oct 19 03:27:27 almost anything is better than objc or swift though Oct 19 03:27:33 lol yeah Oct 19 03:27:36 android studio isn't supposed to be buggy Oct 19 03:27:42 pfn, "beta" Oct 19 03:27:44 it's "beta" Oct 19 03:27:47 implies not stable Oct 19 03:27:50 implies bugs Oct 19 03:27:52 nope Oct 19 03:27:53 isn't gmail still beta? :P Oct 19 03:27:58 it doesn't Oct 19 03:28:06 well "not perfect" Oct 19 03:28:07 happy? Oct 19 03:28:12 chaosagent: android studio uses gradle? Oct 19 03:28:13 it just means it is feature complete Oct 19 03:28:17 maqr, yeah Oct 19 03:28:27 it automatically sets it up for you Oct 19 03:29:22 anyone seen stingray? Oct 19 03:29:23 and no software is perfect, regardless of being called beta Oct 19 03:30:32 meh idc about technicalities Oct 19 03:30:47 im not too much of a expert anyways Oct 19 03:37:22 what happened im not getting any actionbar with android L api Oct 19 03:37:32 ActionBar actionBar= mActivity.getActionBar(); is null Oct 19 03:38:04 cliffreich_, are you using support or native Oct 19 03:38:19 support Oct 19 03:38:22 oh Oct 19 03:38:27 getSupportActionBar Oct 19 03:38:38 https://chris.banes.me/2014/10/17/appcompat-v21/ Oct 19 03:38:40 ^see that Oct 19 03:39:22 looks like android studio doens't have the L stuff for me Oct 19 03:39:50 did you install the stuff in the sdk Oct 19 03:39:50 i can get support if i cast my main activity Oct 19 03:40:11 what does your main activity extend Oct 19 03:40:43 actionbaractivity Oct 19 03:40:46 is targetSdkVersion optional when you specify compileSdkVersion in the gradle DSL ? Oct 19 03:41:06 ((ActionBarActivity) mActivity).getSupportActionBar() Oct 19 03:41:17 g00s, im pretty sure it sint Oct 19 03:41:18 oh crap all those changes Oct 19 03:41:41 you could just convert to actionbaractivity when defining mActivity... Oct 19 03:41:46 cliffreich_ Oct 19 03:42:38 chaosagent: oh, i see... i thought android studio would include all that Oct 19 03:42:43 yes thats not an issue, seems like i had some bad lines Oct 19 03:42:52 maqr, theres like 21 revisions lol Oct 19 03:43:00 you get to customize which ones you want Oct 19 03:43:01 but android L killed my app style Oct 19 03:43:29 any idea what the most popular api version to develop for is? Oct 19 03:43:38 write google a letter, maybe they will change it Oct 19 03:43:53 (that was a joke btw) Oct 19 03:44:29 i will use my rageous typos for that letter Oct 19 03:45:37 chaosagent are you pretty good with the gradle plugin ? Oct 19 03:45:51 maqr, do android ics+ Oct 19 03:45:55 i think thats 14 Oct 19 03:46:09 g00s, not really... Oct 19 03:46:14 ah, k Oct 19 03:46:15 i just have some experience Oct 19 03:46:21 not too much though Oct 19 03:46:52 oh it just killed my style Oct 19 03:46:55 the rest is fine Oct 19 03:46:58 :) Oct 19 03:47:02 cliffreich_ you got no style ! :P Oct 19 03:47:18 * cliffreich_ sheeeit Oct 19 03:47:25 chaosagent: how is that going to play with material design? Oct 19 03:47:39 hehe Oct 19 03:47:54 you can just write your app for android 5.0 and use appcompat and disable stuff for lower versions Oct 19 03:48:00 ^not a very coherent sentence Oct 19 03:48:30 chaosagent: is material for L only? or can you use api14 and still get the new style? Oct 19 03:48:41 using appcompat, you can get it partially Oct 19 03:48:45 hmm Oct 19 03:49:02 but you can still use L-only features, but they wont work on anything below L Oct 19 03:49:20 interesting Oct 19 03:50:24 https://developer.android.com/training/material/compatibility.html Oct 19 03:50:29 maqr Oct 19 03:52:01 chaosagent: so it looks like a reasonable strategy is to develop for the latest API, then work with appcompat to get it running on lower versions? Oct 19 03:52:11 yeah Oct 19 03:53:02 btw, are most people using the stock sdk? or are there very common 3rd party libararies that almost every app uses? Oct 19 03:53:04 ICS is the new GingerBread :) Oct 19 03:53:09 like on iOS, everyone uses AFNetworking Oct 19 03:53:43 maqr Square has some popular ones, like okhttp, retrofit, dagger Oct 19 03:53:55 neat Oct 19 03:54:26 dagger looks particularly interesting Oct 19 03:55:01 is it common to use a DI framework? i haven't written java in many years, and never professionally Oct 19 03:55:24 also, related, is it common to TDD an entire android app? Oct 19 03:56:38 * maqr is trying to start down the right path Oct 19 03:57:51 roboguice, google-guice, dagger, oh my Oct 19 04:00:49 maqr why did you leave iOS ? Oct 19 04:01:37 g00s: well, i'm still making iOS apps and i'm still employed as a full time iOS dev, but android is a better platform Oct 19 04:02:00 don't say that Oct 19 04:02:22 i am developing on android (cordova) and saying that ruins my hopes of porting Oct 19 04:02:52 g00s: plus i don't really like the iOS culture... i grew up on linux and C and digging deep, and the culture around xcode is pretty bad, a lot of my coworkers have no idea how to use the shell at all, for example Oct 19 04:03:41 g00s: a lot of the xcode tooling is also completely broken or incomplete... for example, it's near impossible to TDD an iOS app Oct 19 04:03:52 and xcode crashes constantly, and there's nothing you can do about it Oct 19 04:04:07 that sucks Oct 19 04:04:17 it's pretty bad, i kind of hate myself for being an iOS dev, so i'm hoping to change that Oct 19 04:04:18 welcome to your new world of pain :) Oct 19 04:04:21 haha Oct 19 04:04:25 it can't be worse :) Oct 19 04:04:33 we'll talk in a few weeks :D Oct 19 04:04:45 he is planning on assassinating you Oct 19 04:04:48 watch out Oct 19 04:04:58 g00s: i figure if i come at it only intending to learn the new api and use material design, it should be pretty smooth Oct 19 04:05:00 why hate yourself for being an X dev ? Oct 19 04:05:31 g00s: would you feel bad about writing .NET for a living? how about COBOL? :P Oct 19 04:05:31 oh yeah, if you say minSdk=21 you'll probably have lots of fun Oct 19 04:06:05 oh, i thought the self-loathing stemmed from an incongruence of principles Oct 19 04:06:20 .net is pretty nice, i'd do it for a living Oct 19 04:06:47 g00s: well, i write iphone apps, but i can't own an iphone because i don't want to deal with their restrictions as a user Oct 19 04:06:56 no adblock is a deal breaker for me Oct 19 04:06:57 you could probably make as much or more as a cobol dev, and you aren't going to have to put up with all the things being broken all the time :) Oct 19 04:07:05 haha, fair enough Oct 19 04:07:53 i love my nexus5, best device i've ever had Oct 19 04:10:44 good getSupportActionBar().setBackgroundDrawable(new ColorDrawable(0x4186D8)); isnt working Oct 19 04:11:14 what does ti say Oct 19 04:11:33 and cant you just setbackgroundcolor or something like that Oct 19 04:12:44 what TDD library are you guys using? Oct 19 04:16:46 maqr silence says it all :D Oct 19 04:17:00 g00s: that's troubling Oct 19 04:17:31 there is a reason. you can ask JacobTabak when he gets in Oct 19 04:17:49 g00s: or maybe it's an awesome sign because the built in TDD tools are amazing? Oct 19 04:18:01 hmm, ok Oct 19 04:18:09 no, he's been working on getting some flow/ tools working Oct 19 04:19:04 g00s: i was sort of hoping the "how to be an awesome developer on android" problem would be solved already, given the open nature of it Oct 19 04:19:11 you will have fond memories of the iOS simulator Oct 19 04:19:18 :( Oct 19 04:19:30 but it's java, there's gotta be a ton of great tooling... no? Oct 19 04:19:36 speaking of ios8, can anyone with an ios8 phone do a quick 2 minute website test for me please? Oct 19 04:19:47 android isn't java, technically Oct 19 04:19:59 Agamemnus: i can on an ipad or an ios8 simulator Oct 19 04:20:11 maqr, great. I'll pm you a link. thanks :-) Oct 19 04:20:41 so if you ask a question in #java, and say you are using android, they will respond #gtfo Oct 19 04:20:52 g00s: i had no idea Oct 19 04:21:06 g00s: i figured there'd be decades of great java tools that android devs would be using Oct 19 04:21:17 we're using junit3 still Oct 19 04:21:40 i see Oct 19 04:21:54 g00s: why the disparity? Oct 19 04:21:56 ambush JacobTabak Oct 19 04:22:33 maqr well, part of the disparity is that google didn't licence Java from Sun (at the time) and Oracle. so they are in court, as you may know :D Oct 19 04:23:42 android used apache harmony for its runtime classes, which is now defunct Oct 19 04:24:11 i thought google already won in court Oct 19 04:24:22 so for example, if you look at the concurrency stuff in android vs Java 7, or 8, there will be a difference. Oct 19 04:24:51 maqr well of course there is an appeal. maybe it goes to supreme court. even in best case, android will still not be java Oct 19 04:25:01 officially Oct 19 04:25:11 crazy, i didn't know that Oct 19 04:25:18 that's so unfortunate Oct 19 04:29:52 g00s: is there a name for android's java? Oct 19 04:31:21 i call it IE 6 Oct 19 04:31:52 :o Oct 19 04:37:08 is there a theme generator Oct 19 04:37:36 im losing valuable coding time focusing on themes Oct 19 04:47:26 New channel for #android-os Oct 19 04:47:38 the place for discussion of custom roms and mods Oct 19 04:48:09 I have a problem in IPC between Activity and Service. If the service runs locally, it's fine. If I make the service run as a separate process, I get ClassNotFoundException for the parcellable class. Can anyone help me? Oct 19 04:48:12 like #android-root O.o ? Oct 19 04:49:02 bakshi_gulam you did the AIDL ? Oct 19 04:50:39 bakshi_gulam main channel please ;0 Oct 19 04:51:00 Yeah! I added the AIDL... Oct 19 04:59:30 g00s Yeah! I added the AIDL... but still I'm getting ClassNotFoundException... What could be the reason? Oct 19 04:59:36 are there any good guides anywhere for making fancy introduction guides for apps Oct 19 04:59:59 bakshi_gulam i'm not sure then. actually, i don't remember the last time i did a remote service Oct 19 05:00:25 chaosagent a guide to make a guide ? Oct 19 05:00:50 g00s okay... anyway thanks for your efforts :-) Oct 19 05:01:23 g00s Oct 19 05:01:24 yep Oct 19 05:03:32 none of my actions to the supportactionbar will do anything Oct 19 05:05:23 does it throw an error Oct 19 05:05:27 or a warning Oct 19 05:05:27 nope Oct 19 05:05:28 nothing Oct 19 05:05:44 it usually just catches it and outputs to logcat and doesnt crash Oct 19 05:05:46 oh k Oct 19 05:05:50 uhhh Oct 19 05:05:53 cant help you there Oct 19 05:06:11 i got the fancy 3 lines -> arrow animation back button working today with appcompat Oct 19 05:06:43 still saw this thing: Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted Oct 19 05:07:41 what does that mean? Oct 19 05:08:04 idk Oct 19 05:08:09 cant find the method Oct 19 05:08:23 probably something to do with scrolling... Oct 19 05:08:46 wait are you using appcompat Oct 19 05:09:16 g00s, no, not like #android-root Oct 19 05:09:18 oh this is about the actionbar Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled Oct 19 05:09:25 this one more custom rom centric Oct 19 05:09:27 yes Oct 19 05:09:34 im using appcompat Oct 19 05:10:11 oh then idk Oct 19 05:12:32 have you guys found any good prototyping tools? i'm thinking about learning facebook's origami, but i don't like that it's mac only Oct 19 05:14:14 SimonVT are you there? i came across an old post https://www.mail-archive.com/adt-dev@googlegroups.com/msg01098.html Oct 19 05:14:16 meh i dont have a development cycle Oct 19 05:14:19 i code stuff Oct 19 05:14:21 i dont plan Oct 19 05:14:31 its chaos :) Oct 19 05:15:23 chaosagent: that's my usual strategy... trying to get away from that though Oct 19 05:16:02 Spending 4 days on a UML mockup is much more fun! Oct 19 05:16:05 chaosagent: origami is pretty impressive Oct 19 05:16:18 Darklust: i mean prototyping UI/UX Oct 19 05:17:25 does anybody else has experience running a "remote service" ? Oct 19 05:17:49 bakshi_gulam, like a cloud thing with a frontend app Oct 19 05:18:41 i am having a serious brain fart. i have row major 2 dimensional array. so 1 2 3 on first row 4 5 6 on second row... how do i convert that position number to row # and col #... column number is easy ( % columnCount) but I can't get row # for the life o fme Oct 19 05:18:48 bakshi_gulam: yeah Oct 19 05:19:03 chaosagent: he means setting remote="true" in manifest Oct 19 05:19:06 possibly using AIDL Oct 19 05:19:36 chaosagent, not something great... a simple application which has a activity and a service but service running as a seperate process... Oct 19 05:19:49 bakshi_gulam: what's the problem? Oct 19 05:20:30 Has anyone had success updating the ADT to a newer version of Eclipse? Oct 19 05:21:11 lasserix, yeah! you are right by adding this line "android:process=":remote"" in android manifest Oct 19 05:21:16 brb, reboot Oct 19 05:21:29 bakshi_gulam: i also wrote some AIDL Oct 19 05:22:13 lasserix, I included a AIDL file too... but still getting ClassNotFoundException for my parcelleable class... Oct 19 05:22:44 did you include the parceable in your AIDL? Oct 19 05:23:46 lasserix, yeah! my AIDL just contains two line. first line package name and the second line as "parcelable MyParcelable;" Oct 19 05:26:55 lasserix: are you there? Oct 19 05:32:51 lasserix Oct 19 05:34:41 row: ((number-1) - ( number-1)%rowlength )/3 + 1 Oct 19 05:34:43 i think Oct 19 05:34:45 that should work Oct 19 05:36:19 you have to include fully qualified package name Oct 19 05:36:22 as an import Oct 19 05:36:26 you can't just include it as a variable Oct 19 05:36:47 chaosagent: i got it figured out what a pain in the ass seriousily Oct 19 05:36:53 lol Oct 19 05:37:00 i love these math problems Oct 19 05:37:00 fucking edge cases Oct 19 05:37:01 ugh Oct 19 05:40:05 bakshi_gulam: http://www.app-solut.com/blog/2011/05/using-self-defined-parcelable-objects-during-an-android-aidl-rpc-ipc-call/ Oct 19 05:45:05 so i used the android sdk installer to get api21 installed, but when i create a new project in android studio, it only shows up to api19 Oct 19 05:46:25 maqr you're also going to miss xcode XD Oct 19 05:46:29 g00s: no way Oct 19 05:46:32 haha Oct 19 05:46:51 hmm, android studio is set to use the wrong sdk path Oct 19 05:47:25 oh yeah, some versions come with SDK bundled Oct 19 05:47:29 but its going to be older Oct 19 05:48:10 i want to use my brew-installed 'android' package to manage the sdks, hmm Oct 19 05:48:20 screw that :| Oct 19 05:48:34 use the sdk manager Oct 19 05:48:39 ah, found it Oct 19 05:48:49 g00s: it is the sdk manager, it's the one you get with "brew install android" though Oct 19 05:49:04 i think i've got it though, you can change the sdk location Oct 19 05:49:05 why would you bre anything android ? Oct 19 05:49:08 *brew Oct 19 05:49:20 g00s: i brew just about everything Oct 19 05:49:25 just get the stuff from google. its broken enough as it is, nm brew fucking it up even more Oct 19 05:49:36 i might fall back to that if i have to Oct 19 05:55:29 g00s: seems to be working :) Oct 19 05:57:03 Such gobysan Oct 19 06:00:18 delete the SDK inside of AS Oct 19 06:01:09 waste of time Oct 19 06:01:56 if you set an ANDROID_HOME it'll prefer that when setting up local.properties for the first time Oct 19 06:02:33 brew has a command to get the path to an installed resource Oct 19 06:02:42 yeah, i think i got it :) Oct 19 06:02:48 so just export ANDROID_HOME="`brew pathto android`" in your .bash_profile Oct 19 06:03:01 replacing 'pathto' with whatever the command really is Oct 19 06:04:29 --prefix Oct 19 06:04:46 JakeWharton: i think i got that part right, but what are you doing about JDK? it's warning me that it wants jdk7, but the default is jdk6 Oct 19 06:05:03 JDK 8 is my default Oct 19 06:05:11 what is warning you? Oct 19 06:05:58 JakeWharton: "gradle sync" says "compileSdkVersion android-24 requires compiling with JDK 7" Oct 19 06:06:46 "JDK location" is set to "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" Oct 19 06:07:36 is there any example of RecyclerView? i found some but there are pre release Oct 19 06:07:55 you need JAVA_HOME to point at JDK 7 or newer Oct 19 06:07:55 JakeWharton: are you using the oracle sdk? Oct 19 06:07:58 yes Oct 19 06:08:03 ok, i'll install that first Oct 19 06:08:06 then set JAVA_HOME Oct 19 06:08:11 i would recommend going straight to JDK 8 Oct 19 06:08:19 will do Oct 19 06:13:03 JakeWharton: what's your JAVA_HOME set to? "/System/Library/Frameworks/JavaVM.framework/Versions/Current/"? Oct 19 06:14:31 maqr what does "/usr/libexec/java_home" say ? Oct 19 06:14:53 g00s: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home .. that must be it, thanks Oct 19 06:15:34 i haven't had to set JAVA_HOME in a long time Oct 19 06:18:27 sweet, build works now with jdk8 :D Oct 19 06:19:34 i was so happy because i finished my app cache and now i have reciclerview and a broken theme Oct 19 06:20:33 hmm, now AVD can't start because it says haxm isn't installed "CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing)." ... even though the android sdk manager shows haxm installed Oct 19 06:21:15 they're right though, there is no /dev/HAX Oct 19 06:21:17 maqr the sdk manager just grabs the package Oct 19 06:21:23 you actually then have to go install it Oct 19 06:21:28 oh, unexpected Oct 19 06:22:07 is the good with the final release https://github.com/lucasr/twoway-view Oct 19 06:28:09 hey, so - what's the best way to push database updates to my app, without updating the actual app? Oct 19 06:28:34 assuming i don't have a server. can't I use a Drive spreadsheet as a server/database? Oct 19 06:28:38 strange error installing haxm: "Your computer meets the requirements for this software, but one or more hardware features are disabled. Intel HAXM can be installed, but will not function until these features are enabled." Oct 19 06:28:42 anyone know what that might be about? Oct 19 06:29:26 maqr, You need to turn on virtualization on your processor. Oct 19 06:29:46 it's a macbook pro... i don't think i can turn off virtualization even if i wanted to Oct 19 06:30:24 What is the preferred way of doing material design style fixed tabs like on this page: http://www.google.com/design/spec/components/tabs.html ? I had actionbar tabs before, but those are now deprecated, and PagerTabStrip looks like this http://a.pomf.se/gfpuow.png with no apparent way to change them to fixed tabs that I can see looking through the docs. Oct 19 06:30:25 this; Intel processor with support for VT-x, EM64T, and Execute Disable Bit Oct 19 06:31:02 Sculptor: i think i have all of that, it's a relatively recent machine Oct 19 06:31:10 maqr are you using 10.10 ? Oct 19 06:31:15 maybe you need to enable it in BIOS Oct 19 06:31:16 g00s: yeah Oct 19 06:31:21 ah, maybe too new Oct 19 06:31:30 hrm, the installer i used said 10.10 Oct 19 06:31:39 "IntelHAXM_1.1.0_for_10.10" Oct 19 06:32:02 maqr, You wouldn't happen to have Parallels, VMWare fusion/desktop or VirtualBox installed, would you? Oct 19 06:32:02 maybe it's conflicting with virtualbox Oct 19 06:32:06 indrora: yup Oct 19 06:32:26 Yeah, there can only be one hypervisor, and HAXM is a hypervisor. Oct 19 06:32:28 thats weird, i have vbox and haxm Oct 19 06:32:40 indrora: i don't even know how to remove virtualbox though... i don't think deleting the app is going to remove the kext Oct 19 06:32:41 g00s: running at the same time? Oct 19 06:32:46 i don't have virtualbox running Oct 19 06:32:48 oh , not at the same time :D Oct 19 06:32:48 it's just installed Oct 19 06:33:00 maqr, You might consider running Androidx86 inside VirtualBox and using ADB over network. Oct 19 06:33:03 i wish it had better logging to tell me exactly what it thinks is wrong Oct 19 06:33:06 vbox doesn't request VT-x until you start a VM. Oct 19 06:33:16 i've rebooted since i've last run vbox Oct 19 06:33:24 indrora: ehh, i'd like to avoid that if i can for now Oct 19 06:33:28 haxm should work Oct 19 06:33:29 it also relinquishes it when there are no more VMs running. :P Oct 19 06:33:49 maqr maybe your machine is too thin Oct 19 06:33:55 Apparently, according to the Intel forums, HAXM and Vbox can't be installed together Oct 19 06:34:00 o_O Oct 19 06:34:07 well i don't want to remove vbox, i use it for vagrant sometimes Oct 19 06:34:10 but apple has shipped machines with VT-x disabled for whatever idiotic reasons. probably to increase support hassles. Oct 19 06:34:23 indrora: weird. works on windows. Oct 19 06:34:32 yeah works on 10.7 too Oct 19 06:34:33 lewellyn: i think it's enabled for me because vbox works, not sure how to check though Oct 19 06:34:37 lewellyn, That's because Vbox on Windows isn't a hypervisor. Oct 19 06:34:54 indrora: i'm 99% sure i've seen it on osx too. Oct 19 06:35:13 lewellyn, It's just calling VT-X when it needs to, which mangles some NX bit magic. I had this problem when I had Hyper-V on and tried to install HAXM. Oct 19 06:35:43 maqr: do you have VT-x enabled for any VMs? does it complain when you start those? ;) Oct 19 06:35:53 Hadn't thought of that. Oct 19 06:36:01 lewellyn: i guess i can start vbox and check Oct 19 06:36:12 indrora: that's because hyper-v runs everything as a guest. including the "host" os. vt-x is always on with hyper-v enabled. Oct 19 06:36:20 I run haxm and vms at. the same time, that has never been an issue... Oct 19 06:36:22 oh! i just noticed the top of the haxm installer error message says "VT/NX not enabled" Oct 19 06:36:58 http://www.csell.net/2014/09/03/VTNX_Not_Enabled/ related Oct 19 06:37:01 maqr, Intel suggests checking against this tool - https://software.intel.com/en-us/articles/download-maccpuid Oct 19 06:37:02 maqr: there are some iffy .efi things running around the internets which enable it on certain machines. i don't have links offhand, but i have one mac which needed one. Oct 19 06:37:51 i discovered that machine actually enables it if i turn on deep sleep and then sleep and wake before doing anything which wants vt-x. Oct 19 06:37:54 thanks indrora , i'll try that now Oct 19 06:38:38 so apple's disabling is pretty lame on that particular mac. :P Oct 19 06:38:50 hmm, all i want is to have a translucent dialog fired from a notification over whatever current running application dimming the background... Oct 19 06:39:15 indrora: "VMX (VT-x)" is checked as supported... maybe it's NX that's broken? i don't even see why NX would matter, but it's not in the maccpuid list at all, so i can't tell if it's supported Oct 19 06:39:18 ad i am stubburn enough to want it witha a code-only activiity Oct 19 06:39:22 though it's an i7, so i know for sure it has NX support Oct 19 06:39:34 maqr, maqr the i7 has NX support. Oct 19 06:40:20 Oh. So Intel didn't actually sign the kext. Oct 19 06:40:45 ohh, this article helps Oct 19 06:40:46 " In short, 10.10 isn’t loading unsigned or improperly signed kexts (good thing) and Intel’s HAXM isn’t signed for 10.10. " Oct 19 06:40:49 yeah :) Oct 19 06:40:54 maqr: almost every i7 supports it. it's possibly a matter of apple's uefi on that machine disabling it. i don't know an easy way to check on arbitrary machines though. :P Oct 19 06:41:03 indrora: seriously? Oct 19 06:41:12 haha. wow. Oct 19 06:41:19 so i just have to disable kext signing checks Oct 19 06:41:23 lewellyn, 9600 baud super-duper serial. Oct 19 06:41:26 that looks easy enough Oct 19 06:41:28 that's a bad answer :P Oct 19 06:41:38 lewellyn: why? Oct 19 06:41:58 i get in theory why it's a bad idea, but in practice there's 0 chance of it ever mattering Oct 19 06:42:00 because enforced signing really is a good thing. Oct 19 06:42:29 lewellyn: if an attacker wants to install unsigned kexts on my machine, they already have root on my machine Oct 19 06:42:32 so whatever Oct 19 06:42:38 unless i'm missing something? Oct 19 06:42:42 lewellyn, how do you think nVidia does magical things to make Windows and some of the preview drivers play nice? It seriously patches the BCD so you're running unsigned drivers. Oct 19 06:42:54 indrora: that's messed up Oct 19 06:42:58 and proves my point :p Oct 19 06:43:20 brb, i need to reboot to disable kext signing :D Oct 19 06:43:24 i modified the code for fixed tabs Oct 19 06:43:27 indrora: er. no. if you boot windows in "test mode", it lets you know. :P Oct 19 06:43:37 i know this from lots of experience. Oct 19 06:43:51 lewellyn, Yup. I never said it was going to boot *clean*. Oct 19 06:44:18 I have a few boxes kicking around that happily remind me they're in test mode because the OEM drivers aren't signed. Oct 19 06:44:19 and i've run many nvidia beta drivers. none of them have ever caused my unsigned network stuff to load. ;) Oct 19 06:44:34 cliffreich_: what do you mean? Oct 19 06:45:04 lewellyn, Not network drivers. Whenever I've seen it it's from bleeding-edge built-today gfx card drivers made for doing some bleeding-edge CUDA thing. Oct 19 06:45:50 anyway, blaarugh: "TODO: Explain what this does" (most of the android docs for things that matter) Oct 19 06:45:51 indrora: no, i mean that my laptop has a set of unsigned network stuff that i've kludged together. Oct 19 06:46:22 lewellyn, Ah. Well, you run Android apps on Blackberry, so. Oct 19 06:46:29 hah, that worked! Oct 19 06:46:36 i use it for certain canned demos. i COULD sign the drivers, but then they'd always load. and that'd be bad. :) Oct 19 06:46:39 this is still less painful than xcode so far :P Oct 19 06:47:05 indrora: 10.3 ships with the amazon appstore btw :) Oct 19 06:47:34 hint hint on where to stick your thinger when you upgrade off f-droid for users ;) Oct 19 06:47:57 I'll always push to F-Droid. Oct 19 06:48:09 sweet, emulator opened with haxm support! Oct 19 06:48:13 i meant in addition. 99%+ of users won't touch f-droid. :P Oct 19 06:48:24 * maqr has f-droid Oct 19 06:48:34 Good for them. Most won't touch the Amazon store either. Oct 19 06:48:47 should my AVD be black and empty? Oct 19 06:48:55 i was expecting to see an L install Oct 19 06:49:29 maqr, *black* and empty? Dunno about that. Oct 19 06:49:30 lol, xcode isn't this bad :D Oct 19 06:49:50 g00s: at least this is debuggable Oct 19 06:50:15 indrora: except those with amazon-branded devices, blackberry devices, and various no-name devices. which is still a large number of users. a good step between "ubergeeks" and "everyone", for the app i'm talking about. :) Oct 19 06:50:35 indrora: yeah... maybe i made the AVD wrong though, i'll try again Oct 19 06:50:54 lewellyn, Maybe sometime when I feel it's vaguely "stable" -- there's a lot of weird little things I'm still stripping away. Oct 19 06:52:08 maqr, not so much an attacker for your machine, but how are you certain of the provenance of some kext you download Oct 19 06:52:31 apparently i can't delete this AVD because it thinks it's still running... hrm Oct 19 06:52:43 pfn: if i downloaded a bad package and ran it as root, i'm already owned Oct 19 06:52:48 indrora: i know. and hopefully soon i'll be focusing less on chasing down ways to make money and i can send you some patches. :) Oct 19 06:53:16 maqr but what if you didn't intent to run as root, like shellshock :) Oct 19 06:53:30 g00s: i'm willing to live with that risk Oct 19 06:53:36 maqr, Windows installers have upfront signature checking for this reason Oct 19 06:53:40 it's funny how trying to find new moneymaking avenues takes more time than actually making money once you've found one :P Oct 19 06:54:08 pfn: It costs $50 to get a signing key for those. source: I've done it. Oct 19 06:54:14 pfn: yeah, it's a good idea in theory, so i'll turn it off when intel updates their package and i don't need it anymore Oct 19 06:54:19 for now i dont' think it's a huge risk Oct 19 06:54:24 i honestly worry about mac security; i think windows is far ahead Oct 19 06:54:38 yeah, mac security is bad Oct 19 06:55:00 indrora, sure, but that $50 doesn't let you say you're google, or impersonate any entity Oct 19 06:55:00 anyone know how i can kill this broken virtual machine that AVD thinks is running? Oct 19 06:55:10 *broken emulator Oct 19 06:55:22 indrora: you can actually sign things for free. but anyone with half a clue won't click on the resultant dialog because it looks bad. (but validly signed!) Oct 19 06:55:42 maqr, look for a process called "emulator-x86" Oct 19 06:56:27 indrora: nothing in "ps auxw | grep emul" Oct 19 06:57:26 maqr, Not sure after that. Oct 19 06:58:00 hmm, i guess i can reboot again... not ideal though Oct 19 06:58:25 I've only fixed it under linux and windows -- both are basically "Find emulator-x86 and kill it" Oct 19 06:58:26 haxm can destabilize your machine badly Oct 19 06:58:50 the only time i've had a total hang was with haxm Oct 19 06:58:58 Maybe on a mac Oct 19 06:59:07 intel software just sucks Oct 19 06:59:08 I haven't experienced any issue with haxm Oct 19 06:59:24 same. I've used Haxm extensively under linux and had no problem Oct 19 06:59:40 hmm Oct 19 07:00:04 maqr are you sure the haxm you got was not for some 10.10 beta ? Oct 19 07:00:31 i actually amazed intel wouls have one available already Oct 19 07:00:35 g00s: i think it's the right one Oct 19 07:00:40 i think what's broken is actually just a lockfile Oct 19 07:01:05 because i killed the emulator but didn't delete the lock file Oct 19 07:01:12 that'd explain why there's no process there... confusing error message though Oct 19 07:01:18 anyone knows how to start a dialog-like activity? transperant background? i tried setting the theme to android.R.style.Theme_Translucent_NoTitleBar Oct 19 07:02:21 Nick-s, have you tried Theme.Dialog ? Oct 19 07:02:35 not really Oct 19 07:02:35 indrora: yeah, emulator64-x86 is running now that i've wiped the avd directory (really i probably just had to delete the lockfile) Oct 19 07:03:15 it does sound worth trying! :) Oct 19 07:03:16 am i supposed to have some kind of L image that i set up the AVD with? because i tried what i thought were sensible options, and it's just a black screen Oct 19 07:03:52 maqr, The AVD manager occasionally does stupid things. Are you starting it directly or via the ADT? Oct 19 07:04:19 indrora: i'm starting it with "Android Virtual Device (AVD) Manager", which i got to through android studio Oct 19 07:04:40 try from the command line Oct 19 07:04:43 indrora: maybe i made the AVD with the wrong options though... i gave it 1gb disk space, 2gb ram, no skin Oct 19 07:04:51 and snapshot is checked Oct 19 07:04:54 g00s: hmm ok Oct 19 07:05:43 maqr, I've found that the AVD manager does stupid things when launched sometimes. I cant launch it out of ADT or I get buttons that look like they're being manipulated but in all the wrong states. Oct 19 07:07:13 ok, launched with 'andoid avd'... i've made a nexus 5, android 5.0 api21, x86_64, 'skin with dynamic hardware controls', 1gib internal storage, snapshot... nothing in the sdcard, but i guess that should be ok Oct 19 07:07:53 it creates it successfully, tells me it created the file system and that "HAX is working" Oct 19 07:08:07 but it's still just a black screen with some controls on the right side Oct 19 07:08:20 means the emulator is running. Give it 5...10 minutes. Oct 19 07:08:27 it should look like an android device, right? some kind of home screen or something? or is it supposed to be black until i run an app? Oct 19 07:08:44 indrora: oh, there's no indication that it's doing anything, so maybe i've just been killing it prematurely Oct 19 07:09:06 doesn't it take longer the first time its started? Oct 19 07:09:10 It takes 5...10 minutes in my experience to actually make it to the lock screen first time around Oct 19 07:09:15 indrora: the dialog theme also yields a black background, maybe because i am forced to use START_NEW_ACTIVITY as it is initiated from an intent Oct 19 07:09:16 indrora: it's just black while it does that? Oct 19 07:09:29 indrora: service, sorry Oct 19 07:09:48 maqr you can also look at the command line options for seeing logs - probably not interested in qemu, but android Oct 19 07:09:55 Nick-s, that I don't know. Oct 19 07:10:04 anyone? Oct 19 07:10:15 g00s: hmm, ok, i guess if this doesn't work in a few minutes, i'll try relaunching with more options Oct 19 07:10:33 mine would crash if i didn't disable sound :) Oct 19 07:11:08 maqr, I'd also suggest trying it with the option of "use Host GPU" turned off at first. Oct 19 07:11:20 indrora: yeah, i saw some threads about that, it's off for now Oct 19 07:11:46 maqr, That and reduce the amount of RAM to say, 512M Oct 19 07:12:12 indrora: i'm not sure why that would matter, but ok :) Oct 19 07:12:29 does genymotion have L yet ? Oct 19 07:12:36 fucking emulator :) Oct 19 07:13:05 maqr, because if you run out of RAM during boot under haxm, it resets the whole thing. Oct 19 07:13:13 indrora: oh, unlikely, 16gb in this machine Oct 19 07:13:25 but you give haxm a limit right ? Oct 19 07:13:37 yeah, 2gb Oct 19 07:14:03 the date modified on the file system for the qemu image keeps changing, so i'll assume it's doing something Oct 19 07:15:26 btw, thanks for everyone helping me get started, you guys are awesome :) Oct 19 07:16:22 maqr is your cpu pagged ? thats a good indication :) Oct 19 07:16:29 *pegged Oct 19 07:17:07 hmm, no, it's not Oct 19 07:17:30 it's using about 10% cpu though, so it's doing *something* Oct 19 07:17:42 it uses 10% when its idle Oct 19 07:17:45 ha Oct 19 07:17:59 oh, i see Oct 19 07:18:12 oh well, may as well wait maybe 10 min Oct 19 07:19:47 curiousity might get the best of me Oct 19 07:21:07 the verbose options do nothing :/ Oct 19 07:21:45 maqr make sure you have the logging enabled Oct 19 07:21:46 * maqr kills everything and tries again Oct 19 07:22:33 i'd think "android -v avd" would do it Oct 19 07:23:38 looks like i need to invoke the emulator directly though Oct 19 07:24:22 emulator -avd -v Oct 19 07:24:37 yeah, there we go Oct 19 07:25:11 maybe -logcat Oct 19 07:25:40 g00s: https://gist.github.com/maqr/0f7b9b27e69d607cd72b Oct 19 07:25:52 that's where it hangs Oct 19 07:26:32 i dunno :( Oct 19 07:26:51 yeah, surprising Oct 19 07:27:14 also, why sdk 23.0.2 ? Oct 19 07:27:33 i'm not sure Oct 19 07:27:36 23.0.5 Oct 19 07:27:42 ah, brew Oct 19 07:27:49 oh Oct 19 07:28:22 the android sdk and all its shit it manages is just a directory Oct 19 07:28:26 no need to brew this Oct 19 07:30:04 another victim :D Oct 19 07:30:23 and it took down my mac Oct 19 07:30:46 * maqr tries again with the nvidia card enabled Oct 19 07:32:19 i guess i'll just let it run for a bit, maybe it will sort itself out in a while Oct 19 07:36:38 maybe i should just install linux in vbox and do this all from there Oct 19 07:37:19 oh, but then i guess haxm couldn't run Oct 19 07:37:29 the emu running in vbox would be unbearable Oct 19 07:39:56 alright, i give up for tonight, i'll leave the emulator running in the hopes that it wakes up and does something, and try it again tomorrow if it doesn't Oct 19 07:40:05 thanks again for all your help, i'll get this working somehow :) Oct 19 07:41:46 maqr ! Oct 19 07:41:50 never leave the emu running Oct 19 07:42:10 you could wake up tomorrow with it pegging the cpu 100%, fans going nuts, machine hot Oct 19 07:42:13 its a piece of shit Oct 19 07:42:20 i'll risk it :P Oct 19 07:42:24 jesus Oct 19 07:42:47 this machine's kind of broken anyway with regards to heat, i have to get it replaced soon-ish Oct 19 07:42:55 macbook quality is really poor these days Oct 19 07:43:12 mine is 2009 Oct 19 07:43:45 after a bit of heavy usage, kernel_task goes to like 400% CPU and everything grinds to a crawl Oct 19 07:43:51 i think it's throttling Oct 19 07:45:27 :o the emulator went to 100% cpu, i think it is finally doing something Oct 19 07:45:49 well great, but don't leave it like that overnight :) Oct 19 07:46:07 i've been using this shit for 5 years, trust me Oct 19 07:46:14 haha Oct 19 07:46:23 i'll check it again before i go to sleep Oct 19 08:08:13 How to draw a rect with stroke so the stroke is within ? Oct 19 08:14:22 hey people. Oct 19 08:14:54 has anyone seen an issue where getCameraInfo(); just closes the app. no force close. No exceptions thrown in LogCat. Oct 19 08:19:16 I can’t see my new LG G3 in adb devices, even after putting VendorID and ProductID Oct 19 08:19:28 Is this driver download legit? http://www.technobuzz.net/install-lg-g3-lg-drivers-windows-mac-usb-adb/ Oct 19 08:25:27 Hey , how can i get 2 actionbars(top and bottom) , something like this http://cdn.androidcommunity.com/wp-content/uploads/2012/03/Screenshot_2012-03-28-12-58-16.png Oct 19 08:33:42 is getTextBoudns of a paint not that accurate? Oct 19 08:59:36 Why the gradle needs to be downloaded from internet while doing first project in Android Studio ? Oct 19 09:00:46 I was on Workshop as a volunteer... And the workshop was kind-of screwed up because of this :P Oct 19 09:01:42 Because you're using gradle wrapper Oct 19 09:01:49 Which you should Oct 19 09:03:34 SimonVT: I would ask whether is the ability to make it work offline? While 200 devices is on the network that normally handles only 30 you can rely on network working .... Oct 19 09:03:55 It downloads it once Oct 19 09:06:46 It needs to download gradle and dependencies.. After that you can make it work offline.. Which would be pointless since it's done downloading Oct 19 09:06:53 I have a simple question: where should I store app-level config that won't change (i.e. string containing URL of my API etc.) ? Oct 19 09:07:14 Anywhere you want Oct 19 09:07:19 cool, example? Oct 19 09:07:27 MyAppLevelConfig.java Oct 19 09:08:02 ok, so you mean like a data class and then I just do new MyAppLevelConfig().getAPIUrl(); ? Oct 19 09:08:37 Assuming it's data that doesn't change, just use constants Oct 19 09:09:08 yeah, this definitely won't change during runtime Oct 19 09:09:38 k thanks Oct 19 09:32:42 hy all Oct 19 09:32:53 how can I get color information from android camera? Oct 19 09:35:42 good morning Oct 19 09:37:03 hey Oct 19 09:38:39 I have a main activity thats have listview when I click listview item it will start a another activity for detailed view Oct 19 09:38:48 this is my app lifecycle Oct 19 09:39:14 I wonder if there is a setting for performance upgrade this Oct 19 09:39:31 cause finishing and starting activity is slow Oct 19 09:40:04 it's slow because you've written slow code in the lifecycle Oct 19 09:40:11 there is no magical setting. Oct 19 09:40:21 no its on design Oct 19 09:40:26 I didnt code anything Oct 19 09:40:43 somebody? Oct 19 09:40:46 but I know starting and finishing a activity is expensive Oct 19 09:42:12 but if you say its a normal design "a activity starts another activity for detailed view " I will feel good Oct 19 09:45:03 well maybe you could use fragments Oct 19 09:47:14 one question. Can someone tell me what to google for if I want this "slide left to do A and slide right to do B" animation/button in my application ? Oct 19 09:47:52 Ashiren: thanks for answer Oct 19 09:48:17 I cant handle fragments I feel sick when I use them Oct 19 09:48:55 in another perspective a fragment actually is not different than activity Oct 19 09:50:11 Pinas: if I understand true Oct 19 09:50:25 you need to search: swipe to something Oct 19 09:51:11 tr/something/whateveryouwant/g Oct 19 09:51:50 Pinas: your name is very funny if you read that as a hungarian Oct 19 09:52:01 or a bit weird Oct 19 09:52:07 gregtom - let me guess, it is penis ? :D Oct 19 09:52:13 lol Oct 19 09:52:15 Pinas: almost Oct 19 09:52:18 :D Oct 19 09:52:56 my online name is "Pin" usually but I could not take this on on freenode Oct 19 09:53:10 Pinas: it means in hungarian: "somebody with pussy" Oct 19 09:53:23 hehe Oct 19 09:53:58 how can I get color information from android camera? Oct 19 09:54:11 histogram? Oct 19 09:57:24 define "color information" Oct 19 09:58:30 finally, I discovered what was bothering me so much.... I had never seen nested classes in java before (or any other language, IIRC) Oct 19 10:00:17 no wai Oct 19 10:03:15 yes wai Oct 19 10:06:31 I remember the first time I saw a nested class Oct 19 10:06:38 she was all dressed in black Oct 19 10:06:43 ........ Oct 19 10:07:03 ya nut Oct 19 10:07:27 looks intuitive enough... and now I think I found what I wanted Oct 19 10:07:37 I'm too slow :( Oct 19 10:07:46 took me > 1 week Oct 19 10:16:11 I cant get the elevation property to work. Is elevation supposed to work on Kitkat using the compatibility library? Oct 19 10:35:00 No, there's no such thing as elevation on kitkat Oct 19 10:37:03 i am looking forward for a tutorial, which shows me, how to draw text in native c++ applications Oct 19 10:37:17 does someone can point me/give me a url? Oct 19 10:56:03 http://s526708573.online.de/qt521/myapp.zip Oct 19 10:56:26 here i have code that use a textview in extra file Oct 19 10:56:46 but i need to customize it Oct 19 10:57:00 give it a change in c++? native app Oct 19 10:59:34 Is there something like: ?android:attr/actionBarSize for the window or screen height? Oct 19 11:07:43 Ah there are percent values Oct 19 11:07:45 perfect Oct 19 11:10:59 are layout_alignParentBottom and layout_centerInParent conflicting ? ? Oct 19 11:14:39 how can i create a textview? Oct 19 11:14:51 how do you something like startActivityForResult with a fragment? Oct 19 11:18:37 marrrk_: getActivity().startActivityForResult Oct 19 11:18:58 But I want to start a Fragment for Result Oct 19 11:19:38 paule32: TextView txt = new TextView(getApplicationContext())? then someLayout.addView(txt); Oct 19 11:19:42 or should I just put handler functions in the activity that I call from the fragment in which I uglyly cast whatever I get from getActivity? Oct 19 11:20:04 start fragment for result? Oct 19 11:20:15 isnt this fragmentManager.replace() for that or something Oct 19 11:20:27 and addtobackstack Oct 19 11:22:10 I want to replace my fragment and wait for some kind of return value from it. Oct 19 11:22:25 I guess I'm thinking about it wrong. Oct 19 11:22:44 eeyup Oct 19 11:23:15 after all activity manages the fragments, so why not use it to hold variables Oct 19 11:23:34 its not ugly to cast activity into fragment Oct 19 11:23:43 if you do it once Oct 19 11:24:05 you could use variable mainActivity and cast it during onAttach Oct 19 12:00:32 guys Oct 19 12:00:33 4srs Oct 19 12:05:37 so would I use gestures to capture pinch and zoom actions on a surface? Oct 19 12:33:26 Need help with a voip app, if anyone has time please query me. nexus 5 dev Oct 19 12:34:19 people dont really do that on irc Oct 19 12:34:38 the standard way is to post your well thought out actual question in the public room Oct 19 12:35:42 no one can say "i can help" if they don't know your question Oct 19 13:04:21 is there a method I can use to run some code when a activity is navigated to via the back button Oct 19 13:08:34 yes Oct 19 13:08:57 start the other activity via startActivityResult Oct 19 13:09:18 and for the activity override onActivityResult and put your code Oct 19 13:10:31 and if needs to be strictly via back button, you could override onBackPressed in that activity and put some info that back was pressed Oct 19 13:24:11 Hi! I am trying to retrieve some data from bluetooth (connected to an arduino) and send it via wifi to my computer. I am sending 8 bits at a time and I am reading it inside a 2-byte buffer. However, sometimes, I get a [0 0] in the middle of the message even though I am not sending it. Oct 19 13:25:25 Here's what I'm doing: https://gist.github.com/anonymous/d0c5660982ffeceb6006 Oct 19 13:28:17 anyone good with opengl (opengles2.0)? if my texture area is to small for the texture I want the texture to be shrunk to fit within that area but instead it is cut, what am I doing wrong? Oct 19 13:33:38 I am trying to read 16-bit integer values from the arduino. Oct 19 13:45:07 hi Oct 19 13:45:41 in extends Activity class ... button = (Button) findViewById(R.id.button1); Oct 19 13:45:59 give it a way to code it so, that i don't need xml Oct 19 13:46:00 ? Oct 19 13:49:23 Hey peeps Oct 19 13:50:46 Okay I just want the old fragment that is bottom aligned to slide out all the way and then the new one to slide in all the way. What are the values that I need to set for that in the animation? Oct 19 13:54:33 marrrk: so is the animation vertical or horizontal? Oct 19 13:54:42 vertical Oct 19 13:54:43 why are the android lollipop emulator images laggy ._. Oct 19 13:55:30 marrrk: are you using support fragments or standard fragments? Oct 19 13:55:36 Support Oct 19 13:58:24 Ankhwatcher: Do you want to see my current animations? Oct 19 13:58:36 no paule32 Oct 19 13:58:40 where you gonna place the button man Oct 19 13:58:49 it needs to have a place in design, and the code of it referenced in code.. Oct 19 14:00:01 marrrk: sure Oct 19 14:01:01 https://gist.github.com/i-am-the-slime/4308efc53826b66d17ad Oct 19 14:03:49 marrrk: what is the name of the folder that those files are in? Oct 19 14:03:55 anim Oct 19 14:03:58 they work Oct 19 14:04:00 but the problem is Oct 19 14:04:02 that they look like shit Oct 19 14:04:10 I will tell you in more detail in a second Oct 19 14:04:29 moving up is alright Oct 19 14:04:29 http://stackoverflow.com/questions/7718111/android-fragment-standard-transition-not-animating Oct 19 14:04:33 but moving down starts too high Oct 19 14:04:43 hardware acceleration? Oct 19 14:05:03 So it moves down from the height of the new fragment instead of its own height. Oct 19 14:05:19 ah Oct 19 14:09:57 When transferring data from bluetooth (as a serial interface), do I need to do some checks? Oct 19 14:13:08 guys, 4srs, this is my code to open an intent for choosing a file. http://pastie.org/9660798 Oct 19 14:13:09 marrrk: maybe you could animate the the Framelayout off and on the screen instead Oct 19 14:13:26 this opens my Photos, documents, etc.... and ALSO as a last entry, the file manager Oct 19 14:13:38 is this seriously the only available functionality to choose a file? Oct 19 14:13:43 to open everything in the universe? Oct 19 14:14:11 I only want stuff available on the sdcard; stuff that would produce a path like /sdcard/emulated/etc... Oct 19 14:14:27 Odaym: well you did ask for something that could providate anything that could be opened Oct 19 14:14:37 *provide Oct 19 14:15:03 well it does open everything that's true, and the choice of where the file might be is basically everywhere Oct 19 14:15:13 http://i.imgur.com/OFebABf.png I would like to enable the user to choose the hours when the user has the lesson (in number. E.G: 1,3,7. I have the max lessons number.) You can enable it by checking the checkbox. so I show it as a checkboxs, or you have a suggestion for something else? Oct 19 14:15:19 but what if I just want to open the filebrowser, meaning only access sdcard Oct 19 14:16:46 Odaym: http://stackoverflow.com/questions/9119781/browse-path-on-sd-card-via-intent Oct 19 14:17:41 ahhh I tried to mess with that */* card Oct 19 14:17:47 tried /* only Oct 19 14:18:29 he content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. [in ListView(2130968626, class android.widget.ListView) with Adapter(class com.codingreptiles.android.ama.MyListAdapter)] Oct 19 14:18:51 just another day threading Oct 19 14:19:01 Looney: mAdapter.notifyDataSetChanged(); Oct 19 14:19:26 doing it onScroll of listview Oct 19 14:19:38 yoavst, I wanted to link you to a screenshot but it won't seem to upload right now. Download Timely and see how they do the days UI Oct 19 14:19:48 namely when creating alarms Oct 19 14:20:04 Odaym: I'll check it. thanks. Oct 19 14:20:14 Looney: you could try finalizing your List and Adapter Oct 19 14:21:06 Odaym: but in timely they have 1 hour for all days. In my case I have multi days and multi hours in one place Oct 19 14:21:40 disregard the complete experience; see that line of days' names with a line under it Oct 19 14:21:44 that's it Oct 19 14:21:49 not the whole thing how it flows Oct 19 14:22:19 you raise the dash to the selected day; you can have many dashes under several names Oct 19 14:22:26 its just like highlighting them with a pen Oct 19 14:22:30 Looney: so wait, you're changing the dataset of your ListView while scrolling through it? Oct 19 14:22:57 yup trying to Oct 19 14:23:33 Looney: that's not always a great idea Oct 19 14:23:38 that's insane Oct 19 14:23:42 that's.......Looney! Oct 19 14:23:45 Looney: are you doing infinite scroll? Oct 19 14:24:08 yeah, now trying to include some conditions Oct 19 14:24:29 like start working when last items are reached Oct 19 14:25:46 Looney: been there, don't forget to add a check to see if there are any more items to show before trying to laod them. Oct 19 14:25:54 *load Oct 19 14:26:18 I need a dual core Raspberry Pi Oct 19 14:26:19 there will always be items ;-) Oct 19 14:26:24 Odaym: do you know on a library which do that? Oct 19 14:26:35 Looney: why? Oct 19 14:26:37 I don't Oct 19 14:26:44 it is easy to do though Oct 19 14:26:53 when you are getting stuff from Reddit Oct 19 14:27:06 the data will be like infinite Oct 19 14:27:24 just have invisible items under the days (dashes), and different levels of alphas for the textviews that represent the days' names Oct 19 14:27:32 Looney: unless you are searching and unpopular subject Oct 19 14:27:41 anyone ever tried using a VNC server on an emulator ? Oct 19 14:27:48 when one is selected, turn up the alpha and show the dash Oct 19 14:28:12 the days and the dashes under them are actually buttons I think Oct 19 14:28:38 Looney: but yeah, you're just missing a notifyDataSetChanged() somewhere Oct 19 14:28:49 how do I do a dash, a view with 2dp height and background? Oct 19 14:29:07 no you draw a line with thickness Oct 19 14:29:33 draw a line. you mean create a view for that? Oct 19 14:29:33 view with 2dp height will not give the view thickness.. Oct 19 14:29:40 yea Oct 19 14:29:45 Looney: remember to do it every time you touch your list. Oct 19 14:29:57 ok, will do Oct 19 14:30:16 how can i place a "Button" anywhere i wan't like X:100 Y:100; W:100 H:20 ? Oct 19 14:30:26 I'm trying to update to the new kinda admob where I previously added a layout.xml at the bottom. How can I do this with java? This is my attempt so far: http://pastebin.com/SFbWFctC Oct 19 14:30:26 you don't do that Oct 19 14:30:36 it will appear somewhere completely different in another phone, paule32 Oct 19 14:31:04 you learn layouts and learn how to place them in a correct way Oct 19 14:31:29 ok Oct 19 14:31:46 RelativeLayout is the best for specific specific placements Oct 19 14:33:15 I previously added the adview with LayoutInflater Oct 19 14:34:34 any ideas? Oct 19 14:34:59 I added it previously as decor Oct 19 14:37:24 fixed Oct 19 14:38:11 my class's update() was missing the notifydatasetchange thingy Ankhwatcher Oct 19 14:41:33 Is there any way I can stop the ripple effect being cancled when selected a list item on 5.0? Oct 19 14:41:35 Looney: :) Oct 19 14:42:05 I'm using a selector to apply a colour to the background, however the transition to activated seems to stop the ripple Oct 19 14:44:04 another question Oct 19 14:44:10 I am using ABS Oct 19 14:44:16 when I launch my app Oct 19 14:44:36 the bar and its icons show up almost along with my data/listview Oct 19 14:45:03 is it like normal :^) Oct 19 14:45:52 * StingRay_ jumped from Yosemite back to Mountain Lion, thanks the gods for cloning Oct 19 14:46:57 Power outage :/ Oct 19 14:47:28 Odaym: http://i.imgur.com/d0ZBJ9q.png what do you think? (margin is 40dp for preview only) Oct 19 14:47:43 yea that's it Oct 19 14:48:01 you used canvas? Oct 19 14:48:02 I'm starting a new project. I can't decide whether to use the Material Design theme and the Toolbar and whatever else, or to use Holo and "upgrade" to Material-theme stuff later. Oct 19 14:48:29 anybody work with flipping cameras to use the front one? do you just stoppreview and reinitialize completely fresh the entire app using the front camera ID? Oct 19 14:48:59 Odaym: nope Oct 19 14:49:06 Oct 19 14:49:13 I can start using the back camera ID or the front camera ID and the preview works. But when I try to flip in the same run, I stoppreview and reinit the camera and it just freezes. Oct 19 14:55:11 start with UI TacticalJoke which you have finalised Oct 19 14:55:16 build code around it Oct 19 14:55:23 that is my approach Oct 19 14:55:48 TacticalJoke you could even use your own design ;) Oct 19 14:56:01 question guys. I have a listview which is populated from a database... how can I get the id from the database of the specific item I am clicking? I know there is a parameter for the position in listview but I need the id from my database ... could any of you point me in the right direction? Oct 19 14:56:29 I'm wanting to use "Material Design", but the documentation for, for example, the new toolbar is almost nonexistent right now. Oct 19 14:57:11 well, it's just a guide Oct 19 14:57:30 not a rule set, if your app needs to look like other apps, suppose it's ok Oct 19 14:57:44 hy all Oct 19 14:57:54 how can I get color from camera? Oct 19 14:58:13 As far as I can tell, this is all the Toolbar documentation so far: https://developer.android.com/reference/android/support/v7/widget/Toolbar.html Oct 19 14:58:33 StingRay_: I think I prefer using a consistent look for this particular app. Oct 19 14:58:41 (Consistent with Android in general.) Oct 19 15:00:49 somebody? Oct 19 15:01:58 gregtom6: That's such a high-level question, IMO. Oct 19 15:02:07 It's like asking "How do I create a to-do-list app?". Oct 19 15:02:10 TacticalJoke yeah, as a creative and designer, thats not good at all for products like mobile apps Oct 19 15:02:26 TacticalJoke: but i-have-no-idea-how-to-start-that Oct 19 15:02:39 gregtom6 thats like me asking, how do I fix a car Oct 19 15:02:48 this is great, http://stackoverflow.com/questions/21305356/spannablestring-in-context-menu Oct 19 15:02:53 StingRay_: but I don't know how to do that.... Oct 19 15:02:54 I noticed this issue with my app just now too Oct 19 15:03:03 StingRay_: I would like a source code or something :D Oct 19 15:03:11 gregtom6: Why not google, then? Oct 19 15:03:17 does not reference any line of code, just crashes over invalid payload item; just because you want to customize the font of the text in the context menu Oct 19 15:03:19 TacticalJoke: because I can't find any Oct 19 15:03:20 Any of you stumbled onto this one? W/ActivityThread: ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader()); Oct 19 15:03:22 or the regular optionsmenu Oct 19 15:03:36 gregtom6: I'm not sure how that could ever work. Oct 19 15:03:43 Generally, there are gonna be many colours, right? Oct 19 15:03:46 I don't have getContextClassLoader anywhere in my code Oct 19 15:03:55 TacticalJoke: a few applications are there in the google play Oct 19 15:04:01 What do they do, exactly? Oct 19 15:04:08 TacticalJoke: the center of the camera Oct 19 15:04:09 Produce a list of colours from a camera image? Oct 19 15:04:16 they get the color from the center pixel Oct 19 15:04:26 Why do you want to do this? Oct 19 15:04:53 TacticalJoke: to send informations trought NFC if I get an exact color Oct 19 15:04:59 question guys. I have a listview which is populated from a database... how can I get the id from the database of the specific item I am clicking? I know there is a parameter for the position in listview but I need the id from my database ... could any of you point me in the right direction? Oct 19 15:05:14 gregtom6: That doesn't sound reliable to me. Oct 19 15:05:26 gregtom6 you know it's not at all accurate right ? Oct 19 15:05:31 Won't the two devices be so close that there'll be little light? Oct 19 15:05:34 TacticalJoke: my friend asked me to do this, for simulating optotag Oct 19 15:05:54 gregtom6, you do understand the color depends highly upon the enviroment light, right? Oct 19 15:06:02 StingRay_: I know Oct 19 15:06:07 ravilov: I know Oct 19 15:06:24 gregtom6: This sounds like the weirdest invention ever. lol Oct 19 15:06:36 TacticalJoke: for simulating optotag Oct 19 15:06:37 as I said Oct 19 15:06:43 gregtom6, you should tell your friend their idea is kinda... dumb Oct 19 15:06:43 gregtom6 sensor + white balance + light level + light temp + (assortment of filters) = color Oct 19 15:07:45 StingRay_: other idea was to get TV remote control informations thought the proximity sensor and enable NFC on the right time Oct 19 15:07:54 *I mean send datas throught NFC Oct 19 15:08:09 TV-remote-control information? Oct 19 15:08:14 ...wow Oct 19 15:08:23 TacticalJoke: I mean the signal of the TV remote control Oct 19 15:08:40 gregtom6: IMO, it'd behoove you to explain, very clearly, exactly what you're trying to achieve here. The big picture. Because right now it sounds really weird. Oct 19 15:08:43 ravilov: what is that wow? :D Oct 19 15:09:02 TacticalJoke: believe me, it is the same for me Oct 19 15:09:09 everything is for simulating optotag Oct 19 15:09:15 combining two technologies Oct 19 15:09:22 gregtom6, you guys are either misunderstood geniuses or complete nutjobs Oct 19 15:09:37 ravilov: just try to help me Oct 19 15:09:42 "optotag" has 208 results in Google. Oct 19 15:09:45 and don't ask me why to do this Oct 19 15:09:54 I never asked why Oct 19 15:10:34 i have an android device number. can i write to database (storage) of that device. is it possible Oct 19 15:10:47 hi in my layout.xml I set an onClick method for a button, now I add a new button programmatically, how do I set the same onclick method for this button? Oct 19 15:10:58 TacticalJoke: don't ask, just try to help if you want Oct 19 15:11:04 gregtom6: Can't help without more info. Oct 19 15:11:16 TacticalJoke: what more info do you want? Oct 19 15:11:31 DarsVaeda, setting event callbacks through XML is probably a bad idea Oct 19 15:11:53 it's proposed by google? Oct 19 15:11:54 What on earth it is you're trying to do. Even Google doesn't seem to know what "optotag" is. Oct 19 15:11:57 in that docs Oct 19 15:12:16 TacticalJoke: I'm working in a research "lab" and they asked me to write an application in a short time to test out something Oct 19 15:12:25 are you sure it's not just an example showing it's "possible", DarsVaeda? link the docs Oct 19 15:12:26 to make this prototype Oct 19 15:12:29 for presentations Oct 19 15:12:35 wait a sec Oct 19 15:13:15 TacticalJoke: and they know that I'm not an android programmer and they're right Oct 19 15:13:25 ravilov, https://developer.android.com/training/basics/firstapp/starting-activity.html Oct 19 15:13:44 TacticalJoke: firstly I just want to write a very short test application for this Oct 19 15:14:04 DarsVaeda, so... exactly like I said, a part of the trainer Oct 19 15:14:09 that doesn't mean this is the best practice Oct 19 15:14:10 gregtom6: You're being way too vague. "An application to test out something". It's basically impossible to help you. Oct 19 15:14:12 just shows you it's possible Oct 19 15:14:18 TacticalJoke: or i would go on the other road, to get sended information through proximity sensor Oct 19 15:14:34 TacticalJoke: to test out this, I mean Oct 19 15:14:41 I don't know anymore information about this Oct 19 15:14:42 it doesn't state it is bad Oct 19 15:14:46 gregtom6, proximity sensor on many devices recognizes only two distinct states: close or far Oct 19 15:14:50 anyway back to my question :) Oct 19 15:15:07 DarsVaeda, ok, apparently you know best :p Oct 19 15:15:32 ravilov: I would like to get faaaaaaar close far close far close faaaaaaar informations (sensing two "close" signals to the proximity sensor) Oct 19 15:15:44 with something Oct 19 15:15:47 is that possible? Oct 19 15:16:28 er... I'm not sure what's that have to do with anything? the sensor works the way it does, you can wish anything you like, that doesn't change reality Oct 19 15:17:04 ravilov: I get close on the proximity because it makes reflection Oct 19 15:17:12 I mean the infrared Oct 19 15:17:17 ok you lost me Oct 19 15:17:24 ravilov: why? Oct 19 15:17:56 TacticalJoke: what is the problem? Oct 19 15:18:13 because I have no idea what you're saying? Oct 19 15:18:23 where is the best place to discuss opengles? Oct 19 15:18:32 okay, I try to tell you all, ravilov TacticalJoke Oct 19 15:18:51 success, here would be good, assuming you stumble upon the right people Oct 19 15:18:57 opto tag is a tag what activates only if somebody light that with a light source Oct 19 15:19:02 gregtom6, english is not your first language, is it? that doesn't help either Oct 19 15:19:15 ravilov: not my first language Oct 19 15:19:45 I think it's totally understandable Oct 19 15:19:51 of course you do Oct 19 15:20:00 it is all perfectly simple to *you* Oct 19 15:20:06 that doesn't mean much though Oct 19 15:20:13 so I would like to replace that opto tag with an android phone Oct 19 15:20:34 send something throught NFC if something happens Oct 19 15:20:54 this "something" can be seeing red or other color via camera Oct 19 15:21:03 you can do that through camera, but it is massively more complicated than just "getting color through camera" Oct 19 15:21:10 or getting information throught proximity sensor Oct 19 15:21:57 ravilov: that's why I wanted to get a source code from somewhere, because I can find a lot of good applications for getting color informations on google play Oct 19 15:22:12 I have tried 1 of them and that's perfectly good Oct 19 15:22:14 and reliable Oct 19 15:22:28 interesting Oct 19 15:23:19 ravilov: find Color Grab on Google Play Oct 19 15:23:55 ravilov: I would be happy to get red, green blue values from an image Oct 19 15:24:08 from a camera image Oct 19 15:24:20 I don't want to get grey or other weird colors Oct 19 15:24:35 I'm programming OpenGLES2.0 on Android. I am using a background image, is setting GLSurfaceView.setBackground efficient? Oct 19 15:24:35 I mean what happens when I redraw things, is the whole bitmap redrawn? Oct 19 15:25:41 gregtom6, did you try contacting the author directly? Oct 19 15:26:19 ravilov: no, because I wanted to do this until tomorrow Oct 19 15:37:45 When will the first Android 5.0 device be released? Oct 19 15:38:50 TacticalJoke: when you try to help me Oct 19 15:39:24 gregtom6, you can't get people to help by forcing them or telling them what to do Oct 19 15:39:31 "don't ask, just help" - not going to work Oct 19 15:39:58 ravilov: okay....at least try to help me Oct 19 15:40:09 what do you think we've been doing all this time? Oct 19 15:40:18 A bunch of people have tried. You did a really bad job of making your situation clear. Oct 19 15:40:50 just because you didn't get what you expected (a ready-made solution) doesn't mean nobody is trying to help Oct 19 15:41:02 gregtom6: On a scale from 1 to 10, where 1 means "not at all" and 10 means "extremely", how clearly do you think you explained your issue? Oct 19 15:41:36 TacticalJoke: I have extended my description if you would find that Oct 19 15:42:09 TacticalJoke: from 17:18 Oct 19 15:42:13 look for that line Oct 19 15:42:19 and go down Oct 19 15:42:29 lol, as if everybody lives in the same timezone Oct 19 15:42:50 wow, thats the future Oct 19 15:42:59 xD Oct 19 15:43:00 We are all gregtom6. We should just understand the problem and the solution. Oct 19 15:43:00 * StingRay_ tries to scroll forwards Oct 19 15:43:11 omg Oct 19 15:43:12 sry Oct 19 15:43:31 so try to go back 20-30 minutes Oct 19 15:43:37 and you will find my description Oct 19 15:43:49 from hour:18 Oct 19 15:44:01 I mean from 18 minutes in this hour Oct 19 15:44:07 gregtom6, you don't have to try to pinpoint the exact line, we've all been reading everything you said, that doesn't mean you made it clear Oct 19 15:44:27 TacticalJoke, srsly, why can't you read minds? are you, like, broken? Oct 19 15:45:07 ravilov: I'm not able to describe that better Oct 19 15:45:10 :D Oct 19 15:45:28 ravilov: because I don't know more of that Oct 19 15:45:36 gregtom6: I think you are. You just seem strangely unwilling to give out information. Oct 19 15:45:48 gregtom6, from what I understand, you want to monitor the camera image until a certain color appears somewhere near the center of the image, at which point you want to trigger some event Oct 19 15:45:52 correct? Oct 19 15:45:56 TacticalJoke: why would I do that? tell me Oct 19 15:46:14 ravilov: correct Oct 19 15:46:16 totally Oct 19 15:46:49 can i add a "Button" to "TextView"? Oct 19 15:46:58 ok, the best I could come up with is, decide what "center" means to you (what region of pixels), then average them out, and call that your "color" Oct 19 15:47:00 or how can i setup "View" ? Oct 19 15:47:36 paule32, TextView is not a ViewGroup so no, but you can always "overlap" them using relativelayout or even invent your own custom view Oct 19 15:48:35 ravilov: how can i do it? i wan't an X:Y W:H: view Oct 19 15:48:39 ravilov: the problem is not with that....I know the logic of that, I don't know the technical part Oct 19 15:48:58 so i can code setX setY setWidth setHeight of a Button Oct 19 15:49:06 oh, so you want people to write the code for you, gregtom6? :p Oct 19 15:49:26 gregtom6 you seem to be spamming the channel with odd discussions, ask a direct and specific question, you may get answers then Oct 19 15:49:27 paule32, er, ok? google is your friend? Oct 19 15:50:01 i don't know how to search, give me a hint Oct 19 15:50:20 adapter? Oct 19 15:50:31 StingRay_: people on irc everytime tell me that I'm spamming and trolling....why? I have tried to google everything and can't find a description about how to get color informations from the camera Oct 19 15:50:45 http://lmgtfy.com/?q=how+to+use+google Oct 19 15:50:46 :p Oct 19 15:50:53 gregtom6: The first step is getting an image from the camera, right? Oct 19 15:50:57 hhaha Oct 19 15:50:57 So google that. Oct 19 15:51:25 Ankhwatcher: That's a pretty good idea. Still need to figure out its height, htoug Oct 19 15:51:35 gregtom6 I can answer if you want ? Oct 19 15:51:38 though* Oct 19 15:51:53 I just googled that and learned how to get an image from the camera. Oct 19 15:52:01 StingRay_: http://stackoverflow.com/questions/5991319/capture-image-from-camera-and-display-in-activity maybe this Oct 19 15:52:10 gregtom6 the answer is you cant, the camera (hardware) has little to do with getting color Oct 19 15:52:17 gregtom6: That's what I found, too. Oct 19 15:52:45 well, I tried to find informations with searching on wrong words Oct 19 15:53:02 well glad I could answer and clear that up ;) Oct 19 15:53:14 gregtom6, you fail because you're searching for a solution for your VERY specific situation. instead, you should try to break up your situation into smaller tasks and tackle one at a time Oct 19 15:53:18 gregtom6: Why didn't you just google "android get image camera" in the first place? I don't get that. Oct 19 15:54:04 TacticalJoke: because I wanted to get color information from the camera firstly and they said that I need a few things, for example overlays and so on Oct 19 15:54:11 nevermind Oct 19 15:54:23 To get colour from the camera, you need an image from the camera. Oct 19 15:54:31 where is the sources of the new v7? (i mean the java code) Oct 19 15:54:37 you seem irreversibly stuck on this "get color from camera" idea, looks like that's your main problem Oct 19 15:55:00 In fact, "get colour from the camera" is just shorthand for "get colour from an image from the camera". Oct 19 15:55:10 problem is, that idea is ridiculous without many other steps in between Oct 19 15:55:56 Stupid back stack popping doesn't work. Oct 19 15:55:58 you would do better if you just drop that idea and take it step by step, like I told you Oct 19 15:56:04 okay stop riding and "laughing" on this, I'm tired and I have other problems to do in the same time doing this Oct 19 15:56:24 I see nobody laughing Oct 19 15:56:28 ravilov: drop the idea? I can't Oct 19 15:56:45 in order to make a solution, you have to Oct 19 15:56:53 as unintuitive as it might seem Oct 19 15:57:59 well either way, I'm off. I'd advise you to learn how to google better, and also to not discard and get offended by offered help when it doesn't match what you expect Oct 19 16:00:11 oh it does work. But why is it not animated? Oct 19 16:02:29 is there any theme generator yet? i dont feel like spending time with it Oct 19 16:04:03 ok, now, i am able to set the X:Y coords of a utton Oct 19 16:04:08 Button Oct 19 16:04:34 setX() Oct 19 16:05:22 can i change the width and height of a Button, or ist Button static? Oct 19 16:05:27 Hi, how do I fetch current location from google map? Oct 19 16:05:44 it's taking a lot of time Oct 19 16:10:30 paule32: button.getLayoutParams().width = 100 Oct 19 16:19:43 flan3002: Oct 19 16:19:51 Yeah? Oct 19 16:20:51 hey. I'm looking for someone with experience as a Google Play Developer. I don't need help with programming itself but rather with the technical/legal details of setting up an account. Oct 19 16:21:12 so wheni was asking about convert java to apk, i mean, i have an app writen in java , is there a converter that will save me time to convert it to apk so that it will work on an android device or would I be better off manualy re-writting the gui Oct 19 16:21:22 Ask the question, Luminous... Oct 19 16:22:05 whoever: Oh, that's what you meant. Definitely rewrite the UI if you're currently using Swing/SWT/JFX. Oct 19 16:22:19 Luminous_Dark: AFAIk anitial fee $30 and 30% of sales Oct 19 16:22:38 well, I'd like to know if I need to create a business first, register a trade name and all that stuff, or if I can just create a developer name and begin. Oct 19 16:22:41 * flan3002 signed up with $25. Oct 19 16:22:55 flan3002: ah thx Oct 19 16:23:08 Well, Luminous, I didn't and I'm still alive... Oct 19 16:23:33 flan3002: does google play remove your app if you direct your user elsware to pay a subcription fee Oct 19 16:23:52 im done with appcompat, do i need v4 for a drawer? any alternative? Oct 19 16:23:57 I don't know, I never tried that. Oct 19 16:24:55 flan3002: simler to Luminous_Dark would it be wise to create a buisness to keep your personal assets in the event something goes horribley wrong, as well as tax purposes Oct 19 16:25:20 I don't know, go ask someone else about legal crap. :P Oct 19 16:25:32 yeah, that's why I came here Oct 19 16:25:41 flan3002: ah thx, :-) Oct 19 16:25:54 simler to Luminous_Dark would it be wise to create a buisness to keep your personal assets in the event something goes horribley wrong, as well as tax purposes Oct 19 16:25:58 I can find all sorts of developer tips online, but nothing related to legal/business advise Oct 19 16:26:08 so i'll ask all :-) Oct 19 16:26:32 Luminous_Dark: thats so you have to see a lawyer Oct 19 16:26:52 it mostly also depends on country Oct 19 16:26:58 whoever: I can't find any lawyers who know anything about Google Play Oct 19 16:27:04 For a definite answer, hire some attorney or lawyer or someone who actually knows what he's doing... Oct 19 16:27:14 Luminous_Dark: what country Oct 19 16:27:37 generally lawyers can't give generic advice online; you have to retain them as YOUR lawyer. 'Cause legal BS. Oct 19 16:27:45 I mean... I doubt you're going to find any lawyers in here... Oct 19 16:27:45 any IP lawyer should be able to review it Oct 19 16:28:00 also in the US lawyers are licensed by state Oct 19 16:28:29 tl;dr - dont' ask us, if you really need to care you're going to have to spend some money and time finding a professional Oct 19 16:28:42 Luminous_Dark: http://www.lawyers.com/computers-and-software/find-law-firms-by-location/ Oct 19 16:29:05 well, does anyone know what happens if you upload an app and there's already another app with the same name? Oct 19 16:29:30 or a program out there that isn't on google play but happens to have the same name and be registered to someone else? Oct 19 16:29:50 depends if it's trademarked Oct 19 16:30:04 Luminous_Dark: you may need to find a lawyer , it sounds like legal work Oct 19 16:31:06 plus i imagine google has something to say about it; check the developer agreement. Oct 19 16:31:14 i'm using google maps in my app Oct 19 16:31:57 fetching the current location via map.getMyLocation() takes a lot of time Oct 19 16:32:03 What am I missing? Oct 19 16:33:03 probably has to initialize gps and get a lock; if you're going from no known location it would probably be 5-20 seconds Oct 19 16:35:25 well, thanks for your advice Oct 19 16:35:40 another question: anyone here use pgs4a or kivy? Oct 19 16:35:48 dragorn yeah Oct 19 16:36:00 anything i can do to speed it up? Oct 19 16:36:01 Luminous_Dark: dealing w/ legal stuff sucks. if you're expecting to make a business of it, you're going to need a lawyer. Which also sucks. Oct 19 16:36:12 http://stackoverflow.com/questions/5991319/capture-image-from-camera-and-display-in-activity Oct 19 16:36:22 the resultcode is 0 everytime and that's bad Oct 19 16:36:23 why? Oct 19 16:36:23 wtiger: you could initialize gps yourself via locationmanager when you launch your activity Oct 19 16:36:31 awesome Oct 19 16:37:08 wtiger: in theory would give you a little extra time. Be aware of course that gps is power hungry and users complain, so don't just leave it on any time your activity is open (unless all you do is location related) Oct 19 16:37:12 dragorn: ok. I've talked to three lawyers about this, but they were all just people I know, not people I was paying and not specialists in this area, apparently, cause none of them could tell me anything Oct 19 16:37:18 gregtom6: Just google "android camera resultcode 0". Oct 19 16:37:40 dragorn sure, will keep that in mind Oct 19 16:37:44 wtiger: and make sure you start/stop gps when your activity loses foreground so you don't just leave it locked on Oct 19 16:37:54 of course Oct 19 16:38:06 thanks a lot Oct 19 16:38:09 wtiger: you can also (probably, I don't recall the api offhand) query if the user has wifi location enabled, and encourage them to do so. It'd probably be in locationmanager Oct 19 16:38:19 that'll definitely speed things u Oct 19 16:38:20 up Oct 19 16:38:31 that's even better Oct 19 16:39:18 are all of you self taught android programmers or did some sort of classes? Oct 19 16:39:23 can i get the hardware mac adres with android Oct 19 16:40:11 ovrflw0x: I'm self-taught, but you're not going to get a definite answer for all of us. Oct 19 16:40:14 ovrflw0x: it varies but i would bet most have a java background :-) Oct 19 16:40:37 whoever: yes, but there's no api to do so, and it's not consistent what the wlan device is named Oct 19 16:40:52 i dont think there are many decent android courses Oct 19 16:40:54 whoever: if i was going to do it, i'd parse /system/build.prop (world readable text file) to get the wlan interface name Oct 19 16:41:04 whoever: and then write some jni code to do the ioctls Oct 19 16:41:09 im self taught. id guess most people are Oct 19 16:41:35 if anyone did a great android dev course, please raise your hand now! Oct 19 16:41:49 ..... Oct 19 16:42:14 yeh a java background definetly helps Oct 19 16:42:20 dragorn: ok, so that seems to be out of the options, is there a uniqe identifier that i can get from the device tha along with a user and password would be highly unlikly to get all 3 correct Oct 19 16:42:23 whoever: SIOCGIFHWADDR would do what you need; you're almost definitely going to need to do it in JNI Oct 19 16:43:13 whoever: UUID? Oct 19 16:43:25 whoever: generate a blob of entropy and keep it as a local user id Oct 19 16:43:40 yeah; make a uuid either on your server or on your client, communicate it to whatever the other side is Oct 19 16:44:51 im thinking UUID = user account as linux many can have the same uuid Oct 19 16:45:05 dammit the worst dingleberry is appcompat Oct 19 16:45:12 becaue uuid is permissions level Oct 19 16:45:23 cliffreich: Are you using AppCompat for the Material theme? Oct 19 16:45:51 whoever: sounds like you're trying to do something strange and custom for auth; Don't do that. If you need a unique device ID to go w/ your username and pw, your best bet is to probably generate a random UUID-type record and store it in your app prefs and on your server. Oct 19 16:46:19 i was using appcompat, then my theme doesnt work with api 21. now im trying to remove appcompat but the FragmentStatePagerAdapter requeries appcompat fragments and more... Oct 19 16:46:23 whoever: better still, you don't store your pw at all, you use something like the oauth model to store an auth token (again basically an entropy blob) Oct 19 16:46:26 TacticalJoke Oct 19 16:46:32 Ah. Oct 19 16:47:10 dragorn: here is what i am tring to accomplish with auth, make sure the user is who they say they are, befor retering information and also attept to prevent if app is hacked Oct 19 16:48:51 okay Oct 19 16:48:52 http://stackoverflow.com/questions/5991319/capture-image-from-camera-and-display-in-activity Oct 19 16:48:57 what is the problem with this code? Oct 19 16:49:07 or am i tring to had to prevent the impossible/inevitable Oct 19 16:49:11 it returns 0 instead of -1 Oct 19 16:50:06 Hello Everyone. For what i've read about Android it automanages memory for Apps. In an app I think it automanages memory based on activies. My question is: Is there anyway to force Android to reserve additional memory to a specific Activity of an App? Thank you Oct 19 16:50:42 is there a flag i can set in may app so that if you have multiple devices the app can only be installed on one at a time Oct 19 16:50:45 Hi! What's the best way to read data through bluetooth? I am trying to read 16-bit integers sent from an arduino (via a bluetooth module as 8-bit integers) but I sometimes get strange values (0, 0 for example). Here's my code to read and send the data: https://gist.github.com/anonymous/28cc6573697122210d58 Oct 19 16:50:50 gregtom6 works and looks fine Oct 19 16:51:27 Do I have to implement some kind of flow control operations? Oct 19 16:51:57 but gregtom6 use offical docs … easier http://developer.android.com/guide/topics/media/camera.html Oct 19 16:52:01 StingRay_: not for me Oct 19 16:52:23 onto: do you hav an api Oct 19 16:52:38 onto: read the stream Oct 19 16:52:54 whoever: the iStream is simply a bluetoothSocket input stream and the oStream is a tcp socket output stream Oct 19 16:53:09 whoever: Isn't that what I am doing right now? Oct 19 16:54:05 when using gradle and a simple 'run', what gradle task is getting executed? Oct 19 16:54:06 onto: so then what issuse are you having reading the datea Oct 19 16:54:30 dragorn: Oct 19 16:55:07 whoever: I can read the data fine, but I am getting strange data every other time (0x00 and 0x00). I checked the arduino code and am I definitely not sending those. Oct 19 16:55:25 are there any efficent methods to detect if a hacked copy of your app is try to access your server Oct 19 16:56:05 onto: did you flush() before sending datea Oct 19 16:56:15 whoever: from arduino? Oct 19 16:56:33 onto: from where ever you up your stream Oct 19 16:56:40 whoever: No, I'll try that Oct 19 16:56:51 whoever: From the server side? I guess you'd have to implement some kind of custom protocol whereby the server verifies that the client is legit. Oct 19 16:59:21 TacticalJoke: ok, so when you purcuse an app what information do you have access to about the device tha perchused it? none ? or do you just know that person A paid for your app Oct 19 17:01:18 whoever: I'm not sure I understand. What does purchasing apps have to do with hacked copies of an app accessing one's server? Oct 19 17:02:02 whoever: I tried, it did not help. Oct 19 17:02:42 TacticalJoke: ok, will if i as a developer knows peson a baught the app, then, i can some what assume it is a legit copy Oct 19 17:03:39 onto: what if you create a filter to filter it out then , also are your createing a new stream or re using an old one Oct 19 17:05:47 onto: fyi bt sucks your battery worse then wifi , if you didn't know Oct 19 17:06:22 TacticalJoke: does that make since Oct 19 17:06:31 whoever: I could do that, but this data is coming from the sensors so I would like to keep it as "real" as possible. Here's my complete code: https://gist.github.com/anonymous/66c25ef65358e44c5b26 Oct 19 17:07:33 I run it as a thread Oct 19 17:08:06 onto: may not help much but what if you set your server to loopback and see if that changes anything Oct 19 17:08:33 whoever: How do you mean? I'm sorry, quite new to this. Oct 19 17:09:22 onto: server 128.0.0.0 Oct 19 17:09:33 127.0.0.1 Oct 19 17:10:08 whoever: I'll try. Oct 19 17:10:22 and flush strean in while loop Oct 19 17:10:31 onto ideally the producer (bt) and consumer (server socket) should be on their own threads Oct 19 17:10:55 in your design, if the server socket blocks, the bt device buffer could overflow Oct 19 17:11:04 g00s: I see Oct 19 17:11:10 depending on how that was designed Oct 19 17:13:03 a few ways to do it, you can look at http://docs.oracle.com/javase/7/docs/api/java/io/PipedInputStream.html Oct 19 17:13:23 look on stackoverflow for it, this one can be a little tricky Oct 19 17:13:52 g00s: will do! Oct 19 17:18:00 hi Oct 19 17:18:17 How can I develop HTML5 apps for android using Windows Oct 19 17:19:36 Ashiren: thank you Oct 19 17:20:29 when i resize a "Button", the text that was centered on display/screen of the object, will not update Oct 19 17:20:44 I have a Windows Phone application that I would like to port over Oct 19 17:20:50 so, when i have a very small button, i can't see the text Oct 19 17:21:07 StingRay_ ah, so i guess apple moved to helvetica light - thats cauing the fuzzies? or did they change the AA ? Oct 19 17:22:22 g00s: I am not quite sure how to modify my program to use PipedInput/PipedOutputStreams. Do I create a PipedInputStream, connect it to a PipedOutputStream and run it in a thread? Oct 19 17:23:21 onto its a little difficult to describe, but yeah the procucer and consumer are on their own threads. i think where the trick comes in is the order they are closed Oct 19 17:23:41 i'd just scour the web for examples. it took me a while to figure out Oct 19 17:24:01 you can also try asking in #java for more details, just don't tell them you are using android :) Oct 19 17:24:15 g00s: oh, why not? Oct 19 17:24:24 because android isn't java :) Oct 19 17:24:48 They'll usually redirect you, which is not what you want. Oct 19 17:24:48 g00s: Well, the language is ... right? Oct 19 17:24:53 No. Oct 19 17:24:54 not quite :) Oct 19 17:24:54 Ah, I see Oct 19 17:25:23 Oh, my first day doing Java (or not) ... I wouldn't know :p Oct 19 17:26:00 Oh... Oct 19 17:26:10 your project is not a first-day java exercise :) Oct 19 17:26:17 i hate appcompat so much but cant get rid of itt :( Oct 19 17:26:24 hehe Oct 19 17:26:26 Well, it's easier to get more comfortable with Java before diving deeply into Android. Just saying. ;) Oct 19 17:26:45 Well, as comfortable as one can get with Java, that is. :( Oct 19 17:27:02 g00s: No, but my bluetooth USB dongle isn't working with the arduino bluetooth module which I have ... so I am compelled to use my phone to redirect the data to my computer via tcp instead :( Oct 19 17:27:44 Oh... Oct 19 17:28:00 And plain serial output is not an option? Oct 19 17:28:26 flan3002: It's supposed to be a "wireless" sensor, I need to have something presentable tomorrow :p Oct 19 17:28:52 Well... shit. Oct 19 17:29:55 whats the non appcompat alternative to FragmentStatePagerAdapter Oct 19 17:35:40 okay Oct 19 17:35:43 still no success Oct 19 17:38:30 node split Oct 19 17:39:14 StingRay_: which one works for you Oct 19 17:39:15 ? Oct 19 17:41:20 what is this with everybody needing crazy proof-of-concept solutions by tomorrow all of a sudden? Oct 19 17:41:48 ravilov: I don't have choice, i NEED to do that idea Oct 19 17:41:52 not because I want to do that Oct 19 17:41:55 I need Oct 19 17:44:21 g00s: Do I need to initialise the socket in a thread too? Or can I initialise the socket and pass it as a dependency to the thread constructor? Oct 19 17:46:44 thats it, i wont use api 21 for now Oct 19 17:55:28 LinearLayout.LayoutParams params = b1.getLayoutParams(); Oct 19 17:55:29 [javac] I:\Android\myapp\src\kallup\dbase\KallupdBase.java:25: error: incompatible types: androi Oct 19 17:55:29 d.view.ViewGroup.LayoutParams cannot be converted to android.widget.LinearLayout.LayoutParams Oct 19 17:55:48 what that? Oct 19 17:56:50 what's not clear? seems pretty self-explanatory to me Oct 19 17:58:14 paule32: your parmarms cannot be converted to pararms as the error states , so there may be a problem with your perams Oct 19 17:59:02 paule32, http://developer.android.com/reference/android/view/View.html#getLayoutParams%28%29 Oct 19 17:59:28 returns ViewGroup.LayoutParams, not LinearLayout.LayoutParams Oct 19 17:59:39 if only people would care to check the docs more often... Oct 19 17:59:54 Hey, I have an app that crashes on dex verification. I want to debug it on the emulator, but for jdwp+forward I need to know the PID in advance. Is there a way to work around it? (btw, it's a new problem my app has on 5.0, and did not happen on 4.x) Oct 19 18:01:00 ... you need to know the process ID before the process even exists? Oct 19 18:01:02 yeah no Oct 19 18:01:16 How else would I attach to it? Oct 19 18:01:43 no idea, I just use Eclipse's built-in debugger, dunno how it works Oct 19 18:01:57 presumably through adbd on the device/emulator Oct 19 18:04:58 ravilov: I see, thank's anyway Oct 19 18:05:16 *thanks Oct 19 18:05:21 whats up with this 'adb server out of date, killing' thing im getting the last few days Oct 19 18:05:26 when i try to run adb commands Oct 19 18:06:50 JacobTabak, is it maybe possibly because you upgraded to sdk5.0? :p Oct 19 18:07:13 my adb works perfectly fine, probably because I don't upgrade :p Oct 19 18:07:34 hmm Oct 19 18:07:45 did the platform tools get updated? Oct 19 18:07:49 I'm having no problem with 5.0. Oct 19 18:08:02 i guess so Oct 19 18:08:09 I think it did. Oct 19 18:08:31 of course they did Oct 19 18:08:58 should think twice before just hitting "upgrade everything" :p Oct 19 18:10:21 i think its genymotion Oct 19 18:10:33 oh dear Oct 19 18:10:38 that thing again Oct 19 18:11:48 http://stackoverflow.com/questions/26431972/android-studio-lollipop-adb-genymotion-issues-devices-wont-show-up-adb Oct 19 18:13:10 or, ravilov, you could just google it and fix the problem Oct 19 18:13:23 rather than not updating your app to use the latest sdk :) Oct 19 18:13:33 hello Oct 19 18:15:35 riiight, that's totally the reason I'm not upgrading :p Oct 19 18:15:46 ugh, camera lighting stuff is lot of work... Oct 19 18:15:48 JacobTabak i think you have to tell geny to use a different adb Oct 19 18:15:54 does geny come with its own ? Oct 19 18:15:59 i read something about that Oct 19 18:16:01 yea the stackoverflow link i pasted above has a solution Oct 19 18:16:12 and it worked Oct 19 18:16:23 8 seconds of effort oh no! i'm never upgrading again! Oct 19 18:16:23 g00s, doesn't every device/emulator come with a built-in adbd? Oct 19 18:16:28 oh maqr wants to know how you do TDD JacobTabak Oct 19 18:16:44 what does he want to know Oct 19 18:17:06 i think he's passed out fighting the tools atm Oct 19 18:17:29 :( Oct 19 18:17:52 hey Oct 19 18:18:02 any camera experts around? I have a camera preview running, switching to back and front cameras working fine. however picture quality isn't the same as stock android camera. Oct 19 18:18:08 i have an emulator and i want to connect to it from a VM, is it possible? Oct 19 18:18:26 (like connecting to it from another computer on the same router) Oct 19 18:18:28 I'm looking at exposure values, etc. nothign has any effect so far. If you have any ideas/suggestions, those'd be nice to hear. Oct 19 18:18:57 elichai2, you could set adbd to listen to a tcp port Oct 19 18:19:00 (google that) Oct 19 18:19:02 what do you mean 'connect'? Oct 19 18:19:16 ravilov, i googled a lot. please give me a link Oct 19 18:20:03 elichai2, http://stackoverflow.com/questions/2604727/#answer-14576927 Oct 19 18:20:07 thx Oct 19 18:20:53 ravilov, to run the setprop on the device? or on the hosting? Oct 19 18:21:15 it is all explained on that page Oct 19 18:22:19 i cant believe this, ill be forced to use a toolbar because my actionbar wont gett any theme on api 21. i dont know if my actionbaractivity affects it Oct 19 18:23:28 ViewGroup.LayoutParams params = b1.getLayoutParams(); Oct 19 18:23:28 params.setMargins(0,0,0,0); Oct 19 18:23:30 location: variable params of type LayoutParams Oct 19 18:23:35 error Oct 19 18:23:48 ravilov, could not set property Oct 19 18:25:30 explain Oct 19 18:25:48 wait, i think i fixed it Oct 19 18:26:35 i have a problem Oct 19 18:26:41 i stopped adbd Oct 19 18:26:50 and now i can't start it again :\ Oct 19 18:26:54 Uhm... Oct 19 18:27:09 adb start-server? Oct 19 18:27:10 the dev tools contains a terminal? Oct 19 18:27:27 Just use any VTE... Oct 19 18:27:29 flan3002, no, adbd is inside the emulator itself.... Oct 19 18:27:42 Oh... Oct 19 18:27:45 adb shell? Oct 19 18:27:48 SimonVT are you around ? Oct 19 18:27:59 hello, does someone knows what is the maximum speed that location service is able to report ? Oct 19 18:28:01 Uhm, that was stupid... Oct 19 18:28:06 Restart the emulator. Oct 19 18:28:59 g00s: For a while Oct 19 18:28:59 by speed, i mean the device deplacement speed, not the callback speed :P Oct 19 18:29:39 elichai2, what do you mean "can't start it again"? Oct 19 18:29:43 SimonVT oh thanks; i came to a googel post from you - written in june maybe - about dependencies missing from pom generated by maveinInstaller() - did you ever resolve that? i'm having the same problem Oct 19 18:30:09 ravilov, how exactly will i start it? Oct 19 18:30:22 i can't connect to it with adb anymore Oct 19 18:30:33 android terminal on the device Oct 19 18:30:38 SimonVT https://groups.google.com/forum/#!topic/adt-dev/09trmAMIm9I Oct 19 18:30:46 (or emulator) Oct 19 18:31:08 forgot to mention, yeah stopping adbd will obviouly terminate your adb connection :p Oct 19 18:31:13 obviously* Oct 19 18:31:39 ravilov, lol i'll now download the apk... Oct 19 18:32:02 g00s: Never looked more into it. It was only an issue when I installed snapshots locally, so I just work around that Oct 19 18:32:12 oh, ok . thanks Oct 19 18:33:12 SimonVT, you should add that as a followup there, so people don't ask if you solved it meanwhile :p Oct 19 18:33:40 Is my implementation of PipedInputStream correct? https://gist.github.com/anonymous/263ec99ef5941ef9f808 Oct 19 18:33:59 I am trying to pipe bluetooth output into a tcp input Oct 19 18:34:11 Technically I'm still waiting for Xavier to answer Oct 19 18:35:16 SimonVT heh. actually, i could not get the mavenLocal example to work from the samples zip file Oct 19 18:35:29 so i think it might have been fixed, an dthen broken again O.o dunno Oct 19 18:35:40 root@dev-virtual-machine:~# adb tcpip 5555 Oct 19 18:35:40 * daemon not running. starting it now on port 5037 * Oct 19 18:35:40 * daemon started successfully * Oct 19 18:35:40 error: device not found Oct 19 18:35:57 not found Oct 19 18:35:57 root@dev-virtual-machine:~# adb connect 10.100.102.8 Oct 19 18:35:57 unable to connect t Oct 19 18:39:45 any idea? Oct 19 18:40:46 you're doing something wrong. I have tried this process countless times and it worked perfectly Oct 19 18:41:09 also, pasting in the channel is frowned upon, use pastebin or similar service instead Oct 19 18:42:06 i'll tell you what i did Oct 19 18:43:33 http://pastebin.com/m9M7z1q7 Oct 19 18:46:29 SimonVT also, one last Q if you are still around : i notice a lot of the examples, the build.gradle has compileSdkVersion but neither the build.gradle or manifest have targetSdk. so it seems targetSdkVersion defaults to compileSdkVersion ? Oct 19 18:47:11 I have no idea, I always explicitly set it Oct 19 18:47:16 Sounds easy to test tho Oct 19 18:47:32 yeah, i would do it for brevity if it was documented Oct 19 18:47:55 Previous it defauled to minsdk Oct 19 18:48:26 :O oh, yeah maybe i'll just set it explicitly :) Oct 19 18:50:09 hi Oct 19 18:50:24 are apps restricted in their access of the file system Oct 19 18:50:36 ravilov, ? Oct 19 18:50:52 g00s, i've reverted Oct 19 18:50:59 back with ML Oct 19 18:51:07 oh man Oct 19 18:51:17 what happened ? Oct 19 18:51:27 I am trying to access the DCIM/Camera directory but having problems Oct 19 18:51:33 AS /Java Oct 19 18:51:44 ? Oct 19 18:51:47 not great so fk'it not worth the hassle atm Oct 19 18:51:50 java crash Oct 19 18:51:58 tried hacked 7, 8 and 6 Oct 19 18:52:09 could just be me…but lots of things dont work also Oct 19 18:52:16 facetime no audio etc Oct 19 18:52:29 just enough to make me think….balls to it Oct 19 18:56:26 i had to remove the stupid app store thing from my dock Oct 19 18:56:31 so the badge icon would stop irritating me Oct 19 19:01:33 elichai2, hmm, not sure. this might not work with an emulator, I used this to connect to an android VM from the host Oct 19 19:03:52 g00s: Even after running the two processes in different threads, I still get the same results Oct 19 19:07:49 I try to set this layout: http://pastebin.com/TCcJxysK programmatically like this: http://pastebin.com/9vJpTwDq , it works but looks completely different, the button seems to have the correct width but not the right height and the other to elements are to narrow misplayed and hardly visible Oct 19 19:08:05 s/to/two Oct 19 19:10:06 anyone here can help me to fix my app color? im getting weird results... im using a toolbar with a defined background but it wont work. the only thing with my color is the text background Oct 19 19:11:08 and the actionbar color is the same than the theme. if i change the theme background color the it will work... but then everything will have that color, even the transparent images. so its not a solution Oct 19 19:15:55 man, amazing how just little re-arrangement of the code can royall break the entire thing. Oct 19 19:16:13 got a ltitle excited about code cleanup and ended up seeing lots of exceptions, lol. Oct 19 19:19:04 is it possible to block emulator from running an app? Oct 19 19:20:01 elichai2: what are you trying to do ? Oct 19 19:20:50 a lot of things lol Oct 19 19:21:09 BOBBY, but now specific i'm trying to make my app unhackable :) Oct 19 19:22:12 oh, you're trying to make sure nobody can upload your .apk on an emulator? Oct 19 19:23:22 you can make an application hard to hack, unjustifiable to hack, but you cannot make it unhackable. Oct 19 19:23:40 mostly you goal would be to move to the point of diminishing returns for a hacker. Oct 19 19:25:19 elichai2: What are you trying to protect against? Oct 19 19:26:05 I've tried google for like two hours and nothing is working. My app is using Holo. My dialog fragments show alert dialogs that have blue lines. How do I change that to, say, red? Oct 19 19:26:26 For example, there's a blue line under the title of the alert dialog. Oct 19 19:26:28 The text is also blue. Oct 19 19:26:37 s/text/title text/ Oct 19 19:27:09 TacticalJoke: Custom view Oct 19 19:27:29 Transfusion: so your dialog has a caption and then a line under it? you want to change that line color? Oct 19 19:27:35 Ffs, there are entire javax. classes out there with absoultely no documentation anywhere online Oct 19 19:28:08 flan3002, any thing Oct 19 19:28:21 elichai2: That's pretty much impossible. Oct 19 19:28:33 i know it's impossible to make it 100% unhackable Oct 19 19:28:36 Darklust: Is there another way? I only want to customize the colours; nothing else. Oct 19 19:28:42 but i want to make it very very hard to hack Oct 19 19:28:53 elichai2: Any specifics? Oct 19 19:29:06 first, to block using it with an emulator Oct 19 19:29:09 elichai2: Pro/DexGuard should go a long way. Oct 19 19:29:10 anybody familiar with xen ? Oct 19 19:29:11 Transfusion: if you're talking about what I just described... yeah what he said. custom view. you won't get around that. Oct 19 19:29:33 elichai2: You can't. Or I can't think of a way. Also, how does that help? Oct 19 19:29:46 Heh, love how everyone is calling TacticalJoke Transfusion Oct 19 19:30:15 flan3002, yes i can Oct 19 19:30:21 for example, check the IMEI Oct 19 19:30:21 Darklust: lol, I see it. oh autocomplete you fails us in so many ways.... Oct 19 19:30:24 elichai2: How and why? Oct 19 19:30:31 seconf, check Phone number Oct 19 19:30:41 elichai2: People can change the IMEI. Pretty sure. Also fake a phone number. Oct 19 19:30:46 third, check if theres a google play app exist Oct 19 19:30:53 That can be installed. Oct 19 19:30:53 flan3002, i know, but is a one way Oct 19 19:30:57 just for example Oct 19 19:31:01 So the AlertDialog's blue line is hard-coded? Oct 19 19:31:06 But... why do all that? It's your time, but... Oct 19 19:31:08 There's no way of changing it other than using a custom view? Oct 19 19:32:07 the blue line is hardcoded. it's a pain to get a TextView to autoscroll. Google just rocks. Oct 19 19:32:10 elichai2: What I'm trying to say is that I consider protecting against installation or usage on the emulator a not so effective use of your time... Oct 19 19:32:18 God, that sucks. Oct 19 19:32:26 TacticalJoke not correct Oct 19 19:32:51 TacticalJoke: it isn't so bad. quite a quick little hack. I remember having to do it, and it wasn't a long deal. Oct 19 19:32:54 flan3002, the thing is an oposite situation, i'm trying to run an app on my emulator and it's not seem to work... Oct 19 19:32:55 StingRay_: The blue line isn't hard coded? Oct 19 19:33:08 define "hard coded" Oct 19 19:33:09 elichai2: Your app? Oct 19 19:33:19 yes it's coded, dunno if it;s hard or not Oct 19 19:33:40 StingRay_: I'm trying to change the blue line in AlertDialog to, say, red. Oct 19 19:33:52 ah, next time just ask the question Oct 19 19:33:56 I did... Oct 19 19:34:10 no, 5 lines of ramblings ;) Oct 19 19:34:29 neways yes I think you can Oct 19 19:34:47 never done it but if memory serves you can get the progress/drawable and filter it Oct 19 19:34:56 I've tried google for like two hours and nothing is working. My app is using Holo. My dialog fragments show alert dialogs that have blue lines. How do I change that to, say, red? Oct 19 19:34:56 flan3002, nope Oct 19 19:35:03 That's what I asked. Guess you missed it. Oct 19 19:35:06 elichai2: Which, then? Oct 19 19:35:13 oh sorry, yeah chat clear, only have 40 lines Oct 19 19:35:15 it's an Israeli app.... Oct 19 19:35:32 elichai2: And what are you trying to accomplish? Oct 19 19:35:37 It's amazing that we have this whole XML presentation framework and we can't change the blue line to red in an AlertDialog. Oct 19 19:35:40 i want to pentest it Oct 19 19:35:47 I bet the Israeli app has iron dome protecting it. Oct 19 19:35:56 Another example of the wondrous design of Android. Oct 19 19:35:56 TacticalJoke I hate the whole xml and styles thing Oct 19 19:36:01 horrid :) Oct 19 19:36:58 elichai2: Well, I don't think they protected against the emulator. Likely, its some other dependency. Oct 19 19:36:58 TacticalJoke: http://dpaste.com/04975HJ Oct 19 19:37:00 What's the alternative? Oct 19 19:37:12 ok, i think it's the google maps shit Oct 19 19:37:15 Does anyone have an understanding of how UIDs work on NFC tags? I'm not sure if there's a standard deserialisation of the byte array (I'm trying to match an unknown existing implementation on another platform) Oct 19 19:37:33 B0BBY: I guess I'll have to do that. Thanks. Oct 19 19:37:58 flan3002, how can i make the emulator support Google Maps API? Oct 19 19:37:59 TacticalJoke: that's a simple little layout that emulates exactly the dialog UI. Just write a class that extends AlertDialog and in onCreate setContentView from this custom layout. Oct 19 19:38:12 TacticalJoke: save the xml layout in the layout folder. and you're done. Oct 19 19:38:18 elichai2: I'd guess install the Google Play services and Maps. Oct 19 19:38:28 elichai2: Worth a try. :) Oct 19 19:40:29 B0BBY: I'm using AlertDialog.Builder in DialogFragment. Oct 19 19:40:35 s/in/in a/ Oct 19 19:41:11 whats with all the attribute errors when I appcompat-v7:21 …. things already defined and things missing Oct 19 19:41:29 holy shit this looks like my issue. no solution yet http://stackoverflow.com/questions/26453409/how-do-i-create-a-basic-appcompat-theme Oct 19 19:41:36 should i report that to google Oct 19 19:41:51 As if Google cares what you report... Oct 19 19:42:28 TacticalJoke: well, you'll have to figure out how to hack in something of your own making. :) Oct 19 19:43:54 TacticalJoke: I think the AlertDialog.Builder basically builds and returns to you an AlertDialog. Oct 19 19:44:25 TacticalJoke: that xml layout I sent you just emulates the simple layout with yes no type buttons, etc. but if you have other types you'll just have to hack it in there. :) Oct 19 19:44:57 Okay. How do you folks make crazy custom UIs? Do you just avoid stuff like AlertDialogs? Oct 19 19:45:12 But, even then, what do you do about the blue bottom line of stuff like EditTexts? Oct 19 19:45:47 TacticalJoke you have full control over a "View" what more do you need Oct 19 19:45:54 TacticalJoke: There's a fancy online Holo style generator. :P Oct 19 19:45:56 TacticalJoke: for me, I try to stick with what's out of the box. which means, my apps look like basic with teh stock UI elements. Oct 19 19:46:18 You can go nuts with it and design stuff with super nice alpha values and transparent stuff with icons for buttons, etc. Oct 19 19:46:40 depends on how much time you have, and if you have a graphics artist available. otherwise, buttons with textual captions. :) stock UI elements. Oct 19 19:46:44 flan3002: But isn't that for ActionBar styles only? Oct 19 19:46:51 Nope. Oct 19 19:47:52 ugh fancy. Oct 19 19:48:39 B0BBY: Yeah, that's what I've been doing so far. No theming at all. Oct 19 19:49:07 Fancy is only good in horseshoes and hand grenades Oct 19 19:49:14 Or something like tha Oct 19 19:50:30 where does the android emulator keep the prefrences on linux? Oct 19 19:50:45 found it Oct 19 19:50:57 when you guys say Fancy, I just imagine this: http://en.wikipedia.org/wiki/Fancy_(singer) Oct 19 19:52:04 Hello, someone use Google Cloud Messaging ? Oct 19 19:52:21 lots of people. Oct 19 19:52:54 flan3002: This Holo Colors Generator doesn't help me with AlertDialogs, right? Oct 19 19:53:12 B0BBY, I'm going through a problem, http://stackoverflow.com/questions/26432160/service-not-avalaible-when-call-register Oct 19 19:53:37 Can you help-me ? Oct 19 19:53:43 TacticalJoke: Not that I know of. Oct 19 19:54:20 upmauro: I haven't used GCM yet, but lot of people do use it. if you post your question, someone will be able to help. :) Oct 19 19:54:42 B0BBY, ah, thanks man :) Oct 19 19:55:05 Someone can help-me with GCM ? http://stackoverflow.com/questions/26432160/service-not-avalaible-when-call-register Oct 19 19:55:37 upmauro you are asking what google are doing Oct 19 19:55:41 or the service status Oct 19 19:55:51 both quite irrelevant to anyone cept you and google Oct 19 19:56:36 so not sure anyone can help you but you Oct 19 19:57:11 anyone know why when I just updated my appcompat-v7 I get name conflicts like Error:Attribute "track" has already been defined Oct 19 19:57:33 StingRay_, thanks Oct 19 19:57:48 only place they are defined are within the generated file values/xml in that lib Oct 19 20:00:39 im sure that color problem with supportactionbar is a bug Oct 19 20:02:30 anyone here is using a support actionbar with api 21 Oct 19 20:02:54 Soon Oct 19 20:03:43 Seeing as my current actionbar is horrendous, this will be a godsend Oct 19 20:12:03 There seem to be lots of bugs relating to using the new appcompat-v7. Oct 19 20:12:17 I am staying away for as long as possible. :/ Oct 19 20:15:23 wow more stuff reported about the supportactionbar and api 21 http://code.google.com/p/android/issues/detail?id=77763&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Oct 19 20:15:46 yes TacticalJoke Oct 19 20:15:49 i was about to cry Oct 19 20:15:54 heh Oct 19 20:18:19 God, I'm starting to hate Android. Bugs, bad documentation, limited features. Every little thing is a pain sometimes. Oct 19 20:19:32 Creating Android apps feels like building a house wearing handcuffs. Oct 19 20:20:58 Go get hired by Google and change it... Oct 19 20:22:33 Heh, go make a couple brew apps for a feature phone Oct 19 20:22:49 You'll be back Oct 19 20:23:06 Darklust: There's always worse. Doesn't mean that the current situation is good. Oct 19 20:23:30 Like our elected officials! Oct 19 20:23:40 Whats the lesser evil Oct 19 20:23:45 Right. lol Oct 19 20:24:07 If Windows 10 took off on mobile devices and destroyed Android, I bet that'd be an awesome development environment. Oct 19 20:24:10 I consider the documentation quite good, actually. And you find bugs everywhere... Limited features as well. Oct 19 20:24:23 Eww. Oct 19 20:24:27 Microsoft sucks in so many ways, but they are very good at creating SDKs. Oct 19 20:24:30 No MacroHard, please. Oct 19 20:24:48 flan3002: The Android documentation is quite good?! Oct 19 20:24:53 Hey, Windows has no bugs! Oct 19 20:24:58 Just features Oct 19 20:25:06 Windows doesn't have anything like the bugs Android does. Oct 19 20:25:07 I'm kind of curious for Firefox OS, just because Mozilla. Oct 19 20:25:20 Android is like a kindergarten student. Oct 19 20:25:31 TacticalJoke: Yes. I don't know where you come from, but the documentation there must be incredible. Oct 19 20:25:51 What? A kindergarten student? Oct 19 20:25:55 Haha Oct 19 20:25:56 flan3002: The Android documentation is *terrible*. Oct 19 20:25:58 I don't even... Oct 19 20:26:00 This guy, man Oct 19 20:26:07 Ever take a look at MSDN? Oct 19 20:26:09 Consider even basic stuff such as Activities being destroyed by the OS> Oct 19 20:26:11 .* Oct 19 20:26:25 TacticalJoke: Better idea? I'm listening. Oct 19 20:26:28 Where is this documented? Could someone show me a list of situations in which Android destroys my Activity while my app is running? Oct 19 20:26:50 You have to become an expert on every situation in which this happens and figure it out for yourself. Oct 19 20:26:55 TacticalJoke: It shouldn't. Ever, while it's visible. Oct 19 20:26:58 Piecing little bits of documentation together. Oct 19 20:27:08 flan3002: A better idea than what? Oct 19 20:27:14 when you change the language :^) Oct 19 20:27:17 Darklust: MSDN was a million times better than Android's documentation. Oct 19 20:27:29 At least the Visual C++ and Visual C# MSDN sections. Oct 19 20:27:44 TacticalJoke: I still have night terrors about VB6 Oct 19 20:27:44 TacticalJoke: Than letting the OS destroy activities. Oct 19 20:27:50 Microsoft APIs suck Oct 19 20:28:02 I heard about their logging API. Wow. Oct 19 20:28:24 The documentation for Fragment.setRetainInstance is a handful of sentences. Oct 19 20:28:26 What is that? Oct 19 20:28:51 cliffreich: I'm german, so hearing 'kindergarten' here is kinda funny, but it still doesn't make sense to me. Oct 19 20:29:06 I would really appreciate it if there was a direct way to browse samples linked by the documentation on something like github. Oct 19 20:29:13 TacticalJoke: http://mollyrocket.com/casey/stream_0029.html Oct 19 20:29:24 You can browse them here, marrrk: http://developer.android.com/samples/index.html Oct 19 20:29:30 Click the stuff on the left. Oct 19 20:29:58 I have always missed that. Oct 19 20:30:07 Yeah, that site is horrible to use. I missed it at first, too. Oct 19 20:30:23 I just don't read properly anymore. Oct 19 20:30:23 Javadoc is worse... Oct 19 20:30:29 flan3002: I agree that the Win32 Windows API sucked. At least it was properly documented, though. Oct 19 20:31:01 Define properly. And sure, if it isn't OSS, you better document it really well. Oct 19 20:31:04 Understanding Android requires reading through contradictory StackOverflow posts. Oct 19 20:31:19 Hell, sometimes the Android-framework engineers contradict one another. Oct 19 20:31:23 Ugh, stackoverflow Oct 19 20:31:24 Just pick and choose what you want to believe. lol Oct 19 20:31:26 It's terrible. Oct 19 20:31:28 Yeah... so? Oct 19 20:31:29 Is sliding a non fullscreen bottom aligned fragment out and sliding a new one in from the bottom through a fragment transaction an open problem? Oct 19 20:31:32 I have a book by Wrox that I use Oct 19 20:31:41 Much better Oct 19 20:32:43 Professional Android 4 Application Development, which was pretty current until recently Oct 19 20:32:53 Written by a Google guy Oct 19 20:35:37 is there anyone that has done wearable that could take a peek at a pastebin? trying to send data but having an issue atm Oct 19 20:37:12 mattblang: Why not just post it? People don't know whether they can answer your question until they see it. Oct 19 20:37:54 TacticalJoke sure, but the wearables are so new I wasn't sure if there was anyone here that has messed with them yet Oct 19 20:45:01 mattblang: Nobody is gonna volunteer to answer an undefined question. Oct 19 20:46:41 Maybe you're right that nobody has done anything with wearables yet. I'm just saying that you're unlikely to get help by not asking. :) Oct 19 20:46:50 I haven't touched wearables, FTR. Oct 19 20:49:56 can somebody tell me why my launcher doesn't show up on my device? i mean i used when i install new launcher, when i press the home button, i get a pop-up to choose which launcher to launch, but it seems like i have some sort of a problem Oct 19 20:49:56 http://p.samuraimanpurse.com/jvpY4LLO.txt Oct 19 20:50:04 this is the paste of my manifest Oct 19 20:52:48 TacticalJoke yeah I know, but if nobody has even messed with wearables in the first place I shouldn't take the time to do a well formatted pastebin. might as well ask first Oct 19 20:53:40 i’m holding out on wearables; waiting for edibles Oct 19 20:54:09 Hah. Oct 19 20:54:24 hello guys Oct 19 20:54:35 does anyone who how to setup SDl2 with the Android studio? Oct 19 20:55:51 Mallot1: https://us.boschsecurity.com/us_product/02_products_3/st_bu_f_244376_tams_catalog_prod_us/st_section_f_246467_tams_catalog_prod_us/st_prodfam_p_246467_tams_catalog_prod_us_274056 ? Oct 19 20:56:06 Hi! I'm new here and want to contribute to android using C, Python, or Java. Is there any easy bug or something I can take on? Oct 19 20:56:47 hi caber :) Oct 19 20:56:49 caber, hmm, new too, but i don't think you can do what you mention Oct 19 20:56:53 afaik* Oct 19 20:57:00 dcow: So I can use SDL2 and Android with that board? Oct 19 20:57:03 OverCoder not with that additude. Oct 19 20:57:09 oh? Oct 19 20:57:18 s/addiude/attitude Oct 19 20:57:37 Mallot1: I have no idea what you’re talking about Oct 19 20:57:45 what Oct 19 20:57:49 I just searched “sdi2” and that came up Oct 19 20:57:52 oh Simple Direct Media Layer Oct 19 20:58:15 It's SDL2 not SDi2 :D Oct 19 20:58:20 Thanks anyway man Oct 19 21:00:35 Mallot1: there are sample projects in the source for android Oct 19 21:00:44 I suggest starting there Oct 19 21:00:57 SDl2? Oct 19 21:00:57 “android-project” folder in the top level dir Oct 19 21:01:02 Mallot1: yep Oct 19 21:01:14 oh sweet thanks Oct 19 21:01:22 with the Android Studio? Oct 19 21:01:32 android studio is an IDE Oct 19 21:01:39 it is not a library Oct 19 21:01:54 I know that Oct 19 21:02:12 I'm trying to setup the SDL2 library with the Android Studio IDE :) Oct 19 21:02:13 well AS supports ndk projects, so I don’t see why it wouldn’t work Oct 19 21:02:22 http://www.google.com/design/spec/components/buttons.html#buttons-usage what is the standard way to use the third button type? Oct 19 21:03:43 Uh, flat button? Oct 19 21:04:05 Mallot1: the readme-android also is quite informative Oct 19 21:04:50 bpye: I don’t know what the standard way would be. Isn’t that kinda up to you? Oct 19 21:05:22 bpye: although it suggests in the next section that most of your buttons should be the flat type Oct 19 21:05:28 I kinda assumed there may be something in the new apis or the compatibility library that did it, seeing as dialogs and such do everything that way Oct 19 21:05:33 and to only use bordered buttons for really important content Oct 19 21:06:25 you mean “How do I make a flat button?" Oct 19 21:06:37 consistent with the application theme Oct 19 21:06:39 Yeah Oct 19 21:06:58 It’s just colored text… Oct 19 21:07:22 So just set the bg to transparent Oct 19 21:07:25 don’t know if there’s a “flat” button style that will come out with L that you can apply to button widgets Oct 19 21:07:44 but even so, you probably will support sub L Oct 19 21:08:13 bpye: and the text to some color selector, yeah. Oct 19 21:09:14 bpye: did you even read that page? Oct 19 21:09:25 the material page? yeah Oct 19 21:09:28 it shows you later an example of all the states too Oct 19 21:09:34 Someone can help-me with GCM ? http://stackoverflow.com/questions/26432160/service-not-avalaible-when-call-register Oct 19 21:09:48 so it looks like the “flat” buttons have backgrounds for the different stages and none in the normal state Oct 19 21:12:25 bpye sorry I thought you were asking what the button should look like. to my knowledge there is no prebaked widget for it. Oct 19 21:19:00 can i by someway remove the action bar from showing up in the layout editor? i mean my activity theme is without action bar and i don't want that to show up in the editor Oct 19 21:22:00 choose a different theme in the dropdown? Oct 19 21:24:03 Can I make fragment manager stuff be synchronous? Oct 19 21:26:33 Can somebody explain this to me: executePendingTransitions() : After a FragmentTransaction is committed with FragmentTransaction.commit(), it is scheduled to be executed asynchronously on the process's main thread. Oct 19 21:28:46 How does that explain the method? Oct 19 21:33:54 WallpaperManager.getInstance(this).getDrawable() Oct 19 21:34:04 what happens if it was live wallpaper Oct 19 21:34:27 OverCoder: Try it and see Oct 19 21:34:41 hmm Oct 19 21:34:44 k Oct 19 21:37:11 is it ok to assume certain directories will be present? Oct 19 21:37:16 like DCIM/Camera? Oct 19 21:37:39 assumptions only lead to disappointment Oct 19 21:37:59 basically I want my app to be able to access the pictures on the phone Oct 19 21:38:13 then learn about content providers Oct 19 21:38:20 specific to media Oct 19 21:40:23 ok thanks alot like MediaStore? Oct 19 21:40:59 indeed Oct 19 21:41:17 ok thanks alot for the helpd Oct 19 21:41:20 ill read up on it now :) Oct 19 21:47:57 i think i dont have android documentation... the only thing i hate are themes and its implementation Oct 19 21:49:50 Is it possible to query a ContentProvider by the content of a BLOB column? http://stackoverflow.com/questions/26455771/query-contentprovider-by-content-of-blob-column Oct 19 21:50:08 much love to any ideas :) Oct 19 21:54:28 anyone here used the support libraries to get material on kitkat? https://plus.google.com/103751553217540452535/posts/CiLcLKn5tes Oct 19 21:58:43 you mean appcompat but that's ok Oct 19 22:00:40 answering on your page Oct 19 22:00:43 jab416171 Oct 19 22:04:10 JacobTabak, I updated the post Oct 19 22:04:16 this is a ListPreference dialog Oct 19 22:05:12 I guess I'm like that kid from shawshank redemption Oct 19 22:06:15 jab416171 not sure how you'd do it then Oct 19 22:07:34 i avoid these inflexible controls Oct 19 22:08:54 the entire app (at least on the phone side) is purely preferences, it's a simple utility app Oct 19 22:35:33 so i have to setup a toolbar on evey actibity Oct 19 22:35:38 activity* Oct 19 22:35:58 worst afful thing Oct 19 22:36:37 i totally hate new api Oct 19 22:37:27 any rumors on timing of the official images for lollipop? Oct 19 22:47:45 i give up... toolbar working on main activity and even if i add it to the xml a 2nd activity wont load anything Oct 19 23:00:01 i'm really excited about the toolbar; haven't played with it yet Oct 19 23:00:13 seems nice that the actionbar won't be this thing thats so out of your control anymore Oct 19 23:04:37 custom views have always been available on the action bar... Oct 19 23:04:54 it's always allowed a lot of customization Oct 19 23:05:36 are you trying to make a point because i find that response irritating Oct 19 23:06:09 pfn for example: drawer layout over actionbar Oct 19 23:07:24 the thing i always disliked about the AB was that you would have these fragments, and they would put their actions in this 'global' space Oct 19 23:07:31 I prefer platform conventions for such Oct 19 23:07:38 now with Toolbars, their actions can be more localized in a nice way Oct 19 23:07:52 how are they localized? Oct 19 23:07:56 pfn are you even aware of the platform convention? Oct 19 23:08:09 are you? Oct 19 23:08:15 pfn they are inside the fragments space now :) Oct 19 23:08:22 i cant setup an toolbar for every activity, it doesnt work on a 2nd act. also dont even think about my settings activity Oct 19 23:08:41 g00s, so they don't appear in the toolbar UI? Oct 19 23:09:14 pfn http://www.google.co.uk/design/spec/layout/structure.html#structure-side-nav-1 Oct 19 23:09:21 they are in the toolbar, but i can put the toolbar closest to the stuff it belongs to Oct 19 23:09:52 JacobTabak, material is 5.0+,whats your point Oct 19 23:09:58 my point is obvious Oct 19 23:10:00 it's the platform convention Oct 19 23:10:04 and it's backported to 4.0 with appcompat Oct 19 23:10:27 yet you're sitting here spewing nonsense about how the actionbar was customizable and great and if you want to put your drawer over it you're not following platform conventions Oct 19 23:10:41 up until 5.0, it's true Oct 19 23:10:52 ... before 5.0 you couldn't do it Oct 19 23:11:00 now you can with the toolbar and it's the platform convention Oct 19 23:11:05 before 5.0 it's platform convention Oct 19 23:11:12 what's your point? Oct 19 23:12:17 my point is exactly what I said when you made your comment about how the actionbar has always been customizable Oct 19 23:12:20 that doesn't make it any less customizable, except for trying to do very unconventional behaviors Oct 19 23:12:31 now it's part of your layout like any other view Oct 19 23:12:35 my statement is no less true than before Oct 19 23:13:04 maqr get it running yet ? Oct 19 23:13:32 i guess I just don't understand why you responded to my comment? I said I'm excited that the toolbar is now just a view that can be in your layout, you can put things on top of it Oct 19 23:13:44 as for overlaying the action bar... you could... Oct 19 23:14:09 Should we move from ActionBar to Toolbar now (even for < 21)? Oct 19 23:14:30 once again, not sure how your comments are relevant, but i don't care Oct 19 23:14:33 if its in appcompat, doesn't it make sens :P Oct 19 23:14:37 TacticalJoke :D Oct 19 23:14:40 speaking of the new appcompat, I wonder if they have that stupid annotation shit in there Oct 19 23:14:42 O hai. Oct 19 23:15:01 still, damn thing broke my build before Oct 19 23:15:19 I also don't know whether to move from ListView to RecyclerView. Oct 19 23:15:19 all the new things ->> all the new broken things ! Oct 19 23:15:25 JacobTabak, you only said it was customizable, not that it's part of layout Oct 19 23:15:31 seems like pandemonium out there Oct 19 23:16:07 Google: Break all the things. Oct 19 23:16:30 thats what they do best :) Oct 19 23:16:30 Hi all. Got a question about setOnItemSelectedListener. onItemSelected doesn't fire when I select an item that is already the selected item. How can I remedy this? Oct 19 23:16:32 g00s, appcompat team is fucking around with annotations to declare attributes on views, but don't ship the annotations with the library, or have a lib for it Oct 19 23:16:41 g00s, so it breaks my compiler... Oct 19 23:17:44 see, this should have been the developer preview Oct 19 23:17:54 seems like appcompat even breaks on 21 Oct 19 23:18:00 at least it was the case with 21rc Oct 19 23:18:08 i haven't tried 21.0 Oct 19 23:18:31 i was such a dumbass to update all the things Oct 19 23:18:38 wasn't interested since they hadn't added new functionality at that point Oct 19 23:18:38 won't i ever learn ! Oct 19 23:18:55 In the code for Android's ArrayList class, the writer stores the 'size' field in a local variable when referring to it twice or more in a method. What's the point? I don't see how that would be any more efficient. Oct 19 23:18:55 the material back port is interesting, though Oct 19 23:19:16 "int s = size;" Oct 19 23:19:19 TacticalJoke, local access is slightly faster than member Oct 19 23:19:30 stack vs heap Oct 19 23:20:37 also size() is a method call which older Dalviks didn't know how to optimize well Oct 19 23:21:00 especially since when you have method calls compiler can't be sure if they have side effects - so it has to call them repeatedly Oct 19 23:21:13 even though, newer dalvik / art has some inline optimizations IIRC Oct 19 23:22:51 i'd like for google to put all the SDK Manager's Extras in an online m2 repositors, rather than us downloading a stupid snapshot of a bunch of repositories Oct 19 23:23:32 'Android Support Repository" ugh Oct 19 23:23:47 Google Repository ugh again Oct 19 23:24:05 i wonder if they do this so we click through licenses Oct 19 23:24:37 g00s: Your nick makes me giggle Oct 19 23:24:48 :) Oct 19 23:25:25 I wonder whether anyone reads those licences. Oct 19 23:25:35 I'd like to meet the one guy who does. Oct 19 23:25:43 I bet he wears glasses. Oct 19 23:25:45 it's called your lawyer. Oct 19 23:25:51 and he charges alot for it. Oct 19 23:29:34 lucky 7's JakeWharton (this is the bug you wanted me to log a few days ago) https://code.google.com/p/android/issues/detail?id=77777 Oct 19 23:30:03 JakeWharton LOl ! Oct 19 23:30:12 oops JacobTabak :) Oct 19 23:30:27 thats so awesome, time to stop everything an party Oct 19 23:30:35 i should win something Oct 19 23:30:58 * g00s hands JacobTabak goldfish in sandwich bag Oct 19 23:31:02 \o/ Oct 19 23:35:51 You can win the bug being fixed. Oct 19 23:36:17 a fitting reward Oct 19 23:38:49 Does anyone else think it's weird that this code works? http://pastebin.com/RLn4qEuv Oct 19 23:39:14 Basically, "System.arrayCopy(aStringArray, 0, aCharSequence, 0, whatever);". Oct 19 23:39:26 not utterly. Oct 19 23:40:25 That's covariance Oct 19 23:40:51 D: big words Oct 19 23:41:25 System.arrayCopy is just a glorified for loop and since String is a specialization of CharSequence the items can be set just fine Oct 19 23:42:04 Okay. Oct 19 23:42:15 yes. the reason it's weird at all to me isn't likely the same reason it's weird to TacticalJoke. :) Oct 19 23:42:22 So it's basically the same as "CharSequence charSequence = "hi";". Oct 19 23:42:23 (for me, it's mostly "why would you do it that way") Oct 19 23:42:41 TacticalJoke: yes Oct 19 23:43:10 lewellyn: Oh, I'd never do it that way. :) Was just trying to figure something out. Oct 19 23:43:23 I avoid CharSequences as much as possible. They're way too general. Oct 19 23:44:00 Though I like that Java has the CharSequence interface. Oct 19 23:44:09 C# didn't have anything like this, I think. Oct 19 23:47:28 i hate this update so much... action bar wont display my app icon Oct 19 23:47:49 all the ui is broken on my app Oct 19 23:48:15 cliffreich: It seems, to me, that the new AppCompat thing is srsly buggy. Oct 19 23:48:21 Do you have to use this stuff right now? Oct 19 23:49:40 i thought it was a good thing to deal with it from now, but i was wrong Oct 19 23:50:07 that appcompat still a beta release to me Oct 19 23:52:13 I'm waiting for 5.0 devices to appear, and SO questions and answers to flood in. Oct 19 23:52:19 I have a WebView in my app that loads a page that has a file upload HTML tag on it. Clicking on the button to "Choose a file..." does nothing. Googling around indicates that there is no easy solution for this. Is this indeed the case? Oct 19 23:52:28 I'm basically outsourcing the beta testing. Oct 19 23:52:43 (eg: you cannot upload a file from your android device to a web server) Oct 19 23:54:07 TacticalJoke it's pretty fun to learn the stuff first and then help others :D Oct 19 23:54:46 Yeah. :) Though I hate the stress of dealing with bugs. Oct 19 23:56:21 Regarding my CharSequence thing -- I can just call getClass on each array element. It reveals that the class is System.String. Oct 20 00:07:10 It's kinda cool that Java's string class is called "String". This enables us to say "String string" in some rare cases (such as in unit tests). Oct 20 00:16:47 are there any body Oct 20 00:16:52 i have a problem Oct 20 00:16:53 :S Oct 20 00:18:17 You have a problem finding a body? Oct 20 00:19:14 Kidding aside, you might as well just ask the question. Oct 20 00:25:20 oh well im back to code Oct 20 00:25:34 12 hours lost to new api Oct 20 00:26:17 is there in L a new API for Actionbar? Oct 20 00:26:20 Dough. ;| Oct 20 00:26:33 cliffreich: Try again in a month, maybe. Oct 20 00:28:49 i am android devoloper and i have a problem about appcompat Oct 20 00:29:18 i using eclipse for writing code Oct 20 00:30:11 when i create a new project an error occured at appcompat Oct 20 00:30:32 C:\Users\Ahmet\Desktop\workplace\appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark' Oct 20 00:34:57 avoid api 21. its evil Oct 20 00:35:22 ahmetozcan, you need to target 21 Oct 20 00:36:41 also you probably forgot to add the new appcompat lib v7:21 Oct 20 00:50:14 Weird that Android toasts don't have centred text by default. Oct 20 00:57:37 And "Toast.makeText(...).show();" is so ugly. Toast should have a helper static method. Something like "Toast.show(...);"/ Oct 20 00:57:38 .* Oct 20 01:00:59 any suggestion with this http://stackoverflow.com/questions/26456983/how-to-improve-my-store-function-based-on-gson Oct 20 01:07:40 cliffreich: What kind of data are you serializing? Oct 20 01:07:57 Note that the lack of "try { } finally" is scary there. Oct 20 01:08:03 + { } Oct 20 01:08:16 Even more scary is the lack of atomic writing. Oct 20 01:08:19 yes i know... it's a custom object Oct 20 01:08:43 Wait, this is just writing to the cache directory. Oct 20 01:08:44 it was an sparseArray, but gson cant handle that at all Oct 20 01:08:49 yeah Oct 20 01:09:23 its a little cache thing Oct 20 01:09:36 to test Oct 20 01:10:09 The actual data needs to be durable? Oct 20 01:10:46 are there any premade layouts for spinners for material design? Oct 20 01:11:00 Is this gonna be important data, cliffreich? Oct 20 01:11:53 nope its not. i can wipe it ondestroy Oct 20 01:12:07 cliffreich: What exactly is your question? Oct 20 01:12:22 Does not compute Oct 20 01:12:28 if there is a way to improve its efficency. good coding practices that i need to learn Oct 20 01:13:01 cliffreich: You know what they say Oct 20 01:13:12 maybe there is another way without gson or other thing... who knows Oct 20 01:13:20 BTW, you should write "OutputStreamWriter writer = null; try { ... } finally { if (writer != null) { writer.close(); }}" and stuff like that. Oct 20 01:14:11 That code is unnecessarily hard to read. That's way more important than micro-optimization. Oct 20 01:14:24 does anyone here have experience with AIDE? I'm trying to add in appcompat-v7, but it doesn't have full gradle support, and i can't get it to work manually :/ Oct 20 01:14:30 rumor has it google has updated some scanner and its false-positively flaggging app descriptions as keyword spam Oct 20 01:14:51 oh ok Oct 20 01:15:02 drinfernoo: You'll need to add a local maven repo Oct 20 01:15:13 You aren't even closing the FileInputStream. ;o Oct 20 01:15:14 drinfernoo: I'm waiting for an update Oct 20 01:15:26 If you grab the m2repository from your sdk/extras folder, put it on your device, and point AIDE at it, it should pick it up Oct 20 01:15:30 i didnt what Oct 20 01:15:34 let me check Oct 20 01:15:39 why use A IDE? use THE IDE ! Oct 20 01:15:46 oh damn Oct 20 01:15:47 heheeh Oct 20 01:15:47 seitensei, i have found a guide on doing just that, but it's not very specific. it says i need to download some files? lol Oct 20 01:15:48 harhar Oct 20 01:15:50 You should close the BufferedReader in a finaly block. Oct 20 01:16:00 drinfernoo: You don't, if you're just using the support libraries Oct 20 01:16:07 And you need only one close for anything like that: the one that wraps everything else. Oct 20 01:16:13 finally* Oct 20 01:16:15 Grab the m2repository folder from sdk/extras Oct 20 01:16:25 Folder itself is a maven repo Oct 20 01:16:50 There should be a setting in the build settings for AIDE which will let you define that as a your local repo Oct 20 01:17:33 I'd rather ssh somewhere and build/run with adb wifi Oct 20 01:17:40 cliffreich: Your class also violates the single-responsibility principle. It does way too much. Oct 20 01:17:47 building on device is stupid slow Oct 20 01:17:49 And the naming isn't good. "My" isn't descriptive. Oct 20 01:18:04 Swallowing exceptions is bad, and catching "Exception" is weird. Oct 20 01:18:14 i was about to fix that thing with the names Oct 20 01:18:17 pfn: Runs pretty quickly for me, but I do it on a Tegra K1 Oct 20 01:18:28 i code really fast and forget a good name convention Oct 20 01:18:53 Admittedly, AIDE has none of the useful features of AS Oct 20 01:19:00 seitensei, for trivial apps, sure Oct 20 01:19:39 its just to test Oct 20 01:19:43 pfn: I usually lug around a Chromebook w/ Crouton, and my tablet is usually faster than that Oct 20 01:19:47 it has a printbacktrace in it Oct 20 01:20:04 stack/ Oct 20 01:20:04 Should really pick up a MacBook Air one of these days, or even a 13" MacBook Pro Oct 20 01:20:06 * Oct 20 01:21:32 Should context menus always have a title? Or only when needed? Oct 20 01:21:40 The guide seems to suggest the former, but that looks weird, IMO. Oct 20 01:27:53 context menus are kind of out of favor Oct 20 01:28:17 TacticalJoke havent seen many apps use them recently Oct 20 01:28:40 hm. when you long press something in a fragment, does the action mode stuff appear in the main action bar still, or in some toolbar ? Oct 20 01:29:27 none of that was ever automatic Oct 20 01:29:54 i think rather than action modes you just overlay your contextual toolbar over the regular toolbar Oct 20 01:32:23 I see. So action modes are better? Oct 20 01:32:39 not necessarily action modes, Oct 20 01:32:49 but context menus tend to hide actions Oct 20 01:36:20 urgh, 3AM and I really should work D: Oct 20 01:36:38 i wish i lived on an airplane so time moved slower Oct 20 01:36:46 as long as the wifi was good Oct 20 01:37:04 i think i'd be much better off if i could be up for like 20 hours, then sleep 8 Oct 20 01:37:26 without my day/night cycles being affected Oct 20 01:37:56 Do you mean that time moves slower through relativity? Oct 20 01:38:02 Or just that flights seem to last forever. Oct 20 01:38:47 i just mean if you're going west then the days are longer Oct 20 01:39:04 minus the stupid airplane idea, i guess i'm just saying i wish there were 28 hour days Oct 20 01:39:59 anyone here going to Twitter Flight this week? Oct 20 01:40:23 JacobTabak just about to look at the recycler view crap Oct 20 01:40:25 speaking of flying, JacobTabak Oct 20 01:40:27 i probably would have if i was in the area with the free ticket and all Oct 20 01:40:35 where is my onSaveInstanceState ? :) Oct 20 01:40:43 but airfare is too expensive Oct 20 01:40:45 yeah Oct 20 01:40:47 StingRay_ what do you mean? Oct 20 01:40:57 listView.onSaveInstanceState Oct 20 01:41:07 not sure how else to put it Oct 20 01:41:33 how would one get a pacelable state from recycler view ? Oct 20 01:41:34 it's probably in the layoutmanager Oct 20 01:41:56 oh, ok, loads new things to learn then :( Oct 20 01:41:58 i can't imagine why you would want to do this manually Oct 20 01:42:02 Is everyone moving from ListView to RecyclerView? Oct 20 01:42:14 TacticalJoke different tools for different jobs Oct 20 01:42:18 Does ListView do its own saveInstanceState shenanigans? Oct 20 01:42:24 s/ListView/RecyclerView/ Oct 20 01:42:25 maintain viewstates selection and position ? Oct 20 01:42:27 recyclerview if you need animations, decorators, custom layout managers Oct 20 01:42:33 StingRay_ it does this automatically Oct 20 01:42:40 oh fk it then...:) Oct 20 01:42:41 Wow, really? Oct 20 01:42:45 so did listview though Oct 20 01:42:46 That makes it better than ListView already. ;o Oct 20 01:42:49 ?? Oct 20 01:42:53 ListView doesn't keep its list. Oct 20 01:43:00 why would it Oct 20 01:43:06 the adapter holds the list Oct 20 01:43:14 it does keep its scroll position though Oct 20 01:43:15 Oh. I thought you were saying RecyclerView kept its list. Never mind. Oct 20 01:43:58 do the support libs default to using the native apis when on v21? Oct 20 01:44:13 or so i have to define a seperate layout for 5.0 Oct 20 01:44:24 the native apis aren't better Oct 20 01:44:29 there's no reason to not always use the support apis Oct 20 01:44:33 oh k Oct 20 01:45:17 So ListView isn't gonna be deprecated, right? Oct 20 01:45:22 no Oct 20 01:45:33 read docs Oct 20 01:45:39 and reference Oct 20 01:45:48 it says if depreciated :) Oct 20 01:46:12 I guess I should use RecyclerView for my Reddit client. Oct 20 01:46:19 you probably should Oct 20 01:46:22 if your'e going to do like Oct 20 01:46:24 swipe to hide Oct 20 01:46:30 Possibly. Oct 20 01:46:36 decorates are also really useful Oct 20 01:46:45 decorators* Oct 20 01:46:52 I'm also guessing that stuff like AlertDialog.Builder.setItems will always use ListView (not RecyclerView). Oct 20 01:46:54 for example see my sticky headers recyclerview Oct 20 01:46:56 On a total side note. Oct 20 01:47:42 does recycler view keep the position if you remove the item on the top of the list? Oct 20 01:48:06 Wow, you're quickly onto this stuff, JacobTabak. Oct 20 01:48:09 Reddit post and everything. Oct 20 01:48:52 Is the click-listener thing fixed now? Oct 20 01:49:01 yeah it wasn't broken though Oct 20 01:49:11 but i added an api for it Oct 20 01:49:24 the header click listener thing Oct 20 01:49:30 yoyo to implement item click listener Oct 20 01:49:38 but i have a stackoverflow answer for that somewhere Oct 20 01:50:07 i'm going to change that lib a bit because they added something to the API so the recyclerview has a state that's passed between the decorator/adapter/layoutmanager Oct 20 01:50:08 So you still have to do this? https://github.com/timehop/sticky-headers-recyclerview/blob/master/sample/src/main/java/com/timehop/stickyheadersrecyclerview/RecyclerArrayAdapter.java#L65-L71 Oct 20 01:51:06 yea, is that not good? Oct 20 01:51:12 Oh, no, that's fine. Just wondering. Oct 20 01:51:25 that's part of the sample anyway Oct 20 01:51:29 not the actual lib Oct 20 01:51:42 why don't everyone use @Nullable Oct 20 01:51:56 The API doesn't use it. :/ Oct 20 01:51:59 Plus, it's kinda verbose. Oct 20 01:52:09 how can we stick spinners in cardviews? Oct 20 01:52:10 I also find annotations kinda ugly. Oct 20 01:52:22 verbose = awesome Oct 20 01:52:22 I wish "@Override" were a keyword, not an annotation. Oct 20 01:52:24 chaosagent a cardview is just like a framelayout Oct 20 01:52:31 And I wish we also had "implements" for interfaces. Oct 20 01:52:52 we don't?.. Oct 20 01:53:00 TacticalJoke: Will anything satisfy you? Oct 20 01:53:18 sq: I mean as a keyword when implementing. Oct 20 01:53:29 Right now, we have to use @Override if we want compiler checking. Oct 20 01:53:44 ah. yes. agree Oct 20 01:53:46 But we don't override interface methods: we implement them. So the term kinda sucks. Oct 20 01:53:54 Darklust: Occasionally. lol Oct 20 01:54:16 @Override should be mandatory, too Oct 20 01:54:32 Yeah. Oct 20 01:54:36 but @Nullable is the best. Oct 20 01:54:53 jacobtabak, it says "not allowed" Oct 20 01:55:05 weird Oct 20 01:55:08 dunno then Oct 20 01:56:14 C# has 'override'. Oct 20 01:56:16 It's really nice. Oct 20 01:56:22 But it doesn't have anything for interfaces. Oct 20 01:56:33 sq: Doesn't @Nullable make your code weird? Because the Android API doesn't use it. Oct 20 01:57:13 idk, @Nullable is /in/ the api though Oct 20 01:57:22 well apparently the support spinner works Oct 20 01:57:32 it's weird that there is a keyword they don't use. Oct 20 01:57:42 sentensei I'll give it a shot :) Oct 20 01:58:23 but or works awesome in AS, warnings and all Oct 20 01:58:27 I think I allow null values in my code only when I'm doing stuff with streams. Oct 20 01:58:28 it* Oct 20 01:58:35 I'm not sure I ever work with null otherwise. Oct 20 01:59:02 you do that fake object thing? Oct 20 01:59:09 Otherwise, it's exceptions or "null objects". Oct 20 01:59:09 Yeah. Oct 20 01:59:21 ugh. Oct 20 01:59:26 What's wrong with that? Oct 20 01:59:37 just ugh. Oct 20 01:59:38 Mostly, it's exceptions. Oct 20 01:59:49 "Null objects" can make code very easy to read. Oct 20 02:00:05 yeah, but. ugh. Oct 20 02:00:17 public class NullCustomer { @Override public void doStuff() { // do nothing } } Oct 20 02:00:32 Oops. Also " implements Customer" or something. Oct 20 02:01:20 I can't think of null being acceptable in many cases, though. Oct 20 02:01:20 I don't like code that doesn't always do what it says Oct 20 02:01:59 TacticalJoke whats your day job Oct 20 02:02:03 out of curiosity :) Oct 20 02:02:06 I work in finance. Oct 20 02:02:14 programming? Oct 20 02:02:18 of course(?) Oct 20 02:02:31 Nah. Not programming, unfortunately. But calculating and using computers. Oct 20 02:02:37 if I have a function that, for instance, might scroll a list view, but doesn't do it always, I call it maybeScrollListView Oct 20 02:02:45 sentensei, that doesn't seem to work :( I'm not able to reference (or even build) ActionBarActivity or Theme.AppCompat Oct 20 02:03:20 sq: I find those the hardest methods to name, I think. Oct 20 02:03:25 seitensei, my apologies lol Oct 20 02:03:25 I usually do "maybeX", too. Oct 20 02:03:50 Or "tryScrollListView". Oct 20 02:04:11 I don't think there's a conventional naming for those Oct 20 02:04:16 i dont use them Oct 20 02:04:17 drinfernoo: I haven't actually tried Google's repo myself. I usually load all my libs through Archiva, and then use the internal repo from that Oct 20 02:04:25 One I keep using lately is "foo" and "fooCore". Oct 20 02:04:26 I hate that. Oct 20 02:04:28 i determine if the method should be called before calling it, which isn't that great either Oct 20 02:04:47 foo? Oct 20 02:04:50 like if (canDoSomething()) { doSomething(); } Oct 20 02:04:51 Like "WhateverFile.read" --> "WhateverFile.readCore". Oct 20 02:05:06 The former calls the latter. Oct 20 02:05:43 Some people use "Impl" or something. Oct 20 02:06:00 JacobTabak: that's a nice approach, but requires more code Oct 20 02:06:04 I dislike it, because it's an adjective when the whole thing should be a verb phrase. Oct 20 02:06:22 sq and more importantly its harder to maintain Oct 20 02:06:24 How about "doSomethingIfPossible();". :D Oct 20 02:06:25 what's this "impl" thing? Oct 20 02:06:47 impl is just for classes that implement interfaces... Oct 20 02:06:48 yeah, IfPossible, used that too Oct 20 02:06:51 and i hate it Oct 20 02:07:45 mhm Oct 20 02:07:49 sq: Here's an example: http://pastebin.com/dDaAftz4 Oct 20 02:08:23 I like to keep exception-handling code in its own method. Oct 20 02:09:03 I'm on my phone now, pretty printing is nearly impossible to read :/ Oct 20 02:09:47 Hmm, I wonder whether [ someString + "\n" ] actually compiles to faster code than [ someString + '\n' ], now that I look at that. Oct 20 02:10:11 Because maybe calling StringBuilder.append(string) is faster than StringBuilder.append(char). Oct 20 02:10:15 Or maybe not. I'll have to look. Oct 20 02:11:19 java is so much boilerplate. sigh Oct 20 02:11:29 Compared to what? Oct 20 02:12:15 python :3 Oct 20 02:12:38 Dear jebus Oct 20 02:13:01 maybe I better go sleep. Oct 20 02:13:42 I'm getting crazier by the minute Oct 20 02:14:21 I need to sleep, but I'm too tired to brush. Oct 20 02:14:27 But I can't sleep till I brush. Oct 20 02:14:29 It's a deadlock. Oct 20 02:14:35 * StingRay_ cares Oct 20 02:14:56 * Darklust drowns in all the shits he gives Oct 20 02:15:02 listerine strips Oct 20 02:15:08 hydrogen peroxide Oct 20 02:15:17 best way to clean out plaque before seeing a dentist. actually Oct 20 02:15:17 nap for 8 hours Oct 20 02:15:24 ^^ Oct 20 02:16:15 Don't even nap, close your eyes and sit yourself facing the front door of your abode for 8 hours Oct 20 02:16:23 Builds character Oct 20 02:17:28 I spent a minute figuring out what "builds character" meant Oct 20 02:17:34 StringBuilders build character(s). Oct 20 02:17:44 yes, that Oct 20 02:17:54 I'm dying Oct 20 02:21:37 This blueberry vape is making me cough up black stuff Oct 20 02:23:52 e-cig?.. Oct 20 02:24:05 Indeed Oct 20 02:25:25 mhm Oct 20 02:39:41 So how bout that appcompat eh? Oct 20 02:42:39 * g00s thinks its time to step away from the computer for a week or so, maybe this time next week google will have fixed some things Oct 20 02:43:44 Haha. Oct 20 02:44:36 wtf does this mean "com.android.dex.DexException: Cannot merge new index 65664 into a non-jumbo instruction!" Oct 20 02:45:20 haha Oct 20 02:45:25 heh Oct 20 02:45:34 StingRay_ how the heck did you do that ? Oct 20 02:45:39 someone has a lot of methods in their app :P Oct 20 02:45:58 it not dex method limit Oct 20 02:46:07 I maybe have 5k Oct 20 02:46:20 thats what they all say .... Oct 20 02:46:23 ^ Oct 20 02:46:32 ok, gonna run a count Oct 20 02:47:11 total that would be built 16880 Oct 20 02:48:58 StingRay_ did you see dex.force.jumbo=true Oct 20 02:49:43 I have not altered anything Oct 20 02:49:52 from the last time it was built Oct 20 02:52:00 i wonder how many methods support libs bring in Oct 20 02:52:57 i dunno StingRay_ i'm sure you already read https://code.google.com/p/android/issues/detail?id=40409 Oct 20 02:53:20 high priority, opened 2012 ! Oct 20 02:54:57 there's a workaround for that Oct 20 02:55:00 oh yea Oct 20 02:55:02 as you just pointed out Oct 20 02:57:16 i was just reading http://blog.osom.info/2014/10/multi-dex-to-rescue-from-infamous-65536.html Oct 20 02:57:25 " So this is kind of hack, but a necessary one for them. " Oct 20 02:57:45 that would be great if they stopped putting bandaids on cancer; its hacks all the way down Oct 20 02:57:59 oh sorry, was away, what fix ? Oct 20 02:58:23 this can't be caused by 65k limit **** ENDING LOGGING AT Mon Oct 20 02:59:59 2014