- Jun 6, 2020
- 11,559
- 4,422
I am trying to use StartActivityForResult in a class however seems it is not possible... what is terrible since I am trying to make classes and not put everything in the main.
However I found the following:
And seems that we are supposed to move away from StartActivityForResult
Is there anyone would care to translate this java code to a inline in the B4A standard? PLEASE PLEASE PLEASE !
So I can use it like this:
[CODE lang="b4x" title="Private Sub Transacao(m As Map) Dim stringTransacao As String Dim json As JSONGenerator json.Initialize(m) stringTransacao = json.ToString LogColor("**********************", Colors.Green) LogColor("Transacao", Colors.Green) LogColor(stringTransacao, Colors.Green) LogColor("**********************", Colors.Green) Dim i As Intent i.Initialize(i.ACTION_SEND,"") i.SetComponent("br.com.destaxa.destaxapay/.TransactionActivity")...
However I found the following:
برای دیدن لینک ها باید ثبت نام کنید
And seems that we are supposed to move away from StartActivityForResult
Is there anyone would care to translate this java code to a inline in the B4A standard? PLEASE PLEASE PLEASE !
So I can use it like this:
[CODE lang="b4x" title="Private Sub Transacao(m As Map) Dim stringTransacao As String Dim json As JSONGenerator json.Initialize(m) stringTransacao = json.ToString LogColor("**********************", Colors.Green) LogColor("Transacao", Colors.Green) LogColor(stringTransacao, Colors.Green) LogColor("**********************", Colors.Green) Dim i As Intent i.Initialize(i.ACTION_SEND,"") i.SetComponent("br.com.destaxa.destaxapay/.TransactionActivity")...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید