Android Question Get intent result

Douglas Farias

Expert
Licensed User
Longtime User
hi i m using this intent to share on facebook

B4X:
  Dim TheUrl As String
  TheUrl = "http://www.ibm.com"
  Dim i As Intent
  i.Initialize(i.ACTION_VIEW, "http://m.facebook.com/sharer.php?u="&TheUrl&"")
  i.SetType("text/plain")
  i.PutExtra("android.intent.extra.TEXT", TheUrl)
  i.WrapAsIntentChooser("Escolha o navegador!")
  StartActivity(i)

ok this works fine open my google chrome and show me option to share my web site

ok but how can i get the results of this intent?

for exemple if it is shared with sucesss
or user pressed back key
etc
have a way to know when user share or no ?
 

Douglas Farias

Expert
Licensed User
Longtime User
xD i try but problem is to know a url off webview on intent
to realy know user shared or no *-*

dont wory i go try find a solution *-*
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…