Use same project to create multiple applications on same device
Posted
by Mark.Prof
on Stack Overflow
See other posts from Stack Overflow
or by Mark.Prof
Published on 2010-04-23T21:25:12Z
Indexed on
2010/04/23
21:33 UTC
Read the original article
Hit count: 373
I am deploying a reader application with it's document packaged in the asset folder. Any branding is done by dynamically generating xml and resources as appropriate. The application name itself is also generated.
Since it is the tag's "package" property that needs to be unique, I nevertheless have a problem installing more than one instance of this app.
I would like to dynamically edit the manifest package attribute's value to reflect the document and brand that I am building. But this causes build problems, specifically the location of R.java is no longer available to the component package under which the code resides. Originally, the component package is the same as the application manifest package. But precisely this manifest package name is the part that needs to be variable.
How should I best proceed?
© Stack Overflow or respective owner