lousoperscopimaligni
Member
i need to implement this OnActivityResult function on JavaIntent
@override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
String res="";
ziwiResponse zr=new ziwiResponse();
if (requestCode==0x0000978c){
if (data!=null && data.getStringExtra("ZIWIRESPONSE")!=null)
{
res=data.getStringExtra("ZIWIRESPONSE");
zr=zr.GetResponse(res);
Log.d("jj","" + res);
Log.d("jj","" + zr.getEVA());
}
}
}
but B4A tell me that onActivityResult is just declared on class "nameclass" but its not true, how can i implement this? i read that exist the sub named "Sub Activity_Result (requestCode As Int, resultCode As Int, data As Intent)" but not work.....pls help me
@override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
String res="";
ziwiResponse zr=new ziwiResponse();
if (requestCode==0x0000978c){
if (data!=null && data.getStringExtra("ZIWIRESPONSE")!=null)
{
res=data.getStringExtra("ZIWIRESPONSE");
zr=zr.GetResponse(res);
Log.d("jj","" + res);
Log.d("jj","" + zr.getEVA());
}
}
}
but B4A tell me that onActivityResult is just declared on class "nameclass" but its not true, how can i implement this? i read that exist the sub named "Sub Activity_Result (requestCode As Int, resultCode As Int, data As Intent)" but not work.....pls help me