https://kotlinlang.org logo
Title
u

user

07/21/2022, 5:21 AM
Share Video Preview Image using ACTION_SEND with Android Sharesheet Since Android 10+, the Android Sharesheet has supported providing image previews of files shared using ACTION_SEND. Making a custom ActivityResultContract with the Android documentation for sending binary content, you get something like this: class ShareVideo : ActivityResultContract() { override fun createIntent(context: Context, input: Uri): Intent { return...