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’s so special about Android?

1 Answers  


Tell us why would you do the setcontentview() in oncreate() of activity class?

0 Answers  


What is the use of content provider?

0 Answers  


The best time to kill a foreground activity in Android?

0 Answers   SwanSoft Technologies,


In android, which manifest permission is needed when use gps location?

0 Answers  






What is startanimation?

0 Answers  


What is the use of linux id in android?

0 Answers  


What android means?

0 Answers  


What is armv7?

0 Answers  


Could you name a few key components of android?

0 Answers  


What is override method in android studio?

0 Answers  


What is urlconnection?

0 Answers  


Categories