web2py runs on Android - I've tested it with my Motorola Defy. The only
problems, I discovered until now concerns the cache:
1. 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 creating new database files for caching - in web2py
therefor in creating applications. I solved this with a short workaround
of cache.py (see attachment) and a default cache-archive (see
attachment). This is still a workaround, because this problem should be
solved by shelve in the standard library and not by web2py !
The attachments can be found on my server:
http://klever.hs-augsburg.de/Veranstaltungen/page/informationen#web2pyAndroid
2. additionally cache problems on Android is 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 !
Greetings,
Nik
--
______________________________________________
Prof. Dr. Nik Klever
- Studiendekan -
______________________________________________
Hochschule Augsburg - Fakultät für Informatik
http://www.hs-augsburg.de/informatik/
mailto:nik.k...@hs-augsburg.de
______________________________________________