Dim i As Intent
i.Initialize(i.ACTION_SEND, "")
i.SetType("text/plain")
i.PutExtra("android.intent.extra.TEXT", "http://www.b4x.com")
i.PutExtra("android.intent.extra.SUBJECT", "This is the subject")
StartActivity(i)
Thanks Erel, that works well.
Oddly though, the list includes non-browser apps which can consume a URL, but not the other browsers themselves. Does this require a slightly different intent, for an "Open in other browser" option?
Hi Erel,
I tried changing ACTION_SEND to ACTION_VIEW, but it doesn't work, I get a very odd selection of target apps, no browsers. Does the type need to change as well?