Extending the Android SDK - SDKExtensions
summary
Explains how SDK Extensions use Modular System Components and APEX modules delivered via Google Play to backport Android 13’s Photo Picker to devices as old as Android 11; requires compileSdk 33 plus an extensions level (R2+), runtime checks via SDKExtensions.getExtensionVersion or the provided ActivityResultContract PickVisualMedia, and an adb command to show installed extension versions. Demo app launches the backported picker on an Android 11 device and successfully returns a URI.
AI-written summary · about
chapters (10)
- 0:00Introduction to SDK extensions
- 1:21Project Treble overview
- 3:45Modularizing system components
- 6:40Project Mainline architecture
- 8:36Apex and SDK extensions
- 10:18Versioning and implementation
- 13:51Configuring for backporting
- 16:46Using Activity result contracts
- 19:36Code demonstration
- 27:43Configuration and conclusion
related talks
39mFrom Scoped Storage to Photo Picker: Everything to know about Storage
18mIntegrating Google Photos Picker API with Android Native Apps
46mWhat’s new in Android
19mMigrate your apps to Android 13
38mUnwrapping Android SDK Add-On
04h 44mPlatform Track Livestream
22mPlatform #AskAndroid
32mTools that can help you to target newer SDK level
