Is there a different way to screenshare?

hello,

i was making an app which is video url player and I want to screenshare in a different way instead of intent, is there a different way instead of intent? if someone knows please mention. by the way if you see a topic like this in different community, I didn’t mean to send it there.

thank you

on Android, you can’t really avoid using an Intent for screen sharing—at least not if you want to capture the device screen.
Here’s why :backhand_index_pointing_down:

The system restriction

Screen capture on Android is handled through MediaProjection API, and it requires user consent via a system dialog.
That dialog is triggered using an Intent from MediaProjectionManager.createScreenCaptureIntent().

This is not optional. It’s enforced by the OS for privacy/security reasons.

1 Like