I have an app where it is set to be able to share a URL using the following code:
The code was courtesy of Erel in a previous post except for the part that adds the email subject, which I figured out how to do. What I would like to do is include the page title from the Webview, but don't see a way of doing that. Can that be done?
Thanks,
Jack
B4X:
Dim i As Intent
i.Initialize(i.ACTION_SEND, "")
i.PutExtra("android.intent.extra.SUBJECT","Interesting post")
i.SetType("text/*")
i.PutExtra("android.intent.extra.TEXT", mainv.Url)
i.WrapAsIntentChooser("Choose")
StartActivity(i)
The code was courtesy of Erel in a previous post except for the part that adds the email subject, which I figured out how to do. What I would like to do is include the page title from the Webview, but don't see a way of doing that. Can that be done?
Thanks,
Jack