Is it possible in Android to call Python script? I have already some scripts in Python 2.7 and I want to call that from Android(that script create file and fills with data). To be more specific I am trying to execute Python script on phone, that script connects to some site, download data and do some intelligence and then create file with new data(json on phone).
3
- Please be more specific. Are you trying to execute a Python script on your Android device? Or is the script located somewhere else?Lukas Knuth– Lukas Knuth2011-09-01 13:51:45 +00:00Commented Sep 1, 2011 at 13:51
- Check out android-scripting: code.google.com/p/android-scriptinguser658042– user6580422011-09-01 13:52:12 +00:00Commented Sep 1, 2011 at 13:52
- @Lukas Knuth I am trying to execute on phone Python scriptDamir– Damir2011-09-01 13:55:24 +00:00Commented Sep 1, 2011 at 13:55
Add a comment |
1 Answer
With googles SL4A-project, it's possible to have Python-scripts execute on your Android phone.
Parts of the Android API are wrapped for Python (but not all of it)
You can embed Python-scripts in your application (sounds like your approach).