android_studio/samples/user-interface/share
2026-06-26 03:26:01 +04:00
..
src/main first commit 2026-06-26 03:26:01 +04:00
build.gradle.kts first commit 2026-06-26 03:26:01 +04:00
README.md first commit 2026-06-26 03:26:01 +04:00

Share samples

This sample demonstrates Share features in Android.

Send data

Android Sharesheet provides the consistent user experience for any type of data your app sends to other apps.

In this sample, we use ShareCompat to share various types of data:

  • Plain text
  • Rich text
  • Image
  • Multiple images

Android Sharesheet also provides these customization options that cover all the practical use cases you might need in your app.

  • Add or reorder targets
  • Know which app has received the data (API level 22+)
  • Exclude target candidates (API level 24+)
  • Add custom actions (API level 34+)
Sharesheet

Receive data

TODO: Add this later