About TedPermission Demo
After the update to Android 6.0 Marshmallow, we have to not only declare permissions in AndroidManifest.xml, but also request them at runtime.
Furthermore, user can on/off permissions in application setting anytime.
When you use dangerous permissons(ex. CAMERA, READ_CONTACTS, READ_PHONE_STATE, ...), you must check and request them runtime.
You can make your own permission check logic like this, but it's so complex and hard to use functions Google offers: checkSelfPermission(), requestPermissions(), onRequestPermissionsResult(), onActivityResult().
TedPermission makes it easy to check and request android permissions.
Never Miss An Update!
Follow Android Blip on Facebook / Google+