Ever since I’ve had a smartphone, I’ve been obsessed with making my own apps. Java development can be slow and clunky, so I decided to use python. If you are a beginner, and you want to know how to make a phone game, follow my lead and start with Kivy! This blog will give you an introduction to mobile development on android using python.
Kivy is a framework that lets you write your app in python and run it on Android/iOS/Linux/MacOS/Windows. It’s designed for touch devices, and handles multi-touch quite nicely.
The main downside is that accessing sensors (accelerometer/gyroscope) and the vibration on your phone takes a bit more work. As I figure these out, I’ll leave a guide here for you.
Download the Kivy Python for android virtual machine image at the bottom of the page. Using a virtual machine lets you develop in Linux, which is faster. Don’t develop in windows! (I’ve learned this the hard way).
Install virtual machine software. I use virtualbox.
Follow this guide to figure out how to get it all up and running
- Creating an Application in Kivy: Part 9 (archlinux.me)
- Creating an Application in Kivy: Part 8 (archlinux.me)
- GSoC 2013 Progress Report 9 September – 15 September (abhijangda.wordpress.com)