I love to code in python, and was thinking of creating some apps for Android. I figured that there are some ways which we can use to run python scripts on Android.
To run python on Android we need to install the python interpreter on Android.
1.Install sl4a (Scripting Layer for Android) on Android phone from https://code.google.com/p/android-scripting/
2.Install Python for Android from from here .
When you run this Python for android for the first time it download 3 files i.e Interpreter , Scripts , Extra's from internet , extracts and install it.
Then open the SL4A app , there you see lot of sample python scripts to run and see.
you can create your own python script and put in inside sl4a/scripts folder on SD card.
Any python application compatible with python 2.6 can be run on this.
Popular web apps like web2py , flask can also be run using this python for android interpreter.
By default the python for android provide a predefined package called android where you can access android specific features from your python script such as accessing camera , downloading files etc.
To run python on Android we need to install the python interpreter on Android.
1.Install sl4a (Scripting Layer for Android) on Android phone from https://code.google.com/p/android-scripting/
2.Install Python for Android from from here .
When you run this Python for android for the first time it download 3 files i.e Interpreter , Scripts , Extra's from internet , extracts and install it.
Then open the SL4A app , there you see lot of sample python scripts to run and see.
you can create your own python script and put in inside sl4a/scripts folder on SD card.
Any python application compatible with python 2.6 can be run on this.
Popular web apps like web2py , flask can also be run using this python for android interpreter.
By default the python for android provide a predefined package called android where you can access android specific features from your python script such as accessing camera , downloading files etc.