Skip to content

Instantly share code, notes, and snippets.

@nikit19
Last active August 22, 2023 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikit19/579f835b156d97302080f1656aa9cbd1 to your computer and use it in GitHub Desktop.
Save nikit19/579f835b156d97302080f1656aa9cbd1 to your computer and use it in GitHub Desktop.
val intent = Intent(Intent.ACTION_PICK)
intent.type = "image/*"
startActivityForResult(intent, REQUEST_CODE_SINGLE_SELECT)
@wangjianpeng
Copy link

should I request any permission when target android 13 with this code ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment