Use same project to create multiple applications on same device
- by Mark.Prof
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?