Add-ons › Widgets › WAC Demo

WAC Demo: Accelerometer

by WidgetModerator ·

WAC 1.0 Demo: Accelerometer

Description

Accelerometer information is retrieved directly as a property of the DeviceStateInfo object. xAxis - The value of the x-axis, which is positive to the right of the device and negative to the left. yAxis - The value of the y-axis, which is positive above the device and negative below the device. zAxis - The value of the z-axis, which is positive from the screen of the device toward the user and negative behind the device. How to retrieve data? Widget.Device.DeviceStateInfo.AccelerometerInfo.xAxis Widget.Device.DeviceStateInfo.AccelerometerInfo.yAxis Widget.Device.DeviceStateInfo.AccelerometerInfo.zAxis Note that this widget requires WAC 1.0 APIs support in a runtime, currently implemented in Android version only.

Screenshots

WAC Demo: Accelerometer

Download

Download 1.3

Works with Opera 9 to Opera 12.

About this widget

Downloads2,614
CategoryWAC Demo
Version1.3
Size14KB
Last updateFebruary 7, 2011
Devicesdesktop, mobile
Original pageInternet Archive