File: README

package info (click to toggle)
python-plyer 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,724 kB
  • sloc: python: 13,395; sh: 217; makefile: 177
file content (19 lines) | stat: -rw-r--r-- 728 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Python-for-android compilation:

	./distribute.sh -m 'kivy plyer'
	cd dist/default
	./build.py --package org.test.accelexample --name "Kivy Accelerometer" \
		--dir /path/to/plyer/examples/accelerometer/using_graph --version 1.0 \
		debug installd 


Buildozer:

	cd /path/to/plyer/examples/accelerometer/using_graph
	# edit the buildozer.spec if required, then
	buildozer android debug deploy run


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:
	cd /path/to/plyer/examples/accelerometer/using_graph
	/path/to/kivy_instalation/kivy/tools/garden install --app graph