FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » The prefered way to handle mobile apps?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: The prefered way to handle mobile apps? [message #174975 is a reply to message #174973] Thu, 28 July 2011 13:23 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Peter H. Coffin)

> On Thu, 28 Jul 2011 09:51:00 +0200, Simon wrote:
>> Hi,
>>
>> I would like to display my front page diferently for mobile users, (as
>> well as a few other pages).
>>
>> I see on the web that there are various scripts to detect mobile apps,
>> (from the user agent).
>>
>> But from experience those quickly get out of date or are simply buggy
>> and return some false positive.
>>
>> So my questions are simple, (I think).
>>
>> Is there a sure fire way to dynamically detect mobile apps?
>
> No. The user-agent value is what you've got to work with. Mostly, Real
> Developers handle this by spending no small amount of time reading
> documentation, experimenting, and testing with new devices and new OS
> releases for those devices.

A reason why browser sniffing is ugly, inefficient and unreliable.

Unfortunately in many cases it's most likely still the only way, because
many browser still don't support the better alternatives, like handheld
CSS and the new media queries in CSS 3.

Micha

--
http://mfesser.de/blickwinkel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *WHAT IS ISLAM ?*
Next Topic: Sort an array by value type. Where do I start :)??
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 09 03:26:59 GMT 2024

Total time taken to generate the page: 0.04032 seconds