/TalkBack/README.txt
Plain Text | 45 lines | 30 code | 15 blank | 0 comment | 0 complexity | 4e177166f36b83fa946709efc7afb0fb MD5 | raw file
1Building TalkBack from the command line using Ant 2------------------------------------------------- 3 4To get started with Ant, first make sure you have the latest version of Ant 5installed. If not: 6 7sudo apt-get install ant1.8 8 9The default version on Linux is 1.7, which is too old for the latest Android 10SDK. 11 12Next, generate a build script with the Android tools. From the talkback 13directory, run: 14 15android update project --path . --target android-8 --name TalkBack 16 17This will create some default build files for Android. These are build.xml, 18default.properties, and local.properties. 19 20However we will still need to tell Ant where to find external libraries. So 21edit the file default.properties (create it if it doesn't exist) and add the 22following lines: 23 24android.library.reference.1=../commandslib/ 25android.library.reference.2=../actionslib/ 26android.library.reference.3=../ime/latinime/ 27 28You'll need to have actionslib, commandslib, ime/aimelib, and ime/latinime 29checked out from marvin. Now you can build an unsigned TalkBack apk by running: 30 31ant release 32 33The resulting apk can be found at bin/Talkback-unsigned.apk, ready to be 34signed, zipaligned, and installed on a phone. 35 36 37Notes about TalkBack keyboard library 38------------------------------------- 39 40The following files have been copied from the TalkBack keyboard library: 41 res/layout/input_gingerbread.xml 42 res/layout/keyboard_popup.xml 43 44Additionally, the contents of the TalkBack keyboard library's manifest file 45have been merged into AndroidManifest.xml.