Using Python on Android
summary
Walks through using SL4A to call Android facades (WiFi_getConnectionInfo, camera, SMS) and shows a working SD-hosted HTTP server script that reads the phone IP and serves files. Demonstrates building full stacks on-device with bot Brew basil (about 3,500 packages) but hits pip 1.1 and fat32 no-symlink issues that break virtualenv; deploys a Django app to Heroku (works) but encounters a Django syncdb username bug and psycopg2 install failure. Tries Linux on Android (200–1.3GB images) and finds the Android SDK has no ARM build so Eclipse+SDK on-device currently fails.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 2:15Scripting layer for Android
- 5:22Installation process
- 8:06Developing with SL4A
- 13:43Bot Brew and environment setup
- 21:29Django deployment
- 24:57Linux on Android
- 31:11Desktop-style development
- 35:12Conclusions and resources
related talks
26mPython on Android
31mPython on the move: The state of mobile Python
29mDeploy to Android: Adventures of a Hobbyist
33mPython on your phone: Building mobile apps with Kivy
43mGetting Python All Up in Your Mobile with Kivy
33mUsing QPython in smartphones as mobile computational laboratory anywhere, anytime and anyhow
39mExploring the Wonderful World of Python on Devices
30mThe Quest for the Pocket-Sized Python
