views:

145

answers:

2

It seems like facebook has this mastered, I've checked a bit into WURFL but this seems like an extremely expensive process. I've also checked out: url link. While it has a good list of user agents, I'm trying to identify which are smart phones and which are not.

facebook pushes the non-smart phones to a different site than their smart phones. Trying to see if there was an easy way to do this.

A: 

Screen size should be a somewhat reliable indicator. Non-smarts tend to have less than 320x240 resolution, though I'd check some older smartphone models to be sure.

Jani Hartikainen
+1  A: 

You should look into Tera-WURFL which is basically WURFL serialized data in a MySQL database. Much better performance than XML WURFL.

There is also another mobile device db out there: Device Atlas.

What you could do is find the lowest common denominator for smartphones, then create your own stripped down version of WURFL / Device Atlas which would be far less resource intensive and faster to check, and go from there.

code_burgar
Cheers! Worked perfect. Thank you so much for your help.
Frederico
You are welcome, Frederico
code_burgar