Похожие чаты

Hi Developers Why i have access to gallery and device storage,

without granting READ_EXTERNAL_STORAGE permission at runtime?

I have a webView app and in the website chat section, when i click on the camera icon, it brings up the phone gallery, even though I have not given the permission!

4 ответов

27 просмотров

I think it's the photo picker

pooria- Автор вопроса
// AlenPaulVarghese //
I think it's the photo picker

That's right I found this answer: Picking Media with Intents: When you click on the camera icon and it brings up the phone gallery, it likely uses an intent to let the user select a photo or video. This process does not require READ_EXTERNAL_STORAGE permission because the media picker provided by the system handles the permission implicitly. Media Picker: Starting from Android 13 (API level 33), there's a new PhotoPicker API that further improves this by providing a system-managed interface for users to select photos and videos. This picker does not require any storage permissions and provides access only to the media files selected by the user.

Another way to think of this is the permissions api does not allow you to select an image without the users knowledge, the picker is the user expressing consent

pooria- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта