About TedPermission Demo
https://github.com/ParkSangGwon/TedPermission
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.
(http://developer.android.com/intl/ko/guide/topics/security/permissions.html#normal-dangerous)
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.
Download and install
TedPermission Demo version 1.0.1 on your
Android device!
Downloaded 10+ times, content rating: Everyone
Android package:
com.gun0912.tedpermissiondemo, download TedPermission Demo.apk