开源的Mobile Device Browser Profiles数据库
开发过手机应用的同学们一定知道各种不同手机平台的规格不一如同一场噩梦 -- 屏幕尺寸、支持的多媒体格式、手机浏览器支持的能力...统统不一样!
我所在的team刚刚在codeplex上发布了开源的手机浏览能力数据(文件),可以免费自由使用。 不过这个版本是建立在ASP.net基础上的,但主要的数据文件是一个XML格式的文件,只要有相应的实现就可以方便地用于其它的平台。
Mobile Device Browser File
Project Description
The Mobile Browser Definition File contains definitions for individual mobile devices and browsers. At run time, ASP.NET uses the information in the request header to determine what type of device/browser has made the request.
This project provides a data file that when used with ASP.NET will detect the incoming mobile device and present you as the web developer with a set of 67 capabilities or properties describing the requesting device. These capabilities range from screen size to cookie support and provide all the information you need to adaptively render content for mobile phones and devices.
What is the Mobile Device Browser Definition File?
The Mobile Device Browser Definition File contains capability definitions for individual mobile devices and browsers. At run time, ASP.NET uses this .browser file, along with the information in the HTTP request header, to determine what type of device/browser has made the request and what the capabilities of that device are. This information is exposed to the developer through the Request.Browser property and allows them to tailor the presentation of their web page to suit the capabilities of the target device.
More Information
The format of the .browser file is XML and the schema is defined here: Browser Definition File Schema. The Browser Definition File was introduced in the .NET Framework version 2.0. In earlier versions of the .NET Framework, the browserCaps element was used to define browser definitions in configuration files. Please note that you must have Microsoft .NET Framework 3.5 Service Pack 1 installed to use this .browser file. See requirements...
Related posts:
- Thinkweek Cube
- Mac OSX, Windows, Linux, *nix闲谈
- Mobile World Congress – Windows Phone
- DICK BRASS: Microsoft’s Creative Destruction
- Windows Azure, Google App Engine, Amazon AWS 价格比较
- School District Finder - 美国生活系列
- 不得不表扬一下搜狗运输入法
- Mac Vs PC, OS X vs Windows 7
- Linus对Windows 7竖起了...
- Windows 7发布日礼物
Search related in web: