Author Topic: AccelerometerSensor (shaking) support?  (Read 5246 times)

sparkythex

  • Newbie
  • *
  • Posts: 4
AccelerometerSensor (shaking) support?
« on: June 22, 2012, 09:17:15 PM »
I don't see it as an option.
Does or will you include an AccelerometerSensor, (shaking), in later release?

This component senses the Android device's accelerometer, which detects shaking and measures acceleration in three dimensions. Acceleration is measured in SI units (m/s 2 ). If the device is a rest lying flat on its back, the Z acceleration will be about 9.8.

The component produces three values.
■ XAccel : Positive when the device is tilted to the right (that is, its left side is raised), and negative when the device is tilted to the left (its right size is raised).
■ YAccel : Positive when its bottom is raised, and negative when its top is raised.
■ ZAccel : Positive when the display is facing up, and negative when the display is facing down.
 
Properties
Available
 Indicates whether the accelerometer is present on the Android device.
Enabled
 If set, accelerometer is enabled.
XAccel
 Acceleration in the X-dimension.
YAccel
 Acceleration in the Y-dimension.
ZAccel
 Acceleration in the Z-dimension.

Events
AccelerationChanged(number xAccel, number yAccel, number zAccel)
 Called when the acceleration has changed.
Shaking()
 Called repeatedly when the Android device is being shaken.

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: AccelerometerSensor (shaking) support?
« Reply #1 on: June 25, 2012, 07:13:25 AM »
Thank you for the details on this, we'll try to get it into this next update.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.