package reparto_izca.keymon.lat;

import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.pc.*;

public class main_subs_0 {


public static RemoteObject  _activity_actionbarhomeclick() throws Exception{
try {
		Debug.PushSubsStack("Activity_ActionBarHomeClick (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,34);
if (RapidSub.canDelegate("activity_actionbarhomeclick")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_actionbarhomeclick");}
 BA.debugLineNum = 34;BA.debugLine="Sub Activity_ActionBarHomeClick";
Debug.ShouldStop(2);
 BA.debugLineNum = 35;BA.debugLine="ActionBarHomeClicked = True";
Debug.ShouldStop(4);
main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"True");
 BA.debugLineNum = 36;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick";
Debug.ShouldStop(8);
main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_actionbarhomeclick" /*RemoteObject*/ );
 BA.debugLineNum = 37;BA.debugLine="ActionBarHomeClicked = False";
Debug.ShouldStop(16);
main._actionbarhomeclicked = main.mostCurrent.__c.getField(true,"False");
 BA.debugLineNum = 38;BA.debugLine="End Sub";
Debug.ShouldStop(32);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _activity_create(RemoteObject _firsttime) throws Exception{
try {
		Debug.PushSubsStack("Activity_Create (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,26);
if (RapidSub.canDelegate("activity_create")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_create", _firsttime);}
RemoteObject _pm = RemoteObject.declareNull("reparto_izca.keymon.lat.b4xpagesmanager");
Debug.locals.put("FirstTime", _firsttime);
 BA.debugLineNum = 26;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
Debug.ShouldStop(33554432);
 BA.debugLineNum = 27;BA.debugLine="Dim pm As B4XPagesManager";
Debug.ShouldStop(67108864);
_pm = RemoteObject.createNew ("reparto_izca.keymon.lat.b4xpagesmanager");Debug.locals.put("pm", _pm);
 BA.debugLineNum = 28;BA.debugLine="pm.Initialize(Activity)";
Debug.ShouldStop(134217728);
_pm.runClassMethod (reparto_izca.keymon.lat.b4xpagesmanager.class, "_initialize" /*RemoteObject*/ ,main.mostCurrent.activityBA,(Object)(main.mostCurrent._activity));
 BA.debugLineNum = 29;BA.debugLine="End Sub";
Debug.ShouldStop(268435456);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _activity_keypress(RemoteObject _keycode) throws Exception{
try {
		Debug.PushSubsStack("Activity_KeyPress (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,40);
if (RapidSub.canDelegate("activity_keypress")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_keypress", _keycode);}
Debug.locals.put("KeyCode", _keycode);
 BA.debugLineNum = 40;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean";
Debug.ShouldStop(128);
 BA.debugLineNum = 41;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod";
Debug.ShouldStop(256);
if (true) return main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_keypress" /*RemoteObject*/ ,(Object)(_keycode));
 BA.debugLineNum = 42;BA.debugLine="End Sub";
Debug.ShouldStop(512);
return RemoteObject.createImmutable(false);
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _activity_pause(RemoteObject _userclosed) throws Exception{
try {
		Debug.PushSubsStack("Activity_Pause (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,48);
if (RapidSub.canDelegate("activity_pause")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_pause", _userclosed);}
Debug.locals.put("UserClosed", _userclosed);
 BA.debugLineNum = 48;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
Debug.ShouldStop(32768);
 BA.debugLineNum = 49;BA.debugLine="B4XPages.Delegate.Activity_Pause";
Debug.ShouldStop(65536);
main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_pause" /*RemoteObject*/ );
 BA.debugLineNum = 50;BA.debugLine="End Sub";
Debug.ShouldStop(131072);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _activity_permissionresult(RemoteObject _permission,RemoteObject _result) throws Exception{
try {
		Debug.PushSubsStack("Activity_PermissionResult (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,52);
if (RapidSub.canDelegate("activity_permissionresult")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_permissionresult", _permission, _result);}
Debug.locals.put("Permission", _permission);
Debug.locals.put("Result", _result);
 BA.debugLineNum = 52;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin";
Debug.ShouldStop(524288);
 BA.debugLineNum = 53;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi";
Debug.ShouldStop(1048576);
main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_permissionresult" /*RemoteObject*/ ,(Object)(_permission),(Object)(_result));
 BA.debugLineNum = 54;BA.debugLine="End Sub";
Debug.ShouldStop(2097152);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _activity_resume() throws Exception{
try {
		Debug.PushSubsStack("Activity_Resume (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,44);
if (RapidSub.canDelegate("activity_resume")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","activity_resume");}
 BA.debugLineNum = 44;BA.debugLine="Sub Activity_Resume";
Debug.ShouldStop(2048);
 BA.debugLineNum = 45;BA.debugLine="B4XPages.Delegate.Activity_Resume";
Debug.ShouldStop(4096);
main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_activity_resume" /*RemoteObject*/ );
 BA.debugLineNum = 46;BA.debugLine="End Sub";
Debug.ShouldStop(8192);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _create_menu(RemoteObject _menu) throws Exception{
try {
		Debug.PushSubsStack("Create_Menu (main) ","main",0,main.mostCurrent.activityBA,main.mostCurrent,56);
if (RapidSub.canDelegate("create_menu")) { return reparto_izca.keymon.lat.main.remoteMe.runUserSub(false, "main","create_menu", _menu);}
Debug.locals.put("Menu", _menu);
 BA.debugLineNum = 56;BA.debugLine="Sub Create_Menu (Menu As Object)";
Debug.ShouldStop(8388608);
 BA.debugLineNum = 57;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)";
Debug.ShouldStop(16777216);
main.mostCurrent._b4xpages._delegate /*RemoteObject*/ .runClassMethod (reparto_izca.keymon.lat.b4xpagesdelegator.class, "_create_menu" /*RemoteObject*/ ,(Object)(_menu));
 BA.debugLineNum = 58;BA.debugLine="End Sub";
Debug.ShouldStop(33554432);
return RemoteObject.createImmutable("");
}
catch (Exception e) {
			throw Debug.ErrorCaught(e);
		} 
finally {
			Debug.PopSubsStack();
		}}
public static RemoteObject  _globals() throws Exception{
 //BA.debugLineNum = 22;BA.debugLine="Sub Globals";
 //BA.debugLineNum = 24;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}

public static void initializeProcessGlobals() {
    
    if (main.processGlobalsRun == false) {
	    main.processGlobalsRun = true;
		try {
		        main_subs_0._process_globals();
appupdater_subs_0._process_globals();
subs_subs_0._process_globals();
foto_subs_0._process_globals();
mapa_cliente_subs_0._process_globals();
mapa_rutas_subs_0._process_globals();
starter_subs_0._process_globals();
tracker_subs_0._process_globals();
newinst2_subs_0._process_globals();
b4xpages_subs_0._process_globals();
b4xcollections_subs_0._process_globals();
httputils2service_subs_0._process_globals();
xuiviewsutils_subs_0._process_globals();
main.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.main");
appupdater.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.appupdater");
b4xmainpage.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xmainpage");
batteryutilities.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.batteryutilities");
c_buscar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_buscar");
c_cheklist.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_cheklist");
c_cliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_cliente");
c_clientes.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_clientes");
c_detalle_promo.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_detalle_promo");
c_detalleventa.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_detalleventa");
c_foto.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_foto");
c_principal.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_principal");
subs.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.subs");
c_historico.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_historico");
c_mapas.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_mapas");
c_noventa.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_noventa");
c_nuevocliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_nuevocliente");
c_pedidos.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_pedidos");
c_productos.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_productos");
c_tabulador.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_tabulador");
c_ticketsdia.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_ticketsdia");
c_updateavailable.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.c_updateavailable");
cameraexclass.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.cameraexclass");
dbrequestmanager.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.dbrequestmanager");
escposprinter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.escposprinter");
foto.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.foto");
manageexternalstorage.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.manageexternalstorage");
mapa_cliente.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.mapa_cliente");
mapa_rutas.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.mapa_rutas");
starter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.starter");
tracker.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.tracker");
cl_appupdate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.cl_appupdate");
newinst2.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.newinst2");
b4xpages.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpages");
b4xbitset.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbitset");
b4xbytesbuilder.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbytesbuilder");
b4xcache.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcache");
b4xcollections.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcollections");
b4xcomparatorsort.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcomparatorsort");
b4xorderedmap.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xorderedmap");
b4xset.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xset");
b4xpagesdelegator.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpagesdelegator");
b4xpagesmanager.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xpagesmanager");
fileprovider.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.fileprovider");
httputils2service.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.httputils2service");
httpjob.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.httpjob");
animatedcounter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.animatedcounter");
anotherprogressbar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.anotherprogressbar");
b4xbreadcrumb.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xbreadcrumb");
b4xcolortemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcolortemplate");
b4xcombobox.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xcombobox");
b4xdatetemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xdatetemplate");
b4xdialog.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xdialog");
b4xfloattextfield.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xfloattextfield");
b4ximageview.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4ximageview");
b4xinputtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xinputtemplate");
b4xlisttemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xlisttemplate");
b4xloadingindicator.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xloadingindicator");
b4xlongtexttemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xlongtexttemplate");
b4xplusminus.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xplusminus");
b4xradiobutton.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xradiobutton");
b4xsearchtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xsearchtemplate");
b4xseekbar.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xseekbar");
b4xsignaturetemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xsignaturetemplate");
b4xswitch.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xswitch");
b4xtimedtemplate.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xtimedtemplate");
madewithlove.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.madewithlove");
b4xformatter.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.b4xformatter");
roundslider.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.roundslider");
scrollinglabel.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.scrollinglabel");
swiftbutton.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.swiftbutton");
xuiviewsutils.myClass = BA.getDeviceClass ("reparto_izca.keymon.lat.xuiviewsutils");
		
        } catch (Exception e) {
			throw new RuntimeException(e);
		}
    }
}public static RemoteObject  _process_globals() throws Exception{
 //BA.debugLineNum = 18;BA.debugLine="Sub Process_Globals";
 //BA.debugLineNum = 19;BA.debugLine="Public ActionBarHomeClicked As Boolean";
main._actionbarhomeclicked = RemoteObject.createImmutable(false);
 //BA.debugLineNum = 20;BA.debugLine="End Sub";
return RemoteObject.createImmutable("");
}
}