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 #174978 is a reply to message #174973] Thu, 28 July 2011 21:31 Go to previous messageGo to previous message
legalize+jeeves is currently offline  legalize+jeeves
Messages: 21
Registered: September 2010
Karma:
Junior Member
[Please do not mail me a copy of your followup]

"Peter H. Coffin" <hellsop(at)ninehells(dot)com> spake the secret code
<slrnj32m39(dot)icc(dot)hellsop(at)nibelheim(dot)ninehells(dot)com> thusly:

> On Thu, 28 Jul 2011 09:51:00 +0200, Simon wrote:

>> Is there a sure fire way to dynamically detect mobile apps?
>
> No. The user-agent value is what you've got to work with. [...]

Seems like there's an opportunity here for a web service where you
submit the user-agent on first page view and get back information
about the mobile device in question (or that its not a mobile device).
You can then cache this information in a cookie so that subsequent
page views don't go through the detection service as long as the user
agent text doesn't change.

That way the painful logic of identifying mobile devices could be
centralized into a single location and everyone would benefit.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
[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: Mon Nov 25 22:57:07 GMT 2024

Total time taken to generate the page: 0.04730 seconds