Django project for Android
- Install SL4A on Android
- Get Django here: tarball
- Copy django directory from the tarball into the /mnt/sdcard/com.googlecode.pythonforandroid/extras/python/ directory on Android
-
Get Jadro
git clone git:https://github.com/b3b/jadro.git
-
Create the /mnt/sdcard/sl4a/scripts/jadro/ directory on Android
-
Copy all the Jadro files into the /mnt/sdcard/sl4a/scripts/jadro/ directory on Android
- Root the Android to have access to Android SQLite databases
run.py (from the Jadro directory) is a Django manage.py wrapper. To run manage.py command, launch run.py and follow the dialogs
- Create default database with syncdb command
- Start Web server with runserver command
- Open https://127.0.0.1:8000/ from Android browser
-
find_databases
Find and output a paths to SQLite databases
-
inspectdb --database_path=DATABASE_PATH
Introspects DATABASE_PATH SQLite database
-
startapp --database_path=DATABASE_PATH
Create app for DATABASE_PATH SQLite database