invent icon indicating copy to clipboard operation
invent copied to clipboard

It should be possible to easily and consistently access underlying web APIs

Open ntoll opened this issue 1 year ago • 2 comments

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).

ntoll avatar Mar 29 '23 16:03 ntoll

@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").

ntoll avatar Apr 11 '23 13:04 ntoll

See #40 for such capabilities being available under the actions namespace.

ntoll avatar Apr 13 '23 07:04 ntoll