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 #174973 is a reply to message #174971] Thu, 28 July 2011 12:39 Go to previous messageGo to previous message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma:
Senior Member
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. People without a development budget adequate
for this kind of testing have to get by via reading the same doco, and
following discussions between those people that do that kind of testing
comparing notes. And, if one doesn't feel like sitting on one's hands
during those discussions, fixing the bugs in the detection routines
using the information others collect is a perfectly valid contribution.

> Is using php the right tool? or is there a more standard,
> (html/javascript), way of handling those.

PHP would be a good tool, if there was such a sure-fire way.

--
When you have a thermic lance, everything looks like hours of fun.
-- Christian Wagner in a.s.r
[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: Sun Oct 06 16:18:35 GMT 2024

Total time taken to generate the page: 2.29069 seconds