×Ô¼º¶¯ÊÖд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
Ïà¹ØÎĵµ£º
ÔÚWMLÖУ¬ÓÉÓÚÖ§³ÖµÄä¯ÀÀÆ÷²»Í¬£¬¶ÔÓÚͼƬ¸ñʽҲÓв»Í¬µÄÏÞÖÆ¡£±ÈÈç³£¼ûµÄM3Gate£¬Ä¿Ç°Ö÷ÒªÖ§³ÖµÄÊÇPNG¸ñʽ£¬ÓеÄä¯ÀÀÆ÷Ö§³ÖµÄÊÇJPGµÄ¸ñʽ¡£µ«ÊÇÈç¹ûͼƬ²»ÊÇ×Ô¼º¼Ó¹¤µÄ£¬±ÈÈçÊÇͨ¹ýÍøÒ³²É¼¯¹¤¾ß²É¼¯¹ýÀ´µÄͼƬ¸ñʽ¸÷²»Ïàͬ£¬ÕâÑù¾ÍÐèÒªÔÚ·¢²¼µÄʱºò½øÐÐͳһµÄ¸ñʽ´¦Àí¡£
ÔÚÕâÀÓÉÓÚ¸öÈËÒ»Ö±´ÓʵÄÊÇJ2EEµÄÑз¢£¬ËùÒÔÔÚ· ......
´î½¨WAPÓ¦Óÿª·¢»·¾³ £Û ×÷Õߣºmingjava תÌù×Ô£º±¾Õ¾Ô´´ µã»÷Êý£º1709 ¸üÐÂʱ¼ä£º2004-9-7 ÎÄÕ¼È룺mingjava £Ý J2ME¿ª·¢Íø×î½ü¿ª±ÙÁËJava¼¼ÊõÓëWAP¿ª·¢×¨Ì⣬רÌ⽫Ö÷Òª½²ÊöWAP¿ª·¢ºÍJava¼¼ÊõÖÐÏ໥½áºÏµÄ²¿·Ö¡£²»ÔÙ¿ª±ÙеÄÎÄÕÂÀ¸Ä¿£¬Èç¹ûÍøÓÑ·¢±íWAPÏà¹ØµÄ¼¼ÊõÇë¹éÈëJava¼¼ÊõÓëWAP¿ª·¢×¨Ìâ¡£ WAP(Wireless Applicati ......
Ê×ÏÈ µ½ 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µÄÏî ......
Ê×ÏȽâÊÍһϣ¬ÖйúÒƶ¯ÌṩCMNETºÍCMWAPÁ½¸öAPN£¬±¾ÖÊÉÏ£¬ÕâÁ½¸öAPNÆäʵ±¾Ó¦Ã»ÓÐÇø±ð£¬µ«ÊÇÔËÓªÉÌ´ÓÉÌÒµ½Ç¶È³ö·¢£¬´ÓÒÔÏÂÁ½·½ÃæÀ´¶¨Î»Õâ¶þÕߣº
1£¬²ÉÓò»Í¬µÄ¼Æ·Ñ·½Ê½£¬²»°üÔµÄÇé¿öÏ£¬CMNETÓпÉÄÜÊշѸü¸ß
2£¬ÍøÂç½ÓÈëµÄÊÚȨ²»Í¬£¬CMNETÄÜ»ñµÃÍêÈ«ÍøÂç·ÃÎÊ£¬¾ÍÈçPCÖ±½ÓÉÏÍøÒ»Ñù£¬¶øCMWAPÖ»ÄÜÏÞÖÆÔÚWAP£¨»ù±¾ÉÏ¿ÉÒÔµÈͬ ......