**** BEGIN LOGGING AT Mon Feb 04 02:59:57 2008 Feb 04 10:20:48 hi Feb 04 10:21:07 i have a question about intents Feb 04 10:22:29 an intent can be received only by running processes or there is a mechanism that also start the right for that intent if the process in not started yet? Feb 04 10:22:56 the right process i mean Feb 04 10:48:54 what's the difference between starting an activity and starting a SUB activity? Feb 04 10:57:45 you can use GOSUB with the second one?;-) Feb 04 11:04:49 gosub?? Feb 04 14:30:13 how do I load a background image to my activity? Feb 04 14:45:05 http://code.google.com/android/reference/android/view/View.html#setBackground(android.graphics.drawable.Drawable) Feb 04 16:20:04 Anyone else had any trouble applying styles to string references in tablelayouts embedded within other tablelayouts? Feb 04 16:40:20 chomchom: it's a bug but it's unrelated to TableLayout Feb 04 16:47:32 how so? Feb 04 16:47:45 could you please explain or point me to the issue? Feb 04 16:48:07 thats great thats its been recognised though Feb 04 16:49:16 they're pretty fast at finding and fixing problems Feb 04 16:53:29 they're not so skilled at keeping a stable irc connection alive Feb 04 16:53:41 that's when I turn on VPN :) Feb 04 16:54:18 besides, I can sitll see the conversation from this side :)) Feb 04 16:54:52 chomchom: So the problem is that we cache String that come from XML files Feb 04 16:55:14 chomchom: If you use the same reference String several times in your layout and apply a style to one of them, it messes up with the others Feb 04 16:58:00 ah right Feb 04 16:58:30 so do you need to copy the reference to apply a style then? Feb 04 16:59:43 that would fix it on the compiler side, meantime is there any way for me to make references of references? Feb 04 17:00:29 so @color/green would look first to copy the reference of @color/master ? Feb 04 17:01:45 chomchom: the result would be the same Feb 04 17:02:05 chomchom: for now, you can try creating several entries with the same value Feb 04 17:02:21 yeah I guess, thanks Feb 04 17:02:31 but really, this is a bug we need to fix :) Feb 04 17:03:03 Is there any other big style bugs that you could give me a heads up on? Feb 04 17:03:18 None that I am aware of Feb 04 17:03:33 But I don't really work on that part of Android, so it might just be ignorance from my part :) Feb 04 17:04:25 While I've got an active conversation going, is there any way to have a notification swoosh into the screen? Feb 04 17:04:53 preferably a notification that has been substituted with a picture Feb 04 17:05:39 using the NotificationManager? Feb 04 19:00:40 so quiet :) Feb 04 19:00:44 must be something big about to happen... Feb 04 19:01:23 yes, it's quiet before the storm Feb 04 19:05:46 can you RSVP for the boston event yet? Feb 04 19:12:45 it was worth going to the even they did in munich, btw Feb 04 19:13:00 there was plenty of time to just chat with them about various things Feb 04 19:22:33 were there loads of apps on display at the events? Feb 04 19:23:30 I've noticed a real lack of apps available for android in general even though there must be tons in development. I think everyone is keeping them close to their chest until the first deadline Feb 04 19:25:27 I'm really looking forward to when everyone shows off their new apps, very exciting. I thought maybe at a developer event maybe some of the developers had brought along their betas Feb 04 19:28:37 Did anyone in here attend any of the android developer days? Did google have a few more tid bits and demos to show off? Feb 04 19:29:14 They haven't come to the southeast yet... Feb 04 19:30:15 I heard at the campfire there wasn't a presentation or agenda really...sounds like the other ones had a slide presentation Feb 04 19:30:25 * davidw is not keeping Hecl close to his chest.... not at all:-) They've probably heard about it too much here already Feb 04 19:30:39 zhobbs, yeah, that's what I liked about it Feb 04 19:30:53 davidw, the campfire? Feb 04 19:31:06 I hate those things if there's an Agenda, and halfway through you realize it's not what you are interested in Feb 04 19:31:09 chomchom, here's some info on the munich one: http://jars.de/java/android-workshop-in-munich Feb 04 19:31:12 well, the munich thing Feb 04 19:31:35 ahh, you're in germany Feb 04 19:31:39 thx Feb 04 19:31:46 austria, but... I drove to munich Feb 04 19:32:51 I missed the one in london. ... reading the post you just linked. The new sdk has a new UI?! wow Feb 04 19:33:32 chomchom, yeah, looking forward to that Feb 04 19:46:23 The astonishing tribe (the guys to who google have outsourced the UI) look like an interesting bunch. Lots of concepts on their site: http://blog.tat.se/default.aspx Feb 04 19:47:31 I didn't know they outsourced it... Feb 04 19:49:22 its a swedish company, theres a comment by Juergen Fey sagt saying that Dan Morill stated it was being developed by TAT Feb 04 19:49:36 a comment on the site you posted Feb 04 19:53:27 I wonder if google is going to wait for the Mobile World Congress (Feb 11-14) to reveal the new UI Feb 04 20:02:27 That sounds likely. That will rev up audiences enough to attract yet more attention to the new sdk release Feb 04 20:11:15 yeah, i checked out TAT last night as well, there's some interesting stuff there. Feb 04 20:11:22 i'm really anxious :) Feb 04 20:12:18 techcrunch guy puts foot in mouth: http://www.techcrunch.com/2008/02/04/googles-android-is-already-delayed/ Feb 04 20:23:30 davidw: there's been a lot of really backwards blog media coverage of Android... Feb 04 20:24:03 frankly, i think the industry is scared ;) Feb 04 20:24:17 nobody knows what to think hehe Feb 04 20:33:41 in a related note, there are a lot of idiots on the android-developers list ;) Feb 04 21:56:39 jasta, yep Feb 04 22:01:12 that's useful, I needed a bit more time on my project Feb 04 22:11:55 ugh, i have to go to Peachtree City, GA tomororw Feb 04 22:14:26 i hate the south so much :) Feb 04 22:37:30 can I use a png image as the wallpaper/background for my activity? Feb 04 22:40:13 yeah, add it to res/drawables and then set the android:background="@drawable/background" Feb 04 22:41:46 so... messages and handlers Feb 04 22:43:22 yeah... message and handlers Feb 04 22:44:21 what's Looper? loops waiting for messages? Feb 04 22:47:18 I think the Looper is something that wraps around thread calls waiting for messages yeah Feb 04 22:47:38 So its like a message handler for the life of a particular event Feb 04 22:48:31 actually you create a Looper within a Thread by the looks of things Feb 04 22:49:47 here is a nice implementation of them: http://www.anddev.org/trackbuilder_for_mock_location_providers-t384.html Feb 04 22:51:57 the looper is just the event loop for a particular thread. Feb 04 22:53:08 Hmm, in that anddev tutorial are they using the looper in the thread to avoid using messages I guess? Feb 04 22:54:19 the looper should not be used in that way. that example is crap. Feb 04 22:54:47 yeah, that's weird...I would use a handler Feb 04 22:55:00 yeah, they should use a handler and post the UI changes they are trying to make to the main UI thread that way. Feb 04 22:55:10 and handle them there. the thread should not be doing anything relating to the UI. Feb 04 22:55:14 that is, the spawned thread. Feb 04 22:56:12 in fact, this is just entirely accidental that it works correctly. they're really creating their own nested event loop which can handle only one event (the modal alert dialog) Feb 04 22:56:37 but that is precisely what the alert is doing on its own. Feb 04 22:58:24 this is a really easy way to deadlock your program too. **** ENDING LOGGING AT Tue Feb 05 02:59:57 2008