- App Widgets: Showcases how to pin widget within the app. Check the launcher widget menu for all the app widgets samples
- Call Notification Sample: Sample demonstrating how to make incoming call notifications and in call notifications
- Camera Preview: Demonstrates displaying processed pixel data directly from the camera sensor
- Color Contrast: This sample demonstrates the importance of proper color contrast and how to
- Communication Audio Manager Sample: This sample shows how to use audio manager to for Communication application that self-manage the call.
- Companion Device Manager Sample: This samples shows how to use the CDM to pair and connect with BLE devices
- Compressing UltraHDR Images: This sample demonstrates displaying an UltraHDR image in a Compose View and an Android View
- Connect to a GATT server: Shows how to connect to a GATT server hosted by the BLE device and perform simple operations
- ConstraintLayout - 1. Centering Views: Center child views horizontally or vertically.
- Conversion suggestions: Demonstrates how to implement the incremental search feature for non-alphabet languages with the Conversion Suggestions API.
- Create a GATT server: Shows how to create a GATT server and communicate with the GATT client
- Data Access: Demonstrates how to implement data access auditing for your app to identify
- Displaying UltraHDR: This sample demonstrates displaying an UltraHDR image.
- Displaying UltraHDR (3P Libraries): This sample demonstrates using the various popular image loading library to
- Displaying UltraHDR (Compose): This sample demonstrates displaying an UltraHDR image in a Compose View and an Android View
- Downloadable Fonts: Download fonts instead of bundling them in the app resources.
- Drag and Drop: Demonstrates basic Drag and Drop functionality.
- Drag and Drop - Helper: Drag and Drop using the DragHelper and DropHelper from DragAndDropHelper library
- Drag and Drop in Compose: Drag and drop in Compose
- Drag and Drop in MultiWindow mode: Drag and drop to another app visible in multiwindow mode
- Drag and Drop using the RichContentReceiver: Using RichContentReceiverInterface for implementing Drop for rich data types
- Drag and Drop using views: Drag and Drop using the views
- Editing UltraHDR: This sample demonstrates editing an UltraHDR image and the resulting gainmap as well. Spatial edit operations like crop, rotate, scale are supported
- Find devices sample: This example will demonstrate how to scanning for Low Energy Devices
- Haptics - 1. Vibration effects: Shows various vibration effects.
- Hyphenation:
Demonstrates different options for the
android:hyphenationFrequency
attribute - Image Capture: This sample demonstrates how to capture an image using Camera2 and encode it
- Immersive mode: Immersive mode enables your app to display full-screen by hiding system bars.
- LineBreak:
Demonstrates different options for the
android:lineBreakWordStyle
attribute. - Linkify: Linkify is useful for creating links in TextViews.
- Live Region (View): Utilize LiveRegion to automatically notify users of accessibility services
- Location - Background Location updates: This Sample demonstrate how to access location and get location updates when app is in background
- Location - Create and monitor Geofence: This Sample demonstrate best practices for Creating and monitoring geofence
- Location - Getting Current Location: This Sample demonstrate how to request of current location
- Location - Permissions: This Sample demonstrate best practices for Location Permission
- Location - Updates: This Sample demonstrate how to get location updates
- Location - User Activity Recognition: This Sample demonstrate detection of user activity like walking, driving, etc.
- MediaStore - Query: Query files indexed by MediaStore
- MotionLayout - 01. Basic: Basic motion example using referenced ConstraintLayout files
- Multiple Permissions: Shows the recommended flow to request multiple RELATED runtime permissions
- Package Visibility: A sample that showcase how the package visibility queries affects the available packages
- PdfRenderer: Demonstrates how to use PdfRenderer to display PDF documents on the screen.
- Permissionless: This sample demonstrate how you can avoid requesting permission for certain actions by leveraging System APIs
- Permissions using Compose: This sample showcases how to request permission using Accompanist in Compose
- PhotoPicker: Select images/videos in a privacy-friendly way using the photo picker
- Picture in Picture (PiP) - Stopwatch: Basic usage of Picture-in-Picture mode showcasing a stopwatch
- Picture in Picture (PiP) - Video playback: Basic usage of Picture-in-Picture mode showcasing video playback
- Predictive Back Sample: Shows Predictive Back animations.
- Quick Settings: Add your custom tile to the Quick Settings.
- Receive data shared by other apps: Receive texts and images from other apps.
- Scan with BLE Intent: This samples shows how to use the BLE intent to scan for devices
- Screenshot Detection: This sample shows how to detect that the user capture the screen in Android 14 onwards
- Selected Photos Access: Check and request storage permissions
- Send data with sharesheet: Send texts and images to other apps using the Android Sharesheet.
- Single Permission: Shows the recommended flow to request single runtime permissions
- Speakable Text: The sample demonstrates the importance of having proper labels for
- Telecom Call Sample: A sample showcasing how to handle calls with the Jetpack Telecom API
- TextSpan: buildSpannedString is useful for quickly building a rich text.
- Transformer and TFLite: This sample demonstrates using Transformer with TFLite/RTLite by applying a selected art style to a video.
- UltraHDR Image Capture: This sample demonstrates how to capture a 10-bit compressed still image and
- UltraHDR to HDR Video: This sample demonstrates converting a series of UltraHDR images into a HDR
- UltraHDR x OpenGLES SurfaceView: This sample demonstrates displaying an UltraHDR image via and OpenGL Pipeline
- Video Composition using Media3 Transformer: This sample demonstrates concatenation of two video assets and an image using Media3 Transformer library.
- Visualizing an UltraHDR Gainmap: This sample demonstrates visualizing the underlying gainmap of an UltraHDR
- WindowInsetsAnimation: Shows how to react to the on-screen keyboard (IME) changing visibility, and also controlling the IME's visibility.
- WindowManager: Demonstrates how to use the Jetpack WindowManager library.
samples
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||