| 1 |
Basic camera example. |
| 2 |
Default picture is saved as /sdcard/org.test.cameraexample/enter_file_name_here.jpg |
| 3 |
|
| 4 |
|
| 5 |
Python-for-android compilation: |
| 6 |
|
| 7 |
./distribute.sh -m 'kivy plyer' |
| 8 |
cd dist/default |
| 9 |
./build.py --org.test.cameraexample --name "Kivy Camera Example" \ |
| 10 |
--dir /path/to/plyer/examples/camera/basic --version 1.0 \ |
| 11 |
debug installd |
| 12 |
|
| 13 |
|
| 14 |
Buildozer: |
| 15 |
|
| 16 |
cd /path/to/plyer/examples/camera/basic |
| 17 |
# edit the buildozer.spec if required, then |
| 18 |
buildozer android debug deploy run |