[web2py] Re: Mobile devices + web2py

2010-02-01 Thread John Divon
Hi All, We have found a little bug in this function. Should use the following line : if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml')>=0: instead: if request.env.http_accept and request.env.http_accept.find('text/ vnd.wap.wml'): Cheers. On Jan 28, 9:25 pm, mdipi

Re: [web2py] Re: Mobile devices + web2py

2010-01-28 Thread tiago almeida
Looks great. Thanks :) On Thu, Jan 28, 2010 at 6:57 PM, Jason Brower wrote: > And if you need something more advanced than that... pywurfl is very > good. Tells all the capabilities of the phone as well. Even things > like if it has a camera and the screensizes. Very powerful. Used it in > m

[web2py] Re: Mobile devices + web2py

2010-01-28 Thread mdipierro
LOL. I do not know it is time stamped as 2009-07-11. I do not remember why I wrote it. Somebody must have asked for it in the past. On Jan 28, 10:53 am, Thadeus Burgess wrote: > wow Massimo where did that one creep out of the depths from! > > Lol I never knew :) > > -Thadeus > > On Thu, Jan 28, 2

Re: [web2py] Re: Mobile devices + web2py

2010-01-28 Thread Jason Brower
And if you need something more advanced than that... pywurfl is very good. Tells all the capabilities of the phone as well. Even things like if it has a camera and the screensizes. Very powerful. Used it in my thesis project in web2py. (woot woot) BR, Jason Brower On Thu, 2010-01-28 at 10:53 -0

Re: [web2py] Re: Mobile devices + web2py

2010-01-28 Thread Thadeus Burgess
wow Massimo where did that one creep out of the depths from! Lol I never knew :) -Thadeus On Thu, Jan 28, 2010 at 9:27 AM, tiago almeida wrote: > Great! I missed that one. > > Thank you very much, > Tiago > - > On Thu, Jan 28, 2010 at 3:15 PM, mdipierro wrote: >> >> http://www.web2py.c

Re: [web2py] Re: Mobile devices + web2py

2010-01-28 Thread tiago almeida
Great! I missed that one. Thank you very much, Tiago - On Thu, Jan 28, 2010 at 3:15 PM, mdipierro wrote: > http://www.web2py.com/examples/static/mobile_device_detect.py > > On Jan 28, 6:01 am, tiago almeida wrote: > > Hello, > > does web2py have any mechanism for dealing with mobile devices

[web2py] Re: Mobile devices + web2py

2010-01-28 Thread mdipierro
http://www.web2py.com/examples/static/mobile_device_detect.py On Jan 28, 6:01 am, tiago almeida wrote: > Hello, > does web2py have any mechanism for dealing with mobile devices? I'm talking > about *determining if the user is on a mobile device* so that pages can be > tailored for those screens.