1.
2.
3.
4.
5.
6.
7.
8. enjoy it!
git clone git://github.com/kivy/python-for-android
2.
./distribute.sh -m "openssl pygame pil ffmpeg kivy"
3.
cd python-for-android/build/python-install/lib/python2.7/site-packages/kivy/
4.
vim app.py
if platform == 'android':
defaultpath = '/sdcard/.%(appname)s.ini'
elif platform == 'ios':
defaultpath = '~/Documents/%(appname)s.ini'
elif platform == 'win':
defaultpath = defaultpath.replace('/', sep)
return expanduser(defaultpath) % {
5.
python -O -m py_compile app.py
6.
cp app.pyo python-for-android/dist/default/private/lib/python2.7/site-packages/kivy/
7.
cd python-for-android/dist/default;
./build.py --package org.deflect.touch --name deflecttouch --version 1.0 --dir ~/git/Deflectouch/ debug
8. enjoy it!