flash.sensors.Accelerometer on Android within web browser
问题 The Accelerometer UPDATE event never fires, tho isSupported returns true, when the flash app is running inside the android web browser. How can I make it work? this.accelerometer = new Accelerometer(); accelerometer.addEventListener(AccelerometerEvent.UPDATE, onAccelerometerUpdate); Ref: http://blogs.adobe.com/cantrell/archives/2010/04/simple_accelerometer_example.html Ref: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sensors/Accelerometer.html#isSupported My