From HTML5 Builder
Jump to: navigation, search

The MAccelerometer component lets your application capture the three-dimensional motion of the device, relative to the device’s orientation.

Client-side Features

Client-side Events

Documented in the RPCL Reference.

Client-side Functions

Note: In order to call these functions, prefix them with ComponentName. For example: MAccelerometer1FunctionName();.


Activates the component. By default, it is called as soon as the page is ready, but it can be useful in combination with Deactivate.


Deactivates the component.

Server-side Features

Properties, Methods and Events

Documented in the RPCL Reference.

Help Resources

Sample Applications

On the PhoneGapExamples folder inside the sample applications directory you will find a form showcasing the MAccelerometer component.