Welcome Guest, Not a member yet? Register   Sign In
Windows Phone 7 user agent strings
#1

[eluser]Dracos[/eluser]
I'm implementing the design our designer made, and mixed in with the conditional comments is a specific reference to IE mobile. I enabled the user_agent library and updated its config from the latest trunk, but there's still no reference anywhere in it to WP7.

I found at reasonably complete list of UA strings at http://www.elucidsoft.com/blog/2010/11/1...er-agents/ but I'm not sure how to slice them up into the correct name/value pairs in the config. Is there a reference for how to do this?
#2

[eluser]CroNiX[/eluser]
I think you would just add

Code:
'Windows Phone OS 7.0' => 'Windows Mobile 7'
or maybe (for all versions?)
Code:
'Windows Phone' => 'Windows Mobile'
to the $mobile array located in /application/config/user_agents.php




Theme © iAndrew 2016 - Forum software by © MyBB