**** BEGIN LOGGING AT Tue Mar 11 02:59:59 2014 Mar 11 03:05:14 jareddlc: you need an android service Mar 11 03:05:52 myke: android server will run in background, and have a icon on navar? Mar 11 03:05:55 navbar* Mar 11 03:08:30 you're going to have to learn how to create and launch a service Mar 11 03:08:42 http://developer.android.com/guide/components/services.html Mar 11 03:09:05 icon on navbar is a separate thing, that's a type of notification Mar 11 03:11:37 alrighty Mar 11 03:12:45 do services run threads? Mar 11 03:14:27 should i support android 2.2 and lower? or set 2.3 as min (installing google play services to investigate push messages to the app) Mar 11 03:14:40 Note: Google Play services 4.0.30 (released November 2013) and newer versions require Android 2.3 or higher. If your app supports Android 2.2, you can continue development with the Google Play services SDK, but must instead install Google Play services for Froyo from the SDK Manager. Mar 11 03:14:44 also look up broadcast receivers, specially android.provider.Telephony.SMS_RECEIVED for SMS Mar 11 03:15:11 b0br: API 11/14 is fine, ignore everything else :) Mar 11 03:15:19 thanks bankai Mar 11 03:31:35 yo, any tools to make sure my code is obfuscated? Mar 11 03:31:48 or i jsut have to try and decompile ?? Mar 11 03:32:21 my app is nearly done! (until verion 1.1) xD Mar 11 03:33:53 have a look at ... umm... what's it called .....proguard Mar 11 03:33:54 hi , all , how can i disable the sounds played when i press Volume Down/Up key ???? Mar 11 03:37:38 If I need to create flexible tabs(for example quick return tabs), are ActionBar tabs wrong choose? Mar 11 03:39:24 are you talking about a viewpager with tabs? Mar 11 03:39:50 thanks again bankai_ Mar 11 03:40:07 got my proguard config in already (^_^) Mar 11 03:40:22 pretty sure its good Mar 11 03:40:39 guess the only way to check is to try and decompile Mar 11 03:42:05 None viewpager Mar 11 03:48:38 rgr ever get your logback-android stuff working ? Mar 11 04:00:31 hello Mar 11 04:01:17 when you are on screen A, and you click on a button which is an intent to take you to screen B.... if you then click the back button on Screen B, which event gets fired when Screen A re-appears? onResume? Mar 11 04:02:32 ir7466 this is all in the activity lifecycle docs Mar 11 04:03:07 docz is for foolz Mar 11 04:09:43 damnit Leeds , were did you learn to be so eloquent ? Mar 11 04:10:02 skool Mar 11 04:11:25 skool is for foolz ! Mar 11 04:14:24 i can't seem to get Preference#onPrepareForRemoval() to fire. put a log in there, nothing Mar 11 04:29:55 hey guys, in my game I'm making I'm using the standard touch events (touch up, down, etc), but my character continues to move in the same direction as where i initially placed my finger, dispite my dragging my finger to a different directional button. Mar 11 04:31:10 how do I make it so it always checks which direction my finger is on without me having to lift my finger off the screen and triggering a touch down. Mar 11 04:31:24 *touch up rather Mar 11 04:32:23 MotionEvent.ACTION_MOVE is what you're after Mar 11 04:34:59 bankai_ this will be interesting http://www.androidpolice.com/2014/03/09/google-is-planning-to-release-an-sdk-for-android-based-wearables-in-two-weeks/ Mar 11 04:35:27 might explain a few articles i've been reading recently, are you interested? Mar 11 04:36:00 could I include the MotionEvent.ACTION_MOVE in my input class along with my touchevent method? Mar 11 04:36:23 hey can anyone help me out really quick Mar 11 04:36:33 how do i listen on broadcastListener Mar 11 04:36:36 http://androidexample.com/Incomming_SMS_Broadcast_Receiver_-_Android_Example/index.php?view=article_discription&aid=62&aaid=87 Mar 11 04:36:43 RetroDude: is this a custom view ? Mar 11 04:36:47 im writting that and i want to listen for it in another acticity Mar 11 04:36:50 activity* Mar 11 04:37:12 bankai_ possibly; for example a watch - i wouldn't be interested in a google-based wearable personally, but i could see many who would, and might want my app to run on such a device (or comm with it) so maybe new app Mar 11 04:37:18 no, not custom Mar 11 04:38:24 RetroDude: you need to get access to the onTouchEvent - http://developer.android.com/reference/android/view/View.html#onTouchEvent(android.view.MotionEvent) Mar 11 04:39:06 just posted in java...oups Mar 11 04:39:07 best answer? http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android Mar 11 04:39:19 255 thnk so...but they correct? Mar 11 04:39:22 jareddlc: either way you need a broadcast receiver Mar 11 04:39:33 bankai_: Mar 11 04:39:42 how would i instantiate that class? Mar 11 04:40:31 just IncomingSms iSMS = new IncomingSms() ? Mar 11 04:42:20 alex_PP see this? http://www.androidpolice.com/2014/03/04/new-app-adobe-revel-comes-to-the-play-store-to-provide-adobe-flavored-photo-editing-on-the-go/ Mar 11 04:44:36 Can anyone confirm whether it is an expected behavior or not that SYSTEM_UI_FLAG_LOW_PROFILE flag is cleared when an EditText is getting focus and keyboard is showing up? Mar 11 04:46:23 "rectified with KitKat as Google and Intel have finally shipped an x86 system image with Google API support." Mar 11 04:46:32 hmm! Mar 11 04:47:24 yeah, there it is. guess i never noticed Mar 11 04:50:02 bankai_: ? Mar 11 04:51:45 jareddlc: look at 'registerReceiver' Mar 11 04:55:56 bankai_: SmsListener smsListener = new SmsListener(); IntentFilter smsFilter = new IntentFilter("android.provider.Telephony.SMS_RECEIVED"); this.registerReceiver(smsListener, smsFilter); Mar 11 04:55:59 does that look right? Mar 11 04:56:22 do i also have to declare in in XML as many tuts say? Mar 11 04:57:52 bankai_: yep that worked Mar 11 05:08:47 thx bankai_ for the help Mar 11 05:22:57 i'm still a bit confused about how Services, Messengers, and Handlers all fit together Mar 11 05:23:50 i'm particularly confused because it seems like I don't set any of this into motion Mar 11 05:24:02 the Handler and Messenger seems to be automatic Mar 11 06:01:26 hi all Mar 11 06:01:32 i have a question. Mar 11 06:02:05 i tried to download android source for testing its source Mar 11 06:02:34 i only want to get kitkat source,the i used this command: Mar 11 06:02:53 repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r2 Mar 11 06:02:58 repo sync Mar 11 06:03:20 but these 2 commands fill up over 20 GB of HDD Mar 11 06:03:41 how much diskspace do i need to download kitkat source? Mar 11 06:04:25 i though it should be something like 6-8 GB,not this much Mar 11 06:05:47 this channel isn't really for OS-level development, but... s.android.com says the download should be around 8.5GB Mar 11 06:06:05 the git repos are huge now Mar 11 06:07:33 yea,i read it shoudl be around 8.5GB too,but i cannot even get it in 20 GB free space Mar 11 06:07:55 g00s, those git contains built ones too? Mar 11 06:08:25 i'm not sure -- i only dl code to make up for the poor documentation, not to build Mar 11 06:08:44 i think there are a few tricks to get less than everything Mar 11 06:09:58 http://xda-university.com/as-a-developer/repo-tips-tricks Mar 11 06:10:19 see 'ic' Mar 11 06:10:21 -c Mar 11 06:11:30 man o man i got really confused with vim :/ Mar 11 06:12:02 it was in compatible mode so the backspace and the arrow keys wasn't working in edit mode Mar 11 06:12:03 lol Mar 11 06:12:13 took me a few minutes to realize whats going on Mar 11 06:12:23 lol Mar 11 06:20:25 yea Mar 11 06:20:37 i'm trying -c right now Mar 11 06:28:28 so I have some Locations. I'm going to attach a Bundle with some extra information to teach Location Mar 11 06:29:00 I'd like a good way to share the names of each key with the rest of my app Mar 11 06:29:50 i cant believe i am considering using vim for scala development on android .. Mar 11 06:30:16 lemonxah O.o Mar 11 06:30:26 fed up with the bloat of ides :) Mar 11 06:30:52 i hate when people say that so much Mar 11 06:31:13 i've got a friend who refuses to use all this convenient stuff people have created Mar 11 06:31:13 there is some truth to it :) Mar 11 06:31:30 i mean, when I go to AS -> New Project, it takes about 10 minutes Mar 11 06:31:39 fucking downloads the internet, again Mar 11 06:32:23 RustyShackleford, i like intelliJ its aweseom Mar 11 06:32:33 but i am developing over ssh Mar 11 06:32:54 cause i got fedup with uploading my webservice everytime i makea change Mar 11 06:33:01 so i am developing on my remote box Mar 11 06:33:07 and found that vim works awesome for this Mar 11 06:33:10 why not use sshfs Mar 11 06:33:29 keep the tools on your box Mar 11 06:33:47 multi machines i code from Mar 11 06:34:06 meh its only for my webservice so its not a lot of stuff that i have to do on it Mar 11 06:34:27 still doing android dev in intellij but i want to add the vim plugin for intellij Mar 11 06:34:39 cause i constantly press i to inserts and dd to dedelte Mar 11 06:35:09 i basically learned vim in an IDE Mar 11 06:35:32 i learned it when i was 6 on a unix machine Mar 11 06:35:41 when you were 6? Mar 11 06:35:45 86 Mar 11 06:35:48 88** Mar 11 06:35:55 i am still young Mar 11 06:36:01 well *nix Mar 11 06:40:18 oh soz didn't read the question correctly Mar 11 06:40:43 yes RustyShackleford when i was 6 :) started programming when i was 6 (dad talked to me) Mar 11 06:42:27 its ok if i have an id like R.idaction_foo and R.string.action_foo, right ? Mar 11 06:42:41 i mean, same 'name' for different things Mar 11 06:42:49 R.id.action_foo Mar 11 06:43:49 I'm trying to add external libraries to my project. I added them (using Eclipse) "Configure Build Path > Add External Jars". When I build my project, I get a "java.lang.NoClassDefFoundError" Mar 11 06:44:10 g00s: they are referenced differently so why not? Mar 11 06:44:22 yet Eclipse doesn't complain, as I added them to the build path Mar 11 06:45:30 I've cleaned my project, restarted eclipse.. still same error Mar 11 06:45:38 canvs2321 yeah, ok Mar 11 06:48:10 yea -c works Mar 11 06:48:18 only took around 11GB Mar 11 06:50:17 for some reason, our QA guy's DDMS is telling him it's only showing logs for our app, but in fact he is seeing much less logs than he should Mar 11 06:50:28 I checked and the only filter is by app name Mar 11 06:50:31 so... Mar 11 06:50:35 WTH?! Mar 11 06:51:57 app name doesn't work a lot for me Mar 11 06:52:09 I usually do PID Mar 11 06:52:17 but that changes in every run Mar 11 06:52:23 cannot make him do that Mar 11 06:52:26 he's lazy Mar 11 06:53:01 just grew sick and tired of sifting through all the logs of every fucking app on his device Mar 11 06:57:53 i dunno, never had any problems -- except long ago eclipse filter by app name would just 'give up' after some time and stop tracking the app Mar 11 06:58:14 but if the logs were coming, they were all there ;) Mar 11 06:58:38 that is just annoying Mar 11 06:58:40 or maybe you have TAGS longer than 23 chars and his device doesn't like it? a long shot ... Mar 11 06:58:50 nope Mar 11 06:59:01 it's working fine on my machine and everybody else Mar 11 06:59:04 just his Mar 11 06:59:27 but he also has his own device right ? Mar 11 06:59:30 any idea to resolinvg "java.lang.NoClassDefFoundError" errors when using external jars in a project? Mar 11 06:59:33 or is he using the emu Mar 11 07:04:10 g00s: yes Mar 11 07:04:18 but i use those devices too Mar 11 07:04:36 laphlaw: are you using proguard? Mar 11 07:05:29 i'd just test with ol shell 'adb logcat' and see if everything is there, even if noisy. you can use proclogcat, or JakeWharton has one too Mar 11 07:05:48 thepoosh: I have no idea what that is Mar 11 07:05:56 i don't think jasta has updated proclogcat in a while Mar 11 07:06:04 laphlaw: is it crashing after you export the apk? Mar 11 07:06:25 Mine's the best Mar 11 07:06:31 JakeWharton: which one is yours? Mar 11 07:06:40 I was just gonna beep you Mar 11 07:06:41 :) Mar 11 07:06:49 thepoosh: so I build it, it syncs the apk to my device connected via usb, the app launches, then it crashes Mar 11 07:07:07 laphlaw: just running from the IDE? Mar 11 07:07:21 yeah, running from eclipse Mar 11 07:07:56 or if I launch it manually on the phone as well Mar 11 07:08:05 hmmmm Mar 11 07:08:13 seems like the jar you're using sucks Mar 11 07:08:14 hold on i have to figure out what we're talking about Mar 11 07:08:16 JakeWharton: Do you know why giving an EditText focus and having the keyboard showing up will clear the SYSTEM_UI_FLAG_LOW_PROFILE flag? Mar 11 07:08:23 no Mar 11 07:08:40 thepoosh: hmm.. that would be surprising, as it is a google developed jar Mar 11 07:09:02 JakeWharton: we are talking about a logcat viewer that is better than DDMS, it's skipping logs Mar 11 07:09:07 https://github.com/JakeWharton/pidcat Mar 11 07:09:14 laphlaw: are you sure you have all the support libraries included? Mar 11 07:09:28 oh. then i stick by my statement Mar 11 07:09:39 LOL Mar 11 07:09:39 I should.. otherwise eclipse would complain Mar 11 07:09:48 not necessarily Mar 11 07:11:04 ha Mar 11 07:11:45 ? Mar 11 07:11:58 thepoosh: AFAIK, I have all the deps.. but I'll triple check Mar 11 07:13:39 is there something i have to do in AS for lint to show things? for example, if i have an unused resource, eclipse would underline that. Mar 11 07:16:56 did it actually work well? Mar 11 07:18:36 canadiancow in eclipse? i thought so ... Mar 11 07:19:40 in AS, I look in the tool window ' 0 : Messages' and almost never see anything, which is suspicious. i figure its not running Mar 11 07:20:35 ah ok, i have to explicitly say 'Analyze inspect code" Mar 11 07:21:10 does that analyze the code that does the inspection? Mar 11 07:21:37 yeah, some of the lint things seem to require explicitly doing 'Analyze' Mar 11 07:22:12 g00s: is AS stable enough to pass to? Mar 11 07:22:29 i'm using 0.5.1; some internal errors but it stays up Mar 11 07:22:50 gradle is ok for me, but i purposefully keep things simple Mar 11 07:22:52 there was a point where I tried to connect to git, and it couldn't decide what version of gradle is good for it Mar 11 07:23:07 keeped on throwing me between 8,9 and 10 Mar 11 07:23:22 hm, the docs say what you need Mar 11 07:23:39 there are some dependencies pinned Mar 11 07:23:43 i'm using gradle 1.11 Mar 11 07:24:08 in our office, they're using gradle 8 for the build machine Mar 11 07:24:12 its a simple project, just a few sub-projects, a few libraries, and a code-gen step. nothing fancy Mar 11 07:24:22 thepoosh: use the wrapper Mar 11 07:24:25 (coding on eclipse and running gradle) Mar 11 07:24:28 if you're not using the wrapper, you're using it wrong Mar 11 07:24:34 hmmmm Mar 11 07:24:42 I need to read some more about this Mar 11 07:25:36 as 0.5.1 i think uses gradle-plugin 0.8 too. but if you use 0.9, it needs AS 0.5. gradle-plugin 0.9 can use gradle 1.10 or 1.11 Mar 11 07:25:58 we're getting close to 1.0 \o/ Mar 11 07:26:07 see it's all just that simple! -_-# Mar 11 07:28:14 bankai_: lol Mar 11 07:28:21 oh yeah, and there are reps between the AS, gradle-plugin, and sdk-tools :D Mar 11 07:28:22 Dudi: did you manage the SMS? Mar 11 07:28:44 you can get the right gradle with gradle-wrapper, but it won't get you the right sdk tools :) Mar 11 07:29:08 hi thepoosh Yea I did. I do it already when I ask about notification :) Mar 11 07:29:28 so gradle-plugin 0.9 needs sdk build tools 19 Mar 11 07:29:44 no wonder your system is always broken Mar 11 07:30:06 oh Mar 11 07:30:11 that's not so good Mar 11 07:30:15 bankai_ most of the issues i have had, are in AS Mar 11 07:30:23 we're compiling to API lvl 18 Mar 11 07:30:26 not gradle, gradle-plugin, etc Mar 11 07:30:28 i think most of the issues you have are just you :P Mar 11 07:30:36 thats true too Mar 11 07:30:40 WRONG! Mar 11 07:30:52 DON'T DIS G00S!!! Mar 11 07:31:07 ;) Mar 11 07:31:15 you have a following ? Mar 11 07:31:32 he does ;) Mar 11 07:31:39 my dog follows me, is that was you mean bankai_ :D Mar 11 07:31:55 he has to, he's blind ;) Mar 11 07:32:03 your dog is blind?! Mar 11 07:32:24 http://2.bp.blogspot.com/_P6jQI08WCpE/R1BYL0CgzZI/AAAAAAAAAnk/WVw_HnTv_IQ/s1600-R/untitled.bmp Mar 11 07:32:39 yeah, poor chocolate lab. he used to trail run with me. i noticed something was up when he was going off the trail and missing turns Mar 11 07:32:51 :S Mar 11 07:33:16 g00s: your dog is called chocolate lab ? Mar 11 07:33:27 i call him 'dog' Mar 11 07:33:48 does he have a name ? or is his name dog ? Mar 11 07:33:50 i loved that meme, 'Yes, this is dog' Mar 11 07:33:56 aww we have a chocolate lab and a black one Mar 11 07:34:00 SirLagz his name is Jake :D Mar 11 07:34:08 g00s: oooooo right haha Mar 11 07:34:15 labs FTW :) Mar 11 07:34:22 g00s: haha, yeah I love 'this is dog' too Mar 11 07:34:39 i reckon, black one is 'mine' ... he's always so stupidly excited to see anyone. terrible guard dog, he'll just lick you to death Mar 11 07:34:43 g00s: this is doge Mar 11 07:35:04 g00s: is this you? http://newnation.sg/wp-content/uploads/oh-you-dog.jpg Mar 11 07:35:17 hehe Mar 11 07:35:20 no, not me :D Mar 11 07:36:25 bankai_ i'll have to see a pic of your dogs some time Mar 11 07:38:32 I have this error Mar 11 07:38:32 http://stackoverflow.com/questions/10098997/r-xml-preferences-cannot-be-found Mar 11 07:38:35 literally Mar 11 07:38:43 however nothing that was suggested helps Mar 11 07:38:46 how could that be? Mar 11 07:39:15 g00s: https://lh4.googleusercontent.com/-Ar5ObleYml4/UXYAi_i_EvI/AAAAAAAAHvU/m7NbBJuaF_U/w1033-h775-no/IMG_20130421_154231.jpg https://lh4.googleusercontent.com/-IXUsQW0gHvw/UXJB3QKSnxI/AAAAAAAAHpY/wxuot8tpWKw/w581-h775-no/IMG_20130420_172029.jpg Mar 11 07:39:49 oh nice bankai_ they look good and healthy :) Mar 11 07:39:52 https://lh3.googleusercontent.com/-ejz03lyH5p0/UXXLwZWttGI/AAAAAAAAHp0/LRT_Dh1MLTI/w1033-h775-no/IMG_20130421_154242.jpg Mar 11 07:40:19 one has a bit of a hip problem though :( apparently quite common with those dogs Mar 11 07:40:26 do they behave in the tent ? Mar 11 07:40:45 they are definitely outside dogs :P Mar 11 07:41:12 jake comes in my tent. just have to put booties on him so he doesn't puncture the floor. i wrap him up in space blanket like a burrito Mar 11 07:41:26 lol cute Mar 11 07:42:07 also works great when its windy, setting up the tent - i get him in there and he keeps it from flying off :) Mar 11 07:42:23 although, one time his bed did fly off the mountain Mar 11 07:45:30 bankai_ http://i.imgur.com/mJru0dj.jpg Mar 11 07:47:35 Hello guys/girls - https://gist.github.com/tagrudev/9481260 Mar 11 07:47:53 can you check that out the question is in the comments Mar 11 07:50:41 bankai_ last one http://i.imgur.com/JXpv3Zn.jpg Mar 11 07:52:29 tagrudev: 12 - sometimes 13 on Thursdays Mar 11 07:52:51 :? Mar 11 07:53:14 after update sdk to version 22.6 my emulator doesn't run snapshot and freeze when i load AVD with enabled snapshot is it same for you ? Mar 11 07:54:02 tagrudev: could be 14 under some circumstances, I guess Mar 11 07:54:27 Leeds, I am not sure how that's connected :D Mar 11 07:54:30 to the question Mar 11 07:54:33 but ok Mar 11 07:54:38 tagrudev: you didn't ask a question Mar 11 07:54:42 g00s: beautiful backdrop ! cute pup too :) Mar 11 07:55:04 Leeds, it's in the comments of the gist :) Mar 11 07:55:07 tagrudev: you posted an entirely context-free link - so I gave you an entirely context-free reply Mar 11 07:56:32 I have an arraylist of strings with urls, and a viewpager I want to lauch a specific one in the viewpager :) in the gist you can find the code in the comments you can find a longer explanation if you're interested :) Mar 11 07:56:39 tagrudev: show the channel at least a minimum level of respect and say what the question is about, rather than expecting everyone to go follow a link before they have any idea if they can help you... Mar 11 07:56:41 see, was that so hard? Mar 11 07:57:00 point taken Mar 11 07:58:06 tagrudev: what seems to be the issue? Mar 11 08:00:14 1st Acitivity - gridview of images -> on click of an image launches this one ( the activity from the gist ) and sends an Array of strings in the intent. The seconds activity gets this array and launches a viewpager Mar 11 08:00:28 I don't know how to set the index of the viewpager that has been launch Mar 11 08:01:40 tagrudev: have an additional int that represents the desired index and send it with the intent extras Mar 11 08:02:18 yeah I would do that but how do I tell the viewpager Mar 11 08:02:22 hey, so I am making a game and with the way my class is going we are using custom views (no xml layouts) I wanted to abstract the design out as mine is much larger and was wishing to have views that contain other views. Seems I can't do that I instead have to have ViewGroups that contain views and other viewgroups which is fine. I just am having issues finding an example that would help Mar 11 08:02:22 me Mar 11 08:02:50 Is there a specific way to add child views I should be following? Or how can I get the child view to draw Mar 11 08:03:23 nvm I found it Mar 11 08:03:28 setCurrentItem Mar 11 08:03:29 ... Mar 11 08:04:00 tagrudev: http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setCurrentItem(int, boolean) Mar 11 08:04:08 you should read the documentation Mar 11 08:07:02 thepoosh yeah, it still a little rough around the edges :) i just go 'error code 138' no line, not explanation Mar 11 08:08:28 yeah Mar 11 08:08:43 I'm staying with crappy Eclipse until it's at least at version 1.0 Mar 11 08:09:17 dont' tell bankai_ that, he'll release the hounds after you Mar 11 08:09:30 I saw thier image Mar 11 08:09:37 they look like sissies Mar 11 08:10:02 yeah they are Mar 11 08:10:28 as my role model Cartman would say Mar 11 08:10:35 I'll kick them in the nuts! Mar 11 08:11:47 can only do that to one of them Mar 11 08:12:02 hi , all , how can i disable the sounds played when i press Volume Down/Up key ??? Mar 11 08:15:36 ugh, i can't find anything about aapt error 138 Mar 11 08:16:36 nvm I got it for now Mar 11 08:44:41 what is appcompat_v... that ADT made for me when i create a project ? Mar 11 08:44:44 so the main reason for adding the wrapper and using gradlew is that it will download the correct build.gradle specified gradle version if its not currently available? Mar 11 08:49:20 bankai_: do you know how I "confirm to myself" that intellij is using the gradlew wrapper stuff for builds inside the IDE? Some log comment or status I'm not seeing? Mar 11 08:50:01 there's a tickbox in the gradle settings Mar 11 08:51:00 sure, but I'm trying to see how the build process has been affected if at all. (btw, glad I stuck with it, it's all pretty awesome and clean now Ive ported the projects over to gradle properly). Mar 11 08:51:59 one thing thats puzzling me though is were "project clean" has gone. Mar 11 08:52:03 where Mar 11 08:53:43 It's renamed rebuild Mar 11 08:54:15 i have clean project O.o Mar 11 08:54:25 rebuild was there before in addition. Maybe because it was a hybrid of gradle/idea proprietary? Mar 11 08:54:30 hmm. Mar 11 08:54:31 they should have named it 'fix' Mar 11 08:54:33 lol Mar 11 08:55:05 no, "clean" should always be called "click me again to hope for the best because obviously your build process is hosed".... Mar 11 08:56:24 I'm pretty sure there is a bug here though with regard to symbolic links. I'm seeing my build.gradle twice in the project hierarchy both giving seperate URIs when hovering over the name in an open editor tab but both resolving to the same physical file. Mar 11 08:57:21 rgr admit it, eclipse never inflicted so much pain :) Mar 11 08:58:21 I gave up on eclipse ages ago because I blamed it for the java focus issues with xmonad.... turns out it was a java/awt bug.... but I'm glad I moved to intellij. It just feels "right". In eclipse I drowned in window panes..... Mar 11 08:58:32 i just spent an hour figuring out what aapt error 138 meant. only lint told me there was a invalid resource reference. but it never showed up in the ide Mar 11 08:58:36 its still all pretty broked Mar 11 08:58:40 *borked Mar 11 08:58:49 lol broked works as well Mar 11 09:00:41 will a service that is bound and not sticky become unbound if it gets killed? Mar 11 09:09:43 can anyone confirm whether IMEs (e.g swype/swiftkey) are single instance in android? Mar 11 09:09:57 (unlike iOS, where every app seems to have its own keyboard instance) Mar 11 09:10:33 gradle tasks duplicated too as a result. http://i.imgur.com/6dt9L4n.jpg Mar 11 09:12:59 for some reason my android:gravity="center_vertical" isn't doing anything -.- Mar 11 09:13:45 hmm... removed scrollview parent and now it works... Mar 11 09:18:25 could be something to do with the size of the child view in relation to the parent Mar 11 09:18:38 i remember reading something about this a few days ago Mar 11 09:18:54 what's more weird that this exact layout works in another project but not in this one -.- Mar 11 09:19:22 .. Mar 11 09:19:42 is there something messing with the size of the child? Mar 11 09:19:48 why ADT make for me unwanted project called appcompat_v7 for each new project my project list is messy. any idea ? Mar 11 09:19:54 bah. where IS the lint log? Mar 11 09:20:27 adrianadrian, it's all xml so far, so I don't think so Mar 11 09:20:52 weird, dude Mar 11 09:22:08 g00s: md5('240610708') == md5('QNKCDZO') # guess what language is that? Mar 11 09:22:56 javascript ? Mar 11 09:23:48 php! Mar 11 09:24:04 uggh! Mar 11 09:24:12 (guess) Mar 11 09:24:15 g00s: PHP. both md5 end up turned to 0 Mar 11 09:24:21 :) Mar 11 09:24:27 so yes, in php, above line gives you *true* Mar 11 09:26:49 I don't get it! Mar 11 09:29:44 ahah, fillViewport="true" for the scrollview fixed the issue but I have no clue why this problem didn't exist with the other project Mar 11 09:31:28 what does fillViewport actually do? Mar 11 09:32:15 if a service is started with startService, and return START_NOT_STICKY from onStartCommand, i don't need to stop it if it's killed by the system, right? Mar 11 09:32:31 well it didn't actually fix the problem though, only in IDEA preview -.- Mar 11 09:41:20 hi Mar 11 09:42:41 hello Mar 11 09:43:02 i am having problem with leaderboard implementation can anyone help me please Mar 11 09:43:03 ? Mar 11 09:46:20 Are there any humnas here Mar 11 09:46:58 lol, wut http://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.html#TOY_DOLL_ACTION_FIGURE Mar 11 09:47:54 what is that Mar 11 09:47:57 is it for me :P Mar 11 09:48:30 no, more for p_l Mar 11 09:48:53 or anyone that finds it amusing Mar 11 09:49:49 so can you tell me how to add leaderboard to my game Mar 11 09:49:59 no idea :( Mar 11 09:50:49 i just tried with those sample Mar 11 09:51:04 and no idea to add it to my app Mar 11 09:51:14 should i expect onPause to be called when i press the home button in my activity? Mar 11 09:51:22 immibis yes Mar 11 09:51:32 which of course, is stated in the docs ;) Mar 11 09:51:37 yes Mar 11 09:51:40 :D Mar 11 09:51:52 yep, just added more debugging, it's a bug in my app (of course) Mar 11 09:52:28 oh wow. That lint output from gradlew lint task is pretty damn impressive. Mar 11 09:52:35 actually i just thought i was logging onPause, but wasn't Mar 11 09:52:43 very dumb thing to do and then ask about on IRC :P Mar 11 09:53:07 you can ask anything here Mar 11 09:53:29 immibis do you know about implementing android leaderboard in game Mar 11 09:53:49 if my app runs a service in the background (and the user expects that), and has an activity that accesses the service, should i bind to the service while the activity is resumed (bind in onResume, unbind in onPause), or while the activity exists (bind in onCreate, unbind in onDestroy)? Mar 11 09:53:53 anon_555: no i don't Mar 11 09:54:12 rgr yeah, almost overwhelming ... Mar 11 09:55:05 anon_555: have you read https://developers.google.com/games/services/android/leaderboards ? Mar 11 09:56:28 hey guys... latest update of android studio won't let me bring in any non gradle projects without completely messing up project structure.... anyone know whats going on or how to work around? Mar 11 10:00:19 g00s: and then some. And answers my Q the other day about a decent apk analyser. Scary how many things it's telling me a working program is missing (log back-android referencing things not included which hints at the maven dependencies being kack). Mar 11 10:02:04 Hey Guys, i'm searching for a free way to display PDF's and maybe also do an annotation. Someone who knows something about this? Mar 11 10:02:57 i'm submitting AS internal errors to google like every 10 minutes Mar 11 10:03:14 ..... typical Mar 11 10:03:26 Click66 well, i have a friend who works at datalogics :) Mar 11 10:03:33 pdfl is not free though :( Mar 11 10:03:41 no free way to display ?:D Mar 11 10:04:12 they actually had a lot of performance problems with pdf on android Mar 11 10:04:20 damn Mar 11 10:04:21 much of that rendering code is in C Mar 11 10:04:39 g00s: you handle the lint output inside of intellij? Mar 11 10:04:50 rgr yeah, the inpections window Mar 11 10:05:45 i got confused - inspection window has multiple tabs, one for each time you run Analyze Mar 11 10:05:58 i think they should just only have one ? Mar 11 10:06:06 why would i want to look at the last 4 Mar 11 10:08:43 cant find the inspections window. should be in view/tool windows Mar 11 10:09:53 maybe it doesn't show up until you run it once Mar 11 10:10:07 Analyze … -> Inspect code Mar 11 10:10:15 then it looks like a little dude with a hard hat Mar 11 10:10:20 oh right. analyse. heh. that menu option was "invisible" to me til now. A sign I'm getting more familiar with my way around. Mar 11 10:11:04 being the anal retentive i am though I wish I could see intellij spawn the "gradlew lint" wrapper. Mar 11 10:11:40 i dont use the wrapper Mar 11 10:11:43 (and yes the hard hat inspection guy has appeared now! cheers) Mar 11 10:12:06 if its for a team project, i can see the wrapper Mar 11 10:12:14 from what I gather the wrapper is there as a proxy that takes care of downloading a newer gradle if your build.gradle specified one not installed. Mar 11 10:13:09 anyways, this entire IDE is getting more and more impressive. Outside of JQuery I cant think of a bit of sw/tool that has impressed me more. Very nice. Mar 11 10:14:44 oh no. evil. the analyse lint output has been integrated to allow auto fix resolution. aargh. too cool. Mar 11 10:17:30 hey, I've got a broadcast receiver for screen on and screen off. It currently just logs, now i want to start a service as soon as the screen is on. Now am i right in thinking i need to create a new method? and give on screen a value? Mar 11 10:32:40 g00s: have you used view offline inspection results? I would have thought I could open the existing lint output XML error log? Mar 11 10:34:58 i haven't. maybe its in build/ somewhere ? Mar 11 10:39:02 it is yeah but nothings opening. probably 101 #usererror. Mar 11 10:53:35 goddam. I must get off this IDEA love. Even their online documentation makes sense and is up to date. Who are these people? I might have to buy Ultimate Edition just because they deserve it. Mar 11 10:54:23 surprising isn't is Mar 11 10:54:50 i've followed the instructions to make a PreferenceActivity, but i'm not sure how to open it from my app. i'm not using the typical menus, everything is custom so it'll run from a button i made Mar 11 10:54:59 is it possible to send an invoice from a purchase made for an app? Mar 11 10:55:16 someone who bought my app is asking for an invoice for tax purposes Mar 11 10:55:22 CallumTaylor: that's not your responsibility, the transaction is with google, not yourself Mar 11 10:55:30 well she contacted google Mar 11 10:55:33 and they told her to contact me Mar 11 10:55:43 " Google Play won't issue an invoice for my purchase and they referred me to you for the invoice. " Mar 11 10:56:38 Mavrik: lol. the online help even has a drop down to change the hotkeys in the online doc depending on the platform/settings profile. ha ha. Superb. Mar 11 11:00:08 CallumTaylor: interesting .... maybe this will help: https://support.google.com/googleplay/answer/2850368?hl=en&ref_topic=3245921 Mar 11 11:00:58 jesus this just goes straight over my head Mar 11 11:01:37 how much are you selling your app for ? Mar 11 11:02:03 £1.29 Mar 11 11:04:54 CallumTaylor: all this information is in their google wallet Mar 11 11:05:14 lists the price, the company(You in this case), the price, associated taxes Mar 11 11:13:50 g00s: did you stop lint analysing the stuff in build? Im surprised it does by default here on my setup. Mar 11 11:15:04 google play automatically emails you an invoice for all purchases. Mar 11 11:15:48 rgr i never noticed it during builds :| Mar 11 11:16:00 thats why i was trying to figure out how to run it :) Mar 11 11:16:16 is PreferenceFragment the only way to use preferences these days? Mar 11 11:16:28 you still battling with that ? Mar 11 11:16:36 yeah i'm still confused Mar 11 11:16:56 i've made a PreferenceFragment and a PreferenceActivity, which uses the fragment Mar 11 11:16:58 rgr that's what I thought, but ¯\_(ツ)_/¯, its really tricky especially being in the UK Mar 11 11:17:09 i try to mak ea new Intent to open the PreferenceActivity, but it bombs Mar 11 11:17:19 i'm also not understanding the exception very well Mar 11 11:18:29 http://developer.android.com/reference/android/preference/PreferenceFragment.html there's a sample here Mar 11 11:20:52 i'm not actually using headers Mar 11 11:21:59 neither does that example Mar 11 11:22:36 i don't even know which example we're talking about anymore Mar 11 11:22:56 visit the link... Mar 11 11:23:12 oh, plz repaste... i disconnected my monitor which put my laptop into sleep mode Mar 11 11:23:20 so i just left and came back Mar 11 11:23:25 http://developer.android.com/reference/android/preference/PreferenceFragment.html Mar 11 11:23:30 thanks Mar 11 11:24:29 nope. I cant get view offline inspection to open anything but I know the xml file is in the build directory. Mar 11 11:24:40 ok, i did do all of this... i'm not sure how to open it as i'm not using a standard menu button Mar 11 11:25:05 it's just a fragment, like any other fragment Mar 11 11:26:31 ok, i'll look it up (haven't used fragments yet) Mar 11 11:33:27 you're odd :P Mar 11 11:35:35 who me? Mar 11 11:36:21 apparently my computer throws a fit when i try to change to my display without closing the lid Mar 11 11:36:22 brb Mar 11 11:49:53 on a bunch of cascaded catch() statements in intelij what "shortcut" is there to add another? Mar 11 12:39:48 Anyone developing android apps on netbeans? which plugin do you recommend? Mar 11 12:40:50 Hey, I was wondering what the name of the back functionality on the action bar is called? Mar 11 12:41:09 like in this image http://developer.android.com/images/ui/actionbar-item-withtext.png, the arrow on the gmail icon Mar 11 12:42:12 its like the action bar up button Mar 11 12:42:26 http://developer.android.com/training/implementing-navigation/ancestral.html Mar 11 12:42:56 ah ok, so I just provide the parent for each of my activities Mar 11 12:43:14 and so forth, thank you, i'll read it through Mar 11 12:43:23 I think you can, although I normally do it through code with the onOptionsItemSelected methods Mar 11 13:02:14 Charl1e: yeah, that's strange. The article kind of gave the impression that I needed to do that, but it worked by providing the parents in the manifest Mar 11 13:02:25 if I have a layout xml file, and in it there are 3 fragments, could it be that all fragments go through onResume when the parent activity goes through onResume? Mar 11 13:22:54 Okay, I don't get how setContentView() and getViewByID() works. I have a layout xml tied to a fragment, and when I try to do getActivity().getViewByID(R.id.linearlayoutinsidexml) i get a Resources$NotFoundException. What is happening here? AND YES I HAVE CLEANED THE PROJECT... Mar 11 13:29:41 how do I connect my device to my localhost? Mar 11 13:30:02 I am on the same wifi and am trying to go to the ip address from my browser but it just loads forever Mar 11 13:30:32 what? Mar 11 13:33:08 Can someone take a quikc look at my three code files on pastebin. i want to run the service when the screen is on, doesnt seem to be working, i know its a simple solution but cant see it. http://pastebin.com/sK3UgtnQ Mar 11 13:48:25 hi all, here is a question I asked about fragments onresume mechanism, have a look please: http://stackoverflow.com/q/22326986/1056359 Mar 11 14:09:57 Hi all, anyone familiar with intelliJ? I'm having trouble importing the google play library. Under project structure I import the google-play-services_lib, and under modules I check the projects dependencies for that lib. But I can't get any references to it. What am I doing wrong? Mar 11 14:11:32 are you importing jar as well? Mar 11 14:12:31 the jar Inside the google play services lib folder? I guess so, im importing everything. Mar 11 14:13:05 Under library details it says it gets its classes from the main folder, and the sources from /gen & /src Mar 11 14:13:27 make sure .jar is included as well. Mar 11 14:13:45 under classes, correct? Mar 11 14:15:19 Hi all Mar 11 14:16:10 people, I would like in my android to do a application to send message to whatsapp automaticly, without I'm open and choice user and send message to whatsapp, is possible my app to talk with whatsapp? Mar 11 14:16:39 i've added the .jar under sources And classes. But no dice. IT keeps giving a no recourse found when trying to get a ref with xmlns:android="http://schemas.android.com/apk/res/android" Mar 11 14:16:43 plm: all apis to whatsapp are considered illegal and are blocked Mar 11 14:16:48 by their legal team Mar 11 14:19:02 thepoosh: yes, I see many projects in gitbhub down. BWcouse this I would like to know if are a way to use one arealdy installed and registered whatsapp in android and other application using that whatsapp (whitout api) to sent messages, like as one real person sending.. Mar 11 14:20:00 there are some PoC of bypassing their security and performing session hijacking Mar 11 14:20:08 but that's illegal Mar 11 14:21:26 thepoosh: what is PoC? Mar 11 14:23:41 thepoosh: is not possible to control a whatsapp via another application, simulating touchs? =D Mar 11 14:26:23 proof of concept Mar 11 14:28:56 Is there any way I could animate a crossfade from one rect on an image to another rect in an image. I have the two rects, and I can perform a pan+scale to appropriately zoom from one rect to another with a MatrixEvaluator that interpolates the values, but I was wondering how I could crossfade. Mar 11 14:29:16 I was wondering, where could I find a reference to 'every single possible' style that could be used when styling things? Mar 11 14:29:26 I remember finding an XML file on github that had all of them Mar 11 14:29:33 but I haven't been able to find it since Mar 11 14:29:35 I would like to keep just the one bitmap for the image in memory rather than cutting out each panel since I'm constricted on memory Mar 11 14:30:42 bacon1989: every single possible what style Mar 11 14:31:27 git status Mar 11 14:31:32 >.< Mar 11 14:31:34 that could be used in