{"id":214275,"date":"2024-05-11T15:54:22","date_gmt":"2024-05-11T07:54:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/214275.html"},"modified":"2024-05-11T15:54:32","modified_gmt":"2024-05-11T07:54:32","slug":"%e7%8e%b0%e5%9c%a8%e6%9c%89%e5%93%aa%e4%ba%9b%e6%99%ba%e8%83%bd%e7%94%b5%e8%a7%86%e5%b7%b2%e7%bb%8f%e5%bc%80%e6%94%be%e4%ba%86api%e5%8f%af%e4%bb%a5%e5%bc%80%e5%8f%91app","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/214275.html","title":{"rendered":"\u73b0\u5728\u6709\u54ea\u4e9b\u667a\u80fd\u7535\u89c6\u5df2\u7ecf\u5f00\u653e\u4e86API\u53ef\u4ee5\u5f00\u53d1APP"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27105820\/4c5be83f-0eaa-490d-ab08-1bae0ad1689c.webp\" alt=\"\u73b0\u5728\u6709\u54ea\u4e9b\u667a\u80fd\u7535\u89c6\u5df2\u7ecf\u5f00\u653e\u4e86API\u53ef\u4ee5\u5f00\u53d1APP\" \/><\/p>\n<p><p>\u667a\u80fd\u7535\u89c6\u4f5c\u4e3a\u73b0\u4ee3\u5bb6\u5ead\u5a31\u4e50\u4e2d\u5fc3\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u5e94\u7528\u5f00\u53d1\u7684\u673a\u4f1a\u3002<strong>\u5df2\u7ecf\u5f00\u653eAPI\u7528\u4e8e\u5f00\u53d1APP\u7684\u667a\u80fd\u7535\u89c6\u54c1\u724c\u4e3b\u8981\u5305\u62ec\u4e09\u661f\u3001LG\u3001\u7d22\u5c3c\uff08\u57fa\u4e8eAndroid TV\uff09\u3001\u8c37\u6b4c\uff08Chromecast\u7684Google TV\uff09\u3001\u4ee5\u53ca\u8bb8\u591a\u4f7f\u7528\u4e86\u5b89\u5353\u64cd\u4f5c\u7cfb\u7edf\u7684\u667a\u80fd\u7535\u89c6<\/strong>\u3002\u5728\u8fd9\u4e9b\u5e73\u53f0\u4e0a\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528\u5404\u81ea\u5e73\u53f0\u63d0\u4f9b\u7684API\u548c\u5f00\u53d1\u5de5\u5177\u5957\u4ef6\uff08SDKs\uff09\uff0c\u6765\u521b\u5efa\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u63ed\u793a\u667a\u80fd\u7535\u89c6\u5f00\u653eAPI\u80cc\u540e\u7684\u8be6\u7ec6\u9762\u8c8c\uff0c\u4e0b\u9762\u5c06\u5206\u522b\u63a2\u8ba8\u5404\u5927\u4e3b\u8981\u667a\u80fd\u7535\u89c6\u5e73\u53f0\u7684API\u63a5\u5165\u65b9\u5f0f\u3001\u5f00\u53d1\u8d44\u6e90\u53ca\u5e94\u7528\u5546\u5e97\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4e09\u661f\u667a\u80fd\u7535\u89c6<\/h3>\n<\/p>\n<p><p>\u4e09\u661f\u7535\u89c6\u914d\u5907\u4e86\u5176\u72ec\u6709\u7684\u64cd\u4f5c\u7cfb\u7edfTizen\u3002\u4e09\u661f\u4e3aTizen\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\u8d44\u6e90\uff0c\u5305\u542b\u5bf9\u539f\u751f\u5e94\u7528\u548c\u7f51\u9875\u5e94\u7528\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Tizen Studio<\/strong>: \u4e09\u661f\u63d0\u4f9b\u4e86Tizen Studio\uff0c\u8fd9\u662f\u4e00\u5957\u5b8c\u6574\u7684\u5f00\u53d1\u5de5\u5177\u96c6\u5408\uff0c\u5176\u4e2d\u5305\u62ecIDE\u3001\u4eff\u771f\u5668\u3001\u5de5\u5177\u94fe\u3001\u6837\u672c\u5e94\u7528\u4ee3\u7801\u7b49\u3002\u8fd9\u4e9b\u5de5\u5177\u8ba9\u5f00\u53d1\u8005\u80fd\u591f\u4e3aTizen OS\u8bbe\u8ba1\u3001\u5f00\u53d1\u548c\u6d4b\u8bd5\u4ed6\u4eec\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Samsung Smart TV SDK<\/strong>: \u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528\u6b64SDK\u6765\u5f00\u53d1\u9488\u5bf9\u4e09\u661f\u667a\u80fd\u7535\u89c6\u7684\u5e94\u7528\u3002\u8be5SDK\u652f\u6301HTML5\u3001JavaScript\u548cCSS\u6280\u672f\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u5728\u8fd9\u4e24\u79cd\u5f00\u53d1\u73af\u5883\u4e0b\uff0c<strong>API\u63d0\u4f9b\u4e86\u8bbf\u95ee\u7535\u89c6\u529f\u80fd\u7684\u63a5\u53e3\uff0c\u4f8b\u5982\u64ad\u653e\u63a7\u5236\u3001\u8bbe\u5907\u4fe1\u606f\u8bbf\u95ee\u3001\u7f51\u7edc\u7ba1\u7406\u7b49<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001LG\u667a\u80fd\u7535\u89c6<\/h3>\n<\/p>\n<p><p>LG\u667a\u80fd\u7535\u89c6\u8fd0\u884c\u7684\u662fwebOS\u5e73\u53f0\u3002LG\u540c\u6837\u4e3a\u5f00\u53d1\u8005\u793e\u533a\u63d0\u4f9b\u4e86\u5168\u9762\u7684\u5de5\u5177\u548c\u6587\u6863\u6765\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03\u5e94\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>webOS TV SDK<\/strong>: \u5305\u542b\u4e86\u6a21\u62df\u5668\u3001IDE\u3001\u548c\u5176\u4ed6\u5f00\u53d1\u5de5\u5177\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u521b\u5efa\u9002\u7528\u4e8ewebOS\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Enyo Framework<\/strong>: \u4e00\u79cdJavaScript\u6846\u67b6\uff0c\u4e13\u4e3awebOS\u5e94\u7528\u8bbe\u8ba1\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u5feb\u901f\u6784\u5efa\u8de8\u5e73\u53f0\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7webOS TV\u7684API\uff0c\u5f00\u53d1\u8005\u80fd\u591f\u8bbf\u95ee\u5230\u667a\u80fd\u7535\u89c6\u7684\u5404\u79cd\u786c\u4ef6\u548c\u8f6f\u4ef6\u7279\u6027\uff0c\u5982\u5c4f\u5e55\u63a7\u5236\u3001\u5e94\u7528\u95f4\u901a\u4fe1\u548c\u670d\u52a1\u7ba1\u7406\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7d22\u5c3c\u667a\u80fd\u7535\u89c6\uff08Android TV\uff09<\/h3>\n<\/p>\n<p><p>\u7d22\u5c3c\u667a\u80fd\u7535\u89c6\u5927\u591a\u57fa\u4e8eAndroid TV\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u901a\u8fc7\u901a\u7528\u7684Android\u5f00\u53d1\u5de5\u5177\u548cAPI\u6765\u521b\u9020\u5e94\u7528\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Android TV\u5f00\u53d1<\/strong>: \u5229\u7528Android Studio\u548cAndroid SDK\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5f00\u53d1\u51fa\u80fd\u591f\u5728\u7d22\u5c3c\u7535\u89c6\u4e0a\u8fd0\u884c\u7684\u5e94\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Google Play Store<\/strong>: \u4e00\u65e6\u5e94\u7528\u5f00\u53d1\u5b8c\u6210\u5e76\u6d4b\u8bd5\u65e0\u8bef\uff0c\u53ef\u4ee5\u5c06\u5176\u53d1\u5e03\u5230Google Play Store\u4e0a\uff0c\u4f9b\u7d22\u5c3c\u667a\u80fd\u7535\u89c6\u7528\u6237\u4e0b\u8f7d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528Android TV\u63d0\u4f9b\u7684API\u63a5\u5165\u7535\u89c6\u786c\u4ef6\uff0c\u4f8b\u5982\u6267\u884c\u8bed\u97f3\u641c\u7d22\u3001\u83b7\u53d6\u7528\u6237\u8f93\u5165\u548c\u64ad\u653e\u5a92\u4f53\u5185\u5bb9\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u8c37\u6b4c\uff08Chromecast\u7684Google TV\uff09<\/h3>\n<\/p>\n<p><p>Google TV\u662f\u8c37\u6b4c\u4e3aChromecast\u8bbe\u5907\u63a8\u51fa\u7684\u6700\u65b0\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b83\u57fa\u672c\u4e0a\u662fAndroid TV\u7684\u65b0\u7248\u672c\u5e76\u65bd\u52a0\u4e86\u4e00\u4e9b\u65b0\u7684\u529f\u80fd\u548c\u7528\u6237\u754c\u9762\u6539\u8fdb\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Google Cast SDK<\/strong>: \u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528Google Cast SDK\u6765\u5141\u8bb8\u7528\u6237\u4ece\u4ed6\u4eec\u7684\u79fb\u52a8\u8bbe\u5907\u6216\u7f51\u9875\u5e94\u7528\u4e2d\uff0c\u5c06\u5185\u5bb9\u6295\u5f71\u5230\u652f\u6301Google Cast\u7684\u667a\u80fd\u7535\u89c6\u4e0a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Android TV\u5e94\u7528\u5f00\u53d1<\/strong>: \u7531\u4e8eGoogle TV\u662f\u57fa\u4e8eAndroid TV\uff0c\u540c\u6837\u652f\u6301Android\u5f00\u53d1\u751f\u6001\uff0c\u53ef\u4ee5\u4f7f\u7528\u6240\u6709Android API\u8fdb\u884c\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p><strong>Android TV\u548cGoogle TV\u63d0\u4f9b\u7684API\u5141\u8bb8\u5f00\u53d1\u8005\u521b\u5efa\u4e30\u5bcc\u7684\u7528\u6237\u4f53\u9a8c\uff0c\u5305\u62ec\u4e2a\u6027\u5316\u5185\u5bb9\u63a8\u8350\u548cGoogle Assistant\u7684\u96c6\u6210\u7b49<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u5b89\u5353\u64cd\u4f5c\u7cfb\u7edf\u7684\u667a\u80fd\u7535\u89c6<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4ee5\u4e0a\u63d0\u53ca\u7684\u54c1\u724c\u5916\uff0c\u5f88\u591a\u5176\u4ed6\u5236\u9020\u5546\u5982\u5c0f\u7c73\u3001\u6d77\u4fe1\u3001TCL\u7b49\uff0c\u4e5f\u751f\u4ea7\u4e86\u57fa\u4e8eAndroid\u64cd\u4f5c\u7cfb\u7edf\u7684\u667a\u80fd\u7535\u89c6\u3002\u7531\u4e8e\u91c7\u7528Android\u7cfb\u7edf\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528Android\u7684API\u8fdb\u884c\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Android\u5f00\u53d1\u73af\u5883<\/strong>: \u9002\u7528\u4e8e\u6240\u6709\u5b89\u5353\u7535\u89c6\u7684\u901a\u7528Android SDK\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7b2c\u4e09\u65b9\u5e94\u7528\u5546\u5e97<\/strong>: \u9664\u4e86Google Play\u4e4b\u5916\uff0c\u4e00\u4e9b\u7535\u89c6\u8fd8\u652f\u6301\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e94\u7528\u5546\u5e97\uff0c\u5982\u4e9a\u9a6c\u900aAppstore\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u4f7f\u7528Android\u7cfb\u7edf\u7684\u667a\u80fd\u7535\u89c6\u5141\u8bb8\u5f00\u53d1\u8005\u8bbf\u95ee\u5e7f\u6cdb\u7684API\uff0c\u800c\u4e14\u901a\u5e38\u652f\u6301\u5305\u62ec\u4e0a\u8ff0\u6240\u6709Android TV\u529f\u80fd\u7684API\u3002<\/p>\n<\/p>\n<p><h3>\u7ed3\u8bba<\/h3>\n<\/p>\n<p><p>\u5f00\u53d1\u8005\u5bf9\u4e8e\u667a\u80fd\u7535\u89c6\u5e94\u7528\u7684\u5f00\u53d1\u62e5\u6709\u591a\u79cd\u9014\u5f84\uff0c\u53ef\u4ee5\u9009\u62e9\u5408\u9002\u7684\u5e73\u53f0\u5e76\u5229\u7528\u76f8\u5e94\u7684\u5f00\u653eAPI\u3002\u65e0\u8bba\u662f\u4e13\u6ce8\u4e8e\u4e00\u4e2a\u7279\u5b9a\u54c1\u724c\u7684\u751f\u6001\u7cfb\u7edf\u8fd8\u662f\u5c1d\u8bd5\u8de8\u5e73\u53f0\u5f00\u53d1\uff0c\u91cd\u8981\u7684\u662f\u5145\u5206\u7406\u89e3\u5404\u4e2a\u5e73\u53f0\u7684\u7279\u6027\u548c\u9650\u5236\uff0c\u624d\u80fd\u5f00\u53d1\u51fa\u771f\u6b63\u5438\u5f15\u7528\u6237\u548c\u53d1\u6325\u8bbe\u5907\u6f5c\u80fd\u7684\u5e94\u7528\u3002\u901a\u8fc7\u4e0d\u65ad\u8fed\u4ee3\u548c\u7528\u6237\u53cd\u9988\uff0c\u53ef\u4ee5\u6301\u7eed\u4f18\u5316\u5e94\u7528\uff0c\u4e3a\u667a\u80fd\u7535\u89c6\u7684\u7528\u6237\u63d0\u4f9b\u66f4\u52a0\u4e30\u5bcc\u548c\u6df1\u5165\u7684\u4e92\u52a8\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u667a\u80fd\u7535\u89c6\u53ef\u4ee5\u5f00\u53d1APP\u5417\uff1f<\/strong><\/p>\n<p>\u662f\u7684\uff0c\u8bb8\u591a\u667a\u80fd\u7535\u89c6\u5df2\u7ecf\u5f00\u653e\u4e86API\u4f9b\u5f00\u53d1\u4eba\u5458\u4f7f\u7528\u3002\u901a\u8fc7\u8fd9\u4e9bAPI\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u521b\u5efa\u9002\u7528\u4e8e\u667a\u80fd\u7535\u89c6\u7684\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982\u89c6\u9891\u6d41\u5a92\u4f53\u5e94\u7528\u3001\u6e38\u620f\u3001\u793e\u4ea4\u5a92\u4f53\u5e94\u7528\u7b49\u7b49\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u667a\u80fd\u7535\u89c6\u652f\u6301APP\u5f00\u53d1\uff1f<\/strong><\/p>\n<p>\u76ee\u524d\u5e02\u573a\u4e0a\u8bb8\u591a\u77e5\u540d\u54c1\u724c\u7684\u667a\u80fd\u7535\u89c6\u90fd\u652f\u6301APP\u5f00\u53d1\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u7d22\u5c3c\u3001\u4e09\u661f\u3001LG\u548c\u5c0f\u7c73\u7b49\u3002\u8fd9\u4e9b\u54c1\u724c\u7684\u667a\u80fd\u7535\u89c6\u63d0\u4f9b\u4e86\u5f00\u653e\u7684API\u548c\u5f00\u53d1\u5de5\u5177\u5305\uff0c\u4f9b\u5f00\u53d1\u4eba\u5458\u4f7f\u7528\uff0c\u4ee5\u4fbf\u4ed6\u4eec\u80fd\u591f\u521b\u5efa\u9002\u7528\u4e8e\u667a\u80fd\u7535\u89c6\u7684\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5f00\u53d1\u9002\u7528\u4e8e\u667a\u80fd\u7535\u89c6\u7684APP\uff1f<\/strong><\/p>\n<p>\u8981\u5f00\u53d1\u9002\u7528\u4e8e\u667a\u80fd\u7535\u89c6\u7684APP\uff0c\u60a8\u53ef\u4ee5\u9996\u5148\u4e86\u89e3\u7279\u5b9a\u667a\u80fd\u7535\u89c6\u7684API\u548c\u5f00\u53d1\u6587\u6863\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u9002\u5f53\u7684\u5f00\u53d1\u5de5\u5177\uff0c\u5982Android Studio\u6216Web\u5f00\u53d1\u5de5\u5177\uff0c\u6839\u636eAPI\u548c\u6587\u6863\u7684\u6307\u5bfc\u7f16\u5199\u4ee3\u7801\u3002\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u6a21\u62df\u5668\u6765\u8c03\u8bd5\u548c\u6d4b\u8bd5\u60a8\u7684APP\uff0c\u786e\u4fdd\u5b83\u5728\u667a\u80fd\u7535\u89c6\u4e0a\u6b63\u5e38\u8fd0\u884c\u3002\u6700\u540e\uff0c\u5c06\u60a8\u7684APP\u6253\u5305\u5e76\u63d0\u4ea4\u5230\u76f8\u5e94\u7684\u5e94\u7528\u5546\u5e97\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u667a\u80fd\u7535\u89c6\u4f5c\u4e3a\u73b0\u4ee3\u5bb6\u5ead\u5a31\u4e50\u4e2d\u5fc3\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u5e94\u7528\u5f00\u53d1\u7684\u673a\u4f1a\u3002\u5df2\u7ecf\u5f00\u653eAPI\u7528\u4e8e\u5f00\u53d1APP\u7684\u667a\u80fd\u7535\u89c6\u54c1\u724c\u4e3b\u8981\u5305\u62ec [&hellip;]","protected":false},"author":3,"featured_media":214284,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/214275"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=214275"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/214275\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/214284"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=214275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=214275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=214275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}