Integrating Google Photos Picker API with Android Native Apps
summary
Compares three concrete ways to pull media from Google Photos into Android apps: the native Android Photo Picker (no permissions, HDR-to-SDR copy, video max ~1 minute, URIs expire unless you take persistable permission), the Intent approach (single selection only, requires Google Photos app), and the new web-based Photos Picker API (launch via must use custom tabs, requires Cloud Console + OAuth + keystore registration, poll mediaItemSet, returns media with up to 2,000 items and a picker baseUrl valid 60 minutes); demo app flow works but needs quota planning.
AI-written summary · about
chapters (15)
- 0:00Google Photos integration intro
- 1:27Three integration approaches
- 3:11Android photo picker deep dive
- 4:58Android picker pros and cons
- 5:19Google Photos intent explained
- 7:23Intent pros and cons
- 8:05Photos picker API intro
- 9:13Picker API key features
- 10:16OAuth token setup
- 12:25Authorization flow in code
- 13:07Fetching media from picker
- 14:30API quota limits
- 14:51Demo of picker API
- 15:54Compare all approaches
- 17:36Q&A
related talks
39mFrom Scoped Storage to Photo Picker: Everything to know about Storage
26mBehind the Curtains How Photos TM Work
31mExtending the Android SDK - SDKExtensions
24mNow and Future of Media Access
22mPlatform #AskAndroid
45mLive Coding Session: How do you Build More Privacy Focused Apps?
35mBuilding Camera Apps on Android Today
23mSimplifying Scoped Storage with ModernStorage
