**** BEGIN LOGGING AT Wed May 20 02:59:57 2009 May 20 03:00:38 you mean what label? May 20 03:00:42 yeah ;) May 20 03:00:50 okay .. it's not REALLY very technical May 20 03:00:53 should I wait for-ever? May 20 03:01:00 just got writer's block on a single button label :P May 20 03:01:05 Master Shake, like ATHF May 20 03:01:31 nwmotogeek, no, but especially if no one else has said anything and your question is still on the screen, I advise you to wait May 20 03:01:42 ok May 20 03:02:14 KNY, that's an idea ;) May 20 03:02:24 if there is a lot of discussion and it's likely that no one saw your question, then it doesn't hurt to ask again May 20 03:02:24 although I'm afraid i'd get into legal troubles May 20 03:02:31 sammyF, pft May 20 03:02:36 I highly doubt it May 20 03:04:30 heh May 20 03:16:03 I just love those moments when you realize you have coded for over an hour and have forgotten to actualy TEST your code May 20 03:21:20 doh! May 20 04:14:59 Hi. I'm extremely new to developing on non-PC platforms. Is android a good platform to start on? May 20 04:19:11 the9a3eedi: as good as any other embedded device I guess May 20 04:19:36 the9a3eedi: the main difficulty, at least for me, was to remember that your ressources are *VERY* limited May 20 04:20:09 you're not working with a lot of mem or a killer CPU/GPU combo May 20 04:20:36 you're already familiar with Java? May 20 04:41:46 is phonegap any good? "platform-neutral mobile applications with HTML, CSS and JavaScript." the documentation/wiki seems a bit spotty and apparently apple is rejecting some apps using it arbitrarily May 20 04:43:07 not that my app ideas would really be all that good in js, but my gf has an iphone so I didn't want to just write for android and was looking into multi-platform stuff. hah May 20 04:43:44 sammyF: yes I am May 20 04:43:46 dkr: never heard of it, but HTML/css/js doesn't exactly shout "fast and efficient" May 20 04:44:37 Good Morning all..!! May 20 04:44:47 I'm getting this itch to porting a sound chip emulator (SID if you heard abuot it.. the sound chip on a commodore 64) .. dunno if the android is capable of it... though I've seen full-fledged emulators (like NES and Gameboy and Gamegear) on the market, so it should handle it May 20 04:45:24 the9a3eedi: there's already a C64 emulator, albeit very very slow May 20 04:45:32 do android apps run on some sort of VM? or are they all compiled to native code? I heard that devving on android is like java, except it's not java.. or something like that May 20 04:45:47 the9a3eedi: don't know if it has sound support yet, but you might want to contact the author May 20 04:45:52 sammyF: I see. hmmm May 20 04:46:21 sammyF: I cant find it in the market. What's the name of the emulator? May 20 04:46:35 the9a3eedi: and yes, I heard about the C64's sound chip . the C64 was my second computer (back when I wasn't that old;) May 20 04:47:13 sammyF: yeah, that's the obvious drawback, but providing access to geo/accelerometer/sound etc for iphone/android/bb with the same code sounded nifty: http://phonegap.com/ May 20 04:47:15 yeah, a lot of people like SID music, and some are interested in having an SID music player May 20 04:47:16 mobile c64 May 20 04:47:56 can't find it in the market May 20 04:47:57 * the9a3eedi googles May 20 04:48:45 dkr: yep. already there. It sounds good, but considering that you have to jump through a few loops to get some decent performance while writing in java, I'm very doubtfull about ~Ajax~ or whatever the marketing term for a html/css/js combo is ;) May 20 04:48:58 the9a3eedi: search for c64 May 20 04:49:54 sammyF: only thing I can find is a remake of a C64 game called "deflektor" May 20 04:50:18 weird May 20 04:50:22 I have that one too May 20 04:50:24 maybe it was taken off? May 20 04:50:35 but I have also "Mobile C64" just above it when I search May 20 04:50:46 the9a3eedi: doesn't look like it May 20 04:50:52 anyways, another thing I was wondering. Say I was devving with the cupcake SDK. Is it possible to write apps that are compatible with both cupcake and 1.0? May 20 04:51:12 the9a3eedi: cupcake and 1.1, yes May 20 04:51:27 I got a T-Mobile G1, unlocked, using it in canada. can't update to cupcake :( May 20 04:51:28 Currently I'm writing a 1.1 application with the cupcake SDK May 20 04:51:45 and I know a lot of people in this situation too May 20 04:51:48 ah, thats good May 20 04:51:52 mostly because I didn't have 1.5 when I started writign my current game May 20 04:52:07 the9a3eedi: root it May 20 04:52:44 the9a3eedi: easy said, I have a german G1, but I live in the carribeans, and so far rooting never worked. but I got hold of the 1.5 update.zip file, so ... May 20 04:52:57 the9a3eedi: but yours might be easier to root May 20 04:53:27 sammyF: rooting is scary :( so far I'm not.. convinced... that i should bother rooting it May 20 04:53:40 I just got this phone lol. Dont want to brick it now May 20 04:53:59 the9a3eedi: yeah. I felt the same way May 20 04:54:22 where'd you get the 1.5 uodate file from though? maybe I could get one for my G1 May 20 04:54:28 on the other hand, there are some obvious advantages to rooting .... May 20 04:54:41 yeah, like tethering... the main thing I'm interested in May 20 04:55:06 the9a3eedi: you should join #android if you're not there already. you need a update.zip file specific to your G1's origin May 20 04:55:29 xnadeveloppers.com or something has links to the update.zip files afaik May 20 04:55:51 it would work without root? May 20 04:55:53 http://www.xda-developers.com/ May 20 04:56:07 sorry, 1 AM here, so I'm kind of slowminded May 20 04:56:19 yeah, I know that website. lots of mobile phone hacks they got there May 20 04:56:34 yes. it's just a way to manually apply the update that would otherwise come OTA May 20 04:57:10 awesome. thanks. May 20 04:57:29 np May 20 04:58:54 I guess it's time to go to sleep May 20 04:59:17 my game is nearly finished ... only need to write the eula and create a demo version :) May 20 04:59:33 G'd night everybody May 20 04:59:41 good night May 20 07:16:44 hi May 20 07:17:15 can you tell if View::mDrawableState is related to highlight drawable ? May 20 07:18:34 what is "highlight drawable"? May 20 07:19:08 i mean the orange bg when imagebutton is pressed May 20 07:19:16 it is related yes May 20 07:19:28 but you should not have to touch it May 20 07:22:41 the problem is that my UI is loaded by an InputMethodService May 20 07:23:16 what does it have anything to do with mDrawableState? May 20 07:23:25 and it changes when i load the same ui by a regular activity : May 20 07:23:30 - mDrawableState int[2] (id=830002557528) May 20 07:23:32 + mDrawableState int[3] (id=830002557560) May 20 07:23:56 why does it matter? May 20 07:26:40 because when i press on button they not hilight May 20 07:26:50 when ui loaded by IMF May 20 07:26:53 how do you create your buttons? May 20 07:27:44 the xml way May 20 07:27:57 just to check I've not misread the docs - explicit intents never to run through filters so you don't need to declare any intents you use explicitly in your manifest? May 20 07:30:28 never run through, rather May 20 07:30:46 only when you specify the target class name and package May 20 07:31:28 thanks romain, I'm doing that so should be fine :) May 20 07:32:09 err Romain sorry, or should I write romainguy to trigger notifications :) May 20 07:32:18 either way :) May 20 07:33:00 hi, I'm trying to display a custom dialog, but the dialog doesn't show up. In the logs I see: W/InputManagerService( 568): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43669050 May 20 07:33:04 any ideas? May 20 07:33:25 romainguy: so should i file a bug now ? May 20 07:33:37 maybe i missed something May 20 07:33:42 without seeing your code and knowing what you do it's hard to say May 20 07:33:57 but there's no reason why the button would behave differently in an inputmethod May 20 07:34:04 unless it's not attached to a viewroot May 20 07:34:33 well i'll can try to make a sample but i am really hurry May 20 07:35:16 and how comes that View.mDrawableState differs ? May 20 07:35:45 anyway the buttons are reacting to onclickevent in both casess May 20 07:35:50 I don't know May 20 07:35:51 like I said May 20 07:35:56 without seeing what you did, it's hard to say May 20 07:36:40 ok i can understand that May 20 07:36:49 let me help May 20 07:36:56 if you can come up with a small reproducible test case, by all means file a bug May 20 07:41:25 i started doing this May 20 07:45:03 I'm trying to display a custom dialog using a Handler, but the dialog doesn't show up. In the logs I see: W/InputManagerService( 568): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43669050 . What are I doing wrong? May 20 07:49:35 romainguy: are you sure about the direct calling working? because I've used..... May 20 07:50:16 http://pastebin.ca/S:1428275 May 20 07:50:20 http://pastebin.ca/1428275 May 20 07:50:55 and I've put a log in my onReceive to show the action it's called with May 20 07:51:15 and at the time LogCat says it's starting that activity May 20 07:51:24 I'm not getting anything fired from onReceive May 20 08:07:23 hmmm ok - it's not a lack of having the filter in the intent May 20 08:07:32 it just doesn't work :( May 20 08:08:00 perhaps I can construct the same intent that android does to call for a widget update? May 20 08:27:19 arg - so I set it to launch something different on the timer and that works. It seems it's an AppWidget thing May 20 08:27:56 AppWidget's aren't getting passed Intent beyond the base ones even though I've overridden onReceive May 20 08:28:22 will make a separate BroadCast Receiver and try push it there May 20 08:28:48 jsharkey: is that -^ going to be a bug or intended behaviour? May 20 08:30:33 romainguy: ok here it is : http://rzr.online.fr/tmp/rzr-test-android-imf-0.0.20090520.tar.gz there is a video inside May 20 08:33:04 merci d avance May 20 08:33:27 this cupcake update is driving me nuts May 20 08:33:41 im coding in cupcake the last month.... but Im going to backport to 1.1 May 20 08:33:58 all cause i don't trust google and tmobile May 20 08:34:57 if cupcake was out, id probably be released by now. May 20 08:35:06 im ready to go...but no cupcake May 20 08:35:12 i feel like the rug is pulled from under me May 20 08:38:28 hunterp: if it's only a week wouldn't that be a bunch of work backporting for nought? May 20 08:38:37 until release I mean May 20 08:38:50 btw trying to pass it to another BroadcastReceiver didn't work either :( May 20 08:48:48 im just sort of lurking here to see what's involved in making android apps, also what language is used (java, i see) May 20 08:49:07 but im wondering a kind of light hearted question now, do you android coders have really cool hacked up g phones? haha May 20 08:50:12 i own a freerunner May 20 08:51:56 and a nitdroid May 20 08:52:04 plus eeedroid :) May 20 08:52:14 rzr: NOICE! May 20 08:52:31 romainguy: should i post to the bugtracker ? May 20 08:52:42 rzr: did you make use of i386 support on cupcake ? May 20 08:52:50 yes May 20 08:52:55 rzr: are you in san francisco ? May 20 08:52:57 atom actually May 20 08:53:01 no france May 20 08:53:24 im in san francisco :-) i want to do an android meetup May 20 08:53:51 go to the netbook test May 20 08:59:14 where to post potential bugs ? May 20 08:59:18 to the lists ? May 20 09:08:28 romainguy: i posted to the dev list May 20 09:17:31 http://groups.google.com/group/android-developers/browse_thread/thread/042667043fcf3c82# May 20 09:20:37 hi May 20 09:25:52 can anyone confirm if PendingIntents work with BroadcastReceivers? May 20 10:09:52 adb seems to works somewhat intermittently for me. if it doesn't work, i can get it to work by rebooting my machine. any ideas? May 20 10:11:14 (system is debian lenny + 50-android.rules file present) May 20 10:25:05 mike_m does an unplug and replug of your ADP fix it? May 20 10:26:45 no May 20 10:27:27 mike_m udevd is running? May 20 10:27:35 it appears the device in /dev/bus/usb has the wrong permissions May 20 10:27:40 udevd is running May 20 10:28:31 does anyone like to test my android app? it's for searching in wikipedia. http://wapedia.mobi/nowiki/Wapedia.apk May 20 10:29:14 mike_m: ok - sorry for the lame ideas, glad you got somewhere to look further. Be interested to know if fixes permissions sorts it out for you May 20 10:32:40 skyPhyr: yeah, it seems the line i had in 50-android.rules was wrong May 20 10:33:02 the following seems to work: SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666", OWNER="mike" May 20 10:33:11 Gelb: seems to work nicely May 20 10:33:35 mike: good stuff :) May 20 10:33:42 but the device still gets "crw-rw-r--" ... however it's owned by me so adb can see it May 20 10:34:17 strange the others permission is being ignore May 20 10:34:32 thing problem has been screwing with me for hours http://groups.google.com/group/android-developers/browse_thread/thread/1b05736c00d7e12e# May 20 10:34:59 anybody up for confirming how I am lame :) May 20 10:35:25 shenki: thank you for testing. May 20 10:35:32 eh, May 20 10:35:37 skyPhyr: thank you for testing. May 20 10:35:51 Gelb: no worries at all :) May 20 10:47:40 biab May 20 12:22:14 has anyone tried openjdk for developing android apps? May 20 12:28:37 romainguy: i am back May 20 12:38:08 on most context menus the press and hold causes the background color to fade from orange to white and the text color is inverted May 20 12:38:27 is that all manual? or is there something reusable to that? May 20 12:39:00 I'm looking at the contacts app and can't see how it's done May 20 13:06:21 mbarkhau: man - that's cool - can't believe I'd never noticed it before May 20 13:07:13 you tried just setting something to long-click enabled and seeing if it happens? May 20 13:08:04 yea i changed bg color and it works, I'm just wondering, since i've seen it all over the place if there was something builtin? May 20 13:08:21 plus i only set the bg color, and not a fade May 20 13:25:45 how can i set a listener for a DialogPreference, to see when the user has clicked the positive button? setOnPreferenceChangeListener doesnt work May 20 13:27:32 new AlertDialog.Builder(this).setPositiveButton( May 20 13:28:07 second argument is a DialogInterface.OnClickListener May 20 13:29:18 the AlertDialog would require to create it in Java code, but I'd like to specify Preferences in xml May 20 13:30:34 hmm, not sure you can specify the listner in xml? May 20 13:30:57 how about findViewById and then set the listner? May 20 13:31:12 no, but you should be able to specify all the preferences in xml and set only the listener in the code May 20 13:31:26 i tried with findPreference(getString(R.string.settings_logout)); May 20 13:32:27 but onPreferenceChange in my new OnPreferenceChangeListener() is never called May 20 14:01:40 how can I change the channel the volume button is assigned to? May 20 14:02:14 I'm using MUSIC_STREAM to play my sound effects, but the volume button still changes only the ringer volume May 20 14:02:41 and if the media volume is set to 0, setting the volume of my soundpool doesn't change anything May 20 14:06:35 sammyF: override onKeyDown, and listen for volume key events May 20 14:07:43 vol: ah, so I have to do it manually. I thought there might be a global setting to set the volume control button to a certain mode May 20 14:08:21 int curVolume = mAudio.getStreamVolume(AudioManager.STREAM_MUSIC); if(key == VolumeDown) curVolume -= 1; else curvolume += 1; curVolume = Math.max(Math.min(MaxVolume, curVolume), 0); mAudio.setStreamVolume(AudioManager.STREAM_MUSIC, curVolume, 0); May 20 14:08:29 there might be, I could be wrong completely. May 20 14:08:47 this is just how we do it, although we do it this way because we actually take the volume key event and pass it elsewhere May 20 14:08:56 (that elsewhere eventually calls back to us to set the new volume) May 20 14:09:24 if anddev.com is right, all you need to do is this.setVolumeControlStream(AudioManager.STREAM_MUSIC); May 20 14:09:25 it probably won't display that volume display properly May 20 14:09:31 just found it ;) May 20 14:09:34 there you go then May 20 14:09:38 much better solution May 20 14:09:38 but thanks anyway. anddev might be wrong May 20 14:09:48 no, that's probably more appropriate May 20 14:09:59 my solution is better only if you don't want the current volume display to show up for whatever reason May 20 14:10:01 but yeah, that's more what I was looking for. May 20 14:10:22 just a way to have the user change the volume, without caring too much about it myself :) May 20 14:10:50 ( a.k.a. "I'm lazy and putting the finishing touch to my apps, so can't be bothered" ;) May 20 14:11:18 and yes, it actually works May 20 14:40:50 http://stackoverflow.com/questions/888341/receive-callback-for-a-dialogpreference May 20 14:44:58 what apps have you made sammyF? May 20 14:50:33 skyPhyr: just a simple game, using the sensors May 20 14:51:16 sammyF: nice - doesn't seem to be much about using far beyond the touch screen May 20 14:51:49 does anyone has a good game engine to recommand? May 20 14:51:52 recommend8 May 20 14:52:26 as in game development engine for android May 20 14:52:37 ziyong: jt436 intended to write one afaik May 20 14:53:21 correct, its coming along :) May 20 14:53:23 ooh cool, as in the current ones are inadequate may I ask? May 20 14:53:39 or there are none :p May 20 14:53:53 ziyong: the second option ;) May 20 14:54:36 ooh May 20 14:54:37 :p May 20 14:55:57 ya, a game developer from iphone was asking me, so checking that out :p May 20 14:56:34 sammyF: how long until you release your next game? May 20 14:56:55 jt436: depends on my beta tester ;) May 20 14:57:01 (singular) May 20 14:57:24 jt436: may i ask do you have a site or something for your engine? maybe I can promote that for u when we have a developer meetup next week May 20 14:57:25 if he keeps telling me the game would be better if I added [insert actually good suggestion here] May 20 14:57:31 then it might be a few days ;) May 20 14:57:41 a dev meetup over here in singapore May 20 14:58:00 ziyong: nothing yet, waiting until it is in a good state and usable May 20 14:58:03 jt436: want to see the current state of the affair? May 20 14:58:09 sammyF: sure May 20 14:59:41 jt436: sure thing, if you have it done, do you mind sending me a note, I will help spread the word of your work May 20 14:59:59 let me pm you my email May 20 15:03:31 jt436: enjoy, it's on its way ;) May 20 15:03:39 there goes my only sale :P May 20 15:04:24 hmm.. my android is running 1.1 ..my G1.. and i made sure the camera is hooked up tot he board and is in their good.. yet the camera app starts tehn crashes after a short time May 20 15:04:31 sammyF: fun ;) May 20 15:04:37 im trying to hook it up to USB to update to 1.5 but i can't do that either :/ May 20 15:05:06 Phantoon: I thought you had USB working yesterday? May 20 15:05:18 no it doesnt :/ May 20 15:05:20 well it was flakey May 20 15:05:25 it kept mounding/demounting it May 20 15:05:27 :( May 20 15:09:03 jt436: adb devices shows its "offline" May 20 15:09:07 piece of crap May 20 15:09:28 but the speakerphone part got fixed.. so at least thast working May 20 15:10:03 it keeps saying "usb device not recognized" May 20 15:10:10 sorry I don't have much experience with the G1 and windows May 20 15:17:28 Phantoon: are you using the cable that came with? May 20 15:17:30 hmm May 20 15:17:41 if you're using a shitty cable that might cause problems May 20 15:17:53 ive tried using 2 diff usb cables May 20 15:18:37 jt436: got the file? May 20 15:18:57 yeah, first level was fun May 20 15:19:17 sammyF: ooh, games, let me see :D May 20 15:19:27 jt436: thanks :) last level is a real bitch ;) May 20 15:19:30 ha May 20 15:20:20 vol, you know, I actually intend to make a tiny bit of money, probably around 5 euros again, with it :P May 20 15:20:30 hmm May 20 15:20:33 it seems to be really tempromental May 20 15:20:41 it now is "working" and mounted on my winderz desktop May 20 15:20:43 sammyF: all the better for met to critique it for you :> May 20 15:20:50 now lets see if i can get 1.5 to work May 20 15:21:05 vol: lol May 20 15:21:51 vol: check the pm May 20 15:21:57 vol doesn't spend money anyway May 20 15:22:08 : ( May 20 15:22:15 I purchased "Battle for Mars" May 20 15:22:24 not bad for $5 but goddamn if they don't cheat May 20 15:22:32 yeah thats not a bad game actually May 20 15:22:42 "Here defeat 3 entire other armies, you get no resources and they get all of them, good luck!" May 20 15:22:54 I just kind of uninstalled it in frustration at that point May 20 15:23:33 i hope they "officialy" port the G1 over to AT&T soon.. i heard rumors they were going to May 20 15:23:40 its like hte perfect phone design for me.. <3 May 20 15:24:21 so that way i can use the 3G May 20 15:24:33 though for what i use it for.. EDGE isn't bad at all May 20 15:25:30 sammyF: you have mail May 20 15:29:16 vol too ;) May 20 15:30:11 jt436: thanks :) May 20 15:30:34 isn't there a guide somewhere on how to install 1.5 on your phone? May 20 15:30:38 i thought i had it but i lost it apparently May 20 15:30:59 Phantoon: there are a couple available May 20 15:31:31 official htc version: http://www.htc.com/www/support/android/adp.html May 20 15:31:33 Phantoon: Android is too open for AT&T May 20 15:31:46 maybe if they lock it down so you have to pay $5/mo to use the gps, they'd do it. May 20 15:32:31 vol: i thought i heard a rumor that they are wanting to jump on board due to the big success May 20 15:32:47 personally, the design of the G1 and now that ive used it, the interfae is PHENOMENAL May 20 15:32:59 like a crack addiction.. only without the pipe May 20 15:39:04 so its just the dev phones that can be updated? May 20 15:39:19 updated? May 20 15:39:22 to 1.5 May 20 15:39:35 currently yeah. i guess it'll be sent to US G1s soon May 20 15:39:49 well i have a G1 that i got from a guy who does dev.. nto sure if it's a dev phone or not May 20 15:39:56 and i have it unlocked on AT&T May 20 15:41:34 if it has crazy markings on the back it's a dev phone May 20 15:41:40 operator network doesn't matter May 20 15:41:43 the updates come from google May 20 15:41:51 ahhh May 20 15:41:56 well it doesn't have the rrazy markings May 20 15:42:02 so im assuming its a "vanilla" phone May 20 15:42:24 Phantoon: I'm sure they like the success May 20 15:42:32 I don't think they like the whole "not nickel and diming the customer" part May 20 15:43:34 vol: yea.. its crazy.. their blackberry plans are OUTRAGEOUS, yet the iphone plan is somewhat reasonable.. May 20 15:43:43 but the iphone lacks a physical keyboard which is what i LOVE about the G1 May 20 15:45:07 i wonder if i push the 1.5 update to my "vanilla" phone if it will brick it May 20 15:45:14 Phantoon: You can install 1.5 on a normal G1. http://theandroidsite.com/2009/05/14/how-to-root-your-g1-and-install-android-15-cupcake/ May 20 15:58:27 yeah, or you could just wait for the ota ... May 20 15:58:30 * TD is lazy May 20 15:58:43 ota? May 20 15:59:06 over the air update May 20 15:59:15 ohh from google May 20 15:59:24 t-mobile May 20 16:01:10 uhh May 20 16:01:16 that one dude just said it doesn't matter what carrier May 20 16:01:21 its from google May 20 16:04:19 right May 20 16:04:26 hmm. does anybody know where the sqlite3 tool went in cupcake? May 20 16:04:29 it's not there anymore? :( May 20 16:07:31 uhh May 20 16:07:34 ok this is weird May 20 16:07:49 it seems i can ony connect to USB (sometimes) if the keyboard is exposed May 20 16:08:33 I can still enter sqlite3 from an adb shell ... May 20 16:08:37 in 1.5 emulator May 20 16:10:12 hmm May 20 16:10:16 or rather it's tempormental May 20 16:10:22 i move it its all OMG and disconnects May 20 16:10:45 soreachilles: hmm. it's not on my phone. i guess the emulator and g1 builds vary May 20 16:10:52 Phantoon: you probably have a broken cable May 20 16:10:58 ah yeah I don't have a 1.5 phone.. May 20 16:11:05 err a phone with 1.5... May 20 16:13:17 i should just buy a dev phone :/ May 20 16:15:45 Phantoon: if your phone is rooted I wouldn't buy with a dev phone May 20 16:16:06 well i can su - and get a root rpompt May 20 16:16:07 prompt* May 20 16:16:14 you can update manually then May 20 16:16:38 i got it off a friend of mien who dropped it 5 storyes and broke the digitizer + LCD.. i replaced both and things work great now.. its just 1) tempromental on the USB, 2) camera doesn't work (i verified its hooked in) May 20 16:16:50 * TD wipes brow May 20 16:16:57 writing software is hard work! May 20 16:17:14 hehe May 20 16:17:20 im learning some C and stuff myself.. its fun.. but yea May 20 16:17:23 loong and hard May 20 16:17:31 * Phantoon walked right into that May 20 16:17:54 it makes me crazy that Calendar.MONTH is 0 based, but human calendars are 1 based. One or the other must change! May 20 16:18:32 obviously the entire world should start counting from 0 May 20 16:18:47 and convert to miles while they're at it :) May 20 16:19:01 convert _to_ miles? May 20 16:19:10 mbarkhau: Date has the worst constructor ever, it also takes the year not as an absolute value, but as a number of years since 1970 May 20 16:19:10 @!# May 20 16:19:19 miles @!# May 20 16:21:29 yes all calendars must start from jan 1 1970, be 0 based, use miles/feet/yards/gallons.. what else.. May 20 16:21:54 heh May 20 16:22:06 forget years, we should be using seconds for everything May 20 16:22:29 yeah or milliseconds since jan1 1970 May 20 16:23:09 that way calendar.getTime() would work better... or just convert everything to julian day... too many formats for the same damn thing! May 20 16:23:49 I've spent the last two hours trying to get a layout right, it looks ok now, but I'm wondering if it's so tedious because I'm stupid and haven't figured out the principles, or if it is in fact so hard May 20 16:23:51 startDate.set(Calendar.MONTH, month-1) just sucks May 20 16:24:11 is there a good guide for defining layouts? May 20 16:25:59 basically all I'm doing is fiddeling and going by the names of the attributes, which is probably the wrong approach, esp. with 30sec between fiddle and verification May 20 16:27:00 I usually look at the samples, read the blog, and check the hello,view 's http://developer.android.com/guide/tutorials/views/index.html May 20 16:27:55 so I'm stupid, is it not tedious for you? May 20 16:28:25 I wouldn't say tedious... I sorta sketch out on a piece of paper what I want using the various layouts, then go thru and figure out the actual values May 20 16:28:41 no, you're stupid. May 20 16:28:42 I only use a few pieces.. like linearlayout, relativelayout, weight and gravity ... May 20 16:28:43 sorry : ( May 20 16:29:52 you can go pretty far with just a few ideas.. weight, gravity, padding, alignment .. May 20 16:31:56 I know like I said it works and I am not using anything else, it was just taking a bit long May 20 16:32:16 mbarkhau: the new 1.5 SDK has a much better builder tool May 20 16:32:29 it's still not great, but it's vastly improved. you can drag/drop widgets into roughly the right place now May 20 16:32:37 but fwiw containment based layout is always a pain in the ass to visualize May 20 16:32:44 i've yet to encounter one that wasn't annoying and confusing May 20 16:32:49 if you're using eclipse, click the Layout tab at the bottom, and it usually shows a preview of what you're going to get, so those 30 second iterations become 3 secs.. May 20 16:33:41 ok, my eclipse seems to be fudged I better reinstall May 20 16:59:57 hmm May 20 17:00:00 lets see if i bricked the droid May 20 17:09:01 "bricked the droid"....sounds expensive May 20 17:09:30 hehh May 20 17:09:34 nah 1.5 went without an issue May 20 17:09:36 how is ListView.setEmptyView() supposed to be used? I just set it to a TextView (textView = new TextView(context); textView.setText("test"); listView.setEmptyView(textView);) and the adapter of the listView is also empty but I don't see the textView (and hierarchyviewer says the listview height is 0) May 20 17:09:39 but it didnt fix my issues :/ May 20 17:09:46 guess ill have to taket i apart again and look at it May 20 17:11:14 Simple (?) question: May 20 17:11:38 for an android application with a variable sequence of of "screens" May 20 17:12:22 does it make sense to map each "screen" to an activity or internally control the flow by setting different views in the same activity May 20 17:12:51 ? May 20 17:13:16 (considering the possible overhead of creating / running, let's say, 10 activities May 20 17:18:20 filipePT: it makes sense to map each screen to an activity. May 20 17:18:25 this is why this abstraction was provided for you May 20 17:18:28 ...because it makes sense. May 20 17:19:25 Okay, i see your point.. May 20 17:21:28 The "problem" here, is that i really need that none of the "obscured,stopped" activities die (due to OS sigkill) May 20 17:21:47 You can use a Service May 20 17:21:48 or maybe i'm not understanding very well the application lifecycle May 20 17:22:16 A service can outlive your activity, and run while your 'main' activity has been destroyed May 20 17:22:36 since they have state information that i will be unable to recover if a previous activity is started again, since it was killed May 20 17:22:39 hmm May 20 17:23:00 so what your saying is that all application logic should be stored in the service May 20 17:23:02 ? May 20 17:23:05 no May 20 17:23:08 heh May 20 17:23:14 just that services can outlive an activity May 20 17:23:25 think of activites as your UI, and a service as some non-ui background thing May 20 17:23:43 each of your activies may need to save state, so you have to handle that May 20 17:25:20 ok, so consider the following: you first see the welcome screen, than you click on "package selection", which opens a activity with a list of packages, and clicking on a package you get another activity with a list of "channels", and you lick on a channel and you get the channel information, and so on May 20 17:25:30 sorry the length :) May 20 17:25:44 now, i wanna go back, to the package selection screen (activity) May 20 17:25:56 it is possible that that activity got killed May 20 17:25:58 right ? May 20 17:26:06 so the internal logic is gone May 20 17:26:17 it's not gone, it's paused May 20 17:26:39 or stopped, yes. But if it is killed? May 20 17:27:07 (maybe apps aren't killed so frequently in a "normal" operation, but i need to design the architecture with that in mind) May 20 17:27:10 anyone been able to get the on-screen keyboard to show when digits is limited? May 20 17:27:53 yeah you need to design with your app being killed, in mind. But in that case you described, it'd normally be paused May 20 17:28:19 then restarted when the user returned back to the prior activity, but not destroyed/recreated May 20 17:28:50 oh, so it's not gone forever, even if the OS decides to kill the activity? May 20 17:28:59 that's hard for me to understand lol May 20 17:29:05 but while the user is in that 'channels' activity, he could hit the home button, then run some app that will eat all memory. Then your app will be killed May 20 17:29:33 the entire app, of some random activities? May 20 17:29:35 but you'll be notified of being killed, so you can save state, so when memory-hungry app exits, and user restarts your app, you can restore your state May 20 17:30:02 hmm, ok, then i save state where ? in the service you proposed ? May 20 17:30:20 look at the activity lifecycle page (I should take my own advice..) http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle May 20 17:30:29 don't just look at it May 20 17:30:30 actually read it May 20 17:30:45 if you dont understand the activity lifecycle, you are doomed to implement your app poorly May 20 17:30:55 you can save state in a couple ways -- look at the callbacks in the lifecycle (onPause(), onSaveInstanceState() etc) May 20 17:31:11 soreachilles: id ont know if youre the right person to be giving out this advice :) May 20 17:31:18 heh May 20 17:31:28 shrug, I can always point to the docs May 20 17:31:41 I think I understand the state saving stuff very well now May 20 17:31:45 filipePT: again, this concept is very important. please take time to understand it. May 20 17:32:00 soreachilles: except that you dont know when to use onRetainNonConfigurationInstance... May 20 17:32:11 don't need it, it's an optimization on top of an optimization May 20 17:32:23 it's nice to have, sure.. I may in fact use it May 20 17:32:31 but not to rely on it -- it's pretty rare when it's useful, but ya, it is nice May 20 17:32:33 it's not strictly an optimization May 20 17:32:49 in some cases, it is the only way your application cna maintain state when performing config changes May 20 17:32:50 as per the docs; This function is called purely as an optimization, and you must not rely on it being called. May 20 17:33:05 the docs are wrong then, because thats not what it is. May 20 17:33:09 heh May 20 17:33:12 as i said, it is sometimes the only way to maintain state. May 20 17:33:26 any state which cannot be serialized, for instance, must use that method May 20 17:34:03 if you have non-serializable state, how do you restore it after being destroyed? May 20 17:34:26 ie, back button, or run out of memory so os reaps your proc? May 20 17:34:28 soreachilles: you don't, but you can restore it through configuration changes. May 20 17:34:32 :) May 20 17:34:35 xaclty May 20 17:34:46 anyway, rock on.. going to fix other stuff May 20 17:34:53 although you can maintain _application_ state after activities are destroyed May 20 17:35:07 ListView header focus question: I have a ListView which works fine. If I add an unfocuseable header view with addHeaderView( header, null, false), my focus disappears anytime i use the scrollball up past the top list item and I can't get it back May 20 17:35:25 many folks forget that all activities are actually housed in the same process. information can be shared the good old fashioned way. May 20 17:36:37 emmby: subclass your adapter and implement isEnabled(int position) and areAllItemsEnabled() May 20 17:36:46 this will allow you to make the item at that position unselectable May 20 17:37:02 although actually if you use a header view then this trick wont work, since your adapter wont know about the header. May 20 17:37:15 so, hmm... May 20 17:37:24 oh, i think i just figured it out May 20 17:37:46 i had to getListView().setNextFocusUpId(android.R.id.list) May 20 17:38:05 looking at these docs it seems that the problem is not with focus of the header, but something else May 20 17:38:20 how so? May 20 17:38:30 what youre seeing is the focus leaving the list and moving to an item above the list i believe May 20 17:38:37 right, exactly May 20 17:38:41 do you have some focusable item above it? May 20 17:38:44 no May 20 17:38:49 are you sure? :) May 20 17:39:11 i'm pretty sure it was moving to the header, because when i use addHeaderView(header,null,true), the header lights up when focus moves above the first item in the list May 20 17:39:11 take a look at hierarchy viewer to find what is focused when you move the list May 20 17:39:53 wait wait! what's the hierarchy viewer?! Do you mean the outline view in eclipse? May 20 17:40:42 emmby: i dont believe this is possible because the third parameter will cause the list not to allow it selection. May 20 17:40:49 emmby: no, i mean the tool called hierarchyviewer May 20 17:40:51 its in the SDK May 20 17:41:39 the adapter which is in use to provide your header view will return false from isEnabled if isSelectable is false. and I know that ListView respects this property May 20 17:42:05 soreachilles , jasta: thank you for your time May 20 17:42:49 emmby: i believe you have a view above the listview which is taking focus. hierarchyviewer will show you which item has focus May 20 17:42:55 i was at the middle of the document, haven't reached the instance save stuff, so I made these stupid questions :) May 20 17:43:16 okay, poking around in hierarchyview now for the first time May 20 17:43:44 emmby: that is a very powerufl tool, i highly recommend you use it when your UI is misbehaving May 20 17:43:57 yeah it looks pretty slick, dunno how i missed it before May 20 17:45:39 jasta, altough it won't tell me why my listview is not displaying the view that I set to it using setEmptyView() :P (it shows my listviews height as 0 :/ ) May 20 17:48:26 hm, there are a couple of frame layouts above my list view May 20 17:49:53 and yup! one of them has focus May 20 17:49:57 okay. spiffy tool May 20 17:51:46 hola ctate May 20 17:52:50 one weirdness is that I just set that FrameLayout to isFocusable:false, and yet the hiearchyviewer is still reporting that it has focus May 20 17:53:06 is that expected, jasta? May 20 17:54:01 skyPhyr: did you add those other actions to another for that BroadcastReceiver? May 20 17:55:40 this platform is awesome, i can't believe i just spent 2 years reinventing the wheel on java me May 20 17:55:46 ugh, sorry for the reality check May 20 17:56:08 filipePT, same here :) May 20 17:56:10 this is really funny May 20 17:56:34 i just took 2 weeks designing a realtive layout manager for j2me low level canvas May 20 17:56:45 hey, there it is ALREADY MADE on android May 20 17:56:53 *relative May 20 17:56:59 lol May 20 17:57:32 tauno: we should kill ourselves May 20 18:00:34 no everyone should buy android phones so we don't have to write winmobile code ever again... May 20 18:02:39 eventually Windows Mobile will be ported to desktops, because the desktop Windows will become so large and resource intensive that no computer can run it May 20 18:02:47 <_Auron_> lol May 20 18:02:56 (belated) sup hk May 20 18:03:58 zinx: a couple of years ago i was working at a mobile browser company May 20 18:04:07 (Openwave) May 20 18:04:29 and jbq and i were talking one day about our target platform May 20 18:04:50 never messed with wm though, still, my phone is a diamond, which btw i am desperately trying to sell to get a droid :) May 20 18:04:54 featurephones of the day were in the sort of "ARM7, app gets maybe 4MB of RAM" range May 20 18:05:42 and we realized that we were implementing a browser for hardware that was nearly identical in capability to the desktop computers for which NCSA Mosaic was targeted May 20 18:06:05 filipePT, yeah, I spent 2 years writing custom input/text/list/buton/checkbox items on top of canvas.. and everything like that is already here! :) May 20 18:06:07 yeah :P May 20 18:06:14 i had a computer with less oomph than that ;) May 20 18:06:16 a 25 MHz 68020 with 4 MB of RAM May 20 18:06:18 no fpu May 20 18:06:37 and i'm not really all that old :x May 20 18:06:45 except that unlike our browser, Mosaic got to assume there was a hard drive May 20 18:06:52 and didn't have to do forms May 20 18:06:55 or tables May 20 18:06:58 20MB hard drive tops :P May 20 18:06:59 or javascript May 20 18:07:03 or CSS May 20 18:07:04 or emulate ie May 20 18:07:05 or the DOM May 20 18:07:16 Adobe Flash! May 20 18:07:17 :x May 20 18:07:37 (just kidding, even many desktop systems can't run that garbage :P ) May 20 18:07:45 god how awful would writing a web-compatible browser layout engine May 20 18:07:54 soreachilles: it's terrible May 20 18:07:59 the standards are crap to begin with May 20 18:08:14 fwiw, firefox / opera / safari have pushed the compatibility picture back towards sanity a bit May 20 18:08:20 yeah May 20 18:08:20 tauno: ..and with the advantage of using theme info and stuff. The thing with the relative layout was that is was necessary to my company solution requirements: 1 binary, >100 targets May 20 18:08:25 and IE7 really is better than IE6 May 20 18:08:28 but the standards are still crap, and IE is still way out there in left field May 20 18:08:36 even if it has improved ;) May 20 18:08:37 so our browser was very standards oriented May 20 18:08:46 does IE8 handle floats properly yet? May 20 18:08:47 ie6 is still on a lot of corporate boxes, and they're not allowed to change the browser May 20 18:08:57 just hell.. May 20 18:09:12 on a featurephone you have to be tricky enough anyway because of screen size issues that mostly ignoring IE compatibility is reasonable May 20 18:09:29 man adding views to containers and doing 3d rotations on the views is just awesome... May 20 18:09:33 <_Auron_> currently I think the samsung omnia is the worst new smartphone out right now May 20 18:09:35 {just got that working} May 20 18:09:36 tauno: so it needed to re-layout itself on different screen resolutions and portrait/landscape switching. And you can guess the boredom it was :) May 20 18:09:40 soreachilles: welcome to Android :) May 20 18:09:45 I know.. just so cool May 20 18:09:57 <_Auron_> it has a very bad bug that screams about having critically low storage memory every 2 minutes and every person that has the phone has the problem now May 20 18:10:14 i defined a view from scratching got my container, added the view, then did a little rotation about the y-axis on them May 20 18:10:23 hah just slick May 20 18:10:27 <_Auron_> and apparently almost no one can use the 8GB of storage it has on there.. it has 8GB, 90mb of 'storage', and then microSD card May 20 18:10:54 <_Auron_> and it only seems to use the 90mb part for applications, which is very very quickly eaten up May 20 18:10:59 _Auron_: most of the storage space is media-only or something, like the iPod Touch? May 20 18:11:12 (does the Touch still do that?) May 20 18:11:14 <_Auron_> yes, and it tries to store media on that May 20 18:11:21 filipePT, yeah, not to mention every damn phone has its own way of interpreting the j2me spec :/ May 20 18:11:21 <_Auron_> it tries to store media on the 90mb May 20 18:11:26 ha ha whoops May 20 18:11:45 well, at least optional apis May 20 18:11:56 <_Auron_> the ringtones, wallpapers, and applications that are run are in the 90mb May 20 18:12:09 <_Auron_> and VZAppzone uses 30mb of it May 20 18:12:11 midp / cldc is supposed to work similarly, supposed yeah, i had a couple of issues with that too May 20 18:12:11 <_Auron_> worst design ever -.- May 20 18:12:21 but nothing compared to MMAPI fragmentation and such May 20 18:12:35 <_Auron_> ontop of the fact it has a resistance touchscreen and tends to be very slow in everything it does May 20 18:13:10 <_Auron_> resistive* May 20 18:13:28 tauno: that brings me the following, will this fragmentation hog that blows up java me portability factor, be in the android world? May 20 18:14:04 i should happen for major release jumps, say, 1.1 and 1.5, that is acceptable May 20 18:14:38 <_Auron_> but it's unrelated to android so I'll stop now :P May 20 18:14:43 filipePT even the core api is implemented really differently across platforms (eg the spec states in bold that a method MUST NOT BLOCK and how does samsung implement it? of course they make it a blocking function :/ ) May 20 18:14:43 but how soon until manufacturers ship they own android /API plugins implementation ? May 20 18:15:13 ctate: fwiw I have a sample app showing the onSaveInstanceState funkyness from yesterday, but I've solved the problem and moved on.. but... the issue was having a tabhost override onSaveInstanceState(), in which case, the tab's onOnSaveInstanceState() would be called, but his bundle in onCreate() would be null. Remove the tabhost override, and it works fine.. weird May 20 18:15:41 hunh. file a bug about that. May 20 18:15:45 tabs are gross :( May 20 18:16:01 okay .. I'm in love May 20 18:16:02 http://www.microvision.com/pico_projector_displays/ May 20 18:16:02 I'm never sure if there's some doc somewhere that says this is as designed, so I dunno about filing the bug May 20 18:16:45 yeah I wish I hadn't used Intents as tabs now .. but.. I sorta don't want to rewrite it, but definately finding weirdness related to it May 20 18:17:01 so if your TabHost object does not override onSaveInstanceState(), it works? May 20 18:17:05 yu May 20 18:17:06 yes May 20 18:17:15 tauno: lol sure i believe you. Had my issues too. "sizeChanged()" callbacks that are not called in some situations, some handsets call pauseApp, others don't (well this last one is specified as "*SHOULD*..." but...blargh). What's the point of defining a spec if you use the conditional SHOULD every paragraph ? May 20 18:17:15 was your override not calling up to super.onSaveInstanceState() ? May 20 18:17:23 correct, it was not calling up May 20 18:17:27 aHA May 20 18:17:29 heh May 20 18:17:29 can anyone please point out the stupidity that I'm making here? http://pastebin.com/d1235c3ea The empty view just wont show up (if I put as string to the adapter, it is displayed just fine but if I remove it then the list is just empty /eg it isn't displaying my TextView) May 20 18:17:33 don't file a bug :) May 20 18:17:47 however, it doesn't 'seem to' matter that it doesn't call up.. in that, nothing calls up, and it works May 20 18:17:59 ya I wouldn't file it -- I'm sure it's not a bug, it's described somewhere... May 20 18:18:05 "The default implementation takes care of most of the UI per-instance state for you by calling onSaveInstanceState() on each view in the hierarchy that has an id, and by saving the id of the currently focused view (all of which is restored by the default implementation of onRestoreInstanceState(Bundle)). If you override this method to save additional information not captured by each individual view, you will likely want to call through to May 20 18:18:10 yeah yeah I read that :) May 20 18:18:16 j'accuse! May 20 18:18:18 the 100th time you told me to, I actually did read it May 20 18:18:29 you will LIKELY May 20 18:18:35 I didn't likely want to, heh May 20 18:18:44 "otherwise be prepared to save the state of each view yourself" F00 May 20 18:18:50 sure.. that's fine May 20 18:18:57 because the tab's onSaveInstanceState does get called May 20 18:19:07 it just doesn't get called in onCreate() with that bundle May 20 18:19:15 anyway, call super.onSaveInstanceState() from the tabhost override and see if it starts working May 20 18:19:28 (i expect it will) May 20 18:19:33 god you're going to make me debug that ancient 14 hour code again? ok.. lemme find it May 20 18:19:40 ha ha ha May 20 18:19:44 don't sweat it May 20 18:19:48 nah I got it right here May 20 18:20:02 ok i'll talk to you again in 14 hours :) May 20 18:20:24 i just got this cool 3d transition done, so I'll play with this again... one sec May 20 18:20:32 hell, even android docs are nice. Not the purple javadoc horror show May 20 18:21:30 makes me wanna read it on a netbook when i go to bed instead of my "Donald in trouble" bd May 20 18:21:47 ok, nevermind May 20 18:21:48 ok: tabhost must either not override onSaveInstanceState or call up if it does override... May 20 18:22:09 going to keep testing other permutations for some unknown reason May 20 18:23:18 right ok, doesn't matter if the tab calls up in onSaveInstanceState, just the host.. if the host doesn't do it, tab (only tested one) doesnt get his bundle in oncreate.. shrug.. May 20 18:23:57 i feel like an android state master May 20 18:24:03 of doom May 20 18:26:09 I did file a bug though, but it was related to sqlite... May 20 18:26:55 weird difference between 1.5 and 1.1: I have a LinearLayout with a custom background drawable (with two states: selected and default). If I click on it in 1.1 it'll show the selected state briefly, then revert to the default. But if I click on it in 1.5, it shows the selected state and gets stuck there May 20 18:28:38 a LinearLayout should not enter the selected state when clicked May 20 18:28:44 it should be in the pressed state May 20 18:28:54 sorry, i mispoke. I meant pressed May 20 18:29:23 and it looks like the problem has something to do with my onClickListener, so i'm digging into that further now May 20 18:32:10 hi May 20 18:33:54 ok, found out why I'm stupid (one of the many many reasons at least) - the listviews empty view has to be part of the contentview. ListView does not magically put it to the screen.. it just shows/hides it. great May 20 18:34:19 IDK why I thought that ListView just replaces its own contents with the View that I specify as the empty view May 20 18:34:27 ahhh, i was wondering what was going on with your empty view May 20 18:35:22 found it out by looking at the AdapterView source.. it's not clear that it works like this from the docs (at least my stupid little brain could not read that out from the docs) May 20 18:37:38 I really thought that it adds the empty view to itself (eg it works as a ViewGroup) and then removes it when it's not needed etc.. May 20 18:45:45 Video-recorder of cupcake...... what resolution does it record in? Anyone knows? May 20 18:47:04 388x260 or something like that May 20 18:47:57 352x288 to be accurate May 20 18:48:09 figured out the problem with 1.5 -- it turns out that if you call setListAdapter from within a click handler, the list adapter "forgets" to reset the pressed state of the header view, so your buttons stay stuck in the pressed state May 20 18:48:14 doesn't happen that way in 1.1 May 20 18:48:37 file an issue about that please May 20 18:48:39 it's 3gp with sound ... only thing I found that plays both A and V is realplayer May 20 18:48:49 it may be deliberate but it's nice to have the hard recordkeeping May 20 18:48:55 ctate: sure, on b.android.com? May 20 18:49:04 yup May 20 18:49:10 emmby: you should never do it this way May 20 18:49:21 the proper way to do what you want is to post() the call to setListAdapter() May 20 18:49:36 romainguy_ beat me to it :) May 20 18:49:43 :) May 20 18:50:11 romainguy_: so the fact that it used to work is an artifact and not really intended? if that's the case, don't bother filing an issue emmby :) May 20 18:50:23 it was an artifact :) May 20 18:50:25 or maybe file it as a docs issue to get that called out in the JS May 20 18:50:30 err, the JDoc May 20 18:50:33 but if it's happening in an onclicklistener, isn't it already happening in the UI thread? why do i need to post it to the UI thread again? May 20 18:50:51 emmby: to make it happen later, after the click is properly handled May 20 18:50:59 otherwise here is what happens: May 20 18:51:05 - you click the button, it gets pressed May 20 18:51:08 - you change the adapter May 20 18:51:10 different sorts of things run on the main thread, interleaved May 20 18:51:32 - that causes listview to relayout, which removes the button temporarily May 20 18:51:44 ah... May 20 18:54:56 yeah, that fixes it. I was only really thinking of Handlers as ways to communicate between threads. I didn't realize I might sometimes need to use them within the same thread May 20 18:55:16 ==emmby May 20 18:55:23 it's quite common actually May 20 18:55:29 the framework itself does it in several places May 20 18:55:38 for instance, every time you call invalidate() or requestLayout() :)) May 20 18:57:20 thanks, very useful May 20 18:58:04 postInvalidate() is even more fun May 20 18:58:08 it actually does two posts ^^ May 20 18:58:16 Wow, I'm surprised. May 20 18:58:31 sammyF, Is that with HTC Dream? 388x288 video-recording? May 20 18:58:53 hm, weird. if I use a handler, the first click works fine, but the second click still locks up the button like before May 20 18:59:18 sammyF, Do you know what format it saves as? mp4? May 20 19:00:30 mr_lou: T-Mobile G1, 3gp May 20 19:00:50 sammyF, That's a pleasant surprise. I guess I better update then. May 20 19:00:51 mr_lou: 3gp is AV, but only realplayer can play both .. at least for me May 20 19:00:58 sammyF, Thanks. May 20 19:01:14 mr_lou: don't expect stellar pictures though .. the camera is still as shitty ;) May 20 19:02:06 sammyF, It's slightly better than a Sony Ericsson W760 though, according to me tests. May 20 19:02:27 sammyF, But I'm more interested in video-recording anyway. May 20 19:02:47 sammyF, Missing video-recording is one of the reason I'm not using my HTC Dream / T-Mobile G1. May 20 19:03:16 which Android 1.5 does :p May 20 19:04:13 What about fps? May 20 19:04:28 388x288 @ 25 fps ? May 20 19:06:05 says 27 here May 20 19:06:11 :-o May 20 19:06:13 don't ask me why 27 May 20 19:06:16 That's neat. May 20 19:06:32 that's an odd kind of FPS May 20 19:07:04 sammyF, Have you compared quality with other devices? Like a Sony Ericsson phone? They record in 320x240. May 20 19:07:50 nope. I don't have any video recording phone. but does the Sony Ericsson also have the inbuilt Gaussian Blur filter that's applied to EVERYTHING? ;) May 20 19:07:52 I wonder how I need to update, since I'm using JesusFreke's v.1.1 firmware. May 20 19:08:45 Hm... May 20 19:08:51 Using JF Updater of course. May 20 19:08:59 And no udate is ready yet it seems. May 20 19:09:00 Oh well. May 20 19:12:14 Thanks for the help sammyF May 20 19:12:17 * mr_lou is off May 20 19:13:28 np May 20 19:14:49 Hey, sorry for a stupid question but how would I bind a texture to one face of a object instead of the whole thing? Just unbind it when drawing the other faces? May 20 19:19:34 is there an alternative to public apps android market for companies? May 20 19:19:58 i'd be interested on developing an internal app for a company May 20 19:20:18 for now i'm stuck with a webapp May 20 19:20:35 sell it direct to them May 20 19:20:55 erm, i can't find an information i need in the docs, maybe you can help me. Are the android core supported media formats valid for any transport protocol? I mean, it says it supports H264, can it access that content through RTSP for instance ? May 20 19:20:56 soreachilles: how can they install it on their devices? May 20 19:21:04 soreachilles: that's my question :) May 20 19:21:19 soreachilles: is there a way to autoupdate, etc. May 20 19:21:21 no clue May 20 19:22:40 is RMI/corba available (doesn't seem to) May 20 19:23:58 ok, a more simple question, does the emulator plays video ? or better, is it able to stream video ? May 20 19:25:02 from the docs i know it can't *record* May 20 19:25:27 is it possible to increase the font size of the drop down in an AutoCompleteTextView? May 20 19:25:52 ...Is there any obvious reason why http://pastebin.com/m4767e72b wont work? May 20 19:26:59 Its returning a null bitmap. May 20 19:41:11 Hi, is android available for e-book readers like the irex ? May 20 19:41:27 if someone were to port it, we'd gladly accept the patches :) May 20 19:48:29 ctate: there's no way to flash end-user models? May 20 19:48:57 Argh, why is .getDrawingCache() return NULL? Do i have to call some special functions before using it? May 20 19:49:13 ctate: because the htc magic is eur460 in france, and at this price, i wanna flash it :) May 20 19:54:14 hi, how to set a background img in my application? May 20 19:55:36 so in windows, is there anyway to remove the android driver May 20 19:55:41 and maybe reinstall it? May 20 19:59:29 sooo.. end user models.. flashing available officially? May 20 19:59:41 gcarrier: i just put 1.5 on my end user model May 20 20:00:23 Phantoon: i meant custom images, btw May 20 20:00:32 Phantoon: not operator-approved May 20 20:00:47 gcarrier: oh.. this was JF's rom May 20 20:00:57 Phantoon: JF==? May 20 20:01:01 but im probably not the best person to ask May 20 20:01:32 i guess it's impossible May 20 20:01:42 im pretty new to a lot of this.. but i eally hope they keep making phones similar to the G1 with android.. its just pretty awesome May 20 20:01:54 that's why i'd love ADP2! May 20 20:02:09 ADP2 ? May 20 20:03:01 android dev phone 2 May 20 20:03:08 oh May 20 20:03:11 are they out? May 20 20:03:16 is that the HTC magic? May 20 20:03:19 Phantoon: nope May 20 20:03:22 i don't like the lack of a physical keyboard May 20 20:03:23 Phantoon: nope to out :) May 20 20:03:32 nobody's ever said anything about any hypothetical non-ADP1 developer phone. May 20 20:03:37 Phantoon: i don't May 20 20:03:44 gcarrier: dont what? May 20 20:03:51 Trust me, you want a keyboard. May 20 20:03:57 thats why i love the G1 May 20 20:04:00 touch screen + keyboard May 20 20:04:04 its about F$$@!n time someone did it right May 20 20:04:15 i have huge hands and fingers.. so May 20 20:04:16 Phantoon: sorry, don't like phones that can get dirt, can break "easily", etc. May 20 20:04:33 gcarrier: me neither.. dirt is how you know its being used :D May 20 20:04:56 this G1 i got from a friend who dropped it 5 stories, had to replace the LCD + digitzer, but everything else is mostly in tact May 20 20:05:03 nice May 20 20:05:12 so it survives the toughness test May 20 20:05:30 Well, it should protect the screen better :P May 20 20:05:37 lolz May 20 20:05:45 hey if i fall 5 stories and only have a broken arm May 20 20:05:48 im not going to bitch and moan :) May 20 20:12:43 Can someone tell me how much time it takes to load a new (empty) activity on a G1, for example ? May 20 20:12:57 is it instantaneous? May 20 20:13:23 or do you notice it ? May 20 20:13:36 may appear a dumb question but i need to know :) May 20 20:14:45 filipePT: 3,000,000ms May 20 20:15:03 lol May 20 20:15:13 don't believe me? http://developer.android.com/guide/practices/design/performance.html May 20 20:15:20 ;) May 20 20:15:39 look under "Some Sample Performance Numbers" May 20 20:15:41 double lol May 20 20:15:50 dude, seriously. May 20 20:18:25 i'm getting a htc magic friday May 20 20:18:46 i hope my avd is close to its specs May 20 20:18:55 and ill get the same feeling May 20 20:28:43 If i create a canvas from a bitmap will the Bitmap be automatically updated when i draw something to the canvas or do I have to call something. May 20 20:31:10 does anyone of you know about a dependency injection framework for android? like spring or guice? May 20 20:31:57 Mmjack: you have to use onDraw May 20 20:32:46 thanks log May 20 20:33:08 Wait, what. May 20 20:33:39 What do a call onDraw on? May 20 20:34:33 oh wait guice 2 is supposed to run on android?! May 20 20:54:16 hmm.. i wonder if ic an get an updated driver May 20 20:54:28 HTC Dream Composite ADB interface with a yeller exlcamation point in device manager May 20 20:56:46 hey, is there some kind of an ORM library for android? May 20 20:57:38 i would just prefer to avoid writing SQL queries... May 20 21:01:56 hi May 20 21:02:26 has anybody got an idea why i can't debug my application? eclipse tells me this: [2009-05-20 22:58:06 - ddms]Can't bind to local 8611 for debugger May 20 21:02:50 fusion44, did you google it? May 20 21:02:56 maybe this has something todo with the vista security facilities May 20 21:04:07 http://www.google.com/search?q=android+can't+bind+to+local+for+debugger+vista May 20 21:04:07 KNY: i have searched the google android groups, maybe the wrong ones May 20 21:06:11 Sorry for asking a stupid question but do i have to call a function to update a BMP from a canvas? May 20 21:08:42 KNY: the first google search entry solved my problem, I'm sorry for even asking that question :/ May 20 21:09:09 fusion44, don't sweat it. Glad you got it solved :) May 20 21:09:29 thanks :) May 20 21:16:27 notifyDataSetInvalidated() still has no javadoc :/ May 20 21:21:45 if I just want it to repaint the current items, then I should call this and not notifyDataSetChanged(), right? May 20 21:36:20 any quality differences between g1 and g2? May 20 21:37:04 i mean, g2 has little more battery, more flash, a little more RAM, but it seems to be all May 20 21:38:25 G2? May 20 21:38:55 ohh May 20 21:38:56 how sexy May 20 21:38:59 i love that design May 20 21:39:04 AT&T nees to pick it up too May 20 21:39:08 i nkow they wont May 20 21:39:09 but they need to May 20 21:41:03 Is there any function I can call that will create a View from a layout resource? May 20 21:41:39 ((LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.entity_short_view, this, true); May 20 21:41:52 replace entity_short_view with your layout id May 20 21:44:00 average screen/plastics/etc quality? May 20 21:44:36 thanks emmbu May 20 21:44:40 emmby May 20 21:44:45 np May 20 21:46:09 Wait, what is a ViewGroup? May 20 21:46:51 i'd hate to get a ADP1 a few days/weeks before a ADP2 comes out :( May 20 21:47:25 Lol May 20 21:48:12 gcarrier: welcome to the world of technology. your statement can be rephrased as follows: "I'd hate to get a $X v1 a few days/weeks before $X v2 comes out" May 20 21:48:26 $X can be any tech gadget.. May 20 21:48:53 at some point, you just have to break down and buy it, or you'll never get it May 20 21:49:13 (I should be in sales) May 20 21:49:25 Qwell: except htc magic is OUT. May 20 21:49:35 Qwell: and it's not a little better May 20 21:49:45 Qwell: is a total different design which suits me better. May 20 21:50:39 different design? May 20 21:51:02 looks like a G1 without a keyboard :p May 20 21:51:04 Lol the magic doesnt have a physical keyboard and is slimlined. May 20 21:51:08 Qwell: that's it. May 20 21:51:20 the G1 isn't that thick... May 20 21:51:27 Qwell: is it! May 20 21:51:49 Qwell: in my eyes it is May 20 21:51:56 Lol I'v got a G1 and a magic. I still prefer the G1, in the first week of having my magic i'v dropped it at least 3 times :S, never dropped my G1. May 20 21:52:01 the Magic looks maybe 7/8ths the size May 20 21:52:27 Qwell its for people who want a iPhone. lol May 20 21:52:28 as you can put them side-to-side: how long does that battery last? is the screen the same? May 20 21:52:39 4mm thinner May 20 21:52:41 The screens are exaftly the same May 20 21:52:44 so is the WiFi May 20 21:52:46 and everything else May 20 21:52:49 is the camera the same? (i don't really care) May 20 21:52:49 more like 3.5 May 20 21:52:54 I didnt notice a battery boost onthe Magic May 20 21:53:00 Yep cameras exactly the same. May 20 21:53:01 does the ram quantity change something? May 20 21:53:09 My magic did seem slightly faster at first May 20 21:53:28 but I think thats because i havnt factory reset my G1 in a while and its got like 10MB of internal memory left. May 20 21:53:39 ...I need to root this phone lol. May 20 21:53:40 both are 3.2mp cameras May 20 21:54:00 lol i can get the ADP1 for 320eur or the dream for 375eur, loosing my points at my phone operator. May 20 21:54:23 both are 528MHz May 20 21:54:23 gcarrier: wow that's a cheap dream. May 20 21:54:34 ADP is for development. Its locked out of android market. May 20 21:54:37 Well not locked out May 20 21:54:40 but restricted May 20 21:54:41 ttuttle: ;) May 20 21:54:55 you can't install apps from anything else that the android market? May 20 21:55:00 You can May 20 21:55:14 adp install AndroidApp.apk from a command line with the phone plugged in lol. May 20 21:55:17 Just nothing DRMed. May 20 21:55:19 sooo... what's different besides the look and the fact you can flash it? May 20 21:55:32 and the simlock May 20 21:55:56 ttuttle: DRMed... if i want to provide an app to a company, i gotta get it approved? May 20 21:56:19 ...The ADP isnt supported. If you have a problem you cant go and ask your phone company why its not working you have to sort it yourself. May 20 21:56:33 Mmjack: i don't care May 20 21:56:41 Lol Kk then. May 20 21:56:59 gcarrier: no. May 20 21:57:01 Mmjack: i'm just only interested in android if i can provide private apps to companies. May 20 21:57:33 gcarrier: when you submmit apps to the store, you can enable copy-protection. if you do, the Market app on the ADP1 will not show them. May 20 21:57:35 Mmjack: i work for a few <50 people companies who want specific apps May 20 21:57:50 Lol well you can. May 20 21:57:54 apps don't have to be approved? May 20 21:58:04 i can specify who gets my app? May 20 21:58:09 including updates? May 20 21:58:14 is there CORBA? May 20 21:58:21 gcarrier: uh May 20 21:58:23 If you want to put them on somebody elses phone you can just sign the apk yourself and send it to them. May 20 21:58:42 gcarrier: 1. no approval, afaik. 2. just give it to them. 3. ditto. 4. for what? May 20 21:59:18 CORBA? You want your app to have health insurance? May 20 21:59:24 lol May 20 21:59:29 ... May 20 21:59:39 seriously, CORBA IS useful May 20 21:59:45 I thought CORBA was an antiquated RPC system? May 20 22:00:33 ttuttle: do you know an efficient alternative? May 20 22:01:03 ttuttle: i don't want to parse (XML|JSON) May 20 22:01:06 the corba was begin... GO May 20 22:01:20 wars May 20 22:01:25 not even YAML May 20 22:02:39 json's pretty much the way to do web services these days... May 20 22:02:54 the parser is included with android (the json.org one) May 20 22:02:56 json rules May 20 22:02:59 ya May 20 22:03:01 soreachilles: these dark days yes May 20 22:03:05 heh May 20 22:03:16 these enlightened days ya mean :) May 20 22:03:19 wow, corba. that takes me back. what a pain May 20 22:03:29 SOAP available? May 20 22:03:37 wow, soap, that takes me back too May 20 22:03:42 heh May 20 22:03:42 ok lol May 20 22:03:46 i'm 21 May 20 22:03:54 gcarrier: protobufs? May 20 22:04:07 ttuttle: on http? May 20 22:04:27 gcarrier: why not? May 20 22:04:32 ttuttle: why? :) May 20 22:04:47 gcarrier: or raw TCP, if you prefer May 20 22:05:01 ttuttle: phone operators don't block that? May 20 22:05:31 gcarrier: some might May 20 22:05:45 gcarrier: the g1 uses things other than http, iirc May 20 22:05:59 gcarrier: imap, plus proprietary stuff for gmail and gtalk. May 20 22:06:26 gcarrier: protobufs may be included, but corba is not, and they're both binary formats, right? May 20 22:06:59 Is a bitmap recieved from getDrawingCache() recycled after the content view is changed May 20 22:07:01 ttuttle: including protobufs doesn't mean anything May 20 22:07:22 ttuttle: the protobuffer tools COMPILE proto files to java/c++/etc. May 20 22:07:42 gcarrier: i mean you could use it as your format. May 20 22:08:03 proprietary stuff for gmail... the gmail app isn't opensource? May 20 22:10:44 correct; the google apps are not open source May 20 22:11:00 too bad May 20 22:11:08 if I want to have a TextView change text color when it's pressed, how do i do that? May 20 22:11:16 i know how to have its background change color, but not its text May 20 22:11:26 (using a selector drawable) May 20 22:11:46 Is there anything wrong with http://pastebin.com/m230755d8 ? Or should that work? May 20 22:14:35 Mmjack: what is CubeTestView? May 20 22:15:19 A GL cube that loads the Bitmap as a texture and rotates round in circles. May 20 22:15:29 a view* May 20 22:15:38 in which* May 20 22:17:52 :S Cant get this thing to work. May 20 22:18:16 Mmjack, did you look at the ApiDemos app? May 20 22:18:28 define "can't get this thing to work" May 20 22:18:34 is it just drawing a black surface? May 20 22:18:38 Nope May 20 22:18:40 It draws the cube May 20 22:18:43 Rotating May 20 22:18:43 is it causing an exception? May 20 22:18:46 with no texture May 20 22:18:48 oh May 20 22:18:59 but if i use a texture from a resource May 20 22:19:01 it works fine. May 20 22:20:49 What is F May 20 22:21:29 The view May 20 22:21:53 The content view loaded from a resource May 20 22:22:02 Why are you creating a new bitmap from the bitmap you're getting May 20 22:22:13 is the content view currently being displayed? May 20 22:22:31 F is the content view displayed before you tap a button. May 20 22:22:45 you need to enable or build the drawing cache first May 20 22:22:51 ^^ May 20 22:22:53 Tried both. May 20 22:23:07 F.setDrawingCacheEnabled(true); right under setContentView May 20 22:24:32 http://pastebin.com/m3bbacb6b is the full class. May 20 22:28:41 is there a special way to make an alternating listview? May 20 22:29:02 what's an alternating listview? May 20 22:30:10 romainguy_: odd and even items have a different color background May 20 22:30:37 just do it from the adapter May 20 22:31:01 I am but when an item is selected the bcackground does not change May 20 22:34:40 :S is there any way to get a Bitmap of a screenshot of the screen? May 20 22:37:24 Mmjack: using eclipse, there is an icon in the Devices view May 20 22:38:10 I want to get on while running a program May 20 22:39:15 I meen from a program :S May 20 22:42:35 Argh :S May 20 22:42:43 Cant get anything to work properly May 20 22:43:37 Mmjack, you can if your device is rooted May 20 22:44:42 Lol that came out quite funny May 20 22:44:59 ;D May 20 22:45:50 :S It is taking the screenshot correctly apparently May 20 22:46:04 http://img39.imageshack.us/my.php?image=device.png May 20 22:46:27 whoa May 20 22:47:43 Lol its just taking a bitmap of a bitmap of a bitmap of a bitmap and so on May 20 22:48:03 still pretty trippy May 20 22:48:23 Why doesnt it work on my damed cube! May 20 22:53:16 I have an EditText configured with android:numeric="decimal|signed" but it doesn't allow the "+" symbol. Is there a way to allow that (and still have it work with the OSK)? May 20 22:56:00 will users have the ability to not update to 1.5 ? May 20 22:56:42 hunterp, I think you can just ignore the reminder but it would be annoying May 20 22:56:45 hunterp, why do you ask? May 20 22:57:11 is the GPS better on the G2? May 20 22:57:18 cause Im thinking about how im going to release now with 1.1 and then migrate to 1.5 May 20 22:57:32 can I have 2 .apks one for 1.1, and one for 1.5 ?? May 20 22:59:27 hunterp: that's how it appears people are doing it on the market, a "normal" 1.5 release, and a pre-cupcake release May 20 22:59:53 doc_savage: but does the market support 2 versions for one app ? May 20 23:00:29 hunterp: I've not published anything, but my understanding is so long as they have different package names May 20 23:01:57 hunterp, yeah, it supports it. 1.1 folks won't see the 1.5 version May 20 23:02:45 KNY: can the two separate versions have the same package names? May 20 23:02:57 doc_savage, no May 20 23:03:27 thx. is what I read, but wanted to make sure May 20 23:03:27 doc_savage, what I've been doing is having my 1.5 users run beta builds that I'm working on since it's not out yet May 20 23:03:36 once t-mobile pushes it OTA, I'll publish to the market May 20 23:03:57 ah cool May 20 23:04:26 1.5 Is out isnt it? May 20 23:04:26 it's annoying because I've fixed some bugs in the 1.5 fork and so I know that I have a bunch of users running buggy software May 20 23:04:35 Mmjack: for some definitions of "out" May 20 23:04:37 Mmjack, tmobile hasn't pushed it OTA yet May 20 23:05:01 the source code has been published, it ships out of the box on HTC Magic devices from Vodafone, and T-Mobile Europe has pushed it to its users. May 20 23:05:10 T-Mobile US has apparently not done so at this time. May 20 23:05:11 KNY: yeah I heard it was delayed, rather a week late and working I suppose May 20 23:05:13 Oh May 20 23:05:17 Unlucky you guys May 20 23:05:23 ctate, t-mob us delayed it until june May 20 23:05:39 til june? ow May 20 23:05:42 got url? May 20 23:05:50 ctate, well, they said by june people will be running it or something May 20 23:05:58 I think they're planning to start the rollout next week May 20 23:06:03 ctate, let me look May 20 23:06:10 I got 1.5 like a week ago. Whats with the US delay? May 20 23:06:10 oh, "by june" means "before june" :) May 20 23:06:11 http://news.softpedia.com/news/Cupcake-Delayed-for-T-Mobile-USA-Users-112020.shtml May 20 23:06:34 "which places the estimated arrival time of the update in early June." May 20 23:06:59 someone at softpedia can't read. May 20 23:07:03 sheesh May 20 23:07:10 ? May 20 23:07:18 that was just the first news result google found May 20 23:07:40 http://forums.t-mobile.com/tmbl/board/message?board.id=Android_MR&thread.id=1 May 20 23:07:45 there we go, straight from tmo May 20 23:07:51 the quote says "users will have it by early june", but softpedia rewrote that in their head as "in early june" May 20 23:07:57 the two are not the same. tsk tsk softpedia. May 20 23:08:24 yeah May 20 23:10:23 jsharkey: thanks for the fix for my BroadcastReceivers problem :) May 20 23:11:59 :-( is there anything wrong with my code at http://pastebin.com/m43456170 ? I think I'm gohna go mental if I cant get this working May 20 23:12:37 Mmjack, I ask again, did you look through the ApiDemos sample app? May 20 23:12:43 Yes May 20 23:12:44 I believe they have opengl demos May 20 23:12:46 okay May 20 23:12:52 I dont think its wrong with the OpenGL May 20 23:12:58 as i tested with 2 bitmaps from resources May 20 23:13:01 and the cube textured fine May 20 23:13:15 Its probably something to do with the way I send bitmaps from one class to another. May 20 23:16:25 Bah, I guess its time for me to give up. Cya all May 20 23:55:40 is there any reason why the OSK doesn't automatically appear for an EditText with android:digits set? May 20 23:55:43 is that a bug? May 21 00:13:49 Hey. May 21 00:13:55 Anyone worked with ItemizedOverlays before? May 21 00:14:57 hey ttuttle May 21 00:14:58 ltns :) May 21 00:15:32 jasta: :) May 21 00:15:33 jasta: Hey. May 21 00:17:45 jasta: How's life? May 21 00:17:55 anyone used draw9patch before? May 21 00:20:17 god damnit May 21 00:20:28 adb on my debian laptop won't consistently recognize my phone May 21 00:20:54 Ah, it's the adapter I have. May 21 00:21:45 ttuttle: pretty good, was just in SF this weekend for Bay To Breakers May 21 00:22:08 jasta: cool May 21 00:23:51 KNY: yes May 21 00:24:15 oh great ... Eclipse can't open sync connection to my G1 :P May 21 00:24:21 romainguy_, haha, I should have known. I got it sorted now though, thanks May 21 00:24:49 romainguy_, if you have any influence over the tool's design, my suggestion is to increase the drawing area. Drawing in a 1px-thick area is really tough May 21 00:24:59 KNY: I wrote the tool :p May 21 00:25:02 er May 21 00:25:05 romainguy_: Hey. May 21 00:25:10 :) May 21 00:25:13 KNY: you can zoom in May 21 00:25:22 romainguy_, yeah, but then it's a lot of zoom-and-pan May 21 00:25:42 but you cannot draw outside of that area May 21 00:25:47 now I have to ask : which tool are you talking about? May 21 00:25:50 is there some reason you can't make it thicker and then just crop on save? May 21 00:25:54 draw9patch May 21 00:26:03 I could make it more lenient yeah May 21 00:26:12 or add a line tool :p May 21 00:26:29 but usually the patches shoul dbe pretty small May 21 00:26:31 romainguy_, or make it so that when you're dragging and go out of the drawable area and back in, it fills in the line May 21 00:26:39 the bigger they are the more risks you take May 21 00:26:46 romainguy_, it's easier to work with them at high res and then shrink it down May 21 00:26:50 KNY: patches are welcome btw :)) May 21 00:26:55 but yeah, this is my first time using the tool May 21 00:27:09 * KNY makes a joke about nine patches May 21 00:27:43 still, nice work. I wish more frameworks provided UI tools like this May 21 00:27:56 don't thank me, I wrote it for myself May 21 00:28:00 like HierarchyViewer May 21 00:28:06 I just couldn't take it anymore :p May 21 00:28:13 haha May 21 00:28:27 what did you do before draw9patch? did you have to create them by hand? May 21 00:29:00 you bet May 21 00:29:08 and actually they often came from the designers totally wrong May 21 00:29:16 so I spent a LOT of time fixing nine patches May 21 00:29:34 nice May 21 00:29:38 which is very painful when you need to build the whole framework to test the change :p May 21 00:30:26 yikes May 21 00:31:01 I'm surprised you (not you in particular, but the android team) don't have a debug mode where you can hot-swap drawables or something May 21 00:32:52 mmm, ^X^E is so handy :) May 21 00:32:54 anyone know how to get the mapview to scroll with the trackball ? May 21 00:32:59 KNY: we could May 21 00:33:05 KNY: but now it's not worth it anymore May 21 00:33:10 it would have been handy pre-1.0 May 21 00:33:12 romainguy_, yeah, understandable May 21 00:33:29 and it can be tricky because of the way drawables are processed and compiled May 21 00:33:39 (and zygote doesn't help either) May 21 00:54:46 are 9-patch systems common in UI frameworks? May 21 01:02:54 xavd, how's that libs/.svn/ bug coming? :) May 21 01:04:11 oh it's fixed May 21 01:04:16 but May 21 01:04:48 it'll be a bit before we can update ADT May 21 01:06:30 romainguy: what would be really neat for the draw9patch tool is to have a buffer around the single pixel - even zoomed in it can be pretty tough to keep on track. If we could configure X pixels from the edge to count as that edge it'd be awesome May 21 01:06:30 awesome (that it's fixed) May 21 01:06:47 skyPhyr-, that's what we were discussing earlier May 21 01:06:51 or a line tool, as he mentioned May 21 01:18:38 KNY - nice :) that would make it soooo much easier :) May 21 01:18:52 skyPhyr-, he also said "patches welcome" :) May 21 01:19:39 I only just got the platform compiled following the directions :) still trying to figure out how to test the images with an emulator lol May 21 01:39:35 To use a MediaPlayer with a widget I should use a Service and just bind to it as required in my BroadcastReceiver etc? May 21 01:55:25 Hey, anyone know how to take a screenshot in the emulator? May 21 01:56:08 <_Auron|G1_> printscreen? May 21 01:56:11 ttuttle: yeah - if you have eclipse open go to the DDMS perspective and there's a button to take one May 21 01:56:25 <_Auron|G1_> or that May 21 01:56:32 skyPhyr-: Er, I don't have eclipse. May 21 01:56:56 can probably do it from adb I just have no idea what the command is... May 21 02:25:24 ttuttle, I think there's a screenshot tool included with the SDK May 21 02:27:18 ttuttle, it's not in the SDK but it's in the git repo May 21 02:36:43 how would I change the size of a Bitmap? (eg shrink or squeeze it pixelwise) May 21 02:37:35 KNY: ah May 21 02:55:33 romainguy: should I change the indenting of the other parameters so they're all the same? May 21 02:59:25 no May 21 02:59:33 change the indenting of your change so that your change matches the rest of the file **** ENDING LOGGING AT Thu May 21 02:59:57 2009