通过Kivy访问Android相机 [英] Accessing Android camera through Kivy

查看:658
本文介绍了通过Kivy访问Android相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请我正在寻找一种解决方法,以便通过kivy访问 Android相机,或者可以与kivy集成以便访问相机"的库. /p>

我正在为android开发一个应用程序,但对UI使用 python-kivy

任何事情都会受到赞赏,

非常感谢.

解决方案

Kivy对调用相机有一些本机支持.在新的编程指南中查看此页面或核心提供商的 uix小部件的新编程指南中的此页面.从理论上讲,核心应该能够在平台之间适应,而小部件则应该能够使用相机.

Please i am looking for a work around to get access Android camera through kivy, or a library that i can integrate with kivy in order to access the Camera.

I am developing an application for android but using python-kivy for the UI,

anything will be really appreciated,

thanks alot.

解决方案

Kivy has some native support for calling the camera. Check out this page from the new programming guide for a core provider or this page from the new programming guide for a uix widget. In theory, the core should be able to adapt between platforms and the widget should then be able to use the camera.

这篇关于通过Kivy访问Android相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆