when I put it inside the <application> tag, it complains that com.myco.test.myservice does not exist, that's because it's in com.myco.service.myservice.
On Sep 4, 9:35 pm, Dianne Hackborn <[email protected]> wrote: > It has to be inside of the <application> tag. It doesn't have anything to > do with a namespace. > > > > On Fri, Sep 4, 2009 at 8:38 PM, sdphil <[email protected]> wrote: > > > So then it has to be in the *same* namespace? > > > tia. > > > On Sep 4, 6:36 pm, Dianne Hackborn <[email protected]> wrote: > > > <service> needs to be inside <application>. > > > > You should see a warning message in the log when you install your app > > about > > > there being a problem in the manifest. > > > > On Fri, Sep 4, 2009 at 5:00 PM, sdphil <[email protected]> > > wrote: > > > > > saw this related post -- > > > > >http://groups.google.com/group/android-developers/browse_thread/threa. > > .. > > > > > but my situation is slightly different, my service is not in the same > > > > package namespace as my application / activities. > > > > > so, i have > > > > > <manifest ... packaget="com.myco.test" ...> > > > > > <application...> > > > > <activity android:name=".myactivity" .../> > > > > </application> > > > > > <service android:name=".myservice".../> > > > > > </manifest> > > > > > the issue is that my service is in -- > > > > package com.myco.service.myservice > > > > > and my activity is in -- > > > > package com.myco.test.myactivity > > > > > so my questions are -- > > > > > 1. does my service *have* to be in the com.myco.test namespace? > > > > 2. if it doesn't, how do I specify the android:name for my activity > > > > and my service to work? > > > > > tia. > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > and > > > answer them. > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

