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

How do you find any view element into your program?

1 Answers  


What are the different phases of the Activity life cycle in Android?

1 Answers   B-Ways TecnoSoft,


What types of permissions exists?

1 Answers  


what is preferences

1 Answers   Google, Tech Mentro,


Write a program to show the addition and removing of the package.

1 Answers  


How do I reinstall android os?

1 Answers  


What is the role of orientation?

1 Answers  


Is android 5 outdated?

1 Answers  


What is the database used for android platform?

1 Answers  


What's the difference between file, class and activity in android?

1 Answers  


Are android and google the same thing?

1 Answers  


To get data from webserver to android application, which of the following class you need to use to establish connection?

1 Answers  


Categories