SLIDE 1
Using Sensors
- Recall basics for using a Sensor:
–Obtain the SensorManager object –create a SensorEventListener for SensorEvents –logic that responds to sensor event –Register the sensor listener with a Sensor via the SensorManager
2
CS378 - Mobile Computing Sensing and Sensors Part 2 Using Sensors - - PowerPoint PPT Presentation
CS378 - Mobile Computing Sensing and Sensors Part 2 Using Sensors Recall basics for using a Sensor: Obtain the SensorManager object create a SensorEventListener for SensorEvents logic that responds to sensor event Register
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23