**** BEGIN LOGGING AT Tue May 26 02:59:57 2009 May 26 03:51:08 morning skyPhyr (I guess) May 26 03:51:19 morning sammyF - how's things? May 26 03:51:28 quite peachy atually May 26 03:51:35 yeah - just ghosted an old session from net dropping to reclaim nick :) May 26 03:51:50 good stuff :) May 26 03:51:54 except for people complaining about Freezes in pinit again .. in the very usefull "it sucks! gay! don't buy" comment way May 26 03:52:02 ;) May 26 03:52:09 Pinit? May 26 03:52:10 oh ... and new game nearly finished May 26 03:52:25 what's the new game? May 26 03:52:28 yeah. PinIt is the last game, with the balls May 26 03:52:33 called Circuits May 26 03:52:50 want a sneak peek? May 26 03:52:56 yeah :) May 26 03:53:30 skyPhyr: pm me your email address May 26 03:54:14 no sound, ugly "play" button (which doesn't even say PLAY at the moment, just to tell you:P, kind of underwhelming "drop back to main menu" non-effect when you lose ... May 26 03:54:26 but otherwise fully playable :) May 26 03:54:57 makes sense - just missing the polish you put on once things are working May 26 03:55:27 yep May 26 03:56:14 and at least this one is really small, KB wise May 26 03:56:52 so ... if you want to try it, just send me a pm :) May 26 03:57:01 will do :) May 26 04:08:15 jsharkey: you around? May 26 04:09:11 sup May 26 04:13:04 jsharkey: you'll be in SF tomorrow right? May 26 04:13:36 yah May 26 04:13:43 like 1030 May 26 04:13:45 are you dropping by the office first? May 26 04:13:53 im going back there tonight to grab a laptop May 26 04:14:16 doh May 26 04:14:33 caltrain leaves at like 9 which is early May 26 04:14:39 ah you caltrain May 26 04:14:42 ok forget it then :) May 26 04:14:59 I would like a backup device from bjones and I couldn't find him on Friday May 26 04:15:04 I'll do without :)) May 26 04:15:07 kk May 26 04:15:10 its just rehearsals May 26 04:15:21 yes but I'm not going back to MTV before Friday May 26 04:15:24 I live two blocks from the Moscone May 26 04:15:30 lucky :P May 26 04:15:36 once a year, yes ;) May 26 04:15:44 and there's JavaOne next week, at the Moscone too :) May 26 04:15:58 idk, is it worth caltrain'ing? May 26 04:16:05 i kinda have just always assumed May 26 04:16:14 it was best way into city May 26 04:16:16 Caltrain takes a lot longer May 26 04:16:24 but parking in the city can be annoying and/or expensive May 26 04:16:53 yea kinda figured May 26 04:17:00 its just for one day tho May 26 04:17:02 and Caltrain can be annoying if you plan on staying a bit late on wednesday/thursday to go for a meal/drink :) May 26 04:17:04 shuttles wed+thu May 26 04:17:11 ah yes shuttles May 26 04:17:26 wait they leave at like 8pm or something May 26 04:17:27 bah May 26 04:17:34 caltrain runs past midnight at least iirc May 26 04:17:42 oh cool May 26 04:17:56 I guess my experience was bad because I lived in Santa Clara May 26 04:17:58 i took a redeye outa SFO once that i ended up caltraining both ways May 26 04:18:06 the last VTA from the Caltrain station was at 10pm May 26 04:18:09 ugh vta May 26 04:18:16 which meant leaving SF at 9pm at the latest May 26 04:18:18 yeah VTA :( May 26 04:19:10 crap i keep forgetting this is a public channel May 26 04:19:21 ^^ May 26 04:19:29 as long as you don't press Enter... :)) May 26 04:19:32 LOL May 26 04:23:19 there any android dev events/meetups going on vaguely near Santa Maria CA in the next month or two? May 26 04:23:38 no idea May 26 04:24:05 me either Australia is a bit disconnected ;) May 26 04:29:54 half past 12 here. I'm off for the night ;) May 26 04:32:53 pfft May 26 04:32:57 Australia is not disconnected. May 26 04:34:44 you seen all the ocean around us? :) May 26 04:35:50 the internet access is a bit crap there, and it's too far away from everything May 26 04:36:44 internet access in Sydney has worked fine in my experience May 26 04:37:09 it works fine, but people have quotas May 26 04:37:31 true, true May 26 04:38:43 * mike_m tries to figure out how to make a Service May 26 04:41:31 skyPhyr, I'm an aussie expat in singapore. May 26 04:41:56 * wmealing even went through the "3G cap" from Telstra. May 26 04:43:10 I've noticed that almost all settings screens use what appears to be some kind of listview.. is there something that makes this for me, or is it really a listview? May 26 04:43:31 Yeah, I moved from Sydney to Singapore, StarHub can be annoying but at least no quotas :) May 26 04:47:40 wmealing: you don't feel that when you were in Australia you didn't keep as up to date with things going on overseas? May 26 04:48:00 Negative. May 26 04:48:10 Step 1), stop watching the damn news. May 26 04:48:24 i'm sure today tonight is very exciting. May 26 04:48:25 hehe I don't watch the news :) May 26 04:48:27 but its utter rubbish May 26 04:48:35 don't read papers either May 26 04:48:51 news.google.com May 26 04:48:56 ? May 26 04:49:09 every news site has a local bias. May 26 04:49:12 nah - most days go something like - akgreator with a bunch of android feeds May 26 04:49:19 maybe some slashdot May 26 04:49:29 I work in an international company , I hear a lot of noise about whats going on around the world May 26 04:49:34 linuxtoday.com, lxer.com and linuxlock.blogspot.com May 26 04:50:06 yeah - my point is more than while I'm hear much of it feels irrelevant. Like it's too far to go to get involved May 26 04:50:13 here not hear May 26 04:50:15 d'oh May 26 04:50:23 google i/o etc May 26 04:50:35 by far I don't mean distance so much as $ May 26 04:50:49 this country is overpriced, particularly in relation to wages May 26 04:53:06 Is there a way to program the android platform in another language than Java? May 26 04:53:55 manus_eiffel: not if you want to get on the app store May 26 04:55:01 skyPhyr: Australia? It's doing okay :) May 26 04:55:54 skyPhyr: wages overprices in Oz? i wish ;) May 26 04:56:35 Australians enjoy a fairly good standard of living on average. May 26 04:56:37 mike_m: so not even dalvik is good enough? May 26 04:57:07 calamari: you want to write bytecode? May 26 04:57:49 there are dalvik assemblers May 26 04:58:20 interesting, but it would be nicer if there were a C->davlik compiler May 26 04:58:36 mike_m: someone just needs to write a gcc backend May 26 04:59:02 yeah, i'm sure one will show up sooner or later May 26 05:00:04 I'm not sure I see the point, though.. so I won't be writing it :) May 26 05:01:23 hey using eclipse for development and 1.5, what parts of the project should i keep in version control May 26 05:01:33 i couldnt find any advice on this on the internets May 26 05:02:10 Chris, mike_m - wages low - everything else overpriced just saying it becomes even more exaggerated relative to wages May 26 05:02:42 plus we may be doing ok, but we've got a genius PM who thinks throwing us into a debt my grandkids will be paying off is a great idea. I don't have grandkids May 26 05:02:57 skyPhyr: Hmm, having lived in UK, US, Australia, Malaysia and Singapore, I'd say Australia is the most well off on average. This was before Rudd though :) May 26 05:03:09 skyPhyr: There might be other countries better off, but they'd be a minority. May 26 05:03:28 really? I found in London prices for most things were lower than here and wages higher May 26 05:03:50 Yeah, except when you try living in London May 26 05:03:59 lived there for the last 5 years :) May 26 05:04:03 * mike_m just left the UK, and found it hard to save any money at all on quite a decent wage May 26 05:04:13 It's rather expensive, even compared to Sydney May 26 05:04:25 haven't lived in Sydney for 10 years, so can't comment... May 26 05:04:26 single or family? May 26 05:04:37 either, I'd guess. May 26 05:04:45 skyPhyr: i have a wife + a kid May 26 05:05:09 ahhh ok - wife and two kids here and am finding Australia expensive being back :( May 26 05:05:28 fair enough May 26 05:05:37 depends on the comparative wage, I guess May 26 05:06:10 yeah - vfx is too small in Australia to reasonably compare making it more difficult May 26 05:06:55 Singapore is cheaper than Sydney as long as you don't consume alcohol, drive a car, or live in something bigger than a shoebox. May 26 05:07:03 but hey - got me to pull my foot out and learn the android sdk to get some variety :) May 26 05:07:20 Chris: hehe - guess you can't own more than one pair of shoes then :D May 26 05:07:24 :) May 26 05:08:11 I'm paying more in Singapore for a 2 bedroom apartment than a 4 bedroom one in Sydney May 26 05:08:37 Chris: Seoul has similar restrictions, but your can drink more, and it best to avoid driving ... May 26 05:08:49 Why is it best to avoid drinking? May 26 05:10:49 mike_m: At the moment, I'm ok not to get on the app store. Do you have any pointer on how to do that? May 26 05:10:58 you guys work in mobile dev? May 26 05:11:20 manus_eiffel: read the docs, i guess May 26 05:11:44 skyPhyr: yeah, i just quit a job at Symbian May 26 05:12:23 did they get bought by nokia? May 26 05:12:26 yes May 26 05:12:56 nice - did you get to play with the Qt port? May 26 05:13:08 a few guys at work were working on it May 26 05:13:17 i have played with Qt in my own time May 26 05:13:44 I like coding Qt - how'd it do for embedded dev? May 26 05:14:04 QT port of symbian ? May 26 05:14:14 Qt was ported to symbian May 26 05:14:16 i only did stuff on Linux. i haven't played with the Symbian Qt port May 26 05:14:19 ah May 26 05:14:27 had a bit of a shock there for a moment May 26 05:14:56 there is a port of Qt to Symbian May 26 05:15:08 I was going to wait for that to get out on devices since I already knew Qt, but decided to learn android instead May 26 05:18:48 I used QT on a Sharp Zaurus May 26 05:18:51 that was fun May 26 06:09:52 romainguy: how's it compare with coding for android? May 26 06:19:43 <_Auron_> rofl May 26 06:19:48 <_Auron_> I think I found a bug in the emulator May 26 06:22:21 Auron...wats the Bug u found...?? **** BEGIN LOGGING AT Tue May 26 06:24:27 2009 May 26 06:25:51 <_Auron_> my app was set to only be in landscape mode, but with the emulator it typically starts in portrait mode and you have to switch using ctrl+f11 May 26 06:26:24 <_Auron_> once I did that twice, the texture switched to another one with my ship sprite in my game engine, May 26 06:26:35 <_Auron_> and a few more times caused the app to be force closed May 26 06:35:49 <_Auron_> the orientation doesn't change either, 0,0 is normally topleft in landscape but would is topright in 'portrait' mode in the emu, so it's the emu not working correctly May 26 06:36:01 <_Auron_> but is* May 26 06:50:45 does anyone know a good example of shelling out and running a local command ? May 26 07:40:46 wmealing: you mean from in java code I assume? May 26 07:41:01 yeah May 26 07:41:13 not something I've tried, sorry May 26 07:41:16 found http://gimite.net/en/index.php?Run%20native%20executable%20in%20Android%20App May 26 07:41:22 i think thats the closest i'll come May 26 07:41:26 i asked earlier but lets ask again: May 26 07:41:34 what parts of a eclipse android 1.5 project should i version control May 26 07:41:52 wmealing: nice - isn't the interwebs great? May 26 07:42:51 deebo, I've got the whole lot under git May 26 07:43:13 for instance say I mkdir /storage/myCurrentProject May 26 07:43:21 cd /storage/myCurrentProject May 26 07:43:25 git init . May 26 07:43:33 then fire up eclipse May 26 07:43:37 create a new project May 26 07:43:49 and I use /storage/myCurrentProject/android for the base directory May 26 07:44:14 yeah i put it all in svn too, but was just wondering about the generated files etc May 26 07:44:19 then I'll make /storage/myCurrentProject/artwork etc for any other stuff that doesn't really belong within the android project (ok it could go there, but I prefer keeping working files for art separate) May 26 07:44:35 eclipse keeps telling me "R.java modified" (i set utf8 + unix row changes for all text files) May 26 07:44:40 deebo: I made a .gitignore - will check exactly what I put in it May 26 07:45:23 deebo: I put bin/* bin/.* gen/* gen/.* in the ignore May 26 07:45:55 I was aiming to keep the directories - though I could have also put the .gitignore in each of the bin and gen directories with * and .* May 26 07:46:05 not even sure if the .* is necessary, but figured may as well be sure May 26 07:51:04 most. May 26 07:51:15 yay internets ! May 26 08:29:22 skyPhyr: mkay thanks May 26 08:36:07 where can i find the class that is responsible for drawing the main menu? (the one, that can be pulled up)? May 26 08:44:20 hi May 26 08:50:54 hello May 26 10:45:17 how can i scale Drawables the correct way? I have an image that has those black lines telling android which parts of the image can be scaled, and which not. if i use Drawable.setBounds() android ignores this. any tips? May 26 11:47:52 does anyone know a totorial on how to use NinePatchDrawables? May 26 11:50:48 not I, sorry May 26 11:59:34 http://developer.android.com/reference/android/app/Activity.html#onConfigurationChanged(android.content.res.Configuration) May 26 11:59:48 this mentions that the Resources object will have to be updated to return resource values for the new config May 26 12:00:02 if I only have one set of strings (for example), do I have to still do this, however? May 26 12:00:11 or is this if I have a different set for each configuration? May 26 12:16:55 how can i determine the path of a Drawable's image? May 26 13:48:45 hey is there an possibility in java to check if a file exists May 26 13:48:47 ? May 26 13:51:52 cesar9: http://www.rgagnon.com/javadetails/java-0070.html May 26 13:52:00 google is your friend (generally;) May 26 13:53:44 sammyF: you should use : http://lmgtfy.com/?q=java+Check+if+file+exist May 26 13:53:45 :P May 26 13:54:34 FormicAcid: ahh .. but that wasn't the first hit on googling "java file exists", and I suffer from ADD :P May 26 13:55:22 bah it well worth the sarcasm ;P May 26 13:55:29 actually, it really returns that as the first hit ;) May 26 13:55:53 FormicAcid: true. and I didn't know about lmgtfy .. so thanks :) May 26 13:56:31 i prefer sammyFs site May 26 13:56:41 but both thanks ;) May 26 13:57:30 well mine show you how to fish May 26 13:58:15 and can feed you knowledge for life :P May 26 13:58:24 hehe May 26 13:58:30 anyone here is from usa? May 26 13:58:41 or yk May 26 13:58:41 FormicAcid: not me, but I guess most are May 26 13:58:43 oups uk May 26 13:58:52 FormicAcid: there's a difference? :P May 26 13:59:08 I thought the UK had officially been annected by now :P May 26 13:59:33 well I'm french and I was wondering if the "sense of humor" was perceptible on my new site: www.mobidroid.com May 26 13:59:47 I find it funny but I dont know if they will May 26 14:00:37 FormicAcid: "nonsense", not "none sense" .. I think May 26 14:00:52 ill make a google war on it :P May 26 14:00:54 FormicAcid: but I'm french too, so take my advice with a grain of salt May 26 14:01:34 38 Millions vs 31 Millions nonsens win May 26 14:01:34 :P May 26 14:01:57 did u participate to the SFR JTD? May 26 14:04:17 wth are the SFR JTD? May 26 14:04:50 Sub Franchising Registration Java (is a) Total Disgrace ? May 26 14:04:52 i dont like the french ... i think they are strange ... May 26 14:05:19 cesar9: thanks for repaying my awesome googling power byt telling me I'm strange :P May 26 14:05:38 anyway ... bbl May 26 14:06:05 cesar9: you should present yourself for president, I like the way you think May 26 14:06:51 my german way of thinking ? :P May 26 14:07:21 german? you seem pretty lazy for a german May 26 14:07:52 i am german 2.0 ^^ May 26 14:08:13 copy your work in a perfect way May 26 14:09:27 i see, good luck, without google i'm not too scare that you deliver until I make my money May 26 14:09:42 *made May 26 14:11:15 but you have shown me google and now i have an infinite source of things to copy May 26 14:11:59 cesar9: welcome to the world of coding .. copy and paste is your friend :P May 26 14:12:08 cesar9: besides, my kids are german too :P May 26 14:13:58 even the french dont want french kids :D May 26 14:14:35 nah .. it's just that german women have to look elsewhere to find worthy dads :P May 26 14:15:50 yes because we have no time for women, we must copy things all the time :D May 26 14:15:51 I loled May 26 14:23:06 is coding realy like: hey, i need something, lets google it! ? May 26 14:23:25 unless you know everything already May 26 14:24:06 <_Auron_> by heart May 26 14:24:22 nice completion auron ;) May 26 14:24:53 cesar9: good professionals memorize everything. great professionals know what to memorize and what to just have a reference book/site for and spend the rest of their time working. May 26 14:25:55 it's like intro level programming courses that have written exams where points are deducted for not having perfect programming punctuation (forgot a semicolon? That'll cost ya!) May 26 14:26:09 it doesn't teach you how to program, it teaches you how to put semicolons next to everything May 26 14:27:06 but putting semicolons is pretty important :P May 26 14:27:18 vol, and then you start writing in python and curse your old prof May 26 14:28:30 cesar9: yes, but it's not what programming is about. May 26 14:28:38 programming is about writing algorithms, not including semicolons May 26 14:29:07 I could memorize how to implement the Knuth shuffle, or I could just look it up the next time I need it and spend time on more productive things May 26 14:29:16 <_Auron_> and efficiency/structure production May 26 14:29:29 which is why copying code for standard stuff is okay. if your programm only contains that, THEN it's a probleĆ¹ May 26 14:29:52 copy/pasting code usually leads to subtle bugs. May 26 14:30:13 at any rate, I consider it lazy loading of personal knowledge ;) May 26 14:30:43 <_Auron_> heh May 26 14:30:49 vol, depends.when it gets down to "how can I check in Java whether a file exists or not" and the code is 3 lines long, I think it's perfectly acceptable May 26 14:31:13 if you start copying a whole real time raytracer "trace" class, THEN I guess you're really in trouble May 26 14:31:14 bonus if by reading the 3 lines you do understand what they do May 26 14:31:22 FormicAcid: indeed May 26 14:31:35 copying isn't enough. you must understand what you're doing May 26 14:31:38 anyway .. I'm off May 26 14:31:41 cya May 26 14:33:04 ciao May 26 15:00:22 is there any way to get two textviews on the same line in a linearlayout? May 26 15:00:56 or should I use a relativelayout? May 26 15:09:13 other than shelling out , is there a way to find the arch of the phone ? May 26 15:09:18 and kernel version ? May 26 15:13:30 BeBoo use gravity : horizontal May 26 15:14:02 default is vertical May 26 15:14:06 how do I move a signed application to my phone for testing May 26 15:14:34 hunterp: i puted mine on a webserver May 26 15:14:46 and downloaded it]\ May 26 15:15:49 FormicAcid: what about usb cable? May 26 15:18:48 hunterp: adb install myApk.apk May 26 15:18:51 easy peasy :P May 26 15:19:17 alternately, turn on "untrusted sources" in settings -> applications and point your browser to it May 26 15:19:31 im close to release :-) May 26 15:19:37 first release evar May 26 15:20:11 congrats May 26 15:20:16 * _Auron_ uses astro file manager, finds the apk on his sd card, and installs that way May 26 15:20:37 pkg: /data/local/tmp/WiFinder1.1.apk May 26 15:20:37 Failure [INSTALL_FAILED_ALREADY_EXISTS] May 26 15:20:51 adb uninstall your.package.name May 26 15:20:54 or May 26 15:21:02 adb install -r myapk.apk May 26 15:21:06 (but only if signed with the same key!) May 26 15:21:32 i just created a production key May 26 15:21:38 different from dev May 26 15:21:46 Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] May 26 15:22:59 then yeah May 26 15:23:03 you'll have to uninstall first May 26 15:23:06 adb uninstall package.name.here May 26 15:23:10 not sure what the correct package name is May 26 15:23:11 you need to uninstall the original version via adb May 26 15:23:12 aka adb uninstall com.google.whatever May 26 15:23:21 its com.ochosi May 26 15:23:22 if your package name was com.google.whatever May 26 15:23:29 then try adb uninstall com.ochosi May 26 15:23:50 Success! May 26 15:24:10 hooray May 26 15:24:26 how do I know the one on my phone is really the production signed one? May 26 15:25:13 How can I assert an exception is thrown in a android unittest annotated with @{Small|Medium|Large}Test? May 26 15:27:50 try { aosdiasodia } catch (Exception ex) { /* hooray! */ } assert(false); May 26 15:28:07 hunterp: if the phone is rooted, you can pull the apk off of it and verify it May 26 15:28:13 jarsigner -verify May 26 15:28:30 maybe there's a way onboard, but I don't know what it would be, sorry May 26 15:29:20 vol: no root :-(. i May 26 15:29:33 but the program did break cause my apikey for maps was in dev mode May 26 15:29:36 so thats a sign ;-) May 26 15:29:53 vol: That sounds like a reasonable, if clumsy approach. according to the junit page, you can do something like @Test(expected= IndexOutOfBoundsException.class). Thanks for the advice though, I'll use that until I figure out something better. I'm new to java unittesting. May 26 15:37:18 i just changed the maps api key to "production" and now when I test the app on my phone, the maps are blank, which is a sign of not having the api key May 26 15:41:49 are there any API demos (or code online) that shows how to handle a tap and hold? I have a listview and would like to have a dialog appear when then tab and hold on an item. May 26 15:42:32 google OnLongPress i think May 26 15:43:13 vol: i just changed the maps api key to "production" and now when I test the app on my phone, the maps are blank, which is a sign of not having the api key May 26 15:43:41 wmealing: perfect, thanks May 26 15:49:23 BeBoo_, had same problem 2 days ago May 26 15:49:24 :) May 26 15:50:06 romainguy: i just changed the maps api key to "production" and now when I test the app on my phone, the maps are blank, which is a sign of not having the api key May 26 15:52:05 Ze Romainguy? May 26 15:52:34 Mr. Google android background guy? May 26 15:52:37 its him. May 26 15:52:48 hehe cool May 26 15:52:51 but, im totally up shit's creek at the moment May 26 15:52:54 any ideas? May 26 15:53:16 didnt touch the api maps sorry May 26 15:53:39 like im done with dev. and im ready to release May 26 15:53:49 but....this api issue is literally blocking me from that May 26 15:54:23 btw i think thats his real name May 26 15:54:36 ok May 26 15:54:42 i think i might know the issue maybe May 26 15:54:48 hunterp, so. youve tested the api key somewhere else right ? May 26 15:54:49 his name probably Romain but not guy May 26 15:54:56 hang on May 26 15:55:38 anyone know where i can find doc about usb communication with android? every keyword leads to the damn usb driver of the phone May 26 15:55:51 read the driver source? :> May 26 15:55:54 wmealing: you're right May 26 15:55:55 http://www.jroller.com/gfx/entry/by_the_way May 26 15:55:56 wmealing_: ive been developing witha dev key the whole time May 26 15:56:04 http://www.dzone.com/links/rss/romain_guy_android_talk_at_devoxx.html May 26 15:56:10 pretty sure thats his name May 26 15:56:13 yeah I was scared about that ;) May 26 15:56:29 heh May 26 15:56:52 wme, lol yeah Guy actually is a pretty common name in french, I was reading it in english /stupid me May 26 15:56:52 well the blog posts are signed "romain guy" May 26 15:57:12 so Guy Romain actually is pretty normal name May 26 15:57:22 hunterp, i'm guessing that it might be cached somewhere on the phone May 26 15:57:24 like... Guybrush? May 26 15:57:29 threepwood ! May 26 15:57:36 hunterp, have you installed it on a new emulator avd ? May 26 15:57:57 wmealing_: no :-( May 26 15:58:06 (speaking of which, I wonder why I bother writing games when there is scummVM and monkey island for the G1:P May 26 15:58:16 can you ? May 26 15:58:29 wmealing_: are you saying create a new AVD from scratch? May 26 15:58:36 why not May 26 15:58:39 then do an adb install May 26 15:58:43 its not hard May 26 15:58:51 well i am stuck....why the heck not May 26 15:59:00 hunterp, nothing from logcat about the key ? May 26 15:59:48 hmmm, lets check May 26 16:00:39 05-26 09:00:10.222: ERROR/MapActivity(366): Couldn't get connection factory client May 26 16:00:45 That seems relevant May 26 16:01:25 that.. may be May 26 16:01:26 Ok, I have a listview which is populated from a buffer. when the list is populated and when you scroll, it produces the following message in logcat many many times. Should I ignore it or what can I do to prevent it from appearing? May 26 16:01:26 Default buffer size used in BufferedReader constructor. It would be better to be explicit if a 8k-char buffer is required. May 26 16:02:02 Are you creating a bufferedreader ? May 26 16:02:33 not that I can see May 26 16:03:13 wmealing_: well my avd is 1.5 and my phone is 1.1 May 26 16:03:20 so create a 1.1 avd ? May 26 16:03:48 i think so May 26 16:04:13 wmealing: i'm using a BufferedInputStream to download content and using ByteArrayBuffer May 26 16:04:29 on every list item ? May 26 16:04:31 for every list item May 26 16:04:38 and am using an inflater to fill the listview May 26 16:04:54 no, i'm using it to download the data and putting it all into an arraylist May 26 16:05:05 then the arraylist is inflated into the listview May 26 16:05:18 i think... May 26 16:05:25 ok May 26 16:05:59 "Error: Unable to find a 'userdata.img' file to copy into the AVD folder." when i try ./android create avd -n 1.1 -t 1 May 26 16:06:25 well that could be because i find / userdata.img | xargs rm -rf May 26 16:06:28 kekeke May 26 16:10:24 how does adb know whether to upload to my phone or my local avd ?? May 26 16:14:08 <_duncan> If your removed all of the files in May 26 16:14:20 <_duncan> 'gen', can you regenerate them? May 26 16:14:42 you can tell it which device in adb May 26 16:15:55 <_duncan> Anyway to regenerate R.java and the other files if they are deleted? May 26 16:17:15 if i want my program to call the gmail app or email app, i would create an intent, right? May 26 16:18:04 call an intent. May 26 16:18:25 <_duncan> Sorry all, but can someone explain to me what I can do to remedy these warnings http://pastie.org/private/ol6mlufm6sjdatnjyz3ag May 26 16:21:10 how can i specify which avd or real device to supply to adb command ? May 26 16:24:15 hit adb with no parameters May 26 16:24:16 then May 26 16:24:28 i see, adb connects to running devices May 26 16:24:28 you'll see a BUNCH of options May 26 16:24:33 it has magical "awareness" May 26 16:24:42 very nice :-) May 26 16:29:57 anyone here released a production maps app ? May 26 16:31:53 wmealing_: update. so its the maps api key, i created a new 1.1 avd, and the maps don't load, but when I switch the api key back to dev, I get maps data....what am i logically not getting here? May 26 16:32:11 * wmealing_ thinks May 26 16:33:16 hmm May 26 16:33:22 installing the release or debug build ? May 26 16:34:31 wmealing_: i have not tried installing the release build on the avd May 26 16:34:44 i did the release api key, but outside of the release process May 26 16:34:49 ok May 26 16:35:14 i assume you set the api key in the xml. May 26 16:35:17 it is correct and there ? May 26 16:35:18 yes May 26 16:35:21 yes May 26 16:35:35 ok, you dont set it again in the code ? May 26 16:36:52 nope May 26 16:37:27 ok, i must sleep, sorry i cant stay longer May 26 16:37:38 thx! May 26 16:42:26 anyone here released a production maps app ? May 26 16:58:09 I have been looking for an online tutorial on launching sub-activities which return results for Android 1.5. Any suggestions? May 26 16:58:33 I have come across a few tutorials but they seem to be for prior versions of the SDK. May 26 17:24:01 anyone here released a production maps app ??? May 26 17:47:06 I have an activity used to both edit and insert new rows into my database. I followed the notepad sample included in the sdk and wind up with lots of empty rows because of screen orientation changes during new row creation. What's the proper way to handle new row inserts and screen orientation changes? May 26 17:50:38 I keep getting a "Host is unresolved" IO-exception from the emulator, but I'm having no trouble with the same code on my phone connected through the same network.. any ideas? May 26 17:52:06 Rexxars, "unresolved" is usually and DNS issue May 26 17:52:52 I understand that, but resolving the same hostname from my computer (which is hosting the emulator) AND from my phone, all on the same network and using the same DNS settings, works May 26 17:58:53 ctate: can you update the topic to mention 1.5_r2 please :) May 26 17:59:54 'lo jt436 May 26 18:00:08 jt436: care to check out my latest beta? May 26 18:00:19 hey sammyF, sure I still haven't check the last email you sent me ;( May 26 18:00:44 jt436: that was the full version of pinit I think May 26 18:00:52 that's another game ;) May 26 18:02:26 oh ok May 26 18:02:52 I am updating some phones so I will check it out shortly May 26 18:03:15 sent May 26 18:03:38 enjoy, as far as it's possible ;) May 26 18:04:55 I'm using the ACTION_VIEW intent to send an SMS. Is there an Extra I can add to the intent to force it to convert it to an MMS? May 26 18:15:46 Revised statement: I've got a URLConnection, and I'm retrieving an InputStream from it.. upon download the contents, it's giving me a "Host is unresolved" IO-exception.. I'm thinking this might be related to the fact that it redirects from one domain to another.. any suggestions? May 26 18:20:53 sammyF: you need another method to rotate, spinning the device can become tedious May 26 18:21:32 jt436: I was afraid that might be an issue May 26 18:23:38 I guess it's going to be the trackball then May 26 18:24:14 the screen rotating thing sounded like "a really good idea" (tm) ;) May 26 18:28:35 sammyF: that's what usability testing is for :) May 26 18:30:47 ctate: yep. lacking beta testers, I misuse people here to find out ;) May 26 18:44:31 thanks for the feedback jt436 btw :) May 26 18:46:30 sammyF what has the feedback been like on the games you have released May 26 18:47:43 jt436: ranging from "nice game" all down to "written by a 5 year old idiot sucks not buy" May 26 18:47:48 ;) May 26 18:48:14 jt436: with the occasional "gay" mixed it May 26 18:48:16 in May 26 18:52:25 i hate our Market commenters. :( May 26 18:52:39 thankfully I don't rely on the game to make a living, and I like writing them ... so I keep going. maybe someday one will please the masses ;) May 26 18:53:18 ctate: the complete anonymity of comments on free apps iswhat kills it May 26 18:53:57 someone was complaining that my app doesn't have a quit-button... May 26 18:54:54 sammyF: What's your game? May 26 18:54:56 bwahahahahah May 26 18:54:59 ha May 26 18:55:23 sammyF: technically they aren't anonymous; they're tied to the login ID of the commenter May 26 18:57:07 ctate: are you going to be at I/O? May 26 18:57:10 ctate: yeah. technically. from a developper's point of view though, you can't get back to people, which is particularly infuriating when they complain about "freezes" and crashes May 26 18:57:32 blanu: check "pin it" .. that's the latest one I released May 26 18:58:04 jt436: i don't plan to, actually. got stuff to crank on :) May 26 18:58:25 sammyF: yeah, i was about to say that unfortunately that isn't really visible May 26 18:58:29 ah, fair enough then May 26 18:59:23 ctate: personaly I couldn't care less about "you suck! $hit game. WoW is better", but I'd *REALLY* love to ask people who complain about crashes how and when it happened May 26 18:59:46 we definitely want to make it easier for devs to get crash info etc May 26 19:01:56 if i have a string defined in XML, can i include another string inside that string? May 26 19:02:23 ctate: that would be great May 26 19:04:45 I was thinking of putting a "provide feedback" button in my app for that reason -- feedback, crash info, etc... Perhaps just launching the email intent with a prepopulated To: and Subject: lines would work better, though I haven't tried.. can you launch email and fill in the fields automatically? May 26 19:09:13 soreachilles: yes May 26 19:09:25 excellent May 26 19:09:35 soreachilles: http://iceskysl.1sters.com/?action=show&id=459 @ #9 May 26 19:10:06 i'm using that in my app, works well May 26 19:10:07 lol nice already done for me.. thanks much May 26 19:10:13 haha May 26 19:11:18 soreachilles: really good idea May 26 19:12:38 I might steal it from you ;) May 26 19:13:02 it was a beta tester's suggestion, yeah, I thought it was good too... sorta like 'oh yeah forgot about that, good idea' May 26 19:14:01 he wanted in-app email to communicate back and forth... but I think just launching email is the way to go May 26 19:14:15 yep. keep it simple May 26 19:14:36 would be nice to get an email automatically from the app when someone gets an exception or something May 26 19:14:54 doesn't do you any good if the one thing people want to complain about is bugs in the feedback part ;) May 26 19:15:12 BeBoo_: you can do that actually May 26 19:15:29 BeBoo_: let me find the link May 26 19:15:30 well, if the feedback button just launches an email app, there isn't anything to complain about ;p May 26 19:15:55 BeBoo_: http://code.google.com/p/android-remote-stacktrace/ May 26 19:15:59 cool. I'll put it on my todo... i am re-doing my whole program May 26 19:16:32 oh very nice May 26 19:16:32 not an email, but close enough May 26 19:16:38 anyone had probs playign wavs? they play fine once but then after that its just a "click" ? May 26 19:16:48 but i can mod the php script to email it May 26 19:16:50 that would be nice May 26 19:17:09 Gaz: any reason why you use wav? May 26 19:17:39 Gaz: wav is usually very big May 26 19:18:03 and I'm not sure anybody would be able to hear the difference with an mp3 or ogg over the device's speaker May 26 19:18:27 no reason i could use mp3 easily May 26 19:18:32 i just assume mp3 is yet more hassle May 26 19:18:36 but it might just work May 26 19:19:46 Gaz: not sure why it doesn't play more than once though. you're playing through SoundPool? May 26 19:20:18 going to lunch at the beach, fixing bugs, then pack for I/O tomorrow. see everyone there :-) May 26 19:20:34 no im using a MediaPlayer May 26 19:20:36 sigh May 26 19:21:36 jasta: ? May 26 19:21:47 is there a way to turn data off on the G1? I want to test what happens with my app when there is no data coverage May 26 19:22:15 BeBoo_: go to Airplane mode? May 26 19:22:22 that'll work May 26 19:22:33 (which sadly doesn't transform your G1 into a jetpack:( May 26 19:22:53 would have to be a damn powerful jetpack for it's size ;p May 26 19:23:10 still ... THAT would make it a real iPhone killer ;) May 26 19:23:29 "look multitouch!" "one sec... need to land first" :P May 26 19:24:44 haha May 26 19:25:19 is there an easy way to test if the user has data coverage? I'm basically just handling an UnknownHostException but an open to another idea May 26 19:26:13 gonna try soundpools sammyF:) thx May 26 19:29:40 BeBoo_: there is a very easy way; look at ConnectivityManager. May 26 19:30:03 you can also be notified when coverage returns May 26 19:35:13 jasta: thanks. i don't need to be notified, this is just a simple data app. they can just relaunch it. May 26 19:43:10 what permission would i need to use ConnectivityManager? May 26 19:47:07 sammyF, im getting "sample X not ready" even tho i initialised it already May 26 19:48:05 anyone had problems with android:layout_above in eclipse? May 26 19:51:13 eclipse doesn't emulate the layout correctly, you are better off loading a build onto a device. May 26 19:53:00 oh, it wasn't that May 26 19:53:15 eclipse complained that the layout_above value was not defined May 26 19:53:22 I switched the order in the xml file and now it compiles May 26 19:53:35 the layout that it' May 26 19:53:46 that it's above must be defined before it May 26 19:53:55 yeah May 26 19:54:01 i had that issue too May 26 19:54:02 just found that out :/ May 26 19:56:08 can anyone tell me why i'm getting a null pointer on the highlighted line? http://pastebin.com/d1c7dd77 May 26 19:56:43 just guessing - getActiveNetworkInfo() returned a null pointer? May 26 19:57:06 but why would it? May 26 19:57:16 because there is no active network? I don't know May 26 19:57:30 well, that's what i'm trying to test... heh May 26 19:58:05 I'd say that if it returns a null pointer, it's probably not connected. :p May 26 19:58:10 i want to make sure my app displays a dialog letting them know there isn't any data connection... May 26 19:58:36 understandable May 26 20:06:29 is anyone submitting a lightning talk proposal for I/O? May 26 20:10:32 jt436: "lightning talk"? May 26 20:10:49 http://android-developers.blogspot.com/2009/05/lightning-talks-at-google-io.html May 26 20:10:59 ahh May 26 20:11:38 severe lack of decent ideas submitted thus far May 26 20:22:09 should i be able to call System.loadLibrary() and load for example the libandroid_runtime library? May 26 20:24:31 Poke53281: hmm. in a technical sense i think you should, since after all your app has already loaded and is using it. May 26 20:24:51 but as far as whether it's a good idea? ixnay. :) May 26 20:28:11 ctate: thanks ah... i think i might be just confused :-) it's all new to me... not sure what i really want to do (head spinning...) May 26 20:30:04 bascially i want to reused class which is part of the android OS but not available through the normal sdk. so i copied the *.java file into my source tree. but it turns out it uses a jni call. so i started looking into how this works, and my last conclusion was that the native code gets build into libandroid_runtime. so i thought i might have to load that May 26 20:35:56 you really don't want to do that. May 26 20:36:09 when the underlying implementation changes, your app will break May 26 20:36:26 what class it is that you want, btw? May 26 20:37:07 ctate: the clss in question is EventRecurrence.java May 26 20:37:57 it's in frameworks/base/core/java/android/pim/ May 26 20:38:08 oh, you're hacking the Calendar. Not a good idea. May 26 20:38:34 like i said, changes to the underlying code in anything outside the SDK will break your app May 26 20:38:49 great :-)... but there is also no calendar provider... i feel i am going down the deeper the rabbit whole :) May 26 20:39:04 well, it's a Google app. not every Android phone will even have it. May 26 20:39:14 (why the heck is calendar calling into native code? :) ) May 26 20:39:19 so i thought i take the whole calendar code and make it my own May 26 20:39:41 sure, but you can't do it by calling the JNI code in the runtime May 26 20:39:43 tauno: i guess speed optimization. looks like some optimized parsing May 26 20:39:51 you need to build it as your own app with your own JNI code etc. May 26 20:41:05 why not just make improvements to Calendar and submit your patches? May 26 20:41:10 ctate: i see. i am just at a loss about how to compile the jni code. i saw some examples on the web, but seems like a bit complicated... ( at least for me as i am quite unexpeirienced) May 26 20:42:18 ctate: the one improvment would be to have a public provider for the builtin calendar. the code is all there. but google choose no too make it public. or it was not ready in time. contacts have a dataprovider interface available May 26 20:42:41 the schema and so on are not finalized May 26 20:42:51 once we publish it we have to keep it the same forever :( May 26 20:44:05 backwards compatibility is overrated :P May 26 20:49:47 tauno: :-) May 26 20:50:50 i guess my options are to figure how to compile the jni/c++ code. is it even allowed to make my own shareldlibrary/jni calls? wouldn't that break as soon as a new android phone based on different hardware is out? May 26 20:51:23 maybe i should rather look into how to avoid the jni all together and maybe write my own code May 26 20:51:47 Does anybody know how to use ImageView's matrix scaling mode? May 26 20:51:54 if I use matrix mode the ImageMatrix has no effect May 26 20:53:36 Poke53281, I suggest skiping the jni part (but what do I know.. I'm the worst developer here :) ) May 26 20:53:57 tauno: hey i claim that spot! May 26 20:59:10 tauno: "backwards compatibility is overrated" -- spoken like a true Linux user! ;) May 26 21:01:34 ctate: I'd have pointed more in the cupertino direction actually May 26 21:01:52 jt436, has the list of lightning talk ideas been published? May 26 21:02:48 EricInSF: only 4 suggestions thus far http://moderator.appspot.com/#15/e=6de3b&t=6a7d9 May 26 21:06:36 hmm. yeah more choice would be good. May 26 21:07:19 ctate, tauno: thanks for the input. it helped my understanding and triggered some new ideas. i will mull that over on the way home May 26 21:11:35 does anyone know of free cvs hosting for close source projects? May 26 21:13:56 that would seem.. dangerous May 26 21:14:04 why trust your closed source to a 3rd party? May 26 21:14:12 plus setting up a cvs / svn server is pretty easy May 26 21:14:46 :( May 26 21:18:01 I didn't want to worry about the uptime or maintanance May 26 21:18:05 but you have a good point May 26 21:32:46 is the tunewii dev in here? May 26 21:32:51 tunewiki* May 26 21:34:43 possibly, we'll see if they reveal themselves ;) May 26 21:35:14 i was talking to him via PM a while ago, but i forgot his name. :( May 26 21:47:09 I am having trouble with the ProgressDialog, has anyone used that before? May 26 21:47:23 yeah, i use it May 26 21:48:02 If I use the .show() method and then go off and run some code it never shows May 26 21:48:21 have you seen this? May 26 21:48:44 hm, no. you're making sure to do it from the UI thread? (eg. using handler.post()) May 26 21:49:49 whenever i need a progress dialog, I just do new ProgressDialog(context).show() and it works fine May 26 21:50:08 hmmm...that might be my problem. I am in the main thread ( I only have 1 ) but as soon as I call show I then go and do work with the main thread May 26 21:50:23 ah yes, that'll do it May 26 21:50:52 so how do I show the dialog and still do work with the main thread? May 26 21:51:26 i would post() your other work (in which case it'll run in your main thread later), or use java.lang.Executors or Thread or something to run your extra work in a new thread May 26 21:52:13 moto=motorcycle? May 26 21:53:05 yup :) May 26 21:53:17 what do you ride? May 26 21:53:36 I have an 03 Suzuki SV650s , do you ride? May 26 21:53:51 yeah k1200s May 26 21:55:06 * ewon drives an mx5 May 26 21:55:13 wow , that looks nice and comfy! May 26 21:55:39 how is it with a guest on the back? May 26 21:55:47 they're not called miatas any more? May 26 21:56:30 nwmotogeek: it's a nice ride. 165 horses, and the electronic suspension adjustment makes taking a passenger a dream May 26 21:57:06 who ever gets out their suspension wrench and adjusts for sport or touring, passenger or single? i know i never did with my old bike. but the one-button adjustment is FANTASTIC May 26 21:58:01 I have only adjusted mine once and now it's more sporty. I don't like taking a passenger on mine as it feels strange. May 26 21:58:21 I have started dreaming of a more comfortable bike, one that I can take my wife along on May 26 21:59:07 i highly recommend the new k1300s. Very sporty, but also comfortable enough for passengers or dedicated touring May 26 22:00:02 it also has shift assist (like porsches, etc), so a computer will handle the upshifting for you without requiring you to clutch May 26 22:00:11 anyway, /off-topic May 26 22:00:37 wow, what do those run $? May 26 22:00:58 $15 base, $18 fully loaded May 26 22:01:04 ish May 26 22:02:05 the k1300s killed the resale value of the <2008 k1200s, so you can get a good deal on a new or like new k1200s right now if you look May 26 22:23:08 romainguy: i just changed the maps api key to "production" and now when I test the app on my phone, the maps are blank, which is a sign of not having the api key May 26 22:23:38 if anyone else has any idea about maps and the api key May 26 22:25:34 sorry hunterp I've never used the maps api :( May 26 22:26:04 romainguy: i posted a msg: http://groups.google.com/group/android-developers/browse_thread/thread/4512cfba1a907532# May 26 22:26:17 romainguy: this issue is the only thing blocking me from making my release May 26 22:27:25 hunterp: incidentally, how are you managing your dev and production map keys? is there a way to set up both keys in the app so that maps will work in dev and in production? right now, i have to manually swap one or the other out to get my maps May 26 22:28:31 emmby: dude, i can't even make my phone work with the prod key. i keep both keys commented in the javascript May 26 22:28:40 have you run into this problem ? May 26 22:28:55 is it that im trying to run the prod key on a test server?? May 26 22:29:00 or should it run fine on a test server??? May 26 22:29:06 er, javascript? May 26 22:29:13 no javascript May 26 22:29:20 android maps is written in java afaik May 26 22:29:30 ah, was wondering why you said javascript May 26 22:29:42 i meant May 26 22:29:46 xml comments May 26 22:29:57 brain misfire May 26 22:30:24 no, for me the dev key works fine on my dev device/emulator, and the prod key works fine on my prod device/emulator. didn't run into any issues when i swapped over May 26 22:30:45 well, of course i did have to sign and export the app for the new key May 26 22:30:52 so, I seem to be having an issue where after deleting an application that has a sharedUserId where there exists multiple applications with the sharedUserId, my permissions on my other applications seem to disappear May 26 22:30:53 emmby: which i did May 26 22:31:03 emmby: and the app is verified by the jarsigner May 26 22:31:20 I used this btw: http://developer.android.com/guide/publishing/app-signing.html#ExportWizard May 26 22:31:22 but, my maps are blank. May 26 22:31:30 in prod mode May 26 22:31:36 in dev mode, im ready for release May 26 22:31:43 i've completed beta testing May 26 22:32:09 im using the command line tools, maybe the eclipse route is the way to go May 26 22:33:11 give it a try anyway, it worked for me May 26 22:34:00 fwiw, are HTML comments too, not just XML May 26 22:38:21 It seems to be impossible to open a ProgressbarDialog from with a Service Context. Or am I doing something wrong? I get the following error: "Attempted to add window with non-application token WindowToken" Displaying a Toast is just fine. May 26 22:39:18 ctate: I've signed with eclipse and with command line. with the prod api maps key and prod signing keystore cert. but on my phone, the maps are blank May 26 22:39:31 yes, sharedUserId has a huge glaring bug May 26 22:39:40 hunterp: i know nothing about dealing with maps, alas. May 26 22:39:50 herriojr: had, past tense. get CRB43 or later. :) May 26 22:40:06 ctate: is that with the 1.5SDK? May 26 22:40:37 i haven't looked explicitly but i believe that change is part of 1.5r2 May 26 22:40:39 emmby: i followed the eclipse instructions, and maps are still blank on my phone May 26 22:41:12 ctate: oh thank god, it almost rendered my application useless May 26 22:41:34 I'll test it out and let you know May 26 22:41:43 did HTC update the developer images? May 26 22:41:47 ctate: are there any maps gurus here ? May 26 22:42:10 ctate update the topic to point to r2 ;) May 26 22:42:13 i doubt it. frankliy, most people here at Google are doing final frantic prep for I/O May 26 22:42:20 jt436: i just tried ;-) May 26 22:42:35 Frantic! May 26 22:42:43 i can relate :-) May 26 22:42:45 herriojr: bummer. sorry, i've only done this once and it worked for me May 26 22:42:50 hunterp you don't have permission May 26 22:42:59 emmby: ?? May 26 22:43:31 i've only gotten maps on a production app once, and it just worked for me May 26 22:43:31 do the images for 1.5 at http://www.htc.com/www/support/android/adp.html reflect 1.5_r2? May 26 22:43:38 herriojr: yes. May 26 22:43:43 ok, thank you May 26 22:44:29 jbq: my heart sank when I found that sharedUserId bug...I'm so happy you guys fixed it :) May 26 22:45:12 yeah, we tried to fix it in as many devices as possible before disclosing it. May 26 22:45:27 (last week was very interesting because of that) May 26 22:46:00 and you're talking about the permissions being erased from all apps with a sharedUserId when one app is deleted, right? May 26 22:46:13 just to clarify :) May 26 22:53:03 emmby: i followed the eclipse instructions, and maps are still blank on my phone. any idea what acould be wrong? i have the right cert, and the right maps api key to my knowledge May 26 22:55:15 you're installing the exported version to your phone? not the dev version? May 26 22:57:26 emmby: yes, i sign the app with the prod key and put it on my one and only phone May 26 22:57:36 and the maps are blank May 26 22:57:43 boo :( May 26 22:57:49 with the development (debugging) key, it works May 26 22:57:51 on the phone May 26 22:57:59 am i doing something wrong? May 26 23:03:31 have you tried putting the prod app on your emulator? does it show maps? May 26 23:04:56 are you sure you're signing your app with the same keystore that you used when you got an api key? maybe create a new keystore and a new map key and re-export your app just in case... May 26 23:39:23 emmby: redoing it did it May 26 23:39:30 emmby: IM CLOSE TO RELEASE May 26 23:39:36 glad to hear it :) May 26 23:41:54 jbq: my issue isn't fixed.... May 26 23:42:28 so if you have a sharedUserId and one of the applications which has the sharedUserId is removed, it removes all permissions for the application still on the device May 26 23:44:51 ctate: jbq: either of you there? May 26 23:45:00 yeah, i'm here. May 26 23:45:09 ctate: yeah, it's not fixed May 26 23:45:12 herriojr: is this on CRB43 or something earlier? May 26 23:45:23 this is on the latest build on HTCs site May 26 23:45:32 I don't know what CRB43 is or where to get it May 26 23:45:47 that's what was used to make the latest ADP1 build, so don't worry May 26 23:45:53 or is comparable anyway May 26 23:45:57 hmm May 26 23:46:08 so you've got two packages that share a userid May 26 23:46:09 and you remove one May 26 23:46:16 yes May 26 23:46:23 and the remaining permissions set is wrong for the still-installed app? May 26 23:46:28 yes May 26 23:46:53 are these apps legitimately sharing a userid, same signing cert etc? May 26 23:46:58 yes May 26 23:47:02 file a bug please. May 26 23:47:08 doing right now May 26 23:48:22 one thing that might fix it -- no promises, this is off the top of my head :) -- is to uninstall the remaining app without clearing its data [is that possible in the UI?] then reinstall it May 26 23:48:24 but yuck. May 26 23:48:36 Issue 2773 May 26 23:48:57 yeah, uninstalling the remaining applications and reinstalling works fine, but I can't expect the user to do that May 26 23:49:11 so you publish apps with shared uid? May 26 23:49:31 I will be May 26 23:50:17 if there was multi-window support, I'd opt for that instead, but Android doesn't have it yet May 26 23:50:36 multiple windows? May 26 23:50:53 as in, can run 2 applications at the same time in the foreground May 26 23:51:07 well in a way you can May 26 23:51:23 RemoteViews! May 26 23:51:25 with RemoteViews May 26 23:51:30 no May 26 23:51:33 transparent windows :p May 26 23:51:34 :) May 26 23:52:28 Does that allow interaction with the application in the back? May 26 23:53:16 RemoteViews are limited and not what I want btw ;) May 26 23:53:30 stop complaining, write kick-ass software :) May 26 23:53:37 I'm trying :) May 26 23:54:05 no, but in all seriousness, I need the sharedUserId issue to get fixed :) May 26 23:55:07 the advantage is it allows your application to be "pluggable" and allow the user to install extra functionality without having to have all functionality May 26 23:55:11 keeps the application small May 26 23:56:20 can you guys critique my application description: WiFinder uses a database of over 10,000 publicly available wifi hotspots in the United States to search for the ones closest to your location (from either GPS or tower). The more populous the city you live in, the better the coverage. San Francisco. New York. Portland, Chicago, Seattle, Montreal, Austin, Atlanta, Houston. May 26 23:56:58 if you put a list of cities, people will assume that it only works in those cities May 27 00:05:25 hmm .. does the trackball generate a KeyUp event?? May 27 00:06:10 herriojr: what about "and more" ideally, I would have an interface where people enter their zipcode, and it tells them how many hotspots. May 27 00:06:30 for small-medium towns the coverage is random. good in some cases, spotty in others May 27 00:06:43 with location data why would you even need to user to enter anything? May 27 00:07:06 network location should be plenty good enough for locating an AP search May 27 00:07:09 ctate: before app purchase, to see if their town has like 1 listing in the db vs. 300+ for san francisco May 27 00:07:17 ah, i see May 27 00:07:31 ctate: can I network locate dynamically on the point of sale page for the propspective customer?? May 27 00:07:43 yeah, i thought you meant on the phone. nm. May 27 00:07:59 my app fo shizzle network (and gps if enabled) locates May 27 00:08:10 its 1 touch search. stupid proof May 27 00:08:35 3 menu items: find hotspot, search radius, and info May 27 00:08:51 for this release, its clean, and effective in user experience May 27 00:09:13 scalable. reasonably fast, good ui experience while the UI blocks on stuff... May 27 00:09:24 and hosted on a 24/7 backed up ec instance May 27 00:09:29 ec2 May 27 00:09:50 i mean once a day prod backups May 27 00:10:12 entire machine is imaged. costs < $5 a month to store backups May 27 00:13:25 How can I set the depth of a view that is the child of a RelativeLayout view? May 27 00:14:10 SeabassTKE: depth means? May 27 00:14:25 like which one is on top May 27 00:15:12 my problem is i have a custom view that will not work when I define it in xml, so when I define my button in xml, it throws the custom view over the button May 27 00:15:17 whats the name of the variable that represents depth ? May 27 00:15:48 I think it might be z-order, but I can't find a setter for it May 27 00:19:59 I solved my problem. I couldn't find how to specify a specific order, but I used a myRelativeLayout.bringChildToFron(theButton); May 27 00:24:38 SeabassTKE: file a request if you want to specify children's zorder May 27 00:24:49 we have a mechanism that should let us implement this pretty easily May 27 00:24:54 copy protection? why or why not? May 27 00:25:16 why = if you don't want people to take the apk out of the phone and distribute it May 27 00:25:26 why not = if you want your app to be seen by all phones May 27 00:25:45 (ADP1 lets you access copy protected apks, so these phones do not see copy protected apps on Market) May 27 00:27:14 romainguy: with all the rooted phoens out there, is there a point? May 27 00:27:46 I can't answer that question for you :)) May 27 00:28:05 those do not exist ;) May 27 00:28:10 as far as google is concerned May 27 00:28:44 I doubt the same hack will work for newer phones May 27 00:29:08 interestingly, I don't have rooted phone, but can't see commercial adds anyway May 27 00:29:13 DRM is stupid anyway May 27 00:29:35 sammyF: it's based on your SIM card's region to some extent May 27 00:29:48 and the Market doesn't prevent seeing commercial apps May 27 00:29:49 zinx: ah. that should be the reason then May 27 00:29:52 it would be nice if companies that sell phones to people would let those people actually *own* the devices they sell ;) May 27 00:30:05 it only prevents seeing apps that are marked "copy protected" explicitly by the developer May 27 00:30:18 which is very few of them, because it takes more space and doesn't do a whole lot anyway May 27 00:30:22 nbd: I personally couldn't care less about having root on my phone :p May 27 00:30:33 ndb: I think it has more to do with the carriers not allowing you to "own" the phone May 27 00:30:38 * ewon likes having root on his phone May 27 00:30:40 nbd: if you want to "own" the device, get the ADP1 :)) May 27 00:30:40 copy protection? why or why not???? May 27 00:30:43 (adp1) May 27 00:30:49 *nbd May 27 00:30:50 nbd: I don't intend to be apple bashing (at least not publicly here), but at least Google didn't start taking ebook readers from the market because you can read the Kamasutra with them ;) May 27 00:31:04 large corporation being moronic, news at 11 May 27 00:31:06 romainguy_: anyone you know gathering for socialness in SF tonight ? May 27 00:31:15 nbd: sooo .. to some extent, you own your phone more than an iPhone owner;) May 27 00:31:21 hunterp: tonight, not that I know of May 27 00:31:22 i'm not complaining about google here, since it's the carriers that sell the locked down phones May 27 00:31:35 and no, i'm not saying the iphone is any better May 27 00:31:38 :P May 27 00:31:46 nbd: yeah .. okay. I must admit I actually *wanted* to bach iPhones :P May 27 00:32:00 * ewon has an iphone 2g and an adp1 May 27 00:32:21 nbd: I don't know how it is elsewhere, but I bought my G1 in Germany, and they were actually selling unlocked ones (which is what I bought) May 27 00:32:29 my main criticism of the ADP1 is that it's not fully functional without proprietary software components May 27 00:32:40 nbd: albeit for 200 euros more than the locked one May 27 00:32:48 nbd: err um well May 27 00:32:54 it's not a retail phone May 27 00:32:56 is that going to be fixed with future hardware? May 27 00:33:04 nbd: ask HTC :p May 27 00:33:14 does it not do cell calls and cell data and wifi and so on? May 27 00:33:50 i mean, nobody ever advertised it as "just like a G1 only rooted and unsigned" or whatever May 27 00:34:22 the distinction will be clearer, i think, once people start shipping Android phones that are not all Googly like the G1 and Magic are May 27 00:35:01 mmmmmm May 27 00:35:06 phones with good cameras May 27 00:35:15 and more keyboards! May 27 00:35:19 ok May 27 00:35:24 just more keyboards; I never use cameras. May 27 00:35:28 also like romainguy implied, there are factors beyond our control :) May 27 00:35:35 grey-: stop please ... you're exciting me ;) May 27 00:35:50 grey-: i herd u like kbds so we put a kbd on ur kbd so u can type while u type May 27 00:35:50 sammyF: some of the stuff recently is looking good. May 27 00:35:57 ctate: YAY! May 27 00:35:57 yo dawg May 27 00:35:59 hehe May 27 00:36:02 it slides from BOTH sides! May 27 00:36:09 meme appropriation is the best. May 27 00:37:43 it says there is a server error authorizing my credit cart May 27 00:37:51 credit card....what is this May 27 00:38:05 grey-: http://s.wsj.net/public/resources/images/OB-AO890_invisi_20070824192939.jpg May 27 00:38:23 . . . that's from the wall street journal? May 27 00:38:24 crazy. May 27 00:38:32 no, it's someone's mashup May 27 00:38:36 but the photo, of course, is Adam Smith May 27 00:38:39 ahh. May 27 00:38:42 s/photo/picture/ May 27 00:38:43 well wait May 27 00:38:45 wsj.net. May 27 00:39:07 i suspect they reprinted it. i first saw it in a set of such notable-personage lols on flickr May 27 00:39:08 lulz: NS6.DOWJONES.COM 63.240.101.1 NS2.DOWJONES.COM 208.144.114.6 May 27 00:39:24 I mean... I guess that's sane for what they are. May 27 00:39:28 that's just too funny. May 27 00:39:31 heh May 27 00:39:44 * grey- shouldn't laugh too hard, he admin's nsX.kink.com May 27 00:40:05 snrk May 27 00:41:13 woah! May 27 00:41:20 shouldnt have clicked on that ll May 27 00:41:23 lol* May 27 00:44:06 it says there is a server error authorizing my credit card . I just deleted an invalid card from the checkout page, and it registeres on the phone. what can i do?? May 27 00:50:26 pray if youre not atheist May 27 00:50:28 :D May 27 00:53:02 so I'll be seeing jsharkey tomorrow and romainguy thursday May 27 00:53:02 ok update, i can buy other people's apps, but not mine! May 27 00:53:15 I don't know the rest of the people :) May 27 00:54:33 why can I buy other people's apps, but not mine! May 27 00:54:35 ? May 27 00:54:48 it says there is a server error authorizing my credit card . when I try to buy mine May 27 01:05:56 Can't buy your own app. That's on purpose, it's an anti-abuse measure built into Google Checkout. May 27 01:07:09 Hey, does Parcelable handle null objects right? If I do parcel.writeParcelable(null), will I get back null? May 27 01:07:13 Or will it complain? May 27 01:20:05 WHY DOES THE GROUP ID GET REMOVED WHEN YOU SYNC GROUPS? May 27 01:21:28 Why is the groups._id column disappear when Google syncs your contacts up to their server? May 27 01:22:28 do you guys think that since my bank account is unverified for my google market account,that that is why I cannot buy my own app, but I can buyy other people's? May 27 02:21:07 bad time to ask questions, but is there a way to find out whether a SoundPool sample is still playing? May 27 02:23:07 anyone know why soundpool sometimes just says a sample isnt ready May 27 02:23:22 i think its mediaplayer underneath somehow you could get to that maybe May 27 02:23:28 and do isPlaying() May 27 02:23:34 im thinking soundpool sucks ass May 27 02:23:47 some of my samples just randomly dont load May 27 02:23:51 hmm May 27 02:23:58 I think I just have the same problem ;) May 27 02:24:15 sample X not READY May 27 02:24:16 it says May 27 02:27:14 Gaz: this might help : http://www.anddev.org/using_soundpool_instead_of_mediaplayer-t3115.html May 27 02:29:36 yeh May 27 02:29:46 i think ive read every the net has to offer on soundpool in the last 4 hrs :) May 27 02:29:55 thx tho, im going to try it all again another day May 27 02:30:00 im happy with todays progress :) May 27 02:30:48 that's always good :) May 27 02:32:07 definitely May 27 02:35:29 oh another point i thnik .ogg just plays better, no proof of my own yet but its worth converting the files to it May 27 02:36:01 Hey, how do I make an activity that shows on top of another? May 27 02:36:15 Gaz: I'm using ogg anyway May 27 02:36:18 I think I need to set the theme, but I can't find the right one. May 27 02:41:51 sigh .. the sound API really sucks May 27 02:42:20 indeed it does May 27 02:45:48 I just went for some coffee at Bistro Maxine and it sounds like others should go relax before the I/O talks :-) May 27 02:46:45 kRutOn: will it be streamed btw? May 27 02:47:15 good question, but I don't know May 27 02:47:28 bein in the carribeans, I don't think I'll be there on time ;) May 27 02:48:17 there's still time to charter a jet May 27 02:49:55 hello...it is a good business make andriod apps? May 27 02:50:25 batman_ramirez: for google, probably May 27 02:50:34 batman_ramirez: for you as a business/person ... depends May 27 02:50:49 on what? May 27 02:51:23 on the applications you write and how well they are received obviously May 27 02:51:39 i mean... is as good as be an iphone developer ... as a business/person May 27 02:52:13 batman_ramirez: I'd say it's better in some ways May 27 02:52:37 batman_ramirez: first of all, the initial investment, if you don't already own a Mac, is lower May 27 02:53:08 sadly... in my country there are more iphones tan gphones May 27 02:53:10 batman_ramirez: well ... it's lower either way, as the dev. fee is lower for Android. but at least you don't have to buy a new comp from apple May 27 02:53:32 well thats a good point May 27 02:54:02 batman_ramirez: and Google doesn't ~weed~ out the applications, meaning that the moment you finish you application and put it on the market, it's there (compared to Apple's review policy which, as far as I know, can take some time and result in your application being rejected May 27 02:54:29 yes they do that May 27 02:54:39 the drawback, so far, is the relative low penetration of Android based phones, but that's hopefully going to change May 27 02:55:23 and the fact that your annual bill of prozac (or anti-depressant/relaxant of choice) might rise up to the roof, considering the comments you're bound to get, no matter how great your application is ;) May 27 02:55:49 ahahaha developers life May 27 02:55:56 still, whether it's good or not, is highly subjective May 27 02:56:03 i see May 27 02:56:33 oh .. Another drawback is that the Audio API does something starting with S and ending with UCKS May 27 02:56:55 (just as an aside, as I don't seem to be able to play a soundloop right now;) May 27 02:57:24 hmm that s...ucks **** ENDING LOGGING AT Wed May 27 02:59:57 2009