B4X FEED StartActivityForResult Deprecated

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: StartActivityForResult Deprecated است. این موضوع تا کنون 32 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع StartActivityForResult Deprecated
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
32
پسندها
0
آخرین ارسال توسط PracticalSoft
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")...



 

عقب
بالا