you say: "they suggest this return:" who is "they"? is there some documentation somewhere?
the so called "result" is an intent (with its data). ion_Event references it in args(1). where is the documentation?
by the way, arg(0) = 0 is not RESULT_OK. RESULT_OK is -1. so other activity is responding, but result is not ok...
in other words, this is wrong:
If Args(0) = 0 Then
??????
End If
Return Null
you want if Args(0) = -1 for a successful response. "if Args(0) = 0 then ..." means you are only interested in examining failure.
just log("Args(0): " & Args(0)) if you want to know the status of the response.
the suggested java solution ("they suggested ...") doesn't quite work with b4a. b4a's version of onActityResult changes things a little. it is possible to do the whole thing in inline java (startActivityForResult/onActivityResult) but you have to work with b4a's IOnActivityResult interface.
but everything already works in b4a so there is no need for inline java in this case. without documentation or access to the app itself, i really cannot test anything. i have tested both in b4a and inline java with an app that returns a result from startActivityForResult, so i know things work. either you have not
set things up correctly or the app is returning something unexpected. what little code you posted seems to be ok, but the whole story is not clear.