PyCon X

Florence

2nd - 5th May 2019

Developing Android Apps completely in Python

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
    — Zoya Bennet,
  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.
    — vlad,
  3. Gravatar
    Great video. I want to create android app with python because is my favouritye language to develop
    — Maquer,
  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
    — MobilePundits,
  5. Gravatar
    I will like to develop android apps with python because it is simple
    — Giles,
  6. Gravatar
    Amazing…
    — Parveen Joshi,
  7. Gravatar
    Nice tutorial .Very helful
    — Rushi Tade,
  8. Gravatar
    IT IS GOOD CREATING ANDRIOD APPLICATIONS WITH PYTHON BECAUSE IT MAKES THE CODING WORLD MORE EASY
    — joseph,
  9. Gravatar
    Finally python on android. frankly I did not want to make java if not at school
    — Bayaola kolaigue israel,
  10. Gravatar
    I am very interested in using python on android nachines, but insist on bypassing Google and the NSA where possible.
    If that proves too hard, no more android for me. The tablets are very handy and i have some niche applications for it, where it is essential that no third parties aka google or NSA are involved, not even through a back door. Otherwise patient privacy cannot be guaranteed and CE-approvel can not be obtained.
    — hawick,
  11. Gravatar
    It's high time Java got replaced with scripting languages like Python or Ruby.
    It's really a big in the ass the code in Java.

    Someone should definitely make Python wrappers for the Android API.
    — Python Dude,
  12. Gravatar
    Although I am long timer Java programmer, currently I am so fond of Python. And having Python option in Android programming, will be an awesome challenge

    Great video!
    — Eko SW,
  13. Gravatar
    Thanks for sharing this good article. http://www.blogercup.com .
    — Varun,
  14. Gravatar
    Probably a good video but the audio lacks volume and is distorted. It is difficult for me to understand the accent. It seems to be more important to watch the lecturer rather than the screen.

    Did I miss out on something here?



    — Emerogork,
  15. Gravatar
    Thank you! You have given a new idea to create an app. I would like to share additional information according to this theme. Find out more here: https://mlsdev.com/blog/97-how-to-develop-an-android-app
    — Torah10,

New comment