You'll have to use the sensormanager class and use thresholds as you
have mentioned at the lowest level by subscribing to the
accelerometer. From there you should be able to do what you want. If
there are nice libraries that will do mathematical calculations that
often accompany these readings I do not know of one.  Similar readings
for orientation for tilt can be done with the sensormanager.

On Sep 29, 12:08 am, KK <[email protected]> wrote:
> Hi All,
> Can someone explain about how to capture a particular movement, meaning
> there must be some mechanism to capture the changes in X,Y and Z
> co-ordinates and other things calculate the corresponding acceleration etc
> and then set the threshold for your required shake/move. If I want to try a
> new shake, how to do I set the threshold value, what is the usual process?
>
> I was wondering, is there any way we can use enable SensorSimulator and let
> it capture all the sensor parameters during shake/move and then pick those
> recorded values and set your threshold. I think this must
> be repetitive process, if someone wants to tune the threshold value. Would
> appreciate if someone can throw some light on this.
>
> Thanks,
> KK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to