{"id":60146,"date":"2024-06-14T15:38:33","date_gmt":"2024-06-14T07:38:33","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=60146"},"modified":"2024-06-14T15:38:33","modified_gmt":"2024-06-14T07:38:33","slug":"%e6%89%8b%e6%9c%ba%e5%b0%81%e8%a3%85app%e7%9a%84%e8%bd%af%e4%bb%b6%e6%93%8d%e4%bd%9c%e5%8a%9e%e6%b3%95%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/60146\/","title":{"rendered":"\u624b\u673a\u5c01\u88c5app\u7684\u8f6f\u4ef6\u64cd\u4f5c\u529e\u6cd5\u4ecb\u7ecd"},"content":{"rendered":"<p>\u5f53\u4eca\u793e\u4f1a\uff0c\u667a\u80fd\u624b\u673a\u5df2\u7ecf\u6210\u4e3a\u751f\u6d3b\u7684<a href=\"https:\/\/appfengzhuang.yimenapp.com\/app-652.html\">\u7f51\u7ad9app\u514d\u8d39\u751f\u6210\u8f6f\u4ef6<\/a>\u4e00\u90e8\u5206\uff0c\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u624b\u673a<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f\/\" title=\"\u5e94\u7528\u7a0b\u5e8f\" target=\"_blank\">\u5e94\u7528\u7a0b\u5e8f<\/a><\/span>\uff08APP\uff09\u6570\u91cf\u65e5\u76ca\u589e\u957f\u3002\u8bb8\u591a\u4eba\u6216\u4f01\u4e1a\u5bf9\u5f00\u53d1\u81ea\u5df1\u7684\u5e94\u7528\u7a0b\u5e8f\u4ea7\u751f\u6d53\u539a\u5174\u8da3\u3002\u7136\u800c\uff0c\u5f00\u53d1\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u9700\u8981\u4e13\u4e1a\u7684\u6280\u80fd\u548c\u77e5\u8bc6\uff0c\u8fd9\u8ba9\u8bb8\u591a\u6ca1\u6709\u7f16\u7a0b\u7ecf\u9a8c\u7684\u4eba\u671b\u800c\u5374\u6b65\u3002\u6b64\u65f6\uff0c\u624b\u673a<span class=\"wpcom_keyword_link\"><a href=\"https:\/\/www.yimenapp.cn\" target=\"_blank\" title=\"\u5c01\u88c5APP\">\u5c01\u88c5APP<\/a><\/span>\u7684<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e8%bd%af%e4%bb%b6\/\" title=\"\u8f6f\u4ef6\" target=\"_blank\">\u8f6f\u4ef6<\/a><\/span>\u6210\u4e3a\u4e86\u4e00\u79cd\u7406\u60f3\u7684\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u624b\u673a\u5c01\u88c5APP\u8f6f\u4ef6\u53ca\u539f\u7406\u3002<\/p>\n<p>\u6240\u8c13\u624b\u673a\u5c01\u88c5APP\u8f6f\u4ef6\uff0c\u6307\u7684\u662f\u4e00\u79cd\u5c06\u7f51\u9875\u5e94\u7528\u7a0b\u5e8f\u8f6c\u6362\u4e3a\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u5177\u3002\u901a\u8fc7\u8fd9\u4e9b\u8f6f\u4ef6\uff0c\u7528\u6237\u5728\u65e0\u9700\u7f16\u7a0b\u77e5\u8bc6\u7684\u524d\u63d0\u4e0b\uff0c\u53ea\u9700\u5c06\u73b0\u6709\u7684\u7f51\u7ad9\u5185\u5bb9\u5c01\u88c5\u6210\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u4e00\u952e\u53d1\u5e03\u5230\u5e94\u7528\u5546\u5e97\u3002\u8fd9\u610f\u5473\u7740\u975e\u4e13\u4e1a<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e5%bc%80%e5%8f%91%e8%80%85\/\" title=\"\u5f00\u53d1\u8005\" target=\"_blank\">\u5f00\u53d1\u8005<\/a><\/span>\u4e5f\u53ef\u4ee5\u4e3a\u5404\u79cd\u79fb\u52a8\u5e73\u53f0\uff08\u5982Android\u3001iOS\u7b49\uff09\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u3002\u5e38\u89c1\u7684\u624b\u673a\u5c01\u88c5APP\u8f6f\u4ef6\u6709PhoneGap\u3001Apache Cordova\u3001Ionic\u7b49\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u6765\u8be6\u7ec6\u4e86\u89e3\u624b\u673a\u5c01\u88c5APP\u7684\u539f\u7406\u548c\u6280\u672f\u7ec6\u8282\u3002<\/p>\n<p>1. \u6df7\u5408\u5e94\u7528\u5f00\u53d1\u6280\u672f<\/p>\n<p>\u5c01\u88c5APP<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.yimenyun.net\/2023-04\/07\/09\/33403671144.jpg\" \/><\/figure><\/p>\n<p>\u8f6f\u4ef6\u80cc\u540e\u7684\u5173\u952e\u6280\u672f\u662f\u6df7\u5408\u5e94\u7528\u5f00\u53d1\u6280\u672f\u3002\u6df7\u5408\u5e94\u7528\u7a0b\u5e8f\u7ed3\u5408\u4e86\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\uff08\u5982Android\u548ciOS\u5e94\u7528\u7a0b\u5e8f\uff09\u548cWeb\u5e94\u7528\u7a0b\u5e8f\u7684\u7279\u70b9\u3002\u6df7\u5408\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528Web\u6280\u672f\uff08\u5982HTML\u3001CSS\u548cJavaScript\uff09\u7f16\u5199\uff0c\u7136\u540e\u901a\u8fc7\u4e00\u4e2a\u539f\u751f\u5bb9\u5668\uff08\u5982WebView\uff09\u5c01\u88c5\u6210\u539f\u751f\u5e94\u7528\u3002\u5c01\u88c5APP\u8f6f\u4ef6\u5219\u7b80\u5316\u4e86\u8fd9\u4e00\u8fc7\u7a0b\uff0c\u4f7f\u5f97\u975e\u4e13\u4e1a\u5f00\u53d1\u8005\u4e5f\u80fd\u8f7b\u677e\u5b9e\u73b0\u3002<\/p>\n<p>2. WebView<\/p>\n<p>WebView\u662f\u4e00\u4e2a\u539f\u751f\u5e94\u7528\u7ec4\u4ef6\uff0c\u7528\u4e8e\u663e\u793aWeb\u5185\u5bb9\u3002\u5728\u5c01\u88c5APP\u8f6f\u4ef6\u4e2d\uff0cWebView\u4f5c\u4e3a\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u5bf9Web\u5185\u5bb9\u8fdb\u884c\u52a0\u8f7d\u3001\u5448\u73b0\u4ee5\u53ca\u5c01\u88c5\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0cWebView\u5c06\u539f\u6709\u7684\u7f51\u7ad9\u5185\u5bb9\u4f5c\u4e3a\u7a0b\u5e8f\u5185\u7684\u4e00\u4e2a\u9875\u9762\uff0c\u5b9e\u73b0\u4e0e\u539f\u751f\u5e94\u7528\u7a0b\u5e8f\u4ea4\u4e92\uff0c\u4ece\u800c\u4f7f\u5f97\u6574\u4e2a\u5e94\u7528\u7a0b\u5e8f\u770b\u8d77\u6765\u5c31\u662f\u4e00\u4e2a\u539f\u751f\u7684\u5e94\u7528\u3002<\/p>\n<p>3. \u63d2\u4ef6\u548cAPI\u8bbf\u95ee<\/p>\n<p>\u867d\u7136WebView\u7684\u4e3b\u8981\u529f\u80fd\u662f\u52a0\u8f7d\u548c\u663e\u793aWeb\u5185\u5bb9\uff0c\u4f46\u5c01\u88c5APP\u8f6f\u4ef6\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u63d2\u4ef6\u548cAPI\u4ee5\u5b9e\u73b0\u5bf9\u539f\u751f\u8bbe\u5907\u529f\u80fd\u7684\u8bbf\u95ee\u3002\u4f8b\u5982\uff0c\u8bbf\u95ee\u624b\u673a\u6444\u50cf\u5934\u3001\u901a\u8baf\u5f55\u3001GPS\u7b49\u529f\u80fd\u3002\u8fd9\u4e9b\u63d2\u4ef6\u548cAPI\u5c06Web\u6280\u672f\u4e0e\u539f\u751f\u5e94\u7528\u76f8\u7ed3\u5408\uff0c\u4e3a\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u529f\u80fd\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u5c01\u88c5APP\u8f6f\u4ef6\uff0c\u5f00\u53d1\u8005\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7edf\u4e00\u7684API\u6765\u4e3a\u4e0d\u540c\u5e73\u53f0\u7684\u8bbe\u5907\u521b\u5efa\u63d2\u4ef6\uff0c\u4ece\u800c\u8282\u7701\u5f00\u53d1\u65f6\u95f4\u548c\u6210\u672c\u3002<\/p>\n<p>\u5728\u4e86\u89e3\u4e86\u624b\u673a\u5c01\u88c5APP\u8f6f\u4ef6\u7684\u539f\u7406\u540e\uff0c\u6211\u4eec\u518d\u6765\u770b\u51e0\u4e2a\u5e38\u89c1\u8f6f\u4ef6\u7684\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/p>\n<p>1. PhoneGap<\/p>\n<p>PhoneGap\u662fAdobe\u516c\u53f8\u63a8\u51fa\u7684\u4e00\u6b3e\u5f00\u6e90\u5c01\u88c5APP\u8f6f\u4ef6\u3002\u5b83\u57fa\u4e8eApache Cordova\u9879\u76ee\uff0c\u652f\u6301\u591a\u4e2a\u5e73\u53f0\uff08\u5305\u62ecAndroid\u3001iOS\u548cWindows Phone\uff09\u3002PhoneGap\u5728\u628a<a href=\"https:\/\/appfengzhuang.yimenapp.com\/app-429.html\">\u7b80\u5c01app<\/a>WebView\u548c\u8bbe\u5907\u529f\u80fd\u76f8\u7ed3\u5408\u65b9\u9762\u505a\u5f97\u975e\u5e38\u51fa\u8272\uff0c\u4f7f\u5f97\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528Web\u6280\u672f\u5feb\u901f\u6784\u5efa\u5177\u6709\u539f\u751f\u5e94\u7528\u4f53\u9a8c\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>2. Apache Cordova<\/p>\n<p>Apache Cordova\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u6846\u67b6\uff0c\u91c7\u7528\u6df7\u5408\u5e94\u7528\u5f00\u53d1\u6280\u672f\uff0c\u5c06\u7f51\u7ad9\u5185\u5bb9\u5c01\u88c5\u6210\u539f\u751f\u5e94\u7528\u3002Cordova\u63d0\u4f9b\u4e86\u8bb8\u591a\u63d2\u4ef6\u6765\u5b9e\u73b0\u5bf9\u539f\u751f\u529f\u80fd\u7684\u8bbf\u95ee\uff0c\u5982\u7535\u8bdd\u3001\u77ed\u4fe1\u3001\u6444\u50cf\u5934\u7b49\u3002\u540c\u65f6\uff0c\u5b83\u652f\u6301\u5404\u79cd\u79fb\u52a8\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5305\u62ecAndroid\u3001iOS\u3001Windows Phone\u3001BlackBerry\u7b49\u3002<\/p>\n<p>3. Ionic<\/p>\n<p>Ionic\u662f\u4e00\u6b3e\u5f00\u6e90\u7684UI\u6846\u67b6\uff0c\u7528\u4e8e\u6784\u5efa\u57fa\u4e8eWeb\u6280\u672f\u7684\u8de8\u5e73\u53f0\u79fb\u52a8\u5e94\u7528\u3002Ionic\u57fa\u4e8eAngularJS\u548cApache Cordova\u5f00\u53d1\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u5957\u4e30\u5bcc\u7684UI\u7ec4\u4ef6\u3002\u901a\u8fc7Ionic\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528Web\u6280\u672f\u521b\u5efa\u5177\u6709\u539f\u751f\u5e94\u7528\u4f53\u9a8c\u7684\u79fb\u52a8\u5e94\u7528\uff0c\u540c\u65f6\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u8f7b\u677e\u5730\u8fd0\u884c\u5728Android\u3001iOS\u7b49\u591a\u4e2a\u5e73\u53f0\u4e0a\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u624b\u673a\u5c01\u88c5APP\u8f6f\u4ef6\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u4fbf\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5e2e\u52a9\u975e\u4e13\u4e1a\u5f00\u53d1\u8005\u8f7b\u677e\u6784\u5efa\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002\u5c01\u88c5APP\u8f6f\u4ef6\u80cc\u540e\u7684\u6df7\u5408\u5e94\u7528\u5f00\u53d1\u6280\u672f\u5177\u6709\u8de8\u5e73\u53f0\u3001\u4f4e\u6210\u672c\u7b49\u4f18\u70b9\uff0c\u503c\u5f97\u5728\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u9886\u57df\u8fdb\u4e00\u6b65\u63a8\u5e7f\u548c\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4eca\u793e\u4f1a\uff0c\u667a\u80fd\u624b\u673a\u5df2\u7ecf\u6210\u4e3a\u751f\u6d3b\u7684\u4e00\u90e8\u5206\uff0c\u968f\u7740\u79fb\u52a8\u4e92\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u624b\u673a\u5e94\u7528\u7a0b\u5e8f\uff08APP\uff09\u6570\u91cf\u65e5\u76ca\u589e\u957f\u3002\u8bb8\u591a\u4eba\u6216\u4f01\u4e1a\u5bf9\u5f00\u53d1\u81ea\u5df1\u7684\u5e94\u7528\u7a0b\u5e8f\u4ea7\u751f\u6d53\u539a\u5174\u8da3\u3002\u7136\u800c\uff0c\u5f00\u53d1\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u9700\u8981\u4e13\u4e1a\u7684\u6280\u80fd\u548c\u77e5\u8bc6\uff0c\u8fd9<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[22772,44566,2445,2201,1878],"special":[],"attr":[],"class_list":["post-60146","post","type-post","status-publish","format-standard","hentry","category-www","tag-h5app","tag-app","tag-2445","tag-2201","tag-1878","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/60146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=60146"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/60146\/revisions"}],"predecessor-version":[{"id":60168,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/60146\/revisions\/60168"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=60146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=60146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=60146"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=60146"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=60146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}