Android Question Shared

MarcoRome

Expert
Licensed User
Longtime User
Hi guys... i understand this code :

B4X:
' Questo e per condividere tu qualcosa con Altri testato e funziona
  Dim i As Intent
  i.Initialize(i.ACTION_SEND, "")
  i.SetType("text/plain")
  i.PutExtra("android.intent.extra.TEXT", "esempio")
  i.WrapAsIntentChooser("title")
  StartActivity(i)

so is possible this ... that your string "esempio" is share with another app's

w7g1gl.png


so..when you choose app...return your string "esempio"

cnh4n.png


now, the question is .... i want that my app is resident as share. If i will want that mine application can do the opposite, receive the value, such as an address of youtube. Can I do ??
thank you :)
 
Top