1.yes
2.in AndroidManifest.xml ,the attribution of packeage specifies the
package name for the main activity launched.Other android:name  is
relative to it.
Be my view only.
On 9月5日, 上午8时00分, 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.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to