After i set the build path it is compiled fine no more erros. Bu the moment i wanna to call the Interfaces like registerCallback, its giving few errors as below:
02-16 10:31:15.413: ERROR/JavaBinder(278): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) 02-16 10:31:15.413: ERROR/JavaBinder(278): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 02-16 10:31:15.413: ERROR/JavaBinder(278): at android.os.Handler.<init>(Handler.java:111) 02-16 10:31:15.413: ERROR/JavaBinder(278): at android.widget.Toast.<init>(Toast.java:397) 02-16 10:31:15.413: ERROR/JavaBinder(278): at android.widget.Toast.makeText(Toast.java:230) 02-16 10:31:15.413: ERROR/JavaBinder(278): at com.android.TestService.TestService$2.registerCallback (TestService.java:103) 02-16 10:31:15.413: ERROR/JavaBinder(278): at com.android.TestService.ITestService1$Stub.onTransact(ITestService1.java:58) 02-16 10:31:15.413: ERROR/JavaBinder(278): at android.os.Binder.execTransact(Binder.java:276) 02-16 10:31:15.413: ERROR/JavaBinder(278): at dalvik.system.NativeStart.run(Native Method) Has anyone tried it. Here i have added two projects as(TestService and ServiceMonitor) in a same workspace, in ServiceMonitor i am trying to call the interfaces exposed by TestService using AIDL. Thanks & Regards, Sunil Hans <hkess...@gmail.com> Sent by: android-developers@googlegroups.com 02/14/2009 10:05 PM Please respond to android-developers@googlegroups.com To Android Developers <android-developers@googlegroups.com> cc Subject [android-developers] Re: Unable to start service Intent error in Client-Server project Make sure you have added TestService to your build path for the service monitor :). I'm new to Eclipse myself :). The two projects are in the same workspace, yes? Just different folders I presume? The zip file I provided was the contents of my workspace, it had those two folders in it. You should be able to create a blank workspace in Eclipse, put the contents of the zip file (the two base project folders) into that blank workspace through your file manager/explorer in your OS, then back in Eclipse, choose File|Import|General|Existing Project and import both projects. It should build after that. ______________________________________________________________________ ______________________________________________________________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---