**** BEGIN LOGGING AT Wed Jan 09 02:59:58 2008 Jan 09 03:00:24 hehe, what the hell Jan 09 03:00:30 found a weird eclipse plugin bug Jan 09 03:01:12 o rly? Jan 09 03:01:37 [2008-01-08 18:58:23 - AsyncService] /home/jguilfoyle/android/AsyncService/src/org/devtcg/asyncservice/IAsyncService.aidl:3: couldn't find import for class org.devtcg.asyncservice.IAsyncServiceCounter Jan 09 03:01:53 but IAsyncServiceCounter.aidl exists, and is in the same path. Jan 09 03:02:06 if i invoke it manually with aidl, and -Isrc, it works. Jan 09 03:02:21 i just kinda futzed around at random, and it started working again. Jan 09 03:03:59 that's odd. Jan 09 03:14:08 heheh, yikes. i just fork bombed my local machine by running this android code! Jan 09 03:14:45 heh Jan 09 03:15:20 i don't quite understand how, either. Jan 09 03:15:29 i don't create any threads explicitly. Jan 09 03:15:53 * jasta runs the emulator with a more sensible ulimit. now lets see what happens :) Jan 09 03:21:58 i keep getting spammed with that stupid error i pasted above too Jan 09 03:22:13 even thought it doesnt matter since the file's already generated Jan 09 03:27:33 ugh, i run into this crap even when i build with ant **** BEGIN LOGGING AT Wed Jan 09 07:33:06 2008 Jan 09 07:55:31 there is definitely a bug in the build environment here. Jan 09 07:57:19 jasta: what bug? Jan 09 07:57:22 aidl should be invoked with -Isrc Jan 09 07:58:14 at least from the ant build.xml, it invokes: aidl src/org/foo/bar/file.aidl, put any import statements such as import org.foo.bar.whatever; will not be found. Jan 09 07:58:18 s/put/but/ Jan 09 07:58:35 this is what it claims, specifically: Jan 09 07:58:36 /home/jasta/android/AsyncService/src/org/devtcg/asyncservice/IAsyncService.aidl:3: couldn't find import for class org.devtcg.asyncservice.IAsyncServiceCounter Jan 09 07:58:58 Because given that path, and a default -I, org.devtcg.asyncservice definitely can't be found. Jan 09 07:59:49 This is also observed in the Eclipse plugin, which doesn't seem to invoke aidl with -I specified either. Jan 09 08:01:42 modifying the build.xml file as such: Jan 09 08:01:43 Jan 09 08:01:43 Jan 09 08:01:49 fixes the problem there, at least. Jan 09 08:01:58 but again, the Eclipse plugin also would need a similar fix. Jan 09 08:07:24 romainguy__: *poke* ;) Jan 09 09:41:32 well whatev. i finished the async example: http://android-random.googlecode.com/files/AsyncService.tar.gz Jan 09 09:41:44 to any google engineers: feel free to tell me if i'm way off base ;) Jan 09 10:12:07 damn... this disappearing data thing is beginning to really irk me Jan 09 10:12:22 I wish you could tell it "give me my data, or give me death" Jan 09 10:22:33 or simply have a swap partition the way other OS's do Jan 09 12:48:45 ok, this is weird... activities can share static fields Jan 09 15:18:08 does anyone else get "error type 3" ? Jan 09 15:30:22 ok solved :) Jan 09 15:57:32 how do I delete an application from the phone (emulator)? Jan 09 16:32:39 http://paste.debian.net/46502 eclipse says this is wrong (the path is res/values/styles.xml) Jan 09 17:07:48 mike1o, what is the error? Jan 09 17:08:25 codev, invalid resource directory name Jan 09 17:08:45 wawhat line? Jan 09 17:10:33 the only mike1o the only thing I found relevant was http://groups.google.com/group/android-developers/browse_thread/thread/b865fe9aa862bc58/121031487e5eb18b Jan 09 17:11:38 I wonder if the eclipse plugin picks up errors that wouldn't normally come out... Jan 09 17:14:13 mike1o, try ant :) Jan 09 17:43:52 codev, developing with eclipse is not suggested in general then? Jan 09 17:51:07 off to work Jan 09 17:52:18 have fun :) Jan 09 17:52:42 what's up guys Jan 09 17:53:12 surprised no one commented on my asyncservice example, actually Jan 09 17:53:46 jasta: where? Jan 09 17:54:14 async service example? link me plz :) Jan 09 17:54:16 I'll comment Jan 09 17:54:22 I need to know how that works.. Jan 09 17:54:41 oh on irc Jan 09 17:54:53 about 9 hours ago Jan 09 17:54:56 i posted it in a few places Jan 09 17:55:30 jasta, do you have a link so I could take a look at it Jan 09 17:55:37 http://groups.google.com/group/android-developers/browse_thread/thread/e1863d2822b22a33/81c0491cde50007d?lnk=gst&q=asynchronous#81c0491cde50007d -- scroll down Jan 09 17:58:42 thank you jasta Jan 09 18:02:20 jasta, I actually downloaded the code and looked at it Jan 09 18:04:37 jasta, this is a loaded question but could someone tell me what binder is? Jan 09 18:20:00 codev: the binder is an IPC implementation that Android uses. this particular one is called OpenBinder, and exists inside kernel space. Jan 09 18:20:26 somewhat similar to COM on Windows, but without all the evil. Jan 09 18:20:51 it is the primary vehicle for IPC on the device. Jan 09 18:42:56 jasta: the Eclipse compilation bug you saw has been fixed already Jan 09 18:45:06 romainguy: in the release we don't have? Jan 09 18:45:15 yep Jan 09 18:45:26 so next plugin update, you'll be good Jan 09 18:45:28 ahh. well, that's good i suppose. Jan 09 18:45:30 ant has been fixed too Jan 09 18:46:21 i had actually thought we'd be getting the new SDK some time in early January. Jan 09 18:49:37 oh well, i am trying to get away from Eclipse anyway. Jan 09 18:49:54 Eclipse no longer correctly building my project is a good way to do that, I suppose. Jan 09 19:01:04 romainguy: can you say when? Jan 09 19:01:25 No :) Jan 09 19:01:51 * Lede guesses friday Jan 09 19:01:53 :p Jan 09 19:04:13 romainguy, you guys going to include my ant install patch? Jan 09 19:04:24 What patch? Jan 09 19:05:45 What bug tracking system to place it in? I posted it to the mailing list a while ago. It looks like this: http://pastebin.ca/848436 Jan 09 19:07:07 I sent the link to the guys who work on the plugin Jan 09 19:08:55 if there would have been a bug tracking system these things could be handeld more efficiently.. Jan 09 19:09:15 Yes indeed Jan 09 19:09:19 what is your function at google romainguy, if i may ask Jan 09 19:09:39 I work on the UI toolkit Jan 09 19:09:53 nice :) Jan 09 19:09:54 awesome.. Jan 09 19:09:59 boy do i suck at android Jan 09 19:09:59 HU-MAN, what is your FUNCT-ION? Jan 09 19:10:10 i never have any idea what I'm doing Jan 09 19:10:13 davidw: *bliep* Jan 09 19:11:20 I'm reading the OpenBinder docs cause I've got nothing to do and I'm trying to understand it :) Jan 09 19:11:21 davidw: is that a reference to something? Jan 09 19:11:42 It just sounded kind of funny... like something a Dalek would say Jan 09 19:12:01 ok Jan 09 19:12:58 davidw: apparently the install target has been added in build.xml Jan 09 19:13:15 oh, cool Jan 09 19:16:41 i suck at graphics, i hope google will supply some anyone can use in their programs :> Jan 09 19:17:27 Lede, there's a ton of opensource graphics Jan 09 19:17:30 and most of them look decent :-D Jan 09 19:18:13 ..and out of place in android Jan 09 19:18:32 hahaha Lede this may be true Jan 09 19:18:49 I'm good at graphics, maybe i'll make some Jan 09 19:44:05 Hecl could use a graphics dude Jan 09 20:02:08 romainguy, any idea if it's possible, in my Activity, to do something when the service started in onCreate has already been fired up? Jan 09 20:19:40 davidw: I have no idea :) Jan 09 20:40:36 heya folks... Jan 09 20:40:52 I recently stepped away from using eclipse, but when I use "adb install mypackage.apk" it does something, but I don't know how to start the app on the phone? Jan 09 20:41:06 Can anyone enlighten me, please? Jan 09 20:41:30 Your application does not show up in the All Applications screen? Jan 09 20:42:00 I don't have an "all applications" screen, but if I look under "Applications", no... it doesn't. Jan 09 20:42:17 And the logs doesn't show any error? Jan 09 20:42:36 Hmm.. which logs? the adb install didn't, I don't know what other logs to check Jan 09 20:42:45 adb logcat Jan 09 20:43:21 Not that I can see. When I tried to run the install again it says its already insatlled. Jan 09 20:43:24 installed. Jan 09 20:47:11 Is there another place I should be looking? from the main menu I'm just arrowing all the way to the left and clicking "applications" Jan 09 20:47:26 That's where your application should be Jan 09 20:47:49 What categories did you declare in your AndroidManifest? Jan 09 20:48:39 I used all the defaults. Jan 09 20:48:45 when I run activityCreator.py Jan 09 20:48:50 *ran Jan 09 20:49:04 then I don't know Jan 09 20:49:10 Well crud. Jan 09 20:50:57 I connected via adb shell and deleted all the old apps... but there were quite a few apps listed there that didn't show up in the applications folder. Jan 09 20:52:18 DO I have to restart the adb server ora nything? Jan 09 20:53:53 http://www.zapnat.com/2008/01/08/android-open-source-phone-showed-at-ces-2008/ Jan 09 20:54:36 but... thats not running android. Jan 09 20:55:18 yet ... Jan 09 20:55:49 Sigh. anyone have any ideas why my files aren't showing up in applications? Jan 09 20:56:43 -rw-rw-rw- root root 11112 2008-01-09 14:17 filelist.apk Jan 09 20:56:48 The file is definitely there according to adb shell Jan 09 20:56:54 in /data/apps Jan 09 20:57:01 err /data/app Jan 09 21:08:17 Alright, i'm going home. I'll come back and ask again more tomorrow. ;) Jan 09 21:18:51 *damn*... thing finally worked Jan 09 21:18:52 hrm Jan 09 21:49:21 oh yeah...finally figured out what wasn't right Jan 09 21:49:30 this activity lifestyle stuff is a bit odd, IMO **** ENDING LOGGING AT Thu Jan 10 02:59:57 2008