asp.net开发wap必备:更好的匹配手机设备[2]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

代码说明:

这里强制生成wml
   preferredRenderingType = "wml11"
   preferredRenderingMime = "text/vnd.wap.wml"
   preferredImageMime ="image/vnd.wap.wbmp"

最重要就是

   <case match="SEC-SGHX458|Motorola-T33">

这里是在匹配设备,可以参考正则表达式语法,SEC-SGHX458代表三星X458,Motorola-T33代表摩托e360

这些字符可以参考的另外一篇文章:

http://blog.csdn.net/Qqwwee_Com/archive/2005/09/10/477189.aspx

本文关键:asp.net开发wap必备:更好的匹配手机设备
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top