Multiple MIME types pdf and image
From file manager I want to allow choose only pdf and images, is it possible to do in Android? I tried do same things from
another answer, but I don't know why, file manager allow choose any file.
override fun createIntent(context: Context, input: Array?): Intent {
val mimeTypes = arrayListOf("image/*", "application/pdf")
return Intent().apply {
type = "*/*"
action...