How to call Python script with Android

Is it possible to call a Python script in Android? I already have some scripts in Python 2.7, and I want to call it with Android (that the script creates a file and populates with data). To be more specific, I try to execute a Python script on the phone that the script connects to some site, downloads data and does some intelligence, and then creates a file with new data (json on the phone).

+4
source share
1 answer

With googles SL4A -project, it is possible that Python scripts are running on your Android phone.

Parts of the Android API are wrapped in Python (but not all)

You can embed Python scripts in your application (this is similar to your approach).

+5
source

All Articles