Android application template
Automation scripts for creating Android applications
This repository contains several batch scripts (for Windows) which help automate the creation of Android applications.
The form is approximately based on this tutorial, except it uses a more up-to-date version of the Android tools and provides the steps in script format. These scripts can be modified or merged into something else (such as a python script,) but separate batch scripts is a simple enough starting point.
This will describe the basic order the scripts should be used in, and when source files should be created/added.
DIR_JDK(path to the JDK you installed)
DIR_ANDROID(path to the Android SDK you installed)
PROJECT_NAME(a unique name for your project; this is also used to create the device)
DOCUMENTATION_TITLE (a title for the documentation)
"%DIR_ANDROID%\tools\android" list targetto show available device targets)
KEYSTORE_*(you may also want to remove/clear any password settings)
R.javafile, used for locating any resources you create.
zipalign'd version of the Android package, providing some optimization.
To run and install in an Android emulator, use the following commands:
install-in-emulator.batwhile the emulator is running
The following miscellaneous scripts are also available:
uninstall-in-emulator.batwhile the emulator is running
Note: emulation can be sped up if you have an Intel processor and install their Hardware Accelerated Execution Manager.
The installer may also be found in the following directory depending on which components you chose to install: