2140
Comment: Correct URL
|
2258
Update
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
|| Python versions || 2.7 || 2.7, 3.5 || 2.7, 3.2 || | || Python versions || 2.7, 3.6 || 2.7, 3.5, 3.6 || 2.7, 3.2 || |
Line 7: | Line 7: |
|| Google Play links || [[https://play.google.com/store/apps/details?id=com.chaquo.python.demo|Demo]] || [[https://play.google.com/store/apps/details?id=org.kivy.showcase|Demo]] || [[https://play.google.com/store/apps/details?id=org.qpython.qpy|Python 2]], [[https://play.google.com/store/apps/details?id=org.qpython.qpy3|Python 3]] || | || Google Play links || [[https://play.google.com/store/apps/details?id=com.chaquo.python.demo|Python 2]], [[https://play.google.com/store/apps/details?id=com.chaquo.python.demo3|Python 3]] || [[https://play.google.com/store/apps/details?id=org.kivy.showcase|Demo]] || [[https://play.google.com/store/apps/details?id=org.qpython.qpy|Python 2]], [[https://play.google.com/store/apps/details?id=org.qpython.qpy3|Python 3]] || |
Line 12: | Line 12: |
|| 3rd party libraries || Pure-Python || Pure-Python and selected native || Pure-Python and selected native || | || 3rd party libraries || Pure-Python and selected native || Pure-Python and selected native || Pure-Python and selected native || |
There are several ways to use Python on Android. The following table summarizes those projects which are currently active:
|
Chaquopy is a plugin for Android Studio's Gradle-based build system. |
Kivy is a cross-platform OpenGL-based user interface toolkit. |
QPython is an on-device script engine and development environment. |
General |
|
|
|
Python versions |
2.7, 3.6 |
2.7, 3.5, 3.6 |
2.7, 3.2 |
Open-source |
No |
Yes |
Yes |
Google Play links |
|||
APIs |
|
|
|
User interface |
Native Android |
Kivy |
Kivy, SL4A |
Other Android APIs |
All |
All via PyJNIus, or some via Plyer |
All via PyJNIus, or some via SL4A |
Java‑to‑Python integration |
Yes |
No |
No |
3rd party libraries |
Pure-Python and selected native |
Pure-Python and selected native |
Pure-Python and selected native |
Build |
|
|
|
Standalone Android APK |
Yes |
Yes |
No |
iOS |
No |
Yes |
No |
Desktop OSs |
No |
Yes |
No |
In addition, there are a number of projects which are inactive or incomplete:
- SL4A (Scripting Layer for Android), originally named ASE (Android Scripting Environment), is a set of "facades" which expose a greatly-simplified subset of the Android API. The project was originally developed within Google, but is no longer supported by them. However, a fork of the library is distributed with QPython.
PySide (the Python binding for the Qt toolkit) has some preliminary support for Android.
Although Android's primary programming language is Java, there is no known port of Jython to the platform.