开发者

Looking for a User Agent String to detect the kind of cell phone?

Does anyone know a good user agent string that will tell me if the开发者_如何学C cell phone is an iPhone, Blackberry, Android, DumbPhone??


Have a look at WURFL. It has a device capability database, and an associated API for PHP and Java that matches user agents to devices in the database. And it's free.

A commercial alternative is DeviceAtlas, but API is a good deal more primitive than WURFL's.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜