DulcetTone wrote:
> I have a tree of folders containing the source for a working Android
> activity I hope to split into a Service and two Activities.
> 
> How do I accomplish this?  Can I simply add an AndroidManifest.xml to
> each of 3 separate Java packages?

The AndroidManifest.xml file is per application, not per component 
(where "component" would be activities, services, etc.).

If you are splitting your "working Android activity" into three separate 
applications, each with their own project tree, their own Ant script, 
their own APK, etc., then you will need three AndroidManifest.xml files.

If, however, you are simply having several components in a single 
application, you only need one AndroidManifest.xml file. If you put 
those components in separate namespaces, you will just need to spell out 
those namespaces when referencing the classes in AndroidManifest.xml.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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