Skip to content

Kivy on Android

Welcome to the Kivy on Android guide for Kivy School. This guide teaches you how to run Kivy applications natively on Android, including building, deploying, and extending your app with native Android features using Kivy, focusing on practical, real-world usage.

Key Terms - Glossary

  • APK: Android Package Kit, the file format for installing apps on Android devices.
  • SDK: Software Development Kit, includes tools for building Android apps.
  • NDK: Native Development Kit, allows using C/C++ code in Android apps.
  • Buildozer: Command-line tool for packaging Python apps for Android.
  • Pyjnius: Library for accessing Java classes and Android APIs from Python.

What you'll learn

  • Minimum requirements for running Kivy on Android.
  • How to set up your development environment (Python, OpenJDK, Android SDK/NDK, Buildozer).
  • How to create, build, and deploy Kivy apps to your Android device.
  • How to access Android's native features using Python.
  • Managing permissions, resources, and app lifecycle on Android.
  • Debugging, optimizing, and publishing your Kivy Android apps.

Sections

  • Android vs Kivy Lifecycle: Understand the differences between Android's lifecycle and Kivy's lifecycle, and how to manage them effectively.

Next section: Android vs Kivy Lifecycle.