MCompass
The MCompass component lets your application get the direction the device is pointing at.
Contents
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:MCompass1FunctionName();
.
Activate
Activates the component. By default, it is called as soon as the page is ready, but it can be useful in combination with Deactivate.
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 MCompass component.