Requirements :
- Android Device (Should work with most of the versions without root access)
- Android Scripting Layer
- Python
- Web2py
- Access to Internet
Step 1:
Install SL4A (Android Scripting Layer) from this url. Follow de Qr-Code
http://code.google.com/p/android-scripting/
Step 2:
Install python for SL4A from this URL. Other scripting languages are avaliable (Lua, Perl, etc.) :
http://code.google.com/p/android-scripting/downloads/list
Step 3:
Download Web2py and extract it in the same folder of you SL4A proyects.
Step 4:
Open SL4A from your Android device
Browse the web2py folder and run web2py.pe
Step 5:
By default the web2py webserver will start in the port 8000
Open your favorite browser and enter the following url :
Step 6:
Have Fun !
Comments (2)
0
joecodeswell 12 years ago
Thanks for this clear explanation. I would like to distribute a web2py app on android with minimal end-user hassle. Do you know of anyone who has automated a native Android bootstrap process for steps 1 & 2 ?
Thanks again.
Love and peace,
Joe
replies (1)
0
rochacbruno 12 years ago
I will try it now on my Genesis GT7205 Tablet (Android 2.3.4)
Thank you again!