**** BEGIN LOGGING AT Fri Mar 28 02:59:57 2008 Mar 28 04:02:50 greetings. Mar 28 04:03:02 good morning Mar 28 04:46:00 i have a question regarding aidl, am I in the right channel? =x Mar 28 04:46:56 jlotte: yep Mar 28 04:48:13 zhobbs: thanks Mar 28 04:48:21 people are confused by the topic i guess Mar 28 04:48:40 I'm trying to use: import android.content.IntentReceiver in an aidl file Mar 28 04:49:16 I get a "couldn't find import for class android.content.IntentReceiver" error Mar 28 04:49:34 however, android.content.Intent works fine Mar 28 04:51:36 what is the latest version of the eclipse plugin? im upgradin my sdk, but I dont see a new eclipse plugin anywhere Mar 28 04:54:37 jlotte: you're passing an IntentReceiver in aidl? Mar 28 04:54:55 zhobbs: yes as an argument to a function Mar 28 04:54:58 jtoy: plugin didn't change rc14-rc15 Mar 28 04:55:05 ah, I see Mar 28 04:55:15 jlotte: you can only pass Parcelable types Mar 28 04:55:15 thats what I was thinking Mar 28 04:55:53 IntentReceiver is not a Parcelable type, and in fact I can't imagine a reason you'd need to pass an IntentReceiver Mar 28 04:57:07 Intent works because it implements parcelable Mar 28 04:57:58 zhobbs: thanks :) Mar 28 04:58:37 it needs to be a parcelable type because the compiler needs to know how to marshall the data? Mar 28 05:01:25 don't know a lot about it...but it uses Open Binder for the IPC communication (ie aidl) Mar 28 05:02:01 or OpenBinder that is Mar 28 05:10:16 I've updated my app to m5, but my manifesto tells me my package doesn't exist, is this a common error? Mar 28 05:10:51 it's gives an error? Mar 28 05:11:02 package "com.test.myapp" doesn't exist ? Mar 28 05:11:20 that's strange Mar 28 05:11:28 maybe "fix project properties" Mar 28 05:11:42 right click on project -> android -> fix proj props Mar 28 05:11:54 (if using eclipse) Mar 28 05:12:23 yes, I have tried that, and also refresh, I am still not sure what the problem is Mar 28 05:13:17 weird Mar 28 05:20:28 has the directory structure of src always matched the package schema? Mar 28 05:20:45 such as com.test.app = src/com/test/app/*.java ? Mar 28 05:21:54 jtoy: that should always be the case right? Mar 28 05:23:49 ok, i didnt remember, im jsut trying to figure out why eclipse is telling me my package doesnt exist Mar 28 05:28:24 is thre a 0.4 ecliplse update? Mar 28 05:28:42 I am at 0.3.3, but i jsut got an error saying eclipse needs 0.4 but I run update and it says I am up to date Mar 28 05:34:13 am i still here? Mar 28 05:34:29 yes Mar 28 05:39:49 i figured it out, i need to update the plugin manually Mar 28 06:07:56 Can a service bind to another service (e.g. MyNetworkService binds to GTalkService) Mar 28 06:24:32 hi can anybody plz tell me how to view a photo stored in a DB or a file Mar 28 06:26:15 nil578: you can use drawable images defined in your resource folder Mar 28 06:27:16 no i m going to download the images from a server n store them in a file or a DB Mar 28 06:27:43 it wont be possible to go in the application's drawable folder n paste the images Mar 28 06:28:44 so at that time how should i access the photos Mar 28 06:35:19 i still cant get my app to compile Mar 28 06:36:12 can anyone help me, upgraded my app to m5 and now when i try to compile I get an error saying my package doesnt exist Mar 28 06:36:12 I've refreshed, fixed properties, still no change Mar 28 07:02:42 anyone? Mar 28 07:39:03 anyone in here ever use a TwoLineListView ? Mar 28 07:39:12 I wonder if I'm doing something wrong or if it is broken Mar 28 07:39:27 is there a 2line? Mar 28 07:39:35 http://code.google.com/android/reference/android/widget/TwoLineListItem.html Mar 28 07:39:47 i can instantiate it just fine, but calling getText1 and getText2() returns null Mar 28 07:40:07 are you using xml? Mar 28 07:40:22 muthu: nope, just new TwoItemListView(context); Mar 28 07:40:51 the example shows xml Mar 28 07:41:03 do the same in code Mar 28 07:41:15 muthu: i got the impression that the xml was only for those who wanted the optional imageview Mar 28 07:41:28 muthu: i was hoping to avoid manually assembling something that appeared to be provided Mar 28 07:41:52 yeah.. i know.. null means may be the textview is not there yet Mar 28 07:42:15 let me check the source Mar 28 07:44:02 oh yeah its null Mar 28 07:44:02 the default constructor sets null text view Mar 28 07:45:09 muthu: thx for checkin Mar 28 07:45:15 np Mar 28 08:21:18 Since my intentReceiver was shot down earlier... Mar 28 08:22:32 How would I pass in a callback object/method through AIDL? Mar 28 08:23:23 (Assuming I will be doing asynchronous calls on the receiving stub side) Mar 28 08:56:39 'morning Mar 28 08:56:49 good morning Mar 28 08:56:49 morning Mar 28 08:56:57 afternoon Mar 28 09:00:37 ? Mar 28 09:24:30 hey muthu r u there Mar 28 09:24:44 hi nil Mar 28 09:25:00 ok wwill com after 5 min Mar 28 09:25:01 plz Mar 28 09:25:09 ok Mar 28 09:37:04 hi muthu Mar 28 09:37:10 u there? Mar 28 09:37:25 muthu Mar 28 09:37:56 hi Mar 28 09:38:16 can u please tell me a way to access the photos from a local machine Mar 28 09:38:27 into my application Mar 28 09:38:33 what's the view? Mar 28 09:38:47 for now i m copying the images in res/drawable folder Mar 28 09:39:06 then you can use the viewswitcher Mar 28 09:39:10 gallery Mar 28 09:39:13 etc., Mar 28 09:39:15 no Mar 28 09:39:22 what i m asking is Mar 28 09:39:45 how to get the photo from a local machine into my application Mar 28 09:40:02 so i need to specify the path of the photo Mar 28 09:40:11 is it not in drawable Mar 28 09:40:21 oh ok Mar 28 09:40:28 you can put it in assets Mar 28 09:40:33 then use assetmanager Mar 28 09:40:34 that's what drawable is not there Mar 28 09:40:49 what is it Mar 28 09:40:58 res/assets Mar 28 09:40:59 folder Mar 28 09:41:28 so i have to create a folder first named assets Mar 28 09:41:54 yes Mar 28 09:42:02 look in apidemos Mar 28 09:42:10 an example is available Mar 28 09:42:16 which? Mar 28 09:43:16 apidemos with the sdk Mar 28 09:43:40 i din't got it Mar 28 09:43:54 its bundled with sdk Mar 28 09:44:01 look in samples folder Mar 28 09:44:28 ok Mar 28 09:44:44 but do u knowthe name of that example Mar 28 09:53:51 ReadAsset Mar 28 10:03:46 ok Mar 28 10:03:51 thank ou Mar 28 10:34:24 hi Mar 28 12:00:14 hi all Mar 28 12:04:52 hi Mar 28 12:12:10 is there a way to copy the system image ? Mar 28 12:13:53 my bad Mar 28 12:13:54 found it Mar 28 12:14:06 (tools/lib/images/system.img) Mar 28 12:17:44 has anybody used the openFile in contentProvider Mar 28 12:17:45 ? Mar 28 12:30:11 anybody had luck mounting the images using yaffs2 ? Mar 28 12:30:17 on linux that is Mar 28 12:42:36 I have a contact that will meetup with google in a near future and would like some questions regarding android to be asked to google Mar 28 12:42:42 anything on your mind? Mar 28 12:49:38 acsia, how about getting incoming phone call info? Mar 28 12:49:44 or outgoing for that matter Mar 28 12:52:45 you mean from a programmatical point of view? Mar 28 12:52:54 I beleive the questions will be quite high level Mar 28 12:55:49 hrm... well... how 'bout those synergies? Mar 28 12:59:01 synergies? am I missing a joke? Mar 28 12:59:54 acsia: hi Mar 28 13:00:03 ask him about the payment solution Mar 28 13:00:05 hello Mar 28 13:00:38 I beleive it is adwords credit Mar 28 13:00:42 ha Mar 28 13:01:03 ok.. how would applications distributed Mar 28 13:01:17 will there be a package manager? Mar 28 13:02:33 acsia, 'synergies' is one of those high level BS kinds of things you hear from C** types Mar 28 13:04:55 how are you, google, going to leverage the syngergies given by outsourced byte engineers while ensuring the API stays in the pipeline of top 100 mobile oriented companies Mar 28 13:05:56 I worked for a top high tech company and I created a BS translator as I could not understood half of the emails Mar 28 13:07:49 I don t understand how the new openFile works Mar 28 13:07:58 within the contentProvider Mar 28 13:17:06 is there a way of listing bits of text in a textview with bullet points? Mar 28 13:17:16 can I use html-ish tags? Mar 28 13:19:51 I ve been having issues creating paragraph Mar 28 13:20:03 I tend to use a webview and put the html in the asset folder Mar 28 14:11:50 hey all Mar 28 14:12:11 has anyone successfully implemented an application that can receive and accept GTalk invites? Mar 28 14:39:03 how would I compile a .jar to say, send to my boss along with emulator.exe? Mar 28 14:44:36 B0jangles, by using the tools...dx Mar 28 14:45:46 is there documentation anywhere on how to do so? Mar 28 14:46:39 in the docs Mar 28 14:47:21 ah, "dx -help" Mar 28 14:47:22 thanks Mar 28 14:56:11 cool Mar 28 16:35:04 * donomo reads Mar 28 16:52:03 has anybody managed to mount the yaffs2 system images in loopback on linux ? Mar 28 16:56:41 mornin' Mar 28 16:59:03 afternoon Mar 28 17:00:02 I am freaking kicking my head in with the openFile from the content provider... Mar 28 17:20:40 can you pass interfaces as arguments in AIDL? Mar 28 17:20:55 yep Mar 28 17:21:27 I think there is an example for an async aidl interface in the apidemos Mar 28 17:21:35 if not jasta has one on his blog Mar 28 17:35:55 zhobbs: url? Mar 28 17:36:20 http://devtcg.blogspot.com/ Mar 28 17:36:24 thx Mar 28 17:49:50 does anyone mind giving me a hand with the eclipse debugger. I am confused. Mar 28 17:50:25 what doe all the entries under "thread" in the debugger window mean Mar 28 17:51:03 all seem to contain my objects but how can I tell what has caused my nullpointerexception Mar 28 17:51:07 ? Mar 28 17:51:27 In the breakpoint window Mar 28 17:51:33 click the J! button Mar 28 17:51:59 and add NullPointerException to the list, it will automatically break when an NPE happens Mar 28 17:53:07 i've done that. how can I tell what broke it? Mar 28 17:53:15 what caused the npe Mar 28 17:53:51 so when you debug now eclipse should "break" and show you the link causing the npe Mar 28 17:53:59 line* Mar 28 17:56:56 ah, that makes sense. I always assumed that that couln't be it because I was sure that this code is oky. i'll have to look again. Mar 28 17:59:57 thanks zhobbs. it fixed it. I made such a stupid mistake... Mar 28 18:00:30 np Mar 28 20:14:36 does anybody know what launchFlag stands for? Mar 28 20:14:48 can taht influence the intent filtering? Mar 28 20:30:18 not sure Mar 28 20:30:26 can i pass generic objects through AIDL ? Mar 28 20:32:23 i guess not Mar 28 20:40:49 nope, only parcelable, other interfaces, and primitive java types Mar 29 00:25:43 in which of the onXXXX methods should i unregister my intent receivers? Mar 29 00:49:37 does someone know how to use the "Looper"? Mar 29 00:49:49 i want to display a ProgressDialog in a thread Mar 29 00:50:12 and dismiss it at the end Mar 29 00:54:52 hmm nope Mar 29 00:55:02 i think you just pust to a handler Mar 29 00:55:03 or something Mar 29 00:55:16 inZane-: http://www.helloandroid.com/node/243 Mar 29 00:55:18 might help Mar 29 01:08:59 hm yeah Mar 29 01:09:39 http://www.anddev.org/trackbuilder_for_mock_location_providers-t384.html Mar 29 01:16:09 does setFollowMyLocation(true) work ? Mar 29 01:16:45 try Mar 29 01:16:59 i did and it doesn't follow Mar 29 01:17:03 as in, the map doesn't move by itself Mar 29 01:17:23 uhm Mar 29 01:17:33 how did you try that? Mar 29 01:17:48 well i animate to my current location Mar 29 01:17:51 then set it to true Mar 29 01:17:57 and i dont see it moving Mar 29 01:18:01 as in Mar 29 01:18:06 it doesn't refresh the map automatically Mar 29 01:18:25 okay Mar 29 01:21:11 screw it, i'll just use my own solution Mar 29 01:22:18 http://groups.google.com/group/android-developers/msg/3ad92563b2806aed Mar 29 01:22:27 http://www.youtube.com/watch?v=Cp02aUYDEr8 Mar 29 01:22:34 pliiiiiing Mar 29 01:22:49 I always tend to follow my own solution Mar 29 01:23:06 yea Mar 29 01:23:16 just gonna animate to the current location in the intent receiver Mar 29 01:23:23 but man, the map is *really* slow Mar 29 01:24:25 it takes like 15-20 seconds for it to respond to up/down/left/right Mar 29 01:24:48 ok, haven't played around with mapActivity very much yet Mar 29 01:26:09 got to get some sleep poffy_ **** ENDING LOGGING AT Sat Mar 29 02:59:56 2008