Android Question Share Intent OnClickListener

Emme Developer

Well-Known Member
Licensed User
Longtime User
Hi everybody!
Is possibile set a click listener of a Share Intent?
I do not necessarily want to know which app was clicked, I just want to know that the user clicked something
This is the code to share

B4X:
Dim in As Intent
    in.Initialize(in.ACTION_SEND, "")
    in.PutExtra("android.intent.extra.TEXT","Share share share"&shareurl)
    in.SetType("text/plain")
    in.WrapAsIntentChooser("Condividi")
    StartActivity(in)

Many thanks
 
Last edited:
Top