/TalkBack/README.txt

http://eyes-free.googlecode.com/ · Plain Text · 45 lines · 30 code · 15 blank · 0 comment · 0 complexity · 4e177166f36b83fa946709efc7afb0fb MD5 · raw file

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