dim jo as JavaObject
jo.InitializeNewInstance("b4a.example.main.ziwiIntegrator",Array(Null,GetActivity))
jo.RunMethod("GetEVA_Stitch",Array(0,0,112,True))
#if java
public final AlertDialog GetEVA_Stitch(int IrDaSecurity, int IrDaPassword, int boudRate, boolean resetEVACounter) {
Intent intentScan = new Intent(Intent.ACTION_MAIN);
Intent intentSend;
intentScan.addCategory(ZIWI_PACKAGE);
ApplicationInfo targetAppPackage = findTargetAppPackage(intentScan);
if (targetAppPackage == null) {
return showDownloadDialog();
}
intentSend = new Intent("sv.ziwi.external");
intentSend.putExtra("ACTION", "GetEVA_Stitch" );
intentSend.putExtra("KEY", "" );
intentSend.putExtra("BOUDRATE", boudRate);
intentSend.putExtra("IRDA_SECURITY", IrDaSecurity);
intentSend.putExtra("IRDA_PASSWORD", IrDaPassword);
intentSend.putExtra("CALLER_ID",getApplicationName(mContext));
intentSend.putExtra("RESETEVACOUNTER",resetEVACounter);
startActivityForResult(intentSend , 0);
return null;
}
#end if