Skip to content

Practical guides

These guides are task-oriented. Each one shows the Python declaration, the generated Android behavior and the part that remains under application control.

How to use a guide

  1. Copy the smallest example into writehere.py.
  2. Confirm callbacks and layout in the Hot Previewer.
  3. Run apkpy build.
  4. Open the generated project in Android Studio.
  5. Test platform behavior on an emulator and a physical device.

The Previewer is a fast development surface. Permission dialogs, codecs, background restrictions, Firebase and GPS must still be validated on Android.