**** BEGIN LOGGING AT Tue Mar 03 02:59:56 2009 Mar 03 03:00:17 yeah, trying to avoid having to create my own picture viewer, but i might have to Mar 03 03:01:23 khert: i think your app should issue an Intent.ACTION_MEDIA_SCANNER_SCAN_FILE broadcast. Mar 03 03:01:48 ooh, that sounds promising Mar 03 03:01:53 to notify the OS that you've added generally accessible media Mar 03 03:03:48 khert: http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_SCANNER_SCAN_FILE Mar 03 03:04:13 cool, thnx ctate Mar 03 03:08:45 morganx: yeah, there's no way to do the broadcast thing through adb Mar 03 03:08:50 afaik Mar 03 03:09:43 cool. Mar 03 03:11:46 ctate: good info. i can always make a dummy app that broadcasts that. good enough for me Mar 03 03:13:11 yup yup Mar 03 03:13:25 and you're quite welcome Mar 03 03:13:49 in general, Intent is fully of yummy goodness Mar 03 03:14:39 some of which is just notifications you can subscribe to from the OS, but some of which is like this, standard ways of communicating both with the OS and with other apps Mar 03 05:16:43 How do I comply with an apache license, since I can't really put a notice and license file at the "top directory of my redistributable files"? Mar 03 05:29:33 rsteckler: you mean in the apk? Mar 03 05:30:17 tmzt: I'm not sure what I mean =) I'm not a lawyer, and I want to use some code that has an apache license 2.0 at the top of it. Mar 03 05:30:45 that's what I mean, if apk is a zip file it has a root directory Mar 03 05:30:46 I'm not sure what I need to do, but on wikipedia, it said I need to put the notice and license files at the "top directory" of my redistributable... Mar 03 05:30:48 rsteckler: just put it in an about menu Mar 03 05:31:00 tmzt: ah. I guess I can put it there, but no one will see it... Mar 03 05:31:01 but if you don't distribute the source code, I don't think you even have to do this Mar 03 05:31:10 but I'm no lawyer, etc. Mar 03 05:31:18 romainguy: ah. It's actually code you wrote =) Mar 03 05:31:19 t-mobile puts all that in the box, right? Mar 03 05:31:27 rsteckler: what code is it exactly? Mar 03 05:31:32 flickr.java Mar 03 05:31:39 so I wrote it on my spare time Mar 03 05:31:57 I hereby grant you the rights to use it under any license you want Mar 03 05:32:02 as long as I'm not liable, etc. Mar 03 05:32:02 woot. Thanks. Mar 03 05:32:07 right. Mar 03 05:32:11 should be easier for you :) Mar 03 05:32:14 that works. Mar 03 05:32:31 Would you like me to post-back improvements to you? Mar 03 05:32:40 (non-breaking changes) Mar 03 05:33:20 I'm not working on this project anymore Mar 03 05:33:26 but if I feel like I need them, I'll let you know Mar 03 05:33:28 thanks :) Mar 03 05:33:54 np. Thank you. Mar 03 05:34:34 damn I love that tool Mar 03 05:40:10 which tool is that? Mar 03 05:40:17 LightRoom 2 Mar 03 05:40:41 I use Aperture... Mar 03 05:40:53 I used to use Aperture Mar 03 05:40:57 I should grab a trial of Lightroom to comparem though. Mar 03 05:41:10 I switched over to LR2 because I find it much faster Mar 03 05:41:14 and produces better results Mar 03 05:41:20 romainguy: Here is what I'm doing with flickr.java: http://www.virtualsheep.com/index.php?topic=2.0 Mar 03 05:41:24 and also it integrates much better with Photoshop and Camera RAw Mar 03 05:41:34 ah I saw your app on market Mar 03 05:41:51 that's cool Mar 03 05:41:56 cool. I'm not sure what use a screensaver is on a mobile, but we'll see =) Mar 03 05:42:48 I guess if you find you have too much battery... :) Mar 03 05:43:20 It listens for battery_change events and fires up its activity when you plug into AC or USB Mar 03 05:43:26 As soon as you unplug, it finish()es Mar 03 05:43:31 I was just teasing you Mar 03 05:43:34 I read the description :) Mar 03 05:43:35 =P Mar 03 05:44:09 It's cool, because I just have the phone sitting by my desk all day doing nothing... Mar 03 08:19:34 morning Mar 03 08:21:48 y0 Mar 03 08:22:09 and g'nite. Mar 03 08:22:21 my wife is snoring... **** BEGIN LOGGING AT Tue Mar 03 11:01:27 2009 Mar 03 11:14:39 Anyone know how to "activate" the gps on you phone? Mar 03 11:14:49 It works with the simulator, but not when I run it on the phone Mar 03 14:10:40 Anyone know what a normal angle of view is? (Thinking of the android camera) Mar 03 14:11:08 DX use PI / 4 ... but that cant be correct for a real camera, can it? Mar 03 14:12:07 get a couple of sticks, a protractor, and a pencil, and find out :> Mar 03 14:12:45 ... Mar 03 16:43:35 With the build system, how does one 'clean' just one directory ? Ex: I used mm to built a specific directory, but I need to do some fixes and I'd like to clean it. 'mm clean' just fails Mar 03 16:43:46 fails => doesn't clear but just builds Mar 03 16:45:37 arguably, clean can only work in cases where it's not necessary. rm tends to work better. I tend to go heavy-handed with rm -rf out Mar 03 16:46:01 ... Mar 03 16:46:20 I don't think he wants to rebuild everything each time :P Mar 03 16:46:47 jbq, no, rebuilding for the 3rd time in 2 hours the whole image doesn't really interest me Mar 03 16:47:24 bilboed-pi: why do you need to make clean in the first place? Mar 03 16:49:01 to remove the built files ? Mar 03 16:49:17 rm them? Mar 03 16:49:39 a simple "no we don't support make clean" would suffice Mar 03 16:49:50 "make clean can't work" Mar 03 16:49:55 LOL Mar 03 16:50:00 seriously, it can't Mar 03 16:50:15 * romainguy can't remember the last time he needed to make clean Mar 03 16:50:18 it can only delete files that make knows about, and it makes knows about files, it means that it can update them. Mar 03 16:50:44 it'd be interesting to know the history of how the android build system came to be... what it is. Mar 03 16:50:55 jbq, ok, I'll just write a script by hand Mar 03 16:51:03 or just touch all file in the directory, that'll force a rebuild Mar 03 16:51:17 * jbq designed the BeOS build system in 2000, which inspired the build system that inspired the Android build system. Mar 03 16:52:01 * romainguy is happy with the build system, it just works and is damn easy to setup :) Mar 03 16:52:26 * bilboed-pi waits for 3rd rebuild to finish Mar 03 16:52:37 stop doing make clean then ^^ Mar 03 16:52:49 ah Mar 03 16:52:50 ah Mar 03 16:52:50 ah Mar 03 16:53:01 la comedie a son paroxysme Mar 03 16:53:54 bilboed-pi: you only want to clean one project though, right? isn't it reasonable to run make clean on that project, then make on the project? Mar 03 16:54:35 vol, no, because the standard makefiles don't work with the android build system (the projects I'm compiling are autotools-based build systems) Mar 03 16:55:49 ah well. Mar 03 16:56:03 like... 99% of the open-source software out there ? :) Mar 03 16:56:24 even though I hate the guts of autotools (and libtool even more)... at least they work Mar 03 16:56:41 jbq, wasn't beos already dead in 2000 ? Mar 03 16:56:50 jbq, I mean the company, not the OS Mar 03 16:57:29 bilboed-pi: nope. It was still a "full" company until Q4'01, and continued to exist as an empty shell for years after that. Mar 03 16:57:45 * jbq got laid off on Aug 14 2001. Mar 03 16:58:09 grmbl, I forgot -j8 on my make command Mar 03 16:58:13 *sigh* time for a smoke Mar 03 17:11:03 Hello! Mar 03 17:13:05 I have a service and I want to send a message or post a runnable back to my UI. What's the best way to do this from a service? Send a message and register a listener? Mar 03 17:15:29 BlindOracle: Is that service running when your UI is not running? Mar 03 20:53:06 is there a predefined way to invoke a contact list to choose a number or do you have to build one from scratch? Mar 03 20:53:45 anyone know how i can fix this? http://paste.ifies.org/394 either that, or does Android have a built in crypto library? Mar 03 20:53:56 i need to be able to decode and encrypted file Mar 03 20:54:32 *an Mar 03 21:03:09 digitalspaghetti: http://developer.android.com/reference/javax/crypto/package-summary.html Mar 03 21:13:20 tbr: invoke an intent for the contact list Mar 03 21:13:28 (sorry don't recall what it is off hand) Mar 03 21:16:03 wow I just tried deploying my app to my G1, it immediately rebooted and then got stuck on the android symbol until I pulled the battery Mar 03 21:18:40 marklar: thanks Mar 03 21:22:11 thanks vol Mar 03 21:22:56 digitalspaghetti: np Mar 03 21:23:24 what do you guys think of the market for ebooks on android? Mar 03 21:33:36 digitalspaghetti: readers are design snobs. Mar 03 21:35:02 I take that back, they are snooty selection snobs first, design snobs second, and are not apathetic when it comes to moral chasm. **** ENDING LOGGING AT Wed Mar 04 02:59:57 2009