Share binary file with Intent

androgene

New Member
Hello,

With the Intent method, I know how to share image, video, audio and some text.

But, how to share a binary file (MyFile.BIN) located in DirRootExternal, which MIME type is "application/octet-stream", with the Intent method ?

Dim i As Intent
i.Initialize(i.ACTION_SEND, "")
i.SetType("application/octet-stream")
i.PutExtra( ??? )
i.WrapAsIntentChooser("Option")
StartActivity(i)

Thank you !
 
Last edited:
Top