fyi request.user_agent().is_mobile will return false for ipod touch now. On Thursday, July 18, 2013 9:43:10 PM UTC+8, 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.