Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access iOS accelerometer in Delphi XE2?

How do I access the accelerometer in iOS using Delphi XE2?

I tried looking through the IDE but did not find a component.

like image 550
Johan Avatar asked Sep 01 '11 22:09

Johan


Video Answer


1 Answers

Delphi XE2 supports deploying to OSX on a mac. Deploying to an iPhone is apparently pretty easy, but it still involves using XCode as a final deployment tool. Since Delphi doesn't "officially" support deploying to iPhone hardware, I doubt they have included any components that are specific to it.

Disclaimer: I just downloaded XE2 a few hours ago, and I've only deployed one mac application so far (and it worked beautifully). So I'm far from an expert.

Edit: Anders Ohlsson has apparently written an accelerometer component for XE2. I have not tried it, but here it is.

like image 86
JosephStyons Avatar answered Oct 05 '22 23:10

JosephStyons