Vote UpVote

Getting GPS coordinates and compass heading in an iOS FireMonkey app

The Hacker's Corner – Below is a code snippet that shows how to write the delegates that get GPS and Compass heading information from the device. Don’t worry - cleaned up complete examples are forthcoming shortly. {$IFDEF FPC} type MyCLController = objcclass(NSObject) locationManager : CLLocationManager; procedure locationManager_didUpdateToLocation_fromLocation(manager: CLLocationManager; newLocation, oldLocation: CLLocation); message ‘locationManager:didUpdateToLocation:fromLocation:’; procedure locationManager_didUpdateHeading(manager: CLLocationManager; newHeading: CLHeading); message ...
Favorite? Off-Topic? Anders Ohlsson @ 2011-10-10 22:30


Visits: 546
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Daniele Teti
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)