3 ms·
From a very cursory look this doesn't seem to hook into the android framework at all including the native UI or other system goodies like notifications and loca
by guelo 10y ago
From a very cursory look this doesn't seem to hook into the android framework at all including the native UI or other system goodies like notifications and locations, etc. The apps would run in their own little world with their own provided non-native UI.
- lovelearning 10y agoThis seems to be just one of the components of a larger set spread across multiple repos. [1] seems to be the component to access native APIs. [1]: https://github.com/kivy/plyer https://github.com/kivy/plyer
- freakboy3742 10y agoAFAIK, Plyer will give you access to native APIs like accelerometers, but not to the native GUI layer. An alternative approach is VOC (http://pybee.org/voc http://pybee.org/voc) - this is compiler that takes Python code, and output Java bytecode. This means you can use the Android native UI components, because your Python code becomes indistinguishable from code written in Java. Combine with Briefcase (http://pybee.org/briefcase http://pybee.org/briefcase), and you can get an Android app with one command; combine with Toga (http://pybee.org/toga http://pybee.org/toga), and you can get a cross platform app using native system components. If you want to see this in action, here's a video: https://www.youtube.com/watch?v=RisCgSIWwLA https://www.youtube.com/watch?v=RisCgSIWwLA (Full disclosure - I'm the primary author of these tools)
- raonyguimaraes 10y agoHey Freakboy, always good to see your coding projects. Keep up the good work!