{"id":456,"date":"2011-09-24T00:12:34","date_gmt":"2011-09-24T07:12:34","guid":{"rendered":"http:\/\/www.cchsu.com\/arthur\/?p=456"},"modified":"2011-09-24T00:12:58","modified_gmt":"2011-09-24T07:12:58","slug":"windows-8-%e8%a9%a6%e7%8e%a9-2","status":"publish","type":"post","link":"http:\/\/www.cchsu.com\/arthur\/2011\/09\/24\/456\/","title":{"rendered":"Windows 8 \u8a66\u73a9 (2)"},"content":{"rendered":"<p>Windows 8 \u6700\u91cd\u5927\u7684\u6539\u8b8a\u662f Metro App\u3002\u7db2\u8def\u4e0a\u770b\u5230\u6700\u8fa3\u7684\u8b1b\u6cd5\uff1a\u56e0\u70ba Windows Phone \u8ce3\u7684\u592a\u721b\u4e86\uff0c\u6240\u4ee5\u540c\u4e00\u5957\u6771\u897f\u642c\u5230\u50b3\u7d71 Windows \u4e0a\uff0c\u7528\u6a5f\u6d77\u6230\u8853\u4f86\u5e79\u6389 iPad\uff0c\u9019\u6a23\u963f\u8edf\u5c31\u6210\u529f\u4e86 &#8230; \u9019\u500b\u807d\u807d\u723d\u4e00\u4e0b\u5c31\u597d\uff0cMetro \u53ea\u662f\u9577\u76f8\u5f88\u50cf\uff0c\u9aa8\u5b50\u88e1\u4e0d\u592a\u4e00\u6a23\u3002<\/p>\n<p>\u9996\u5148\u6700\u91cd\u8981\u7684\u6539\u8b8a\u662f Windows Runtime (WinRT)\uff0c\u548c Windows Phone \u57fa\u65bc .Net \u4e0d\u540c\uff0cMetro App \u53ef\u662f\u8ca8\u771f\u50f9\u5be6\u5982\u5047\u5305\u63db\u7684 native code\u3002\u9019\u500b\u5c31\u5f88\u8a6d\u7570\u4e86\uff0c\u90a3\u4ee5\u5f8c\u5fae\u8edf\u7684 App Store \u5230\u5e95\u662f\u8981\u8ce3\u4ec0\u9ebc\u54a7\uff1f\u83ab\u975e\u73fe\u5728\u5728\u5403\u8292\u679c\u7684\u7b49\u6377\u904b\u51fa\u4f86\u5c31\u8b1d\u8b1d\u4e0d\u806f\u7d61\uff1f\u6211\u53ef\u4ee5\u7406\u89e3\u5728\u6280\u8853\u4e0a\u7684\u722d\u8ad6\uff0c\u4f46\u9019\u6a23\u7684\u6c7a\u7b56\u5be6\u5728\u5f88\u96e3\u8b93\u4eba\u4e0d\u806f\u60f3\u6210\u653f\u6cbb\u9b25\u722d\u6216\u9054\u723e\u6587\u4e3b\u7fa9\u3002WinRT Metro \u7528\u7684 XAML \u4e5f\u8207 WPF\/SilverLight \u4e0d\u4e00\u6a23\uff0c\u9019\u5be6\u5728\u662f\u592a high \u4e86\uff0c\u6bcf\u500b\u5e2b\u7a0b\u5de5\u6700\u597d\u90fd\u90a3\u9ebc\u6709\u9592\u53bb\u8a18\u76f8\u540c\u76f8\u7570\u8655\u5566 &#8230;<\/p>\n<p>Metro App \u57fa\u65bc Sandbox \u67b6\u69cb\uff0c<b><i>\u7406\u8ad6\u4e0a<\/i><\/b>\u662f\u7070\u718a\u7d66\u4ed6\u5b89\u5168\u7684\uff0c\u5be6\u969b\u4e0a\u770b\u5230\u76ee\u524d\u7684\u5be6\u4f5c\uff0c\u662f\u8981\u54c8\u54c8\u54c8\u5927\u7b11\u4e09\u8072\uff0c\u62ff\u8d77\u64f4\u97f3\u5668\u5c0d\u4e16\u754c\u5927\u558a\uff1a\u9ed1\u5496\u5011\uff0c\u6211\u5011\u5728\u5e1d\u570b\u7684\u81e5\u5e95\u6210\u529f\u5566\uff0c\u5927\u5bb6\u6284\u50a2\u4f19\u4e0a\u5427\uff01\u7a0b\u5f0f\u662f\u6574\u5305\u7d66\u4ed6\u653e\u5728\u67d0\u500b\u76ee\u9304\uff0c\u7576\u7136\u9019\u500b\u76ee\u9304\u662f\u6709\u4fdd\u8b77\u7684\uff0c\u4e00\u822c\u65b9\u6cd5\u9032\u4e0d\u53bb\u3002\u53ef\u662f\u5462\uff0c\u4e0d\u5c0f\u5fc3\u6253\u958b\u7684\u8a71\uff0c\u5c31\u6709\u597d\u73a9\u7684\u6771\u897f\u4e86\u3002Metro app \u662f\u53ef\u4ee5\u7528 javascript \u548c html \u5beb\u7684\uff0c\u6240\u4ee5\u76f4\u63a5\u6539\u6587\u5b57\u6a94\u5c31\u597d\u4e86\u3002\u6700\u626f\u7684\u662f\uff0c\u6c92\u6709\u505a\u4efb\u4f55 checksum \u6216 anti-tampering\uff0c\u6539\u5b8c\u7167\u4e0a\u3002\u6240\u4ee5\u4ee5\u5f8c\u4e0b\u8f09\u8a66\u7528\u7248\u5c31\u597d\uff0c\u7528\u4e86\u89ba\u5f97\u597d\uff0c\u81ea\u5df1\u53bb\u6539 licensing script \u5c31\u6536\u5de5\uff0c\u679c\u7136\u662f\u5927\u5927\u7684\u597d\u3002\u6709\u8208\u8da3\u7684\u7b52\u5b50\u5011\uff0c<a href=\"http:\/\/justinangel.net\/ReverseEngineerWin8Apps\" target=\"_blank\">\u8acb\u81ea\u884c\u670d\u7528\u8cc8\u65af\u6c40\u8001\u5927\u7684\u535a\u5ba2<\/a>\u3002<\/p>\n<p>\u597d\u5427\uff0c\u6b63\u5f0f\u7248\u4e00\u5b9a\u4e0d\u6703\u9019\u9ebc\u8822\uff0c\u81f3\u5c11\u6703\u7c3d\u7ae0\u4e00\u4e0b\uff0c\u4f46\u662f\u9019\u544a\u8a34\u6211\u5011\u53ea\u8981\u60f3\u8fa6\u6cd5\u641e\u5b9a wwahost.exe\uff0c\u5f9e\u6b64\u6d77\u95ca\u5f9e\u9b5a\u8e8d\uff0c\u5929\u7a7a\u4efb\u9ce5\u98db\uff0c\u6c23\u7403\u5f69\u8679\u98db\u8239\u90fd\u5728\u7b49\u8457\u6211\u5011\u3002\u6211\u597d\u50cf\u6c92\u6709\u8b1b\u5230 Metro App \u9aa8\u5b50\u88e1\u5c31\u662f COM\uff0c\u4f60\u8981\u53bb registry \u8a3b\u518a extension \u548c activate class\uff0c\u7136\u5f8c\u8981\u8a3b\u518a CLSID \u7b49\u7b49\u6211\u5011\u7684\u8001\u670b\u53cb\u597d\u670b\u53cb\uff0c\u6240\u4ee5\u6b78\u6839\u7a76\u5e95\u4f60\u53ea\u8981\u641e\u5b9a registry \u4f60\u5c31\u641e\u5b9a\u4e86\u5168\u4e16\u754c\u3002<\/p>\n<p>\u4e16\u754c\u9084\u662f\u8a73\u548c\u7f8e\u9e97\u4e26\u4e14\u5145\u6eff\u5e0c\u671b\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e16\u754c\u9084\u662f\u8a73\u548c\u7f8e\u9e97\u4e26\u4e14\u5145\u6eff\u5e0c\u671b\u7684\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/posts\/456"}],"collection":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":2,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":458,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/posts\/456\/revisions\/458"}],"wp:attachment":[{"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/media?parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/categories?post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cchsu.com\/arthur\/wp-json\/wp\/v2\/tags?post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}