Posts Tagged ‘devicealtas’

the down-low on mobile device detection

Thursday, February 19th, 2009

so - you say you want to detect which mobile devices hit your site? - in the past, this has been a bit of an issue, but lately - with really nice projects available out there such as WURFL or DeviceAtlas, you are able to concentrate harder on other issues, instead of having to write a complete library of your own.

so for this, i’ve decided on DeviceAtlas.  just head on over to DeviceAtlas and open a developers account - you will get a one year developer’s license to play around to see how cool it is.

after registering - click on the downloads link - then go to the php example and download the source files.  after de-tar-and-un-zipping the file, just extract the contents.  at the moment all we are really interested in, is the Mobi/Mtld/DA directory and its contents - also create a json directory and drop the Sample.json file inside.

dump everything into a web directory somewhere. :-)

(more…)