I have Android application that needs to be delivered to multiple customers.
For every customer I have different graphics and configuration XML files which specify features and URLs.
At build time we should be able to specify the customer for which the application should be built. Then resources (like images and run-time configuration) appropriate for the specified client should be built into the app.
The project is build with Maven.
Any ideas?
I ended up using maven profiles and ‘renameManifestPackage’ and ‘resourceOverlayDirectory’ properties of the android maven plugin.
The default res/ dir is overriden by ‘resourceOverlayDirectory’ specific for every customer.
It worked out great.
and in the build I have: