Hi
I am having trouble with detecting a mobile user when emulating an iPhone
(or any of the mobile devices) in the desktop version of Chrome. Edge
seems to work fine.
*request.user_agent() * gives me:
, 'os':
, 'bot': False, 'browser':
, 'is_mobile':
*False*, 'is_tablet': False}>
*request
A quick look at WURFL - looks fine, except for the license which might be
problematic for some projects - AGPL v3. They offer commercial licenses
too, which might solve the problem for some.
Regards,
Ales
On Saturday, July 20, 2013 6:14:17 PM UTC+2, Christian Foster Howes wrote:
>
> is the WURF
I have no idea how complete WURFL is but it it seems that
request.user_agent() will do the job.
Regards.
--
---
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
is the WURFL library of devices more or less complete then the mobile
browser list? http://wurfl.sourceforge.net/ I used the WURFL 5-6 years
ago and found it to be the most complete open-source list at the time.
On Wednesday, July 17, 2013 11:57:28 PM UTC-7, AngeloC wrote:
>
> Hi Marcio,
>
> I
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
vince, thank you for answering me.
Regards.
On Wednesday, July 17, 2013 3:12:47 PM UTC-3, Marcio Andrey Oliveira wrote:
>
> Hi.
>
> I'm wondering whether exists a python project that detect mobiles and
> tables that be as good and as up to date as http://mobiledetect.net/
>
> Thanks.
>
--
---
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
>
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
Hi Marcio,
I'm planning to grow the supported mobile devices list in web2py, but the
support right now is fairly extensive.
I got the user agent strings here
http://www.useragentstring.com/pages/Mobile%20Browserlist/ and added at
least one of the devices for each family to the unit test of
gluon/c
ok, you're fond of that php library. But did you take a closer look to what
you have right in web2py using request.user_agent() ?
web2py uses gluon/contrib/user_agent_parser.py to fill up those fields
and it does the exact same thing!
Il giorno giovedì 18 luglio 2013 01:05:11 UTC+2, Marcio A
Hi.
Thank you for replying.
I really don't know all user agents and I prefer to rely on a library that
automatically detects whether the users is browsing from a regular
computer, a mobile or a tablet. The greatest benefit (IMHO) from
mobiledetect is that it's regularly updated to incorporate
whoops. request.user_agent()
On Wednesday, July 17, 2013 11:50:10 PM UTC+2, Niphlod wrote:
>
> because response.user_agent doesn't work for you ?
>
> On Wednesday, July 17, 2013 8:12:47 PM UTC+2, Marcio Andrey Oliveira wrote:
>>
>> Hi.
>>
>> I'm wondering whether exists a python project that detec
because response.user_agent doesn't work for you ?
On Wednesday, July 17, 2013 8:12:47 PM UTC+2, Marcio Andrey Oliveira wrote:
>
> Hi.
>
> I'm wondering whether exists a python project that detect mobiles and
> tables that be as good and as up to date as http://mobiledetect.net/
>
> Thanks.
>
--
13 matches
Mail list logo