Hi All,
I have an external aar. I call its function in inline code:
The function works well. I get back the result of this calling, also in inline:
,
but I would need the intent data what is sent by this func, so I would need
_onactivityresult(int requestCode,int resultCode,Intent data)
Other words:
The MyPOSAPI.openPaymentActivity(...) doesn't looks like an intent.
I searched for ion, but I can't use for this reason.
Is it a chance to transform my calling ( MyPOSAPI.openPaymentActivity( ...)) into an intent? Whether to wrap into inline java?
thanks
Steven
I have an external aar. I call its function in inline code:
B4X:
// Start the transaction
MyPOSAPI.openPaymentActivity(ba, payment, 11);
B4X:
public void _onactivityresult(int requestCode,int resultCode){
BA.Log("_onactivityresult. requestCode: "+requestCode+" resultCode:"+resultCode);
}
but I would need the intent data what is sent by this func, so I would need
_onactivityresult(int requestCode,int resultCode,Intent data)
Other words:
The MyPOSAPI.openPaymentActivity(...) doesn't looks like an intent.
I searched for ion, but I can't use for this reason.
Is it a chance to transform my calling ( MyPOSAPI.openPaymentActivity( ...)) into an intent? Whether to wrap into inline java?
thanks
Steven
Last edited: