- Flash Development for Android Cookbook
- Joseph Labrecque
- 95字
- 2025-03-31 04:57:16
Chapter 3. Movement through Space: Accelerometer and Geolocation Sensors
This chapter will cover the following recipes:
- Detecting whether or not an Android device supports the accelerometer
- Detecting Android device movement in 3D space
- Adjusting the accelerometer sensor update interval
- Updating display object position through accelerometer sensor
- Switching between portrait and landscape based upon device tilt
- Detecting whether or not a device supports a geolocation sensor
- Detecting whether the geolocation sensor has been disabled by the user
- Retrieving device geolocation sensor data
- Adjusting the geolocation sensor update interval
- Retrieving map data through geolocation coordinates