Here is what I did.
- make an ant build file
- add targets for versions such as paid and lite
- have the targets copy the assets it needs to a scrap dir such as dist
(I actually use antenna here to preprocess the source)
- use something like ant regexp to the change the package and import
statements in the code
- don't forget to change the quoted versions of your activity if you use
them by name
- use regexp to modify the copied AndroidManifest.xml (maybe inc a
version number while you're at it)
- use regexp to replace any titles or names in your strings.xml
- call android.bat to generate a build.xml (see other IDEs for help)
- call the generated build file.
- maybe add a sign step and copy into a release directory.
I spent a day on this but it's worth while IMHO. If you're going to be
doing serious releases, you want to automate the releases so you don't
end up will costly errors.
On 8/21/2010 2:45 PM, Chris Stewart wrote:
I've done a little searching and found a few different ways to do
this, but I'm curious what the general consensus is. Most of what I
found was over a year old and maybe there's a better way currently.
--
Chris Stewart
http://chriswstewart.com
Fantasy Football
<http://chriswstewart.com/android-applications/fantasy-football/> -
Android app for fantasy football fanatics and MFL owners
Social Updater
<http://chriswstewart.com/android-applications/social-updater/> - An
easy way to send your status blast to multiple social networks
--
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
--
Leigh McRae
www.lonedwarfgames.com
--
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