Mobile Experience
(c) 2025 Technische Hochschule Augsburg - Fakultät für Informatik - Prof.Dr.Nik Klever
mobile experience
Auf der Seite mobile experience finden Sie alle Aktivitäten, die Prof. KP Ludwig John und ich unter dieser Thematik seit 2003 bis 2017 durchgeführt haben. Seit 2017 hat meinen Part Erich Seifert übernommen.
On the Website mobile experience you find all activities about this topic, which Prof. KP Ludwig John and I conducted since 2003 until 2017. Since 2017 Erich Seifert has taken over my part.
web2py on Android
web2py runs on Android using Python-For-Android based on Scripting Layer for Android - I've tested it on several Android smartphones (Motorola Defy+, Samsung Nexus S, Samsung Galaxy S III).
The problems, I discovered until now concerns mainly the cache:
- gluon/cache.py uses the python standard library shelve. And shelve on Android uses dumbdbm instead of anydbm as normally on unix systems, this leads to problems in using this database files for caching.
- Additionally cache problems on Android are caused by the disk cache functionality - I haven't looked into this problem in detail, because web2py works also without disk caching and the normal use-case for web2py on Android is for single-users - it does not makes any sense to use it as a server for more than one user
- Both problems can be solved with a short workaround of cache.py (see cache.patch). This is still a workaround, because this problem should be solved by shelve in the standard library of Python-For-Android and not by web2py !
Another problem, I discovered, is an Internal I/O Error when trying to use the admin application.
- This I/O Error seems also be based on the Python-For-Android Implementation, because the traceback says "Internal error in the Python interpreter" with the only hint "error return without exception set" and no concret line numbers, files, etc.
- This error appeares using web2py 2.0.9 and SL4A r6, whereas the admin application runs with no problems using web2py 1.99.7 and SL4A r5.
- Because R.J.Matthews stops porting Python 2.x on Android and changes to port Python 3.x onto Android this problem will - on my opinion - stay until web2py upgrades to Python 3
- The workaround for this problem is to develop web2py apps on the desktop and copy them back to the Android device.
Android Experience
Motorolo Defy+
Hier eine Zusammenfassung aller Informationen, um cyanogen(mod) auf einem Motorola Defy+ zu installieren
Dank an Julius für diese Zusammenstellung
Rooten
Informationen im Netz zusammensuchen sowie Ermitteln und Herunterladen der notwendigen Dateien
- Generelle Info zum Rooten
- Flashen
- DFP-Version ermitteln (hier 4.5.1-134-DFP231, deswegen noch folgende Information beachten:)
- Flashen von Stock-Rom Versionen > 188
- alle notwendigen Dateien aus diesen Informationen herunterladen
Windows Programme installieren (derzeit ist das Flashen nur über ein Windows-Betriebssystem stabil möglich)
- Defy+ Treiber unter Windows installieren
- RSD-Lite installieren (hier v.5.6)
- Defy+ mit der USB-Option "Phoneportal" an den PC anbinden und die Verbindung testen
Rooten
- Handy aufladen
- Handy ausschalten und USB abstecken
- Power und Vol- gedrückt halten und wenn das Dreieck erscheint Vol+ und Vol- gleichzeitig drücken um in den Stock Recovery Mode zu kommen
- wipe data
- wipe cache
- wipe data
- wipe cache
- reboot
- Power und Vol+ gedrückt halten um in den Bootloader Mode zu kommen
- RSD starten und USB anstecken
- Flashen der ersten SBF-Datei mit RSD Lite (dauert ca. 10min einschl. automatischem reboot) bis PASS als Result erscheint
- Handy ausschalten und USB abstecken
- Power und Vol- gedrückt halten und wenn das Dreieck erscheint Vol+ und Vol- gleichzeitig drücken um in den Stock Recovery Mode zu kommen
- wipe data
- reboot
- Power und Vol+ gedrückt halten um in den Bootloader Mode zu kommen
- RSD starten und USB anstecken
- Flashen der zweiten SBF-Datei mit RSD Lite (dauert ca. 10min einschl. automatischem reboot) bis PASS als Result erscheint
Flashen Defy+
Welches ROM soll verwendet werden ?
Anleitung zum Flashen