Improve user experience and retention with the Android Autofill Framework
summary
Android O adds a platform Autofill Framework that replaces accessibility hacks by sending a sanitized view structure from the app to the system which forwards it to an autofill service that returns datasets; the system shows a secure overlay and injects values only after user consent, typically under ~100 ms. Apps improve accuracy by adding autofill hints and marking views importantForAutofill="no", mapping web credentials via digital asset links, implementing getAutofillType/getAutofillValue/autofill for custom or virtual views, and verifying behavior with the provided open‑source sample service.
AI-written summary · about
chapters (7)
- 0:00Introduction to Autofill Framework
- 3:04Why Autofill Framework was created
- 9:04How Autofill workflow works
- 15:02Annotating views for autofill
- 22:41Custom views and advanced cases
- 33:18Testing autofill support
- 41:55Q&A
related talks
18mAndroid O’s Autofill Framework
10mQuick ways to ensure app compatibility with Android Autofill
47mRemember Everyone: Autofill Framework and Account Transfer API
35mAutoSpill: Zero Effort Credential Stealing from Mobile Password Managers
06mOptimizing user flows through login
37mBuilding simple and secure account systems on Android
30mBest practices for using sign-un for Android apps
44mDeep Android Integration
