<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>旁观者 - 郑昀 - WAP</title><link>http://blog.csdn.net/zhengyun_ustc/category/135652.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 21 Apr 2008 11:53:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>郑昀</dc:creator><title>注意我写的OTA短信同步设置的代码有很多问题</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/12/20/557273.aspx</link><pubDate>Tue, 20 Dec 2005 16:00:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/12/20/557273.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/557273.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/12/20/557273.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/557273.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=557273</trackback:ping><description>最近一些网友询问《[OTA]制作OTA短信来配置手机与服务器同步》和《[SMS&amp;WAP]实例讲解制作OTA短信来自动配置手机WAP书签[附源码] 》的代码问题。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/557273.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[SMS&amp;WAP]实例讲解制作OTA短信来自动配置手机WAP书签[附源码] </title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx</link><pubDate>Mon, 05 Sep 2005 16:21:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/471765.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/09/05/471765.aspx#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/471765.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=471765</trackback:ping><description>OTA，即Over The Air，国内翻译为空中下载。
OTA标准由爱立信和诺基亚共同制订。OTA涵盖了许多范围，比如Kjava中的应用程序下载也是通过OTA。我们这篇文章主要讲的是，通过短信方式空中下载配置信息，参考的文档是OTA_settings_general_7_0.pdf。
规范中定义了三种Setting：
	浏览器设置
	浏览器的书签设置
	SyncML设置
也就是说，你通过发送短信可以帮助用户手机配置这三种设置。

原则上，你只要看了OTA_settings_general_7_0.pdf，并参照OTA_service_settings_example_v11.pdf，就可以轻松地制作出符合规范的OTA短信。
但是，本文档的目的就是让你简单粗暴地直奔主题，看完这篇文档后，就了解了OTA短信的概念，通过以下代码：
OTAMessage
OTAMessage message = new OTAMessage();
txtOTAResult.Text = message.GetSMSBytes(txtBookmarkName.Text, txtB&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/471765.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap] 制作自定义WmlListAdapter来实现Mobile.List控件的各种效果</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx</link><pubDate>Sat, 20 Aug 2005 03:10:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/459385.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/08/20/459385.aspx#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/459385.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=459385</trackback:ping><description>自定义的mobile.List的横排效果 
现有的mobile.List输出效果，每一个Item之间一定会换行，如果你看了WmlListAdapter的源代码就知道了，这是因为他们在输出每一个Item渲染时调用了RenderLink(writer, item.Value, null, false, false, item.Text, true);，最后一个参数就是是否在本Item渲染后输出换行标记。 
我们可以改变这种渲染方式，从而让mobile.List变成横排效果。 
自定义的mobile.List的图片效果 
现有的mobile.List输出效果，每一个Item前后无法插入一张image。 
我们可以改变这种渲染方式，从而让mobile.List变成可以自定义每一行的插入图片效果。 

下面，我们来介绍一下步骤：&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/459385.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap]自定义asp.net mobile control</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/29/438006.aspx</link><pubDate>Fri, 29 Jul 2005 00:12:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/29/438006.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/438006.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/29/438006.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/438006.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=438006</trackback:ping><description>按照MSDN《Walkthrough: Adding Support for Devices》的指示：

我们要想自定义MMIT(Microsoft Mobile Internet Toolkit)提供的控件，那么可以改变Adapter在最后关头的渲染工作。

 

首先，我们要说明render的概念，最好的动画教程就是http://www.asp.net/mobile/2514A_01A001.swf，它是Mobile Web Application Architecture的flash讲解。

所有的ASP.NET mobile device adapter都是通过text writer做render的。这些text writer均继承自MobileTextWriter。它提供了Write, WriteLine, 以及WriteBeginTag等方法。对于WML来说，这个Text Writer是System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter。

 

第一步，下载http://go.micr&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/438006.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap] 识别访问手机的能力 </title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/28/437523.aspx</link><pubDate>Thu, 28 Jul 2005 16:13:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/28/437523.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/437523.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/28/437523.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/437523.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=437523</trackback:ping><description>我们通过以下代码可以获取手机的能力,从而针对不同能力的手机做出显示彩色还是黑白色的图片，显示的字体是否可以为彩色等等。

还可以进一步通过System.Web.Mobile.MobileCapabilities 的成员函数

System.Boolean HasCapability ( System.String delegateName , System.String optionalParameter )来查询手机是否支持某一特性，代码如下：

bool bHasWBMP =                 
   ((MobileCapabilities)Request.Browser).HasCapability("PreferredImageMime", "image/vnd.wap.wbmp");
log.Info("Has WBMP?" + bHasWBMP.ToString());&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/437523.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap]OnViewStateExpire异常的处理办法</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/15/425590.aspx</link><pubDate>Fri, 15 Jul 2005 14:37:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/15/425590.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/425590.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/15/425590.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/425590.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=425590</trackback:ping><description>我们的Wap页面由dotNET 编写而成，当页面停留时间过长后，由于IIS的session超时时间是20分钟，这时候再点击页面上的控件，它可能报告如下错误：

页面是这样的：
 
/Mail 中的服务器错误

更多System.Exception
该页所需的会话状态已不可用。或者是会话已过期、客户端未发送有效的会话 Cookie，或是会话状态的历史记录太小。请尝试增加历史记录大小或延长会话到期期限。
方法:OnViewStateExpire&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/425590.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[Wap]command和selectionList冲突的分析</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/14/424830.aspx</link><pubDate>Thu, 14 Jul 2005 14:42:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/14/424830.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/424830.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/07/14/424830.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/424830.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=424830</trackback:ping><description>现象
我们的Wap页面由dotNET 编写而成，一个页面上使用了mobile:command和mobile:selectionlist控件。

当使用Opera、Microsoft Mobile Explorer 3.0和M3Gate模拟器浏览页面，都没有问题。

当使用OpenwaveSDK6.2.2的模拟器浏览时，却发现command控件下面出现了一个“确定”的按钮。如下图所示：&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/424830.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>