**** BEGIN LOGGING AT Mon Feb 11 02:59:56 2008 Feb 11 03:05:53 anyone know how to access the wallpapers on the system? Feb 11 03:11:39 not off hand. they're probably in a content provider somewhere. Feb 11 03:23:59 you think google would care if I figured out a way to convert all those binary xml files in the system apk's to test xml and published the results? Feb 11 03:24:10 s/test/text Feb 11 03:24:21 what does it matter if Google cares? Feb 11 03:24:52 well, wondering about the copyright laws on "decompilation" Feb 11 03:24:53 all this material is released under the Apache 2 license, which permits you to do with it as you please. Feb 11 03:25:08 hmm, is it really apache 2 yet? Feb 11 03:25:12 Yes, it is. Feb 11 03:26:32 interesting...so for closed source apk's I guess it might be illegal Feb 11 03:27:03 No, because aapt is the program which transforms XML into the binary XML format. Feb 11 03:27:18 A closed source APK would still be using aapt for that transformation, and therefore the license of aapt is the only relevant one. Feb 11 03:28:12 this post makes it seem like you might be able to get some an XMLPullParser from some of the android.R.* xml files at least Feb 11 03:28:16 http://groups.google.com/group/android-developers/browse_thread/thread/f09c146dba6f5fd Feb 11 03:29:19 You could, but it might be just as easy to reverse engineer the format itself. Feb 11 03:29:33 yeah, that's what I was thinking...that way it would work for any apk Feb 11 03:29:54 brb, gotta run into work (boo, forgot to do something over the weekend) Feb 11 03:44:05 BitmapFactory correctly distingushes between different file types? or does it only take in a bitmap file? Feb 11 03:44:34 should work with other file types Feb 11 03:46:30 by default png is fully supported? Feb 11 03:46:47 yeah Feb 11 04:37:29 back Feb 11 04:38:02 jerkface03: png is what Google uses throughout Android, afaict. Feb 11 04:38:23 but BitmapFactory certainly supports a wide range of formats. Feb 11 04:49:47 hmm, does anyone know how to reliably work around the aidl parser bug in eclipse? Feb 11 04:50:10 no matter what i do, it keeps thinking that it should be generating the java files, even though I've generated them manually and refreshed the project Feb 11 04:51:06 how do you make it think it does not need to update them? Feb 11 04:58:01 * zhobbs wonders if there is a way to tell a ListView not to scroll when setSelection() is called Feb 11 04:58:43 it scrolls to center an item even if all items are visible Feb 11 05:01:09 zhobbs: it's been changed in the next SDK Feb 11 05:02:23 i've heard that's coming soon; like, this month? Feb 11 05:02:29 i'm starting to get really frustrated with all these bugs Feb 11 05:02:32 you'll know when it's out Feb 11 05:02:56 gah Feb 11 05:03:18 at least do you know how to work around the aidl bug for now? Feb 11 05:03:35 it wasn't causing me trouble until just recently but i can't figure out what i had done to magically work around it Feb 11 05:03:52 I don't know anything about AIDL Feb 11 05:04:31 * zhobbs is betting sdk out this week Feb 11 05:04:47 zhobbs: i had been operating on the mid-feb assumption... Feb 11 05:05:49 zhobbs: You'll know when it's out :) Feb 11 05:07:59 yep, looking forward to it Feb 11 05:09:07 ah ha, figured out how to make it think teh generated aidl interfaces are correct. Feb 11 05:09:30 all you have to do is rm -f them, refresh the project, generate them manually, then refresh just the portion of the project that contains the aidl files Feb 11 05:09:34 and it works Feb 11 05:09:57 that's all? :) Feb 11 05:10:19 well, it was a lot of voodoo to figure that out :) Feb 11 05:12:38 hmm wait, the error popped right back in again Feb 11 05:12:39 what the hell Feb 11 05:13:43 oh wait, i have an idea. Feb 11 05:14:56 romainguy: for the default listview selector what kind of drawable do you use to create that 3d/gradient type of look? Feb 11 05:15:40 a png file Feb 11 05:15:57 but you can also use a shape drawable Feb 11 05:16:05 for instance: Feb 11 05:16:07 Feb 11 05:16:07 android:angle="270"/> Feb 11 05:16:07 Feb 11 05:16:07 Feb 11 05:16:08 android:right="6dp" android:bottom="2dp" /> Feb 11 05:16:12 Feb 11 05:16:50 thanks Feb 11 05:16:52 (this will draw a rounded rectangle) Feb 11 05:17:05 (actually not rounded since the corners radius is 0) Feb 11 05:18:06 there are several types of shapes Feb 11 05:18:16 for instance you can create a ring (cf. the progress indicator) Feb 11 05:18:17 android:innerRadiusRatio="3.4" Feb 11 05:18:18 android:thicknessRatio="6.0"> Feb 11 05:18:56 so without android:shape is rectangle Feb 11 05:19:13 yeah, the default shape is a rectangle Feb 11 05:20:48 you can also do oval and line Feb 11 05:21:49 and inside the tag you can put a , a (obviously to fill with a solid color), a , a (for rectangle shapes), a and a Feb 11 05:22:09 cool, thanks...this xml/drawable stuff seems really powerful Feb 11 05:22:13 yeah Feb 11 05:22:40 a great example is the circular progress bar Feb 11 05:23:07 which is a drawable Feb 11 05:23:15 made of a background PNG Feb 11 05:23:25 with a ring shape on top of it that has a sweep (or angled gradient) Feb 11 05:23:41 and on top of that there's a rotate drawable which contains an image (the white particle) Feb 11 05:25:49 teehee, wrote a wrapper for aidl to make the Eclipse plugin work :) Feb 11 05:26:21 nice, mind sharing how you did it? Feb 11 05:26:51 I'm going to be working on a project pretty dependent on services in a week or two Feb 11 05:27:54 sure, but it's very simple. Feb 11 05:27:59 o Feb 11 05:28:00 ok Feb 11 05:40:26 alright, i generalized it if you're interested. Feb 11 05:40:46 ok Feb 11 05:42:11 you want to email it to me, or is it pasteable? Feb 11 05:46:21 zhobbs: i'm posting it to my blog, hang onm. Feb 11 05:46:23 on* Feb 11 05:46:27 k Feb 11 05:47:12 http://devtcg.blogspot.com/2008/02/android-eclipse-plugin-aidl-bugs.html Feb 11 05:50:53 nice, thanks Feb 11 05:51:56 this is to work around the bug that makes it impossible to import your own custom AIDL interfaces to implement asynchronous services Feb 11 05:52:26 it's easy to work around using ant because you can just change the invocation of aidl to include the appropriate -I Feb 11 05:52:40 but using eclipse is really frustrating with this bug Feb 11 05:52:52 gotcha Feb 11 06:06:18 romainguy__: can I define text color for selected items in a ListView? Feb 11 06:06:45 zhobbs: in the item itself, yes Feb 11 06:06:51 it's not ListView's job Feb 11 06:07:48 right. in the item how can I differentiate between focused/not focused? Feb 11 06:08:18 the item does not become focused, but selected Feb 11 06:08:46 ok, can I specify text color for selected/not selected? Feb 11 06:08:52 yep Feb 11 06:12:07 found it TextView selectedTextColor Feb 11 06:12:24 in M3, yes Feb 11 06:12:37 hehe Feb 11 06:13:35 * zhobbs is wondering what else is going to break Feb 11 06:14:01 you Feb 11 06:14:03 gngn Feb 11 06:14:07 you'll see :) Feb 11 06:24:14 you're such a tease ;) Feb 11 06:33:17 jasta: I don't want to spoil the fun :p Feb 11 06:36:00 * jasta raises an eyebrow Feb 11 06:36:09 great, the XML parser also can't handle "? Feb 11 06:36:15 what the hell Feb 11 06:38:39 do my id's in the layouts have to be unique accross all of the layouts? Feb 11 06:38:51 zhobbs: no Feb 11 06:39:20 findViewById is a recursive search up from the caller through to its parents. it returns the first matched id. Feb 11 06:39:32 so, as romainguy_ said, no :) Feb 11 06:39:55 whens the next sdk scheduled to be rlsed? Feb 11 06:39:57 does anyone know? Feb 11 06:40:06 hehe Feb 11 06:40:12 jasta: it's a search down to the children actually Feb 11 06:40:28 romainguy_: Really? From the top-most parent? Feb 11 06:40:37 no, from the caller Feb 11 06:40:55 Oh, of course. That makes much more sense than what I said. Feb 11 06:40:58 :) Feb 11 06:41:07 yeah, the other way around would not be that useful Feb 11 06:44:07 I hope handset manufacturers pull their heads out of their asses and integrate standard audio output jacks into their smartphones. Feb 11 06:44:21 with amplifiers that can produce decent sound on larger systems. Feb 11 07:22:20 Does ninepatch actually stretch the edges? or does it just output the images intended for the edge continously until the end? Feb 11 07:22:36 because the documentation says that the edges are scaled Feb 11 07:22:39 but that doesn't sound right Feb 11 07:27:34 jerkface03: ? Feb 11 07:27:42 what do you call the edges? Feb 11 07:27:54 well, the edges, not the corners Feb 11 07:28:01 yes, they are stretched Feb 11 07:28:17 the whole purpose of a ninepatch is to stretch parts of the image Feb 11 07:28:31 wouldn't that distort the edges? Feb 11 07:28:50 jerkface03: do they look distorted on screen? :) Feb 11 07:29:08 all of the default widgets in Android are drawn with ninepatches Feb 11 07:29:27 well, depending on what's getting displayed? Feb 11 07:29:39 it's up to you to create a ninepatch that work Feb 11 07:29:42 romainguy: it's not that computationally intensive to stretch images like that? Feb 11 07:29:47 but believe me, ninepatches work really well Feb 11 07:30:00 it can be intensive Feb 11 07:30:10 but there are optimizations done Feb 11 07:30:40 hrm k Feb 11 08:13:37 romainguy: do you know where I could find information on the 9-patch format? especially what needs to be passed in as the byte []chunk parameter in the NinePatch constructor? Feb 11 12:51:39 http://unlimitededition.wordpress.com/2008/02/08/arm-android-prototype-next-week/ Feb 11 15:29:56 http://www.microsoft.com/presspass/press/2008/feb08/02-11RobinAcquisitionPR.mspx?rss_fdn=Press%20Releases Feb 11 15:32:49 "Founded in 1975, Microsoft (Nasdaq “MSFT”) is the worldwide leader in software, services and solutions that help people and businesses realize their full potential." :) Feb 11 15:34:27 that's just what I was saying the other day when my copy of Vista froze for the 1000th time. Feb 11 16:47:49 * jasta thinks this week will have big news in Android :) Feb 11 16:48:06 hopefully Feb 11 16:48:16 nothing good so far Feb 11 16:48:39 i hear that a new prototype handset is being unveiled to the public today? Feb 11 16:50:38 that some old QVGA-L prototype: http://gizmodo.com/354849/android-hands+on-video-its-fast-its-still-not-there Feb 11 16:50:43 same* Feb 11 16:51:08 and an NEC dev board running android with some weird UI: http://www.engadget.com/2008/02/11/google-attacks-android-at-mobile-world-congress/ Feb 11 16:51:33 oh. Feb 11 16:54:49 this phone is made by HTC, hopefully we see something like this with android: http://gizmodo.com/354853/video-first-hands-on-sony-ericssons-xperia-x1 Feb 11 16:56:47 i don't think we need to make cell phones with those large slide-out keyboards. Feb 11 16:56:52 instead, we should just breed humans with smaller fingers. Feb 11 18:28:22 a new google employee? :) Feb 11 18:30:33 what's the name? Feb 11 18:36:36 who, dsm? Feb 11 18:36:45 Yeah, he's on the same team I am Feb 11 18:36:48 hi Feb 11 18:36:49 yeah Feb 11 18:36:54 he's actually been here before :) Feb 11 18:36:55 not really new, just haven't logged into irc in a while Feb 11 18:48:59 morrildl: what team is that? Feb 11 18:49:14 the "hang out on irc instead of doing real work" team Feb 11 18:49:16 ;-) Feb 11 18:49:25 benley: guilty as charged :( Feb 11 18:49:28 ;) Feb 11 18:49:42 jasta: we are Developer Advocates Feb 11 18:49:51 I prefer to call us evangineers :) Feb 11 18:50:01 sounds like interns :) Feb 11 18:50:21 morrildl: you have CS or business/marketing background? Feb 11 18:50:36 what zhobbs is asking is, Feb 11 18:50:39 "Are you bozos?" Feb 11 18:50:43 hehe Feb 11 18:51:23 zhobbs: BS in physics and CS, MS in CS Feb 11 18:51:29 well, for me at least Feb 11 18:51:39 nice Feb 11 18:51:41 bs in math, ma in communication,culture,technology Feb 11 18:51:51 typically developer advocates have a technical background, though Feb 11 18:51:55 Indeed Feb 11 18:52:23 what do developer advocates do? Feb 11 18:52:30 most companies would call us "evangelists", but since we are Google and almost every position has some flavor of eng in it, I call it evangineer :) Feb 11 18:52:33 because it seems like maybe you guys grossly overpaid for your education :) Feb 11 18:55:12 * zhobbs got passed up for developer advocate job Feb 11 18:55:49 jasta: hopefully i am underpaid at work :) Feb 11 18:56:21 * zhobbs wishes he would have paid attention in school and got a higher gpa Feb 11 18:57:16 meh Feb 11 18:57:20 edcba: Are you a "developer advocate" as well? I'm intrigued by this title. Feb 11 18:57:24 it seems like a do-nothing gig :) Feb 11 18:57:54 dunno what is developper advocate Feb 11 18:58:01 i am developper Feb 11 18:58:12 Ahh, well, then you're probably not underpaid :) Feb 11 18:58:14 marketing google technologies to techies I would say Feb 11 18:58:41 i'm underpaid for a developper and i don't work for google :) Feb 11 18:59:42 software engineers have it so easy, though. it's hard to complain. Feb 11 19:00:17 the job is cake, usually, flexible hours, and great pay. i find that if you complain, most people will punch you in the teeth. Feb 11 19:00:44 yes but that's not a reason to give the money to your bosses that do less than you :) Feb 11 19:01:16 well, they dress nicer than you :) Feb 11 19:01:24 ok good point Feb 11 19:01:54 but i could do the same job elsewhere earning much Feb 11 19:02:07 and i don't know why i say that to you lol Feb 11 19:02:26 we don't really care Feb 11 19:03:25 i'm just saying, it's hard to complain. in most major metropolitan US cities, software engineers average a salary twice as high as the national average. Feb 11 19:03:52 that's not insignificant. Feb 11 19:21:11 jasta: a developer advocate means that we help developers actually use our stuff Feb 11 19:21:36 jasta: the product eng teams launch the product, we help & encourage developers to actually use it Feb 11 19:21:50 and also we relay feedback to the product eng teams Feb 11 19:22:25 morrildl: that NEC demo is the new UI? ( http://www.engadget.com/photos/google-attacks-android-at-mobile-world-congress-1/634512/ ) ? Feb 11 19:22:40 zhobbs: yes Feb 11 19:23:29 hmm, is much of the background visible on the hvga models? 4 icons would almost take the whole screen Feb 11 19:23:39 for hvga-l Feb 11 19:23:57 a developer advocate is an AETCC Feb 11 19:24:27 (Artificial Entity That Creates Communities) Feb 11 19:24:50 * morrildl tends to think of himself as largely organic, but okay :) Feb 11 19:25:03 morrildl: proof it! Feb 11 19:25:05 :P Feb 11 19:25:10 Hmm Feb 11 19:25:16 I do have a hard time passing the Turing Test Feb 11 19:28:02 morrildl: there's a list of tracks in one of those NEC photos, is there an mp3 player built in now? Feb 11 19:31:55 going to have to start waterboarding these developer advocates :) Feb 11 20:12:56 zhobbs: on HVGA the new UI can show almost 30 icons Feb 11 20:13:45 hmm, but can show much fewer if I want right? Feb 11 20:14:07 it shows all of the installed apps Feb 11 20:14:14 if you have fewer apps that can fit on screen, then yes Feb 11 20:15:23 can you hide any if you want? Feb 11 20:15:32 (I'm asking cause my app manipulates the wallpaper) Feb 11 20:15:52 see the button at the bottom right of the screen? Feb 11 20:15:56 it shows/hides the list of apps Feb 11 20:16:01 gotcha Feb 11 20:16:07 sounds good Feb 11 21:29:41 There is a column on the right of "favorite" apps Feb 11 21:30:02 these are your specifically-selected favorites, plus as many least-recently-used apps Feb 11 21:36:13 when is the new sdk coming out? Feb 11 21:36:15 this week or next week? Feb 11 21:36:26 f00f-: soon Feb 11 21:41:30 perfect. i don't suppose there will be another one before mid-april? Feb 11 21:42:00 We expect there to be Feb 11 21:42:16 I would be more specific but if I am and for some reason we slip the date, then that's bad form :) Feb 11 21:42:29 i understand, i'm just concerned about features Feb 11 21:43:26 there are some that we would like to use but that aren't present in the current release Feb 11 21:45:09 but definitely excitement is building to see other ADC entries :) Feb 11 21:45:22 do you know if there are plans to support one-to-many XMPP data messaging? Feb 11 21:45:47 or is it already supported in groupchats? Feb 11 21:46:34 f00f-, like which features? Feb 11 21:47:19 I don't know how completely it's against the contest rules and other things, but you can sometimes find interesting things by decompiling the .jar... Of course, even if it doesn't break any rules, there's no guarantee it will keep working if it's not official Feb 11 21:47:33 (and even then I think they're still likely to change a thing or two in the near future) Feb 11 21:51:03 so far only: official Bluetooth support (with L2CAP access) and the new CursorAdapter Feb 11 21:51:20 right, that's why official support seems better in the long-run Feb 11 21:51:25 I'd like to see non gtalk xmpp support Feb 11 22:11:56 i'm so convinced that an SDK release is happening very soon. Feb 11 22:12:02 :) Feb 11 22:15:33 like, this week. Feb 11 22:33:21 jasta: there was a bit in the interview on the bbc website I saw earlier Feb 11 22:33:28 i believe it said tomorrow Feb 11 22:34:01 http://www.bbc.co.uk/mediaselector/check/player/nol/newsid_7230000/newsid_7238900?redirect=7238965.stm&news=1&bbwm=1&bbram=1&nbwm=1&nbram=1&asb=1 Feb 11 22:34:16 apparently its on youtube as well Feb 11 22:34:46 youtube link: http://www.youtube.com/watch?v=e_6K9B490EA Feb 11 22:34:51 YouTube - Rich Miner on Google Android Feb 11 22:36:05 so soon (TM) :) Feb 11 22:36:42 laggy video Feb 11 22:36:55 its done on an N95 Feb 11 22:37:31 i have an N95 and i shoot better Feb 11 22:37:35 might be youtube conversion Feb 11 22:37:42 it seems to stall every 2 seconds for me, hmm Feb 11 22:38:30 works ok for me Feb 11 22:39:38 he says at the show tomorrow we're launching a refresh of the sdk Feb 11 22:40:00 interesting... Feb 11 22:40:37 who are the partners that are displaying their stuff? why wasn't I invited?????? :-P Feb 11 22:40:49 hehe, exactly Feb 11 22:44:08 The refresh of the SDK he mentioned I think is just the NEC demo, not a release I guess...and he says tomorrow monring, but it was posted yesterday Feb 11 22:58:48 morrildl, it would be cool if there were a little web app to manage 'my submissions' Feb 11 23:00:02 davidw: I agree :) **** ENDING LOGGING AT Tue Feb 12 03:00:07 2008