Want a Slice?
summary
Android Slices let apps expose interactive UI outside the app using Android Jetpack and a SliceProvider that extends ContentProvider. Implementation requires a quick-return bindSlice, a SliceBuilder of rows and actions, and updates via the content resolver. Testing today uses a SliceViewer APK from GitHub because Search and Assistant aren’t showing slices yet. Slices run back to Android 4.4 covering 95% of devices. Examples include inline toggles, sliders wired to BroadcastReceivers, and placeholders updated after background work.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:55Android App Actions
- 4:01Implementation
- 6:58Bind Slice
- 9:17Slice Viewer
- 10:29Builder Constructor
- 19:10Add a Slider
- 22:46Slice Viewer Apk
related talks
30mAndroid Slices: Searchify your app
36mSlice It Up: Driving the user engagement outside your app
40mA Slice of Pie
24mAndroid Slices: Build interactive results for Google Search
23mSlices up your app!
25mSlice Your App: Inside Slices and How to build it
39mSlices and Actions - Everything You Need to Know to Start Using Them in Your App
29mA Slice of Pie
