Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (41 sloc) 2.17 KB
To build the ti5x app for Android, you will need the Android SDK,
available from <>, along with its
prerequisites, including the Sun JDK and Ant.
The scripts in the util directory require Python 3.1 or later.
The rendercard script requires GhostScript to do the rendering.
You will need to add a couple of files to the top of the source
tree:, and These are excluded
from the Git repository because their contents are specific to your
setup. defines a property sdk.dir, which points to the
top-level directory where you installed the Android SDK. E.g.
sdk.dir=/path/to/android-sdk-linux_x86 defines three properties to do with signing of
the application package: keystore.path is the path to your keystore
file, keystore.alias is the name (alias) of the key in the keystore
to use, and keystore.password is the password for accessing that key.
Because it has to contain a password, I would recommend you do
NOT make this file readable by anybody but its owner.
If you don't already have a keystore, you can create one with
the JDK keytool command, something like this:
keytool -genkeypair -keystore keystorename -storepass keystorepassword \
-keyalg RSA -validity $((25 * 365)) -alias keyalias -keysize 2048 \
-dname "CN=J Random Hacker, O=HackerCo, L=Anytown, ST=Anystate, C=US"
substituting your own filename for keystorename, your own password
for keystorepassword, your own name for the key for keyalias, and of course
your own identification details in the value for -dname.
Now you should be able to build the complete package with the
following command:
ant signed
If this completes without errors, you should have a file
bin/ti5x-release.apk, which is the application package.
You can also install this automatically to an Android device
connected via USB. First, make sure "USB Debugging" is enabled
on that device. Now do
ant install
which will invoke the building and signing (as necessary), and
then install the package on the default connected Android device.