{"id":287,"date":"2016-03-16T14:44:12","date_gmt":"2016-03-16T06:44:12","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=287"},"modified":"2016-03-16T14:44:12","modified_gmt":"2016-03-16T06:44:12","slug":"html5%e6%89%93%e5%bc%80%e6%9c%ac%e5%9c%b0app%e5%ba%94%e7%94%a8%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=287","title":{"rendered":"HTML5\u6253\u5f00\u672c\u5730app(\u5e94\u7528)\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>\n\t\u624b\u673a\u8bbf\u95ee\u652f\u4ed8\u5b9d\u7f51\u9875\u7248\u7684\u4eba\u90fd\u77e5\u9053\u3002\u5982\u679c\u4f60\u7684\u624b\u673a\u4e0a\u5b89\u88c5\u6709\u652f\u4ed8\u5b9d\uff0c\u90a3\u4e48\u5728\u8bbf\u95ee\u652f\u4ed8\u5b9d\u624b\u673a\u7f51\u9875\u65f6\u5c31\u4f1a\u81ea\u52a8\u6253\u5f00\u652f\u4ed8\u5b9dapp\uff0c\u5426\u5219\u5728\u9875\u9762\u4e0a\u4f1a\u63d0\u793a\u4f60\u8fdb\u884c\u4e0b\u8f7dapp\u3002<br \/>\n\t\u4e5f\u8bb8\u4f60\u4f1a\u611f\u89c9\u8fd9\u4e2a\u529f\u80fd\u5f88\u70ab\uff0c\u8fd9\u662f\u5982\u4f55\u5b9e\u73b0\u7684\u5462\uff1f\u5728\u4eca\u5929\u8fd9\u4e2a\u529f\u80fd\u53ef\u80fd\u88ab\u5927\u5bb6\u7528\u4e71\u4e86\uff0c\u4f46\u662f\u5728\u5f53\u521d\u652f\u4ed8\u5b9d\u4f7f\u7528\u8fd9\u4e2a\u529f\u80fd\u65f6\uff0c\u5927\u4f19\u8fd8\u662f\u5f88\u60ca\u5947\u7684\uff0c\u6700\u540e\u901a\u8fc7\u5206\u6790\u652f\u4ed8\u5b9d\u79fb\u52a8web\u6e90\u7801\u624d\u627e\u5230\u7ed3\u679c\u3002<br \/>\n\t\u4e0b\u9762\u6211\u5c31\u4e3a\u5927\u5bb6\u63ed\u79d8\u8fd9\u4e2a\u505a\u6cd5\u7684\u5168\u90e8\u4ee3\u7801\u5b9e\u73b0\uff1a<br \/>\n\t<strong>\u9996\u5148\u4e3a\u4e86\u4fdd\u8bc1\u80fd\u591f\u6253\u5f00\u4f60\u7684app\uff0c\u4f60\u5fc5\u987b\u8981\u5728androidManifest.xml\u4e2d\u914d\u7f6e\u7684filter\u4e2ddata\u7684\u5c5e\u6027\u8868\u8ff0\u3002<\/strong>&lt;data android:pathprefix=&quot;\/taoge\/open&quot; android:scheme=&quot;xttblog&quot;&gt;&lt;\/data&gt; androidManifest.xml\u4ee3\u7801\u5982\u4e0b\uff1a\n<\/p>\n<pre>\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\r\n&lt;manifest xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;\r\n    package=&quot;com.taoge&quot;\r\n    android:versionCode=&quot;2&quot;\r\n    android:versionName=&quot;3.24.03&quot; &gt;\r\n    &lt;uses-sdk\r\n        android:minSdkVersion=&quot;8&quot;\r\n        android:targetSdkVersion=&quot;17&quot; \/&gt;\r\n    &lt;application\r\n        android:allowBackup=&quot;true&quot;\r\n        android:configChanges=&quot;orientation|screenSize&quot;\r\n        android:icon=&quot;@drawable\/logo&quot;\r\n        android:label=&quot;@string\/app_name&quot;\r\n        android:logo=&quot;@drawable\/logo&quot;\r\n        android:sharedUserId=&quot;android.uid.system&quot;\r\n        android:theme=&quot;@android:style\/Theme.Light.NoTitleBar&quot; &gt;\r\n        &lt;activity\r\n            android:name=&quot;xttblog.WelcomeActivity&quot;\r\n            android:excludeFromRecents=&quot;true&quot;\r\n            android:screenOrientation=&quot;portrait&quot;\r\n            android:theme=&quot;@android:style\/Theme.Light.NoTitleBar&quot; &gt;\r\n            &lt;intent-filter&gt;\r\n                &lt;action android:name=&quot;android.intent.action.MAIN&quot; \/&gt;\r\n                &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; \/&gt;\r\n            &lt;\/intent-filter&gt;\r\n            &lt;intent-filter&gt;\r\n                &lt;action android:name=&quot;android.intent.action.VIEW&quot; \/&gt;\r\n                &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; \/&gt;\r\n                &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; \/&gt;\r\n                &lt;data android:pathPrefix=&quot;\/taoge\/open&quot;\r\n                    android:scheme=&quot;xttblog&quot; \/&gt;\r\n            &lt;\/intent-filter&gt;\r\n        &lt;\/activity&gt;\r\n        &lt;activity\r\n            android:name=&quot;xttblog.AntRepairActivity&quot;\r\n            android:label=&quot;@string\/title_activity_ant_repair&quot; &gt;\r\n        &lt;\/activity&gt;\r\n    &lt;\/application&gt;\r\n&lt;\/manifest&gt;\r\n<\/pre>\n<p>\n\t<strong>\u5176\u6b21\uff0c\u4f60\u8981\u5728\u4f60\u7684\u7f51\u9875\u4e2d\u8bbf\u95eexttblog:\/\/taoge\/open\u3002\u53ef\u4ee5\u4f7f\u7528\u7684\u5143\u7d20\u6709\u5f88\u591a\uff0c\u5982\uff1ascript\uff0ciframe\uff0cimg\u7b49\u3002\u4f7f\u7528\u5b83\u4eec\u7684src\u5c5e\u6027\uff0c\u8bbf\u95eexttblog:\/\/taoge\/open\u3002<\/strong>html5\u4ee3\u7801\u5982\u4e0b\uff1a\n<\/p>\n<pre>\r\n&lt;!DOCTYPE HTML&gt;\r\n&lt;html&gt;\r\n&lt;script&gt;\r\n\tfunction openapp(){\r\n\t\tdocument.getElementById(&#039;xttblog&#039;).innerHTML=&#039;&lt;iframe src=&quot;xttblog:\/\/taoge\/open&quot;&gt;&lt;\/iframe&gt;&#039;;\r\n\t}\r\n&lt;\/script&gt;\r\n&lt;body&gt;\r\n\t&lt;div style=&quot;display:none;&quot; id=&quot;xttblog&quot;&gt;&lt;\/div&gt;\r\n\t&lt;input type=&quot;button&quot; value=&quot;\u6253\u5f00app&quot; onclick=&quot;openapp();&quot;&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\n\t\u9644\u539f\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.xttblog.com\/?p=287\" target=\"_blank\"><span>http:\/\/www.xttblog.com\/?p=287<\/span><\/a><\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=287\">HTML5\u6253\u5f00\u672c\u5730app(\u5e94\u7528)\u7684\u65b9\u6cd5<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u624b\u673a\u8bbf\u95ee\u652f\u4ed8\u5b9d\u7f51\u9875\u7248\u7684\u4eba\u90fd\u77e5\u9053\u3002\u5982\u679c\u4f60\u7684\u624b\u673a\u4e0a\u5b89\u88c5\u6709\u652f\u4ed8\u5b9d\uff0c\u90a3\u4e48\u5728\u8bbf\u95ee\u652f\u4ed8\u5b9d\u624b\u673a\u7f51\u9875\u65f6\u5c31\u4f1a\u81ea\u52a8\u6253\u5f00\u652f\u4ed8\u5b9dapp [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":168,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[119,82],"class_list":["post-287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5","category-java","tag-html5","tag-market"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=287"}],"version-history":[{"count":2,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions\/289"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/media\/168"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}