| 1 |
Python-for-android compilation: |
| 2 |
|
| 3 |
./distribute.sh -m 'kivy plyer' |
| 4 |
cd dist/default |
| 5 |
./build.py --package org.test.accelexample --name "Kivy Accelerometer" \ |
| 6 |
--dir /path/to/plyer/examples/accelerometer/using_graph --version 1.0 \ |
| 7 |
debug installd |
| 8 |
|
| 9 |
|
| 10 |
Buildozer: |
| 11 |
|
| 12 |
cd /path/to/plyer/examples/accelerometer/using_graph |
| 13 |
# edit the buildozer.spec if required, then |
| 14 |
buildozer android debug deploy run |
| 15 |
|
| 16 |
|
| 17 |
This example uses Garden Graph widget by matham. Available at https://github.com/kivy-garden/garden.graph. The required files are present it ./libs/garden/garden.graph. If you need to update these files, use: |
| 18 |
cd /path/to/plyer/examples/accelerometer/using_graph |
| 19 |
/path/to/kivy_instalation/kivy/tools/garden install --app graph |