invent
invent copied to clipboard
It should be possible to easily and consistently access underlying web APIs
In order of "interestingness":
- Geo location
- Compass heading
- Device orientation (portrait / landscape)
- Camera
- Microphone
More to be added to this list... this issue is a place for us to discuss what our approach might be. Clearly it'll be via the FFI, but we perhaps want to make sure we implement an API that is Pythonic (simple, consistent and easy to grok).
@mchilvers FYI this is how folks would get access to the device's sensors etc... however, the underlying APIs are inconsistent, sometimes very complicated and definitely not "99% friendly".
In my mind's eye is some work for us to provide a "Pythonic", simple and consistent shim API that covers the 80/20 rule (or put another way, "we do most of the things, most of the people need, most of the time").
See #40 for such capabilities being available under the actions
namespace.