How actually Kivy works ( in detail say in I want to switch on Bluetooth using scripts, which are the things in the K ivy architecture gets invoked by doing so ? )
What i need is to write scripts on computer and then after sending those scripts to my phone, then i need to execute my scripts from phone. Get the results on the phone and send those results to system.
我不知道你在这里是什么意思。要使用pyjnius运行,您只需要……pyjnius。它是一个独立的模块,不是kivy本身的一部分,尽管kivy在android上使用它。Kivy的移动构建工具在构建android apk时会自动打包。在
一个可以从你的用户数据目录动态打开kivy应用程序的应用程序。你可以用它在你的设备上上传和运行kivy脚本/应用程序。在
它对于快速测试非常有用,而不是作为分发应用程序的一种方式。为此,很容易构建自己的apk,这在您做什么和打包什么方面提供了更大的灵活性。在
我不知道你在问什么。Kivy是一个python的图形化框架,使用优化的opengl接口……你可以用它编写python gui应用程序。在
对于android上的蓝牙,您可以使用pyjnius(或者更简单地说,像plyer这样的包装项目提供了一个抽象的python api,尽管我认为plyer还没有蓝牙)。这通常不是很难,我以前见过蓝牙。在
Kivy本身就是一个图形化的框架,这些其他工具都是姊妹项目,但与图形是分开的。在
你当然可以用kivy来做,把脚本放到你运行的应用程序中。网络通信也不难——它是独立于kivy本身的,但是您可以访问所有可能使用的普通python模块。在
相关问题 更多 >
编程相关推荐