LuuizAlves
Member
I've seen a lot of questions like that about getting the result of an Intent, but many of them get confused in how to use it.
I would like to know if I can get the result of an Intent through Activity_Resume, the application that is called only returns a string and with the name 'RESULT_INTENT'.
Below the flame code and what I thought of doing to get this answer, however without success.
I would like to know if I can get the result of an Intent through Activity_Resume, the application that is called only returns a string and with the name 'RESULT_INTENT'.
Below the flame code and what I thought of doing to get this answer, however without success.
B4X:
Sub Activity_Resume
'forces all nfc intents to be sent to this activity
If prevIntent.IsInitialized Then
'prevIntent.PutExtra()
prevIntent = Activity.GetStartingIntent
ToastMessageShow("extra name : " & prevIntent.GetExtra("RESULT_INTENT"), True)
End If
End Sub
Sub ButtonNFC_Click
prevIntent.Initialize(prevIntent.ACTION_VIEW,"http://www.nfcgedi.com")
StartActivity(prevIntent)
End Sub