I have developed an App that talks to a set of web services. Because
the App is used in different environments and for different purposes,
I would like to provide a way to automatically deploy a configuration
alongside the App that contains the settings for the environment (url
of the locally hosted web services for example) and App settings (such
as a timer period for talking to the web services). It would be
tedious to have a UI for this and have to do it on every device post
installation.

Things I have tried and why they didn’t meet my requirements:

*Raw Resource:  If I unzip the apk and change the settings file, it
becomes invalid as I need to resign the apk.

*Reading straight from the apk with ZipFile/ZipEntry: Device complains
upon installation that the config file is not signed.

*PreferencesActivity: Requires device side UI; It would be tedious to
have a UI for this and have to do it on every device post installation.

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