|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
XHTMLMP - Screen Width/Mobile Specs
How do I get the Specs for each mobile device? In PHP, if I print the globals, the User Agent is in there but it does not have any information about the device? How can I get this information?
|
|
#2
|
||||
|
||||
|
That sort of information isn't usually sent by the device itself.
There are profiles available online of each device but things like WURFL have this sort of information stored in XML or database. Have a look at device atlas - there is a PHP version available.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
|||
|
|||
|
Nice. Thanks. That looks like a project. Could I get away with the assumption that the screen is 200px? That should work for probably 90%+ of the time...
|
|
#4
|
||||
|
||||
|
Well that would rule me out
![]() Average screen size is between 160 and 240px. |
|
#5
|
|||
|
|||
|
I'll make all the images 160px or less and use 100% width for anything that should span the entire width of the screen. Would that work?
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > XHTMLMP - Screen Width/Mobile Specs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|