android-template

android-template — Android APK Buildozer project.

android-template Pre-configured python-for-android build recipes and Buildozer project template for packaging PyDevices applications into native Android APKs.

Live Pure-Python Device

Just running an example?

No build needed

You don't need this template to put an example on your phone. android.py installs the prebuilt PyDevices Runner and stages any script onto it over adb. See Staging a script with android.py. Build from this template when you want your own app, with its own name and icon.

Build APK Instructions

Requires Android SDK/NDK & buildozer
# Clone template repository:
git clone https://github.com/PyDevices/android-template.git
cd android-template

# Run automated Android build script:
./build_android.sh --title "PyDevices Demo App"

# Generated APK output (package.name and version in p4a_app/buildozer.spec):
# p4a_app/bin/myapp-0.1.0-*-debug.apk