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

Enumerate the three key loops when monitoring an activity?

0 Answers  


An android application needs to access device data e.g sms messages, camera etc. At what stage user needs to grant the permissions?

0 Answers  


Explain .apk extension.

0 Answers  


As an android developer, how will you enumerate the steps necessary to created bounded services through aidl?

0 Answers  


Which tools are used for debugging on the android platform?

0 Answers  


In android, how to insert swipe animation?

0 Answers  


What is on change?

0 Answers  


What's the difference between android and iphone?

0 Answers  


What is AIDL?

1 Answers   B-Ways TecnoSoft,


What are the main components in android?

0 Answers  


What is a content provider? How is it implemented?

0 Answers  


Explain aidl?

0 Answers  


Categories