{"id":17358,"date":"2023-12-18T11:16:36","date_gmt":"2023-12-18T03:16:36","guid":{"rendered":"https:\/\/www.zhidianwl.com\/zhidian\/?p=17358"},"modified":"2023-12-18T11:16:36","modified_gmt":"2023-12-18T03:16:36","slug":"python%e5%bc%80%e5%8f%91%e5%ae%89%e5%8d%93app-kivy%e9%9c%80%e8%a6%81%e6%b3%a8%e6%84%8f%e5%93%aa%e4%ba%9b%e5%9c%b0%e6%96%b9%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.zhidianwl.com\/zhidian\/2023\/17358\/","title":{"rendered":"python\u5f00\u53d1\u5b89\u5353app kivy\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u5730\u65b9\uff1f"},"content":{"rendered":"

Kivy \u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8e\u521b\u65b0\u7528\u6237\u754c\u9762\u7684 Python \u6846\u67b6\uff0c\u5b83\u652f\u6301\u591a\u79cd\u8f93\u5165\u8bbe\u5907\uff0c\u5982\u9f20\u6807\u3001\u89e6\u6478\u5c4f\u3001TUIO\u3001WM_TOUCH \u7b49\uff0c\u540c\u65f6\u652f\u6301\u591a\u70b9\u89e6\u63a7\uff0c\u5177\u6709\u9ad8\u5ea6\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\uff0c\u53ef\u4ee5\u8de8\u5e73\u53f0\u8fd0\u884c\u4e8e Windows, Linux, OS X, A\u5b89\u5353app\u5236\u4f5c<\/a>ndroid \u548c iOS \u7b49\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n

Kivy \u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6846\u67b6\uff0c\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u5177\u6709\u826f\u597d\u7528\u6237\u4f53\u9a8c\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5b83\u91c7\u7528\u4e86\u4e00\u79cd\u57fa\u4e8e Python \u7684\u58f0\u660e\u5f0f\u8bed\u8a00 Kv\uff0c\u53ef\u4ee5\u8f7b\u677e\u5c06 UI \u5143\u7d20\u7ed1\u5b9a\u5230\u4e8b\u4ef6\u5904\u7406\u5668\uff0c\u4f7f\u5e94\u7528\u7a0b\u5e8f\u7684\u529f\u80fd\u66f4\u52a0\u5f3a\u5927\u3002<\/p>\n

\u5728 Android \u5e73\u53f0\u4e2d\uff0cKivy \u5e94\u7528\u53ef\u4ee5\u901a\u8fc7 kivy-android \u5de5\u5177\u94fe\u8fdb\u884c\u6784\u5efa\uff0c\u5176\u4e2d\u5305\u62ec\u4e86\u4e00\u4e2a Android \u6784\u5efa\u73af\u5883\u3001\u4e00\u4e2a Python \u89e3\u91ca\u5668\u4ee5\u53ca\u5fc5\u8981\u7684\u4f9d\u8d56\u5e93\u7b49\u5185\u5bb9\u3002\u901a\u8fc7\u4f7f\u7528\u6b64\u5de5\u5177\u94fe\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5c06 Python \u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u4ee5\u5728 Android \u5e73\u53f0\u4e0a\u8fd0\u884c\u7684 Android \u5e94\u7528\u3002<\/p>\n

Kivy \u7684\u5de5\u4f5c\u539f\u7406\u662f\u901a\u8fc7\u5e95\u5c42\u56fe\u5f62\u6e32\u67d3\u5e93 OpenGL ES \u6765\u521b\u5efa\u7528\u6237\u754c\u9762\uff0c\u80fd\u591f\u901a\u8fc7 GPU \u52a0\u901f\u7684\u65b9\u5f0f\u6765\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd<\/p>\n

<\/figure>\n<\/p>\n

\u548c\u54cd\u5e94\u901f\u5ea6\u3002\u540c\u65f6\uff0cKivy \u8fd8\u652f\u6301\u591a\u4e2a\u8f93\u5165\u8bbe\u5907\u7c7b\u578b\uff0c\u5e76\u63d0\u4f9b\u4e86\u5927\u91cf\u7684 UI \u7ec4\u4ef6\u4ee5\u53ca\u9ad8\u5ea6\u53ef\u81ea\u5b9a\u4e49\u7684\u4e3b\u9898\u6846\u67b6\uff0c\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8f7b\u677e\u6784\u5efa\u5177\u6709\u4e0d\u540c\u6837\u5f0f\u548c\u529f\u80fd\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

\u603b\u4e4b\uff0cKivy \u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u4e14\u5f3a\u5927\u7684\u65b9\u5f0f\u6765\u5f00\u53d1\u8de8\u5e73\u53f0\u7684 Python \u5e94\u7528\u7a0b\u5e8f\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u4e13\u4e1a\u7684 Python \u5f00\u53d1\u4eba\u5458\uff0c\u90fd\u53ef\u4ee5\u4f7f\u5b89\u5353app\u5f00\u53d1\u5de5\u5177<\/a>\u7528 Kivy \u6765\u521b\u5efa\u9ad8\u6548\u7684\u7528\u6237\u754c\u9762\u548c\u529f\u80fd\u4e30\u5bcc\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Kivy \u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8e\u521b\u65b0\u7528\u6237\u754c\u9762\u7684 Python \u6846\u67b6\uff0c\u5b83\u652f\u6301\u591a\u79cd\u8f93\u5165\u8bbe\u5907\uff0c\u5982\u9f20\u6807\u3001\u89e6\u6478\u5c4f\u3001TUIO\u3001WM_TOUCH \u7b49\uff0c\u540c\u65f6\u652f\u6301\u591a\u70b9\u89e6\u63a7\uff0c\u5177\u6709\u9ad8\u5ea6\u7684\u7075\u6d3b\u6027\u548c\u53ef\u6269\u5c55\u6027\uff0c\u53ef\u4ee5\u8de8\u5e73\u53f0\u8fd0\u884c\u4e8e Wind<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[23608,14,4156,678,2732],"class_list":["post-17358","post","type-post","status-publish","format-standard","hentry","category-zuoapp","tag-app","tag-14","tag-h5app","tag-678","tag-2732"],"_links":{"self":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts\/17358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/comments?post=17358"}],"version-history":[{"count":1,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts\/17358\/revisions"}],"predecessor-version":[{"id":17395,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts\/17358\/revisions\/17395"}],"wp:attachment":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/media?parent=17358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/categories?post=17358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/tags?post=17358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}