2
votes
Vote UpVote

Using the Accelerometer in an iOS FireMonkey app

The Hacker's Corner – Special thanks to Eugene Kryukov and Phil Hess for this stuff! Check out CodeRage 6 for a cool implementation! Enjoy! implementation {$R *.lfm} type UIAcceleration = objcclass external (NSObject) public function timestamp: NSTimeInterval; message ‘timestamp’; function x: UIAccelerationValue; message ‘x’; function y: UIAccelerationValue; message ‘y’; function z: UIAccelerationValue; message ‘z’; end; AccDelegate = objcclass(NSObject) procedure accelerometer_didAccelerate(accelerometer: UIAccelerometer; acceleration: UIAcceleration); message ...
Favorite? Off-Topic? Anders Ohlsson @ 2011-10-07 09:36

Statistics

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

Visits by Source

User Actions

Users who voted for this posting

Stefaan Lesage
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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