Hi, thanks to a code snippet posted by Erel I found a way to send a file from my app using an intent.
Using the code above all apps that could be used to send a file are shown. Is there a way to limit those (by number, by type ...)?
B4X:
Dim u As Uri 'ContentResolver library
u.Parse("file://" & File.Combine( File.DirRootExternal,lFileName))
Dim i As Intent
i.Initialize(i.ACTION_SEND, "")
i.PutExtra("android.intent.extra.STREAM",u)
i.SetType("*/*")
StartActivity(i)
Using the code above all apps that could be used to send a file are shown. Is there a way to limit those (by number, by type ...)?