Computer scienceMobileAndroidPersistence

Internal, external, scoped storage

Intent constant

Report a typo

Can you determine the missing constant in the Intent constructor? We require this to open a document using the Storage Access Framework.

val intent = Intent(Intent./* missing part */).apply {
    addCategory(Intent.CATEGORY_OPENABLE)
    type = "application/pdf"
}
resultLauncher.launch(intent)
Enter a short text

Create a free account to access the full topic