There are four Java classes related to the use of sensors on the Android platform. List them and explain the purpose of each.



There are four Java classes related to the use of sensors on the Android platform. List them and exp..

Answer / 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

More Android OS Interview Questions

What is the architecture of android?

0 Answers  


Can you deploy executable jars on android?

0 Answers  


What are the main components in android?

0 Answers  


Which is the virtual machine used to run the android apps?

0 Answers  


What is the purpose of @override in android?

0 Answers  






How does the activity respond when the user rotates the screen?

0 Answers  


What is meant by activities?

0 Answers  


What is the importance of android in the mobile market?

0 Answers  


What is hexadecimal color code?

0 Answers  


What folders are impotent in android project?

0 Answers  


List few items, which you think may be important in every android project?

0 Answers  


Toast is a class to display a message in android. How to set position of a toast?

0 Answers  


Categories