> Hi, i have some problem to communicate with a service from an Android > application. > > The service is in a first package "package com.myService" and the > application in another on "package com.myApplication". > > My service work and start well but my next step is to add an AIDL > interface to external applications. > > I have tried to follow the recomandation described here : > http://developer.android.com/guide/developing/tools/aidl.html, but i have > still the following error (given in the log service): > > > W/ActivityManager( 568): Unable to start service Intent { > action=com.MyApplication.IBootstrapService }: not found
You do not appear to have a service named com.MyApplication.IBootstrapService. > <service android:name=".Myservice" /> You will probably need an <intent-filter> here, to associate some publicly-visible name with your service. Take a look at: http://bit.ly/k4Yy3 (above link points to an example in the source code to _The Busy Coder's Guide to *Advanced* Android Development_). > Why in each example, there is an application AND a service in the same > package ? Not all examples have this. > Is is mandatory to do this ? No. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---