Access to native iPhone Features?
I have had a lot of fun building applets in Siri Shortcuts by I may be moving away from iOS in the near future.
So I’d love to be writing applets that could work on both iOS and Android.
So I was wondering could I do everything I do in Siri Shortcuts in Pythonista 3?
I worry that Pythonista wont be able to access phone functions like:
- speak text
- quick look (a type of text reader with pages)
- voice to text
- pop up menu
- and widgets in the notifications section so you can run scripts without unlocking your phone
Has anyone used this app and knows if it can access these features?
Read the docs. http://omz-software.com/pythonista/docs
Everything on your list is doable in pythonista. Widgets are also supported, though there are limitations on memory that limit somewhat of what you can do with today widgets. Shortcuts can also launch pythonista scripts.
Most native frameworks can also be accessed via the objc_util module -- though this can be fairly difficult until you gain familiarity with both objc_util, ctypes and the frameworks in question.
The code will be totally different on Android -- the nativey things in iOS use nativey modules in pythonista. Android speech modules won't work in pythonista, and vice versa for instance.
Everything on your list is doable in pythonista
I don't think we can run a Pythonista script without unlocking the iDevice by tapping a notification. I wish I'm wrong.
You aren't wrong... I thought he meant today widget. I guess I don't know if today widgets run when.locked?
@JonB I think that nothing really runs when locked, notifications excepted