On Jun 9, 10:41 am, "[email protected]" <[email protected]> wrote: > Hi, > > I have a service class my.app.MyService that I'm attempting to launch > from my.app.MyActivity as follows: > > Intent svc = new Intent( this, MyService.class ); > > The manifest contains the entries: > > <uses-permission > android:name="android.permission.ACCESS_BACKGROUND_SERVICE" /> > > <service android:name =".MyService" /> > > LogCat gives the message: > > "Unable to start service Intent { comp={"my.app/ > my.app.MyService" } } : not found" > > Could someone kindly let me know what I am missing? > > Thanks, > > Nick.
I think the service tag needs to be a child of the application tag in your manifest - if it is not this is the sort of error message that is generated. Check that and see how it goes... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

