**** BEGIN LOGGING AT Fri Oct 03 02:59:57 2008 Oct 03 03:00:48 it's like choosing between getting a sucking chest wound and having 4 of your fingers hanging on by the skin, financially. Oct 03 03:00:58 can't we choose neither> Oct 03 03:01:00 ? Oct 03 03:02:29 21:59 @f00f palin wasn't sure how to pronounce nuclear Oct 03 03:02:29 22:00 @f00f i thought i heard her say nuclear once, but mostly nucular Oct 03 03:36:37 is there a toggle preference? Oct 03 03:36:45 yeah Oct 03 03:36:50 checkbox Oct 03 03:36:54 no toggle Oct 03 03:36:58 checkbox? Oct 03 03:37:03 toggle Oct 03 03:37:20 on/off Oct 03 03:37:29 conceptually that is a checkbox Oct 03 03:37:39 yeah, but toggle looks good Oct 03 03:37:52 well Oct 03 03:37:54 yes Oct 03 03:37:57 there is an on/off Oct 03 03:37:58 with a green light Oct 03 03:38:09 dare i pull out the code Oct 03 03:38:12 * f00f- checks Oct 03 03:38:19 right the same thing Oct 03 03:38:27 can it be used with preferences? Oct 03 03:38:36 android:key="default_yesno" Oct 03 03:38:36 android:defaultValue="true" Oct 03 03:38:36 android:title="@string/title_yesno_preference" Oct 03 03:38:36 android:summary="@string/summary_yesno_preference" Oct 03 03:38:38 android:dialogTitle="@string/dialog_title_yesno_preference" /> Oct 03 03:38:42 great!! Oct 03 03:38:50 thx bud Oct 03 03:38:55 you bet Oct 03 03:38:56 let me copy, paste Oct 03 03:39:20 where you get that? Oct 03 03:39:30 i stole it from ApiDemos Oct 03 03:39:35 i'm checking.. Oct 03 03:39:36 not found Oct 03 03:39:48 i hacked into google.com and stole it? Oct 03 03:39:51 i don't remember really Oct 03 03:39:53 ha Oct 03 03:40:14 but it doesn't look all that better iirc Oct 03 03:40:27 hmm Oct 03 03:40:27 you let me know how it is versus a checkbox Oct 03 03:40:38 its not in apidemos Oct 03 03:40:42 you hacked it Oct 03 03:41:00 sux4me Oct 03 03:41:08 hey! Oct 03 03:41:18 there's not YesNoPreference class Oct 03 03:42:01 wtf Oct 03 03:42:09 they removed in 1.0 Oct 03 03:42:30 it must be a style attribute for checkbox Oct 03 03:42:48 yes, that would make more sense Oct 03 03:43:00 not sure which attribute Oct 03 03:46:44 anyone know on/off toggle style for checkbox? Oct 03 03:47:09 f00f-: are you launching 22? Oct 03 03:47:19 muthu: not at this time Oct 03 03:47:26 why? Oct 03 03:47:32 pednav should be cool Oct 03 03:47:46 it will be, but i need to get a phone to try it on Oct 03 03:47:52 not going to release something without real-world testing Oct 03 03:47:54 no way Oct 03 03:48:01 hmmm Oct 03 03:48:17 blame it on google ;) Oct 03 03:48:23 already did ;) Oct 03 03:48:41 i'll release it with a disclaimer Oct 03 03:48:53 we're shooting for a november launch Oct 03 03:49:08 any feedback call: android@google.com Oct 03 03:49:14 he Oct 03 03:49:15 h Oct 03 03:49:18 hehe Oct 03 03:49:35 or ask the user to send his device for testing.. lol Oct 03 03:50:09 ha.. should be buttonstyletoogle Oct 03 03:50:12 for checkbox Oct 03 03:50:24 hm Oct 03 03:51:17 i gave up on o/s Oct 03 03:51:27 and decided to write some code instead Oct 03 03:51:45 fedora and ubuntu.. both screwed me l-r, t-b Oct 03 03:57:25 ok, there's a summaryoff/on Oct 03 04:01:42 umm okay Oct 03 04:02:06 still not sure, where got yesnopreference Oct 03 04:02:33 check 0.9 or private builds if you still Oct 03 04:02:34 have Oct 03 04:02:44 i'm pretty sure i copied it from a sample Oct 03 04:02:46 ok, might be 0.9 Oct 03 04:03:04 yeah there was a Preferences sample Oct 03 04:03:06 in ApiDemos Oct 03 04:03:15 right, i'm looking at 1.0 Oct 03 04:03:19 and yesno is gone Oct 03 04:03:27 was it stated in the ChangeLog ? Oct 03 04:03:33 let me look Oct 03 04:04:14 no, they don't write anything about samples Oct 03 04:04:25 summary on/off is cool Oct 03 04:04:29 it does the toggle trick Oct 03 04:23:10 i'm beginning to like the content provider concept Oct 03 05:00:30 i still haven't hooked on to it Oct 03 05:23:19 how to check if network is on? Oct 03 05:24:29 from a running emulator can we turn on/off network Oct 03 05:37:07 irc testing.. check.. 1 2 3 Oct 03 05:38:03 check out connectivityManager Oct 03 05:38:16 idk if theres any good way to test in the emulator tho Oct 03 05:38:17 what's the service? Oct 03 05:38:29 Context.CONNECTIVITY_SERVICE Oct 03 05:38:33 thx Oct 03 05:38:36 np Oct 03 05:38:43 what's up rob? Oct 03 05:38:50 notalot Oct 03 05:38:53 ready for Androgeddon? Oct 03 05:38:58 :\ Oct 03 05:39:06 yea Oct 03 05:39:07 hehe\ Oct 03 05:39:09 lotta work tho Oct 03 05:39:11 u? Oct 03 05:39:16 getting ready Oct 03 05:39:25 now that 22 is fixed Oct 03 05:39:29 alteast got some motiv Oct 03 05:39:35 ive had to take the week off of android to make sure i dont fail out of school... Oct 03 05:39:42 but no i can work on android again Oct 03 05:39:48 good Oct 03 05:39:51 :) yea it's good to have a date Oct 03 05:39:51 break helps Oct 03 05:39:55 yea Oct 03 05:40:06 date break reely helps Oct 03 05:40:31 think ur gonna lauch with the phone? Oct 03 05:40:38 yes Oct 03 05:40:49 if the market is open Oct 03 05:40:55 we open to upload Oct 03 05:41:08 hopefully they announce more soon Oct 03 05:41:21 hope hope hope Oct 03 05:41:40 ive got to figure out if i want to be on other app stores as well Oct 03 05:41:41 hope goog ships gphone to everyone Oct 03 05:41:52 market will rule Oct 03 05:41:55 that would be nice :) Oct 03 05:41:55 and may be one other Oct 03 05:41:59 like handango Oct 03 05:42:12 yea Oct 03 05:42:16 since market is free, that's where the crowd would be Oct 03 05:42:32 i wonder if many will move to handango just b/c of the free thing Oct 03 05:42:45 it would make it hard to exist on both for the first bit anyway Oct 03 05:42:46 yup, paid apps will Oct 03 05:43:01 no you can put a premium on handgo Oct 03 05:43:03 free on market Oct 03 05:43:10 i suppose the real question is if the customers will migrate Oct 03 05:43:20 this is great for users Oct 03 05:43:25 they can try free on market Oct 03 05:43:25 lite version on AM and full on handango Oct 03 05:43:31 then buy on handango Oct 03 05:43:51 if users happy, they buy Oct 03 05:43:53 that wouldn't be to bad Oct 03 05:43:58 put ad driven on market Oct 03 05:44:03 u know what handango is changing? Oct 03 05:44:10 ive got to email that guy back Oct 03 05:44:10 50/50 Oct 03 05:44:15 steep Oct 03 05:44:18 developers.handango.com Oct 03 05:44:24 sux Oct 03 05:44:28 yeah Oct 03 05:44:29 not worth it Oct 03 05:44:35 70/30 over a mil Oct 03 05:44:43 60/30 over 500k Oct 03 05:44:49 50/50 for anything less Oct 03 05:45:11 interesting Oct 03 05:45:24 so pretty much 50-50 Oct 03 05:45:41 registered, but yet to look at TOS Oct 03 05:45:54 500k per annum? Oct 03 05:46:00 sales Oct 03 05:46:13 sorry, revenue Oct 03 05:46:16 you're right Oct 03 05:46:38 register, its free Oct 03 05:46:45 just check it out Oct 03 05:47:02 we have atleast 5 different markets now Oct 03 05:47:21 is slideME launching with the phone? Oct 03 05:47:27 yeah Oct 03 05:47:32 who other than them and handango Oct 03 05:47:34 they're open 22 Oct 03 05:47:42 (and the official) Oct 03 05:47:48 market, handagno, slideme Oct 03 05:47:56 then found a few others in forum Oct 03 05:48:08 gibara has some sorta updater Oct 03 05:48:12 not sure if that's market Oct 03 05:48:42 on his site? Oct 03 05:48:49 yeah Oct 03 05:50:09 what's the primary android developer's forum, anddev? Oct 03 05:50:32 illuminum: http://groups.google.com/group/android-developers/topics Oct 03 05:50:32 http://groups.google.com/group/android-developers Oct 03 05:50:37 beat u Oct 03 05:50:43 hehe Oct 03 05:51:25 google groups is more like a mailing list Oct 03 05:51:32 i.e. spam-your-inbox model rather than a discussion forum Oct 03 05:52:07 anddev is also popular Oct 03 05:52:12 androidforums.com Oct 03 05:52:27 friendfeed.com/rooms/android Oct 03 05:52:42 androidzzzzzzzzzzzzzzzzz Oct 03 05:52:43 friendfeed will be perfect Oct 03 05:52:46 obama has an iphone app Oct 03 05:52:57 someone needs to contact whomever made that and port it to android ;) Oct 03 05:52:58 its a good idea to just put update reminder as a notification, i was planning on spamming the user with a dialog box everytime they opened it Oct 03 05:53:25 notification is the best Oct 03 05:55:44 offtopic: work is giving me a free macbook pro and i feel like a dirty whore for accepting Oct 03 05:56:02 yeah you are :) Oct 03 05:56:23 reject it and cleanse yourself ;) Oct 03 05:56:28 i want to see apple burn to the ground but having a platform that'll run software-hoarders apps might have its advantages since they're not going away overnight Oct 03 05:56:40 my linux laptop is really slow and old :( Oct 03 05:56:47 linux sucks Oct 03 05:56:52 the last 10 days was hell Oct 03 05:56:57 what do you expect me to run? the hurd? Oct 03 05:57:05 hehe Oct 03 05:57:18 xp Oct 03 05:57:27 aye Oct 03 05:59:37 offtopic again: how can I get into google without a formal cs bachelor's. I've got a bachelor's in accountancy and a masters in accountancy/it management coming up in a semester or so, and I do development and info-sys design/management with NCSA Oct 03 06:00:33 are you friends with sergey? Oct 03 06:00:39 no Oct 03 06:00:57 hmm.. then prolly need to send your resume Oct 03 06:01:26 labs.google.com Oct 03 06:06:19 aye I suppose so, I was just intimidated by the pre-req cs requirement--probabl difficult to get a resume seen when the ERP is hard-coded around things like that Oct 03 06:06:45 but whatever, maybe I'll just stick with NCSA and get another degree in CS while i'm here Oct 03 06:06:54 you can try Oct 03 06:06:56 never know Oct 03 06:08:45 illuminum: have a EE, CE, or Math bachelors Oct 03 06:09:41 I'm pretty sure Google will take those in lieu for a CS degree. Also Physics. you just have to have evidence you can code. Oct 03 06:15:18 http://www.xconomy.com/boston/2008/10/02/locale-app-for-android-phones-wouldnt-even-be-possible-on-the-iphone-says-winner-of-275k-developer-challenge/ Oct 03 06:15:30 wow! Oct 03 06:15:32 nice team Oct 03 06:15:47 3 girls, 2 boys Oct 03 06:16:37 simple idea, great execution Oct 03 06:17:00 jasta: check it out Oct 03 06:27:00 daym Oct 03 06:28:04 were any of them at I/o ? Oct 03 06:29:06 2nd page muthu Oct 03 06:29:08 of that interview Oct 03 06:29:13 look at the ON/OFF boxes Oct 03 06:29:22 that's waht the Yes/No prefernce was like Oct 03 06:36:16 yup Oct 03 06:38:27 * kaze has returned.. back again ..[gone/21h 53m 25s] Oct 03 06:48:53 * umdk1d3 home Oct 03 06:54:02 * kaze is gone.. autoaway after 15 min ..[cyp(l/on.p/on)] Oct 03 07:26:41 who's the android architect? Oct 03 07:54:25 who let the droid out? Oct 03 07:55:59 "routers everywhere"? Oct 03 07:58:27 Adamant, illuminum: fwiw, I studied Math and Linguistics Oct 03 07:58:51 gdsx: you work at Google? Oct 03 07:58:59 Linguistics is another good one Oct 03 07:59:00 yup; I'm on the Android team Oct 03 07:59:42 I wonder how they feel about Philosophers who work in the Logic arena. Oct 03 08:00:33 android = the best mobile development platform Oct 03 08:00:47 gdsx: who's the architect? Oct 03 08:00:55 muthu_: for the developer, you can't dispute that, at all. Oct 03 08:01:00 oh yeah Oct 03 08:01:09 un beee leeevable Oct 03 08:01:14 well, maybe if you like OpenMoko Oct 03 08:01:27 android is as easy as java Oct 03 08:01:50 android is the php of mobile Oct 03 08:02:18 muthu_: heh, don't say that Oct 03 08:02:32 that gets the point across ;) Oct 03 08:02:38 php has some good points and a lot of very bad ones Oct 03 08:03:10 ok Oct 03 08:03:14 android is the vb of mobile Oct 03 08:03:15 muthu_: that's like asking who the architect of GNU/Linux is. It's a team effort, and different people designed different pieces Oct 03 08:03:34 gdsx: the building blocks are great Oct 03 08:03:47 muthu_: well I associate PHP with "omg if I run this my database server will be dumped to the RBN" Oct 03 08:03:48 a few of them.. but just enough Oct 03 08:04:28 there's activity, service, contentprovider Oct 03 08:04:30 that's it Oct 03 08:04:35 nice. Oct 03 08:07:16 is there an inline edit box preference? Oct 03 08:13:59 re Oct 03 12:10:54 so.. whats this new market stuff? Oct 03 12:20:00 http://www.engadget.com/2008/10/02/android-market-will-offer-free-trials-but-not-free-bandwidth/ Oct 03 12:20:01 ? Oct 03 12:24:38 The last few sentences were difficult to parse. Oct 03 12:27:52 what? you offer free apps and tmobile charges you Oct 03 12:28:19 don't think the free apps can survive Oct 03 12:32:45 I can't see that sticking Oct 03 12:42:39 muthu_: i don't think you understood it.. Oct 03 12:42:44 its not tmobile charges for free apps. Oct 03 12:42:57 its tmobile charges for free apps that use more then 15MB of data per month Oct 03 12:43:07 let me read again.. Oct 03 12:43:23 and i think the bandwidth they are trying to limit is in app bandwidth Oct 03 12:43:24 how do they distinguish its an app instead of the browser using bandwith? Oct 03 12:43:31 Meanwhile, T-Mobile at least will be levying a $2/month fee on developers of free apps expected to use more than the (somewhat arbitrary) amount of 15MB of data per user per month, though how they'll be keeping track of that data outside of their own content stack is unclear -- our guess is that they can' Oct 03 12:43:31 so like turn by turn directions. Oct 03 12:43:31 and why do they care? Oct 03 12:43:44 monteslu: thats what they said they don't think they can do that. Oct 03 12:43:52 per user per month Oct 03 12:43:55 woah! Oct 03 12:43:56 very confusing article Oct 03 12:44:08 "fee on developers" Oct 03 12:44:12 monteslu: probably because they get some commission from apps. Oct 03 12:44:33 i still think its a cap for in app use. Oct 03 12:44:45 not from people downloading free apps from the store. Oct 03 12:44:46 but ionno Oct 03 12:44:50 it is a very confusing article Oct 03 12:44:54 this is basically saying, dont give apps for free Oct 03 12:45:15 maybe they mean 15mb worth of their bandwith in distributing the free apps Oct 03 12:45:21 That article is totally without sources - I'll wait until there's some actual news to read. Oct 03 12:45:41 I'm liking engadet less and less every article I see Oct 03 12:45:43 one of the comments below it says that they only charge for apps bought from tmobiles app store. Oct 03 12:45:46 not android, but ionno Oct 03 12:46:10 "Whether T-Mobile's bandwidth charge is enforceable or not is irrelevant for Android developers. The charge applies only to applications sold via T-Mobile's Applications Store and that store doesn't contain any Android applications - they are specifically excluded! For Android applications, go to other places, such as Google's Android Market. Therefore, no Android developers should be subject to T-Mobile's $2 bandwidth charge - at least for now. E Oct 03 12:47:15 oh ok Oct 03 12:47:22 tmobile store will feature only paid apps Oct 03 12:47:35 I didnt realise there were two stores Oct 03 12:47:54 I'll make a guess at which one will actually have usage Oct 03 12:47:57 :) Oct 03 12:52:11 android market and one more Oct 03 12:52:16 not sure about the second one Oct 03 12:53:49 tomgibara: moseycode on 22? Oct 03 12:55:16 muthu_: Moseycode late december (earliest) Oct 03 12:55:49 cool Oct 03 12:56:36 the non availability of device is pushing the release dates for a lot of apps Oct 03 12:56:56 all us chumps who are going to be peddling or giving away apps should create our own app store Oct 03 12:58:38 muthu_: that's true, but how much does that matter? Oct 03 12:58:48 It might matter more to the OHA, than us. Oct 03 12:58:50 it matters in the media Oct 03 12:59:11 the look at all kinda numbers Oct 03 12:59:57 I think the Google/OHA can spin a perfectly reasonable story that you can't judge the success of the platform by the number of apps that are available in the first month Oct 03 13:01:10 the constant comparison with iphone Oct 03 13:01:58 muthu_: People are shortsighted about that... as soon as there are 3/4 phones with android, people won't obsess about that. Oct 03 13:02:22 looking forward to lots of phones being out there Oct 03 13:02:42 me too Oct 03 13:03:19 davidw: how's your app coming along? Oct 03 13:03:23 any suggestions on how to search for a contact by number programatically? Oct 03 13:03:48 I just updated Hecl to 1.0 yesterday Oct 03 13:03:52 haven't done a lot otherwise Oct 03 13:03:58 ok Oct 03 13:04:50 the user ratings.. can that be scammed? Oct 03 13:05:08 in the market that is Oct 03 13:05:10 why, are you planning to? Oct 03 13:05:14 hehe Oct 03 13:05:37 my plan is to first release ;) Oct 03 13:06:35 Google have lots of experience with rating systems (amazingly trick in my experience) I hope they can produce a good system. Oct 03 13:07:11 *tricky Oct 03 13:07:13 yeah, but their captchas etc., have been broken Oct 03 13:07:27 what's that got to do with it? Oct 03 13:07:59 hackers will break whatever good system there is Oct 03 13:08:54 111111AAAAAAA-mobeegal Oct 03 13:09:03 Those are different things, gaming a system is different from hacking a system Oct 03 13:09:18 yup Oct 03 13:09:21 would be interesting Oct 03 13:11:20 tomgibara, I just read your moseycode webpage. Oct 03 13:11:48 I think you are describing DNS for objects Oct 03 13:14:19 gambler: It's certainly true that the barcode isn't the meat - it's the candy :) Oct 03 13:14:44 Yes, the repository of chambers that define the content of the barcodes is key Oct 03 13:15:09 i personally found it too abstract to grasp when i glanced at it a few months ago ;) Oct 03 13:15:09 well i hope you take it further. I think alot of app developers would appreciate a well managed alternative to DNS Oct 03 13:15:21 It provides much stronger semantics than barcode typically do (limited to URLs, contact details etc.) Oct 03 13:15:33 that fetches a little more than just ip-addresses and MX records Oct 03 13:15:51 The good news is that companies are already looking to adopt it Oct 03 13:16:33 thats good. Is it a global namespace? Oct 03 13:16:41 It is abstract, but it needs to be, it's basically an infrastructure project Oct 03 13:17:50 gambler: It's based on the idea that a developer/individual registers a chamber id, then within that chamber, they can allocate (trillions) of their own ids. Oct 03 13:20:28 I have a few android apps to release before moseycode though (much smaller thankfully) Oct 03 13:20:59 i think you could make it attractive to developers if you also added in support for RFID lookups within the same chamberspace Oct 03 13:22:16 gambler: Yes, there are many potential mappings that I can layer in, unfortunately, they'll have to wait a little while - since my focus will be returning to the android client-side Oct 03 13:25:00 ive had similiar but more wild ideas...I think youve picked a good niche though. Oct 03 13:28:09 is there an email example anywhere? Oct 03 13:28:52 hotmail.com? Oct 03 13:28:56 muthu_, what are you looking for Oct 03 13:31:02 email from android Oct 03 13:32:36 muthu_, google javamail...there is at least one really good GPL+w/classpath exception implementation Oct 03 13:32:55 there must be an android api Oct 03 13:34:58 muthu_: android.intent.action.SEND Oct 03 13:36:50 tomgibara: thx Oct 03 13:36:55 checking out SEND Oct 03 13:41:33 ACTION_ATTACH_DATA looks interesting Oct 03 13:43:41 don't think its for email attachemnts Oct 03 13:47:47 does anyone by any chance know what BT chipset the G1 is using? Oct 03 13:58:43 Obama has released an iphone app. Oct 03 13:59:02 I guess apple thought it would be a little too Jim Crow for them to censor that... Oct 03 14:00:19 in related news Sarah Palin has released a beauty accessory kit Oct 03 14:02:08 nice Oct 03 14:14:12 obama made a comment that sarah's app used too much memory, calling it somewhat of a pig Oct 03 14:14:21 of course the right wing took it wrong Oct 03 14:14:24 ouch Oct 03 15:05:55 hi, is t-mobile that will ship android in the uk? Oct 03 15:06:46 You mean the G1? Oct 03 15:08:34 ttuttle: is that the htc phone? will anything else be available? Oct 03 15:09:51 morning Oct 03 15:13:16 hi SanMehat Oct 03 15:13:56 congratulations, btw Oct 03 15:14:15 SanMehat: morning Oct 03 15:14:28 mohbana: the G1 is the only Android phone that has been announced to date. Oct 03 15:14:45 mohbana: There will hopefully be more. Oct 03 15:14:47 ttuttle: ok then ... so g1 Oct 03 15:15:01 only t-mobile will ship that right? Oct 03 15:15:09 mohbana: I don't know. Oct 03 15:15:35 mohbana: for the time being t-mobile/g1 are the only android phone/provider Oct 03 15:15:41 afaik Oct 03 15:15:59 motorola just hired a bunch of devs, so they'll probably be releasing an android phone at some point Oct 03 15:16:21 rumor has it there will be an android phone on sprint in 2009 Oct 03 15:16:29 or possibly before the end of 2008 Oct 03 15:16:44 i;'m asking about the carrier in the UK Oct 03 15:16:57 it's not going to be capped like apple did with the iphone is it? Oct 03 15:17:12 oh, UK... that I don't know Oct 03 15:28:57 thats a question for your carrier more than for the platform developers. like asking microsoft who is going to produce the next winmob phone - even if they know they can't say, and chances are they dont even know Oct 03 15:31:22 so anyone know if you can have different google accounts for mail/contacts and calendar on the g1? Oct 03 15:32:18 Disconnect: I'm pretty sure it has to all be one account Oct 03 15:35:27 damn. i've got some integration to do then :( Oct 03 15:36:02 I think you can reset the device to get to a different google account, but... Oct 03 15:36:21 summatusmentis: There's no easy "switch accounts" option. It really is intended for a single account. Oct 03 15:36:37 thats gonna be inconvenient when switching between my calendar (and the spam-filled disaster of the account there) and my personal email.. Oct 03 15:36:39 this single google account requirement will be a big pain Oct 03 15:36:46 yah. Oct 03 15:36:50 Disconnect: move your calendar? Oct 03 15:36:55 Oh. Oct 03 15:37:04 You can use other email accounts with Email (not Gmail). Oct 03 15:37:15 * anno^da is waiting for a totally different google independent PIM for Android :D Oct 03 15:37:37 can't you get your gmail via imap? Oct 03 15:37:44 anno^da: I'm actually interested in what happens. I hope someone makes an Exchange client, as then corporate users will be potential Android users. Oct 03 15:37:47 ttuttle: moving the calendar is great except for the invites, sharing permissions, etc etc that are all set in the formerly-main account (basically everything except email) Oct 03 15:38:05 zhobbs: Yeah, but then you're not using the Gmail interface. Oct 03 15:38:18 romainguy__: greetings Oct 03 15:42:05 hmm. is google login supposed to be busted on the emulator? allows for username input but i can't select hte password field Oct 03 15:42:18 I'd really like to know what app_thumbnails is in my app's data folder (/data/data//app_thumbnails)...it's getting huge, and I'm not the one writing to it Oct 03 15:43:13 Disconnect: Where's the login field? Oct 03 15:43:29 dev tools -> google login service Oct 03 15:43:43 ok Oct 03 15:43:51 clear, require google, it prompts Oct 03 15:44:05 works for me Oct 03 15:44:07 press the down arrow Oct 03 15:44:13 wow Oct 03 15:44:18 i was just about to type my password into irc Oct 03 15:44:21 ahhh. i tried tab, i tried clicking, etc. Oct 03 15:44:22 lol Oct 03 15:44:26 that'd be pretty funny Oct 03 15:44:40 Yeah, on the G1, I'd use the trackball. Oct 03 15:45:06 tapping should prolly work too, at least if thats a prompt that is shipping on the device somewhere :) Oct 03 15:45:17 Disconnect: I'm pretty sure it works. Oct 03 15:45:21 Disconnect: (on the device) Oct 03 15:46:24 cool Oct 03 16:24:02 so, as it turns out, they have no current plan on supporting plain xml for creating an AttributeSet Oct 03 16:35:49 herriojr: how do you specify attributeset now? Oct 03 16:36:40 what do you mean by that? Oct 03 16:37:02 I filed a bug and that's what they told me...I was trying to create a view from plain xml Oct 03 16:37:21 right, was wondering if you are work around with code Oct 03 16:37:59 Essentially, I did the following: http://pastebin.ca/1218162 Oct 03 16:38:11 oh, yeah, I'm going to do a work-a-round Oct 03 16:38:16 it's possible to do it Oct 03 16:38:30 I just have to build the view via java code instead of precompiled xml Oct 03 16:38:31 checking.. Oct 03 16:39:06 herriojr: it's an interesting idea...are these views going to be interactive in any way? how will that be handled? Oct 03 16:40:00 yeah, I was going to try and figure that out...I was going to maybe make a service that I could handle it, but I can't have multiple programs with the same service Oct 03 16:40:42 you can have multiple activities connected to the same service Oct 03 16:40:59 no, I want a single activity connected to multiple of the same service Oct 03 16:41:07 which I can't do :) Oct 03 16:41:29 basically, I am trying to make it so my program allows addins Oct 03 16:42:11 without having to support a scripting language Oct 03 16:42:19 doesn't bind let you do multiple? Oct 03 16:42:48 so, lets say I have multiple of the same aidl files in different apk's Oct 03 16:43:00 and I have one program that wants to access them all Oct 03 16:43:14 so they all have a common interface in which to interact Oct 03 16:43:24 hmm Oct 03 16:43:32 that's what I'm trying to figure out next Oct 03 16:44:49 I might just have to have a subset of actions that may be performed to start with Oct 03 16:45:00 and just call the activity directly Oct 03 16:45:17 so on a button click, go to so-and-so activity Oct 03 16:45:22 in another apk Oct 03 16:46:59 you mean through an intent? Oct 03 16:47:25 yeah, I don't know android all that well, I'm just trying to see if I can do what I want before I start :) Oct 03 16:48:12 so I just create really simple test applications to start Oct 03 16:48:33 i don't think you can interoperate with apks Oct 03 16:48:59 you can't start another application from your own? Oct 03 16:49:48 you can only raise an intent to do something Oct 03 16:49:49 I think you can, because their permission architecture seems to allow it Oct 03 16:49:56 yeah, that's fine Oct 03 16:50:10 I can create my own intents, correct? Oct 03 16:50:22 right Oct 03 16:51:08 yeah, so that shouldn't be too much of a problem Oct 03 16:52:09 but you can't be sharing aidl Oct 03 16:52:36 what do you mean by that? Oct 03 16:52:49 you mean multiple with the same aidl implemented? Oct 03 16:54:00 I was expecting I couldn't do that Oct 03 16:54:11 are you saying you'll have multiple services running in different apks? Oct 03 16:54:35 I was thinking about doing it that way, but I found out that they don't seem to have any support for that Oct 03 16:54:46 why would you do that? Oct 03 16:55:59 so, from my main program, I obtain an xml description of the view which may have different actions that may be performed on that view Oct 03 16:56:12 so I would have those other apk handle that Oct 03 16:56:21 and the view comes from one of the other apk's Oct 03 16:56:36 I'd have to have a common interface for all the apk "addins" in order to do this Oct 03 16:56:39 but it isn't possible Oct 03 16:56:52 so each addin would have implemented the same service Oct 03 16:57:50 basically, I'm trying to allow an apk to run in my main apk Oct 03 16:58:21 hmmmmm Oct 03 16:58:22 which as far as I know, android doesn't support, so I have to hack a way around it Oct 03 16:58:42 so it might not be the most ideal solution, but I'll use whatever works at this point Oct 03 16:59:05 why do you want to run an apk inside an apk? Oct 03 16:59:46 so, lets say I have a very basic mail program that just sends and receives emails and allows you to read and write them Oct 03 17:00:00 now lets say I want to allow anyone to write a filter that my program will use Oct 03 17:00:12 and I want the mail program to allow multiple filters Oct 03 17:00:52 or any other type of feature you may want someone else to be able to implement Oct 03 17:00:58 without having access to your code Oct 03 17:01:07 herriojr: yeah, I'd like to come up with a good system to allow people to write plugins... Oct 03 17:01:19 that's what I'm trying to create at the moment Oct 03 17:01:26 it might be hackish, but if it works, it works Oct 03 17:01:35 I guess plugin would be a better term for it :) Oct 03 17:02:24 Even BREW allows you to do this in some respects :) Oct 03 17:03:46 I can easily create a program to allow plugins in BREW....it's not hard at all Oct 03 17:04:53 herriojr: Blasphemy! Oct 03 17:05:03 lol Oct 03 17:05:33 what's BREW? Oct 03 17:05:42 http://brew.qualcomm.com/ Oct 03 17:05:51 it's what verizon uses on its phones for programming Oct 03 17:06:06 cingular uses j2me Oct 03 17:06:12 BREW is an API written in C Oct 03 17:07:20 so you want to be able to have a richer interface between the plugin and your program than you would have if the plugin were just another activity? Oct 03 17:08:11 service already lets you bing by interfaces Oct 03 17:08:25 I want my plugin to be able to be inserted into another activity Oct 03 17:08:37 so if I want to display a list of activities, I could Oct 03 17:08:51 *list of plugins Oct 03 17:09:25 you write an activity Oct 03 17:09:33 and make it available through intents Oct 03 17:09:45 so an activity can be placed inside another activity? Oct 03 17:09:49 from another apk? Oct 03 17:10:21 like you can call the maps app from within your activity and get a location back Oct 03 17:10:22 I thought activities take up the whole screen Oct 03 17:10:24 i think there's a tutorial Oct 03 17:10:41 no you can have non-fullscreen activities. there's also a multiple activity activity i forget the name. Oct 03 17:10:46 subclass of activity Oct 03 17:10:53 wastrel: Tabs? Oct 03 17:11:06 I thought the maps stuff is a API Oct 03 17:11:14 activitygroup Oct 03 17:11:18 ActivityGroup lets you embed them Oct 03 17:11:27 though not sure if you can embed them from another package Oct 03 17:11:54 yeah, if I can't embed them from another package, it can't really be considered a plugin, I'd have to bake them into my app Oct 03 17:13:11 plugins are provided by intents Oct 03 17:14:13 muthu_: that just launches an activity though Oct 03 17:14:25 does anyone know if you can somehow key in a ctrl+key code into the emulator? Oct 03 17:15:16 muthu: I don't want it to launch an activity in another apk, but instead display its activity inside my activity Oct 03 17:16:02 android doesn't support that Oct 03 17:16:16 herriojr: might want to try ActivityGroup Oct 03 17:16:28 it might work across packages...who knows Oct 03 17:17:41 ok, I'll try taht Oct 03 17:17:53 *that Oct 03 17:18:16 here's some code, just change the intent to one in another package: Oct 03 17:18:18 http://code.google.com/p/android/issues/detail?id=879 Oct 03 17:24:19 well, if it works, our plugin problem should disappear :) Oct 03 17:25:08 well, somewhat Oct 03 17:25:28 android system is full of plugins Oct 03 17:25:56 for example: openintents is all about plugins Oct 03 17:34:52 awesome, great link muthu Oct 03 17:44:39 muthu: this definately looks to be what I was looking for Oct 03 18:03:37 can anybody tell me, for testing purpose can i chnage the language, like from english to spanish, in emulator? Oct 03 18:03:42 and if yes, then how? Oct 03 18:03:52 you can't yes Oct 03 18:03:55 yet* Oct 03 18:04:46 tomgibara: ping Oct 03 18:05:22 an_dev: http://code.google.com/android/devel/resources-i18n.html#i18n Oct 03 18:06:04 thanks a lot zhobbs Oct 03 18:06:29 but i saw the language folder in my sdk folder :“\android-sdk-windows-1.0_r1\tools\lib\res\default” Oct 03 18:06:35 under this directory Oct 03 18:06:39 pjv: here Oct 03 18:06:48 why is this folders are there if they don't support it Oct 03 18:07:07 an_dev: I'm sure they will soon Oct 03 18:07:13 tomgibara, I'm looking to use veecheck in my app Oct 03 18:07:15 an_dev: they are supported Oct 03 18:07:22 the system can be built with a locale for instance Oct 03 18:07:33 the sample app zip you made seems to miss veecheck.util Oct 03 18:07:54 miss how? Oct 03 18:08:30 romainguy:really? Oct 03 18:08:32 how? Oct 03 18:08:41 ah I see now, they belong to the jar Oct 03 18:08:46 (it's quite possible I missed something, when I zipped it all together - I haven't put together a publish script) Oct 03 18:09:31 pjv: Yes, maybe I should make that clear - the sample app depends on the veecheck library Oct 03 18:10:26 Also I realized that I forgot to inform potential users that they can register for boot completed events (to make sure the polling starts on a device restart) Oct 03 18:10:43 also, I'm somewhat confused about the roles of the VeecheckReceiver and the VeecheckService Oct 03 18:11:14 muthu: actually, it may not be what I'm looking for Oct 03 18:11:16 at least the createSettings() and createNotifier() methods aren't well-chosen (as names) Oct 03 18:11:28 why? Oct 03 18:11:31 maybe rename them createVeecheckSettings() etc? Oct 03 18:12:03 whats Veecheck? Oct 03 18:12:10 well a method called createSettings on a VeecheckReceiver class that returns a VeecheckSettings object doesn't need another Veecheck does it :) Oct 03 18:12:37 see, I'm confused because SampleService doesn't contain a great deal of code Oct 03 18:12:43 jasta: just this: http://www.tomgibara.com/android/veecheck/ Oct 03 18:12:57 it just implements the createNotifier method and returns a notifier that is already another class Oct 03 18:13:22 neat, but hopefully android provides this mechanism itself Oct 03 18:13:22 pjv: It contains only the code the needs to be done on the main thread Oct 03 18:13:23 SampleNotifier which extends BaseNotifier Oct 03 18:13:33 i hate when application developers have to fuss with distribution Oct 03 18:14:04 my gut feeling here is that you could save a lot of these inheritances Oct 03 18:14:17 but then again I should look into it deeper ;-) Oct 03 18:14:20 * tomgibara back soon Oct 03 18:14:25 sure Oct 03 18:31:11 quick question regarding the map functions in android Oct 03 18:31:32 is there a method in map that searches for business around a certain location? Oct 03 18:44:15 pjv: I was going to say that producing a java library like this for android strikes me as a bit tricky - creation of the components is delegated, but there's no mechanism (eg. JNDI or IOC) for customizing them at the Java object level. Oct 03 18:44:54 ok Oct 03 18:45:06 I see what you mean Oct 03 18:45:44 the package is of very good quality actually (as well as the docs) Oct 03 18:45:58 it's also a 'good' black box Oct 03 18:46:06 tricky is a relative term here - this library was very easy to write quickly, but it is lacking in its API. I couldn't quickly see a clean way to make it customizable and clean Oct 03 18:46:19 just that the interfacing with it could be a little smaller Oct 03 18:46:47 well, what do I want for version checking in my app? Oct 03 18:47:13 I suppose I want to have a way to tell your lib to do a version check (an intent can do that) Oct 03 18:47:17 second.. Oct 03 18:47:32 I want to tell it what to check and where -> via the preferences Oct 03 18:47:52 and thridly I might want to supply a message for the notification Oct 03 18:47:58 but thats it Oct 03 18:48:07 pjv: and that's just what I provide for isn't it? Oct 03 18:48:12 your lib is capable of much more (thats also a good thing) Oct 03 18:48:39 well, do *I* need to provide the BroadcastReceiver for this? Oct 03 18:49:15 yes, if you want periodic background checking Oct 03 18:49:33 if you don't, you don't, you can just use the service Oct 03 18:50:00 ok, I'm starting to see the why's now: Oct 03 18:50:03 hey u guys know if there is a map related service that i can search for business around a certain geolocation? Oct 03 18:50:20 you couldn't put the BroadcastReceiver in the lib because of android? Oct 03 18:51:10 The base class for the BroadcastReceiver is in the lib, but my only option for allowing the client code to customize its settings is by allowing them to extend it Oct 03 18:52:01 so I don't need to extend into a SampleRetriever? Oct 03 18:53:00 Yes you do, because you need to supply an implementation of createSettings. I could have implemented that to return a PrefSettings by default, but I decided not to in the end Oct 03 18:53:03 It was a close call Oct 03 18:54:24 I'm not going to fight your call because I lack the insights for good judgement atm Oct 03 18:54:27 My reasoning was that: I can't avoid extending the service (so the API will involve some extending anyway), the default implementation makes it less clear what is required of the extended class and since you need to register the receiver in the Manifest anyway, it seems cleaner that you are only registering your own components Oct 03 18:55:50 hmm, i just had a novel thought Oct 03 18:55:55 This library was written at great haste - and I may regret some of the judgements, most were just based on intuition gained by practice. Oct 03 18:56:00 i'm going to prototype a few UIs before i actually functionally implement one Oct 03 18:56:05 that will save lots of time :) Oct 03 18:56:35 the docs say: createSettings: Supplies the settings that govern the operation of this BroadcastReceiver within the given context. Oct 03 18:56:40 that's not at all clear Oct 03 18:56:52 What should it say? Oct 03 18:57:12 and then the implementation is "return new PrefSettings(context);", and I don't even *have* to know about PrefSettings Oct 03 18:57:52 pjv: which class's docs are you looking at? Oct 03 18:57:58 I have no idea, I haven't figured out what it does (or allows to do) yet, I would just copy this Oct 03 18:58:11 anyone know what function i should use if i want to search for businesses around a certain location? Oct 03 18:58:11 VeecheckReceiver Oct 03 18:58:33 how can i do that with map activity? Oct 03 18:58:43 and the implementation in SampleRetriever (should that be "receiver" btw?) Oct 03 18:59:08 pjv: yes ideally for consistency it should, I changed the name at one point Oct 03 18:59:18 hehe, the demo of TuneWiki shows a god awful music collection :) Oct 03 18:59:31 i hope that was just a made up set for the video. blech. Oct 03 18:59:34 tomgibara, I really can't tell it was written at haste, there are good prospects for it, just some rough edges since it's just released Oct 03 18:59:45 pjv: I'm not clear what you expect the documentation of the createSettings method to tell you Oct 03 19:00:34 pjv: :) don't worry about providing criticisms, those rough edges demonstrate how hasty it was Oct 03 19:00:55 let's see Oct 03 19:01:19 PrefSettings implements VeecheckSettings (which is a package down??) Oct 03 19:02:36 ah ok Oct 03 19:02:36 does that confuse you? (btw the package structure in Java nominally heierarchial, but technically flat) Oct 03 19:03:19 (it does confuse) Oct 03 19:03:35 It's a pretty standard idiom in java library design Oct 03 19:03:47 ok, I see in createSettings() I can somewhat provide my proper source of preferences Oct 03 19:05:04 it's not packages by themselves that confuse me, but I would expect the interface and the implementation class in the same package, at least for a simple lib like this Oct 03 19:05:34 what's "util" about PrefSettings, that's not "util" about VeecheckSettings? Oct 03 19:05:58 I think they are both util Oct 03 19:06:09 As I said it's idomatic java - the util package is providing you with helper classes that the main library doesn't require Oct 03 19:06:19 ah ok Oct 03 19:06:25 In that sense they are strictly utilitarian Oct 03 19:07:06 back to the createSettings() Oct 03 19:07:28 suppose in my app I already have a PreferencesActivity and a source/file for preferences Oct 03 19:07:53 then I would need to implement VeecheckSettings? Oct 03 19:07:59 yes Oct 03 19:08:52 and then I would supply that to the receiver Oct 03 19:09:09 by extending it, yes. Oct 03 19:09:17 yes Oct 03 19:09:31 isn't there an easier way? like.. Oct 03 19:09:47 like just passing on the name of the preferences file? Oct 03 19:10:14 If you want to force the library to use a preferences file, yes, you could do that. Oct 03 19:10:33 (I mean a SharedPreferences) Oct 03 19:10:50 that would save me from 1) extending the receiver 2) implementing VeecheckSettings and somewhat 7 methods 3) probably some more stuff Oct 03 19:11:16 any disadvantages with this? Oct 03 19:11:49 1) impossibility to save preferences in a "manual" way Oct 03 19:12:30 pjv: you could argue that it's an error to assume in the implementation of PrefSettings, a particular name (though I think I've made the right call there), but I don't agree that its a good trade off Oct 03 19:12:50 You have forever constrained the library design for what? Oct 03 19:13:24 if you're making a black box you're always constraining at some level Oct 03 19:13:58 when developing for android it would be reasonable to expect that people save their preferences in a SharedPreference Oct 03 19:14:00 pjv: Yes, in principle the least constrained library is the one that does nothing - not a helpful argument :) Oct 03 19:14:57 These aren't entirely user preferences - and in some apps they may not be expressed as preferences at all. Oct 03 19:15:32 hmm, ok, fair argument Oct 03 19:16:12 One could regard storing the CHECK_URI in the preferences as an abuse of the preferences - it's belongs in the application 'domain', not preferences. Oct 03 19:16:34 again it's a convenient trade off, but I don't want to force it onto the client code Oct 03 19:17:35 true Oct 03 19:19:04 and I suppose this discussion can be repeated for the notifications in the service?: rather than constraining to just the message of a notification, the lib currently allows to do *any* form of notification Oct 03 19:19:42 pjv: Yes, though the need to customize the notification programmatically is more pressing Oct 03 19:20:17 tomgibara, I would just stick with this design then Oct 03 19:20:25 :) Oct 03 19:20:31 but maybe you could add some of this reasoning to the documentation? Oct 03 19:20:39 difficult to put in the api doc Oct 03 19:20:47 but maybe in the sample app comments? Oct 03 19:21:12 because it's just not clear from the docs Oct 03 19:21:26 it's quite clear to me now because of your effort (thx btw) Oct 03 19:22:05 docs often fail in the "what do they expect of me?" (regular behaviour) part Oct 03 19:22:21 at least the android docs do fail there too sometimes Oct 03 19:22:25 pjv: Gauss: "no self-respecting architect leaves the scaffolding in place after completing the building" Oct 03 19:23:22 (I quote ironically) Oct 03 19:25:02 thus far my feedback ;-) Oct 03 19:25:46 thanks for your explanations, hope it was still useful Oct 03 19:26:10 np, sure Oct 03 19:26:53 oh, and I'm pretty sure Gauss didn't draw or build buildings ;-) Oct 03 19:28:20 pjv: He had eyes and knew the scaffolding got removed when buildings were finished :) Oct 03 19:54:50 hi all Oct 03 19:55:08 hey, im looking all over the site, and cant find any post-1.0 roadmap Oct 03 19:57:04 ishmal2: this is the only one afaik http://www.android.com/timeline.html Oct 03 19:57:25 is it possible to return an activity from an intent? Oct 03 19:58:20 herriojr: don't think so, unless you're using a LocalActivityManager Oct 03 19:58:29 hmm, ok Oct 03 19:58:42 I don't think the link mushu gave me earlier will work Oct 03 19:59:00 I think it's just a package with a bunch of pre-defined GUI structures, so you don't have to build them Oct 03 19:59:37 I don't think it allows for other application activities to be displayed in my activity group Oct 03 19:59:46 wondering when in the future i can dig up my app's code that used the GtalkService, and port it to whatever replaces it in the future Oct 03 20:04:37 i'm really glad i avoided the gtalkservice ;) Oct 03 20:05:34 i know i can do it with a tcpip xmpp client, but the always-on part was the charm, Oct 03 20:05:46 and not impacting the user's monthly bandwidth Oct 03 20:05:56 the "always-on" part was just that it was a service that tried to stay connected forever. Oct 03 20:06:13 which you could write yourself Oct 03 20:10:26 i've done a couple of xmpp clients. also, Smack works wonders Oct 03 20:10:34 but i'll wait Oct 03 20:11:25 * Disconnect is a fan of openfire actually, but havne't worked with smack (except as part of spark, which is .. meh..) Oct 03 20:11:34 they said "don't despair," so i won't :-) Oct 03 20:15:55 the only thing i dont like about Smack, is that the api for extending s is kinda clumsy Oct 03 20:20:33 well, not "don't like" . just it could be better Oct 03 20:40:51 tomgibara, I incorporated it into my app, and I think I covered everything, yet I see no notifications Oct 03 20:41:11 any pointers on debugging this? (like: how can I check if it fetches the xml?) Oct 03 20:43:02 what does the m in front of some variable names in the Notepad tutorial mean? Oct 03 20:43:04 pjv: two things Oct 03 20:43:13 for example private final Context mCtx; Oct 03 20:44:14 I forgot to cover in the documentation that the receiver can be registered for the BOOT_COMPLETED intent - that will kick off the scheduling of checks when the device boots Oct 03 20:45:15 wastrel: (guess) it's a class member variable Oct 03 20:45:24 ok, to narrow things down I have the follwoing in my main activity's onCreate(): sendBroadcast(new Intent(VersioncheckBroadcastReceiver.ACTION_CONSIDER_CHECK)); Oct 03 20:45:49 so a check should be made at the start of my app Oct 03 20:46:10 and I am starting it Oct 03 20:46:56 the SampleNotifier was complete wasn't it? Oct 03 20:48:15 gdsx: ok that makes sense. m(ember) Oct 03 20:48:28 and the exampels i have are all declared private Oct 03 20:48:38 ok tried the different entry point, got an exception now, let's see Oct 03 20:50:22 the other thing is that there is debug under the "veecheck" tag Oct 03 20:50:40 thats useful Oct 03 20:50:50 (I forgot to check loggability before making verbose calls - that's another rough edge) Oct 03 20:54:07 can i modify string.xml from my java code? Oct 03 21:01:03 hi Oct 03 21:01:52 Disconnect: i used to get lots of crashes (VM deaths) with openfire until recently. Oct 03 21:02:06 tomgibara, ok getting something at system startup: Oct 03 21:02:10 10-03 23:00:01.164: DEBUG/veecheck(158): Receiver called Oct 03 21:02:26 10-03 23:00:01.184: VERBOSE/veecheck(158): Receiver called with action: android.intent.action.BOOT_COMPLETED Oct 03 21:02:32 10-03 23:00:01.184: DEBUG/veecheck(158): Registering checks with alarm service Oct 03 21:02:37 10-03 23:00:03.534: VERBOSE/veecheck(158): Check period is 1000ms starting from Fri Oct 03 23:00:02 GMT+02:00 2008 Oct 03 21:03:04 but no notifications Oct 03 21:05:14 I should be getting a notification (in the status bar) every second now right (since the xml file I uploaded specifies the same version and an intent for it)? Oct 03 21:06:52 zhobbs: I got a reply back about creating plugins Oct 03 21:07:10 zhobbs: http://code.google.com/p/android/issues/detail?id=937 Oct 03 21:12:49 herriojr: looks like that's using an ActivityGroup, getLocalActivity() is a method of ActivityGroup Oct 03 21:12:59 getLocalActivityManager() I mean Oct 03 21:19:31 yeah, which I'm excited about Oct 03 21:20:09 I'm glad I can actually do it without doing some hocus pocus Oct 03 21:20:20 now I'll actually start building my app :) Oct 03 21:39:53 so the android isn't going to restricted to only t-mobile? Oct 03 21:40:39 Why should it be restricted to T-Mobile ? Oct 03 21:40:39 android no, the G1, maybe.. Oct 03 21:40:54 Even the G1 is not. Oct 03 21:41:01 well, in the US it basically is Oct 03 21:41:16 if you want 3G anyway, and even still it could only go unlocked to AT&T (sans 3G) Oct 03 21:41:33 the issue of locked-in control is largely hardware compatibility, in my mind. Oct 03 21:41:44 i'm talking about in UK Oct 03 21:41:45 it's so much easier to lock consumers in when the devices largely are not interoperable Oct 03 21:42:38 mohbana: well, who knows. the t-mobile CTO claims unlocked phones will be available, but it was not officially announced as an option so i dont know how to interpret that Oct 03 21:43:11 doesn't much matter for me tho, my gf's brother is a low-level executive at T-Mobile with just enough power to get me unlocked and sometimes free devices ;) Oct 03 21:43:26 i was pretty sure the t-mobile said the G1s were locked to t-mobile? Oct 03 21:44:00 what I've heard is that T-mobile will give you an unlock code after 90 days if you request it Oct 03 21:44:03 jasonlee: and they are, but then the CTO is quoted the day of that announcement as saying that unlocked phones will be available. Oct 03 21:44:03 Well the CTO mentioned that unlocked phones will be available for 399 Oct 03 21:44:09 and that consumers can unlock them themselves after so much time Oct 03 21:44:26 ahh Oct 03 21:44:36 but its really hard to interpret because he might have just been uninformed or something Oct 03 21:44:48 Yeah. And for people in Europe this would be perfect beacuse it is no problem to get sim cards here without a contract and with the possibility to use 3G Oct 03 21:47:45 But jasta is right we dont really know anything official. Oct 03 21:47:59 But well eBay will have lots of unlocked phones. ;) Oct 03 21:48:10 well they have to come from somewhere to be on eBay Oct 03 21:48:25 so that will depend on who can get unlocked phones and how? :) Oct 03 21:48:28 ebay already has lots of g1's on there Oct 03 21:49:58 zhobbs: theyre not unlocked tho, theyre just selling the presale ones Oct 03 21:50:04 yeah Oct 03 21:50:08 and theyre "no contract" but not unlocked Oct 03 21:50:12 a really huge difference Oct 03 21:52:19 i wonder what HTC's cost is on this device. Oct 03 21:54:24 I would assume that it is cheaper than the iPhone Oct 03 21:54:37 well it's certainly not as well built as the iphone Oct 03 21:55:37 and i've been hearing really bad things about the G1's battery life, about equivalent to the iphone 3g Oct 03 21:55:51 unix_lappy: at least it's replaceable Oct 03 21:55:55 yeah, it has less battery than my current winmo phone, and that thing dies all the time Oct 03 21:56:24 the g1's battery is less godawful than what was in my last winmo device Oct 03 21:56:25 zhobbs: well it'll obviously be easier to turn 3g on and off on the android phone. Oct 03 21:57:34 jasta: note that pre-production and production G1s will likely differ as far as battery lifespan (and, thus battery life) goes, due to some issues that were ironed out Oct 03 21:58:20 gdsx: i just meant in terms of the mAh of the battery Oct 03 21:58:26 so its a smaller battery than my current phone, at least Oct 03 21:58:32 whether it is more efficient i dont know. probably is :) Oct 03 21:58:40 jasta: aah, ::nod:: Oct 03 21:59:02 jasta: basically, the capacity of pre-production devices will drop faster than that of the production devices Oct 03 22:01:20 well the g1 and the iphone are about 1400mAH. though the iPhone is underclocked. Oct 03 22:02:09 not sure how to compare power management though across devices. Oct 03 22:02:12 In an effort to make it easy to change text, back ground colors etc in my app. All the color definitions are in a string file. These colors are referenced in the code to but when referenced in layouts I get a crash at runtime. Does anyone know if this concept is possible? Oct 03 22:02:12 Example: Oct 03 22:02:12 #FFF56505 Oct 03 22:02:12 android:textColor="@string/cell_text_color" Oct 03 22:02:15 unix_lappy: uhh, i read 1150mAh Oct 03 22:03:00 yes Oct 03 22:03:02 dmoffett: why not use ? Oct 03 22:03:58 jasta: whoops, yea the iphone is around 1400, the G1 is around 1200 Oct 03 22:04:12 zhobbs: you mean in the layout? Oct 03 22:05:35 * unix_lappy honestly thinks that coming out with the Touch HD and the G1 simultaneously as Android Devices would've garnered a much better release. Oct 03 22:06:00 unix_lappy: g1 is underclocked as well (the CPU is) Oct 03 22:06:05 dmoffett: #FF000000 Oct 03 22:06:37 android:textColor="@drawable/black" Oct 03 22:06:46 zhobbs: thank you. I iwll study that for a bit. Oct 03 22:06:59 but I think there is / @color also Oct 03 22:07:10 there is Oct 03 22:07:17 I define those in res/values/colors.xml Oct 03 22:10:40 these xml files can make your life easier if you know what the hell you doing. :-) Oct 03 22:12:21 romainguy: from 528mhz to? Oct 03 22:12:30 swetland can give you the real number Oct 03 22:12:39 heh. Oct 03 22:13:57 unix_lappy: but it's something like 384 Mhz Oct 03 22:14:05 that low? Oct 03 22:14:19 it's not that low :) Oct 03 22:14:24 it's just a phone after all Oct 03 22:14:45 meh, it's likely on par with the iPhone. Oct 03 22:15:19 it's underclocked for power consumption? Oct 03 22:15:32 yes Oct 03 22:16:01 the CPU is also throttled dynamically Oct 03 22:16:06 but again swetland knows that stuff :)) Oct 03 22:19:05 yeah, we run at 245-384MHz. 528 draws a good bit more power for not a huge performance gain. Oct 03 22:19:33 we're working on improving the dynamic cpu scaling stuff and may boost the top speed once we're happy with the power/performance tradeoffs Oct 03 22:22:12 so, again: Oct 03 22:22:14 dumb GC Oct 03 22:22:17 interpreted VM Oct 03 22:22:25 non-hw accelerated graphics rendering Oct 03 22:22:31 384 Mhz Oct 03 22:22:41 there's room for improvement in future versions of Android :) Oct 03 22:22:58 it's actually pretty cool to see how fast our stuff run Oct 03 22:27:14 romainguy: i love that, seeing huge opt potential and yet, reasonable performance Oct 03 22:27:19 but don't get complacent ;) Oct 03 22:27:52 we don't Oct 03 22:29:27 how do you mean by interpreted VM? no JIT? Oct 03 22:32:00 hey, does the IMAP client support IMAP IDLE? Oct 03 22:32:14 for push e-mail? Oct 03 22:32:58 I can't seem to get permissions to work properly, how do I set it up so I can start another apk? Oct 03 22:33:09 jasta: that's not really "push" Oct 03 22:33:16 I tried creating my own permission, but that doesn't seem to work Oct 03 22:33:20 jasta: that's just using the IDLE as a poll Oct 03 22:33:43 (unless the server can send an IDLE, I guess) Oct 03 22:34:18 jasta: yeah, no JIT Oct 03 22:34:23 in the calling package, I do Oct 03 22:34:31 gdsx: how does that compare with "real" push? Oct 03 22:34:38 herriojr: did you declare the permission in your manifest? Oct 03 22:34:50 something like this: Oct 03 22:34:51 android:permissionGroup="android.permission-group.SYSTEM_TOOLS" Oct 03 22:34:51 android:protectionLevel="normal" Oct 03 22:34:51 android:label="@string/permlab_install_shortcut" Oct 03 22:34:51 android:description="@string/permdesc_install_shortcut"/> Oct 03 22:34:52 i understood push e-mail to be just a really light connection that is maintained to the server, which reacts when new mail arrives Oct 03 22:35:20 romainguy: yes Oct 03 22:35:53 jasta: in "real" push, the server sends a notification packet without the device polling for it Oct 03 22:36:19 jasta: afaik, the mail itself is never actually pushed, so it's sort of a misnomer in that sense Oct 03 22:36:40 Oct 03 22:36:41 jasta: but it does mean that the device doesn't have to poll (as long as it has some method to make sure the connection is up) Oct 03 22:37:01 gdsx: i don't see the difference between IMAP IDLE and this. Oct 03 22:37:54 jasta: does the server send IDLEs to the clients? Oct 03 22:38:44 I still get java.lang.SecurityException: Requesting code from com.mycompany.android.plugin (with uid 10018) to be run in process androidtest.test (with uid 10017) Oct 03 22:38:51 gdsx: it is a client-side command that instructs the server to leave the connection open indefinitely (permitting small keep-alives). the server will respond when a new message arrives. Oct 03 22:38:57 romainguy: is there another permission I need to include to run another app? Oct 03 22:39:22 the client thus can make a connection, set it idle, and just wait indefinitely for the server to say something. the overhead involved is merely that of maintaining a TCP connection to a remote peer Oct 03 22:39:44 jasta: yeah, ok; I didn't realize it worked that way Oct 03 22:39:47 i understood this to be push e-mail. Oct 03 22:39:52 that basic strategy, i mean Oct 03 22:39:58 jasta: yeah Oct 03 22:40:06 gdsx: http://www.faqs.org/rfcs/rfc2177.html -- look at the "Example:"... Oct 03 22:40:21 haha; not feeling like RFCs right now :o) Oct 03 22:40:24 so, i ask again, does the G1's IMAP client support this? :) Oct 03 22:40:34 gdsx: it's just a simple command session, it will make it obvious how it works Oct 03 22:40:35 jasta: I don't know Oct 03 22:41:13 IMAP IDLE is supported by Exchange, so that would be a really quick win to support users who are forced to use Exchange mail Oct 03 22:41:22 without having to do polling Oct 03 22:41:55 polling IMAP isn't a big concern for me really.... Oct 03 22:42:07 IMAP IDLE is really simple too. it's just an extra IMAP command tacked onto the protocol. Oct 03 22:42:13 zhobbs: polling costs battery Oct 03 22:42:15 zhobbs: it's much worse for battery life. Oct 03 22:42:19 yeah Oct 03 22:42:31 I guess if it's set to do it every 5 mins that probably adds up quick Oct 03 22:42:52 even 30 minutes will have a measurable impact on battery life versus IMAP IDLE with infrequently received mail Oct 03 22:42:55 zhobbs: the problem is that, without push, you have to balance battery life and mail delivery latency Oct 03 22:43:13 that would be super lame for Google to skip such an obvious feature :( Oct 03 22:43:16 iPhone's mail app did :( Oct 03 22:43:28 IMAP IDLE is supported by like every IMAP server i've ever encountered Oct 03 22:43:47 zhobbs: so if you poll every 30 minutes, and someone sends an email right after the window starts, you wait 29 minutes rather than hearing about it when it gets there Oct 03 22:43:49 hell i mean the RFC that added it was published in 1997 Oct 03 22:43:52 I think Android's IMAP client will be open source at least Oct 03 22:44:12 zhobbs: really? i would've thought not, actually Oct 03 22:45:11 my understanding is that "google" apps won't be (gmail,youtube, maps), but android apps will be (email, alarm clock, etc) Oct 03 22:45:25 but I could be wrong Oct 03 22:45:30 zhobbs: will email and gmail actually be that different? Oct 03 22:45:42 in that they are two truly separate apps? Oct 03 22:45:53 push Oct 03 22:46:05 jasta: they are two separate apps Oct 03 22:46:10 interesting Oct 03 22:46:19 well, that would be great if its open source then. IMAP IDLE should be a sync to add. Oct 03 22:46:23 err, i meant sinch :) Oct 03 22:46:31 heh Oct 03 22:46:33 cinch Oct 03 22:46:38 *whatever* Oct 03 22:46:50 we report - you decide Oct 03 22:48:52 romainguy: here's what my manifest files look like http://pastebin.ca/1218488 Oct 03 22:49:06 the first is the application being called, and the second is the calling application Oct 03 23:10:43 I can't find an example at all Oct 03 23:23:53 what permissions do I need to run an activity with a different uid? Oct 03 23:25:33 can I cheer up somebody's day with a little Android's Fortune?: https://launchpad.net/androidsfortune/0.1.0/0.1.0 Oct 03 23:26:10 only if it tells me what permissions I need to start another app's activity :) Oct 03 23:26:12 more explicitly this is a project (the well-known fortune program) I have been working on for some time Oct 03 23:26:30 have any screen shots? Oct 03 23:26:43 herriojr, ehm you don't need permissions to do that afaik Oct 03 23:26:52 sure just a sec Oct 03 23:27:17 I keep getting permission error when I try to display it as part of a ActivityGroup Oct 03 23:28:59 but it doesn't inform me of what permission I need Oct 03 23:29:01 herriojr: I believe the answer is "you can't" Oct 03 23:29:22 or, not without being a system process Oct 03 23:29:30 I might be completely wrong, though Oct 03 23:29:30 http://launchpad.net/androidsfortune/0.1.0/0.1.0/+download/001.png Oct 03 23:29:49 http://code.google.com/p/android/issues/detail?id=937 Oct 03 23:30:40 herriojr: yeah, the upshot is that you can get the different bits to run under the _same_ uid Oct 03 23:31:04 can I make multiple applications have the same UID then? Oct 03 23:31:20 jasta, I said I would have more information today Oct 03 23:31:23 yes, I forget exactly how, though :o) Oct 03 23:32:13 herriojr: I know it involves them being signed with the same dev key, and you have to do something in the manifest also Oct 03 23:32:22 :-) Oct 03 23:35:12 ok, I found that thing Oct 03 23:35:27 so how can I give third party developers the ability to sign with my dev key? Oct 03 23:36:13 herriojr: I'm not sure, but I believe the plugin thing is something we're still working out (in that you wouldn't want other folks to be able to sign with your dev key) Oct 03 23:36:22 herriojr: romainguy likely has more info Oct 03 23:37:12 maybe they can ship me their package, and I can sign it for them? Oct 03 23:37:31 so they can't just sign anything with my dev key Oct 03 23:38:14 herriojr: that's still not good Oct 03 23:38:43 herriojr: if something bad happens (bug/malicious), it's Your Problem Oct 03 23:38:59 yeah, I know, but there should be some way to allow me to include other applications' views in my application if they give me permission Oct 03 23:39:22 herriojr: again, I'm not really the person to talk to about this Oct 03 23:39:27 ok :) Oct 03 23:39:36 well, anytime romainguy wants to jump in :) Oct 04 02:56:22 do i need to have the guest additions installed to get my virtual NIC working? Oct 04 02:56:52 (ubuntu guest, windows host) Oct 04 02:58:13 whoops, wrong chan. **** ENDING LOGGING AT Sat Oct 04 02:59:57 2008