Accelerometer in the SDK


#1

Hi,

I seemed to stopped on this chapter and I do have probably a stupid question since I do not get the callbacks from accelerometer:…didAccelerate:

Does the Accelerometer works in the SDK ?
How can we simulate this behavior ?

I have seen hardware controller in simulator to rotate left and right but it did not helps to get the callbacks.

Any ideas ?
/petron


#2

The simulator does not produce accelerometer events, you must test on the device.


#3

I hope this is ok to post here…

I found an unperfect solution.

http://itunes.apple.com/us/app/accelerometer-simulator/id336476721?mt=8
with
http://www.brianhpratt.net/cms/index.php?page=accsim
and this.
http://code.google.com/p/accelerometer-simulator/wiki/Home

It works jumpy but ok.
good luck.
Ian