Share My Creation Last Ninja - LibGDX Game

ilan

Expert
Licensed User
Longtime User
thanx, to share the app put this in a button click event:

B4X:
Sub Button1_Click

Try
    Dim txtInput As String

    txtInput = "Check out Last Ninja for FREE!!" & CRLF & "https://play.google.com/store/apps/details?id=www.sagitalnr.net"

    Dim Intent1 As Intent
    Intent1.Initialize(Intent1.ACTION_SEND, "")
    Intent1.SetType("text/*")
    Intent1.PutExtra("android.intent.extra.TEXT", txtInput)
    Intent1.WrapAsIntentChooser("Choose")
    StartActivity(Intent1)
Catch
Log("Button1_click error")
End Try
 
End Sub
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…