Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intent intent = new Intent();
- intent.setType("image/*");
- intent.setAction(Intent.ACTION_GET_CONTENT);
- intent.addCategory(Intent.CATEGORY_OPENABLE);
- intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true);
- startActivityForResult(intent, REQUEST_CODE_BACKGROUND);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement