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 an intent receiver?

0 Answers  


“Gingerbread” is nickname of which version?

0 Answers  


What is the manifest file?

0 Answers  


How is nine-patch image different from a regular bitmap?

0 Answers  


What is local.properties?

0 Answers  


Explain the Architecture of Android ?

1 Answers  


What is application context in android?

0 Answers  


Explain in brief about the important file and folder when you create new android application.

0 Answers  


What is the use of dagger?

0 Answers  


What is the purpose of @override in android?

0 Answers  


Describe activities.

0 Answers  


In auto-generated code of an android app, what is r class?

0 Answers  


Categories