OOmnistu

Blog / Engineering Playbooks

Engineering Playbooks

Android's Photo Picker, Explained: Permissionless Media Access, Availability, and the HDR Transcoding Option

How the photo picker grants per-selection access without a library permission, which devices have it (Android 11+, with a backport to 4.4-10 and Go 11/12), and what to know about access persistence and HDR-to-SDR transcoding.

OOmnistu
Reviewed 2026-11-20 · 2 min read

Android's photo picker gives users a browsable view of their media library, sorted newest first, and grants your app access to only the images and videos they select - not their entire library. Because the picker runs as part of the system, it updates automatically with expanded functionality over time, with no code changes on your side, and users with eligible cloud media providers can also select photos and videos stored remotely.

Where it is available

Per Android's documentation, the photo picker is available on devices running Android 11 (API level 30) or higher that receive Modular System Components through Google System Updates. Older devices on Android 4.4 (API 19) through Android 10 (API 29), and Android Go devices on Android 11 or 12 with Google Play services, can install a backported version: adding a ModuleDependencies service entry to the manifest triggers Google Play services to install the backported photo picker module. Where the picker is unavailable, the support library falls back to the ACTION_OPEN_DOCUMENT intent, supported since Android 4.4 - with one caveat: if that fallback fires, the system ignores any maximum-selection limit you set. You can check availability at runtime with isPhotoPickerAvailable(), and getPickImagesMaxLimit() tells you the multi-select ceiling on devices that support it.

Integrating it

The integration path is Jetpack Activity contracts: include androidx.activity version 1.7.0 or higher, then register PickVisualMedia to select a single image or video, or PickMultipleVisualMedia with a maximum count for multi-select. Launching with PickVisualMediaRequest lets you restrict the picker to images only, videos only, or a single MIME type such as GIFs; with PickVisualMedia the picker opens in half-screen mode.

How long access lasts

By default, the system grants your app access to the selected media files until the device is restarted or until your app stops - so long-running work that needs the files later should plan around that window rather than assume permanent access. There is also a grant ceiling: once 5,000 grants exist, a new grant evicts the oldest one on the list.

HDR video and transcoding

Since Android 13 (API 33) devices can capture HDR video, the photo picker offers transcoding that automatically converts HDR video to SDR before handing it to apps that don't declare HDR support - aimed at avoiding issues like unnatural color rendition in older apps. Transcoding is supported on Android 13 (API 33) and later; apps can control it through the setMediaCapabilitiesForTranscoding API in AndroidX Activity 1.11.0-alpha01 or later, and passing null for MediaCapabilities disables transcoding entirely. Transcoded files are cached and periodically cleared during idle maintenance.

The photo picker moves media access from a permission grant to a per-selection decision: the user picks, the system enforces, and your app never holds library-wide access it does not need.

Sources

Prepared with AI assistance and reviewed before publication. Availability criteria, backport scope, API versions and access-persistence behavior are drawn from the Android documentation page above, checked on 20 November 2026.