Last active
August 29, 2015 14:27
-
-
Save davidllorca/76e14d58c794973076dc to your computer and use it in GitHub Desktop.
Verify device features in Android (camera, bluetooth, NFC, sensors...)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// e.g. check bluetooth | |
getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH); | |
// See also -> http://developer.android.com/reference/android/content/pm/PackageManager.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment