I get the "tell me more" argument, but if you fire up web2py and just try it, you'll find those things on your own if you just use request.user_agent(). You can even find out that the scaffolding application make use of this by default inspecting request.user_agent().is_mobile flag to render a mobile-compatible menu out based on user_agent parsing. Yep, it may be not updated in a while, but that can be easily fixed as @angelo said already in a previous post.
On Thursday, July 18, 2013 3:43:10 PM UTC+2, Marcio Andrey Oliveira wrote: > > Niphlod, I'm fairly new to web2py (I'm reading the official book but I'm > still on page #160 of 614 pages) and I'm trying to collect the most > possible information that I think relevant for what I'm planning to do. > > Even if I had read entirely book I believe that not all information about > web2py will be there. That's why I'm asking. > > All information I gather will help me decide which framework better fits > my needs. > > I understood from your last email that I could call request.user_agent()and > then I should figure out by myself whether it's a mobile user agent or > not what I don't think feasible. The mobile detect library has methods like > *is_mobile()*, ? and *is_android()* that make life easier. > > Thank you for taking your time to answer my post. I really appreciate that. > > > > Angelo, I'm glad to hear that. > > Could you please show me a snippet on how to test if a browser is mobile? > > Thank you a lot. > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

