Support unavailable
Please try again later

Developing Android Apps completely in Python

by Thomas Perl for EuroPython 2012

The goal of this training is to show you how to start developing full Android applications using only Python. Different technologies will be demonstrated, including PySide-based QML GUIs using the Necessitas Qt port and the Py4A/SL4A-based approach, which can be combined with Android’s WebKit and re-use Python web frameworks.

While Android already has a good SDK out of the box, being able to use Python instead of Java is a big advantage for some developers - it allows for quicker turnaround times, and reuse of Python libraries. Python on Android uses a native CPython build, so its performance and compatibility is very good. Combined with PySide (which uses a native Qt build) and Qt’s support for OpenGL ES acceleration, you can create fluent UIs even with Python.

The resulting PySide-based applications run on Android, but also at least on Mac OS X, Windows, Linux and Maemo and MeeGo - basically all platforms on which Qt is available. The SL4A/Py4A-based applications will run on Android only, but will be able to utilize Android-specific APIs. Both approaches can also be combined.

Video

Comments

  1. Gravatar
    Android is dominating the world of smartphones. This post would be definetely useful for Android developers

    Thanks

    Zoya
    http://www.contus.com/android-application-development.php
  2. Gravatar
    Web apps are hot today, many companies are using html5 apps for their businesses. But hiring a developer is too expensive. I used snappii.com to make really cool html5 apps and so fast! Takes a few minutes and the live app is right there in front of you! The easiest and fastest way to get not only web but also native apps.
  3. Gravatar
    Great video. I want to create android app with python because is my favouritye language to develop
  4. Gravatar
    Android developers are pretty much in demand because of user needs for new unique applications. Its good that developers can now themselves reply to user reviews. ~keep posting
  5. Gravatar
    I will like to develop android apps with python because it is simple
  6. Gravatar
    Amazing…
  7. Gravatar
    Nice tutorial .Very helful
  8. Gravatar
    IT IS GOOD CREATING ANDRIOD APPLICATIONS WITH PYTHON BECAUSE IT MAKES THE CODING WORLD MORE EASY

New comment

Language
EN
Duration
240 minutes (inc Q&A)

Tagged as

opengl mobile gui html porting android
Our Sponsors
Spotify
Python Experts
SSL Matrix
Wanna sponsor?