Processing for Android

checkPermission()

Use this function to check if a permission is granted to perform a specific operation. The permissions are idenfified with the string constants declared in the Manifest.permission package:


checkPermission(Manifest.permission.ACCESS_FINE_LOCATION);