Develop
Develop
Select your platform

Sharing

Updated: Dec 16, 2025

Receiving a share

Once an app is installed, if the app registers itself to receive SEND_INTENT the same way it would on Android. The app then becomes available in the current Meta Horizon OS share sheet (as well as the Android native share sheet which may be launched from other 3p apps), allowing users to send photos, videos, links and more to your app.
See Receive simple data from other apps from the Android Developers documentation for more information.
If you register direct share targets, like when supporting specific message threads within a communication app, these will only become available on the Android native share sheet. See Provide Direct Share targets for more information.
A mockup showing the sharing dialog. The user is sharing a video, and has the option to share on a specific app or with Messenger and WhatsApp contacts. The options "Add to gallery", "Backup to cloud", "Generate share link", "See more", and "Cancel" are also present.

Sharing out from your app

To share out from your app, you will need to launch the Android native share sheet. It can be launched the same way you would on Android through an intent. Right now, there is no way to launch the current Meta Horizon OS share sheet (which you may see in other 1p experiences such as the Gallery). Launching the Android native share sheet is recommended.
To launch the share sheet, see Send simple data to other apps.

Screensharing and Media Projection API

Apps can share the user’s whole view or a specific panel using MediaProjectionAPI. The android.media.projection APIs let you capture the contents of a device’s display as a media stream. You can play the stream back, record, or cast to other devices, such as TVs.
Android 14 (API level 34) introduces app screen sharing. This allows users to share a single app window instead of the entire device screen, regardless of windowing mode. App screen sharing excludes the status bar, navigation bar, notifications, and other system UI elements from the shared display, even when app screen sharing is used to capture an app in full screen. Only the contents of the selected app are shared.
App screen sharing ensures user privacy, increases user productivity, and enables multitasking by allowing users to run multiple apps while restricting shared content to just a single app.
To implement Media Projection API, see MediaProjection API on Meta Quest or Media projection.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon