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 virtual machine android runs on?
Explain the difference between service & intent service?
Describe intents in detail.
How to achieve localization?
Define the application resource file in android?
What does @override mean in android?
What is tween animation?
What is the proper way of setting up an android-powered device for app development?
Is google an android phone?
Which dialog boxes can you use in your android application?
Explain me what is an intent?
Which permission needed in order to use mapactivity?
How are escape characters used as attribute in Android?
What is decision structure?
What is view group in android?