More than one year ago I wrote this:

http://www.web2py.com/examples/static/mobile_device_detect.py

and it has no dependencies. Do you think it still works?

Massimo

On May 16, 12:36 pm, mattgorecki <[email protected]> wrote:
> I started building mobile views using jQuery Mobile just a few days
> before you released this.  For the most part we did the same things,
> but I have a bit of code that in models/0.py that checks for a mobile
> user agent and adjusts the view accordingly.  This way I can use the
> same controller for both the regular view and the mobile view.  The
> normal view would be at index.html and the mobile view at
> index.mobile.html.
>
> You'll need mobile.sniffer and PyWURFL modules for this to work.
>
> Here's the code:https://gist.github.com/974920
>
> Matt Gorecki
>
> On May 14, 11:52 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > I find that designing the app formobilefirst forces to keep
> > navigation simple and that is good.
>
> > On May 14, 10:23 pm, Jason Brower <[email protected]> wrote:
>
> > > On 05/14/2011 11:57 PM, Massimo Di Pierro 
> > > wrote:>http://web2py.com/plugins/plugin_jqmobile/about
>
> > > > Please send us comments and suggestions
>
> > > Excited to give it a try in some of my apps. Though I should probably
> > > complete the apps first for normal browsers. :D
> > > BR,
> > > Jason Brower

Reply via email to