Sir,
I'm making a pedometer application using the accelerometer feature of the iPhone.
I just want to detect the steps while walking using some counter.
Should I use a loop to get the updated X,Y,Z coordinates?
Kindly suggest.
Sir,
I'm making a pedometer application using the accelerometer feature of the iPhone.
I just want to detect the steps while walking using some counter.
Should I use a loop to get the updated X,Y,Z coordinates?
Kindly suggest.
Look into using callback functions. Here's an example: http://iphonedevelopertips.com/user-interface/accelerometer-101.html