**** BEGIN LOGGING AT Sat Feb 11 02:59:57 2012 Feb 11 03:24:31 I tried the line adapter = new Adapter(getFragmentManager()); Feb 11 03:24:38 similar to the refs fr FragmentPageAdapter Feb 11 03:25:13 but there's a conflict between using android.support...FragmentManager and android.app.FragmentManager Feb 11 03:25:50 I basically used the sample code in the refs for Feb 11 03:25:53 http://developer.android.com/reference/android/support/v13/app/FragmentPagerAdapter.html Feb 11 03:30:13 yay new phone, finally! Feb 11 03:31:38 do i need to have called requestAudioFocus() before i call registerMediaButtonEventReceiver() ? Feb 11 03:52:09 why is theming spinner dialogs so annoying Feb 11 03:57:45 hi Feb 11 03:58:40 upon executing adb I am not getting any output .. not even the usual list of commandline options, can someone please help? Feb 11 03:59:47 bash: /usr/share/android-sdk-linux/platform-tools/adb: No such file or directory Feb 11 04:00:06 and upon running sudo adb... I get no output Feb 11 04:00:22 The thing is there in the path Feb 11 04:02:45 hey Feb 11 04:06:12 how can i capture the volume rocket input in my app? Feb 11 04:07:38 found http://stackoverflow.com/questions/8266994/adb-devices-command-shows-nothing-solved Feb 11 04:07:50 but the solution does not work for me Feb 11 04:35:29 is there a way to programmatically determine what resource qualifiers will be used? Feb 11 04:39:25 like, mdpi or hdpi or ldpi or xhdpi? Feb 11 04:39:30 normal, large, xlarge? Feb 11 04:39:33 those types of things Feb 11 04:41:37 obviously I can just dump booleans into the resource folders themselves and read them Feb 11 04:41:44 but i'd like to do it purely programmatically Feb 11 05:03:14 quiet in here Feb 11 05:05:22 says the person that's been in the room for ~100 seconds Feb 11 05:05:25 hello, I'm encountering a problem with a view being added and some items' visibility being altered: I have a custom adapter which has a couple of buttons on it. Now for some of the items passed by the cursor, I need to hide one of the buttons; Feb 11 05:05:26 it is a friday night afterall Feb 11 05:05:32 meh Feb 11 05:05:38 even some of these nerds must have lives :) Feb 11 05:05:40 this works to some extent: they get hidden for the specific items, however, when my ads appear, other item's buttons also disappear even though conditionally these items should not have their buttons disappear Feb 11 05:06:18 i used to have a life lol Feb 11 05:11:50 Akuma, i'd need to see the code to see what the problem is Feb 11 05:12:36 most likely in the adapter you're hiding or showing things, but only when they need hidden or shown. You should set the visibility every time in the adapter's get view method. Feb 11 05:13:18 Oh Feb 11 05:13:35 so instead of just hiding, hiding and showing Feb 11 05:14:02 right Feb 11 05:14:40 brilliant Feb 11 05:14:44 it somewhat worked Feb 11 05:14:58 only somewhat? Feb 11 05:15:01 but that gives me more of a clue on how to fix it Feb 11 05:15:04 well Feb 11 05:15:12 I was hiding an element Feb 11 05:15:23 and moving another one to align right with parent Feb 11 05:15:31 now they are superposing each other Feb 11 05:15:39 so the one that was vanishing no longer is Feb 11 05:15:42 most likely the view is being reused, so the old values are coming along with it Feb 11 05:16:03 you have to reset all the values on the view to what you want them to be Feb 11 05:16:15 yea Feb 11 05:16:18 Thanks a lot! Feb 11 05:17:47 work now? Feb 11 05:18:00 still figuring out the kinks Feb 11 05:18:01 lol Feb 11 05:18:03 but better Feb 11 05:18:18 for some reason when I scroll Feb 11 05:18:25 some of it moves around Feb 11 05:18:27 and some doesn'T Feb 11 05:18:49 (ie. they go out of the visible section) Feb 11 05:19:50 hmm Feb 11 05:21:27 http://pastebin.com/Li65jgna Feb 11 05:24:03 ok, I fixed it Feb 11 05:24:12 good Feb 11 05:24:28 Thanks for the help! I greatly appreciate it! Feb 11 05:24:34 no problem Feb 11 05:24:57 anyone know of any android job openings around columbus, ohio? Feb 11 05:25:45 if you override onCreateView in a method extending ListFragment, what is the LayoutInflater supposed to inflate if you have to make the default id for the listview R.id.list? Feb 11 05:26:28 you have to make it android.R.id.list Feb 11 05:26:34 if you're using native fragments Feb 11 05:26:59 JakeWharton right that's what I figured, so I just had it inflate my listview Feb 11 05:27:19 but I get the error resource not found Feb 11 05:27:26 I figured it was coming from there Feb 11 05:31:06 so no job openings eh Feb 11 05:31:21 got one in Pittsburgh Feb 11 05:31:22 ohio's pretty much a deadend for mobile jobs I bet Feb 11 05:31:35 it's not really mobile-related, though Feb 11 05:31:36 they all seem to be in sf these days Feb 11 05:33:28 hmm Feb 11 05:33:38 i figured out how to detect small/normal/large/xlarge Feb 11 05:33:51 still no clue how to get dpi bucket Feb 11 05:34:07 whoops Feb 11 05:34:10 spoke too soon Feb 11 05:34:20 maybe Feb 11 05:34:21 no Feb 11 05:35:35 nope, found it! Feb 11 05:35:36 woot Feb 11 05:36:05 Can someone help me build dialog, please? I'm trying to attach xml layout, but it's not displayed for some reason. :| Feb 11 05:36:37 well, it was hard to get back in here after my computer rebooted Feb 11 05:37:12 /server irc.freenode.net; /msg nickserv identify PASSWORD; /join #android-dev Feb 11 05:37:21 Here is the part where I add it to AlertDialog.Builder https://github.com/Tsukanov/Simple-Counter/blob/master/src/me/tsukanov/counter/CounterActivity.java#L180 Feb 11 05:37:44 xchat still tries to connect to my BNC everytime I start it up Feb 11 05:37:54 which hasn't existed in months Feb 11 05:37:57 i'm just too lazy to switch it Feb 11 05:38:04 so i type those three commands every time, just got used to it Feb 11 05:38:23 JakeWharton, except my user was already in here, so it wouldnt let me become that user, and then when there was a ping timeout i couldnt change my nick becuase i was banned on this channel Feb 11 05:38:50 i think you can /msg nickserv ghost oldnick Feb 11 05:38:52 if you're auth'd Feb 11 05:39:12 hmm Feb 11 05:40:04 i did not know that command Feb 11 05:40:05 thanks Feb 11 05:41:11 i'm used to different services myself Feb 11 05:41:18 but the commands are usually the same Feb 11 05:42:18 i got canned at work today, cant sleep Feb 11 05:43:11 jeez Feb 11 05:43:13 sorry to hear that Feb 11 05:43:32 thanks Feb 11 05:43:38 what to do now Feb 11 05:45:54 anyone had experience with c2dm? How long does it take for them to whitelist the account when you fill out the sign up page? Feb 11 05:48:19 so… nobody knows what's wrong? Feb 11 05:48:58 Gentlecat, yes Feb 11 05:49:15 that's sad Feb 11 05:49:26 Gentlecat, didnt see your message Feb 11 05:49:30 i'll have a look Feb 11 05:50:32 are you getting an error message? Feb 11 05:50:39 no messages Feb 11 05:50:54 just nothing showing? Feb 11 05:51:10 hey guys, my app is unexpectedly closing in the simulator. Can someone help me out? Here's the code: http://pastie.org/private/kpxbhpdn8ogsm6wvjx1g and Here's the xml file: http://pastie.org/private/k5sznz88wyt084av4aisq Feb 11 05:51:12 wait a sec, I'll make a screenshot of this dialog Feb 11 05:52:34 Snuupy, and what's the error is has when it closes? Feb 11 05:52:45 johnboker, http://i.imgur.com/VtMXj.png Feb 11 05:52:47 it just says that it's closing unexpectedly - want a screenshot? Feb 11 05:52:52 johnboker: ^ Feb 11 05:52:55 look at the logcat Feb 11 05:53:01 there will probably be a message there Feb 11 05:53:37 oh, there's a lot Feb 11 05:53:39 should I pastie them? Feb 11 05:53:49 Gentlecat, and it's supposed to take the contents of the view in the background? Feb 11 05:53:53 Snuupy, yes Feb 11 05:54:22 http://pastie.org/3359162 Feb 11 05:54:25 error list is there Feb 11 05:54:44 Snuupy, line 36 Feb 11 05:55:01 playera1 is null Feb 11 05:55:01 playeral.setOnClickListener (new View.OnClickListener () ? Feb 11 05:55:09 it mus tnot have found the view by id Feb 11 05:55:35 johnboker: but eclipse isn't showing me any errors...why is Android? Feb 11 05:55:47 johnboker, what do you mean? Feb 11 05:55:57 Snuupy, the id exists, but it must not be in that view or something Feb 11 05:56:16 what do you mean? I'm extremely new to Android. Can you dumb it down a bit for me? xD Feb 11 05:56:36 Snuupy, try making all your android:id's in your xml lower case Feb 11 05:56:43 okay Feb 11 05:57:31 also, in eclipse go to the project menu and click clean Feb 11 05:57:37 that will remove stale stuff Feb 11 05:57:41 okay, sure Feb 11 05:58:06 Gentlecat, that was for snuupy Feb 11 05:58:16 Gentlecat, still not sure what the problem is for your issue Feb 11 05:58:18 haha, xD Feb 11 05:58:25 me too Feb 11 05:59:36 in the old version of my app I didn't use xml layouts and everything was fine Feb 11 05:59:46 Gentlecat, have you set dialog views like this before? Feb 11 05:59:57 removing them from one view and putting it into another? Feb 11 06:00:46 that's how I did it before http://code.google.com/p/simple-counter/source/browse/src/me/tsukanov/counter/activities/CounterActivity.java#228 Feb 11 06:00:56 johnboker: I'm getting 6 errors of "R cannot be resolved to a variable " now. Feb 11 06:01:17 I thought it would be easier to use xml Feb 11 06:01:33 Snuupy, are the variables in the code the same case as in the xml? Feb 11 06:01:57 they are now. Feb 11 06:02:03 all lower case Feb 11 06:02:30 R needs to regenerate Feb 11 06:02:40 what's that mean? Feb 11 06:03:18 is there any way to detect whether a screen is capacitive or resistive programmatically? Feb 11 06:04:15 Is it possible to map a joystick axis to a button using keylayouts? An app I am using does not support the analog triggers of my controller because it doesn't seem to support axes. Feb 11 06:04:27 Gentlecat, in the counteractivity on line 228 on that example you sent i dont see it pulling a view from another view and putting it as the content of a dialog Feb 11 06:04:30 johnboker: ohh, I see. the R errors were from another project. Eclipse is a bit confusing. Feb 11 06:05:42 johnboker: still isn't working - says that it crashes unexpectedly Feb 11 06:06:02 Snuupy, post the xml too Feb 11 06:06:08 sure Feb 11 06:06:22 Error: http://pastie.org/private/nfrb6lb28ju7im36fq3wvg Feb 11 06:06:43 code: http://pastie.org/private/xqkpfx4fzc3qkajkrxikiw Feb 11 06:06:43 johnboker, 264 Feb 11 06:07:14 XML: http://pastie.org/private/vwoerdoct3gtmipnosznq Feb 11 06:07:27 Gentlecat, you're adding a view there, but it wasnt previously in another view Feb 11 06:07:36 you're creating it on line 232 Feb 11 06:08:07 right Feb 11 06:09:35 johnboker: I can't see what's wrong with my code \= Feb 11 06:10:23 Snuupy, me neither... Feb 11 06:10:31 I didn't get any errors Feb 11 06:10:38 until I placed in if selection Feb 11 06:10:40 at the top Feb 11 06:10:53 I'm trying to qualify it - the game is to make alternating taps Feb 11 06:11:02 (left tap, right tap, left tap, right tap, etc) Feb 11 06:11:16 the game ends when there have been 10 taps (or x taps) Feb 11 06:11:34 so what should I do? Build that layout in java or there is some other way? Feb 11 06:11:37 I've done java with the console before - and I'm not sure how to get this working Feb 11 06:12:39 Gentlecat, you can creat the layout in xml then inflate it Feb 11 06:13:36 similar to the answer here http://stackoverflow.com/questions/2795300/how-to-implement-a-custom-alertdialog-view Feb 11 06:15:19 okay, I'll try Feb 11 06:15:29 johnboker: http://pastebin.com/YDXzi0a4 <--- errors Feb 11 06:20:20 Snuupy, could it be that you have the buttons outside the tablerow? Feb 11 06:20:49 Snuupy, at least the one toward the bottom Feb 11 06:20:52 uh..what buttons outside? Feb 11 06:20:59 buttondsbright Feb 11 06:21:23 isn't that inside? Feb 11 06:21:25 there's a box for it Feb 11 06:21:37 http://pastie.org/private/vwoerdoct3gtmipnosznq Feb 11 06:21:50 on line 116 open tablerow, line 120 is close table row Feb 11 06:22:04 yes, it is. Feb 11 06:22:06 line 122 open button Feb 11 06:22:24 line 128 closes Feb 11 06:22:28 does a /> Feb 11 06:22:29 right Feb 11 06:22:41 so...are you saying I need a Feb 11 06:22:45 I thought they worked the same? Feb 11 06:22:46 so, shouldnt the button be between lines 119 and 120 ? Feb 11 06:22:57 ohhhh Feb 11 06:22:59 you're right Feb 11 06:23:18 not sure if that'll fix it Feb 11 06:23:21 but something to try Feb 11 06:23:45 launching sim Feb 11 06:24:22 johnboker, http://i.imgur.com/CZ9sY.png Feb 11 06:24:27 thanks Feb 11 06:24:36 no problem :) Feb 11 06:24:56 Nope, still got an error Feb 11 06:25:06 Application Rage Tap has stopped unexpectedly Feb 11 06:25:13 same error? Feb 11 06:25:29 uhh yep the same Feb 11 06:25:33 but it seems the log is diff Feb 11 06:25:57 http://pastebin.com/k2RtaNKE Feb 11 06:26:27 Snuupy, could you clean and try again? Feb 11 06:26:28 I think I messed up a couple of apps, somone here that can help me out? Feb 11 06:26:30 this seems odd Feb 11 06:26:35 johnboker: sure Feb 11 06:27:52 is there some way I can get my password reset for here. I thought I knew it but I guess it's not what I thought I had put Feb 11 06:28:12 argh! Feb 11 06:28:19 johnboker: still crashing Feb 11 06:28:30 ok, what framework did you target, i'll try running it here Feb 11 06:28:37 android 2.3? Feb 11 06:28:43 2.2 Feb 11 06:28:46 k Feb 11 06:28:48 but I guess 2.3 should work as well Feb 11 06:29:15 johnboker: do you want the source? Feb 11 06:29:22 that java file isn't the only one Feb 11 06:29:37 I only get the error after I link to it and I click the link Feb 11 06:30:07 ah, sure Feb 11 06:31:37 okay Feb 11 06:32:07 You need the complete folder, right? Feb 11 06:32:51 most likely Feb 11 06:33:00 it builds and runs when this is the only file? Feb 11 06:33:37 johnboker: How are you supposed to make it run by itself? Feb 11 06:33:37 i just compiled and ran it on my phone, seems to run Feb 11 06:33:38 I used a menu Feb 11 06:33:40 here: http://snusite.com/Rage%20Tap.zip Feb 11 06:33:54 i made Doublesmah the main activity Feb 11 06:34:05 johnboker: and it works? Feb 11 06:34:08 yes Feb 11 06:34:11 see the thing is I want the menu i already have Feb 11 06:34:28 I have a menu - one of the options is the double smash Feb 11 06:34:42 hmm Feb 11 06:34:53 well, maybe the problem is there somewhere Feb 11 06:35:15 I'm not sure where the problem is - I've been looking at it for about an hour now xD Feb 11 06:35:22 I've tried changing up the code, putting in diff variables, etc Feb 11 06:35:47 well, zip it up and send it my way Feb 11 06:35:52 I just did? Feb 11 06:36:09 http://snusite.com/Rage%20Tap.zip Feb 11 06:36:25 well, it took a while to get here then :) Feb 11 06:36:36 haha, alright. Feb 11 06:37:46 I noticed the apk file also have an odex file, what is the odex file and if I back up the apk, do I need the odx file as well? Feb 11 06:38:13 alphay2k: not to my knowledge, though that isn't much - I haven't found a use for the odex file yet Feb 11 06:38:32 alphay2k: I'd just keep it just in case Feb 11 06:38:43 yet alot of the apk files have them heh, mkay......not sure how ta fix this then Feb 11 06:38:48 to late :) Feb 11 06:39:08 http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/ Feb 11 06:39:10 I think I am doomed to a factory reset :( Feb 11 06:39:19 haha don't delete randomfiles Feb 11 06:39:57 Snuupy, Feb 11 06:40:02 i think i found the problem Feb 11 06:40:03 yes? Feb 11 06:40:12 oh? Feb 11 06:40:20 nah, I was having issues with the camera not working, so I moved the apk file over to the sd card. When I went to put the apk file back it's not showing anything now, even after a reboot Feb 11 06:40:23 lol Feb 11 06:40:26 you'll kick yourself Feb 11 06:40:33 uh oh... Feb 11 06:40:35 look at your setcontentview on doublesmash Feb 11 06:40:36 bitches Feb 11 06:40:55 LOL Feb 11 06:41:03 see the problem? Feb 11 06:41:03 I copied it over! Feb 11 06:41:05 Argh! Feb 11 06:41:17 change to dsmash Feb 11 06:41:18 lol Feb 11 06:41:29 I hope that fixes it! Feb 11 06:41:32 i did Feb 11 06:41:33 it does Feb 11 06:41:37 LOL Feb 11 06:41:42 OMG >.< Feb 11 06:41:57 johnboker: I want to kick myself, but then it'd wake everyone up D: Feb 11 06:42:05 hehe Feb 11 06:42:12 thanks for the help johnboker (: Feb 11 06:42:20 no problem Feb 11 06:42:28 it works. Feb 11 06:42:30 O: Feb 11 06:42:34 im glad Feb 11 06:42:35 * alphay2k raises his hand....me next? Feb 11 06:42:57 haha johnboker there's an endless stream of people needing help Feb 11 06:43:14 nice Feb 11 06:43:25 i got canned today at work, this takes my mind off of it Feb 11 06:43:37 ouch, that sux Feb 11 06:43:41 it does Feb 11 06:43:47 ouch ): Feb 11 06:43:52 what company do you work for? Feb 11 06:44:46 ok I think I officially messed up this time, still no camera :(......looks like it's a factory reset for me, hmph! Feb 11 06:44:55 alphay2k: always backup Feb 11 06:45:08 I have the apk Feb 11 06:45:08 i worked for a company called digital scout Feb 11 06:45:29 http://www.digitalschoolnetwork.com/ Feb 11 06:45:56 looks like moodle Feb 11 06:46:15 the schoolpointe stuff is a custom cms for schools Feb 11 06:46:18 but more..professional Feb 11 06:46:29 on the services page you'll see the company info on digital scout Feb 11 06:46:32 johnboker: what was the reason for firing? Feb 11 06:46:35 http://www.digitalscout.com/ Feb 11 06:46:42 they said they had to make cuts Feb 11 06:47:13 ): Feb 11 06:47:32 what are you going to do now? Feb 11 06:47:35 i wrote these https://market.android.com/details?id=com.digitalscout.android.football Feb 11 06:47:41 https://market.android.com/details?id=com.digitalscout.android.basketball Feb 11 06:47:45 Snuupy, drink Feb 11 06:47:53 I meant jobs wise Feb 11 06:48:07 yeah, professional drinking probably wont work for me Feb 11 06:48:14 lol xD Feb 11 06:48:15 i guess i'll find another dev job Feb 11 06:48:26 you seem good at it from what I've seen :D Feb 11 06:48:44 I'm getting a resource not found error when trying to inflate a listview in onCreateView in ListFragment Feb 11 06:48:49 also wrote http://itunes.apple.com/us/app/basketball-statware/id378503293?mt=8 Feb 11 06:49:02 http://itunes.apple.com/us/app/volleyball-statware/id441266015?mt=8 Feb 11 06:49:10 johnboker: I'm sure someone definitely needs your help in a corporate environment Feb 11 06:49:13 like blackberry lulz Feb 11 06:49:19 http://itunes.apple.com/us/app/football-statware/id387411729?mt=8 Feb 11 06:49:21 lol Feb 11 06:49:32 johnboker: are you going to get the free playbook? Feb 11 06:49:40 or the "free" playbook? xD Feb 11 06:49:49 i'v e not heard of the "free" playbook Feb 11 06:50:05 http://us.blackberry.com/developers/tablet/playbook_offer2012.jsp Feb 11 06:50:13 the reason I'm building this app Feb 11 06:50:18 is so that I can submit it there^^^ Feb 11 06:50:28 i see Feb 11 06:50:32 you have two days Feb 11 06:50:36 indeed Feb 11 06:50:55 from what I've heard Feb 11 06:50:58 it's already good enough Feb 11 06:51:01 I'm just adding features Feb 11 06:51:03 make sure you select the minimum of 2.0 for the target framework Feb 11 06:51:05 not 22 Feb 11 06:51:24 yeah, the tablet OS 2 Feb 11 06:51:29 has the android runtime Feb 11 06:52:43 hmm Feb 11 06:52:55 what does it mean that you're eligble for the free playbook Feb 11 06:53:45 means you've made an app that falls under the conditions Feb 11 06:53:51 and doesn't break the T&S Feb 11 06:53:55 i see Feb 11 06:53:56 ok Feb 11 06:53:56 T&C** Feb 11 06:53:59 from what I've read Feb 11 06:54:01 good luck Feb 11 06:54:05 thanks (: Feb 11 06:54:08 haha Feb 11 06:54:08 nice Feb 11 06:54:14 blackberry is getting desperate Feb 11 06:54:21 yeah, they are xD Feb 11 06:54:25 but I wanna get a tablet Feb 11 06:54:27 it looks fun Feb 11 06:54:33 and it'll be my first "semi-android" device Feb 11 06:54:51 has the android runtime thing so I can test my apps there. Right now all i have is the simulator Feb 11 06:55:01 oh that slows you down a lot Feb 11 06:55:07 i've got a tablet and a phone Feb 11 06:55:08 yeah >.< Feb 11 06:55:13 so I hope I can get this tablet quick Feb 11 06:56:54 johnboker: if you try the regular smash mode Feb 11 06:56:59 and hold down one side of the button Feb 11 06:57:04 the other person can't press it xD Feb 11 06:57:28 i see Feb 11 06:57:40 lolol Feb 11 06:57:55 instead of buttons maybe you should use a custom view that you detect taps and determine what side it's on Feb 11 06:58:03 custom view? Feb 11 06:58:07 johnboker: I'll do that later Feb 11 06:58:13 my focus right now is getting the app done and over with Feb 11 06:58:19 submitting it by the submission date Feb 11 06:58:23 I'm getting a really annoying resource can't be found error when inflating a listview in a listfragment Feb 11 06:58:26 and making sure it qualifies in Feb 11 06:58:30 for the life of me I can't figure out what I did, no more camera or email app, I have copied them back to the system/app folder and rebooted but no go....any ideas? Feb 11 06:58:40 yeah Feb 11 06:58:46 The ID exists and all It just dies on run Feb 11 06:58:56 alphay2k: I don't own a droid, but my guess would be to back up, restore, play with it again until it breaks Feb 11 06:59:52 does the listview I'm inflating have to be in a seperate layout than the one that i've already set the content equal to Feb 11 07:01:04 me thinks a factory reset is in my near future Feb 11 07:33:32 my PagerTitleStrip is filling my ViewPager Feb 11 07:33:55 http://pastebin.com/ZJecbHZ3 Feb 11 07:33:57 any idea why? Feb 11 07:44:06 how do i setup an sdcard in an emulator? Feb 11 07:46:14 johnboker: I'm almost getting it! It's close - I can feel it Feb 11 07:46:22 it's the displays that are a bit confusing Feb 11 07:46:25 but I think I'm getting it Feb 11 07:54:30 hello Feb 11 07:54:53 is someone already notice connection problem with android default browser? Feb 11 07:55:16 if response is too long to be processed (8s /30s depending on hardware) Feb 11 07:55:21 request is reissued Feb 11 07:56:27 I've seen people mention useing CWM, what is that exactly? Feb 11 07:59:32 clock work mod? Feb 11 08:00:44 http://www.clockworkmod.com/ Feb 11 08:57:06 anyone here familiar with adb? Feb 11 08:59:47 should any class be considered as an activity ? Feb 11 09:03:08 I have an activity which calls a class, this class needs to call back this activity in return Feb 11 09:03:16 what the best method to do that ? Feb 11 09:03:41 startActivityForResult() ? Feb 11 09:18:43 hi all Feb 11 10:10:32 how to restart an activity from a non activity class ? Feb 11 10:14:22 Hi all Feb 11 10:14:46 maxagaz: Have you read this page : http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html Feb 11 10:19:29 veyres: my main activity uses a custom listview adapter (separate class in separate file), this adapter class sets an onClickListener on each element of the listview, when clicked, I just need to call back my main activity to refresh it (because it's still the current activity) Feb 11 10:23:49 man, I feel like I am passing around contexts too much. How do you guys deal with it? Feb 11 10:32:40 hi guys Feb 11 10:32:49 Hi Feb 11 10:33:48 anyone knows if the android speech recognizer give me the timestamps of each word recognized? Feb 11 10:53:45 anyone knows if the android speech recognizer give me the timestamps of each word recognized? Feb 11 10:54:04 Is android development in netbeans practical? Or would I be better off just using eclipse? Feb 11 10:54:47 better eclipse Feb 11 10:55:01 have a good plugin Feb 11 10:55:33 that's what I thought. damnit. oh well Feb 11 10:58:49 last question...how much xml is android development? Feb 11 11:00:15 i've worked with plenty of java, but very little xml Feb 11 11:20:30 wlan0: configure files are xml Feb 11 11:26:39 hi Feb 11 11:26:48 anyone interested in making a TD game or a Puzzle game or a Football Manager game on already working code? Feb 11 11:27:17 (i.e. I have working code for each one of them, just not enough time to finish them in my own time) Feb 11 11:39:28 hi. is there something like the iOS UIPageViewController in android? Feb 11 11:51:31 man, I feel like I am passing around contexts too much. How do you guys deal with it? Feb 11 12:01:16 therapy Feb 11 12:01:25 and recreational drug use Feb 11 12:12:04 hi all! i using jsoip for parsing html, but i get UnknownHostException. why? Feb 11 12:14:50 it's impossible to set layout style programatically, right? Feb 11 12:15:51 i find problem! Feb 11 12:20:33 If I was to use GTalk's XMPP to implement multiplayer for a semi-RTS game, would it be better to write a custom client or try to send/receive messages using the appengine API (http://code.google.com/appengine/docs/java/xmpp/overview.html)? Feb 11 12:22:39 Hey, anyone interested in helping me out in finishing some games i started coding? Feb 11 12:40:23 Anyone know how to set the selected item in an Actionbar navigation spinner? Feb 11 13:04:21 trying to flash an electrify to stock with 2.3.4 sbf and rsd lite. Formerly rooted but not unlocked and tried to flash to 4.0 c9. I flashed a couple times and it is at boot error 1. An error message about pwr manager and the power button and the rsd not being able to switch over to rb passthrough mode. Sorry if this is the wrong channel I just saw this question asked in the xda dev forums. Feb 11 13:07:30 anyone have a link to the electrify 2.3.5 sbf Feb 11 13:09:50 passt: you want #android-root Feb 11 13:10:14 ok Feb 11 13:10:17 posting everywhere Feb 11 13:14:36 best way to solve a problem Feb 11 13:21:00 Hi - how can I test my app on real hardware? Feb 11 13:22:04 Bacta: http://developer.android.com/guide/developing/device.html Feb 11 13:22:35 Thanks Feb 11 13:22:39 Followup question Feb 11 13:22:51 did you have trouble finding that page yourself? Feb 11 13:22:55 I've got a Galaxy S2 which I think is Android 2.3.6 Feb 11 13:22:59 anyone knows if the android speech audio recognizer could give me the timestamps of each word recognized? Feb 11 13:23:22 I can't find APIs for that in the Android SDK Manager Feb 11 13:23:29 Leeds: Yes I did. I'm very new to this Feb 11 13:24:12 if you go to d.android.com and search for "how can I test my app on real hardware" it's the first response :) Feb 11 13:25:36 I went to Google and couldn't find anything relating to this. Most of what I got were questions on Yahoo Answers :( Feb 11 13:27:27 but you didn't go to the Android developer's site? Feb 11 13:28:37 Hello Wolrd! Feb 11 13:29:31 I am creating a Service to collect some data drom sensors ... I'd like that an Activity start/stop the service and tell the service which sensor it has to collect from. Feb 11 13:29:44 Bacta: sorry, not meaning to have a go, just trying to point you in the right direction... Feb 11 13:29:44 which is the "right" way in Android framework ? Feb 11 13:29:54 Totally fine :) Feb 11 13:30:41 So yeah, I'm developing against 4 I think and my physical device is 2.3.6. I assume that what I write won't work? Feb 11 13:31:41 maybe the Intent in onBind methosd ? Feb 11 13:32:29 Bacta: you know the difference between API levels and Android releases, right? Feb 11 13:33:01 No Feb 11 13:34:17 http://developer.android.com/guide/appendix/api-levels.html Feb 11 13:35:30 ah ... maybe AIDL is the right way Feb 11 13:36:40 Ah ok Feb 11 13:36:58 Well 2.3 has an API level of 14 by the looks of it so I should be alright? Feb 11 13:37:37 erm... what? Feb 11 13:38:10 API14 is 4.0.[012] Feb 11 13:38:48 Hey, anyone interested in coding games for android - using the libgdx framework??? Feb 11 13:38:59 That page has a little chart mapping Platform Version to API Level Feb 11 13:39:11 it does, yes Feb 11 13:40:33 Wait, what am I smoking Feb 11 13:40:53 did you bring enough for the whole channel? Feb 11 13:41:14 * Bacta throws a handfull of joints into the channel Feb 11 13:42:13 Curiously I can't get hold of anything for API level 9 so I'll try 8 Feb 11 13:47:18 This is hard. How does anyone make anything? Feb 11 13:48:49 someone here could help me in IPC between services and applications ? Feb 11 13:49:08 I have 2 thinks to do Feb 11 13:49:46 1) send service some params Feb 11 13:49:49 hi guys. which the max vm application heap size to galaxy tab 10.1? Feb 11 13:49:55 2) recive some data from the service Feb 11 13:54:17 hi Feb 11 13:54:19 I can instantly see how the current use of the network? Feb 11 13:54:24 hi Feb 11 14:12:58 i try parse html by jsoup and i get SocketTimeoutException when call Jsoup.connect("http://siteurl.ru").get(); why? Feb 11 14:14:09 did you get the internet permission Feb 11 14:46:21 how can i animate an action icon in the actionbar? Feb 11 15:29:03 nyone here familiar with useing adb? Feb 11 15:30:11 probably anyone who uses android development Feb 11 15:30:50 is it possible to start a service in another process and make it private to an application ? Feb 11 15:44:41 what attributes do i have to set on an ImageView in order to match the default look of the action icons in the action bar? Feb 11 15:44:47 hi, I'm trying to write some data to the system partition, but I get an io exception with permission denied. is that likely to be because I exitted the shell before trying to write the data or some other problem with the code? http://pastebin.com/5BjkzVqe Feb 11 16:01:12 hi. is it possible to create a file and send it as an email attachment without having WRITE_EXTERNAL_STORAGE permissions? I tried to create it in getCacheDir() or as openFileOutput(), but in both cases gmail displays the attachment when composing and omits it when sending the mail. Feb 11 16:01:51 funny enough, I can send it using samsung's email app, but then the last two bytes are missing when I receive it on the other side :< Feb 11 16:29:58 ok I were able to run this from my ubuntu to my toshiba thrive tablet Feb 11 16:30:19 adb shell mount -o remount,rw /system Feb 11 16:30:37 adb shell mount shows /system is rw Feb 11 16:31:01 and then I added this Feb 11 16:31:03 adb shell ln -s /system/xbin/busybox /system/xbin/bash Feb 11 16:31:08 and now I can run bash Feb 11 16:31:15 but my wifi is not working Feb 11 16:31:22 any help is appreciated Feb 11 16:31:30 wifi driver cannot be loaded Feb 11 16:32:57 adb logcat shows this when try to enable wifi Feb 11 16:32:59 http://pastebin.com/LTvgGmyc Feb 11 16:37:47 how do i create an IntentFilter that just checks for the action and ignores wether there is an uri or not? Feb 11 16:40:20 canadiancow, figure out your issue yet? Feb 11 16:40:44 no Feb 11 16:40:47 fuck man Feb 11 16:41:03 pull latest and try Feb 11 16:41:03 can you give me an update cow-appeasement? Feb 11 16:41:04 :P Feb 11 16:41:06 oh yeah Feb 11 16:41:10 1s Feb 11 16:41:13 still eating breakfast Feb 11 16:41:16 more like 10m Feb 11 16:41:24 k good cause im watching tv :P Feb 11 16:41:28 and was about to do real work Feb 11 16:41:50 me too, nasty bug to solve with damn action items Feb 11 16:42:01 Hey JakeWharton Feb 11 16:42:14 oh, hey Feb 11 16:42:32 just seeing your email Feb 11 16:42:37 or GitHub's, rather Feb 11 16:44:16 Alright Feb 11 16:45:04 I also posted a small "fix", dunno if github sends two mails when the comments are made just a few minutes apart Feb 11 16:51:06 SimonVT, what file is that in? Feb 11 16:51:10 the fix Feb 11 16:51:20 oh, BaseMenuPresenter Feb 11 16:52:09 It's more of a workaround, since the "proper" call to updateMenuView isn't happening Feb 11 16:57:34 why does git never work on my desktop ~_~ Feb 11 17:01:30 because you use windows Feb 11 17:01:36 i use it on my laptop too Feb 11 17:01:39 and it works fine Feb 11 17:01:50 on my desktop it keeps trying to do ssh through putty Feb 11 17:01:53 even though i tell it not to Feb 11 17:03:33 poor cow ;O Feb 11 17:03:52 i may have found the problem Feb 11 17:04:01 trying to verify in the OS code before I just try it... Feb 11 17:04:02 oh? Feb 11 17:04:30 oh JakeWharton in the example, the menu is in an activity Feb 11 17:04:33 in my app, it's in a fragment Feb 11 17:04:51 ActionBarSherlockCompat emulates both Activity and PhoneWindow at the same time which means combining a lot of things together since we don't need separate methods and don't have other types of menus Feb 11 17:05:16 in the invalidation we wait until after we call mMenu.startDispatchingItemsChanged(true) to set the menu on the action bar Feb 11 17:05:27 when I think PhoneWindow will set the menu on the action bar much earlier Feb 11 17:05:49 because it's invalidatePanelMenu method doesn't do anything after calling startDispatchingItemsChanged Feb 11 17:07:06 Hm, makes sense Feb 11 17:07:37 and the startDispatchingItemsChanged method is what will eventually call the update on the presenter Feb 11 17:08:02 maybe Feb 11 17:08:35 Yeah, it will Feb 11 17:09:06 my desktop is so slow Feb 11 17:09:12 two more weeks... Feb 11 17:09:29 seems to work! Feb 11 17:09:37 \o/ Feb 11 17:09:39 Yay Feb 11 17:09:52 i must have spent an hour digging through the menu stuff last night Feb 11 17:10:01 Yeah Feb 11 17:10:02 wait so you fixedm y bug? Feb 11 17:10:02 guess i was looking way too low Feb 11 17:10:07 canadiancow, no Feb 11 17:10:11 this was a much, MUCH bigger bug Feb 11 17:10:16 show-stopping bug Feb 11 17:10:24 Took me a damn long time to step through native code to find the cause Feb 11 17:10:44 PhoneWindow is crazy Feb 11 17:11:00 it's all pretty crazy, actually Feb 11 17:11:04 hi Feb 11 17:11:04 Yeah Feb 11 17:11:19 Also, attaching sources to intellij worked like crap, which didn't help Feb 11 17:11:49 I have an android project. I added APP_STL := stlport_static because some parts of it use C++ with stl usage. the project has no shared libs, it is one big thing with only a few static libs Feb 11 17:11:57 It reported 1 line number in the debugger, but when I looked in the source dir for android-15 (where I tested), it was another line number Feb 11 17:12:19 only the project itself (an NDK C/C++ project) is a shared lib as a whole, which is loaded through java and then run Feb 11 17:12:19 So I had to "guess" how far the debugger was, and step into the right methods to follow it Feb 11 17:12:34 now when loading the lib through java, it fails because "libstlport_shared" (note the shared) is not present Feb 11 17:12:48 now if I grep my whole android project folder, there is not ONE mention of "stlport_shared" Feb 11 17:12:58 although many binary files, including the compiled project .so match Feb 11 17:13:04 hey guys Feb 11 17:13:06 so why does that happen? I want to get rid of that shared reference Feb 11 17:13:10 but I don't even know why it is there Feb 11 17:13:56 someone of u is using ActionBarSherlock and ZXing Barcode Scanner (via Intent) at the same time? i have experienced several problems :/ Feb 11 17:15:29 i think it's aboutr damn time i started using actionbarsherlock but i can't even figure out when the actionbar is useful Feb 11 17:15:43 JakeWharton do i need to do anything special to use a fragment? Feb 11 17:15:47 like theres no SherlockFragment Feb 11 17:15:55 so im getting android.veiw.Menu in onCreateOptionsMenu Feb 11 17:16:14 You're overriding the wrong onCreateOptionsMenu Feb 11 17:16:22 you have to use my support lib Feb 11 17:16:26 other than that, no Feb 11 17:16:52 it shouldn't let you add an onCreate for the native Menu (if you specify @Override) Feb 11 17:16:56 i dont want the support fragments though Feb 11 17:17:03 i want android.app.Fragment Feb 11 17:17:09 o_O Feb 11 17:17:16 indeed Feb 11 17:17:17 just out of curiousity, did someone read what I wrote :P Feb 11 17:17:26 or have I been too wordy Feb 11 17:17:27 uh Feb 11 17:17:32 MrJones: Read it, didn't know, moved on :p Feb 11 17:17:40 hmm Feb 11 17:17:52 likewise Feb 11 17:17:53 well what could cause an stlport_shared linkage? I really don't have a clue... I'm quite new to android devving Feb 11 17:17:54 canadiancow, may I ask why? Feb 11 17:18:12 well, because im making an example in the exmaples project and dont want to deal with more includes Feb 11 17:18:19 also: because i might not care about pre-3.0 Feb 11 17:18:26 canadiancow: What's the point? Those Fragments wont work on <3.0 anyway, so no point in ABS? Feb 11 17:19:54 JakeWharton : sry to highlight you, but have you ever tried using ZXing's scanner via intent while having your ABS applied to the app? Feb 11 17:20:21 I have not. That's a very specific question haha Feb 11 17:20:29 hrhr Feb 11 17:20:35 i am gettign some strange errors Feb 11 17:20:45 which seems to be connected to "fragmentactivity" Feb 11 17:20:46 http://pastebin.com/33dS7zCt Feb 11 17:21:24 that'd be a bug with the support lib from Google itself Feb 11 17:21:44 they use 16 bits of an int to keep track of what fragment started the intent Feb 11 17:21:55 so you're only "allowed" to return 16 Feb 11 17:22:21 you're using startActivityForResult? Feb 11 17:22:26 nvm Feb 11 17:22:28 it's in the stack trace Feb 11 17:22:33 yep Feb 11 17:22:56 because i am callign the barcode scanner app just via intent, it's not natively integrated, it's its own app Feb 11 17:23:13 yeah Feb 11 17:23:23 what's the second arg you pass to startActivityForResult? Feb 11 17:26:05 let me read through a second what this intent_integrator app does... implemented it months ago.. and kinda just copy & pasted it Feb 11 17:26:27 it's REQUEST_CODE = 0x0ba7c0de; Feb 11 17:26:42 the max it'll take it 0x0000FFFF Feb 11 17:26:56 hm Feb 11 17:26:58 *is Feb 11 17:27:13 i am not really into this, because this is a class which is provided by the ZXing project lolz Feb 11 17:27:22 can I give the project folder to someone who wants to have a look at why I am linking stlport_shared while I only want to use stlport_static? Feb 11 17:27:27 Aeefire: Change it Feb 11 17:27:37 ya let me try Feb 11 17:27:39 batcode Feb 11 17:27:45 or is there some sort of developer web forum or mailing list where I could ask? Feb 11 17:27:47 I'm pretty clueless Feb 11 17:27:56 hmmm could probably give stackoverflow a try I guess Feb 11 17:28:09 stackoverflow or the mailing lists would be good to try Feb 11 17:28:33 mailing lists: http://developer.android.com/resources/community-groups.html Feb 11 17:28:47 JakeWharton i cant even get my fragment's actionitem to show up in the examples project with the latest shit Feb 11 17:29:02 canadiancow, wait about 1m Feb 11 17:29:53 i'm about to commit the most epic bugfix Feb 11 17:31:04 haha Feb 11 17:31:37 https://github.com/JakeWharton/ActionBarSherlock/commit/ed5ff158fa13bbf06661fb2fb39f5b64a6858f5b Feb 11 17:31:52 lol Feb 11 17:31:56 epic Feb 11 17:32:39 ok still Feb 11 17:32:41 what am i...oh Feb 11 17:32:42 nm Feb 11 17:33:01 setHasOptionsMenu(true); Feb 11 17:33:02 :) Feb 11 17:33:16 bitchfuck it works in examples Feb 11 17:33:20 lemme update everything in my proj Feb 11 17:33:26 and JakeWharton can i get a cowappeasement? Feb 11 17:33:44 i'm getting there Feb 11 17:33:48 hold your horses Feb 11 17:33:50 or cows Feb 11 17:36:51 how do i turn off ABS logging? Feb 11 17:37:19 naw man i dont understand why this shiz isnt workin Feb 11 17:37:26 set DEBUG to false :p Feb 11 17:37:32 there's a DEBUG in ActionBarSherlock.java Feb 11 17:37:39 ok Feb 11 17:37:56 i forget to disable it for the betas Feb 11 17:38:01 must not forget on release Feb 11 17:38:36 oh you'll do it Feb 11 17:38:37 fine then Feb 11 17:38:41 i was just gonna tie it into my own debug mode Feb 11 17:39:04 how do i remove old sticky broadcasts? Feb 11 17:39:11 http://paste.pocoo.org/show/549370/ this just loops forever Feb 11 17:39:56 lol Feb 11 17:40:18 since we use different implementations for ICS and pre-ICS in ABS you could technically create a pre-Eclair implementation and support back to 1.6 or even 1.5 Feb 11 17:40:31 i started working on that yesterday to see if it was even possible and it worked great Feb 11 17:40:47 so it may not make it into 4.0.0 but we're going to support 1.5+ in a future version :) Feb 11 17:40:51 at least, a subset Feb 11 17:40:59 i hate you JakeWharton Feb 11 17:41:05 like fuck you Feb 11 17:41:06 seriously Feb 11 17:41:06 :( Feb 11 17:41:13 i just removed all the 1.6 code from my app Feb 11 17:41:18 because ABS was the bottleneck Feb 11 17:41:18 :DD Feb 11 17:41:24 :o Feb 11 17:41:27 haha Feb 11 17:41:28 whoops Feb 11 17:41:32 ahahaha Feb 11 17:41:33 git revert SHA Feb 11 17:41:39 my project's in svn Feb 11 17:41:47 You're probably better off without it anyway :P Feb 11 17:41:51 git svn import path/to/svn Feb 11 17:42:08 id need to get a git server setup Feb 11 17:42:13 or pay github Feb 11 17:42:26 bitbucket Feb 11 17:42:28 free private git hosting Feb 11 17:42:41 but GitHub > BitBucket Feb 11 17:42:43 yea Feb 11 17:42:48 we use github at work too Feb 11 17:42:52 so i'm better off staying consistent Feb 11 17:43:04 rather than coming home and having to remember how to check out from svn Feb 11 17:43:32 you use githib at work? Feb 11 17:43:34 ... jealous Feb 11 17:43:40 I forced my work to use it Feb 11 17:43:57 politely Feb 11 17:44:00 of course Feb 11 17:44:03 lol Feb 11 17:44:04 with guns Feb 11 17:44:07 we were all svn Feb 11 17:44:10 then they said LETS GO HG Feb 11 17:44:16 *LETS GO GIT Feb 11 17:44:18 :)) Feb 11 17:44:19 then someone with sense and who was high enough in management said "FUCK YOU" Feb 11 17:44:26 and now we have a corporate github server Feb 11 17:44:37 nice Feb 11 17:44:51 so if you get corporate github does it still run on a remote server somewhere? Feb 11 17:44:54 but i think it costs more per year than i make in a decade Feb 11 17:44:55 no Feb 11 17:44:57 we host it ourselves Feb 11 17:45:14 actually JakeWharton i think i removed 1.6 support a while ago Feb 11 17:45:17 There's GitHub enterprise (and it's outdated cousin GitHub: FI) and then there's paid organizations Feb 11 17:45:25 the latter is hosted on GitHub Feb 11 17:45:29 Added ActionBarSherlock 3.5 Feb 11 17:45:29 Removed special cases for versions of Android prior to 2.1 Feb 11 17:45:32 that was my commit message Feb 11 17:45:34 i also had 1.5 support Feb 11 17:45:43 but you know what...nah, not worth supporting 1.6 Feb 11 17:45:48 it requires more permissions Feb 11 17:45:56 because i had to do stuff that needed them becasue certain apis didnt exist Feb 11 17:46:02 yeah Feb 11 17:46:16 another commit msg: Removed more special code for pre-3.0. Feb 11 17:46:24 i had my app all ready to go basically Feb 11 17:46:26 shitshit on pre 3.0 Feb 11 17:46:29 and actionbar on 3.0 Feb 11 17:46:36 and then i had to move it all into ABS Feb 11 17:46:39 which was definitely worth it Feb 11 17:46:39 does anyone know who owns the copyright on the superuser icon? Feb 11 17:47:00 whatshisname that made the app Feb 11 17:47:10 chainsdd Feb 11 17:47:13 yeah Feb 11 17:47:18 ok thanks Feb 11 17:47:45 What's up? Feb 11 17:48:02 lol Feb 11 17:48:12 hehe Feb 11 17:49:28 ChainsDD: I'm making an app to hide the su binary and app and put a password on restoring them again so you can "unroot" your phone temporarily and prevent people from using root options Feb 11 17:49:55 JakeWharton : thanks for your help.. but just realized that there's already some update for ZXing (to use with compability library ;) ) Feb 11 17:50:09 ok awesome Feb 11 17:50:12 i was trying to think of what to use as the icon and I was thinking maybe the su android guy hiding behind something, but wanted to check with whoever the image belonged to if that would be ok or not Feb 11 17:50:20 yeah there's no real other way than for them to update their stuff Feb 11 17:50:22 glad they did Feb 11 17:50:53 I'm fine with that Feb 11 17:51:32 thanks :) Feb 11 17:51:39 Np :-) Feb 11 17:52:58 alright canadiancow, building your binary Feb 11 17:53:01 :) Feb 11 17:53:47 Hi all... Trying to set up my AOSP build env and checking out everything gives me invalid line feeds on Linux. Any quick tips on fixing this? Feb 11 17:56:57 I need to break the maps plugin into its own repository or something Feb 11 17:57:08 then I could deploy everything to maven central Feb 11 17:57:12 can someone recommend me a fully working root-backup app (titanium backup seems to not work for me with ICS ) Feb 11 17:57:27 so is there a way to fix the wifi driver on a toshiba tablet? I have root and I can adb to it Feb 11 17:59:48 would be nice if I could just get the driver from somewhere and adb push it and load it Feb 11 18:00:43 hm.. using IntelliJ, apparently my permission was removed from the manifest. Where do I "put it" so it's included once the manifest is presumably... overwritten? Feb 11 18:01:13 JakeWharton ist hat the same as the old appease-the-cow-4.0.0-SNAPSHOT.jar Feb 11 18:02:29 uh Feb 11 18:02:35 i don't know Feb 11 18:02:37 shouldn't be Feb 11 18:02:39 i just built it Feb 11 18:02:43 i mean, its the maps shit Feb 11 18:02:44 right? Feb 11 18:02:48 maps + fragments Feb 11 18:02:56 ITS NOT WORKING MAN Feb 11 18:02:58 :( Feb 11 18:03:13 what does it say? Feb 11 18:03:17 Sheesh, canadiancow =/ Feb 11 18:03:35 02-11 13:03:27.489: D/ActionBarSherlock(7822): [dispatchOptionsItemSelected] item: Country Feb 11 18:03:35 02-11 13:03:27.489: D/ActionBarSherlock(7822): [callbackOptionsItemSelected] item: com.actionbarsherlock.internal.view.menu.MenuItemWrapper@418da028 Feb 11 18:03:35 02-11 13:03:27.489: D/ActionBarSherlock(7822): [callbackOptionsItemSelected] returning false Feb 11 18:03:35 02-11 13:03:27.489: D/ActionBarSherlock(7822): [dispatchOptionsItemSelected] returning false Feb 11 18:04:19 return true; Feb 11 18:04:49 so it's working Feb 11 18:04:55 but you collapsible thing still isn't Feb 11 18:05:03 which is... no change Feb 11 18:05:04 :P Feb 11 18:06:31 why does gmail only allow attaching files from sdcard? #*%&! Feb 11 18:06:54 so for google app engine if you auth with your google account isn't there a standard way of doing it through the accounts manager or something? Feb 11 18:09:06 canadiancow, the sample (that you provided) works great... Feb 11 18:09:13 i can't help unless I can reproduce the bug Feb 11 18:10:35 so wahts the best thing to do...where should i put a breakpoint to see where shit fucks up? Feb 11 18:12:52 collapsible action items are so simple Feb 11 18:12:59 i can't figure out how it would be messing up Feb 11 18:14:01 hey - would not having access to mobile data be a symptom of something wrong with the baseband? Feb 11 18:17:39 canadiancow, if you replace your collapsible layout into the sample do you observe the problem? Feb 11 18:17:51 anyone ever use necessitas? Feb 11 18:18:31 no Feb 11 18:18:35 but the sample is so much simpler Feb 11 18:18:37 theres no fragments Feb 11 18:18:39 theres no nothing Feb 11 18:19:00 it breaks on ICS or pre-ICS? Feb 11 18:19:05 ICS Feb 11 18:19:07 it works pre-ICS Feb 11 18:19:25 have you tried the latest 4.0-wip from yesterday? Feb 11 18:19:36 it uses native inflation now Feb 11 18:19:42 yes Feb 11 18:19:47 i tried it right now Feb 11 18:19:49 with the latest git Feb 11 18:19:52 and the lib you sent Feb 11 18:20:04 that's so odd Feb 11 18:24:29 where should an app store stuff on the sdcard? Feb 11 18:27:15 depends what it is Feb 11 18:27:29 internal stuff is in /sdcard/data/packagename/whatever Feb 11 18:27:38 ii mean uhh. external internal stuff Feb 11 18:27:50 Need an Android/ in there Feb 11 18:27:59 oh Feb 11 18:29:13 not that anyone honors that Feb 11 18:29:16 Android/ is where apps2sd are stored. domt want to f*ck with it Feb 11 18:29:17 which i loathe Feb 11 18:29:30 Eh, no Feb 11 18:29:30 Ge0rG, not true Feb 11 18:29:31 you're supposed to store things there as per the documentation Feb 11 18:29:33 They're not Feb 11 18:30:18 Dear god, this platform is so much fun to code for... is there anything I can do to make logs give HELPFUL information? Feb 11 18:30:33 Log some helpful information Feb 11 18:30:44 +1 Feb 11 18:31:33 Excuse me, can you guys please be quiet. Feb 11 18:31:43 I've walked into a library and we need to be quiet. Feb 11 18:32:05 oh, so Android/data/$pkgname it will be Feb 11 18:32:50 SimonVT: how helpful! You must be part android! Feb 11 18:33:31 No problem Feb 11 18:33:59 JakeWharton: I hacked APP_STL := stlport_shared into the ndk-build command line =P Feb 11 18:34:06 and forgot I did so Feb 11 18:36:53 canadiancow|work, what tablet are you testing on? Feb 11 18:37:05 eh, nvm you said ICS Feb 11 18:37:21 don't you have a Tab? Feb 11 18:37:29 there is a tab with ICS :P Feb 11 18:37:43 I need the one with Honeycomb Feb 11 18:40:52 anyone else pick up a droid 4 yesterday? Feb 11 18:40:52 Can I have 2 or more activities so that they one can change to another via horz scrolling? Feb 11 18:40:59 Is there anything I could read that would shed some light on this completely incomprehensible mess? Feb 11 18:42:20 which mess, robhol? Feb 11 18:42:29 android development in general Feb 11 18:42:32 WindowsNT: use 1 activity, 2 fragments, and viewpager Feb 11 18:42:46 how much experience do you have in development in general? Feb 11 18:43:02 robhol: go through a few of the examples on the development site and it will start making more sense Feb 11 18:43:19 g00s : fragments? isn't there any other way ? So it can work with 2x Feb 11 18:43:20 2.x Feb 11 18:43:24 I've been programming C# for a couple of years, and I'm afraid it has spoiled me quite badly, you know.. with a decent IDE and error messages that actually make sense, and so on Feb 11 18:43:34 and now, there's... well, this Feb 11 18:43:36 WindowsNT: see the support library Feb 11 18:43:57 robhol, hmm... usually that kind of attitude doesn't invite much help. Feb 11 18:44:08 heh, maybe I should try c# sometime; I spend all my time in C and C++, so java seems quite managed :) Feb 11 18:44:11 g00s : the point is that I 've seen it working in 2.x anyway. I can use dynamic binding to use fragments, but i think there 's another way. Feb 11 18:44:30 Gambit- : I started from C++ too. Java is easy when compared to C++. Feb 11 18:44:40 Mavrik: sorry if I seem abrupt, but really, this is a very frustrating piece of software to try to develop for Feb 11 18:44:41 robhol, are you running into compilation errors, or runtime errors? Feb 11 18:44:58 Gambit-: runtime. I want to start another activity with a string as param Feb 11 18:45:00 robhol, not really, Eclipse isn't any worse than VS2010 Feb 11 18:45:04 HAHAHAHAHAHAH Feb 11 18:45:06 sorry Feb 11 18:45:09 but ROFL Feb 11 18:45:15 robhol, see? Feb 11 18:45:28 Mavrik, he's frustrated and climbing the staircase, don't take it personally :) Feb 11 18:45:35 you have no idea what you're talking about, you come here bitching about Android and now you want help? Feb 11 18:45:39 I'm still not exactly high-altitude Feb 11 18:45:46 robhol: Maybe share your stracktrace Feb 11 18:45:48 and if you don't want to help me, that's fine Feb 11 18:46:06 SimonVT: was getting to that Feb 11 18:46:07 Gambit-, as someone who can program in several languages and IDEs that kind of lang bashing attitude rather irritates me Feb 11 18:46:14 in the end... they all suck in its own ways ;) Feb 11 18:46:27 Mavrik, that's because you're sufficiently experienced that you don't run into those problems anymore. Feb 11 18:46:44 rob's not gotten there, yet. But we've all been frustrated with a new technology that doesn't match our expectations. Feb 11 18:47:05 eclipse is no match, compared to VS Feb 11 18:47:08 no matter the version. Feb 11 18:47:12 ^ Feb 11 18:47:21 Sorry about this, but it's the truth Feb 11 18:47:30 right. Feb 11 18:47:41 VS, while being Microsoft's creaation and thus apparently evil, is beautiful Feb 11 18:47:50 and you're claiming that with your half-hour experience with it so you can do a good comparison. Feb 11 18:47:51 Eclipse and I never hit it off Feb 11 18:47:52 its because VS made by windows people Feb 11 18:47:55 eclipse wasn't Feb 11 18:48:02 what android needs is a Windows-aware editor Feb 11 18:48:09 And I'm using IntelliJ, whih is (marginally) better Feb 11 18:48:19 no wonder the SDK doesn't work ;) Feb 11 18:48:28 IntelliJ support needs some setting up. Feb 11 18:49:04 oh, I can get stuff running fine Feb 11 18:49:27 so, apart from using fragments, could it work another way? that horz activity scrolling, that is. Feb 11 18:49:44 hrm. Ok so I'm followeing http://developer.android.com/guide/developing/device.html#setting-up to try to use my motorola droid, running cyanogen 7, to debug android apps. i'm running debian so i've followed the instructions for ubuntu, but when i do adb devices i get ???????????? no permissions in the list of devices Feb 11 18:50:16 docgnome, did you create the rules file? Feb 11 18:50:28 yes Feb 11 18:50:37 docgnome, run as root Feb 11 18:50:50 see if that makes a difference. Feb 11 18:50:54 Gambit-: same Feb 11 18:51:05 docgnome, it's possible your vendor ID is broken, try seeing udev rules to see what the vendor ID for the device is Feb 11 18:51:13 SUBSYSTEM=="usb", ATTR{idVendor}=="22B8", MODE="0666", GROUP="plugdev" Feb 11 18:51:27 docgnome, the other option is that you forgot to enable USB debugging on the phone Feb 11 18:51:39 Mavrik: checked that already heh Feb 11 18:51:43 currently, I'm trying to start another activity with a param, creating an intent, a bundle, .putString, .putExtras, startActivity(intent) etc and getting a nullexc on the bundle on "the other side", gotten by getIntent().getExtras Feb 11 18:52:21 Mavrik: how do i see udev rules? Feb 11 18:52:31 udev logs, sorry Feb 11 18:52:44 dunno where to find those on the Debian distro, see google :) Feb 11 18:52:46 Chrome for Android doesn't support flash -- thats great ! Feb 11 18:52:48 ah Feb 11 18:53:32 robhol_, is your getExtras() actually null? Feb 11 18:54:45 xb Feb 11 18:54:47 ack Feb 11 18:56:41 Mavrik: seems likely, is there some arcane way I need to start the new activity for it not to be null? manifest issue? Feb 11 18:56:48 hrm... Feb 11 18:57:13 theres some intent-filter crap in there that I have no idea about, what should those be for a "secondary" application? Feb 11 18:57:28 erm, activity Feb 11 18:57:32 robhol_, unlikely, check with breakpoints first if extras are actually null Feb 11 18:57:54 so you know which side has the problem Feb 11 18:58:01 Mavrik: http://paste.conkeror.org/?140 this is what i can see... i tried setting the vendor id to A855, but same problem Feb 11 18:59:35 oh wait Feb 11 18:59:41 think i see the problem Feb 11 19:00:17 anyone used the new eclipse integration with app engine? how can I set up the android app to communicate with my local running app engine server Feb 11 19:00:33 Mavrik: bundle is null, but i have no idea why Feb 11 19:00:44 hrm. Feb 11 19:01:26 guess not. the device is reporting it's idVendor as 22b8 and i figured the problem was i had done 22B8 but changing it didn't fix it Feb 11 19:01:52 docgnome: maybe cm is the problem :) Feb 11 19:01:59 cm? Feb 11 19:02:00 oh Feb 11 19:02:15 maybe, i've been told it shouldn't be though... Feb 11 19:02:38 not that that means anything heh Feb 11 19:08:27 hi all Feb 11 19:10:16 i have an issue with an imagebutton: if i don't set a background-color, it looks like a button, and when i set one, it looks flat with just the color (which is fine), but how do i "unset" the background-color to get it back to look like a button? "Transparent" just makes it display the image that i'm using, without the button widget around it Feb 11 19:12:39 so i've got Bus 001 Device 006: ID 22b8:41db Motorola PCS Droid/Milestone (Debug mode) in lsusb so i'm using the correct idVendor... Feb 11 19:14:41 anyone ideas? :-( Feb 11 19:16:25 JakeWharton i havent tested on honeycomb Feb 11 19:16:28 2.3 and 4.0 Feb 11 19:16:43 2.3.7 and 4.0.[23] Feb 11 19:19:19 how to load the data asynchronously to the jsoup? Feb 11 19:19:37 is it chicken jsoup ? Feb 11 19:20:08 g00s: http://jsoup.org/ Feb 11 19:20:41 JakeWharton it works on a 3.1 tablet emulator Feb 11 19:21:56 omg there is a working tablet emulator? Feb 11 19:22:06 its worked forever o.O Feb 11 19:22:34 well :) a 16 core 10ghz octagon with 24tb ram :) Feb 11 19:22:46 i have significantly less than that Feb 11 19:22:49 and multiple cores dont help Feb 11 19:22:52 it's single-threaded Feb 11 19:23:00 yeah you have a lot of time :) Feb 11 19:23:11 ? Feb 11 19:23:39 it took me 3 mins to start the emualtor, deploy my app, and test a feature Feb 11 19:23:47 or...no more than 3 minutes Feb 11 19:23:49 3.x is slow but it works Feb 11 19:24:20 my ics emulator still doesn't work Feb 11 19:24:21 4.x doesn't even start - only about 10% of all times i try Feb 11 19:24:31 Starts about every time I try Feb 11 19:24:42 linux? windows? osx? Feb 11 19:24:45 what os? Feb 11 19:24:56 windows Feb 11 19:25:28 32 or 64 bit? Feb 11 19:25:45 64 Feb 11 19:26:11 so you must know more then i know Feb 11 19:26:25 Maybe it's because I don't whine about it on irc Feb 11 19:26:28 Karma, you know Feb 11 19:27:19 i'm on windows 64 bit and my ics emu (4.0.3) rarely works Feb 11 19:27:29 well my windows ce emulator starts everytime Feb 11 19:27:41 maybe my it responsed badly to my humility Feb 11 19:27:45 my ics emu only in 10% of all cases i'll try starting that Feb 11 19:28:07 yeah i feel bad about bitching on bad software :( Feb 11 19:28:31 i love android i just wish it worked, or i knew why it didn't work Feb 11 19:28:52 kind of a pain in the arse when the tools you're meant to be testing your shoddy app on don't even work Feb 11 19:28:54 i am on win7 64bit too and it works all the time actually Feb 11 19:29:04 i have a hard enough time writing apps that work :3 Feb 11 19:29:06 what "does not work" ? Feb 11 19:29:24 just gets stuck ion the android screen indefinitely Feb 11 19:29:30 urgh Feb 11 19:29:35 probably redownload the android sdk? Feb 11 19:29:41 guess I could try Feb 11 19:29:56 i have an ics device so it's not so bad Feb 11 19:30:40 ya... however, redownloading is not as hard as it sounds :D Feb 11 19:30:52 wait.. you can't add a google account on the emulator? Feb 11 19:31:29 uhhmmmm if i remember right, you have to flash google apps to do so Feb 11 19:31:47 (never needed it though) Feb 11 19:31:55 trying to test some google app engine stuff Feb 11 19:34:14 ah, if you use an emulator with the google apis it works fine Feb 11 19:35:25 lol^^ Feb 11 19:35:49 so there are the google apps preinstalled? Feb 11 19:35:56 i'm not sure Feb 11 19:36:02 i think just the libraries for the apps Feb 11 19:36:07 google maps api etc Feb 11 19:41:52 has anyone seen this ? http://www.springsource.org/spring-android Feb 11 19:47:34 so is there an official DatePreference yet? Feb 11 19:49:30 hrm... so i'm building an app now to deploy to my android device but when it tries to install it says [exec] error: insufficient permissions for device Feb 11 20:08:33 If I create a service with startService() and later bind to it, will the system destroy it after I unbind or do I have to call stopService() ? Feb 11 20:08:49 hellooo Feb 11 20:13:02 I'm trying to make a simple toast, but with getApplicationContext() for the Context, I'm getting a Resource Not Found exception. Any idea? Feb 11 20:16:21 Try getBaseContext Feb 11 20:16:29 or this Feb 11 20:18:42 Same error with both =/ Feb 11 20:20:48 What resource are you passing? Feb 11 20:21:30 Maybe try and clean project Feb 11 20:21:55 God dammit. Just figured it out. I was passing an int as the message. Feb 11 20:22:15 haha :p Feb 11 20:24:00 canadiancow, i was referring to a diff bug Feb 11 20:24:14 ? Feb 11 20:25:35 dansul: you will have to call stopService Feb 11 20:25:48 whats the optimal milliseconds amount for haptic feedback? Feb 11 20:27:37 42 Feb 11 20:27:49 canadiancow|work, https://github.com/JakeWharton/ActionBarSherlock/issues/256 Feb 11 20:28:47 ok well Feb 11 20:28:49 my bug Feb 11 20:28:52 it works on pre-ICS Feb 11 20:28:54 and not ICS Feb 11 20:28:54 :( Feb 11 20:30:35 Hello there. I'm wondering if you know how to unlock a SGS Plus (I9001). There is no nv_data in /efs/, so that way doesn't work. Googled without success. Feb 11 20:31:29 Jacruth: wrong channel, try #android-root Feb 11 20:36:23 g00s, ok Feb 11 20:37:07 what is the purpose of the "lib" directory? the issue i am having is, i want to use one of java's mocking framework to mock stuffs to do unit tests. i have added mocking framework jars on lib directory, but doesnt seems like they are available Feb 11 20:38:31 did you add the library in eclipse? Feb 11 20:39:29 neekers, i use IntelliJ IDEA for development Feb 11 20:39:41 I copied the file manually into lib dir. Feb 11 20:40:49 has anyone experience on how to propperly format emails (which are created through intent ACTION_SEND) .... i can html format 'em, but doesn't work (but would be desperately needed :/) Feb 11 20:47:50 I have a simple question. I already implemented setOnCompletionListner with a new OnCompletionListener which loops an audio file for a user specified amount of time. I want to start a countdown timer when this is finished. What would be the best way to do this? This is my current method for playing the audio file....the boolean return was my hopes of me being able to tell when the audio finished looping ... but it didn't wo Feb 11 20:47:50 http://pastebin.com/eZ8SVSJB Feb 11 20:49:01 Could I create anothe on completion listener that fires off my counter when everything is finished looping? Feb 11 20:49:32 jahid: i'm sure there is a way in intellij to register that library Feb 11 20:57:30 jahid: 1. call it libs, if you ever want to do ant builds 2. Add the libs folder as a dependency on your module Feb 11 20:59:18 Hi all Feb 11 21:02:55 if i have i thread that does somethig, how can my main ui thread know that the other thread has finished ? at the moment im passing a reference from my main ui thread to the otreh one but i dont think this is good idea. Feb 11 21:03:08 any idea why my wifi would be dropping down to 5Mbps? :( Feb 11 21:04:46 restart the router? Feb 11 21:19:44 JakeWharton: you still there ? Feb 11 21:20:39 have a question about maps api and fragments, etc Feb 11 21:25:02 anyone knows if the android speech recognizer give me the timestamps of each word recognized? Feb 11 21:25:04 can the galaxy nexus not use wifi on channels 12-14? Feb 11 21:29:54 neekers, SimonVT : thanks Feb 11 21:35:57 I have a ZTE Warp and it's rooted. I removed my email app, and have it saved on my sd card, but I need to install it back on the phone via adb. Anyone that can help me with that? Feb 11 21:37:02 try android-root ; this is more of an appdev channel Feb 11 21:39:22 dragorn: ok ty Feb 11 21:41:09 another radio issue on the galaxy nexus...sigh Feb 11 21:42:34 galaxy tab 10.1 works, iphone 4s works, laptops work Feb 11 21:43:29 searching for lov Feb 11 21:43:30 Is there an equivalent to findViewById for an AppWidget ? Feb 11 21:43:58 someone here could help me in a design problem with IPC with a Service ? Feb 11 21:44:29 Regarding Activity lifecycle, are there any guarantees about the in which calls to onPause(), onStop(), and onDestory() will interleaved calls to the next Activity's onCreate(), etc methods? Feb 11 21:44:47 if i have i thread that does somethig, how can my main ui thread know that the other thread has finished ? at the moment im passing a reference from my main ui thread to the handler but i dont think this is good idea. Feb 11 21:44:50 Assuming that the first Activity used startActivity() to bring up the new one Feb 11 21:44:51 what I wnt to do is to have a Service that will collect and send some data to the Avticity Feb 11 21:45:08 the way in which* Feb 11 21:45:22 the application can set some params of the Service ... and I am thinking in AIDL Feb 11 21:45:36 but how to send the data bacjk ? Feb 11 21:45:39 messaging ? Feb 11 21:46:00 I want something that make the Service as an Observer Feb 11 21:46:10 ops Feb 11 21:46:13 Observable Feb 11 21:46:47 and why I should put it in a different process instead of a thread ? Feb 11 21:47:11 In a ListFragment, how do I set different adapters for different listviews? Feb 11 21:48:13 I tried putting it in onActivityCreated, but it isn't working since it only gets called once Feb 11 21:48:16 yes that's what I was looking for! GUYS: [INSTALL_PARSE_FAILED_NO_CERTIFICATES] <-- what's that all about? Feb 11 21:48:51 AbstractClass: Should probably just use a regular Fragment Feb 11 21:49:05 The helper methods only work for the ListView with id android.R.id.list Feb 11 21:49:43 SimonVT oh. so what's the point of ListFragment then? Feb 11 21:49:51 To show a ListView Feb 11 21:49:56 _a_ listview Feb 11 21:50:04 Basically just convenience Feb 11 21:50:18 ah ok. thanks Feb 11 21:53:12 do I need to enable any permissions besides internet access and external storage to run netty? Feb 11 21:53:20 or rather, socket connections to peers Feb 11 21:55:13 anyone? [INSTALL_PARSE_FAILED_NO_CERTIFICATES] <-- what's that all about? Feb 11 21:55:31 the install failed because you don't have certificates Feb 11 21:56:02 You didn't sign the apk? oO Feb 11 21:57:34 oh.. I see it now Feb 11 21:57:50 I accidentally scrolled down and exported for android market instead of debug Feb 11 21:58:42 alright... about to kill my old'n'cool HTC Desire... Feb 11 22:03:42 I can't remember, is this android application developers or android rom developers? Feb 11 22:03:54 app Feb 11 22:04:00 excellent Feb 11 22:04:39 I'm trying ti display information in table rows Feb 11 22:05:08 but the cells have a habit of running together Feb 11 22:05:21 so I made a divider: http://shortestwalkingroute.appz.ie/wp-content/uploads/2012/02/screen_20120205_0016.png Feb 11 22:05:56 which was just a black pipe betweeen each cell Feb 11 22:06:10 is there a better way I should be doing this? Feb 11 22:07:26 The code is here: https://github.com/Ankhwatcher/ShortestWalkingRoute/blob/master/src/ie/appz/shortestwalkingroute/ShortestWalkingRouteActivity.java Feb 11 22:09:11 Question: Is the "new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("geo:"+y+","+x))" the correct way to allow a navigation app to handle a location? Feb 11 22:10:33 man, I feel like I am passing around contexts too much. How do you guys deal with it? Feb 11 22:11:57 * Ge0rG hates that aspect of android as well Feb 11 22:12:51 BankZ: there isn't much you can do Feb 11 22:14:32 kinda sucks :( Feb 11 22:14:48 there isnt something like App.Context ? Feb 11 22:15:47 Is there some database of Intents other than this one: http://developer.android.com/guide/appendix/g-app-intents.html Feb 11 22:16:59 nvm Feb 11 22:19:02 WindowsNT: Are you trying to do the intent launch with geo:latitude,longitude Feb 11 22:19:10 Im working on this guys code and he is passing a context to a log method Feb 11 22:19:13 damn Feb 11 22:21:17 So does anyone have any ideas for my tablerow problem? I tried just adding my divider in a second location but you can't have a TextView in two locations. Feb 11 22:22:09 (Technically what it didn't like was that the TextView appeared to have two parents) Feb 11 22:22:53 if i have to do an app which stores a database inside it, for example all medicinals and their descriptions, how would be a good approach to store these data, and to search into them? e.g. search a name of a medicinal.. Feb 11 22:25:15 P-l: p_l ? Feb 11 22:25:47 hey, what ? Feb 11 22:25:53 nope, not me Feb 11 22:25:57 I was first though :> Feb 11 22:26:02 oh lol Feb 11 22:26:19 anyone can help? Feb 11 22:26:37 now we only need p\L to complete confusion Feb 11 22:28:04 o hai Feb 11 22:28:10 rendar: for simple table-based searches, go with SQLite - it's provided with framework Feb 11 22:28:14 \: Feb 11 22:29:19 p_l: can i make an SQLite database and then put that binary file as a resource of the application, so the app don't have to download it? Feb 11 22:32:57 rendar: theoretically yes, though there might be problems in the future. I don't think that any device with android somehow links old SQLlite (as in 2.x), so files *should* be compatible Feb 11 22:33:49 I have a design that can change how people use their mobile phones. I want to present it to Android's UI team, but don't know how. What would be the best course of action to get my design to Google? Feb 11 22:35:08 p_l: uhm, so i don't have to use old sqlite? Feb 11 22:35:29 /me now that I am blind I see more Feb 11 22:35:46 rendar: no. you might need to remember to not use certain extra features, but your example would't need those Feb 11 22:36:01 (unless you wanted FTS extensions) Feb 11 22:36:20 * Ankhwatcher has trouble seeing the space key too Feb 11 22:36:31 is JDK for Mac reliable? Feb 11 22:36:32 p_l: thanks, a last question: do you know how to create a sqlite file? Feb 11 22:37:09 rendar: there is a commandline sqlite tool in the SDK Feb 11 22:37:14 marshy: why wouldn't it be? Feb 11 22:37:17 "sqlite3" Feb 11 22:37:39 Ge0rG: uhm, i should create such database from an html file, can i do that with that command line tool? Feb 11 22:37:57 rendar: if you write some program to turn that file into SQL statements, yes Feb 11 22:38:19 rendar: I recommend you start by learning SQL and relational databases - then SQLite will be easy Feb 11 22:38:29 thank you Feb 11 22:38:53 p_l: i know sql, just wondering if existed something already done and fast :) thank you anyway Feb 11 22:39:02 rendar: maybe you should download the html in your app on the first start Feb 11 22:39:22 Ge0rG: uhm, what you mean? Feb 11 22:39:37 i already have that html into the application Feb 11 22:39:40 there are sqlite wrappers for scripting languages as well. could help html 2 sqlite conversion Feb 11 22:39:49 thanks Feb 11 22:40:09 rendar: I meant doing the conversion in your app Feb 11 22:40:29 I do not know if it will be easy to supply an sqlite file within the apk Feb 11 22:40:34 oh i see, i'll try.. Feb 11 22:50:08 Droid 4 root found in how many hours? What, exactly, is the point of locked bootloaders? Feb 11 22:51:40 I thought the D4 root method was being auctioned off for $500? Feb 11 22:51:41 Ankhwatcher: on the Java site, it says "The JDK7 for Mac OS X Developer Preview for Java Developers is now available on http://jdk7.java.net/macportpreview/" Feb 11 22:51:52 MalRD: it doesn't stop you from rooting Feb 11 22:51:57 Since it's a development preview, I suspect it's naturally unstable. Feb 11 22:51:59 only replacing boot code Feb 11 22:53:01 p_l: Sorry, I wasn't very clear with that. What I meant was that everytime I see a company attempt to lock one of those mobile devices in some way, a few hours/days/weeks after release, someone has found a way around it. Feb 11 22:53:14 Seems like a bit of wasted effort, to me. Feb 11 22:54:08 the manufactures could care less, it's all by the telco's request Feb 11 22:54:21 MalRD: I actually think that secure boot should be used, but not lock changing the user software, just the radio Feb 11 22:54:31 leave Feb 11 22:54:46 no idea how it happens in USA, but in Poland telcos aren't the ones that decide whether phone will be used or not Feb 11 22:56:12 in the US telcos decide most things that adversely effect users, it's a huge problem Feb 11 22:59:36 damn, this is driving me nuts Feb 11 22:59:40 all these context Feb 11 22:59:50 . Feb 11 23:00:21 There has to be a way to get a context from a class without passing it in :( Feb 11 23:00:26 I hate passing them around Feb 11 23:01:05 BankZ: keep a reference to the application object and get the context from there Feb 11 23:01:25 From like a static method? Feb 11 23:01:48 yeah Feb 11 23:02:07 getActivity() Feb 11 23:04:19 lasttime: Yeah, each new phone I see has more and more carrier-enforced nonsense. Feb 11 23:04:53 Whenever carrier's are able to remove useful features from devices because they don't like them, it bums me out a bit. Feb 11 23:05:02 -' Feb 11 23:05:21 setsid: This is in a library project, whats the best way to get the application context? Feb 11 23:05:32 there isnt a startup activity Feb 11 23:05:38 didn't verizon remove nfc/google wallet from the verizon galaxy nexus? Feb 11 23:05:51 BankZ getActivity() Feb 11 23:06:10 That's the one I was thinking of. Feb 11 23:06:15 Most recently Feb 11 23:07:31 AbstractClass: stupid question, what class is that method on? Feb 11 23:08:54 Just curious, how many of you think that Android's Notification drawer is the best that we can do? Feb 11 23:09:16 BankZ should just be able to call it within a static class like that Feb 11 23:09:17 I'd love drawer widgets Feb 11 23:09:29 flyingandroid yeah drawers are awesome Feb 11 23:09:44 er drawer widgets would be awesome* Feb 11 23:10:56 that would end up needing a whole new launcher though i would guess Feb 11 23:11:28 does anyone know how to set different adapters for a listview in a fragment with viewpager Feb 11 23:12:20 Reason I'm asking is that I have an concept that android gets rid of the stupid drawer and makes a command center that can do almost anything in 2 swipes. home key will be bored because it won't get used nearly as much, but I want to pitch it to the UI development team Feb 11 23:12:31 How could I do that? Feb 11 23:12:49 flyingandroid yeah I saw earlier. Maybe try google+ Feb 11 23:13:02 Did you mock up an example? Feb 11 23:13:18 try jean baptist quero's twitter, that might work Feb 11 23:13:50 I did, but it's very basic. I had an epiphany on how google should redesign their music app Feb 11 23:13:57 Now the whole thing is coming together Feb 11 23:14:33 why suggest that they change it, why not write a 'better' version and sell it on the market? Feb 11 23:15:19 I would love to, but I barely know the basics of c++ Feb 11 23:15:29 I'll try quero's twitter, thank you Feb 11 23:17:18 I'd have a posting somewhere of the idea, mockups, reason to change, and etc all included. Link it here to see the reaction, make any required changes, and link it to them on Twitter/G+/social stuff. Feb 11 23:18:53 MalRD, thank you. I'm going to do that. Drawings are first, but how could I protect myself from getting ripped off? Feb 11 23:18:53 So, out of fear of breaking something, I've decided to take a "break" and read up on android development "basics" a bit more before I get very, very annoyed without accomplishing anything. Which leads me to... "what do I read?" Feb 11 23:19:20 flyingandroid: Isn't that what you want, assuming you're submitting it to Google? :P Feb 11 23:19:26 If you are asking the google android team to redesign something why would it matter if you're "ripped off"? Feb 11 23:19:50 Haha it would be nice to score an internship/job in their UI department Feb 11 23:19:51 joing Google, go on coding spree, get Music team to use your code Feb 11 23:20:08 robhol_ google I/O youtube videos are helpful Feb 11 23:20:10 How hard is it to learn coding for anroid? Feb 11 23:20:25 its easy, it just takes a lot of time Feb 11 23:20:27 flyingandroid: Apps are Java, which is about as hard as making pancakes. Feb 11 23:20:33 flyingandroid: as a very, very new "developer", I think it's a mess ._. Feb 11 23:20:44 I was looking for something more substantial, though Feb 11 23:20:51 like a book or something Feb 11 23:21:22 robhol_ videos > book Feb 11 23:21:28 you can sit down today, if you have time, and write your first android app not knowing any java, it's doable Feb 11 23:21:48 Fantastic. I'm going to start off with my C++ homework and move on from there Feb 11 23:21:55 Google IO talks are a great way to learn about the android platform Feb 11 23:21:59 AbstractClass: I can grab a digital copy of the book and have it with me on my phone everywhere Feb 11 23:22:12 videos are simply not as convenint Feb 11 23:22:23 are any of you working for google? Feb 11 23:22:31 so, I'm looking for a book - any recommendations? Feb 11 23:22:49 flyingandroid: currently waiting for recruiter to decide about those phone screens Feb 11 23:23:26 if you want to learn how to program android apps you need to sit down and start doing it, get excited about it, get interested, and keep learning Feb 11 23:24:29 I'm currently using an svn server in my localnetwork, and i'm playing with the thought to move to bitbucket or github, they repositories will be private so it will cost something on GitHub... but i fancy the nice overview over changes and code... Feb 11 23:24:32 Any thoughts? Feb 11 23:24:37 Yes, that's all nice until you run into the mess of having hundreds of classes and an unholy mess of inheritance, IS-A and HAS-A relations and no explanation of how anything works or why it was designed that way Feb 11 23:24:51 I always thought that getting a job with google is like winning a really nerdy lottery Feb 11 23:25:15 For example: I'd have thought switching from one view/activity/whatever to another was a reasonably simple task. Well, it fracking isn't Feb 11 23:25:16 flyingandroid: if you pass the technical part of it, it *is* a lottery Feb 11 23:26:02 robhol_: startActivity(new Intent(this, OtherActivity.class)); Feb 11 23:26:05 Seems simple to me :p Feb 11 23:26:17 This suggests that the android api wasn't designed to be "picked up" quickly, so I'm assuming there have been reasonably compreensive works written on the subject Feb 11 23:26:27 SimonVT: now add a parameter? Feb 11 23:26:31 let's say, a string Feb 11 23:26:37 Can anyone think of a way create a blank image that could be turned into a Bitmap with BitmapFactor.decode...()? Feb 11 23:26:53 (it needs to be of arbitrary size) Feb 11 23:27:29 Intent i = new Intent(this, OtherActivity.class); i.putExtra("KEY", "someString"); startActivity(i); Feb 11 23:28:00 and now it all forcecloses on your ass and you get a npe for no apparent reason whatsoever Feb 11 23:28:11 Then you're doing it wrong Feb 11 23:28:14 lol Feb 11 23:28:37 Make sure you defined OtherActivity as an activity in your manifest file. Feb 11 23:28:40 well, I'm feeling lucky. Thanks all. I'm going to log off for a bit and get to refining my work. Feb 11 23:28:43 Niya: did Feb 11 23:28:51 Anytime you get an NPE, there's a reason... Feb 11 23:28:57 anyone know why Class.forName("android.provider.CalendarContract"); works but Class.forName("android.provider.CalendarContract.Calendars"); does not? from the docs I think it's a class, am i mis-understanding it? Feb 11 23:29:06 MalRD: usually an np :p Feb 11 23:29:11 Then you post stacktrace and code, so people can tell you what you're doing wrong Feb 11 23:29:23 more to the ppoint why would the fucking getExtras return null in the first place :p Feb 11 23:29:43 trinode: Are you sure that second one is right? Feb 11 23:29:45 Where are you calling it? Feb 11 23:29:48 you can have a backup value Feb 11 23:29:51 onCreate Feb 11 23:30:14 Yay, so do I :) Feb 11 23:30:16 MalRD: not sure no, I'm looking at http://developer.android.com/reference/android/provider/CalendarContract.Calendars.html Feb 11 23:30:31 I'm after the value of CONTENT_URI, Feb 11 23:30:40 I managed to get it from the first one Feb 11 23:31:41 SimonVT: I originally thought there was some kind of arcane setting that needed to be set in the manifest - but I know fuck all about what anything there means or how it relates, so I thought there might be a book that explained it. Googling a thing you're not sure about is all well and good, but googling 40593 things gets to be tiresome Feb 11 23:31:44 or do i do Field uriField = CalCont.getField("Calendars.CONTENT_URI"); after the first one to achieve what I need? Feb 11 23:32:16 trinode: Not sure what you need, but my guess is that Calendars is an inner class Feb 11 23:32:26 Shouldn't it be something like android.provider.CalendarContract$Calendars Feb 11 23:32:29 and there's some nice Java reason forName won't work Feb 11 23:32:43 Anyway, why are you using reflection Feb 11 23:33:03 so my android 4.0 app will work on 2.1 (with less features) Feb 11 23:33:46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) CalendarContract.Calendars ... whatever Feb 11 23:34:38 SimonVT trinode: Yeah, $Calendars would be the correct format, but you'd also want to use a version switch, not reflection for defining featuresets. Feb 11 23:34:49 So, I'm having memory problems because on certain devices Bitmaps created with Bitmap.createBitmap aren't being freed properly. They are when I use BitmapFactor.decode...() with the "inPurgeable" flag. I need to be able to do this for bitmaps I create. Feb 11 23:37:32 MalRD: version switches, are they applied at runtime or compile time? Feb 11 23:39:13 Well, it doesn't know which version it's running on until runtime Feb 11 23:41:03 SimonVT: so how do I build an app that has CalendarContract.Calendars compile when I'm only using the 2.1 sdk? :/ Feb 11 23:41:15 You target 4.0 Feb 11 23:41:22 Niya: don't forget Bitmap.recycle Feb 11 23:41:45 And no, your target isn't the min api level it runs on. minSdkVersion is Feb 11 23:42:23 SimonVT: oh, so it IS meant to work like that? I tried that and couldn't get Build.VERSION_CODES. constants > then the min sdk version to show Feb 11 23:42:36 g00s: Yes, I am. bitmap.recycle(); and bitmap = null; On most devices I don't have any problem. On some they just don't free the native memory =/ Feb 11 23:43:05 What APIs you have available to you at compile time is determined by your build target Feb 11 23:46:56 SimonVT: ok, I'll look into what I did wrong (that made me think I had to use reflection) Feb 11 23:47:02 thanks :) Feb 11 23:48:54 how do you return a listview with different adapters for each page in a viewpager? Feb 11 23:49:27 Well, since they're different listviews, you just set an adapter on each as always Feb 11 23:49:50 SimonVT right but where do I set the adapter for each different listview Feb 11 23:50:01 Where are you creating your listviews? Feb 11 23:50:25 I followed the model in the Support code, in public Fragment getItem(int position) it returns ArrayListFragment.newInstance(position) Feb 11 23:50:34 but this will return the same listview each time Feb 11 23:50:45 No it wont Feb 11 23:50:55 newInstance kinda gives it away Feb 11 23:50:59 is it just me or is ant on android kind of a mess? the proguard docs say to put proguard info in project.properties, the android build.xml file says to put it in build.properties, and the key.store value is supposed to go in ant.properties (neither of the last two files exist in the project by default) Feb 11 23:51:02 ok but what do i overwrite to set the adapters Feb 11 23:51:11 i had it in oncreateview but it gets called once Feb 11 23:51:29 It should get called once for every fragment instance you create Feb 11 23:51:40 storkme: iirc build.properties was renamed to project.properties or something Feb 11 23:51:51 I tried breakpointing it, but it was only getting called once and giving me 2 identical listviews Feb 11 23:52:08 Or maybe that was to ant.properties Feb 11 23:52:29 fair enough Feb 11 23:52:48 Anyway, proguard goes to project.properties Feb 11 23:53:11 also, for proguard, if i have two stub projects relying on one library project for the core codebase, do i need to add a proguard.cfg for the stubs? I shouldn't need to right Feb 11 23:54:18 SimonVT: my project.properties says at the top not to modify it :/ I'm going to mtfu and do it anyway though. Feb 11 23:54:22 because, fuck the system, etc. Feb 11 23:55:56 YER NOT THE BOSS OF ME, anonymous code comment! YER NOT THE BOSS Feb 11 23:56:09 fight the powa. Feb 11 23:56:18 do you think many people are using 5GHz wifi? Feb 11 23:56:35 because either no one here is, or my scanning app is broken Feb 11 23:57:04 canadiancow|work: many people don't have hw to use it Feb 11 23:57:12 majority, even, at least when it comes to APs Feb 11 23:57:20 storkme: Yeah, modify project.properties Feb 11 23:57:21 oh is that band disabled by default? Feb 11 23:57:35 Also, not sure proguard is applied on lib projects? Feb 11 23:57:37 canadiancow|work: no, they have hardware *without* 802.l1a Feb 11 23:57:45 As in, you have to do it on your main project Feb 11 23:57:45 oh Feb 11 23:57:49 so is it still uncommon then? Feb 11 23:57:52 which among other things includes 40MHz channels, like 11 Feb 11 23:57:54 *11n Feb 11 23:57:56 alright cheers Feb 11 23:57:57 becuase bgn is so bloated here Feb 11 23:58:07 i had to switch to a japanese channel to get decent throughput Feb 11 23:58:09 but htats illegal Feb 11 23:58:13 and my galaxy nexus wont ocnnect now Feb 11 23:58:39 storkme: If I remember correctly, it's only the dex task that obfuscates. Lib projects are compiled as jars Feb 11 23:58:54 canadiancow|work: 11a and 11n/5GHz had a lot more problems with licensing, because unlike 2.4Ghz, 4.9+ GHz bands aren't "garbage dump" Feb 11 23:59:22 yea im just trying to decide if 2x $100 is worth it for decent wifi here Feb 11 23:59:29 and if in a year, everyone will have 5GHz :P Feb 11 23:59:29 but aren't the jars dropped in the dex? Feb 11 23:59:36 canadiancow|work: doubtful Feb 11 23:59:45 because i stream media from my computer to my tv, so theres a wireless router at my computer, and one behind the tv Feb 11 23:59:50 storkme: Yes, but that's in your main project Feb 11 23:59:55 and during peak usage periods, it gets laggy :( Feb 11 23:59:56 canadiancow|work: ever since 11n supported 2.4GHz, people kept to that Feb 12 00:00:00 heh Feb 12 00:00:00 So can't set the proguard stuff on the lib project and expect it to work Feb 12 00:00:11 SimonVT: proguard will obfuscate lib projects i think Feb 12 00:00:17 ah Feb 12 00:00:20 there were about 50 wifi networks@2.4ghz range which i could see in my appartment Feb 12 00:00:24 i'll try it why not Feb 12 00:00:30 smknight1, how many 5s? Feb 12 00:00:38 i had to switch to 5ghz to be able to use wifi at all Feb 12 00:00:50 my own canadiancow|work :p Feb 12 00:00:54 canadiancow|work: If I understood him correctly, he wanted to set the proguard cfg on the lib project, and have it obfuscated when he build his main project (without setting proguard here) Feb 12 00:01:02 oh Feb 12 00:01:10 smknight1: hmmm....$200.....hmmm Feb 12 00:01:13 wifi@2.4ghz did not work at all anymore Feb 12 00:01:27 too many networks Feb 12 00:01:30 I sometimes had to force 5GHz as well. But the more common problem is either a) RADIUS kicking the bucket b) DHCP kicking the bucket c) lost connectivity to either of those d) AP died Feb 12 00:01:45 my 5ghz router cost me about 100 euro Feb 12 00:01:53 all my other hardware was already 5ghz capable Feb 12 00:01:55 recently it was DHCP... which coincided with a sw upgrade by operator :> Feb 12 00:02:45 yea my phones, tablet, and laptops are 5GHz-ready Feb 12 00:02:47 but i need two routers Feb 12 00:02:54 because my main problem is streaming media over my wireless bridge Feb 12 00:03:06 and i just bought one of them :P Feb 12 00:03:28 canadiancow|work: connect APs with cables Feb 12 00:03:35 thats what i did, too Feb 12 00:03:44 p_l, i cant run a cable here Feb 12 00:03:47 ahh Feb 12 00:03:48 believe me... Feb 12 00:03:51 i would if i could Feb 12 00:04:00 canadiancow|work: You're, shortly, fucked Feb 12 00:04:00 dont even think about 1080p material with a decent bitrate over wifi Feb 12 00:04:01 BEST i could do is like a 60 foot around doors and shit Feb 12 00:04:02 :/ Feb 12 00:04:12 but i cnat drill Feb 12 00:04:17 although im almost ready to say "fuck it" Feb 12 00:04:20 and drill anyway Feb 12 00:04:39 theres already a hole for one cable, i could just enlarge it i guess Feb 12 00:05:04 canadiancow|work: I nearly sent cable outside the house... still might do it, fiber doesn't seem to be that expensive :D Feb 12 00:05:36 i wonder how long a cable i would need Feb 12 00:05:38 hmmm Feb 12 00:08:28 looks like about 28 feet Feb 12 00:09:39 And you already got 2 ! Feb 12 00:10:06 anyone knows how to simulate long press on a list view while testing? Feb 12 00:10:59 i need to figure out where my nice cat6 cables are Feb 12 00:11:13 i got a bunch of them a while back (short ones) Feb 12 00:11:22 but im still using crappy cat5 for a bunch of stuff Feb 12 00:24:08 in my app i want to take a picture and pass it to an activity where it allows me to share it (i add some text and such). I also want the user to be able to select a pic in the standard gallery and hit 'share' and have my activity come up (this i can do). How best to combine these things? When starting the activity myself, fake being an ACTION_SEND ? Feb 12 00:29:23 Holy flying expletive Feb 12 00:29:37 who thought it was a good idea to put undeletable bookmarks in the browser. Feb 12 00:29:43 Wasn't putting uninstallable applications enough? Feb 12 00:31:37 gotta love those Feb 12 00:32:52 oh hai, have apps for facebook and twitter which you're never going to use on account of being an asocial bastard - but you can't remove them, and we will routinely start updates on them, which will bug and just stand there on "starting download..." forever :p Feb 12 00:33:27 I'm honestly considering taking this back and canceling my service completely. Feb 12 00:33:34 This is unreasonable. Feb 12 00:34:04 the problem is it will never get high enough for them to change it, MalRD Feb 12 00:34:11 what device is it? Feb 12 00:34:31 canadiancow: High enough? Returned devices? Droid 4. Feb 12 00:35:02 oh hai, you can disable system apps on ICS Feb 12 00:35:03 like the reason wont make it past the provider's sales reps Feb 12 00:35:11 SimonVT: what about on OEM-fucked ICS? Feb 12 00:35:13 :P Feb 12 00:35:14 Oh, right. Feb 12 00:35:36 The only way I see this getting fixed is via Google. Feb 12 00:35:42 if you actually care, you might be better off calling verizon, and speaking to someone there about the reason before you return it Feb 12 00:35:54 of motorola sees this happen, they might change shit Feb 12 00:36:15 canadiancow: Well, don't buy the device Feb 12 00:36:16 ^_^ Feb 12 00:36:34 yes but they dont see "we made 10 less sales becuase of this customization" Feb 12 00:36:46 you need the manufacturer to be aware of the return reason Feb 12 00:36:49 or nothing will ever change Feb 12 00:40:40 i think its time for a new raid...my 1TB is full :( Feb 12 00:41:43 #firstworldproblems Feb 12 00:41:50 heh Feb 12 00:41:55 I was actually about to say that. Feb 12 00:41:56 we used to call them white person problems at work Feb 12 00:42:08 then when we got bought by a larger company, someone made a joke when the black HR woman was around Feb 12 00:42:11 didnt go over so well Feb 12 00:42:19 the days before memes.. when originality was rife Feb 12 00:42:19 but I disagree with the meaning behind it. Feb 12 00:42:21 *shudder* Feb 12 00:42:41 I've no desire to pay good money to get bent over a table. Feb 12 00:42:47 what? Feb 12 00:42:50 wat Feb 12 00:42:52 and she was all like oh no you di-int ? Feb 12 00:42:57 hahahaha Feb 12 00:42:59 basically osxorgate Feb 12 00:43:05 That's racist! Feb 12 00:43:28 i have no problem with that Feb 12 00:45:59 Oh, awesome. I plug in my phone and Verizon opens my webbrowser. Feb 12 00:47:02 this is where i would call verizon, and bitch at them and tell them you're cancelling Feb 12 00:47:06 and do the same to motorola Feb 12 00:47:10 and be VERY specific about the reasons Feb 12 00:47:24 and hope that it gets someone's attention Feb 12 00:48:45 i wonder who comes up with these ideas Feb 12 00:48:59 worse still i wonder who okays them Feb 12 00:49:39 those guys with $ in their eyes Feb 12 00:50:19 do you know why i pirate movies? Feb 12 00:50:20 canadiancow: Oh, there will be complaints. No doubt about that. Feb 12 00:50:28 because i cant buy the ones i want to see on the android market and play them on my tv Feb 12 00:50:33 do you know why i pirate music? Feb 12 00:50:39 because canadians cant buy it on the android market Feb 12 00:50:52 music/movie companies need to get their heads out of their fucking asses Feb 12 00:52:28 yeah android movie rentals are retarded.. i paid 4 quid to rent a film for a long train journey, ended up not finishing it so when i came back i was expecting to sit and finish watching it on my nice 24 inch monitor on my pc Feb 12 00:52:32 ...nope Feb 12 00:52:41 wait really? Feb 12 00:52:45 i had no problem doing that Feb 12 00:52:55 how? Feb 12 00:53:00 err...it just worked o.O Feb 12 00:53:08 Oh me oh my, they're going to pop open this Verizon browser window everytime I plug my phone in. Feb 12 00:53:14 Are you goddamn kidding me Feb 12 00:53:26 but storkme, the movies i want arent really offered, and i have no way of getting them on my tv Feb 12 00:53:30 thats my showstopper Feb 12 00:53:58 Oh, ok, there's the off button. At least that'll stop it until I finish rooting and freezing all this shit. Feb 12 00:54:08 heh Feb 12 00:54:15 didnt want a galaxy nexus? :P Feb 12 00:54:44 I am an old man who cannot learn to type on a screen. Feb 12 00:54:55 fair enough Feb 12 00:55:17 *I am not that old, but seem to be chronically incapable of typing anything on a touch screen. Feb 12 00:55:55 well as long as you can root it and CM supports it, cant really complain Feb 12 00:56:08 api level 15 is only available on the GSM galaxy nexus if you're rooted Feb 12 00:56:16 so even the flagship dev device isnt up to date Feb 12 00:59:34 canadiancow: The thing is, I hate to support this idiocy. Feb 12 00:59:53 I have the ability to fix (most) of these issues (eventually), but I shouldn't have to. It makes me sad. Feb 12 01:00:18 so i have a thinkpad tablet that i am trying to clean up a bit so it runs faster. My logcat output is spammed with this sort of stuff: http://pastie.org/3364240 can someone give me a pointer to figure out what is sending all this crap? specifically the dead object exception at the bottom? Feb 12 01:01:27 ftc: it looks like some app is broken, that's all Feb 12 01:01:41 yeah, i am just trying to figure out which app it is so i can remove it :-/ Feb 12 01:01:43 the last one is about trying to refer to remote service that got killed Feb 12 01:02:19 mobihand + whatever was running with pid 150 Feb 12 01:05:19 p_l: ps aux doesn't seem to output any processes? Feb 12 01:05:33 type just 'ps' Feb 12 01:05:44 busybox regularly doesn't have those options :) Feb 12 01:05:56 ah ok Feb 12 01:05:59 "system server" Feb 12 01:06:00 doh Feb 12 01:06:22 i assume that is part of android? Feb 12 01:06:47 yes. It might mean however that it simply couldn't route the request, or bug in some application that called it Feb 12 01:06:52 ahhh Feb 12 01:06:57 missed "TOOD' :D Feb 12 01:07:16 yeah, seems like someone should have caught that... Feb 12 01:07:53 is there any way i can capture the deadobjectexception and examine it somehow? Feb 12 01:09:16 probably. I don't know if its worth it Feb 12 01:10:57 well the thing hangs in places that a tegra2 just shouldn't be hanging... Feb 12 01:11:30 and that one dead object exception is about half the lines that logcat outputs Feb 12 01:12:02 Tegra2 was pretty slow cpu Feb 12 01:12:03 ;) Feb 12 01:12:07 ahh Feb 12 01:12:28 meh, find me something faster with a good stylus :-P Feb 12 01:13:49 honestly i don't need anything snappy for this tablet, i just want to make it not hang up on ui things Feb 12 01:16:29 ftc: given how it was mobihand constantly complaining about "not finding" stuff, maybe you should freeze it? Feb 12 01:19:05 Im trying to get the array name into Feb 12 01:19:54 seems like mobihand is the lenovo app store Feb 12 01:20:01 yep Feb 12 01:20:03 Im trying to get the array name into "spinid" how would i get this done. here is the code http://pastebin.com/wMiuk8dG Feb 12 01:20:04 but i just killed that and i still get the exception Feb 12 01:20:29 ftc: it's probably restarted Feb 12 01:20:50 its not listed in the running applications thing Feb 12 01:21:26 probably some service, or the app trying to starts Feb 12 01:21:28 *start Feb 12 01:22:00 perhaps i should just back up the .apk file then uninstall it and see if it goes away Feb 12 01:22:44 first i think i am going to kill everything else in this list one by one and see if the dead object exception stops Feb 12 01:24:16 lot fewer now that i have killed arcsoft.android.MediaBiteService Feb 12 01:25:35 whitnet houston died Feb 12 01:25:45 Huh Feb 12 01:26:02 whitney houston died* Feb 12 01:26:28 What are the possible reasons adb would throw an error: device offline error on a pull call? Feb 12 01:26:41 I mean, I can see it Feb 12 01:26:46 and I can browse it. Feb 12 01:27:10 hkhalid, bet you $20 it was an o/d Feb 12 01:27:28 mrenouf i think so too Feb 12 01:32:07 Hello. How can I make my application to replace the current launcher? This is, I want it to run on the device startup and do not allow leaving it. Feb 12 01:32:12 I'm going to start adding error: computer not plugged in to all my applications. Feb 12 01:32:20 Just so someone else has to feel the same pain I do. Feb 12 01:32:38 "WHAT DO YOU MEAN NOT PLUGGED IN? The power cord is right there! I can see it!" Feb 12 01:38:16 This is going to drive me insane. Perhaps I will have better luck less sober. Feb 12 01:59:36 I use a ListView. If I onLongClick opens the ContextMenu. If I click the first option in my ContextMenu a Dialog opens. Everything is fine. But if I select another item and open the Dialog, the same Dialog as at the first item opens. (Means, the values that are displayed are false.) On the second / third etc the onCreateDialog method dont get fired. Feb 12 01:59:39 Any ideas? Feb 12 02:02:57 Leandros: onCreateDialog is only called once per Activity life cycle Feb 12 02:03:09 what you are looking for is onPrepareDialog Feb 12 02:03:40 that gets called every time just before a dialog is shown. use it to update info displayed by your dialog Feb 12 02:04:23 userx- Thanks! Feb 12 02:07:00 Hey folks, so I've been using a timer in my handler to change images in an imageview every 10 seconds... on pause I cancel the timer and then on resume I create a new timer and add the timer task again (the task sends a message that schedules another task).. however, the new timer doesn't seem to want to start on second resume (first resume being from the start-up) Feb 12 02:07:03 any ideas? Feb 12 02:12:41 userx- Yeah, thanks alot. Works. Feb 12 02:12:48 yw :) Feb 12 02:18:19 i wanna press a button and start a camera-take-picture intent. After this, I want to return to another of my activities to process the pic. how best to do this? startactivityforresult(camera_thing) and then in onresult start the new one? Feb 12 02:23:03 yep Feb 12 02:23:53 Im trying to get the array name into "spinid" how would i get this done. here is the code http://pastebin.com/wMiuk8dG Feb 12 02:25:16 anyone used the c2dm stuff? Feb 12 02:44:28 Well, I suppose that's a bit better. Now the only locked bookmark is google.com Feb 12 02:52:49 pretty sure the sign up process for c2dm is broken :( **** ENDING LOGGING AT Sun Feb 12 02:59:56 2012