Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®½çÃæ¼Ü¹¹Æª

×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®½çÃæ¼Ü¹¹Æª(ÊÖ°ÑÊÖ½ÌÄãiphone¿ª·¢ – ½ø½×ƪ)
×÷ÕߣºËﶫ·ç 2009-12-28£¨×ªÔØÇë×¢Ã÷³ö´¦£©
ÔÚ±ÊÕßµÄÉÏƪÎÄÕ¡¶×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®BSD SocketÒýÇæƪ¡·ÖÐÒѾ­³É¹¦½âÎö³öÀ´ÁËwmlÒ³ÃæÖеÄtag£¬Èç¹û¶ÁÕß×ÐϸµÄ»°¿ÉÄܻῴµ½ÀïÃæÖÐÎĵÄtagÏÔʾΪÂÒÂ룬ÕâÊÇÒòΪÔÚiPhoneÉÏĬÈϵÄÖÐÎıàÂë¸ñʽÊÇUTF-8£¬¶øͨ¹ýBSD SocketÇëÇó¹ýÀ´µÄÊÇASCIIÂ룬ËùÒÔÐèҪͨ¹ýת»»ÎªUTF-8¸ñʽ£¬ÈçÏ£º
 
[[NSString alloc] initWithBytes:aChild->Value() length:strlen(aChild->Value()) encoding:NSUTF8StringEncoding]
 
¾­¹ýת»»±àÂëÖ®ºó£¬ÔÚÆÁÄ»ÉÏÏÔʾµÄ´òÓ¡ÄÚÈÝÈçÏ£º
 
parse xml succeed
aChild value = STATUS OK
aChild value = card
TiXmlNode::ELEMENT name = title, attr value = °Ù¶ÈÒ»ÏÂ,Äã¾ÍÖªµÀ
aChild value = p
aChild value = img
TiXmlNode::ELEMENT name = src, attr value = /r/wise/wapsearchindex/logoindexsmall.gif
TiXmlNode::ELEMENT name = alt, attr value = °Ù¶ÈÊ×Ò³
aChild value = br
aChild value = input
TiXmlNode::ELEMENT name = name, attr value = word
TiXmlNode::ELEMENT name = emptyok, attr value = true
aChild value = br
aChild value = anchor
aChild value = ËÑÍøÒ³
TiXmlNode::TEXT Value = ËÑÍøÒ³
 
½ÓÏÂÀ´µÄÈÎÎñ¾ÍÊÇäÖȾÕâЩ½âÎö³öÀ´µÄtag²¢ÏÔʾÔÚ½çÃæÉÏÁË£¬±¾ÆªÀï±ÊÕßÖص㽲ÊöÈç¹û´î½¨Ò»¸ö¿ÉÀ©Õ¹µÄ¡¢½¡×³µÄ½çÃæ¼Ü¹¹¡£
 
ÔÚËùÓÐƽ̨µÄ½çÃæ¼Ü¹¹ÖУ¬±ÊÕßÒ»Ö±ÍƳçMVC£¬MVCµÄ×ÅÖصãÔÚÓڰѽçÃæÏÔʾºÍÊý¾Ý´¦Àí·ÖÀ뿪À´ÒÔÌṩ¿ÉÀ©Õ¹µÄ½çÃæ¼Ü¹¹Æ½Ì¨¡£»ùÓÚÕâ¸ö˼Ï룬±ÊÕß½¨Á¢ÁËÈçϵļܹ¹Í¼£º
 
 
 
ͼ1.Tag½çÃæ¼Ü¹¹Í¼
 
ÔÚXmlÄ£¿é´¦ÀíÍêxmlÊý¾Ý²¢ÌáÈ¡³ötagºó£¬½»¸øCXmlControl½øÐд¦Àí£¬CXmlControlÔÚÕâÀï³äµ±ControlµÄ½ÇÉ«£¬Ëü¸ºÔðÔÚ´¦ÀíÍêtag£¨±êÇ©£©ºóÉú³ÉÏàÓ¦µÄÏûÏ¢ÒÔÏÔʾÔÚ½çÃæÉÏ¡£
 
ÆäÖÐCXmlControl¼Ì³Ð×ÔUIViewÀ࣬Ëü¸ºÔðÏÔʾ½çÃæ²¢ÏìÓ¦Óû§µÄ°´¼üÏûÏ¢£¬¶ø¾ßÌåµÄÂß¼­´¦ÀíÔòÊÇÔÚCXmlControlImplÀàÖнøÐеģ¬CXmlControlImplÕâ¸öÀฺÔð¹ÜÀíÉú³ÉµÄtag£¨±êÇ©£©ÒÔ¼°tag£¨±êÇ©£©µÄ½çÃæLayout£¨²¼¾Ö£©£¬ÈçÏ£º
 
 
 
@class CXmlControlImpl;
@interface CXmlControl : UIView {
@public
         CXmlControlImpl* iImpl


Ïà¹ØÎĵµ£º

»ùÓÚ¶ÌÐÅÍø¹ØWAPÍÆË͵ÄʵÏÖ

WAP PUSH¼ÈÓÐÐÅÏ¢·¢ËÍÖ÷¶¯¡¢¼°Ê±µÄÌص㣬ÓÖÓпÉËæʱËæµØ½ÓÊÕÐÅÏ¢µÄÓÅÊÆ£¬Òò¶ø¾ßÓÐÁ¼ºÃµÄÓ¦ÓÃ
Ç°¾°¡£¸ÃÎļòµ¥½éÉÜÁËWAP PUSHϵͳ¿ò¼Ü¡¢ÍÆËÍЭÒéºÍÍÆËÍ·½Ê½£¬Öصã½éÉÜÁËͨ¹ý¶ÌÐÅÍø¹ØʵÏÖWAPÍÆË͵ÄʵÏÖ·½·¨¡£
¡¡¡¡1 WAPÍÆËͼ¼Êõ¼ò½é
¡¡¡¡1.1 ʲôÊÇWAPÍÆËÍ
¡¡¡¡WAPÍÆËÍ£¨PUSH£©¼¼ÊõÊÇÒ»ÖÖ½¨Á¢ÔÚ¿Í»§·þÎñ
Æ÷ÉϵĻúÖÆ£¬¾ÍÊ ......

WAPÍøÕ¾UAÊÊÅä

    ¶ÔÓÚWAPÍøÕ¾À´ËµÎÒÃÇÖªµÀÊÖ»úµÄ»úÐÍÊÊÅä±äµÃÒì³£ÖØÒª¡£ÔÚÌÖÂÛUAÇ°ÎÒÃÇ¿´ÏµäÐ͵ļ¸¸öUAµÄÀý×Ó£º
 
1£©SCH-M609/1.0 POLARIS/5.30.WAP CTC/1.0
2£©Mozilla/5.0 (LG-KV755/CH755V05;U;REX/1.0;BREW/3.1.5;240*320;CTC/1.0) Polaris/6.15
3£©K-Touch/Windows CE 5.2,Pocket PC Profile/MIDP-2.0& ......

ÍøÐÅÒµÎñ³¡¾° ÀûÓÃWAP PUSHʵÏÖÈçϳ¡¾°ÒµÎñ

 ÈçºÎÀûÓÃWAP PUSH(ÍøÐÅ)·þÎñÆ÷¶ËÉÏÄÚÈݸüÐÂ,( Ìض¨Ìõ¼þ´¥·¢Ê±)£¬Ö÷¶¯¸øÖƶ¨ÊÖ»ú·¢ÆðͨÐÅ£¬²¢Äܹ»´¥·¢ÊÖ»ú¶ËµÄij¸öÓ¦ÓÃÆô¶¯; ʵÏÖÓ¦ÓÃÄÚÈݵÄPUSH;
1)        ±ÈÈç: Ë®µçÕ˵¥²úÉúÁË£¬·þÎñÆ÷¾Í´¥·¢Ë®µçÕ˵¥ÄÚÈݼ°½É·ÑÓ¦ÓÃ
2)        ±ÈÈç: »ú ......

Wap ÅäÖû·¾³ VS

Ê×ÏÈ µ½ http://files.cnblogs.com/fox23/ASPNETMobileTemplates.zip  ÏÂÔØC#µÄÄ£°åµÄѹËõ°ü£¬½âѹºóÏȶÁ¸÷¸öÎļþ¼ÐÏÂÃæµÄReadme.txt(Æäʵ¾ÍÊÇ˵ÐèÒª°ÑËûÃÇîíµ½??\My Documents\Visual Studio 2008\Templates\ItemTemplatesϵÄÁ½¸öÎļþ¼ÐÏÂ).ÓÐÁËÕ⼸¸öÄ£°å£¬ÔÚASP.NET Web Site ºÍ ASP.NET Web ApplicationµÄÏî ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ