Thursday, 4 December 2014

What can we know about a Sensor ?

While using the uses-feature tags in the manifest file lets you know that a Sensor your

application requires exists on a device,it doesn't tell you everything you may want to

know about the actual sensor.


Detecting Sensor:

If your application needs a Proximity Sensor,you specify that in your manifest file

Ex:

<uses-feature android:name="android.hardware.sensor.proximity" />

No comments:

Post a Comment