REPOSITORY OVERVIEWLive repository statistics
★ 6Stars
⑂ 0Forks
◯ 0Open issues
◉ 6Watchers
43/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
10 Community adoption25% weight
12 Maintenance state20% weight
100 License clarity10% weight
100 Project information10% weight
67 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
permission-android
Wrapper for Android permission API
Usage
Make sure that your root project build.gradle file has this section
ext {
compileSdkVersion = 25
buildToolsVersion = '25.0.3'
androidSupportVersion = '25.4.0'
}
Add this code to your Activity:
private val PERMISSIONS_REQUEST = 1
private var permissionDialog: PermissionDialog? = null
// Put this in some place where user is ready to grant permission
{
permissionDialog = PermissionDialog(this,
PERMISSIONS_REQUEST,
arrayOf(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.CAMERA, Manifest.permission.RECORD_AUDIO),
R.string.app_name, // Permission rationale dialog title
R.string.permission_rationale, // Permission rationale dialog message
false // should we force permission rationale dialog show
)
permissionDialog?.startRequestPermission()
}
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray) {
// Delegate this callback to process result
val granted = permissionDialog?.onRequestPermissionsResult(requestCode, permissions, grantResults)
if (granted?.isNotEmpty() ?: false) {
// Here granted permissions come
}
}
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
Spotify Web API wrapper for Kotlin, Java, JS, and Native - Targets JVM, Android, JS (browser), Native (Desktop), and Apple tvOS/iOS. Includes a Spotify Web Playback SDK wrapper for Kotlin/JS, and a spotify-auth wrapper for Kotlin/Android.
79/100 healthRecently updatedActive repositoryHas homepage
KotlinMIT#android#android-library#api#java
⑂ 25 forks◯ 13 issuesUpdated today
Project homepage ↗A wrapper for the openweathermap REST API
73/100 healthActive repository
JavaMIT#android#android-library#java#java-library
⑂ 33 forks◯ 1 issuesUpdated May 26, 2026