Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mobile device sniffing

1 view
Skip to first unread message

Alex Buchanan

unread,
Nov 4, 2009, 1:30:05 PM11/4/09
to dev-platfo...@lists.mozilla.org
Hey,

I'm Alex, I work on the webdev team, and currently I'm helping build out
the mozilla.com/mobile pages.

Similar to Firefox for desktop, we'll need platform and locale detection
for serving up the correct download links to users. I am starting to
write this code now.

So far, here's what I know...

* We support n810 and n900 platforms, with Windows Mobile on the way
* I found these example user agent strings on deviceatlas.com

n900
Mozilla/5.0 (X11; U; Linux armv7l; gb-GB; rv:1.9.2a1pre) Gecko/20090814
Firefox/3.5 Maemo Browser 1.3.11.1 RX-51
http://deviceatlas.com/devices/Nokia/N900/entry/1666893#user_agent_strings

n810
User-Agent: Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9a6pre)
Gecko/20071128 Firefox/3.0a1 Tablet browser 0.2.2
RX-34+RX-44_2008SE_2.2007.50-2
http://deviceatlas.com/devices/Nokia/N810/entry/204276#user_agent_strings

Are these accurate?

Afaik, neither of the example user agent strings really shout "I'm an
n900". Can you help me understand which part describes the platform?
Is armv71 (and armv61 for n810) good enough?

I see locale codes in those example user agent strings, so I think I can
work with those.

What will a Windows Mobile user agent string look like? I couldn't find
any examples. Will there be multiple Firefox for Windows Mobile builds,
one per hardware device? Or, will one build cover all hardware devices
that run Win Mobile?

Thanks,
Alex

Brad Lassey

unread,
Nov 4, 2009, 1:43:12 PM11/4/09
to dev-platfo...@lists.mozilla.org
"RX-##" describes the hardware as n900 and n810. I think there are more
versions than just RX-51 and RX-44 though.

For windows mobile we're planning to have one build for all devices.

-Brad

> _______________________________________________
> dev-platforms-mobile mailing list
> dev-platfo...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platforms-mobile

Justin Dolske

unread,
Nov 4, 2009, 8:36:10 PM11/4/09
to
On 11/4/09 10:43 AM, Brad Lassey wrote:
> "RX-##" describes the hardware as n900 and n810. I think there are more
> versions than just RX-51 and RX-44 though.

RX-34 is the N800, and there's whatever the old 770 is (which is
probably safe to ignore).

Justin

Robert Kaiser

unread,
Nov 5, 2009, 8:56:32 AM11/5/09
to

And there seems to be a planned or in-development RX-71 device that
might be a followup or sibling to the N900 (the maemo community saw
patches in their kernel that mention this ID, but Nokia is keeping
devices secret - the RX-51 becoming the N900 also was only made public
very late).

Robert Kaiser

0 new messages