I am familiar with Python and a few other languages and I was wondering if I could get a simple python script (one file) to run as a native application on Android. I believe building an APK and running it will do the trick. I do not want the users to download an external application, and load the script from there, I want to make the app, and when it is being executed, it will simply show nothing, but run in background (kind of an infinite loop). Also, hooking it up to launch automatically on boot would be ideal. And one more thing.. Is it possible to access Android services such as Location, Accelerometer etc.?
我熟悉Python和其他一些语言,我想知道我是否可以获得一个简单的python脚本(一个文件)作为Android上的本机应用程序运行。我相信构建一个APK并运行它就可以了。我不希望用户下载外部应用程序,并从那里加载脚本,我想制作应用程序,当它被执行时,它将只显示任何内容,但在后台运行(一种无限循环) 。此外,连接它以在启动时自动启动将是理想的。还有一件事..是否可以访问Android服务,如位置,加速度计等?
Thank you very much.
非常感谢你。
1 个解决方案
#1
0
Kivy is good for this .... http://kivy.org/ ... in fact its the only option ive seen
Kivy对此有好处.... http://kivy.org/ ...实际上它是我见过的唯一选择
[edit] bah thats the same answer as the comment from Denizen ... lame
[编辑] bah与Denizen的评论相同的答案......跛脚
#1
0
Kivy is good for this .... http://kivy.org/ ... in fact its the only option ive seen
Kivy对此有好处.... http://kivy.org/ ...实际上它是我见过的唯一选择
[edit] bah thats the same answer as the comment from Denizen ... lame
[编辑] bah与Denizen的评论相同的答案......跛脚