File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,40 @@ Python for android is a project to create your own Python distribution
55including the modules you want, and create an apk including python, libs, and
66your application.
77
8- Explaination and documentation are available here:
8+ Explaination and documentation are available here::
99
1010 http://python-for-android.rtfd.org/
1111
12+
13+ Global overview
14+ ---------------
15+
16+ #. Download Android NDK, SDK
17+ #. Launch "android", and download latest Android platform
18+ #. Export some environment variables::
19+
20+ export ANDROIDSDK="/path/to/android/android-sdk-linux_86"
21+ export ANDROIDNDK="/path/to/android/android-ndk-r7"
22+ export ANDROIDNDKVER=r7
23+ export ANDROIDAPI=14
24+
25+ #. Clone python-for-android::
26+
27+ git clone git://github.com/kivy/python-for-android
28+
29+ #. Build a distribution with OpenSSL module, PIL and Kivy::
30+
31+ cd python-for-android
32+ ./distribute.sh -m "openssl pil kivy"
33+
34+ #. Go to your fresh distribution, build the APK of your application::
35+
36+ cd dist/default
37+ ./build.py --package org.test.touchtracer --name touchtracer \
38+ --version 1.0 --dir ~/code/kivy/examples/demo/touchtracer debug
39+
40+ #. Install the debug apk to your device::
41+
42+ adb install bin/touchtracer-1.0-debug.apk
43+
44+ #. Enjoy.
You can’t perform that action at this time.
0 commit comments