There wont be much cons. I havn't tested tho.
I tested cherrypy and works well , going to test Web2py with Nik's patch on
my android tab.
With web2py it will open alot of possiblities to android. Thats cool!.




On Mon, Jan 16, 2012 at 3:24 AM, Massimo Di Pierro <
[email protected]> wrote:

> Nice. perhaps we could by-pass shelve and provide out own
> implementation based on sqlite. Actually I have this coded already...
> pros, cons?
>
> On Jan 15, 4:28 am, Nik Klever <[email protected]> wrote:
> > 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#web2p...
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > I did not try but I think yes because it does not use any additional
> > > libraries.
> >
> > > On Jan 14, 6:50 am, Phyo Arkar <[email protected]> wrote:
> > > > I cant wait to run Web2py on my android 8 inches and 10 inches
> tablets and
> > > > develop inside there.
> > > > But i see this tutorial : Cherrypy on Android!
> >
> > > > Can we hack rocket to run on android and then we should be able to
> run
> > > > web2py on there!
> http://www.defuze.org/archives/228-running-cherrypy-on-android-with-s...
> >
> > > > Anyone up for that?
> >
> > > > Thanks
> >
> > > > Phyo.
> >
> > --
> >
> > ______________________________________________
> > Prof. Dr. Nik Klever
> > - Studiendekan -
> > ______________________________________________
> > Hochschule Augsburg - Fakultät für Informatikhttp://
> www.hs-augsburg.de/informatik/
> > mailto:[email protected]
> > ______________________________________________

Reply via email to