-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS Support for iOS #22
Comments
I think many would find cross-platform GPS extremely useful, so I'm going to 'start the bidding' by leaving a little information I hope someone with better Kivy/IOS development skills might find useful: #Python-based IOS/CLLocationManager access using PyObjC (port to Kivy/Pyobjus???) http://www.appgroup.co.uk/recording-nice-accurate-ios-gps-journeys <- ideas on CLLocationManager IOS GPS usage Hopefully, some of the above will be useful to someone with more Kivy experience. |
@sixman9 Thanks for the links! So the approach would be to use PyObjus to access CLLocationManager. The tricky part is to assign a delegate function in Python. |
@trivedigaurav - Gaurav, I'm _not_ an experienced Python or IOS developer (I do have 10 years+ Java), so some of the concepts might allude me (however, I am writing this on my 5-year-old [Intel] Macbook :-P )
Hopefully, this Pyobjus Delegate usage info in 'delegate.py' can help the Kivy community implement the missing IOS GPS/CoreLocation functionality. Personally, I'm looking for a cross-platform, mobile dev environment with access to native features/GPS, reasonable GUI design facilities and performance, and Kivy seems to offer that. I hope you find this information to be useful. Thanks |
@sixman9 You correct about the protocols. I remember from a discussion with @tito that the protocol list is made using https://github.com/kivy/pyobjus/blob/master/tools/buildprotocols.py. Again, thanks for the links. |
Here's a discussion with an example of how to modify the bridge.h and bridge.m files for location services support: https://groups.google.com/forum/#!topic/kivy-users/FzAF3anZIYY I haven't tried this yet to see if it works, but will update when I do. |
Should this be closed? |
Closed by #116. |
Add support for the GPS facade to iOS
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3944586-gps-support-for-ios?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77151&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: