**** BEGIN LOGGING AT Sat Jan 26 03:00:00 2013 Jan 26 03:10:05 hello all Jan 26 03:13:18 morning Jan 26 03:13:20 :) Jan 26 03:13:32 sup StingRay_ Jan 26 03:13:41 <-- frustrated with proximity alerts Jan 26 03:13:47 so simple but not sure why its not working Jan 26 03:13:59 <--- doing custom widgets for data'ish stuff Jan 26 03:14:02 maybe has to do with the fluffy location lib Jan 26 03:43:13 sup sup Jan 26 03:43:37 how do i find a method to script changing a wallpaper? Jan 26 03:44:00 i'm not looking for a live wallpaper creation script, found that, just looking for the command to actually set one Jan 26 03:47:35 i think it's a function of WallpaperManager, like setBitmap or similar. If WallpaperManager doesn't reveal anything you could check either the Gallery2 source code in AOSP or the Launcher2's wallpaper chooser also in AOSP Jan 26 03:48:06 thanks Jan 26 03:51:15 http://developer.android.com/reference/android/app/WallpaperManager.html#setResource(int) Jan 26 03:51:44 public method is void? what does that mean? Jan 26 03:53:06 ...that it has no return value Jan 26 03:53:12 ah Jan 26 03:56:11 anyone have experience with proximity alerts that could take a peek at my alert code + intent from dumpsys location to see if I'm doing anything wrong? Tried mock locations to generate the loation and still nothing in my receiver Jan 26 03:56:20 driving me nuts, its fairly straightforward to implement it Jan 26 04:19:45 Can I use libOpenMAX.so on Gingerbread? Jan 26 04:20:03 I'm talking about native development Jan 26 04:24:00 any good websites where android and ios developers can be found? Jan 26 04:24:30 "found" … for wut Jan 26 04:27:36 eclipse is so stupid sometimes, why can't it just push my apk to the avd that is launched already Jan 26 04:27:41 keeps launching new ones Jan 26 04:28:03 i usually have better luck starting the emu before eclipse Jan 26 04:28:12 dunno if its an adb issue or what Jan 26 04:31:15 ok so seriously anyone able to answer my question? Jan 26 04:33:11 Is there any way to do portrait and landscape for say… tablets, but just portrait on phones? I tried using a @string value for the references in the Manifest, but that didn't work (as expected). Jan 26 04:37:08 Chronax: there is Activity.setRequestedOrientation you can use rather than a manifest setting . However keep in mind that users do expect the app to rotate with the device. Jan 26 04:37:34 Hah, thanks. Jan 26 04:41:53 i'd like to see some stats on how often people use apps in one orientation vs the other Jan 26 04:42:12 (on a phone) i'm betting 95% portrait Jan 26 04:42:28 I'd like to see if there's a way of using the DSP in native to decode videos on Gingerbread Jan 26 04:42:41 g00s, remember angry birds Jan 26 04:42:47 i'm betting that because, the study i saw said hardly anybody used their slider keyboards Jan 26 04:42:53 anyone have a preferred app for rooting? Jan 26 04:42:53 barque: for non-games Jan 26 04:42:57 oh Jan 26 04:43:07 yeah, games … 95% landscape :) Jan 26 04:43:30 guess i mean app or method... Jan 26 04:43:34 but yeah g00s, I'm 95% eager to figure out how to use the DSP in native to decode videos on apilevel-9 Jan 26 04:43:36 hell even 100% Jan 26 04:43:39 maybe even 150% Jan 26 04:44:02 Seriously, $100 for anyone able to give me a solution Jan 26 04:44:20 paid via paypal Jan 26 04:44:33 I'm desperate :/ Jan 26 04:44:54 I just wish there was a simple way in the manifest to allow both orientations on tablets, but not phones. Jan 26 04:47:03 Come on, seriously .... no one? Jan 26 04:48:59 :( Jan 26 04:50:26 Chronax I doubt there ever will be due to convergence and where do you draw the line ? Tis more about choosing your own scale based on screen, rather than phone or tablet I think Jan 26 04:50:37 Right. Jan 26 04:50:37 phablet , what a word Jan 26 04:50:38 barque: you're asking an obscure question in a general-purpose channel at one of the worst times of the week... Jan 26 04:51:00 x_x Jan 26 04:51:08 all other times I'm at work Jan 26 04:51:09 its always the worst time of the week here :) Jan 26 04:51:13 lol Jan 26 04:51:37 lol, about phablets - did you see that HTC mini phone that pairs with its big phablet ? Jan 26 04:51:41 seriously my CTO won't get off my back about his engine video controller working the way he imagines it should always work Jan 26 04:51:51 g00s: yeah, that's just *odd* Jan 26 04:52:22 people come up with some scheme they think will always work and get surprised when the hardware barfs over it Jan 26 04:52:35 barque: it's between late-ish Friday night (US) and Saturday lunchtime (Asia) with early Saturday morning (Europe) in-between... *not* a good time Jan 26 04:52:56 he's using 2048x2048 textures several times a frame and is *not* using normalized texture coordinates and wonders why things are slow Jan 26 04:53:14 but he wants them to be fast! Jan 26 04:53:17 without question Jan 26 04:53:19 on Tegra 2 Jan 26 04:53:36 and 1280x800 displays Jan 26 04:53:53 next thing you know he's asking for unicorns and fairy dust Jan 26 04:54:05 well, they have the former in north korea Jan 26 04:54:19 they'll find the latter there too, sooner or later :D Jan 26 04:54:22 God, some people Jan 26 04:54:46 And you cannot tell the guy "Hey, buddy, your platform sucks dogpoop :D" Jan 26 04:55:07 "You need a major re-write. Sorry to break it to ya. I'll be here in case you need a hug" Jan 26 04:55:55 He's released 20 titles on it and he wants a smooth effortless port to Android... just like that! Jan 26 04:56:06 a platform that was primarily designed to work with Java and not C++ Jan 26 04:56:51 We've literally contacted nVidia to see if they have an alternative suggestion. I know they're gonna tell him it's not possible. Jan 26 04:57:00 Will he be convinced? Jan 26 04:57:12 No he'll think the nVidia engineers are idiots and don't know the platform they've designed Jan 26 04:57:23 He of course knows Tegra better than nVidia Jan 26 04:57:32 he also runs the planet on his day off Jan 26 04:57:39 God doesn't know ***( Jan 26 04:57:41 **** Jan 26 04:59:12 anyway, have fun guys and thank god you don't have to pay lip service to people like that Jan 26 04:59:17 barque: and his golden device is a Dell Streak Pro, right ? Jan 26 04:59:27 Samsung Galaxy Tab 10.1 Jan 26 04:59:42 * g00s sighs Jan 26 05:00:08 He wants Gingerbread compatibility Jan 26 05:00:29 if we literally move to api-level 16 I can use MediaCodec or SurfaceTexture with MediaPlayer Jan 26 05:00:32 or even OpenMAX Jan 26 05:00:38 god I can use anything Jan 26 05:00:54 But no, we need Gingerbread (truth be told, the publisher needs it) Jan 26 05:01:00 2.3.1 Jan 26 05:01:17 well, i have a froyo phone, can you support me too ? Jan 26 05:01:47 come on... Jan 26 05:01:53 I'm already pulling my hair out Jan 26 05:02:02 truth be told what difference does it make at this stage anyway Jan 26 05:02:05 2.3.1 or 2.2 Jan 26 05:02:08 probably Jan 26 05:02:23 but then have fun watching ffmpeg with theora choke on your tablet Jan 26 05:02:33 droid-1 :D Jan 26 05:02:34 trying to decode 640x480 Jan 26 05:02:53 No neon no nothing Jan 26 05:02:59 it has to work like buttah on my droid-1 Jan 26 05:03:02 and yeah, can't use MediaPlayer either Jan 26 05:03:12 cause he really really needs those frames Jan 26 05:03:19 I swear Jan 26 05:03:27 I can use MediaPlayer through JNI Jan 26 05:03:29 even at this stage Jan 26 05:03:32 but nooooOOOoooo Jan 26 05:03:38 can't do that, need full decoded frame Jan 26 05:05:32 anyway, enjoy your weekend guys Jan 26 05:05:45 dont have too much fun ! Jan 26 05:18:21 i have the worst luck with emulators Jan 26 05:18:35 sending lat/lng fix via eclipse or via geo fix command no worky Jan 26 05:19:13 allow mock locations enabled ? Jan 26 05:19:18 yup Jan 26 05:19:32 in manifest as permission and in settings Jan 26 05:19:34 anything in logcat saying anything at point of sending ? Jan 26 05:21:23 nothing, some some unreleased ExchangeService exceptions Jan 26 05:21:42 im trying to just get this running in emu to test my proximity alert code because it doesn't fire on my actual device Jan 26 05:22:19 hang on lemme just check with my emu Jan 26 05:22:31 think I could possibly narrow it down for you Jan 26 05:24:16 ok well I doubt it's emu related Jan 26 05:25:25 QubeZ: I don't remember exactly,.. but I think there is some command to get a list of registered alarms Jan 26 05:25:44 IIRC that included proxity alerts.. could be talking out my arse though Jan 26 05:25:49 cantido: yes, dumpsys alarm is for AlarmManager stuff but proximity alerts are dumpped via dumpsys location Jan 26 05:25:58 I can see my proximity alert just fine with mRadius defined Jan 26 05:26:06 ah, ok :) Jan 26 05:26:13 but it doesn't trigger when I enter the area, even when I park right by it lol Jan 26 05:26:50 I'm using the Fluffy Location library to get passive data into my app so I have no location listerner set in my app which is fine because even if I did, when app closes the location upates stop which is what you're supposed to do Jan 26 05:27:14 not sure still, because Android should keep track of my user's location and alert when they enter the proximity based on the lat/lng/radius i defined Jan 26 05:27:56 I know I've written the code to get the alert registered correctly because I see it via dumpsys location and I know I have the receiver written correctly because I have another Alarm Receiver that I wrote that works fine Jan 26 05:29:30 now I'm more frustated because I can't get the emu to register a fake location via geo fix or DDMS send fix UI Jan 26 05:29:43 gps icon shows up in the emu notification bar though Jan 26 05:34:08 QubeZ: time to wrap it up and write the BB10 version :) Jan 26 05:34:16 * g00s runs ... Jan 26 05:34:57 g00s: ive seen ad's for a wrapper lib, to run android on bb Jan 26 05:34:59 btw, the proximity alerts behaved differently on various devices Jan 26 05:35:03 g00s: similar in a way to how winelib works Jan 26 05:35:23 g00s: (you can use winelib to compile 'windows' source directly into a linux binary) Jan 26 05:35:25 hey guys does this look correct for delegating an upload to a service? https://gist.github.com/4640396 Jan 26 05:35:27 yeah … is RIM still doing that ? Jan 26 05:35:35 g00s: let me see if i have the link Jan 26 05:35:41 I want my activity to stop and return to the caller and the service to continue uploading. Jan 26 05:36:02 g00s: http://developer.blackberry.com/android/offer/ Jan 26 05:36:17 g00s: no clue what exactly it covers, i never went beyond this page Jan 26 05:36:28 my app isnt even ready for android release, and i dont have any BB to test on Jan 26 05:36:37 heh, yeah - no. i cant even get stuff working on my own hw Jan 26 05:41:45 ok noob question Jan 26 05:42:02 I have some method taking it's sweet ass time over something Jan 26 05:42:22 in eclipse/ddms whats the best way to get any indication as to what it is ? Jan 26 05:44:35 g00s: I can understand prox alerts work differently on diff hw, but i can't get them to work on my phone nor even get to the point of testing on the emu Jan 26 05:44:43 the emu is a real pos... Jan 26 05:45:03 considering how many diff models of hw we have to work with for Android, I'd think Google would put more effort into a quality emu Jan 26 05:59:06 QubeZ: yeah; i feel the same way. very recently i started getting a raft of cancellations and suspect my app is not working with some phone's bluetooth - but the emu doesn't support it and the reporting doesn't say what phones are cancelling the orders Jan 26 05:59:35 and nobody contacted me or gave me a bad review yet, thankfully, but its still frustrating Jan 26 06:00:29 anyhow, even if the emu did have these things, there could be bugs in the chipset's device driver that would not be reflected in emu testing Jan 26 06:01:15 very frustratin Jan 26 06:01:38 maybe, do a quick prototype without the fluffy shit Jan 26 06:01:56 since activity, proximity alerts - a tracer bullet to verify some assumptions Jan 26 06:01:59 *single Jan 26 06:03:40 yup going to try that Jan 26 06:06:41 Hello! Jan 26 06:06:47 Anybody using PhoneGap for giving ones mobile websites access to the user's camera? Like not redoing the whole website as a native app but just doing that tiny bit for the cam? Jan 26 06:25:45 QubeZ: maybe for simplicity, have your single activity tracer bullet set android:keepScreenOn="true" for some view so you can test the proximity alerts w/o the phone going to sleep :) Jan 26 06:28:02 i copy/pasted a lot of code from a tutorial into a new project and ran it, it works -- proximity alert fires Jan 26 06:28:06 wtf Jan 26 06:28:11 testing again Jan 26 06:28:14 without fluffy ? Jan 26 06:28:19 ya Jan 26 06:28:24 :) Jan 26 06:28:27 in that code, they set a location listener Jan 26 06:28:46 but after the user leaves the app, listener will stop so that can't be the determining factor Jan 26 06:29:03 Android must keep track of user's whereabouts via other providers/listeners...otherwise proximity would never work Jan 26 06:30:43 although what this guy did in his code, he never stops the updates from location listener so thats's a bit of cheating Jan 26 06:31:29 i haven't looked at the code recently; when i did gps stuff i had the listener going in a service with a wakelock Jan 26 06:31:42 but, that was for a special application, not a general thing to do Jan 26 06:36:46 interesting.... Jan 26 06:37:04 in the working code the prox lat/lng look like this: mLatitude=44.9489351 mLongitude=-93.2888719 Jan 26 06:37:17 in my proximity alert it looks like this: mLatitude=4.4947706E7 mLongitude=-9.3298443E7 Jan 26 06:40:24 looks like a math fuck up on my part Jan 26 06:41:01 * g00s hits QubeZ with a trout 1E6 inches long Jan 26 06:41:21 god damn, i'll hit myself with a trout Jan 26 06:41:28 but i do like fish so i might eat it afterwards Jan 26 06:41:57 i guess prox alert never triggered because there is no Apple store on the fucking moon or wherever the hell that E7 might end up Jan 26 06:42:20 oh, i'm sure there is an apple store - on the far side of the moon Jan 26 06:42:56 they got all of their alien tech from the downed transformers ship Jan 26 06:55:34 haha prox working now Jan 26 06:55:43 this was an epic fuck up on my part Jan 26 06:56:18 g00s: thanks for suggesting testing against working code, of course it seems obvious and that would have been my path (eventually -- tomorrow lol)... you nudged me along Jan 26 06:56:44 QubeZ: good luck, glad you're out of that quagmire :) Jan 26 07:00:25 thanks Jan 26 07:00:31 TDM 1.7.0 going to rock Jan 26 07:00:47 :D Jan 26 07:00:49 we had the largest number of new users, active users and sessions this month than we've had in the last year Jan 26 07:01:07 also changed around the UI a bit to fit more guidelines -- using ABS now Jan 26 07:01:22 QubeZ: check this out http://www.fiercedeveloper.com/story/apsalar-apps-pile-developers-should-focus-app-engagement-metrics/2013-01-25 Jan 26 07:01:44 how do you measure your active users and seesions ? Jan 26 07:02:22 g00s: Flurry Jan 26 07:02:27 ok, cool Jan 26 07:02:38 ugh, Flurry Jan 26 07:02:53 JakeWharton: I'm open to recommendations Jan 26 07:03:06 Flurry isn't bad, they just never come out with useful features Jan 26 07:03:09 very stagnant Jan 26 07:03:31 JakeWharton: word to that... its been like 10 months I've been using it and I rarely see anything on their site about enhancements Jan 26 07:03:38 but it works fine for me (for now) Jan 26 07:03:51 if it's working, then stick with it. transitioning sucks Jan 26 07:04:02 now I get to code for another 2 hrs before the Australian Open women's final Jan 26 07:04:09 JakeWharton: right, i hate losing all the history Jan 26 07:04:40 moved from Google Analytics to Flurry then just stuck with it Jan 26 07:04:54 I'm actually surprised where our most active sessions are in TDM Jan 26 07:05:00 Indian, Thailand etc.. Jan 26 07:05:02 India* Jan 26 07:10:39 QubeZ: somebody pointed this out to me the other day http://www.sessionm.com/ Jan 26 07:11:01 g00s: as long as I've known you... you're always posting interesting links Jan 26 07:11:04 just briefly read about it; its about understanding your power users Jan 26 07:11:08 :) Jan 26 07:14:34 i'm quite certain that g00s is a hired actor who is paid to paste links to boost SEO Jan 26 07:14:44 heh Jan 26 07:15:06 he suckers me into clicking them every damn time Jan 26 07:15:27 not me Jan 26 07:15:29 i read about sessionm from fiercedeveloper sometime Jan 26 07:15:36 those sites can stay at #3 in the google search results for all i care Jan 26 07:19:05 who said they used wunderlist; just tried it - seems like vim with wood background Jan 26 07:19:28 wunderlist crashes a lot Jan 26 07:19:31 on iOS and Android Jan 26 07:19:45 there is a digital streaming service called "The Vault" that I would like to write an app to connect to..."The Vault" uses a technology called "Rhymba" made by a company called VerveLife, and though VerveLife has its own Android app for connecting to The Vault, I am trying to figure out if it is possible to write my own app to do that Jan 26 07:19:53 Things was on sale; was trying to decide what to do there Jan 26 07:20:30 user_corrupt: is the protocol available to you ? or do you have to reverse it somehow Jan 26 07:22:24 QubeZ: i've been reading a lot about usability / ux and trying to figure out if there is some service i can create to help designers in that regards Jan 26 07:23:07 like, an add/in library to help mass usability-testing Jan 26 07:23:29 that'd be sweet because usability on Android generally sucks ass Jan 26 07:23:46 people don't design, they hammer out code thats just functional Jan 26 07:23:50 g00s: im about to write VerveLife an email, so I guess a good question would be to ask if an API is available for Android developers... as far as reversing it goes, do you know if it would be possible to use VerveLife's existing app as a sort of module and write my own app that uses it for input/output resources? Jan 26 07:23:55 look at Tasker, sure its useful... the UI is fugly Jan 26 07:24:03 <_deXter_> Well Jan 26 07:24:07 designed by a programmer! Jan 26 07:24:24 thats why I leave all my UI stuff to someone who knows Jan 26 07:24:28 <_deXter_> Tasker is working upon a new redesigned Holo themed UI. There's a beta available already. Jan 26 07:24:34 there was some post by some android website a few days back about their redesign Jan 26 07:24:40 it's still fucking ugly as all hell Jan 26 07:24:41 user_corrupt: i would ask them and - if its not available, going forward would be very risky of course. Jan 26 07:25:10 anyone know how to get a list item to drop down options. basically what happens in the Reddit Is Fun app when a title is selected. (list item example: http://i.imgur.com/71LZgXz.jpg) Jan 26 07:25:30 yeah, there was a Weather app that got some spread about new UI … and so funny, it made all the usability mistakes i read about in "Mobile Usability" Jan 26 07:25:37 g00s: would it be possible to do it that way? I just need to demo certain possibilities Jan 26 07:26:00 capabilities Jan 26 07:26:25 user_corrupt: sorry, i dont know Jan 26 07:26:45 g00s: no prob, thanks anyway Jan 26 07:32:41 Anybody using PhoneGap for giving ones mobile websites access to the user's camera? Like not redoing the whole website as a native app but just doing that tiny bit for the cam? Jan 26 07:35:16 maybe try the phonegap guys :) Jan 26 07:35:42 need advice, how would some1 approach a view item that acts like a listView without using a listView due to it being on a scroll and the fact there maybe a few or them Jan 26 07:36:41 using inflate resource and populating it is quite quick, but I'm testing it by adding 100's of items and although it populates quick, the draw update is very slow and causes frame loss Jan 26 07:36:50 anyone done anything like this ? Jan 26 07:37:19 define "on a scroll" Jan 26 07:37:35 i presume if I were to use a listView whereby it expanded to all items, the listView would be quite slow too Jan 26 07:38:10 on a scrollView Jan 26 07:38:22 that houses lots of ui elements/widgets Jan 26 07:38:37 StingRay_: hundreds of items --> ListView Jan 26 07:39:15 does a listView reclycle based of visability or inside bounds of itself ? Jan 26 07:39:28 cause a listView may be as bad in this circumstance Jan 26 07:39:35 yes, thats the point Jan 26 07:39:47 any AdapterView Jan 26 07:39:49 you need recycling Jan 26 07:39:55 and you need to minimize the number of children Jan 26 07:40:03 its good for the earth Jan 26 07:40:27 yeah, but does that recycle work of "visible" or "in listView bounds" Jan 26 07:40:47 visible give or take 1 or 2 Jan 26 07:41:21 so if portions of the listView boundaries are off-screen they are ignored ? Jan 26 07:41:25 interesting Jan 26 07:41:40 wait, wut Jan 26 07:41:47 lol Jan 26 07:41:53 ok this scrollView Jan 26 07:41:57 when you add items Jan 26 07:42:08 and item to a field (100's for the sake of it) Jan 26 07:42:19 item = inflated view with text and images Jan 26 07:42:34 it expands the container to fit all the rows Jan 26 07:42:41 obviously Jan 26 07:42:53 oh, you dont want ListView to be wrap_content Jan 26 07:43:09 yeah it would calculate every resize Jan 26 07:43:12 I get that Jan 26 07:43:37 but I have a fixed row height Jan 26 07:43:52 so that would not be a problem to size the listView Jan 26 07:44:10 but I always thought that if I expanded the listView to a size that could fit all the rows Jan 26 07:44:23 then reclycling of those views is redundant Jan 26 07:44:39 but, you said you had hundreds of things Jan 26 07:44:44 yes Jan 26 07:45:00 yes, use LV. next :D Jan 26 07:45:37 doubt a listView will work as expect when expanded to show all Jan 26 07:46:03 but I will have a try Jan 26 07:48:06 ahaaa Jan 26 07:48:10 some1 already done it Jan 26 07:48:10 http://stackoverflow.com/questions/2312683/calculate-the-size-of-a-list-view-or-how-to-tell-it-to-fully-expand Jan 26 07:48:20 thats what I was failing to explain properly Jan 26 07:48:51 * g00s head explodes, feathers everywhere Jan 26 07:51:32 CRLF != punctuation Jan 26 07:52:18 im surprised when people type "some1" instead of "someone" because it takes more effort to reach over and type the 1 rather than flow through the 'one' Jan 26 07:53:21 StingRay_: *bookmarks* Jan 26 07:59:15 QubeZ that really depends on how you type :) Jan 26 07:59:28 with 1 finder it makes little difference Jan 26 07:59:30 :) Jan 26 08:01:22 <[AEG1S]> brb Jan 26 08:09:05 hi is there a way to change orientation of an avd? Jan 26 08:09:22 yeah, the keyboard shortcuts Jan 26 08:09:28 I forget what key it is now Jan 26 08:09:49 depends on the OS, which OS you on? Jan 26 08:09:51 left cntrl + f12 Jan 26 08:09:54 btw this would be a simple google search Jan 26 08:10:09 http://developer.android.com/tools/help/emulator.html#KeyMapping Jan 26 09:36:13 hello, can anyone help me on this exception/ Jan 26 09:36:15 hello, can anyone help me on this exception? Jan 26 09:36:27 No implementation found for native Landroid/animation/PropertyValuesHolder;.nGetFloatMethod (Ljava/lang/Class;Ljava/lang/String;)I Jan 26 10:29:15 Are the Android.mk and Application.mk makefiles filesystem independent? i.e. Using slashes is going to work regardless of operating system? Jan 26 10:31:45 http://pastebin.com/aTNiSeff any idea why my surfaceCreated is executed a while _AFTER_ i shot the picture? I get a nullpointer exception and then a SurfaceCreated message Jan 26 10:42:20 misterli: I think (but not 100% sure), because UI is updated AFTER your method finished Jan 26 10:43:13 so since you wait inside the message for the picture, you also pause the method, and as such the UI update Jan 26 10:43:36 you could try move the takepicture function to the surfacecreated method Jan 26 10:43:40 and see if it works then Jan 26 10:50:19 okay Jan 26 11:02:55 if i use a Cursor from sqlite and a CursorAdapter to generate a listview, then i begin inserting rows into the table, can the list dynamicaly update, with minimal cpu needed? Jan 26 11:03:15 or would that require getting a new Cursor and reloading the entire listview? Jan 26 11:03:27 yep Jan 26 11:03:44 g00s: second one? Jan 26 11:03:54 yep - use a Loader if you can Jan 26 11:04:03 *looks* Jan 26 11:04:13 hello SimonVT, on menudrawer there is still overdraw, when menu is close, when don't you set visibility to GONE ? Jan 26 11:04:22 g00s: i'm basicaly trying to implement a chat list, saving history to sqlite Jan 26 11:04:48 g00s: much like irc, but custom protocol Jan 26 11:05:31 hmm Jan 26 11:06:00 hmmm, and it doesnt have to be listview, anything that scrolls would work Jan 26 11:06:19 i'm mainly trying to avoid inserting 1000's of views (all history) into the ui at startup Jan 26 11:06:28 simius: nevermind Jan 26 11:06:38 SimonVT: nevermind Jan 26 11:07:25 hm maybe my question is more suited here, how can i find out which version of android i have, in a source tree ? Jan 26 11:07:33 clever: i think i would use some intermediate data structure, like a ring buffer or something, to store texts - and then persist those off somehow Jan 26 11:07:43 g00s: loaders look nice, but my min sdk is 2.3 Jan 26 11:07:52 they are in the compat lib Jan 26 11:08:06 g00s: yeah, that could work, an array of 50 TextView's, so the only issue would be scroll Jan 26 11:08:16 no, use a LV Jan 26 11:08:33 or a TextView - i think it has some weird mode Jan 26 11:08:43 can a ListView be used without making the rows selectable? Jan 26 11:08:52 yeah Jan 26 11:09:12 g00s: and what about keeping it scrolled to the bottom automaticaly? Jan 26 11:09:24 Colloquy uses a webkit view, thats another way - a webview - but those really suck Jan 26 11:12:07 clever you can have a listView scroll to bottom auto Jan 26 11:12:17 listView is a scrollView Jan 26 11:12:21 StingRay_: how? Jan 26 11:12:56 get count and scroll to it Jan 26 11:13:25 however Jan 26 11:13:29 *looks* Jan 26 11:13:32 I just realised something Jan 26 11:13:45 track a bug in a listView withing a scrollView Jan 26 11:13:51 well nested in it Jan 26 11:14:10 smoothScrollToPosition takes a rowid i'm guessing?, looks like a decent fit Jan 26 11:14:16 if a listView is wrap_content and your doing the draw statically and setting the height Jan 26 11:14:23 never set it to 0 height Jan 26 11:14:34 cause for some reason onDraw will never be called again Jan 26 11:14:47 even if you set new height params Jan 26 11:15:09 its always set to fill parent Jan 26 11:15:36 no not on about your listView on about mine Jan 26 11:15:41 just mental not to self Jan 26 11:15:53 by spamming the channel :) Jan 26 11:16:00 i'll keep it in mine also, mine is 0 pixels too, because it has no content currently Jan 26 11:16:42 shouldnt be set to fill parent neways, should be match parent no ? Jan 26 11:16:53 fill parent is depreciated Jan 26 11:17:09 for testing, i have the old method (a linearlayout) on the screen at the same time as the listview Jan 26 11:17:14 to verify things are working Jan 26 11:17:22 so they need to fit 50/50 Jan 26 11:17:37 match_parent does same thing Jan 26 11:17:53 oh, and i ran into painfull problems with match_parent ~4 days ago Jan 26 11:18:10 i was inflating 3 views (all match_parent) and inserting them into a single container (linearlayout) Jan 26 11:18:28 due to match parent, the 1st ate up all the space, and the other 2 never fit on-screen Jan 26 11:19:03 clever well the same would be true of fill parent in that case Jan 26 11:19:43 hmmm, i think its using wrap_content, i forget how i fixed it Jan 26 11:20:04 you probably did neither and set weight values Jan 26 11:20:07 :) Jan 26 11:20:26 *looks* Jan 26 11:20:48 wrap_content Jan 26 11:21:09 its the root node in a layout file, i'm inflating it (several times) at run-time, and inserting all the instances side-by-side Jan 26 11:21:35 similar to fragments, but much simpler to control Jan 26 11:22:03 well not similar to fragments at all really Jan 26 11:22:19 without all the fancy features i dont need Jan 26 11:22:29 clever: i also never used fragments Jan 26 11:22:44 and I love fragments Jan 26 11:22:52 :) Jan 26 11:22:57 i use it in some places, but they are overkill for this Jan 26 11:23:06 you wouldnt use a fragment for every message in irc Jan 26 11:23:11 clever: a fragment is a framelayout Jan 26 11:23:17 no more - no less Jan 26 11:23:27 I think your missing the point of a fragment Jan 26 11:23:33 both of you really Jan 26 11:23:39 fragment != view of any kind Jan 26 11:23:48 and the whole livecycle stuff in fragments is sucking very hard Jan 26 11:24:06 fragment = app/activity segment Jan 26 11:24:22 yeah a java class is a java class Jan 26 11:24:36 and ho w and when i conect that to a view is my free will as coder Jan 26 11:24:46 yeah, but the class fragment has nothing to do with the class view Jan 26 11:24:57 yes i deeply agree with you Jan 26 11:25:50 i'm just using the inflater to quickly make a complex part of the ui (thats repeated often), without having to mess with all the properties Jan 26 11:26:48 to me fragments makes handling state changes easier Jan 26 11:26:59 sooooo... much easier Jan 26 11:27:11 StingRay_: and ive found fragments cause me much trouble too Jan 26 11:27:25 when certain state is lost, i need to go back to a loading screen and re-generate it Jan 26 11:27:26 clever I dont understand how though Jan 26 11:27:36 but android tries to help, so it restores a fragment deep in the app Jan 26 11:27:43 which then throws null pointer exceptions Jan 26 11:27:49 clever: that's what didn't like at all Jan 26 11:28:07 clever: i as a coder want to decide at any time at any point when and how a view is created Jan 26 11:28:20 so do I thought Jan 26 11:28:22 though* Jan 26 11:28:28 a fragment doesnt Jan 26 11:28:43 in some of the places, i just detect the lack of state, and send the user back to the loading page Jan 26 11:28:59 clever : example ? Jan 26 11:29:07 what state would you loose ? Jan 26 11:29:15 network connections to the server Jan 26 11:29:24 clever: well that's ok Jan 26 11:29:28 ok and why send user back ? Jan 26 11:29:39 StingRay_: e.g. login session timeout Jan 26 11:29:43 irc for example, if your not connected to the server, the pm and chat windows are useless Jan 26 11:29:46 you must first re-connect Jan 26 11:30:18 clever ok and in that sense ...the service or indeed a headless fragment would re-connect Jan 26 11:30:35 and send info via an interface to show user in fragment views what is happening Jan 26 11:30:41 not send them back/restart Jan 26 11:30:43 its all handled by a service in the background Jan 26 11:30:50 also, there was problems with logout Jan 26 11:30:57 if i hit logout 5 activitys deep, it logs out Jan 26 11:31:02 then android resumes the last activity Jan 26 11:31:04 which logs back in! Jan 26 11:31:22 and how is that different when using fragmentActivity ? Jan 26 11:31:40 clever: well why don't you use a singleton? Jan 26 11:31:43 i modified it, so most activitys are unable to login (a boolean flag), and will simply fail out (Activity.finish()) (logout in process) Jan 26 11:31:49 clever: put the network stuff in one simple java instance Jan 26 11:31:54 clever: use the application context Jan 26 11:32:07 clever: and don't connect any network/bg code to any view/activity Jan 26 11:32:07 monsti: all the network stuff is in an android service, which is a singleton Jan 26 11:32:26 clever: yeah so you know at anytime anywhere what to do Jan 26 11:32:44 when logout happens, it just removes all references to the session Jan 26 11:32:58 and in the old code, trying to get a session that doesnt exist, re-creates it and logs in again Jan 26 11:33:16 so doing logout then Activity.finish(), would resume the last one, and just remake it all Jan 26 11:33:31 I still dont see the disadvantage of fragment use there at all, sorry, but I am new to coding Jan 26 11:34:23 the fragments are at another area of the app right now Jan 26 11:34:29 StingRay_: google in their wisdom decided how the livecycle for fragements should be Jan 26 11:34:40 StingRay_: i have my very very own idea on that Jan 26 11:34:43 moved away from using them for the bulk of the ui Jan 26 11:34:57 monsti and whats so different from activity ? Jan 26 11:35:04 that you dont like ? Jan 26 11:35:09 StingRay_: it's by choice and my intension Jan 26 11:35:35 monsti well no, it's an activity lifecycle Jan 26 11:35:40 StingRay_: i did a lot of wpf coding with user controls and dynamic UI components Jan 26 11:36:00 StingRay_: i like that idea a lot of more then the fragment approach Jan 26 11:38:34 still dont get it to work.. it keeps crashing on addView(...) http://pastebin.com/MMD5Xzzi Any idea? Jan 26 11:40:34 monsti: http://imgur.com/jacoj (its in the topic) Jan 26 12:19:14 Hi, i cant find my android properties anymore. And when trying to display xml data ____The project target is not set. Right click project, choose Properties | Android.------ comes. Can anyone help me? Jan 26 12:19:25 I also cant open androidManifest.xml-----No attributes to display, waiting for sdk to finish loading.... comes Jan 26 12:20:21 I think you should pick one thing, investigate and fix it Jan 26 12:20:27 then move to the next thing :) Jan 26 12:21:26 it all just appears after reloading Jan 26 12:38:00 Anyone familiar with QRCODE:s here? I have application in android that has a funtionality to take screenshots with QRCODE embedded to the bottom left corner of the screenshot and share them. Then if I open the screenshot in QR Droid, it starts to read it, but even in 10 minutes it is still loading. The QRCODE is reading fine, it I open the image in windows and then use the camera to capture it. Is there some tactic to make this wo Jan 26 12:44:50 I am having a problem in dismissing a progressdialog onPostExecute of an AsyncTask Jan 26 12:45:00 it stays around Jan 26 12:45:06 :-( Jan 26 12:45:21 why does it stay ? Jan 26 12:45:23 :) Jan 26 12:46:16 no idea Jan 26 12:46:26 you should probably look into that Jan 26 12:46:38 despite the fact I asked for a SYTLE_HORIZONTAL, I get the spinner Jan 26 12:46:49 where should I look Jan 26 12:47:06 seen most of the solution on StackOverflow Jan 26 12:47:23 they do what I have tried and they are happy Jan 26 12:47:52 still dont get it to work.. it keeps crashing on addView(...) http://pastebin.com/MMD5Xzzi Any idea? Jan 26 12:48:47 misterli did you miss what clever said ? Jan 26 12:49:09 probably :| Jan 26 12:49:32 clever: monsti: http://imgur.com/jacoj (its in the topic) Jan 26 12:49:36 Is there any way to enable Line-Coloring when the own name has been called in mIRC? Jan 26 12:49:44 Thanks Jan 26 12:49:54 haha ;) Jan 26 12:53:39 misterli so ? Jan 26 12:54:20 Activity has leaked Window -_- Jan 26 13:00:49 out of interest why are you setting a pixel format, and why unknown ? Jan 26 13:01:47 tried several formats Jan 26 13:02:01 just for testing purpose Jan 26 13:02:19 your attempting to set the windowManager pixel format though ? Jan 26 13:02:25 I mean what for ? Jan 26 13:04:41 Just seen it in a Tutorial to try this out. But i decided to use TRANSLUCENT Jan 26 13:24:34 Hello all Jan 26 13:28:07 Does anyone know how i might go about building seperate .apks for different in app billing services, where each billing service is its own library? I think I may have to use reflection or is there a safer way? Jan 26 13:44:19 Lemoncog: what do you want? i didn't get the question Jan 26 13:45:28 how would i extend the auto-completion on the keyboard, to include the default dictionary + an array of words of my choice? Jan 26 13:45:43 (which depend on context within the app) Jan 26 13:59:03 Could someone give me suggest me a tutorial for using github with libgdx? I want to do commits, but it seems a bit complex to me. Jan 26 14:01:15 basically I have my local files out of synch with the libgdx repository. I cannot do commit because of that. Jan 26 14:06:07 sorry wrong channel Jan 26 14:11:46 anyone has experience with debugging a prestigio tablet through usb? Jan 26 14:11:54 ive tried a lot of things already but it doesnt show up in eclipse Jan 26 14:11:56 monsti: still there? Jan 26 14:22:43 nvm Jan 26 14:28:05 monsti: I'm using Ant to build my project, I want to add Googles in app purchasing, but for the SlideMe market I might want to use another system. So I am trying to figure out how i can build 2 .apks that will use different in app purchasing libraries. Currently I'm trying reflection to achieve this, but it seems hacky. Jan 26 14:28:11 is there a better way? Jan 26 14:29:25 Lemoncog: i would write an interface that gives a common api, then add a class providing that to both libs Jan 26 14:29:54 Lemoncog: and if you put that providing class at the same path (package+name), it should find it either way, as long as you only link 1 Jan 26 14:31:04 yeah so still use reflection and have both the classes use an interface so then all I need to do is Class class = Class.forName("com.package.class"); ? Jan 26 14:37:03 Lemoncog: i dont think you need any reflection Jan 26 14:37:32 Lemoncog: if both libs provide the same class, called com.package.class, and atleast one is available at compile time, the compiler will accept it Jan 26 14:43:32 unable to dismiss a dialog progress from an asynctask Jan 26 14:43:33 http://pastie.org/5868554 Jan 26 14:43:39 the pastie Jan 26 14:45:42 tried most if not all solution on the StackOverflow for dismissal Jan 26 14:46:44 any pointer or help is appreciated :-) Jan 26 14:49:13 show is a static method Jan 26 14:49:20 You don't call it on an instance of ProgressDialog Jan 26 14:49:33 You just do ProgressDialog.show(...) Jan 26 14:49:40 it returns the instance, that's the one you dismiss Jan 26 14:49:57 Anyway, use DialogFragment Jan 26 14:50:02 You don't want to manually manage dialogs Jan 26 14:50:28 hmm, let me see the dialogfragment Jan 26 14:50:42 thanks for the pointer :-) Jan 26 14:57:34 fixed the static point Jan 26 14:57:44 now its being dismissed as desired Jan 26 14:58:14 perhaps, I am low on caffeine, thats why I missed the static part Jan 26 15:00:31 Now add a Thread.sleep somewhere in doInBackground, rotate the screen, and watch it burn Jan 26 15:00:48 Also, don't dismiss from doInBackground Jan 26 15:02:56 or just turn it while it's showing the dialog Jan 26 15:04:26 Hey Simon Jan 26 15:04:36 Using your new MenuDrawer 2.0 Jan 26 15:04:40 Works well :) Jan 26 15:04:43 clever: I've only been able to get it working with reflection, but thats acceptable. Jan 26 15:04:45 yay :) Jan 26 15:05:16 its commented there perhaps Jan 26 15:05:26 I was desperate to dismiss it somewhere Jan 26 15:05:32 rotation is not an issue for me Jan 26 15:06:37 its commented in my code Jan 26 15:06:59 Your users never rotate their screen? Jan 26 15:08:52 Hey SimonVT, will roboguice @InjectView annotations work even though menuDrawer.setContentView(my_layout.xml) is called instead of this.setContentView() being called? Jan 26 15:10:00 I have no idea :F Jan 26 15:10:06 yup, luck is with me SimonVT Jan 26 15:10:21 the app is for TV box :-D Jan 26 15:10:37 I rotate my TV all the time.... Jan 26 15:10:38 haha Jan 26 15:10:39 Fair enough Jan 26 15:10:44 jk jk Jan 26 15:11:12 you just gave a dude on low caffeine, a hear-attack achuinard Jan 26 15:20:43 furthermore, there is a spinner despite the STYLE_HORIZONTAL Jan 26 15:26:39 Hi, I have a relatively simple project, but layouts keep getting in the way Jan 26 15:26:45 I am trying to implement GCM in my app, problem I am having is when to check for registration id and store it in the server database. Should this be done together when user registers or should this be done in a later event? Jan 26 15:27:02 the feature seems to be broken, and it won't follow what I put in the properties Jan 26 15:27:27 then, do I have to check for the registration id everytime the user has logged in? Jan 26 15:32:04 hello Jan 26 15:32:21 which is the best way to start learning android? Jan 26 15:32:46 making sure you had ample sleep and that you are very happy when you start Jan 26 15:32:57 because layouts are going to make you pissed off when you start Jan 26 15:39:59 Cybersoft: do you actually want help? Jan 26 15:40:31 yes, how do I get rid of the layout so I can place components wherever I want? Jan 26 15:41:00 you don't. next? Jan 26 15:41:41 hum absolutelayout seems to do it Jan 26 15:41:50 the layout is the framework you place your components in Jan 26 15:42:15 you should not under any circumstances be using AbsoluteLayout Jan 26 15:42:32 "I don't understand it, I don't want to learn it, so I'll just do it the easy way and piss off all my users" Jan 26 15:43:33 "it doesn't works, eclipse sucks, I don't give a crap about anyone" Jan 26 15:44:33 maxik: https://developer.android.com/training/index.html Jan 26 15:45:22 Starts here https://developer.android.com/training/basics/firstapp/index.html Jan 26 15:46:00 Cybersoft: are you just wanting to moan, or would you like us to try to help you? Jan 26 15:46:07 (sincere question, really) Jan 26 15:46:19 atm I need to vent Jan 26 15:46:37 .. its working now (even camshot while secure keyguard) but i still get the error in printstacktrace from WindowManager that ModulCamera has leaked window SurfaceView.. But why? Cannot figure it out. Anyone knows that? http://pastebin.com/GPieDyJE Jan 26 15:46:41 I'll just use absolute, and when I'm less pissed off I will ask about relativelayout Jan 26 15:49:10 Hey, it's your time :) Jan 26 15:52:30 does anyone know ifI have to check for registration id everytime the app starts? or is this a one time key to use GCM? Jan 26 15:53:22 MelvinKelvin: its not exactly a one-time key Jan 26 15:53:43 MelvinKelvin: the key will change at somewhat regular intervals, the lib will run your callback when that happens Jan 26 15:54:31 so I need to check everytime and update e.g a remote database where the user credentials are stored to be able to send push? Jan 26 15:54:44 MelvinKelvin: yeah Jan 26 15:55:03 MelvinKelvin: myself, i'm storing my own unique userid in a SharedPreference, so the server knows who to pair the new id to Jan 26 15:55:45 clever: yes, I am also storing the userid in sharedpreference, so when registration id changes I just pass this together with userid to the server right? Jan 26 15:55:53 MelvinKelvin: yep Jan 26 15:56:12 but what is confusing is, I don't know and can't figure out where to do the check and pass it to server Jan 26 15:56:43 MelvinKelvin: if the id does change, the gcm lib will run a callback on your code Jan 26 15:56:55 are you encoding the registration id before sending it back to server? Jan 26 15:57:13 nope, just sending it over a normal http post Jan 26 15:57:35 I tried that, it won't get through Jan 26 15:58:00 whats your code? Jan 26 16:00:14 clever: http://pastebin.com/Qjawg9XB Jan 26 16:00:45 I see that the registration id is there in the UrlMethod Jan 26 16:01:04 but it never reaches the server Jan 26 16:01:10 MelvinKelvin: setting the content type (line 11) is only needed for post's Jan 26 16:01:19 it wont do anything usefull for a get query Jan 26 16:01:43 you also need to follow the normal url encoding that get style parameters always need Jan 26 16:02:34 hmm Jan 26 16:02:43 String data = "gcmid="+URLEncoder.encode(regId,"UTF-8"); Jan 26 16:02:46 this is what i was using Jan 26 16:03:34 MelvinKelvin: http://pastebin.com/EjFb5MTH Jan 26 16:06:41 aah I see thanks Jan 26 16:06:49 I will def. try it out now. Jan 26 16:07:31 You mentioned the callback if the registration id changes, I haven't seen such implemented callback method, you know where I find documentaiton about it? Jan 26 16:08:00 MelvinKelvin: i believe its the onRegistered function Jan 26 16:08:14 it gets called again whenever the id changes Jan 26 16:08:31 what gets called? not sure I understand this part Jan 26 16:08:48 MelvinKelvin: are you recieving the broadcasts directly, or using the helper lib? Jan 26 16:08:48 aah, sorry, missed your first line Jan 26 16:09:32 BroadcastReceiver, so directly it is Jan 26 16:09:45 ah, ive been using the helper lib Jan 26 16:09:49 but I haven't got there yet since Im having problem with getting the registration id Jan 26 16:10:19 I get it every once and then, but then it dint get passed to server. Will try again now with what you have told me Jan 26 16:10:29 is it easier using the helper lib? Jan 26 16:10:32 much Jan 26 16:11:11 it proccesses the broadcasts for you, and simply calls onRegistered,onUnregistered,and onMessage on a service called GCMIntentService Jan 26 16:11:37 that sounds a lot better. Jan 26 16:12:43 http://developer.android.com/google/gcm/gs.html#libs Jan 26 16:15:04 I recognize that. Sorry for being ignorant, it's mostly due to my lack of knowledge. WHen notification message is sent from server to google, foofle sends this to the device no matter if the app is running or not? this message is automatically displayed as a push notification? or do I have to receive it in the app first and then "push" it? Jan 26 16:15:27 yeah, it works even if the app has been closed Jan 26 16:15:52 MelvinKelvin: i think there is a service within the google play package, that constantly checks for new messages Jan 26 16:16:01 and that will fire the broadcast event you have been using Jan 26 16:16:31 the helper lib then parses that broadcast, and calls the ~4 functions on your service Jan 26 16:17:08 the intent filter in Android.manifest tells the system that your app is interested, so you will get it even when the app is closed Jan 26 16:17:43 ah okay Jan 26 16:18:44 hello alle Jan 26 16:19:54 clever: so you are getting the registration id from the onRegistered(..) method in the helper lib? Jan 26 16:20:19 MelvinKelvin: yep Jan 26 16:20:49 I have a quite unusal question. I have an apk signed only with the debug certificate and I somehow need to change it's MD5 hash. Is there an easy possibility to do this (e.g. a file in the apk that I can alter easily). I even have the source of the file, but it is at home and I need to get this done until tomorrow. Jan 26 16:20:55 MelvinKelvin: public void onRegistered(Context context, String regId) { ... boolean reinstall = setupDeviceID(context,regId); ... } Jan 26 16:21:03 MelvinKelvin: this is how the code from the pastebin gets called Jan 26 16:21:44 and now that i think of it, i think i'm going network on the UI thread, oops Jan 26 16:21:58 you want to change the hash to a known hash? Jan 26 16:22:43 Pinas: why do you need the hash to match? Jan 26 16:22:55 that looks nice, I think I must do this check once the user logins or registers to tie it with userid. Jan 26 16:23:28 MelvinKelvin: myself, i'm getting the GCM id and registering the device on the server as the first step, then the app displays a unique code Jan 26 16:23:49 MelvinKelvin: once the user enters that on the website (after logging in), a GCM msg is sent to tell the device its done linking to the account Jan 26 16:24:19 clever: actually I need the hash to be different but functionality to stay the same. I submit the apk to an analysis service that checks if the apk was analysed before - and if it was I get the old analysis report. The problem is that I need information that is only contained in analysis reports generated since yesterday (newest update) Jan 26 16:24:50 Pinas: ah, dont know how to help then Jan 26 16:25:12 clever: is there a possibily to extract and repack an apk file ??? Jan 26 16:25:43 maybe I could put a completely useless textfile in the apk - the hash will be different Jan 26 16:25:46 Pinas: yeah, but i dont know the details of signing it properly Jan 26 16:26:01 and the true signing, isnt based on the hash of the apk itself Jan 26 16:26:12 that would make it imposible to store the signature inside the apk Jan 26 16:27:34 Pinas: an apk file is basicaly just a .zip, but its got special alignment on it, and i dont know how to properly do the signing outside of the build script Jan 26 16:28:27 would simply editing the hash work? Jan 26 16:28:55 unless it terminates on a 'bad hash' error Jan 26 16:28:57 SpeedEvil - jea I only need to change the hash of the apk (1 different bit would be enough) Jan 26 16:28:59 what would be the best phone T-mobile has for testing app development? (I need a new phone and am considering switching from Sprint) Jan 26 16:29:13 Pinas: simply directly edit the hash Jan 26 16:29:40 well the hash is calculated by the analysis system - I can not alter the analysis systems result Jan 26 16:29:45 Hiraghm: wrong question Jan 26 16:30:07 okay, give me the right question? Jan 26 16:30:25 hi decide 2.x or 4.x Jan 26 16:30:53 Hiraghm: sry my tab key Jan 26 16:31:27 4.x Jan 26 16:31:43 right now I'm testing on a Nexus 7 and a Evo-3D (2.3.4) Jan 26 16:31:47 Hiraghm - I always try to get devices from google. For real serious development you, of course, have to test your apps on several (ideally on all) devices Jan 26 16:32:33 right. my evo is still functional (the nav buttons at the bottom no longer work) for testing, but I need a phone to use as a phone, also Jan 26 16:33:02 I was thinking a Nexus, Optimus G, or evo 4g-lte if I stay with sprint Jan 26 16:33:02 i don't do any development on my "phone" Jan 26 16:33:37 well I can't afford a variety of devices just for testing. this would let me kill two birds with one stone Jan 26 16:34:34 samsung offer free internet based device testing Jan 26 16:36:52 hi! Jan 26 16:36:59 Hello Jan 26 16:37:09 I have a problem, with the ImageView object Jan 26 16:37:32 szabolor just ask ur question :) Jan 26 16:37:44 I use setImageBitmap(bitmap) to set the picture to be shown Jan 26 16:38:00 and it works for the first time Jan 26 16:38:27 but at the second setImageBitmap the whole ImageView become nothing Jan 26 16:38:29 :( Jan 26 16:38:45 how can I refresh the content of an ImageView Jan 26 16:39:31 set the source via code Jan 26 16:41:23 Bitmap bmp_kep = BitmapFactory.decodeFile(Misc.utvonal+"/files/out.png"); Jan 26 16:41:23 iv.setImageBitmap(bmp_kep); Jan 26 16:41:28 I use this form Jan 26 16:42:08 szabolor: i bet bmp_kep is a null pointer Jan 26 16:42:46 not, it isn't Jan 26 16:42:46 It even has a height and width data Jan 26 16:43:22 but it isn't shown in the imageview Jan 26 16:46:31 Hey, is there any way to fetch preview data from the camera without displaying it? It won't call onPreviewFrame unless it's linked to a SurfaceView. I tried a dummy SurfaceView, but it still only works if it's actually on the UI itself. Jan 26 16:47:20 According to Google, the dummy SurfaceView solution does work, but only on some android devices, not all. Jan 26 16:48:00 by which I mean some google searches, not google themselves (just realised that could be confusing here =P) Jan 26 16:50:31 any idea for my problem? Jan 26 16:51:44 szabolor: just for testing - give your imageview a staic width/height - e.g. 50dp Jan 26 16:57:37 it is contant: it fills out the screen Jan 26 16:58:26 Hi Jan 26 17:00:30 I have a nativeActivity and a Java Activity and i want to start the NativeActivity from the java activity, have you an example how to do this? Have i to do it with JNI? Jan 26 17:02:02 Schoumi: i'm guessing you just use startActivity with an Intent like always, but not sure how you get the .class for the NativeActivity Jan 26 17:02:32 what is usually used to build android projects (with intellij idea) and multiple project contributers? maven? Jan 26 17:03:59 clever: yep, it's my problem .class is for java class Jan 26 17:04:15 Schoumi: you can either make a stub java class deriving from NativeActivity, specify that in your manifest Jan 26 17:04:18 you can start an activity with a string of the class name (full quaified) Jan 26 17:04:36 Schoumi: and then use that stub class to start your nativeactivity Jan 26 17:04:47 ie, StubNativeActivity.class Jan 26 17:07:14 hey anyone with streaming play experience? i cant make my mediaplayer play a stream i got this 2 args in the onplayerror 1 and -2147483648 Jan 26 17:11:46 ok i try to do this, thx Jan 26 17:15:25 the DragShadowBuilder object makes the ghostly image during drag´n drop operations... how is the layout ignored for the image? Jan 26 17:16:39 I want to create an infodialog over my current userinterface screen, and want to place it wherever I want on the screen without making it part of any current layout, I thought I could use the same approach Jan 26 17:16:52 hello guys. Jan 26 17:17:15 Is there a way to uniquely identify a nfc tag? Jan 26 17:17:31 i am getting random ids at each scan. Jan 26 17:29:45 I have an alertDialog with MultichoiceItems inside of it. I can use onClick on that, but is there a way to also define onLongClick, for another action? Jan 26 17:42:07 any way to open/activate the camera in my activity, before i need the actual pic preview ? Jan 26 17:42:20 like if I start my camera app, it will go faster as its already activated Jan 26 17:45:42 I recently started learning android development. What IDE is suggested? I use Eclipse for java but I heard intellij is pretty good as well Jan 26 17:48:05 * ron_frown puts on his wizard hat Jan 26 17:48:35 ADT Eclipse plugin I think works best, up to you though. Jan 26 17:49:04 eclipse is doo doo Jan 26 17:49:19 I used to think that but I actually like Juno. Jan 26 17:49:58 dont ever use intellij then Jan 26 17:54:32 Hmm... I do like the idea of a dark UI though. Jan 26 17:57:49 hahaha Jan 26 17:57:55 its a bit different to develop in Jan 26 17:58:00 but if you get used to it Jan 26 17:58:08 you'll never want to go back to eclipse Jan 26 17:58:12 I can assure that Jan 26 17:58:48 I'm new to Android development, my previous environment was C++ is Visual Studio 2012. Jan 26 17:58:58 yeah vs.net is pretty damn good Jan 26 18:00:43 is it possible for an app to control what words show up in a keyboard predictive typing? Jan 26 18:01:00 It is if you make your own keyboard display :D Jan 26 18:01:02 for example, to make the users in the irc channel valid 'words' Jan 26 18:01:07 i think the keyboard app controls that Jan 26 18:01:25 no api to give it a list of extra valid words? Jan 26 18:01:36 nope Jan 26 18:01:51 not even a guarantee that the keyboard even has a 'suggested words' box Jan 26 18:02:10 clever: isn't the wordlist part of the keyboard widget? Jan 26 18:02:16 monsti: yeah Jan 26 18:03:29 i have no idea if there is an api for tht Jan 26 18:04:00 the keyboard in android can be replaced, every keyboard implements suggestions differently Jan 26 18:04:19 thus there is no way to have 'standard' suggestions based on an API Jan 26 18:04:22 you can have some custom autocomplete textedit control Jan 26 18:04:36 unless of course you want tab completion to break once the user uses, say, voice input Jan 26 18:05:08 you can provide a spellchecker service Jan 26 18:05:21 the bubble popups Jan 26 18:05:28 MDijkstra: idealy, it would simply be a list of valid words, ive used voice input before on desktop stuff, and it greatly improved detection if i gave it a limited set of words Jan 26 18:05:58 MDijkstra: hmmm, can i programaticaly override the current spellchecker service, and still call the old one from within mine? Jan 26 18:06:02 to wrap it Jan 26 18:06:31 no, and that wouldn't provide you with an api that'd make a lot of sense Jan 26 18:06:37 err Jan 26 18:06:46 wouldn't provide the user with an interface that'd make a lot of sense Jan 26 18:06:57 sounds like it would be more trouble then its worth Jan 26 18:06:58 for what you're trying to achieve Jan 26 18:07:17 the 'best' way to do this is to simply draw the suggestion popup yourself Jan 26 18:40:27 hello, can i get some help? Jan 26 18:40:35 i get the following error while compiling full-eng Jan 26 18:40:56 Note: the configuration refers to the unknown class 'com.android.email.mail.MessageRetrievalListener' Jan 26 18:40:56 Note: there were 1 references to unknown classes. Jan 26 18:41:21 Does the class exist physically? Jan 26 18:41:46 of course, it's even in the proguard.flags -keep class com.android.email.mail.MessageRetrievalListener Jan 26 19:05:47 hi Jan 26 19:06:20 I'm working on a 4.2 ROM for my device but I have a small problem: ""W/AudioHardwareALSA( 1188): Unable to attach mixer to device AndroidOut: No such file or directory"" Jan 26 19:07:02 where do the mixers AndroidOut and AndroidIn come from (afaik asound.conf is not required from 3.0 on and the kernel drivers are also not responsible for creating a mixer with those names)... I guess it's a lib, but I don't know which one Jan 26 19:14:58 Hi - I have class A which extends class B which extends DialogFragment, but if my Activity class implements class A instead of B, I get an exception saying that my Activity class must implement NoticeDialogListener, even though I put in my Activity class that I implement class A =/ Jan 26 19:15:11 its as if class A isnt inheriting properly Jan 26 19:15:46 hello Jan 26 19:16:37 I have a simple question: Can a FRAGMENT contain tabs? Jan 26 19:16:49 WhereIsMySpoon, you need to learn the difference between classes and interfaces Jan 26 19:16:56 and "extends" and "implements" Jan 26 19:17:16 but im going to guess that A is abstract, and implements NoticeDialogListener, but does not provide an implementation for those interface methods Jan 26 19:17:21 whereas class B does provide that implementation Jan 26 19:17:52 A is not abstract Jan 26 19:18:24 canadiancow please help I can't find this answer anywhere... I'm developing in android 4 so fragments within fragments are possible but that is beside the point...Can a Fragment contain tabs Jan 26 19:18:26 ? Jan 26 19:19:21 why are you singling me out Jan 26 19:19:35 haha sorry, you're the only one i see talking right now. Jan 26 19:21:08 canadiancow: http://pastie.org/5870455 ; http://pastie.org/5870457 Jan 26 19:21:17 i do implement NoticeDialogListener and its methods Jan 26 19:21:20 sooo Jan 26 19:21:26 what gives :| Jan 26 19:21:27 i've add a project as a library to another project, and im trying to create a fragment using one of the projects view classes, the fragment is just " hmm, deleting the attributes, saving the xml file, adding them back solved it... Jan 26 19:54:48 have anyone created app using bluetooth connection to polar wearlink? Jan 26 19:59:58 hello all- just getting set up in adt/eclipse. Very simple question, but how do I actually get the Hello World to build and run on my adb-attached gnex? Run->Run yields and "Unable to Launch" error, "as there are no recent launches". What am I missing? Jan 26 20:10:59 sorry for the blip-- any ideas on how to get eclipse to run code on device? Jan 26 20:12:09 eclipse even sees the device via ddms Jan 26 20:16:47 How do you run your project? Jan 26 20:17:21 ah, someone is alive! Just from the Run->Run command (or ctrl+f11) Jan 26 20:17:25 Right click on the project in the Package Explorer, select "Run…" - "As Android Application" Jan 26 20:18:27 * wajeemba gives kakazza +50 points :D Jan 26 20:18:48 I knew it was something dumb like that to get it to go the first time.. Jan 26 20:19:22 Yeah, I think it's not exactly covered like that in the docs. Jan 26 20:19:45 and googling to the best of my ability gave no results either.. Jan 26 20:20:03 https://developer.android.com/tools/building/building-eclipse.html#RunConfig Jan 26 20:20:12 This only implicitly covers it Jan 26 20:20:17 "When you first run a project as an Android Application" Jan 26 20:20:25 Guess a screenshot would help there. Jan 26 20:20:47 You're welcome. Now go and build something awesome! Jan 26 20:24:36 yeah, it basically already assumes that you know what to do.. Jan 26 20:35:31 whats the most common way to speed up the emulator? Jan 26 20:36:16 run the x86 image instead? Jan 26 20:36:38 how do you do that? Jan 26 20:37:13 create a new AVD with the Intel image Jan 26 20:37:26 thanks Jan 26 20:37:27 Ill try that Jan 26 20:54:00 For me GPU Acceleration does more than using x86 somehow. Jan 26 20:54:17 I also tried GPU + x86 once, but I forgot if that was faster. Jan 26 20:54:38 Quacked: Be sure to read the docs on how to enable hardware acceleration Jan 26 20:57:40 hello Jan 26 21:08:43 Hey Jan 26 21:10:07 yo Jan 26 21:10:12 who's active? Jan 26 21:10:24 i have an idea for someone if u wanna do it. Jan 26 21:12:06 bwahaha Jan 26 21:12:16 shoot, if it's good someone will do it and not credit you for it Jan 26 21:12:29 you an't got no legs Lieutenant Dan Jan 26 21:13:18 i don't care about credit. just wanna use it Jan 26 21:13:36 and i'm sure millions of other people would wanna use it as wel Jan 26 21:13:38 well* Jan 26 21:29:00 We all have ideas which will be received in serene silence and ungrasping awe by millions once they have been realised. Jan 26 21:29:38 idea or gtfo ;p Jan 26 21:31:28 lol ^ Jan 26 21:41:33 hello ands Jan 26 22:17:51 hey guys, does anyone have any information on the interaction between the ion and PVR drivers? Jan 26 22:18:36 the function PVRSRVExportFDToIONHandle seems to show that you can encapsulate an ion handle in a PVR fd, but how does one create that fd in the first place? Jan 26 22:20:02 I'm trying to build my project with ant and use the scala compiler. How do I get a classpath with the android libs to give to scalac? Jan 26 22:26:40 anyone know what jar org.json is in? Jan 26 22:27:25 I guess it is computed from the sdk.dir and target properties. Anyone know how? Jan 26 23:05:23 Hi, a quick and perhaps stupid question about Android lifecycles... I've an app that has two activities, A and B. Activity A starts Activity B, but when I hit the home button, A calls onSaveInstanceState(), not B, and when I try and restore the program A is created, not B. is there a simple way to change that? Jan 26 23:06:28 I would have assumed that Activity (or Intent) B would be the one restarted Jan 26 23:06:58 Well Jan 26 23:07:04 I'm thinking you could use a static boolean Jan 26 23:07:14 to check if it was previously running Jan 26 23:07:25 and if it was, then automatically skip to running that second activity. Jan 26 23:07:51 Oh, I can check to see if the Activity is being restarted vs. started... Jan 26 23:08:17 But it doesn't help me much, since I can't recreate what's going on in Activity B from Activity A Jan 26 23:08:36 Basically, A is just a login screen and B is a game Jan 26 23:08:46 A creates B when you click start Jan 26 23:09:09 But if onSaveInstanceState() is called from A I'm screwed, I can't save B from A Jan 26 23:09:16 is there a way to populate a radio button group using a string array or similar? Jan 26 23:09:52 I just don't understand why it's called from A instead of B, logically B would call onSaveInstanceState() first Jan 26 23:10:56 wajeemba, probably with some sort of Adapter Jan 26 23:10:57 Lutwidge - When the game is paused, store all the necessary info in a "savestate", probably to the external media if it's available. Jan 26 23:11:09 And set the static variable there. Jan 26 23:11:18 I do that... Jan 26 23:11:36 But what good is that? It will just call onCreate() for A, not B Jan 26 23:11:38 And then, when it's loaded back up into activity A, check the static variable Jan 26 23:11:47 OK, then what? Jan 26 23:11:56 If it's set to previously running, then copy all that data that you saved to the current game state. Jan 26 23:12:17 ie character position, enemy states, etc. Jan 26 23:12:22 Right, but... Jan 26 23:13:04 Oh, wait Jan 26 23:13:09 I can't remember why I can't do that. Jan 26 23:13:42 Hmm. Jan 26 23:13:48 I'm going to try that again Jan 26 23:13:55 I don't know what went wrong the first time Jan 26 23:13:59 possibly something stupid Jan 26 23:14:19 I guess I feel like it's weird that A is started up instead of B Jan 26 23:14:31 And that it really should be B and there should be a simpler workaround Jan 26 23:18:41 need some help understanding this piece of example code: There are two snippets, I'm interested in the second (xml) one. http://stackoverflow.com/questions/6646442/set-radiobutton-programmatically-android Jan 26 23:20:58 I get the idea that he's creating the radiogroup in his xml layout, but the syntax to define the inflator is what's escaping me.. Jan 26 23:39:15 Lutwidge - make sure the variable is static. Jan 26 23:39:31 And not inside any method Jan 26 23:41:41 wajeemba- what do you mean inflator? Jan 26 23:43:24 In makeRadioButtons, it creates a new radio button in the first line Jan 26 23:43:41 then sets the text of a variable array of strings to the class name Jan 26 23:43:52 at index i Jan 26 23:44:16 then creates a new view for the radio button in the radio group. Jan 26 23:44:27 That's how it inflates it. Jan 26 23:56:38 there doesn't exist a field here that refers to "To" (meaning, who this SMS was addressed to)? http://mobdev.olin.edu/mobdevwiki/FrontPage/Tutorials/SMS%20Messaging Jan 26 23:57:17 I am trying to figure out a workaround for getting the user's phone number (getLine1Number()) fails because of Samsung device (spoke about this before) Jan 27 00:01:53 does anyone know what the returning string from GCM is called in onMessage? String message = intent.getExtras().getString("data"); Jan 27 00:02:19 i have tried "data" "message" whatever I can find and see in tutorials but it is always empty Jan 27 00:27:13 Why the hell does Android still use JUnit 3? :/ Jan 27 00:30:27 sonOfRa: I wish I knew. Jan 27 00:30:39 God, tis is awful Jan 27 00:31:03 I wonder if there's a (good) technical reason. Jan 27 00:44:27 does junit3 have any kind of BeforeClass? Jan 27 00:44:37 or do i have to do it all over and over again in my setUp and tearDown? Jan 27 00:45:11 Workaround I'm thinking of is setting a class variable bool to true and checking for that Jan 27 00:45:14 but that just seems stupid Jan 27 01:02:07 Hey guys if I want to stream a file over http, what is the best library for that ? I've been looking at org.apache.http but it seems for http://developer.android.com/reference/org/apache/http/entity/InputStreamEntity.html I need the length but I have to read the entire InputStream to get the length. Jan 27 01:09:04 God this is an awful workaround. To achieve beforeClass and afterClass in JUnit 3 i'm reflecting the method count, subtracting methods that don't begin with "test", and asking for the current executed value in an if statement-.- Jan 27 01:22:34 I inflate an xml into a relativelayout (from another xml), supplying the relativelayout as the ViewGroup root. How can I detach it from the relativelayout again? Jan 27 01:29:42 Is there any official list or way to view the android.jar packaged drawables, such as the icon for Power Off that comes up after long pressing the power button? @android:drawable/ic_lock_power_off Jan 27 01:29:54 I guess I can only remove views from certain layout Jan 27 01:32:03 why is there no preview on https://developer.android.com/reference/android/R.drawable.html???? Jan 27 01:41:11 If I have a final boolean LOG_CLASS = FALSE and then an if (LOG_CLASS) { Log.d("TAG","Logged") } would compiler compile an apk that would include the if statement? Jan 27 01:47:54 I am initializing an EditText inside an onCreateDialog() method and I want to the positive button to grab whatever was entered in that EditText and use it somewhere. I grab that by doing myEditText.getText().toString() but it always returns null Jan 27 01:48:38 the dialog is not implemented as an activity of its own, it's just a protected Dialog onCreateDialog(int id) method that gets called with showDialog(id) later on Jan 27 01:58:15 http://pastie.org/5873007 Jan 27 01:58:53 the EditText is initialized in onCreate() as = (EditText) findViewById(R.id.itsid) Jan 27 02:00:16 Sicp where do you instance phoneNumberField ? Jan 27 02:00:43 main activity ? Jan 27 02:00:44 private EditText phoneNumberField = null; when the class first starts, then initialize as above in onCreate() Jan 27 02:01:10 yes in my main activity Jan 27 02:02:11 but if your in your dialog, you do it onCreate() ? Jan 27 02:02:20 has the view inflated by then ? Jan 27 02:03:02 this is what I don't get; I call the inflater for the dialog view (which I have as XML and it has the EditText inside it) and the thing shows up Jan 27 02:03:15 and not sure findViewById from your activity is gonna find a throw away dialog window Jan 27 02:03:25 but I want a reference the EditText to that thing that the edittext inside it Jan 27 02:03:36 that's what I was thinking, that it's impossible Jan 27 02:03:49 well init it in the dialog Jan 27 02:04:12 I have tried that, by means of findViewById() also, and null Jan 27 02:04:13 after it can find it with findViewById Jan 27 02:04:34 you mean create it in the dialgo Jan 27 02:04:37 dialog* Jan 27 02:04:40 have you done textEntryView.findViewById() Jan 27 02:04:48 inside the dialog Jan 27 02:04:58 cause thats where it's inflated to and the root reference Jan 27 02:05:00 so THAT's where my view is Jan 27 02:05:05 :\ sorry Jan 27 02:05:15 no need to say sorry Jan 27 02:05:18 :) Jan 27 02:05:24 he's sorry sorry Jan 27 02:05:43 I need more coffee, not awake yet Jan 27 02:05:49 I am sorry sorry Jan 27 02:05:56 not the other kind of sorry Jan 27 02:06:03 * jug6ernaut is cloning a repo…at 12KiB/s Jan 27 02:06:05 WTF Jan 27 02:06:23 stop using a 10 year ld modem Jan 27 02:06:29 old* Jan 27 02:06:30 :) Jan 27 02:06:32 every internet has its bad days Jan 27 02:06:34 lol Jan 27 02:06:47 StingRay_ my connection is horrible, but its not THAT bad :P Jan 27 02:07:00 i'm on FTC Jan 27 02:07:07 30mb-60mb Jan 27 02:07:13 well Jan 27 02:07:14 mbit!!! Jan 27 02:07:16 i kinda hate u Jan 27 02:07:18 not mb Jan 27 02:07:20 :) Jan 27 02:07:23 screw mbits Jan 27 02:07:26 i hate them Jan 27 02:08:49 well I just woke up 40 min ago and it's 2:08am here Jan 27 02:08:59 what a stupid sleep pattern i have atm Jan 27 02:09:35 lol Jan 27 02:09:37 yeaaaa Jan 27 02:09:40 that makes no sense lol Jan 27 02:09:57 it makes perfect sense actually Jan 27 02:10:02 my day is 26 hours Jan 27 02:10:06 Hello. If a Service runs in the same process of an WidgetProvider, a Service that is in some sort of loop or blocking call would block the whole home screen/UI? If is that so, it is best to go to start a thread in the service? Jan 27 02:10:12 so I advance 2 hours every day Jan 27 02:10:13 : Jan 27 02:10:36 lgfreitas yes Jan 27 02:12:01 Right, thanks StingRay_. Jan 27 02:13:03 cant get my tablet to work with adb ;/ Jan 27 02:13:26 anyone know of a good open source ams app? Jan 27 02:13:39 that is not TextSecure Jan 27 02:14:22 StingRay_: which is the bast way for the service and the widget to communicate, given that the information I want to show is updated by another thread? Jan 27 02:14:33 *best Jan 27 02:14:48 intents? handlers? Jan 27 02:21:26 well you have loads of options really Jan 27 02:21:42 AIDL, Messenger, Intent...etc Jan 27 02:22:04 for me and my data I normally use a Bind/Messenger way Jan 27 02:22:15 but hey, word of warning, I'm not a coder Jan 27 02:22:17 :) Jan 27 02:22:21 :D Jan 27 02:22:22 I'm a 3D artist Jan 27 02:22:24 :) Jan 27 02:22:33 nice Jan 27 02:23:14 I think I'll go through the messenger way. Like this: http://androidcookbook.com/Recipe.seam;jsessionid=5424397F3130CE7769FF47DD67742911?recipeId=921&recipeFrom=ViewTOC Jan 27 02:24:35 lgfreitas cept that not an example of a service 2 way comms Jan 27 02:25:00 2 way comms = Messenger/Bind or AIDL Jan 27 02:25:20 well only the service needs to update the widget Jan 27 02:26:18 well unless u do it with intents, you still need a binder way I think Jan 27 02:26:19 some worker thread will inform the main thread. handler is in the service. service holds new data, widget grabs new data and displays it. Jan 27 02:26:30 Binder? Jan 27 02:26:57 well how does your widget get the data ? Jan 27 02:27:12 service > widget ? Jan 27 02:27:27 Well, it might check if the service is running, if it is, it might have a reference to the service instance Jan 27 02:27:32 or something... Jan 27 02:27:46 ok so it would need to be bound to it then Jan 27 02:27:54 and get a serviceConncetion Jan 27 02:28:01 :O really? Jan 27 02:28:08 good read on google Jan 27 02:28:13 lol Jan 27 02:28:25 http://developer.android.com/guide/components/services.html Jan 27 02:28:58 i'm not a coder so didn't quite grasp it at 1st Jan 27 02:29:17 but it lays out the kinds of service and whats needed Jan 27 02:29:25 hm Jan 27 02:30:46 been there a couple of times already Jan 27 02:31:24 but this time I can understand it better. Had to try some things to understand what they really meant. Jan 27 02:32:43 hey guys. I'm porting a new kernel to my device, and something odd is happening. If I use the kernel for CWM, it's absolutely fine, everything works. But if I try to use it in a boot image, it doesn't work at all. ADB connects to the phone but gives an empty response Jan 27 02:33:03 any ideas? I disabled ALL services except console and ueventd of the boot image's init.rc, but I can't get a successful connection via adb Jan 27 02:34:05 do you guys have any suggestions for landing the Hardware Engineering internship spot for the summer? Jan 27 02:34:12 @ Google Jan 27 02:36:38 psyke83 i think your better off asking in android or cm channel tbh Jan 27 02:36:52 beastmanrage be really good ? Jan 27 02:36:54 :) Jan 27 02:37:52 #android Jan 27 02:37:53 sonOfRa: i guess we could file a feature request, but yes - there was a technical reason at one tie Jan 27 02:37:55 ? Jan 27 02:37:55 *time Jan 27 02:38:15 btw, the guy who wrote TestNG worked with the Android team ;) Jan 27 02:38:25 and they aren't using TestNG XD Jan 27 02:38:31 StingRay_: hmmm looks like IntentService might be a good option. It launches an worker thread :D Jan 27 02:39:41 given the lifeCycle I would have used Bind/Messenger way Jan 27 02:39:55 so serive is there for the extent of the widget life Jan 27 02:40:15 but I suppose it depends on the nature/amount of work/data Jan 27 02:40:30 yeah.... I know your way seems to be the right way... but Im lazy, trying to avoid working with threads and messages Jan 27 02:40:40 lol Jan 27 02:41:40 hello all Jan 27 02:43:24 lgfreitas well binder/messenger + service async = free que Jan 27 02:43:40 so dont mistake me!.... I'm just as lazy if not more so Jan 27 02:43:52 lol Jan 27 02:44:16 right. Looks like its indeed a good read, that page. Jan 27 02:44:34 Lemme see how hard is the binder way Jan 27 02:56:17 hey, anybody doing the hackercup challenge? **** ENDING LOGGING AT Sun Jan 27 02:59:59 2013