This library offers a way to handle the repetitive task of requesting runtime permissions. Check out the sample code for usage.
For a more complete reference, check out the Javadocs.
To use the android-rtpermissions library in your builds, add the following line to your Gradle build script:
compile 'com.airg.android:rtpermissions:+@aar'
Or download the library from the download link at the top of this page.
Please refer to the contribution instructions.