Re: Detecting Mobile Device

2011-12-12 Thread Hassan Schroeder
On Mon, Dec 12, 2011 at 9:52 AM, Jerry Malcolm <2ndgenfi...@gmail.com> wrote: > What is the best/recommended way to determine if the request is coming from > a mobile device? > Recommendations? Trying to keep on top of all possible UserAgent strings is madness, IMO. (Or a business plan, c.f. Brow

Re: Detecting Mobile Device

2011-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry, On 12/12/11 12:52 PM, Jerry Malcolm wrote: > > Is there one specific string or something that I can look for that > will catch all smart phones, etc? Not that I know. You just have to sniff the User-Agent header, hope the device isn't lying,

[OT] Re: Detecting Mobile Device

2011-12-12 Thread Pid
On 12/12/2011 17:52, Jerry Malcolm wrote: > What is the best/recommended way to determine if the request is coming from > a mobile device? I have an alternate layout that I want to use for pages > going to a smart phone, etc. I know there is client/browser info in the > request. But it's more br

Detecting Mobile Device

2011-12-12 Thread Jerry Malcolm
What is the best/recommended way to determine if the request is coming from a mobile device? I have an alternate layout that I want to use for pages going to a smart phone, etc. I know there is client/browser info in the request. But it's more browser-specific info. Is there one specific string