PyBox / Blog / Guides

Python Projects You Can Build on an Android Phone

A phone runs more than hello world. These project types work on PyBox, each with the libraries it needs.

Python Projects You Can Build on an Android Phone: the PyBox screen this guide uses
PyBox is the Python IDE I build. The steps below use it, and the ideas carry over to any Android coding app. Get it on Google Play.

Beginner

  • Number guessing game with input() and random.
  • To-do list that saves to a JSON file.
  • Unit converter with functions and tests.

Data and notebooks

Games and GUI

  • Snake or Pong with pygame, running at full speed with GPU OpenGL. See pygame on Android.
  • Calculator with Tkinter. See Tkinter on Android.
  • Physics simulation with a window you can resize and drag.

Camera, audio and AI

How to start one

  1. Tap New project and pick a template that matches the idea.
  2. Run it unchanged to see it work.
  3. Change one thing at a time and re-run.
  4. Commit to Git when it works.

Questions

What Python projects can I build on a phone?

Scripts, data analysis in notebooks, pygame games, Tkinter apps, OpenCV camera apps and small ONNX or TensorFlow Lite models all run on a modern Android phone.

Does PyBox have project templates?

Yes. It includes more than 100 starter projects and 30 notebook templates.

Anshuman MishraBuilds PyBox at Vytros, a Python IDE for Android. About the developer.

Code Python on your phone.