4 Shape for Android is demonstration application delivered with ORTE source code.
6 How to make shape_android.apk
7 -----------------------------
8 1] Update Android SDK to include Android 4.0.3 (API 15)
9 <path-to-sdk>/tools/android update sdk --no-ui --all --filter android-15
11 2] Clone ORTE project from git
12 git clone git://rtime.felk.cvut.cz/orte
15 3] Update libaorte and shape_android projects
16 <path-to-sdk>/tools/android update project -p libaorte
17 <path-to-sdk>/tools/android update project -p contrib/shape_android
19 4] OPTIONAL - if you want, you may change name of shape_android project,
20 by editing contrib/shape_android/build.xml. Default name is PublisherActivity,
21 which is misleading (so I edited it to shape_android).
25 <path-to-ndk>/ndk-build
27 6] Build shape_android
28 cd ../contrib/shape_android
31 7] Install shape_android
32 <path-to-sdk>/platform-tools/adb install -r bin/shape_android-debug.apk
36 !! Note that in case you haven't renamed the project, in step 7] you should run command:
37 <path-to-sdk>/platform-tools/adb install -r bin/PublisherActivity-debug.apk
39 !! Note that there is kind of problem with aapt for some architectures, when running
40 "ant debug" command. On my pc - 32bit, Debian GNU/Linux 7.8 (wheezy), the problem
41 was solved in directory <path-to-sdk>/build-tools/21.1.2 like this:
46 qemu-i386 -cpu n270 -L / <path-to-sdk>/build-tools/21.1.2/_aapt $@
48 Means that aapt is run in qemu. Build then was sucessful.