There are four Java classes related to the use of sensors on the Android platform. List them and explain the purpose of each.
Answer Posted / maanya
Sensor: Provides methods to identify which capabilities are available for a specific sensor.
SensorManager: Provides methods for registering sensor event listeners and calibrating sensors.
SensorEvent: Provides raw sensor data, including information regarding accuracy.
SensorEventListener: Interface that defines callback methods that will receive sensor event notifications.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is not correct about store in sencha touch?
What is res folder in android?
What is the difference between a fragment and an activity?
Who made android os?
What is the advantage of android?
Can you run exe files on android?
What is avd?
What is dagger and explain dependency injection?
What is android os on my phone?
How to create emulator on android?
What are the different states wherein a process is based?
Tell us what is ddms? Describe some of its capabilities?
What are the other languages that android supports other than java?
Explain me what is context?
Explain me difference between asynctasks & threads?