Android Question Limit the apps that are shown for "ACTION_SEND"

opus

Member
Licensed User
Hi, thanks to a code snippet posted by Erel I found a way to send a file from my app using an intent.
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 ...)?
 
Top