package com.iq.resuelve.co;


import anywheresoftware.b4a.B4AMenuItem;
import android.app.Activity;
import android.os.Bundle;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.B4AActivity;
import anywheresoftware.b4a.ObjectWrapper;
import anywheresoftware.b4a.objects.ActivityWrapper;
import java.lang.reflect.InvocationTargetException;
import anywheresoftware.b4a.B4AUncaughtException;
import anywheresoftware.b4a.debug.*;
import java.lang.ref.WeakReference;

public class familiar extends androidx.appcompat.app.AppCompatActivity implements B4AActivity{
	public static familiar mostCurrent;
	static boolean afterFirstLayout;
	static boolean isFirst = true;
    private static boolean processGlobalsRun = false;
	BALayout layout;
	public static BA processBA;
	BA activityBA;
    ActivityWrapper _activity;
    java.util.ArrayList<B4AMenuItem> menuItems;
	public static final boolean fullScreen = true;
	public static final boolean includeTitle = true;
    public static WeakReference<Activity> previousOne;
    public static boolean dontPause;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
        mostCurrent = this;
		if (processBA == null) {
			processBA = new BA(this.getApplicationContext(), null, null, "com.iq.resuelve.co", "com.iq.resuelve.co.familiar");
			processBA.loadHtSubs(this.getClass());
	        float deviceScale = getApplicationContext().getResources().getDisplayMetrics().density;
	        BALayout.setDeviceScale(deviceScale);
            
		}
		else if (previousOne != null) {
			Activity p = previousOne.get();
			if (p != null && p != this) {
                BA.LogInfo("Killing previous instance (familiar).");
				p.finish();
			}
		}
        processBA.setActivityPaused(true);
        processBA.runHook("oncreate", this, null);
		if (!includeTitle) {
        	this.getWindow().requestFeature(android.view.Window.FEATURE_NO_TITLE);
        }
        if (fullScreen) {
        	getWindow().setFlags(android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN,   
        			android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN);
        }
		
        processBA.sharedProcessBA.activityBA = null;
		layout = new BALayout(this);
		setContentView(layout);
		afterFirstLayout = false;
        WaitForLayout wl = new WaitForLayout();
        if (anywheresoftware.b4a.objects.ServiceHelper.StarterHelper.startFromActivity(this, processBA, wl, false))
		    BA.handler.postDelayed(wl, 5);

	}
	static class WaitForLayout implements Runnable {
		public void run() {
			if (afterFirstLayout)
				return;
			if (mostCurrent == null)
				return;
            
			if (mostCurrent.layout.getWidth() == 0) {
				BA.handler.postDelayed(this, 5);
				return;
			}
			mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight();
			mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth();
			afterFirstLayout = true;
			mostCurrent.afterFirstLayout();
		}
	}
	private void afterFirstLayout() {
        if (this != mostCurrent)
			return;
		activityBA = new BA(this, layout, processBA, "com.iq.resuelve.co", "com.iq.resuelve.co.familiar");
        
        processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference<BA>(activityBA);
        anywheresoftware.b4a.objects.ViewWrapper.lastId = 0;
        _activity = new ActivityWrapper(activityBA, "activity");
        anywheresoftware.b4a.Msgbox.isDismissing = false;
        if (BA.isShellModeRuntimeCheck(processBA)) {
			if (isFirst)
				processBA.raiseEvent2(null, true, "SHELL", false);
			processBA.raiseEvent2(null, true, "CREATE", true, "com.iq.resuelve.co.familiar", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent);
			_activity.reinitializeForShell(activityBA, "activity");
		}
        initializeProcessGlobals();		
        initializeGlobals();
        
        BA.LogInfo("** Activity (familiar) Create, isFirst = " + isFirst + " **");
        processBA.raiseEvent2(null, true, "activity_create", false, isFirst);
		isFirst = false;
		if (this != mostCurrent)
			return;
        processBA.setActivityPaused(false);
        BA.LogInfo("** Activity (familiar) Resume **");
        processBA.raiseEvent(null, "activity_resume");
        if (android.os.Build.VERSION.SDK_INT >= 11) {
			try {
				android.app.Activity.class.getMethod("invalidateOptionsMenu").invoke(this,(Object[]) null);
			} catch (Exception e) {
				e.printStackTrace();
			}
		}

	}
	public void addMenuItem(B4AMenuItem item) {
		if (menuItems == null)
			menuItems = new java.util.ArrayList<B4AMenuItem>();
		menuItems.add(item);
	}
	@Override
	public boolean onCreateOptionsMenu(android.view.Menu menu) {
		super.onCreateOptionsMenu(menu);
        try {
            if (processBA.subExists("activity_actionbarhomeclick")) {
                Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", boolean.class).invoke(
                    getClass().getMethod("getActionBar").invoke(this), true);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        if (processBA.runHook("oncreateoptionsmenu", this, new Object[] {menu}))
            return true;
		if (menuItems == null)
			return false;
		for (B4AMenuItem bmi : menuItems) {
			android.view.MenuItem mi = menu.add(bmi.title);
			if (bmi.drawable != null)
				mi.setIcon(bmi.drawable);
            if (android.os.Build.VERSION.SDK_INT >= 11) {
				try {
                    if (bmi.addToBar) {
				        android.view.MenuItem.class.getMethod("setShowAsAction", int.class).invoke(mi, 1);
                    }
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
			mi.setOnMenuItemClickListener(new B4AMenuItemsClickListener(bmi.eventName.toLowerCase(BA.cul)));
		}
        
		return true;
	}   
 @Override
 public boolean onOptionsItemSelected(android.view.MenuItem item) {
    if (item.getItemId() == 16908332) {
        processBA.raiseEvent(null, "activity_actionbarhomeclick");
        return true;
    }
    else
        return super.onOptionsItemSelected(item); 
}
@Override
 public boolean onPrepareOptionsMenu(android.view.Menu menu) {
    super.onPrepareOptionsMenu(menu);
    processBA.runHook("onprepareoptionsmenu", this, new Object[] {menu});
    return true;
    
 }
 protected void onStart() {
    super.onStart();
    processBA.runHook("onstart", this, null);
}
 protected void onStop() {
    super.onStop();
    processBA.runHook("onstop", this, null);
}
    public void onWindowFocusChanged(boolean hasFocus) {
       super.onWindowFocusChanged(hasFocus);
       if (processBA.subExists("activity_windowfocuschanged"))
           processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, hasFocus);
    }
	private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener {
		private final String eventName;
		public B4AMenuItemsClickListener(String eventName) {
			this.eventName = eventName;
		}
		public boolean onMenuItemClick(android.view.MenuItem item) {
			processBA.raiseEventFromUI(item.getTitle(), eventName + "_click");
			return true;
		}
	}
    public static Class<?> getObject() {
		return familiar.class;
	}
    private Boolean onKeySubExist = null;
    private Boolean onKeyUpSubExist = null;
	@Override
	public boolean onKeyDown(int keyCode, android.view.KeyEvent event) {
        if (processBA.runHook("onkeydown", this, new Object[] {keyCode, event}))
            return true;
		if (onKeySubExist == null)
			onKeySubExist = processBA.subExists("activity_keypress");
		if (onKeySubExist) {
			if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK &&
					android.os.Build.VERSION.SDK_INT >= 18) {
				HandleKeyDelayed hk = new HandleKeyDelayed();
				hk.kc = keyCode;
				BA.handler.post(hk);
				return true;
			}
			else {
				boolean res = new HandleKeyDelayed().runDirectly(keyCode);
				if (res)
					return true;
			}
		}
		return super.onKeyDown(keyCode, event);
	}
	private class HandleKeyDelayed implements Runnable {
		int kc;
		public void run() {
			runDirectly(kc);
		}
		public boolean runDirectly(int keyCode) {
			Boolean res =  (Boolean)processBA.raiseEvent2(_activity, false, "activity_keypress", false, keyCode);
			if (res == null || res == true) {
                return true;
            }
            else if (keyCode == anywheresoftware.b4a.keywords.constants.KeyCodes.KEYCODE_BACK) {
				finish();
				return true;
			}
            return false;
		}
		
	}
    @Override
	public boolean onKeyUp(int keyCode, android.view.KeyEvent event) {
        if (processBA.runHook("onkeyup", this, new Object[] {keyCode, event}))
            return true;
		if (onKeyUpSubExist == null)
			onKeyUpSubExist = processBA.subExists("activity_keyup");
		if (onKeyUpSubExist) {
			Boolean res =  (Boolean)processBA.raiseEvent2(_activity, false, "activity_keyup", false, keyCode);
			if (res == null || res == true)
				return true;
		}
		return super.onKeyUp(keyCode, event);
	}
	@Override
	public void onNewIntent(android.content.Intent intent) {
        super.onNewIntent(intent);
		this.setIntent(intent);
        processBA.runHook("onnewintent", this, new Object[] {intent});
	}
    @Override 
	public void onPause() {
		super.onPause();
        if (_activity == null)
            return;
        if (this != mostCurrent)
			return;
		anywheresoftware.b4a.Msgbox.dismiss(true);
        if (!dontPause)
            BA.LogInfo("** Activity (familiar) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **");
        else
            BA.LogInfo("** Activity (familiar) Pause event (activity is not paused). **");
        if (mostCurrent != null)
            processBA.raiseEvent2(_activity, true, "activity_pause", false, activityBA.activity.isFinishing());		
        if (!dontPause) {
            processBA.setActivityPaused(true);
            mostCurrent = null;
        }

        if (!activityBA.activity.isFinishing())
			previousOne = new WeakReference<Activity>(this);
        anywheresoftware.b4a.Msgbox.isDismissing = false;
        processBA.runHook("onpause", this, null);
	}

	@Override
	public void onDestroy() {
        super.onDestroy();
		previousOne = null;
        processBA.runHook("ondestroy", this, null);
	}
    @Override 
	public void onResume() {
		super.onResume();
        mostCurrent = this;
        anywheresoftware.b4a.Msgbox.isDismissing = false;
        if (activityBA != null) { //will be null during activity create (which waits for AfterLayout).
        	ResumeMessage rm = new ResumeMessage(mostCurrent);
        	BA.handler.post(rm);
        }
        processBA.runHook("onresume", this, null);
	}
    private static class ResumeMessage implements Runnable {
    	private final WeakReference<Activity> activity;
    	public ResumeMessage(Activity activity) {
    		this.activity = new WeakReference<Activity>(activity);
    	}
		public void run() {
            familiar mc = mostCurrent;
			if (mc == null || mc != activity.get())
				return;
			processBA.setActivityPaused(false);
            BA.LogInfo("** Activity (familiar) Resume **");
            if (mc != mostCurrent)
                return;
		    processBA.raiseEvent(mc._activity, "activity_resume", (Object[])null);
		}
    }
	@Override
	protected void onActivityResult(int requestCode, int resultCode,
	      android.content.Intent data) {
		processBA.onActivityResult(requestCode, resultCode, data);
        processBA.runHook("onactivityresult", this, new Object[] {requestCode, resultCode});
	}
	private static void initializeGlobals() {
		processBA.raiseEvent2(null, true, "globals", false, (Object[])null);
	}
    public void onRequestPermissionsResult(int requestCode,
        String permissions[], int[] grantResults) {
        for (int i = 0;i < permissions.length;i++) {
            Object[] o = new Object[] {permissions[i], grantResults[i] == 0};
            processBA.raiseEventFromDifferentThread(null,null, 0, "activity_permissionresult", true, o);
        }
            
    }

public anywheresoftware.b4a.keywords.Common __c = null;
public static String _guardardatos = "";
public static String _datosusuario = "";
public static String _ciudades = "";
public static String _id_credito_solic = "";
public static com.iq.resuelve.co.keyvaluestore _kvs = null;
public static int _numberofcolumns = 0;
public static String _buscar_id = "";
public static anywheresoftware.b4a.phone.Phone.ContentChooser _cc = null;
public static int _foto_perfil_familiar_lista = 0;
public anywheresoftware.b4a.objects.IME _ime = null;
public de.amberhome.objects.appcompat.ACToolbarLightWrapper _actoolbarlight1 = null;
public de.amberhome.objects.appcompat.ACActionBar _toolbarhelper = null;
public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public b4a.example3.customlistview _clv_sms = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_telefono = null;
public com.iq.resuelve.co.asratingbar _asratingbar1 = null;
public anywheresoftware.b4a.objects.ScrollViewWrapper _scrollview1 = null;
public anywheresoftware.b4a.objects.LabelWrapper _label_mensaje = null;
public com.iq.resuelve.co.b4xcombobox _b4xcombobox_nacionalidad = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_apellido = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_cargo = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_cedula = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_celular = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_ciud_residencia = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_dir_trabajo = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_direccion = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_email = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_empresa = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_nombre = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_num_fijo = null;
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_parentesco = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_aceptar = null;
public static int _datos_codeudor_listo = 0;
public static int _datos_familiar_listo = 0;
public com.pendrush.alerter.wrapper.AlerterWrapProper _alerter1 = null;
public anywheresoftware.b4a.objects.Timer _timer1 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_guardar = null;
public anywheresoftware.b4a.objects.SpinnerWrapper _spinner_ciudad = null;
public anywheresoftware.b4a.objects.collections.Map _map_ciudades = null;
public anywheresoftware.b4a.objects.collections.Map _map_posic_ciudades = null;
public anywheresoftware.b4a.objects.LabelWrapper _label_foto_cedula = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview_upload = null;
public anywheresoftware.b4a.objects.LabelWrapper _label_foto = null;
public anywheresoftware.b4a.objects.LabelWrapper _label4_biblioteca = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null;
public com.iq.resuelve.co.b4xtable _b4xtable1 = null;
public com.iq.resuelve.co.b4xdialog _dialog = null;
public anywheresoftware.b4a.objects.ButtonWrapper _btnprev = null;
public anywheresoftware.b4a.objects.ButtonWrapper _btnnext = null;
public anywheresoftware.b4a.objects.PanelWrapper _panel_tabla = null;
public static String _nombrefoto = "";
public static String _tempimagefile = "";
public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _imagentemp = null;
public anywheresoftware.b4a.objects.ImageViewWrapper _imageview2 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_guarda_foto = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_upload_foto = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_imageview_upload = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_imageview1 = null;
public anywheresoftware.b4a.objects.ButtonWrapper _button_galeria = null;
public static String _id_credito_aux = "";
public com.iq.resuelve.co.b4xfloattextfield _b4xfloattextfield_fecha = null;
public anywheresoftware.b4a.objects.LabelWrapper _label17_calen = null;
public b4a.example.dateutils _dateutils = null;
public com.iq.resuelve.co.main _main = null;
public com.iq.resuelve.co.image_slider _image_slider = null;
public com.iq.resuelve.co.solicitud_tu_credito _solicitud_tu_credito = null;
public com.iq.resuelve.co.ingreso _ingreso = null;
public com.iq.resuelve.co.renovacion _renovacion = null;
public com.iq.resuelve.co.informacion_de_costos _informacion_de_costos = null;
public com.iq.resuelve.co.informacion_de_costos_renovacion _informacion_de_costos_renovacion = null;
public com.iq.resuelve.co.valida_sms _valida_sms = null;
public com.iq.resuelve.co.perfil _perfil = null;
public com.iq.resuelve.co.crea_tu_perfil _crea_tu_perfil = null;
public com.iq.resuelve.co.starter _starter = null;
public com.iq.resuelve.co.base_01 _base_01 = null;
public com.iq.resuelve.co.mapa_recoleccion _mapa_recoleccion = null;
public com.iq.resuelve.co.base_01_alertas _base_01_alertas = null;
public com.iq.resuelve.co.codeudor_solidario _codeudor_solidario = null;
public com.iq.resuelve.co.comparte _comparte = null;
public com.iq.resuelve.co.envio_exitoso _envio_exitoso = null;
public com.iq.resuelve.co.envio_exitoso_ahorro _envio_exitoso_ahorro = null;
public com.iq.resuelve.co.firebasemessaging _firebasemessaging = null;
public com.iq.resuelve.co.foto_familiar _foto_familiar = null;
public com.iq.resuelve.co.foto_perfil_codeudor _foto_perfil_codeudor = null;
public com.iq.resuelve.co.fotografia_cedula_codeudor _fotografia_cedula_codeudor = null;
public com.iq.resuelve.co.fotografia_cedula_lado_a _fotografia_cedula_lado_a = null;
public com.iq.resuelve.co.fotografia_perfil _fotografia_perfil = null;
public com.iq.resuelve.co.historia_pago _historia_pago = null;
public com.iq.resuelve.co.historial_ahorro _historial_ahorro = null;
public com.iq.resuelve.co.mensaje_solicitud _mensaje_solicitud = null;
public com.iq.resuelve.co.placegoogle _placegoogle = null;
public com.iq.resuelve.co.renovacion_codeudor _renovacion_codeudor = null;
public com.iq.resuelve.co.renovacion_con_exito _renovacion_con_exito = null;
public com.iq.resuelve.co.renovacion_familiar _renovacion_familiar = null;
public com.iq.resuelve.co.renovar_credito _renovar_credito = null;
public com.iq.resuelve.co.tus_ahorro _tus_ahorro = null;
public com.iq.resuelve.co.tus_premios _tus_premios = null;
public com.iq.resuelve.co.ya_tengo_cuenta _ya_tengo_cuenta = null;
public com.iq.resuelve.co.httputils2service _httputils2service = null;
public com.iq.resuelve.co.xuiviewsutils _xuiviewsutils = null;

public static void initializeProcessGlobals() {
             try {
                Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
}
public static String  _activity_create(boolean _firsttime) throws Exception{
anywheresoftware.b4a.objects.EditTextWrapper _potxt0 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt1 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt2 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt3 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt4 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt5 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt8 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt9 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt10 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt11 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt13 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt14 = null;
anywheresoftware.b4a.objects.EditTextWrapper _potxt15 = null;
 //BA.debugLineNum = 87;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)";
 //BA.debugLineNum = 89;BA.debugLine="ScrollView1.Initialize(1500dip)";
mostCurrent._scrollview1.Initialize(mostCurrent.activityBA,anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1500)));
 //BA.debugLineNum = 90;BA.debugLine="Activity.LoadLayout(\"FAMILIAR\")";
mostCurrent._activity.LoadLayout("FAMILIAR",mostCurrent.activityBA);
 //BA.debugLineNum = 91;BA.debugLine="Activity.AddView(ScrollView1, 0,Label_mensaje.Hei";
mostCurrent._activity.AddView((android.view.View)(mostCurrent._scrollview1.getObject()),(int) (0),(int) (mostCurrent._label_mensaje.getHeight()+mostCurrent._actoolbarlight1.getHeight()+15),anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA),anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (100),mostCurrent.activityBA));
 //BA.debugLineNum = 92;BA.debugLine="ScrollView1.Panel.LoadLayout(\"FAMILIAR_01\")";
mostCurrent._scrollview1.getPanel().LoadLayout("FAMILIAR_01",mostCurrent.activityBA);
 //BA.debugLineNum = 93;BA.debugLine="ToolbarHelper.Initialize";
mostCurrent._toolbarhelper.Initialize(mostCurrent.activityBA);
 //BA.debugLineNum = 94;BA.debugLine="ToolbarHelper.ShowUpIndicator = True 'set to true";
mostCurrent._toolbarhelper.setShowUpIndicator(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 95;BA.debugLine="ToolbarHelper.Title = \"REFERENCIA FAMILIAR\"";
mostCurrent._toolbarhelper.setTitle(BA.ObjectToCharSequence("REFERENCIA FAMILIAR"));
 //BA.debugLineNum = 96;BA.debugLine="ToolbarHelper.Subtitle = \"\"";
mostCurrent._toolbarhelper.setSubtitle(BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 97;BA.debugLine="ACToolBarLight1.InitMenuListener";
mostCurrent._actoolbarlight1.InitMenuListener();
 //BA.debugLineNum = 99;BA.debugLine="basedatos";
_basedatos();
 //BA.debugLineNum = 100;BA.debugLine="Alerter1.Initialize(\"Alerter1\")";
mostCurrent._alerter1.Initialize(mostCurrent.activityBA,"Alerter1");
 //BA.debugLineNum = 103;BA.debugLine="B4XFloatTextField_nombre.mBase.SetColorAndBorder(";
mostCurrent._b4xfloattextfield_nombre._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 104;BA.debugLine="B4XFloatTextField_nombre.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_nombre._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 105;BA.debugLine="B4XFloatTextField_nombre.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_nombre._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 106;BA.debugLine="B4XFloatTextField_nombre.Update";
mostCurrent._b4xfloattextfield_nombre._update /*String*/ ();
 //BA.debugLineNum = 108;BA.debugLine="B4XFloatTextField_apellido.mBase.SetColorAndBorde";
mostCurrent._b4xfloattextfield_apellido._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 109;BA.debugLine="B4XFloatTextField_apellido.LargeLabelTextSize = 1";
mostCurrent._b4xfloattextfield_apellido._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 110;BA.debugLine="B4XFloatTextField_apellido.SmallLabelTextSize = 1";
mostCurrent._b4xfloattextfield_apellido._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 111;BA.debugLine="B4XFloatTextField_apellido.Update";
mostCurrent._b4xfloattextfield_apellido._update /*String*/ ();
 //BA.debugLineNum = 113;BA.debugLine="B4XFloatTextField_cargo.mBase.SetColorAndBorder(C";
mostCurrent._b4xfloattextfield_cargo._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 114;BA.debugLine="B4XFloatTextField_cargo.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_cargo._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 115;BA.debugLine="B4XFloatTextField_cargo.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_cargo._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 116;BA.debugLine="B4XFloatTextField_cargo.Update";
mostCurrent._b4xfloattextfield_cargo._update /*String*/ ();
 //BA.debugLineNum = 118;BA.debugLine="B4XFloatTextField_cedula.mBase.SetColorAndBorder(";
mostCurrent._b4xfloattextfield_cedula._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 119;BA.debugLine="B4XFloatTextField_cedula.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_cedula._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 120;BA.debugLine="B4XFloatTextField_cedula.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_cedula._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 121;BA.debugLine="B4XFloatTextField_cedula.Update";
mostCurrent._b4xfloattextfield_cedula._update /*String*/ ();
 //BA.debugLineNum = 123;BA.debugLine="B4XFloatTextField_celular.mBase.SetColorAndBorder";
mostCurrent._b4xfloattextfield_celular._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 124;BA.debugLine="B4XFloatTextField_celular.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_celular._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 125;BA.debugLine="B4XFloatTextField_celular.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_celular._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 126;BA.debugLine="B4XFloatTextField_celular.Update";
mostCurrent._b4xfloattextfield_celular._update /*String*/ ();
 //BA.debugLineNum = 128;BA.debugLine="B4XFloatTextField_ciud_residencia.mBase.SetColorA";
mostCurrent._b4xfloattextfield_ciud_residencia._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 129;BA.debugLine="B4XFloatTextField_ciud_residencia.LargeLabelTextS";
mostCurrent._b4xfloattextfield_ciud_residencia._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 130;BA.debugLine="B4XFloatTextField_ciud_residencia.SmallLabelTextS";
mostCurrent._b4xfloattextfield_ciud_residencia._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 131;BA.debugLine="B4XFloatTextField_ciud_residencia.Update";
mostCurrent._b4xfloattextfield_ciud_residencia._update /*String*/ ();
 //BA.debugLineNum = 133;BA.debugLine="B4XFloatTextField_dir_trabajo.mBase.SetColorAndBo";
mostCurrent._b4xfloattextfield_dir_trabajo._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 134;BA.debugLine="B4XFloatTextField_dir_trabajo.LargeLabelTextSize";
mostCurrent._b4xfloattextfield_dir_trabajo._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 135;BA.debugLine="B4XFloatTextField_dir_trabajo.SmallLabelTextSize";
mostCurrent._b4xfloattextfield_dir_trabajo._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 136;BA.debugLine="B4XFloatTextField_dir_trabajo.Update";
mostCurrent._b4xfloattextfield_dir_trabajo._update /*String*/ ();
 //BA.debugLineNum = 138;BA.debugLine="B4XFloatTextField_direccion.mBase.SetColorAndBord";
mostCurrent._b4xfloattextfield_direccion._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 139;BA.debugLine="B4XFloatTextField_direccion.LargeLabelTextSize =";
mostCurrent._b4xfloattextfield_direccion._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 140;BA.debugLine="B4XFloatTextField_direccion.SmallLabelTextSize =";
mostCurrent._b4xfloattextfield_direccion._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 141;BA.debugLine="B4XFloatTextField_direccion.Update";
mostCurrent._b4xfloattextfield_direccion._update /*String*/ ();
 //BA.debugLineNum = 143;BA.debugLine="B4XFloatTextField_email.mBase.SetColorAndBorder(C";
mostCurrent._b4xfloattextfield_email._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 144;BA.debugLine="B4XFloatTextField_email.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_email._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 145;BA.debugLine="B4XFloatTextField_email.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_email._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 146;BA.debugLine="B4XFloatTextField_email.Update";
mostCurrent._b4xfloattextfield_email._update /*String*/ ();
 //BA.debugLineNum = 148;BA.debugLine="B4XFloatTextField_empresa.mBase.SetColorAndBorder";
mostCurrent._b4xfloattextfield_empresa._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 149;BA.debugLine="B4XFloatTextField_empresa.LargeLabelTextSize = 14";
mostCurrent._b4xfloattextfield_empresa._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 150;BA.debugLine="B4XFloatTextField_empresa.SmallLabelTextSize = 12";
mostCurrent._b4xfloattextfield_empresa._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 151;BA.debugLine="B4XFloatTextField_empresa.Update";
mostCurrent._b4xfloattextfield_empresa._update /*String*/ ();
 //BA.debugLineNum = 154;BA.debugLine="B4XFloatTextField_num_fijo.mBase.SetColorAndBorde";
mostCurrent._b4xfloattextfield_num_fijo._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 155;BA.debugLine="B4XFloatTextField_num_fijo.LargeLabelTextSize = 1";
mostCurrent._b4xfloattextfield_num_fijo._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 156;BA.debugLine="B4XFloatTextField_num_fijo.SmallLabelTextSize = 1";
mostCurrent._b4xfloattextfield_num_fijo._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 157;BA.debugLine="B4XFloatTextField_num_fijo.Update";
mostCurrent._b4xfloattextfield_num_fijo._update /*String*/ ();
 //BA.debugLineNum = 159;BA.debugLine="B4XFloatTextField_parentesco.mBase.SetColorAndBor";
mostCurrent._b4xfloattextfield_parentesco._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (100),(int) (255),(int) (255),(int) (255)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (1)),anywheresoftware.b4a.keywords.Common.Colors.ARGB((int) (39),(int) (3),(int) (92),(int) (101)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (9)));
 //BA.debugLineNum = 160;BA.debugLine="B4XFloatTextField_parentesco.LargeLabelTextSize =";
mostCurrent._b4xfloattextfield_parentesco._largelabeltextsize /*float*/  = (float) (14);
 //BA.debugLineNum = 161;BA.debugLine="B4XFloatTextField_parentesco.SmallLabelTextSize =";
mostCurrent._b4xfloattextfield_parentesco._smalllabeltextsize /*float*/  = (float) (12);
 //BA.debugLineNum = 162;BA.debugLine="B4XFloatTextField_parentesco.Update";
mostCurrent._b4xfloattextfield_parentesco._update /*String*/ ();
 //BA.debugLineNum = 164;BA.debugLine="DateTime.DateFormat =\"dd/MM/yyyy\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("dd/MM/yyyy");
 //BA.debugLineNum = 165;BA.debugLine="B4XFloatTextField_fecha.Text  = DateTime.Date(Dat";
mostCurrent._b4xfloattextfield_fecha._settext /*String*/ (anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()));
 //BA.debugLineNum = 168;BA.debugLine="Dim poTxt0 As EditText";
_potxt0 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 169;BA.debugLine="poTxt0 = B4XFloatTextField_nombre.TextField";
_potxt0 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_nombre._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 170;BA.debugLine="SetBackgroundTintList(poTxt0, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt0.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 172;BA.debugLine="Dim poTxt1 As EditText";
_potxt1 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 173;BA.debugLine="poTxt1 = B4XFloatTextField_apellido.TextField";
_potxt1 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_apellido._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 174;BA.debugLine="SetBackgroundTintList(poTxt1, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt1.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 176;BA.debugLine="Dim poTxt2 As EditText";
_potxt2 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 177;BA.debugLine="poTxt2 = B4XFloatTextField_cargo.TextField";
_potxt2 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_cargo._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 178;BA.debugLine="SetBackgroundTintList(poTxt2, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt2.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 180;BA.debugLine="Dim poTxt3 As EditText";
_potxt3 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 181;BA.debugLine="poTxt3 = B4XFloatTextField_cedula.TextField";
_potxt3 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_cedula._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 182;BA.debugLine="SetBackgroundTintList(poTxt3, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt3.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 187;BA.debugLine="Dim poTxt4 As EditText";
_potxt4 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 188;BA.debugLine="poTxt4 = B4XFloatTextField_celular.TextField";
_potxt4 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_celular._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 189;BA.debugLine="SetBackgroundTintList(poTxt4, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt4.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 191;BA.debugLine="Dim poTxt5 As EditText";
_potxt5 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 192;BA.debugLine="poTxt5 = B4XFloatTextField_ciud_residencia.TextFi";
_potxt5 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_ciud_residencia._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 193;BA.debugLine="SetBackgroundTintList(poTxt5, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt5.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 196;BA.debugLine="Dim poTxt8 As EditText";
_potxt8 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 197;BA.debugLine="poTxt8 = B4XFloatTextField_dir_trabajo.TextField";
_potxt8 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_dir_trabajo._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 198;BA.debugLine="SetBackgroundTintList(poTxt8, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt8.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 200;BA.debugLine="Dim poTxt9 As EditText";
_potxt9 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 201;BA.debugLine="poTxt9 = B4XFloatTextField_direccion.TextField";
_potxt9 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_direccion._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 202;BA.debugLine="SetBackgroundTintList(poTxt9, 0x00FFFFFF, 0x00FFF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt9.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 204;BA.debugLine="Dim poTxt10 As EditText";
_potxt10 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 205;BA.debugLine="poTxt10 = B4XFloatTextField_email.TextField";
_potxt10 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_email._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 206;BA.debugLine="SetBackgroundTintList(poTxt10, 0x00FFFFFF, 0x00FF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt10.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 208;BA.debugLine="Dim poTxt11 As EditText";
_potxt11 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 209;BA.debugLine="poTxt11 = B4XFloatTextField_empresa.TextField";
_potxt11 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_empresa._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 210;BA.debugLine="SetBackgroundTintList(poTxt11, 0x00FFFFFF, 0x00FF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt11.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 212;BA.debugLine="Dim poTxt13 As EditText";
_potxt13 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 213;BA.debugLine="poTxt13 = B4XFloatTextField_email.TextField";
_potxt13 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_email._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 214;BA.debugLine="SetBackgroundTintList(poTxt13, 0x00FFFFFF, 0x00FF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt13.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 216;BA.debugLine="Dim poTxt14 As EditText";
_potxt14 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 217;BA.debugLine="poTxt14 = B4XFloatTextField_num_fijo.TextField";
_potxt14 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_num_fijo._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 218;BA.debugLine="SetBackgroundTintList(poTxt14, 0x00FFFFFF, 0x00FF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt14.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 220;BA.debugLine="Dim poTxt15 As EditText";
_potxt15 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 221;BA.debugLine="poTxt15 = B4XFloatTextField_parentesco.TextField";
_potxt15 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_parentesco._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 222;BA.debugLine="SetBackgroundTintList(poTxt15, 0x00FFFFFF, 0x00FF";
_setbackgroundtintlist((anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_potxt15.getObject())),(int) (0x00ffffff),(int) (0x00ffffff));
 //BA.debugLineNum = 226;BA.debugLine="B4XComboBox_nacionalidad.cmbBox.Add(\"Nacional\")";
mostCurrent._b4xcombobox_nacionalidad._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Add("Nacional");
 //BA.debugLineNum = 227;BA.debugLine="B4XComboBox_nacionalidad.cmbBox.Add(\"Extranjero\")";
mostCurrent._b4xcombobox_nacionalidad._cmbbox /*anywheresoftware.b4a.objects.SpinnerWrapper*/ .Add("Extranjero");
 //BA.debugLineNum = 229;BA.debugLine="map_ciudades.Initialize";
mostCurrent._map_ciudades.Initialize();
 //BA.debugLineNum = 230;BA.debugLine="map_posic_ciudades.Initialize";
mostCurrent._map_posic_ciudades.Initialize();
 //BA.debugLineNum = 232;BA.debugLine="Dialog.Initialize(Activity)";
mostCurrent._dialog._initialize /*String*/ (mostCurrent.activityBA,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(mostCurrent._activity.getObject())));
 //BA.debugLineNum = 233;BA.debugLine="Dialog.Title = \"Album\"";
mostCurrent._dialog._title /*Object*/  = (Object)("Album");
 //BA.debugLineNum = 235;BA.debugLine="CC.Initialize(\"CC\")";
_cc.Initialize("CC");
 //BA.debugLineNum = 237;BA.debugLine="End Sub";
return "";
}
public static boolean  _activity_keypress(int _keycode) throws Exception{
 //BA.debugLineNum = 1017;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean";
 //BA.debugLineNum = 1018;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==anywheresoftware.b4a.keywords.Common.KeyCodes.KEYCODE_BACK) { 
 };
 //BA.debugLineNum = 1021;BA.debugLine="Return True";
if (true) return anywheresoftware.b4a.keywords.Common.True;
 //BA.debugLineNum = 1022;BA.debugLine="End Sub";
return false;
}
public static String  _activity_pause(boolean _userclosed) throws Exception{
 //BA.debugLineNum = 299;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)";
 //BA.debugLineNum = 301;BA.debugLine="End Sub";
return "";
}
public static String  _activity_resume() throws Exception{
 //BA.debugLineNum = 252;BA.debugLine="Sub Activity_Resume";
 //BA.debugLineNum = 254;BA.debugLine="basedatos";
_basedatos();
 //BA.debugLineNum = 255;BA.debugLine="cargar_id_credito_solicitado";
_cargar_id_credito_solicitado();
 //BA.debugLineNum = 256;BA.debugLine="Carga_spinner_ciudades";
_carga_spinner_ciudades();
 //BA.debugLineNum = 258;BA.debugLine="End Sub";
return "";
}
public static String  _actoolbarlight1_navigationitemclick() throws Exception{
 //BA.debugLineNum = 679;BA.debugLine="Sub ACToolBarLight1_NavigationItemClick";
 //BA.debugLineNum = 680;BA.debugLine="Panel_tabla.Visible = False";
mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 681;BA.debugLine="StartActivity(CREA_TU_PERFIL)";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._crea_tu_perfil.getObject()));
 //BA.debugLineNum = 682;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
 //BA.debugLineNum = 683;BA.debugLine="End Sub";
return "";
}
public static String  _b4xcombobox_nacionalidad_selectedindexchanged(int _index) throws Exception{
anywheresoftware.b4a.objects.EditTextWrapper _potxt3 = null;
 //BA.debugLineNum = 972;BA.debugLine="Sub B4XComboBox_nacionalidad_SelectedIndexChanged";
 //BA.debugLineNum = 973;BA.debugLine="If Index = 0 Then";
if (_index==0) { 
 //BA.debugLineNum = 974;BA.debugLine="Dim poTxt3 As EditText";
_potxt3 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 975;BA.debugLine="poTxt3 = B4XFloatTextField_cedula.TextField ' vi";
_potxt3 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_cedula._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 976;BA.debugLine="IME.SetCustomFilter(poTxt3, poTxt3.INPUT_TYPE_NU";
mostCurrent._ime.SetCustomFilter((android.widget.EditText)(_potxt3.getObject()),_potxt3.INPUT_TYPE_NUMBERS,"0123456789");
 };
 //BA.debugLineNum = 978;BA.debugLine="If Index = 1 Then";
if (_index==1) { 
 //BA.debugLineNum = 979;BA.debugLine="Dim poTxt3 As EditText";
_potxt3 = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 980;BA.debugLine="poTxt3 = B4XFloatTextField_cedula.TextField ' vi";
_potxt3 = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(mostCurrent._b4xfloattextfield_cedula._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject()));
 //BA.debugLineNum = 981;BA.debugLine="IME.SetCustomFilter(poTxt3, poTxt3.INPUT_TYPE_TE";
mostCurrent._ime.SetCustomFilter((android.widget.EditText)(_potxt3.getObject()),_potxt3.INPUT_TYPE_TEXT,"0123456789AEae");
 };
 //BA.debugLineNum = 983;BA.debugLine="End Sub";
return "";
}
public static void  _b4xtable1_cellclicked(String _columnid,long _rowid) throws Exception{
ResumableSub_B4XTable1_CellClicked rsub = new ResumableSub_B4XTable1_CellClicked(null,_columnid,_rowid);
rsub.resume(processBA, null);
}
public static class ResumableSub_B4XTable1_CellClicked extends BA.ResumableSub {
public ResumableSub_B4XTable1_CellClicked(com.iq.resuelve.co.familiar parent,String _columnid,long _rowid) {
this.parent = parent;
this._columnid = _columnid;
this._rowid = _rowid;
}
com.iq.resuelve.co.familiar parent;
String _columnid;
long _rowid;
String _img = "";
anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null;
anywheresoftware.b4a.objects.ImageViewWrapper _iv = null;
Object _sf = null;
int _result = 0;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 855;BA.debugLine="Dim img As String = B4XTable1.GetRow(RowId).Get(C";
_img = BA.ObjectToString(parent.mostCurrent._b4xtable1._getrow /*anywheresoftware.b4a.objects.collections.Map*/ (_rowid).Get((Object)(_columnid)));
 //BA.debugLineNum = 856;BA.debugLine="If img <> \"\" Then";
if (true) break;

case 1:
//if
this.state = 8;
if ((_img).equals("") == false) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 857;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\")";
_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pnl = parent.mostCurrent._xui.CreatePanel(processBA,"");
 //BA.debugLineNum = 858;BA.debugLine="Dim iv As ImageView";
_iv = new anywheresoftware.b4a.objects.ImageViewWrapper();
 //BA.debugLineNum = 859;BA.debugLine="iv.Initialize(\"\")";
_iv.Initialize(mostCurrent.activityBA,"");
 //BA.debugLineNum = 860;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, 90%x, 80%y)";
_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (90),mostCurrent.activityBA),anywheresoftware.b4a.keywords.Common.PerYToCurrent((float) (80),mostCurrent.activityBA));
 //BA.debugLineNum = 861;BA.debugLine="pnl.AddView(iv, 0, 0, pnl.Width, pnl.Height)";
_pnl.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_pnl.getWidth(),_pnl.getHeight());
 //BA.debugLineNum = 862;BA.debugLine="iv.Bitmap = xui.LoadBitmapResize(\"\", img, iv.Wid";
_iv.setBitmap((android.graphics.Bitmap)(parent.mostCurrent._xui.LoadBitmapResize("",_img,_iv.getWidth(),_iv.getHeight(),anywheresoftware.b4a.keywords.Common.True).getObject()));
 //BA.debugLineNum = 863;BA.debugLine="imagentemp = iv.Bitmap";
parent.mostCurrent._imagentemp = (anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(_iv.getBitmap()));
 //BA.debugLineNum = 864;BA.debugLine="Dim sf As Object = Dialog.ShowCustom(pnl, \"OK\",";
_sf = parent.mostCurrent._dialog._showcustom /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (_pnl,(Object)("OK"),(Object)("Seleccionar"),(Object)(""));
 //BA.debugLineNum = 865;BA.debugLine="Wait For (sf) Complete (Result As Int)";
anywheresoftware.b4a.keywords.Common.WaitFor("complete", processBA, this, _sf);
this.state = 9;
return;
case 9:
//C
this.state = 4;
_result = (Integer) result[0];
;
 //BA.debugLineNum = 867;BA.debugLine="Log(Result)";
anywheresoftware.b4a.keywords.Common.LogImpl("620185101",BA.NumberToString(_result),0);
 //BA.debugLineNum = 868;BA.debugLine="If Result = -2 Then";
if (true) break;

case 4:
//if
this.state = 7;
if (_result==-2) { 
this.state = 6;
}if (true) break;

case 6:
//C
this.state = 7;
 //BA.debugLineNum = 869;BA.debugLine="Cam_PictureTaken (True)";
_cam_picturetaken(anywheresoftware.b4a.keywords.Common.True);
 if (true) break;

case 7:
//C
this.state = 8;
;
 if (true) break;

case 8:
//C
this.state = -1;
;
 //BA.debugLineNum = 873;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public static void  _complete(int _result) throws Exception{
}
public static void  _b4xtable1_dataupdated() throws Exception{
ResumableSub_B4XTable1_DataUpdated rsub = new ResumableSub_B4XTable1_DataUpdated(null);
rsub.resume(processBA, null);
}
public static class ResumableSub_B4XTable1_DataUpdated extends BA.ResumableSub {
public ResumableSub_B4XTable1_DataUpdated(com.iq.resuelve.co.familiar parent) {
this.parent = parent;
}
com.iq.resuelve.co.familiar parent;
anywheresoftware.b4a.objects.collections.Map _row = null;
int _i = 0;
long _rowid = 0L;
com.iq.resuelve.co.b4xtable._b4xtablecolumn _column = null;
anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null;
anywheresoftware.b4a.objects.B4XViewWrapper _iv = null;
int step2;
int limit2;
anywheresoftware.b4a.BA.IterableList group9;
int index9;
int groupLen9;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 830;BA.debugLine="Dim row As Map";
_row = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 831;BA.debugLine="For i = 0 To B4XTable1.VisibleRowIds.Size - 1";
if (true) break;

case 1:
//for
this.state = 19;
step2 = 1;
limit2 = (int) (parent.mostCurrent._b4xtable1._visiblerowids /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1);
_i = (int) (0) ;
this.state = 20;
if (true) break;

case 20:
//C
this.state = 19;
if ((step2 > 0 && _i <= limit2) || (step2 < 0 && _i >= limit2)) this.state = 3;
if (true) break;

case 21:
//C
this.state = 20;
_i = ((int)(0 + _i + step2)) ;
if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 832;BA.debugLine="Dim RowId As Long = B4XTable1.VisibleRowIds.Get(";
_rowid = BA.ObjectToLongNumber(parent.mostCurrent._b4xtable1._visiblerowids /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i));
 //BA.debugLineNum = 833;BA.debugLine="If RowId > 0 Then";
if (true) break;

case 4:
//if
this.state = 9;
if (_rowid>0) { 
this.state = 6;
}else {
this.state = 8;
}if (true) break;

case 6:
//C
this.state = 9;
 //BA.debugLineNum = 834;BA.debugLine="row = B4XTable1.GetRow(RowId)";
_row = parent.mostCurrent._b4xtable1._getrow /*anywheresoftware.b4a.objects.collections.Map*/ (_rowid);
 if (true) break;

case 8:
//C
this.state = 9;
 //BA.debugLineNum = 836;BA.debugLine="row = CreateMap()";
_row = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {});
 if (true) break;
;
 //BA.debugLineNum = 838;BA.debugLine="For Each column As B4XTableColumn In B4XTable1.C";

case 9:
//for
this.state = 18;
group9 = parent.mostCurrent._b4xtable1._columns /*anywheresoftware.b4a.objects.collections.List*/ ;
index9 = 0;
groupLen9 = group9.getSize();
this.state = 22;
if (true) break;

case 22:
//C
this.state = 18;
if (index9 < groupLen9) {
this.state = 11;
_column = (com.iq.resuelve.co.b4xtable._b4xtablecolumn)(group9.Get(index9));}
if (true) break;

case 23:
//C
this.state = 22;
index9++;
if (true) break;

case 11:
//C
this.state = 12;
 //BA.debugLineNum = 839;BA.debugLine="Sleep(1)";
anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (1));
this.state = 24;
return;
case 24:
//C
this.state = 12;
;
 //BA.debugLineNum = 840;BA.debugLine="Dim pnl As B4XView = column.CellsLayouts.Get(i";
_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_column.CellsLayouts /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_i+1))));
 //BA.debugLineNum = 841;BA.debugLine="Dim iv As B4XView = pnl.GetView(1) 'ImageView w";
_iv = new anywheresoftware.b4a.objects.B4XViewWrapper();
_iv = _pnl.GetView((int) (1));
 //BA.debugLineNum = 842;BA.debugLine="If row.GetDefault(column.Id, \"\") <> \"\" Then";
if (true) break;

case 12:
//if
this.state = 17;
if ((_row.GetDefault((Object)(_column.Id /*String*/ ),(Object)(""))).equals((Object)("")) == false) { 
this.state = 14;
}else {
this.state = 16;
}if (true) break;

case 14:
//C
this.state = 17;
 //BA.debugLineNum = 843;BA.debugLine="iv.SetBitmap(xui.LoadBitmapResize(\"\", row.Get(";
_iv.SetBitmap((android.graphics.Bitmap)(parent.mostCurrent._xui.LoadBitmapResize("",BA.ObjectToString(_row.Get((Object)(_column.Id /*String*/ ))),_iv.getWidth(),_iv.getHeight(),anywheresoftware.b4a.keywords.Common.False).getObject()));
 if (true) break;

case 16:
//C
this.state = 17;
 //BA.debugLineNum = 845;BA.debugLine="iv.SetBitmap(Null)";
_iv.SetBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null));
 if (true) break;

case 17:
//C
this.state = 23;
;
 if (true) break;
if (true) break;

case 18:
//C
this.state = 21;
;
 if (true) break;
if (true) break;

case 19:
//C
this.state = -1;
;
 //BA.debugLineNum = 849;BA.debugLine="btnNext.Enabled = B4XTable1.lblNext.Tag";
parent.mostCurrent._btnnext.setEnabled(BA.ObjectToBoolean(parent.mostCurrent._b4xtable1._lblnext /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag()));
 //BA.debugLineNum = 850;BA.debugLine="btnPrev.Enabled = B4XTable1.lblBack.Tag";
parent.mostCurrent._btnprev.setEnabled(BA.ObjectToBoolean(parent.mostCurrent._b4xtable1._lblback /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getTag()));
 //BA.debugLineNum = 851;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 852;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public static String  _basedatos() throws Exception{
 //BA.debugLineNum = 303;BA.debugLine="Sub basedatos";
 //BA.debugLineNum = 304;BA.debugLine="Try";
try { //BA.debugLineNum = 306;BA.debugLine="kvs.Initialize(File.DirDefaultExternal, \"datasto";
_kvs._initialize /*String*/ (processBA,anywheresoftware.b4a.keywords.Common.File.getDirDefaultExternal(),"datastore");
 } 
       catch (Exception e4) {
			processBA.setLastException(e4); };
 //BA.debugLineNum = 310;BA.debugLine="Try";
try { //BA.debugLineNum = 311;BA.debugLine="datos_codeudor_listo = kvs.Get(\"datos_codeudor_l";
_datos_codeudor_listo = (int)(BA.ObjectToNumber(_kvs._get /*Object*/ ("datos_codeudor_listo")));
 } 
       catch (Exception e8) {
			processBA.setLastException(e8); //BA.debugLineNum = 313;BA.debugLine="datos_codeudor_listo = 0";
_datos_codeudor_listo = (int) (0);
 //BA.debugLineNum = 314;BA.debugLine="kvs.Put(\"datos_codeudor_listo\",\"0\")";
_kvs._put /*String*/ ("datos_codeudor_listo",(Object)("0"));
 };
 //BA.debugLineNum = 317;BA.debugLine="Try";
try { //BA.debugLineNum = 318;BA.debugLine="datos_familiar_listo = kvs.Get(\"datos_familiar_l";
_datos_familiar_listo = (int)(BA.ObjectToNumber(_kvs._get /*Object*/ ("datos_familiar_listo")));
 } 
       catch (Exception e14) {
			processBA.setLastException(e14); //BA.debugLineNum = 320;BA.debugLine="datos_familiar_listo = 0";
_datos_familiar_listo = (int) (0);
 //BA.debugLineNum = 321;BA.debugLine="kvs.Put(\"datos_familiar_listo\",\"0\")";
_kvs._put /*String*/ ("datos_familiar_listo",(Object)("0"));
 };
 //BA.debugLineNum = 324;BA.debugLine="Try";
try { //BA.debugLineNum = 325;BA.debugLine="INGRESO.ID_USUARIO = kvs.Get(\"ID_CLIENTE\")";
mostCurrent._ingreso._id_usuario /*int*/  = (int)(BA.ObjectToNumber(_kvs._get /*Object*/ ("ID_CLIENTE")));
 } 
       catch (Exception e20) {
			processBA.setLastException(e20); //BA.debugLineNum = 327;BA.debugLine="kvs.Put(\"ID_CLIENTE\",\"0\")";
_kvs._put /*String*/ ("ID_CLIENTE",(Object)("0"));
 };
 //BA.debugLineNum = 331;BA.debugLine="Try";
try { //BA.debugLineNum = 332;BA.debugLine="foto_perfil_familiar_lista = kvs.Get(\"foto_perfi";
_foto_perfil_familiar_lista = (int)(BA.ObjectToNumber(_kvs._get /*Object*/ ("foto_perfil_familiar_lista")));
 } 
       catch (Exception e25) {
			processBA.setLastException(e25); //BA.debugLineNum = 334;BA.debugLine="foto_perfil_familiar_lista = 0";
_foto_perfil_familiar_lista = (int) (0);
 //BA.debugLineNum = 335;BA.debugLine="kvs.Put(\"foto_perfil_familiar_lista\",\"0\")";
_kvs._put /*String*/ ("foto_perfil_familiar_lista",(Object)("0"));
 };
 //BA.debugLineNum = 337;BA.debugLine="End Sub";
return "";
}
public static String  _btnnext_click() throws Exception{
 //BA.debugLineNum = 875;BA.debugLine="Sub btnNext_Click";
 //BA.debugLineNum = 876;BA.debugLine="B4XTable1.CurrentPage = B4XTable1.CurrentPage + 1";
mostCurrent._b4xtable1._setcurrentpage /*int*/ ((int) (mostCurrent._b4xtable1._getcurrentpage /*int*/ ()+1));
 //BA.debugLineNum = 877;BA.debugLine="End Sub";
return "";
}
public static String  _btnprev_click() throws Exception{
 //BA.debugLineNum = 879;BA.debugLine="Sub btnPrev_Click";
 //BA.debugLineNum = 880;BA.debugLine="B4XTable1.CurrentPage = B4XTable1.CurrentPage - 1";
mostCurrent._b4xtable1._setcurrentpage /*int*/ ((int) (mostCurrent._b4xtable1._getcurrentpage /*int*/ ()-1));
 //BA.debugLineNum = 881;BA.debugLine="End Sub";
return "";
}
public static String  _btnshowalertcoloured_click() throws Exception{
 //BA.debugLineNum = 500;BA.debugLine="Sub btnShowAlertColoured_Click";
 //BA.debugLineNum = 501;BA.debugLine="Alerter1.Title(\"Datos Codeudor\")";
mostCurrent._alerter1.Title("Datos Codeudor");
 //BA.debugLineNum = 502;BA.debugLine="Alerter1.Text(\"Datos incluidos con éxito\")";
mostCurrent._alerter1.Text("Datos incluidos con éxito");
 //BA.debugLineNum = 503;BA.debugLine="Alerter1.BackgroundColor(Colors.RGB(0,151,166))";
mostCurrent._alerter1.BackgroundColor(anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (0),(int) (151),(int) (166)));
 //BA.debugLineNum = 504;BA.debugLine="Alerter1.Duration(2500)";
mostCurrent._alerter1.Duration((long) (2500));
 //BA.debugLineNum = 505;BA.debugLine="Alerter1.Show";
mostCurrent._alerter1.Show(mostCurrent.activityBA);
 //BA.debugLineNum = 506;BA.debugLine="End Sub";
return "";
}
public static String  _btnshowalertfoto_click() throws Exception{
 //BA.debugLineNum = 964;BA.debugLine="Sub btnShowAlertFOTO_Click";
 //BA.debugLineNum = 965;BA.debugLine="Alerter1.Title(\"Fotografia \")";
mostCurrent._alerter1.Title("Fotografia ");
 //BA.debugLineNum = 966;BA.debugLine="Alerter1.Text(\"Fotografia enviada exitosamente\")";
mostCurrent._alerter1.Text("Fotografia enviada exitosamente");
 //BA.debugLineNum = 967;BA.debugLine="Alerter1.BackgroundColor(Colors.RGB(0,151,166))";
mostCurrent._alerter1.BackgroundColor(anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (0),(int) (151),(int) (166)));
 //BA.debugLineNum = 968;BA.debugLine="Alerter1.Duration(2000)";
mostCurrent._alerter1.Duration((long) (2000));
 //BA.debugLineNum = 969;BA.debugLine="Alerter1.Show";
mostCurrent._alerter1.Show(mostCurrent.activityBA);
 //BA.debugLineNum = 970;BA.debugLine="End Sub";
return "";
}
public static String  _button_galeria_click() throws Exception{
 //BA.debugLineNum = 1002;BA.debugLine="Private Sub Button_Galeria_Click";
 //BA.debugLineNum = 1003;BA.debugLine="If B4XFloatTextField_cedula.Text=\"\" Then";
if ((mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ()).equals("")) { 
 //BA.debugLineNum = 1004;BA.debugLine="B4XFloatTextField_cedula.RequestFocusAndShowKeyb";
mostCurrent._b4xfloattextfield_cedula._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 1005;BA.debugLine="ToastMessageShow(\"Debe Incluir la Cedula\",False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Incluir la Cedula"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 1006;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 1008;BA.debugLine="nombrefoto = \"F_\"&INGRESO.CEDULA_N&\"_foto.jpg\"";
mostCurrent._nombrefoto = "F_"+mostCurrent._ingreso._cedula_n /*String*/ +"_foto.jpg";
 //BA.debugLineNum = 1009;BA.debugLine="ProgressDialogShow(\"Cargando las imagenes\")";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Cargando las imagenes"));
 //BA.debugLineNum = 1010;BA.debugLine="ToolbarHelper.Title = \"Selecciona una Imagen\"";
mostCurrent._toolbarhelper.setTitle(BA.ObjectToCharSequence("Selecciona una Imagen"));
 //BA.debugLineNum = 1011;BA.debugLine="ToolbarHelper.Subtitle =\"Fotografia del Familiar\"";
mostCurrent._toolbarhelper.setSubtitle(BA.ObjectToCharSequence("Fotografia del Familiar"));
 //BA.debugLineNum = 1012;BA.debugLine="Label_mensaje.Text =\"\"";
mostCurrent._label_mensaje.setText(BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 1013;BA.debugLine="Panel_tabla.Visible = True";
mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 1014;BA.debugLine="FindPictures1";
_findpictures1();
 //BA.debugLineNum = 1015;BA.debugLine="End Sub";
return "";
}
public static String  _button_guarda_foto_click() throws Exception{
 //BA.debugLineNum = 988;BA.debugLine="Private Sub Button_guarda_foto_Click";
 //BA.debugLineNum = 989;BA.debugLine="Cam_PictureTaken1 (True)";
_cam_picturetaken1(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 990;BA.debugLine="End Sub";
return "";
}
public static void  _button_guardar_click() throws Exception{
ResumableSub_Button_guardar_Click rsub = new ResumableSub_Button_guardar_Click(null);
rsub.resume(processBA, null);
}
public static class ResumableSub_Button_guardar_Click extends BA.ResumableSub {
public ResumableSub_Button_guardar_Click(com.iq.resuelve.co.familiar parent) {
this.parent = parent;
}
com.iq.resuelve.co.familiar parent;
int _result = 0;
String _emailaddress = "";
long _temp2 = 0L;
long _temp1 = 0L;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 510;BA.debugLine="B4XFloatTextField_ciud_residencia.Text = map_ciud";
parent.mostCurrent._b4xfloattextfield_ciud_residencia._settext /*String*/ (BA.ObjectToString(parent.mostCurrent._map_ciudades.Get((Object)(parent.mostCurrent._spinner_ciudad.getSelectedItem()))));
 //BA.debugLineNum = 512;BA.debugLine="If foto_perfil_familiar_lista = 0 Then";
if (true) break;

case 1:
//if
this.state = 4;
if (parent._foto_perfil_familiar_lista==0) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 513;BA.debugLine="Msgbox2Async(\"para completar la solicitud debe s";
anywheresoftware.b4a.keywords.Common.Msgbox2Async(BA.ObjectToCharSequence("para completar la solicitud debe subir una foto de tu familiar De lo contrario su solicitud no podrá ser aprobada."),BA.ObjectToCharSequence("Atencion"),"Continua","Cancel","",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null)),processBA,anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 514;BA.debugLine="Wait For Msgbox_Result (Result As Int)";
anywheresoftware.b4a.keywords.Common.WaitFor("msgbox_result", processBA, this, null);
this.state = 49;
return;
case 49:
//C
this.state = 4;
_result = (Integer) result[0];
;
 //BA.debugLineNum = 515;BA.debugLine="Return";
if (true) return ;
 if (true) break;

case 4:
//C
this.state = 5;
;
 //BA.debugLineNum = 518;BA.debugLine="Log(B4XFloatTextField_ciud_residencia.Text )";
anywheresoftware.b4a.keywords.Common.LogImpl("619202058",parent.mostCurrent._b4xfloattextfield_ciud_residencia._gettext /*String*/ (),0);
 //BA.debugLineNum = 520;BA.debugLine="If B4XFloatTextField_nombre.Text =\"\" Then";
if (true) break;

case 5:
//if
this.state = 8;
if ((parent.mostCurrent._b4xfloattextfield_nombre._gettext /*String*/ ()).equals("")) { 
this.state = 7;
}if (true) break;

case 7:
//C
this.state = 8;
 //BA.debugLineNum = 521;BA.debugLine="B4XFloatTextField_nombre.RequestFocusAndShowKeyb";
parent.mostCurrent._b4xfloattextfield_nombre._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 522;BA.debugLine="ToastMessageShow(\"Campo Nombre es obrigatorio\",F";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Nombre es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 523;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 526;BA.debugLine="If B4XFloatTextField_apellido.Text =\"\" Then";

case 8:
//if
this.state = 11;
if ((parent.mostCurrent._b4xfloattextfield_apellido._gettext /*String*/ ()).equals("")) { 
this.state = 10;
}if (true) break;

case 10:
//C
this.state = 11;
 //BA.debugLineNum = 527;BA.debugLine="B4XFloatTextField_apellido.RequestFocusAndShowKe";
parent.mostCurrent._b4xfloattextfield_apellido._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 528;BA.debugLine="ToastMessageShow(\"Campo Apellido es obrigatorio\"";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Apellido es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 529;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 532;BA.debugLine="If B4XFloatTextField_email.Text =\"\" Then";

case 11:
//if
this.state = 14;
if ((parent.mostCurrent._b4xfloattextfield_email._gettext /*String*/ ()).equals("")) { 
this.state = 13;
}if (true) break;

case 13:
//C
this.state = 14;
 //BA.debugLineNum = 533;BA.debugLine="B4XFloatTextField_apellido.RequestFocusAndShowKe";
parent.mostCurrent._b4xfloattextfield_apellido._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 534;BA.debugLine="ToastMessageShow(\"Campo Correo es obrigatorio\",F";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Correo es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 535;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 540;BA.debugLine="If B4XFloatTextField_ciud_residencia.Text =\"\" The";

case 14:
//if
this.state = 17;
if ((parent.mostCurrent._b4xfloattextfield_ciud_residencia._gettext /*String*/ ()).equals("")) { 
this.state = 16;
}if (true) break;

case 16:
//C
this.state = 17;
 //BA.debugLineNum = 541;BA.debugLine="B4XFloatTextField_ciud_residencia.RequestFocusAn";
parent.mostCurrent._b4xfloattextfield_ciud_residencia._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 542;BA.debugLine="ToastMessageShow(\"Campo Ciudad de residencia es";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Ciudad de residencia es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 543;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 546;BA.debugLine="If B4XFloatTextField_direccion.Text =\"\" Then";

case 17:
//if
this.state = 20;
if ((parent.mostCurrent._b4xfloattextfield_direccion._gettext /*String*/ ()).equals("")) { 
this.state = 19;
}if (true) break;

case 19:
//C
this.state = 20;
 //BA.debugLineNum = 547;BA.debugLine="B4XFloatTextField_direccion.RequestFocusAndShowK";
parent.mostCurrent._b4xfloattextfield_direccion._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 548;BA.debugLine="ToastMessageShow(\"Campo Ciudad de residencia es";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Ciudad de residencia es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 549;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 552;BA.debugLine="If  B4XFloatTextField_dir_trabajo.Text =\"\" Then";

case 20:
//if
this.state = 23;
if ((parent.mostCurrent._b4xfloattextfield_dir_trabajo._gettext /*String*/ ()).equals("")) { 
this.state = 22;
}if (true) break;

case 22:
//C
this.state = 23;
 //BA.debugLineNum = 553;BA.debugLine="B4XFloatTextField_dir_trabajo.RequestFocusAndSho";
parent.mostCurrent._b4xfloattextfield_dir_trabajo._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 554;BA.debugLine="ToastMessageShow(\"Campo Trabajo es obrigatorio\",";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Trabajo es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 555;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 558;BA.debugLine="If B4XFloatTextField_empresa.Text =\"\" Then";

case 23:
//if
this.state = 26;
if ((parent.mostCurrent._b4xfloattextfield_empresa._gettext /*String*/ ()).equals("")) { 
this.state = 25;
}if (true) break;

case 25:
//C
this.state = 26;
 //BA.debugLineNum = 559;BA.debugLine="B4XFloatTextField_empresa.RequestFocusAndShowKey";
parent.mostCurrent._b4xfloattextfield_empresa._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 560;BA.debugLine="ToastMessageShow(\"Campo Empresa es obrigatorio\",";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Empresa es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 561;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 564;BA.debugLine="If B4XFloatTextField_cargo.Text =\"\" Then";

case 26:
//if
this.state = 29;
if ((parent.mostCurrent._b4xfloattextfield_cargo._gettext /*String*/ ()).equals("")) { 
this.state = 28;
}if (true) break;

case 28:
//C
this.state = 29;
 //BA.debugLineNum = 565;BA.debugLine="B4XFloatTextField_cargo.RequestFocusAndShowKeybo";
parent.mostCurrent._b4xfloattextfield_cargo._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 566;BA.debugLine="ToastMessageShow(\"Campo cargo es obrigatorio\",Fa";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo cargo es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 567;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 570;BA.debugLine="If B4XFloatTextField_celular.Text =\"\" Then";

case 29:
//if
this.state = 32;
if ((parent.mostCurrent._b4xfloattextfield_celular._gettext /*String*/ ()).equals("")) { 
this.state = 31;
}if (true) break;

case 31:
//C
this.state = 32;
 //BA.debugLineNum = 571;BA.debugLine="B4XFloatTextField_celular.RequestFocusAndShowKey";
parent.mostCurrent._b4xfloattextfield_celular._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 572;BA.debugLine="ToastMessageShow(\"Campo Celular es obrigatorio\",";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Celular es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 573;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 576;BA.debugLine="If B4XFloatTextField_num_fijo.Text =\"\" Then";

case 32:
//if
this.state = 35;
if ((parent.mostCurrent._b4xfloattextfield_num_fijo._gettext /*String*/ ()).equals("")) { 
this.state = 34;
}if (true) break;

case 34:
//C
this.state = 35;
 //BA.debugLineNum = 577;BA.debugLine="B4XFloatTextField_num_fijo.RequestFocusAndShowKe";
parent.mostCurrent._b4xfloattextfield_num_fijo._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 578;BA.debugLine="ToastMessageShow(\"Campo Numero fijo es obrigator";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Numero fijo es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 579;BA.debugLine="Return";
if (true) return ;
 if (true) break;
;
 //BA.debugLineNum = 582;BA.debugLine="If B4XFloatTextField_parentesco.Text =\"\" Then";

case 35:
//if
this.state = 38;
if ((parent.mostCurrent._b4xfloattextfield_parentesco._gettext /*String*/ ()).equals("")) { 
this.state = 37;
}if (true) break;

case 37:
//C
this.state = 38;
 //BA.debugLineNum = 583;BA.debugLine="B4XFloatTextField_parentesco.RequestFocusAndShow";
parent.mostCurrent._b4xfloattextfield_parentesco._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 584;BA.debugLine="ToastMessageShow(\"Campo Parentesco fijo es obrig";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Campo Parentesco fijo es obrigatorio"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 585;BA.debugLine="Return";
if (true) return ;
 if (true) break;

case 38:
//C
this.state = 39;
;
 //BA.debugLineNum = 589;BA.debugLine="Dim EmailAddress As String = B4XFloatTextField_em";
_emailaddress = parent.mostCurrent._b4xfloattextfield_email._gettext /*String*/ ().trim();
 //BA.debugLineNum = 590;BA.debugLine="If IsEmail(EmailAddress) = True Then";
if (true) break;

case 39:
//if
this.state = 44;
if (_isemail(_emailaddress)==anywheresoftware.b4a.keywords.Common.True) { 
this.state = 41;
}else {
this.state = 43;
}if (true) break;

case 41:
//C
this.state = 44;
 if (true) break;

case 43:
//C
this.state = 44;
 //BA.debugLineNum = 593;BA.debugLine="ToastMessageShow(\"Error formato del correo\",True";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Error formato del correo"),anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 594;BA.debugLine="B4XFloatTextField_email.RequestFocusAndShowKeybo";
parent.mostCurrent._b4xfloattextfield_email._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 595;BA.debugLine="Return";
if (true) return ;
 if (true) break;

case 44:
//C
this.state = 45;
;
 //BA.debugLineNum = 600;BA.debugLine="Dim temp2 = DateTime.DateParse(B4XFloatTextField_";
_temp2 = anywheresoftware.b4a.keywords.Common.DateTime.DateParse(parent.mostCurrent._b4xfloattextfield_fecha._gettext /*String*/ ());
 //BA.debugLineNum = 601;BA.debugLine="Dim temp1 =  (DateTime.Now /1000) - (temp2/1000)";
_temp1 = (long) ((anywheresoftware.b4a.keywords.Common.DateTime.getNow()/(double)1000)-(_temp2/(double)1000));
 //BA.debugLineNum = 602;BA.debugLine="If temp1 < 567993600 Then";
if (true) break;

case 45:
//if
this.state = 48;
if (_temp1<567993600) { 
this.state = 47;
}if (true) break;

case 47:
//C
this.state = 48;
 //BA.debugLineNum = 603;BA.debugLine="MsgboxAsync(\"Debe ser mayor de edad para optar p";
anywheresoftware.b4a.keywords.Common.MsgboxAsync(BA.ObjectToCharSequence("Debe ser mayor de edad para optar por nuestros creditos"),BA.ObjectToCharSequence("Validacion de Edad"),processBA);
 //BA.debugLineNum = 604;BA.debugLine="Return";
if (true) return ;
 if (true) break;

case 48:
//C
this.state = -1;
;
 //BA.debugLineNum = 608;BA.debugLine="Guardar";
_guardar();
 //BA.debugLineNum = 610;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public static void  _msgbox_result(int _result) throws Exception{
}
public static String  _button_upload_foto_click() throws Exception{
 //BA.debugLineNum = 992;BA.debugLine="Private Sub Button_upload_foto_Click";
 //BA.debugLineNum = 993;BA.debugLine="If B4XFloatTextField_cedula.Text=\"\" Then";
if ((mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ()).equals("")) { 
 //BA.debugLineNum = 994;BA.debugLine="B4XFloatTextField_cedula.RequestFocusAndShowKeyb";
mostCurrent._b4xfloattextfield_cedula._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 995;BA.debugLine="ToastMessageShow(\"Debe Incluir la Cedula\",False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Incluir la Cedula"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 996;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 998;BA.debugLine="INGRESO.CEDULA_N = B4XFloatTextField_cedula.Text.";
mostCurrent._ingreso._cedula_n /*String*/  = mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ().trim();
 //BA.debugLineNum = 999;BA.debugLine="StartActivity(FOTO_FAMILIAR)";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._foto_familiar.getObject()));
 //BA.debugLineNum = 1000;BA.debugLine="End Sub";
return "";
}
public static String  _cam_picturetaken(boolean _filesaved) throws Exception{
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _photo = null;
com.rootsoft.bitmaplibrary.BitmapLibrary _auxphoto = null;
float _bmpratio = 0f;
float _viewratio = 0f;
int _newheight = 0;
int _newwidth = 0;
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
 //BA.debugLineNum = 884;BA.debugLine="Sub Cam_PictureTaken (FileSaved As Boolean)";
 //BA.debugLineNum = 885;BA.debugLine="Try";
try { //BA.debugLineNum = 886;BA.debugLine="Dim photo As Bitmap";
_photo = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
 //BA.debugLineNum = 887;BA.debugLine="Dim auxphoto As BitmapExtended";
_auxphoto = new com.rootsoft.bitmaplibrary.BitmapLibrary();
 //BA.debugLineNum = 888;BA.debugLine="If FileSaved = True Then";
if (_filesaved==anywheresoftware.b4a.keywords.Common.True) { 
 //BA.debugLineNum = 889;BA.debugLine="If File.Exists(Starter.provider.SharedFolder, t";
if (anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._provider /*com.iq.resuelve.co.fileprovider*/ ._sharedfolder /*String*/ ,mostCurrent._tempimagefile)==anywheresoftware.b4a.keywords.Common.True) { 
 //BA.debugLineNum = 892;BA.debugLine="photo = imagentemp";
_photo = mostCurrent._imagentemp;
 //BA.debugLineNum = 893;BA.debugLine="photo = auxphoto.CreateScaledBitmap (photo, 80";
_photo = (anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(_auxphoto.createScaledBitmap((android.graphics.Bitmap)(_photo.getObject()),(int) (800),(int) (600),anywheresoftware.b4a.keywords.Common.True)));
 //BA.debugLineNum = 897;BA.debugLine="Dim bmpRatio As Float = photo.Width / photo.He";
_bmpratio = (float) (_photo.getWidth()/(double)_photo.getHeight());
 //BA.debugLineNum = 898;BA.debugLine="Dim viewRatio As Float = 600 / 600";
_viewratio = (float) (600/(double)600);
 //BA.debugLineNum = 899;BA.debugLine="If viewRatio > bmpRatio Then";
if (_viewratio>_bmpratio) { 
 //BA.debugLineNum = 900;BA.debugLine="Dim NewHeight As Int = photo.Width / viewRati";
_newheight = (int) (_photo.getWidth()/(double)_viewratio);
 //BA.debugLineNum = 901;BA.debugLine="photo = photo.Crop(0, photo.Height / 2 - NewH";
_photo = _photo.Crop((int) (0),(int) (_photo.getHeight()/(double)2-_newheight/(double)2),_photo.getWidth(),_newheight);
 }else if(_viewratio<_bmpratio) { 
 //BA.debugLineNum = 903;BA.debugLine="Dim NewWidth As Int = photo.Height * viewRati";
_newwidth = (int) (_photo.getHeight()*_viewratio);
 //BA.debugLineNum = 904;BA.debugLine="photo = photo.Crop(photo.Width / 2 - NewWidth";
_photo = _photo.Crop((int) (_photo.getWidth()/(double)2-_newwidth/(double)2),(int) (0),_newwidth,_photo.getHeight());
 };
 //BA.debugLineNum = 906;BA.debugLine="photo = photo.Resize(600, 600, True)";
_photo = _photo.Resize((float) (600),(float) (600),anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 907;BA.debugLine="Dim out As OutputStream";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
 //BA.debugLineNum = 908;BA.debugLine="out = File.OpenOutput( File.DirInternal, nombr";
_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),mostCurrent._nombrefoto,anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 909;BA.debugLine="photo.WriteToStream(out, 100, \"JPEG\")";
_photo.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG"));
 //BA.debugLineNum = 910;BA.debugLine="out.Close";
_out.Close();
 //BA.debugLineNum = 911;BA.debugLine="ProgressDialogShow(\"\")";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 912;BA.debugLine="subir_imagen";
_subir_imagen();
 };
 };
 } 
       catch (Exception e27) {
			processBA.setLastException(e27); };
 //BA.debugLineNum = 918;BA.debugLine="End Sub";
return "";
}
public static String  _cam_picturetaken1(boolean _filesaved) throws Exception{
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _photo = null;
com.rootsoft.bitmaplibrary.BitmapLibrary _auxphoto = null;
float _bmpratio = 0f;
float _viewratio = 0f;
int _newheight = 0;
int _newwidth = 0;
anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null;
 //BA.debugLineNum = 920;BA.debugLine="Sub Cam_PictureTaken1 (FileSaved As Boolean)";
 //BA.debugLineNum = 921;BA.debugLine="Try";
try { //BA.debugLineNum = 922;BA.debugLine="Dim photo As Bitmap";
_photo = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
 //BA.debugLineNum = 923;BA.debugLine="Dim auxphoto As BitmapExtended";
_auxphoto = new com.rootsoft.bitmaplibrary.BitmapLibrary();
 //BA.debugLineNum = 924;BA.debugLine="If FileSaved = True Then";
if (_filesaved==anywheresoftware.b4a.keywords.Common.True) { 
 //BA.debugLineNum = 928;BA.debugLine="photo.Initialize3(ImageView2.Bitmap)";
_photo.Initialize3(mostCurrent._imageview2.getBitmap());
 //BA.debugLineNum = 929;BA.debugLine="photo = auxphoto.CreateScaledBitmap (photo, 800";
_photo = (anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(_auxphoto.createScaledBitmap((android.graphics.Bitmap)(_photo.getObject()),(int) (800),(int) (600),anywheresoftware.b4a.keywords.Common.True)));
 //BA.debugLineNum = 933;BA.debugLine="Dim bmpRatio As Float = photo.Width / photo.Hei";
_bmpratio = (float) (_photo.getWidth()/(double)_photo.getHeight());
 //BA.debugLineNum = 934;BA.debugLine="Dim viewRatio As Float = 600 / 600";
_viewratio = (float) (600/(double)600);
 //BA.debugLineNum = 935;BA.debugLine="If viewRatio > bmpRatio Then";
if (_viewratio>_bmpratio) { 
 //BA.debugLineNum = 936;BA.debugLine="Dim NewHeight As Int = photo.Width / viewRatio";
_newheight = (int) (_photo.getWidth()/(double)_viewratio);
 //BA.debugLineNum = 937;BA.debugLine="photo = photo.Crop(0, photo.Height / 2 - NewHe";
_photo = _photo.Crop((int) (0),(int) (_photo.getHeight()/(double)2-_newheight/(double)2),_photo.getWidth(),_newheight);
 }else if(_viewratio<_bmpratio) { 
 //BA.debugLineNum = 939;BA.debugLine="Dim NewWidth As Int = photo.Height * viewRatio";
_newwidth = (int) (_photo.getHeight()*_viewratio);
 //BA.debugLineNum = 940;BA.debugLine="photo = photo.Crop(photo.Width / 2 - NewWidth";
_photo = _photo.Crop((int) (_photo.getWidth()/(double)2-_newwidth/(double)2),(int) (0),_newwidth,_photo.getHeight());
 };
 //BA.debugLineNum = 942;BA.debugLine="photo = photo.Resize(600, 600, True)";
_photo = _photo.Resize((float) (600),(float) (600),anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 943;BA.debugLine="Dim out As OutputStream";
_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper();
 //BA.debugLineNum = 944;BA.debugLine="out = File.OpenOutput( File.DirInternal, nombre";
_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),mostCurrent._nombrefoto,anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 945;BA.debugLine="photo.WriteToStream(out, 100, \"JPEG\")";
_photo.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG"));
 //BA.debugLineNum = 946;BA.debugLine="out.Close";
_out.Close();
 //BA.debugLineNum = 947;BA.debugLine="ProgressDialogShow(\"\")";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 948;BA.debugLine="subir_imagen1";
_subir_imagen1();
 };
 } 
       catch (Exception e25) {
			processBA.setLastException(e25); };
 //BA.debugLineNum = 954;BA.debugLine="End Sub";
return "";
}
public static String  _carga_spinner_ciudades() throws Exception{
 //BA.debugLineNum = 288;BA.debugLine="Sub Carga_spinner_ciudades";
 //BA.debugLineNum = 289;BA.debugLine="ExecuteRemoteQuery($\"Select 						rt_ciudades.id_";
_executeremotequery(("Select\n"+"						rt_ciudades.id_ciudad,\n"+"						rt_ciudades.nombre_ciudad\n"+"						FROM\n"+"						rt_ciudades\n"+"						ORDER BY\n"+"						rt_ciudades.id_ciudad "),_ciudades);
 //BA.debugLineNum = 297;BA.debugLine="End Sub";
return "";
}
public static String  _cargar_id_credito_solicitado() throws Exception{
 //BA.debugLineNum = 1025;BA.debugLine="Sub cargar_id_credito_solicitado";
 //BA.debugLineNum = 1026;BA.debugLine="ExecuteRemoteQuery($\"SELECT 							rt_solicitud_c";
_executeremotequery(("SELECT\n"+"							rt_solicitud_creditos.id_credito_solicitado\n"+"							FROM\n"+"							rt_solicitud_creditos\n"+"							WHERE\n"+"							rt_solicitud_creditos.id_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._ingreso._id_usuario /*int*/ ))+"'\n"+"							ORDER BY\n"+"							rt_solicitud_creditos.id_credito_solicitado DESC\n"+"							LIMIT 1\n"+"						    "),_id_credito_solic);
 //BA.debugLineNum = 1036;BA.debugLine="End Sub";
return "";
}
public static String  _cc_result(boolean _success,String _dir,String _filename) throws Exception{
 //BA.debugLineNum = 746;BA.debugLine="Sub CC_Result (Success As Boolean, Dir As String,";
 //BA.debugLineNum = 748;BA.debugLine="If Success = True Then";
if (_success==anywheresoftware.b4a.keywords.Common.True) { 
 //BA.debugLineNum = 749;BA.debugLine="ImageView2.Bitmap = LoadBitmap(Dir,FileName)";
mostCurrent._imageview2.setBitmap((android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.LoadBitmap(_dir,_filename).getObject()));
 //BA.debugLineNum = 750;BA.debugLine="ScrollView1.FullScroll(False)";
mostCurrent._scrollview1.FullScroll(anywheresoftware.b4a.keywords.Common.False);
 }else {
 //BA.debugLineNum = 752;BA.debugLine="ToastMessageShow(\"No Success :(\",True)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No Success :("),anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 753;BA.debugLine="Panel_tabla.Visible = False";
mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.False);
 };
 //BA.debugLineNum = 756;BA.debugLine="End Sub";
return "";
}
public static String  _cerra_aplicacion() throws Exception{
 //BA.debugLineNum = 675;BA.debugLine="Sub CERRA_APLICACION";
 //BA.debugLineNum = 676;BA.debugLine="Activity.Finish";
mostCurrent._activity.Finish();
 //BA.debugLineNum = 677;BA.debugLine="End Sub";
return "";
}
public static String  _createtable(anywheresoftware.b4a.objects.collections.List _files) throws Exception{
int _i = 0;
com.iq.resuelve.co.b4xtable._b4xtablecolumn _col = null;
anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null;
anywheresoftware.b4a.objects.ImageViewWrapper _iv = null;
 //BA.debugLineNum = 775;BA.debugLine="Sub CreateTable (Files As List)";
 //BA.debugLineNum = 776;BA.debugLine="B4XTable1.AllowSmallRowHeightModifications = Fals";
mostCurrent._b4xtable1._allowsmallrowheightmodifications /*boolean*/  = anywheresoftware.b4a.keywords.Common.False;
 //BA.debugLineNum = 777;BA.debugLine="B4XTable1.RowHeight = 80dip";
mostCurrent._b4xtable1._rowheight /*int*/  = anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (80));
 //BA.debugLineNum = 778;BA.debugLine="B4XTable1.SearchField.TextField.Enabled = False";
mostCurrent._b4xtable1._searchfield /*com.iq.resuelve.co.b4xfloattextfield*/ ._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().setEnabled(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 779;BA.debugLine="For i = 0 To NumberOfColumns - 1";
{
final int step4 = 1;
final int limit4 = (int) (_numberofcolumns-1);
_i = (int) (0) ;
for (;_i <= limit4 ;_i = _i + step4 ) {
 //BA.debugLineNum = 780;BA.debugLine="B4XTable1.AddColumn(i, B4XTable1.COLUMN_TYPE_TEX";
mostCurrent._b4xtable1._addcolumn /*com.iq.resuelve.co.b4xtable._b4xtablecolumn*/ (BA.NumberToString(_i),mostCurrent._b4xtable1._column_type_text /*int*/ );
 }
};
 //BA.debugLineNum = 783;BA.debugLine="B4XTable1.MaximumRowsPerPage = 20";
mostCurrent._b4xtable1._maximumrowsperpage /*int*/  = (int) (20);
 //BA.debugLineNum = 784;BA.debugLine="B4XTable1.BuildLayoutsCache(B4XTable1.MaximumRows";
mostCurrent._b4xtable1._buildlayoutscache /*String*/ (mostCurrent._b4xtable1._maximumrowsperpage /*int*/ );
 //BA.debugLineNum = 785;BA.debugLine="For Each col As B4XTableColumn In B4XTable1.Colum";
{
final anywheresoftware.b4a.BA.IterableList group9 = mostCurrent._b4xtable1._columns /*anywheresoftware.b4a.objects.collections.List*/ ;
final int groupLen9 = group9.getSize()
;int index9 = 0;
;
for (; index9 < groupLen9;index9++){
_col = (com.iq.resuelve.co.b4xtable._b4xtablecolumn)(group9.Get(index9));
 //BA.debugLineNum = 786;BA.debugLine="col.Sortable = False";
_col.Sortable /*boolean*/  = anywheresoftware.b4a.keywords.Common.False;
 //BA.debugLineNum = 787;BA.debugLine="col.Width = 100%x / NumberOfColumns";
_col.Width /*int*/  = (int) (anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),mostCurrent.activityBA)/(double)_numberofcolumns);
 //BA.debugLineNum = 788;BA.debugLine="For i = 0 To col.CellsLayouts.Size - 1";
{
final int step12 = 1;
final int limit12 = (int) (_col.CellsLayouts /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1);
_i = (int) (0) ;
for (;_i <= limit12 ;_i = _i + step12 ) {
 //BA.debugLineNum = 789;BA.debugLine="Dim pnl As B4XView = col.CellsLayouts.Get(i)";
_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper();
_pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_col.CellsLayouts /*anywheresoftware.b4a.objects.collections.List*/ .Get(_i)));
 //BA.debugLineNum = 790;BA.debugLine="pnl.GetView(0).Visible = False 'hide the label";
_pnl.GetView((int) (0)).setVisible(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 791;BA.debugLine="If i > 0 Then 'i = 0 is the header";
if (_i>0) { 
 //BA.debugLineNum = 792;BA.debugLine="Dim iv As ImageView";
_iv = new anywheresoftware.b4a.objects.ImageViewWrapper();
 //BA.debugLineNum = 793;BA.debugLine="iv.Initialize(\"\")";
_iv.Initialize(mostCurrent.activityBA,"");
 //BA.debugLineNum = 794;BA.debugLine="pnl.AddView(iv, 2dip, 2dip, col.Width - 4dip,";
_pnl.AddView((android.view.View)(_iv.getObject()),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (2)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (2)),(int) (_col.Width /*int*/ -anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (4))),(int) (mostCurrent._b4xtable1._rowheight /*int*/ -anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (4))));
 };
 }
};
 }
};
 //BA.debugLineNum = 798;BA.debugLine="LoadData(Files)";
_loaddata(_files);
 //BA.debugLineNum = 799;BA.debugLine="B4XTable1.mBase.Visible = True";
mostCurrent._b4xtable1._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 800;BA.debugLine="End Sub";
return "";
}
public static String  _desabilitar_editar() throws Exception{
 //BA.debugLineNum = 480;BA.debugLine="Sub Desabilitar_Editar";
 //BA.debugLineNum = 486;BA.debugLine="B4XFloatTextField_cedula.TextField.Enabled = Fals";
mostCurrent._b4xfloattextfield_cedula._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().setEnabled(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 497;BA.debugLine="End Sub";
return "";
}
public static String  _executeremotequery(String _query,String _jobname) throws Exception{
 //BA.debugLineNum = 283;BA.debugLine="Sub ExecuteRemoteQuery(Query As String, JobName As";
 //BA.debugLineNum = 284;BA.debugLine="Starter.LoadData(Query,JobName)";
mostCurrent._starter._loaddata /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (_query,_jobname);
 //BA.debugLineNum = 285;BA.debugLine="End Sub";
return "";
}
public static String  _findpictures1() throws Exception{
 //BA.debugLineNum = 741;BA.debugLine="Sub FindPictures1";
 //BA.debugLineNum = 742;BA.debugLine="CC.Show(\"image/*\", \"Choose image\")";
_cc.Show(processBA,"image/*","Choose image");
 //BA.debugLineNum = 744;BA.debugLine="End Sub";
return "";
}
public static String  _globals() throws Exception{
 //BA.debugLineNum = 19;BA.debugLine="Sub Globals";
 //BA.debugLineNum = 20;BA.debugLine="Dim IME As IME";
mostCurrent._ime = new anywheresoftware.b4a.objects.IME();
 //BA.debugLineNum = 21;BA.debugLine="Private ACToolBarLight1 As ACToolBarLight";
mostCurrent._actoolbarlight1 = new de.amberhome.objects.appcompat.ACToolbarLightWrapper();
 //BA.debugLineNum = 22;BA.debugLine="Private ToolbarHelper As ACActionBar";
mostCurrent._toolbarhelper = new de.amberhome.objects.appcompat.ACActionBar();
 //BA.debugLineNum = 23;BA.debugLine="Private xui As XUI";
mostCurrent._xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
 //BA.debugLineNum = 24;BA.debugLine="Private CLV_SMS As CustomListView";
mostCurrent._clv_sms = new b4a.example3.customlistview();
 //BA.debugLineNum = 25;BA.debugLine="Private B4XFloatTextField_telefono As B4XFloatTex";
mostCurrent._b4xfloattextfield_telefono = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 26;BA.debugLine="Private ASRatingBar1 As ASRatingBar";
mostCurrent._asratingbar1 = new com.iq.resuelve.co.asratingbar();
 //BA.debugLineNum = 27;BA.debugLine="Private ScrollView1 As ScrollView";
mostCurrent._scrollview1 = new anywheresoftware.b4a.objects.ScrollViewWrapper();
 //BA.debugLineNum = 28;BA.debugLine="Private Label_mensaje As Label";
mostCurrent._label_mensaje = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 30;BA.debugLine="Private B4XComboBox_nacionalidad As B4XComboBox";
mostCurrent._b4xcombobox_nacionalidad = new com.iq.resuelve.co.b4xcombobox();
 //BA.debugLineNum = 31;BA.debugLine="Private B4XFloatTextField_apellido As B4XFloatTex";
mostCurrent._b4xfloattextfield_apellido = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 32;BA.debugLine="Private B4XFloatTextField_cargo As B4XFloatTextFi";
mostCurrent._b4xfloattextfield_cargo = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 33;BA.debugLine="Private B4XFloatTextField_cedula As B4XFloatTextF";
mostCurrent._b4xfloattextfield_cedula = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 34;BA.debugLine="Private B4XFloatTextField_celular As B4XFloatText";
mostCurrent._b4xfloattextfield_celular = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 35;BA.debugLine="Private B4XFloatTextField_ciud_residencia As B4XF";
mostCurrent._b4xfloattextfield_ciud_residencia = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 36;BA.debugLine="Private B4XFloatTextField_dir_trabajo As B4XFloat";
mostCurrent._b4xfloattextfield_dir_trabajo = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 37;BA.debugLine="Private B4XFloatTextField_direccion As B4XFloatTe";
mostCurrent._b4xfloattextfield_direccion = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 38;BA.debugLine="Private B4XFloatTextField_email As B4XFloatTextFi";
mostCurrent._b4xfloattextfield_email = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 39;BA.debugLine="Private B4XFloatTextField_empresa As B4XFloatText";
mostCurrent._b4xfloattextfield_empresa = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 40;BA.debugLine="Private B4XFloatTextField_nombre As B4XFloatTextF";
mostCurrent._b4xfloattextfield_nombre = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 41;BA.debugLine="Private B4XFloatTextField_num_fijo As B4XFloatTex";
mostCurrent._b4xfloattextfield_num_fijo = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 42;BA.debugLine="Private B4XFloatTextField_parentesco As B4XFloatT";
mostCurrent._b4xfloattextfield_parentesco = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 43;BA.debugLine="Private Button_aceptar As Button";
mostCurrent._button_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 47;BA.debugLine="Private datos_codeudor_listo = 0 As Int";
_datos_codeudor_listo = (int) (0);
 //BA.debugLineNum = 48;BA.debugLine="Private datos_familiar_listo = 0 As Int";
_datos_familiar_listo = (int) (0);
 //BA.debugLineNum = 50;BA.debugLine="Private Alerter1 As Alerter";
mostCurrent._alerter1 = new com.pendrush.alerter.wrapper.AlerterWrapProper();
 //BA.debugLineNum = 51;BA.debugLine="Private timer1 As Timer";
mostCurrent._timer1 = new anywheresoftware.b4a.objects.Timer();
 //BA.debugLineNum = 53;BA.debugLine="Private Button_guardar As Button";
mostCurrent._button_guardar = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 54;BA.debugLine="Private B4XFloatTextField_parentesco As B4XFloatT";
mostCurrent._b4xfloattextfield_parentesco = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 55;BA.debugLine="Private Spinner_ciudad As Spinner";
mostCurrent._spinner_ciudad = new anywheresoftware.b4a.objects.SpinnerWrapper();
 //BA.debugLineNum = 56;BA.debugLine="Private map_ciudades As Map";
mostCurrent._map_ciudades = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 57;BA.debugLine="Private map_posic_ciudades As Map";
mostCurrent._map_posic_ciudades = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 58;BA.debugLine="Private Label_foto_cedula As Label";
mostCurrent._label_foto_cedula = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 59;BA.debugLine="Private ImageView_upload As ImageView";
mostCurrent._imageview_upload = new anywheresoftware.b4a.objects.ImageViewWrapper();
 //BA.debugLineNum = 60;BA.debugLine="Private Label_foto As Label";
mostCurrent._label_foto = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 61;BA.debugLine="Private Label4_Biblioteca As Label";
mostCurrent._label4_biblioteca = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 62;BA.debugLine="Private ImageView1 As ImageView";
mostCurrent._imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper();
 //BA.debugLineNum = 65;BA.debugLine="Private xui As XUI";
mostCurrent._xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
 //BA.debugLineNum = 66;BA.debugLine="Private B4XTable1 As B4XTable";
mostCurrent._b4xtable1 = new com.iq.resuelve.co.b4xtable();
 //BA.debugLineNum = 67;BA.debugLine="Private Dialog As B4XDialog";
mostCurrent._dialog = new com.iq.resuelve.co.b4xdialog();
 //BA.debugLineNum = 68;BA.debugLine="Private btnPrev As Button";
mostCurrent._btnprev = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 69;BA.debugLine="Private btnNext As Button";
mostCurrent._btnnext = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 70;BA.debugLine="Private Dialog As B4XDialog";
mostCurrent._dialog = new com.iq.resuelve.co.b4xdialog();
 //BA.debugLineNum = 71;BA.debugLine="Private Panel_tabla As Panel";
mostCurrent._panel_tabla = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 72;BA.debugLine="Private nombrefoto As String";
mostCurrent._nombrefoto = "";
 //BA.debugLineNum = 73;BA.debugLine="Private const tempImageFile As String = \"tempimag";
mostCurrent._tempimagefile = "tempimage.jpg";
 //BA.debugLineNum = 74;BA.debugLine="Private imagentemp As Bitmap";
mostCurrent._imagentemp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
 //BA.debugLineNum = 75;BA.debugLine="Private ImageView2 As ImageView";
mostCurrent._imageview2 = new anywheresoftware.b4a.objects.ImageViewWrapper();
 //BA.debugLineNum = 76;BA.debugLine="Private Button_guarda_foto As Button";
mostCurrent._button_guarda_foto = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 77;BA.debugLine="Private Button_upload_foto As Button";
mostCurrent._button_upload_foto = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 78;BA.debugLine="Private Button_ImageView_upload As Button";
mostCurrent._button_imageview_upload = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 79;BA.debugLine="Private Button_ImageView1 As Button";
mostCurrent._button_imageview1 = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 80;BA.debugLine="Private Button_Galeria As Button";
mostCurrent._button_galeria = new anywheresoftware.b4a.objects.ButtonWrapper();
 //BA.debugLineNum = 82;BA.debugLine="Private id_credito_aux As String";
mostCurrent._id_credito_aux = "";
 //BA.debugLineNum = 83;BA.debugLine="Private B4XFloatTextField_fecha As B4XFloatTextFi";
mostCurrent._b4xfloattextfield_fecha = new com.iq.resuelve.co.b4xfloattextfield();
 //BA.debugLineNum = 84;BA.debugLine="Private Label17_calen As Label";
mostCurrent._label17_calen = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 85;BA.debugLine="End Sub";
return "";
}
public static String  _guardar() throws Exception{
long _fecha_nac = 0L;
String _aux_ciudad = "";
 //BA.debugLineNum = 612;BA.debugLine="Sub Guardar";
 //BA.debugLineNum = 614;BA.debugLine="ProgressDialogShow2(\"Guardando...\",False)";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow2(mostCurrent.activityBA,BA.ObjectToCharSequence("Guardando..."),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 616;BA.debugLine="Dim fecha_nac = DateTime.DateParse(B4XFloatTextF";
_fecha_nac = (long) (anywheresoftware.b4a.keywords.Common.DateTime.DateParse(mostCurrent._b4xfloattextfield_fecha._gettext /*String*/ ())/(double)1000);
 //BA.debugLineNum = 617;BA.debugLine="Dim aux_ciudad = Main.id_ciudad_publica + 1   As";
_aux_ciudad = BA.NumberToString((double)(Double.parseDouble(mostCurrent._main._id_ciudad_publica /*String*/ ))+1);
 //BA.debugLineNum = 619;BA.debugLine="ExecuteRemoteQuery($\"REPLACE INTO rt_familiar (";
_executeremotequery(("REPLACE INTO rt_familiar (\n"+"												id_familiar,\n"+"												id_cliente,\n"+"												c_nombre_familiar,\n"+"												c_apellido_familiar,\n"+"												c_correo_familiar,\n"+"												c_cedula,\n"+"												d_fecha_nacimiento,\n"+"												c_ciudad_residencia,\n"+"												c_direccion_residencia,\n"+"												c_direccion_trabajo,\n"+"												c_empresa,\n"+"												c_cargo,\n"+"												c_celular,\n"+"												c_telefono_residencia,\n"+"												c_parentesco,\n"+"												id_credito_solicitado)\n"+"												VALUES\n"+"													(\n"+"													DEFAULT,\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._ingreso._id_usuario /*int*/ ))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_nombre._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_apellido._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_email._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fecha_nac))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_aux_ciudad))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_direccion._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_dir_trabajo._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_empresa._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_cargo._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_celular._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_num_fijo._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xfloattextfield_parentesco._gettext /*String*/ ().trim()))+"',\n"+"		'"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._id_credito_aux))+"' )"),_guardardatos);
 //BA.debugLineNum = 657;BA.debugLine="End Sub";
return "";
}
public static String  _imageview_upload_click() throws Exception{
 //BA.debugLineNum = 690;BA.debugLine="Sub ImageView_upload_Click";
 //BA.debugLineNum = 691;BA.debugLine="If B4XFloatTextField_cedula.Text=\"\" Then";
if ((mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ()).equals("")) { 
 //BA.debugLineNum = 692;BA.debugLine="B4XFloatTextField_cedula.RequestFocusAndShowKeyb";
mostCurrent._b4xfloattextfield_cedula._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 693;BA.debugLine="ToastMessageShow(\"Debe Incluir la Cedula\",False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Incluir la Cedula"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 694;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 696;BA.debugLine="INGRESO.CEDULA_N = B4XFloatTextField_cedula.Text.";
mostCurrent._ingreso._cedula_n /*String*/  = mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ().trim();
 //BA.debugLineNum = 697;BA.debugLine="StartActivity(FOTO_FAMILIAR)";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._foto_familiar.getObject()));
 //BA.debugLineNum = 698;BA.debugLine="End Sub";
return "";
}
public static String  _imageview1_click() throws Exception{
 //BA.debugLineNum = 725;BA.debugLine="Sub ImageView1_Click";
 //BA.debugLineNum = 726;BA.debugLine="nombrefoto = \"F_\"&INGRESO.CEDULA_N&\"_foto.jpg\"";
mostCurrent._nombrefoto = "F_"+mostCurrent._ingreso._cedula_n /*String*/ +"_foto.jpg";
 //BA.debugLineNum = 727;BA.debugLine="ProgressDialogShow(\"Cargando las imagenes\")";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Cargando las imagenes"));
 //BA.debugLineNum = 728;BA.debugLine="ToolbarHelper.Title = \"Selecciona una Imagen\"";
mostCurrent._toolbarhelper.setTitle(BA.ObjectToCharSequence("Selecciona una Imagen"));
 //BA.debugLineNum = 729;BA.debugLine="ToolbarHelper.Subtitle = \"Fotografia del Familiar";
mostCurrent._toolbarhelper.setSubtitle(BA.ObjectToCharSequence("Fotografia del Familiar"));
 //BA.debugLineNum = 730;BA.debugLine="Label_mensaje.Text = \"\"";
mostCurrent._label_mensaje.setText(BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 731;BA.debugLine="Panel_tabla.Visible = True";
mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 732;BA.debugLine="FindPictures1";
_findpictures1();
 //BA.debugLineNum = 733;BA.debugLine="End Sub";
return "";
}
public static boolean  _isemail(String _emailaddress) throws Exception{
anywheresoftware.b4a.keywords.Regex.MatcherWrapper _matchemail = null;
 //BA.debugLineNum = 658;BA.debugLine="Sub IsEmail(EmailAddress As String) As Boolean";
 //BA.debugLineNum = 659;BA.debugLine="Dim MatchEmail As Matcher = Regex.Matcher(\"^(?i)[";
_matchemail = new anywheresoftware.b4a.keywords.Regex.MatcherWrapper();
_matchemail = anywheresoftware.b4a.keywords.Common.Regex.Matcher("^(?i)[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])$",_emailaddress);
 //BA.debugLineNum = 660;BA.debugLine="If MatchEmail.Find = True Then";
if (_matchemail.Find()==anywheresoftware.b4a.keywords.Common.True) { 
 //BA.debugLineNum = 661;BA.debugLine="Log(MatchEmail.Match)";
anywheresoftware.b4a.keywords.Common.LogImpl("619333123",_matchemail.getMatch(),0);
 //BA.debugLineNum = 663;BA.debugLine="Return True";
if (true) return anywheresoftware.b4a.keywords.Common.True;
 }else {
 //BA.debugLineNum = 665;BA.debugLine="Log(\"Oops, please double check your email addres";
anywheresoftware.b4a.keywords.Common.LogImpl("619333127","Oops, please double check your email address",0);
 //BA.debugLineNum = 666;BA.debugLine="Return False";
if (true) return anywheresoftware.b4a.keywords.Common.False;
 };
 //BA.debugLineNum = 668;BA.debugLine="End Sub";
return false;
}
public static String  _label_foto_click() throws Exception{
 //BA.debugLineNum = 700;BA.debugLine="Sub Label_foto_Click";
 //BA.debugLineNum = 701;BA.debugLine="If B4XFloatTextField_cedula.Text=\"\" Then";
if ((mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ()).equals("")) { 
 //BA.debugLineNum = 702;BA.debugLine="B4XFloatTextField_cedula.RequestFocusAndShowKeyb";
mostCurrent._b4xfloattextfield_cedula._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 703;BA.debugLine="ToastMessageShow(\"Debe Incluir la Cedula\",False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Incluir la Cedula"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 704;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 706;BA.debugLine="INGRESO.CEDULA_N = B4XFloatTextField_cedula.Text.";
mostCurrent._ingreso._cedula_n /*String*/  = mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ().trim();
 //BA.debugLineNum = 707;BA.debugLine="StartActivity(FOTO_FAMILIAR)";
anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(mostCurrent._foto_familiar.getObject()));
 //BA.debugLineNum = 708;BA.debugLine="End Sub";
return "";
}
public static String  _label17_calen_click() throws Exception{
anywheresoftware.b4a.agraham.dialogs2.InputDialog.DateDialog _dd = null;
long _datex = 0L;
int _ret = 0;
 //BA.debugLineNum = 1038;BA.debugLine="Private Sub Label17_calen_Click";
 //BA.debugLineNum = 1040;BA.debugLine="Dim Dd As DateDialog";
_dd = new anywheresoftware.b4a.agraham.dialogs2.InputDialog.DateDialog();
 //BA.debugLineNum = 1041;BA.debugLine="Dim DateX As Long = DateTime.DateParse(B4XFloatTe";
_datex = anywheresoftware.b4a.keywords.Common.DateTime.DateParse(mostCurrent._b4xfloattextfield_fecha._gettext /*String*/ ());
 //BA.debugLineNum = 1042;BA.debugLine="Dd.Year = DateTime.GetYear(DateX)";
_dd.setYear(anywheresoftware.b4a.keywords.Common.DateTime.GetYear(_datex));
 //BA.debugLineNum = 1043;BA.debugLine="Dd.Month = DateTime.GetMonth(DateX)";
_dd.setMonth(anywheresoftware.b4a.keywords.Common.DateTime.GetMonth(_datex));
 //BA.debugLineNum = 1044;BA.debugLine="Dd.DayOfMonth = DateTime.GetDayOfMonth(DateX)";
_dd.setDayOfMonth(anywheresoftware.b4a.keywords.Common.DateTime.GetDayOfMonth(_datex));
 //BA.debugLineNum = 1045;BA.debugLine="Dim ret As Int";
_ret = 0;
 //BA.debugLineNum = 1046;BA.debugLine="ret = Dd.Show(\"Fecha de Nacimiento\", \"Fecha\", \"OK";
_ret = _dd.Show("Fecha de Nacimiento","Fecha","OK","Cancel","",mostCurrent.activityBA,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null));
 //BA.debugLineNum = 1047;BA.debugLine="Log(Dd.Month)";
anywheresoftware.b4a.keywords.Common.LogImpl("621102601",BA.NumberToString(_dd.getMonth()),0);
 //BA.debugLineNum = 1049;BA.debugLine="B4XFloatTextField_fecha.Text =$\"${Dd.DayOfMonth}/";
mostCurrent._b4xfloattextfield_fecha._settext /*String*/ ((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dd.getDayOfMonth()))+"/"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dd.getMonth()))+"/"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dd.getYear()))+""));
 //BA.debugLineNum = 1050;BA.debugLine="End Sub";
return "";
}
public static String  _label4_biblioteca_click() throws Exception{
 //BA.debugLineNum = 710;BA.debugLine="Sub Label4_Biblioteca_Click";
 //BA.debugLineNum = 711;BA.debugLine="If B4XFloatTextField_cedula.Text=\"\" Then";
if ((mostCurrent._b4xfloattextfield_cedula._gettext /*String*/ ()).equals("")) { 
 //BA.debugLineNum = 712;BA.debugLine="B4XFloatTextField_cedula.RequestFocusAndShowKeyb";
mostCurrent._b4xfloattextfield_cedula._requestfocusandshowkeyboard /*String*/ ();
 //BA.debugLineNum = 713;BA.debugLine="ToastMessageShow(\"Debe Incluir la Cedula\",False)";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Incluir la Cedula"),anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 714;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 716;BA.debugLine="nombrefoto = \"F_\"&INGRESO.CEDULA_N&\"_foto.jpg\"";
mostCurrent._nombrefoto = "F_"+mostCurrent._ingreso._cedula_n /*String*/ +"_foto.jpg";
 //BA.debugLineNum = 717;BA.debugLine="ProgressDialogShow(\"Cargando las imagenes\")";
anywheresoftware.b4a.keywords.Common.ProgressDialogShow(mostCurrent.activityBA,BA.ObjectToCharSequence("Cargando las imagenes"));
 //BA.debugLineNum = 718;BA.debugLine="ToolbarHelper.Title = \"Selecciona una Imagen\"";
mostCurrent._toolbarhelper.setTitle(BA.ObjectToCharSequence("Selecciona una Imagen"));
 //BA.debugLineNum = 719;BA.debugLine="ToolbarHelper.Subtitle =\"Fotografia del Familiar\"";
mostCurrent._toolbarhelper.setSubtitle(BA.ObjectToCharSequence("Fotografia del Familiar"));
 //BA.debugLineNum = 720;BA.debugLine="Label_mensaje.Text =\"\"";
mostCurrent._label_mensaje.setText(BA.ObjectToCharSequence(""));
 //BA.debugLineNum = 721;BA.debugLine="Panel_tabla.Visible = True";
mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 722;BA.debugLine="FindPictures1";
_findpictures1();
 //BA.debugLineNum = 723;BA.debugLine="End Sub";
return "";
}
public static void  _loaddata(anywheresoftware.b4a.objects.collections.List _files) throws Exception{
ResumableSub_LoadData rsub = new ResumableSub_LoadData(null,_files);
rsub.resume(processBA, null);
}
public static class ResumableSub_LoadData extends BA.ResumableSub {
public ResumableSub_LoadData(com.iq.resuelve.co.familiar parent,anywheresoftware.b4a.objects.collections.List _files) {
this.parent = parent;
this._files = _files;
}
com.iq.resuelve.co.familiar parent;
anywheresoftware.b4a.objects.collections.List _files;
anywheresoftware.b4a.objects.collections.List _data = null;
Object[] _row = null;
int _index = 0;
String _f = "";
int _i = 0;
anywheresoftware.b4a.BA.IterableList group5;
int index5;
int groupLen5;
int step17;
int limit17;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = 1;
 //BA.debugLineNum = 803;BA.debugLine="Dim Data As List";
_data = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 804;BA.debugLine="Data.Initialize";
_data.Initialize();
 //BA.debugLineNum = 805;BA.debugLine="Dim row(NumberOfColumns) As Object";
_row = new Object[parent._numberofcolumns];
{
int d0 = _row.length;
for (int i0 = 0;i0 < d0;i0++) {
_row[i0] = new Object();
}
}
;
 //BA.debugLineNum = 806;BA.debugLine="Dim index As Int = -1";
_index = (int) (-1);
 //BA.debugLineNum = 807;BA.debugLine="For Each f As String In Files";
if (true) break;

case 1:
//for
this.state = 12;
group5 = _files;
index5 = 0;
groupLen5 = group5.getSize();
this.state = 20;
if (true) break;

case 20:
//C
this.state = 12;
if (index5 < groupLen5) {
this.state = 3;
_f = BA.ObjectToString(group5.Get(index5));}
if (true) break;

case 21:
//C
this.state = 20;
index5++;
if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 808;BA.debugLine="If f.EndsWith(\".jpg\") Or f.EndsWith(\".png\") Then";
if (true) break;

case 4:
//if
this.state = 11;
if (_f.endsWith(".jpg") || _f.endsWith(".png")) { 
this.state = 6;
}if (true) break;

case 6:
//C
this.state = 7;
 //BA.debugLineNum = 809;BA.debugLine="index = (index + 1) Mod NumberOfColumns";
_index = (int) ((_index+1)%parent._numberofcolumns);
 //BA.debugLineNum = 810;BA.debugLine="row(index) = f";
_row[_index] = (Object)(_f);
 //BA.debugLineNum = 811;BA.debugLine="If index = NumberOfColumns - 1 Then";
if (true) break;

case 7:
//if
this.state = 10;
if (_index==parent._numberofcolumns-1) { 
this.state = 9;
}if (true) break;

case 9:
//C
this.state = 10;
 //BA.debugLineNum = 812;BA.debugLine="Data.Add(row)";
_data.Add((Object)(_row));
 //BA.debugLineNum = 813;BA.debugLine="Dim row(NumberOfColumns) As Object";
_row = new Object[parent._numberofcolumns];
{
int d0 = _row.length;
for (int i0 = 0;i0 < d0;i0++) {
_row[i0] = new Object();
}
}
;
 if (true) break;

case 10:
//C
this.state = 11;
;
 //BA.debugLineNum = 815;BA.debugLine="Sleep(0)";
anywheresoftware.b4a.keywords.Common.Sleep(mostCurrent.activityBA,this,(int) (0));
this.state = 22;
return;
case 22:
//C
this.state = 11;
;
 if (true) break;

case 11:
//C
this.state = 21;
;
 if (true) break;
if (true) break;
;
 //BA.debugLineNum = 818;BA.debugLine="If index < NumberOfColumns - 1 Then";

case 12:
//if
this.state = 19;
if (_index<parent._numberofcolumns-1) { 
this.state = 14;
}if (true) break;

case 14:
//C
this.state = 15;
 //BA.debugLineNum = 820;BA.debugLine="For i = index + 1 To NumberOfColumns - 1";
if (true) break;

case 15:
//for
this.state = 18;
step17 = 1;
limit17 = (int) (parent._numberofcolumns-1);
_i = (int) (_index+1) ;
this.state = 23;
if (true) break;

case 23:
//C
this.state = 18;
if ((step17 > 0 && _i <= limit17) || (step17 < 0 && _i >= limit17)) this.state = 17;
if (true) break;

case 24:
//C
this.state = 23;
_i = ((int)(0 + _i + step17)) ;
if (true) break;

case 17:
//C
this.state = 24;
 //BA.debugLineNum = 821;BA.debugLine="row(i) = \"\"";
_row[_i] = (Object)("");
 if (true) break;
if (true) break;

case 18:
//C
this.state = 19;
;
 //BA.debugLineNum = 823;BA.debugLine="Data.Add(row)";
_data.Add((Object)(_row));
 if (true) break;

case 19:
//C
this.state = -1;
;
 //BA.debugLineNum = 825;BA.debugLine="B4XTable1.SetData(Data)";
parent.mostCurrent._b4xtable1._setdata /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (_data);
 //BA.debugLineNum = 827;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public static String  _mostrar_datos() throws Exception{
 //BA.debugLineNum = 260;BA.debugLine="Sub mostrar_datos";
 //BA.debugLineNum = 261;BA.debugLine="ExecuteRemoteQuery($\"SELECT 							rt_familiar.id";
_executeremotequery(("SELECT\n"+"							rt_familiar.id_familiar,\n"+"							rt_familiar.id_cliente,\n"+"							rt_familiar.c_nombre_familiar,\n"+"							rt_familiar.c_apellido_familiar,\n"+"							rt_familiar.c_correo_familiar,\n"+"							rt_familiar.c_cedula,\n"+"							rt_familiar.d_fecha_nacimiento,\n"+"							rt_familiar.c_ciudad_residencia,\n"+"							rt_familiar.c_direccion_residencia,\n"+"							rt_familiar.c_direccion_trabajo,\n"+"							rt_familiar.c_empresa,\n"+"							rt_familiar.c_cargo,\n"+"							rt_familiar.c_celular,\n"+"							rt_familiar.c_telefono_residencia,\n"+"							rt_familiar.c_parentesco\n"+"							FROM\n"+"							rt_familiar\n"+"							WHERE\n"+"							rt_familiar.id_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._ingreso._id_usuario /*int*/ ))+"'"),_datosusuario);
 //BA.debugLineNum = 281;BA.debugLine="End Sub";
return "";
}
public static String  _process_globals() throws Exception{
 //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals";
 //BA.debugLineNum = 7;BA.debugLine="Private GUARDARDATOS =\"guardar,FAMILIAR\" As Strin";
_guardardatos = "guardar,FAMILIAR";
 //BA.debugLineNum = 8;BA.debugLine="Private DATOSUSUARIO =\"datosUsuarios,FAMILIAR\" As";
_datosusuario = "datosUsuarios,FAMILIAR";
 //BA.debugLineNum = 9;BA.debugLine="Private CIUDADES =\"ciudades,FAMILIAR\" As String";
_ciudades = "ciudades,FAMILIAR";
 //BA.debugLineNum = 10;BA.debugLine="Private ID_CREDITO_SOLIC =\"id_credi,FAMILIAR\" As";
_id_credito_solic = "id_credi,FAMILIAR";
 //BA.debugLineNum = 12;BA.debugLine="Private kvs As KeyValueStore";
_kvs = new com.iq.resuelve.co.keyvaluestore();
 //BA.debugLineNum = 13;BA.debugLine="Private NumberOfColumns As Int = 4";
_numberofcolumns = (int) (4);
 //BA.debugLineNum = 14;BA.debugLine="Private BUSCAR_ID =\"buscarid,FAMILIAR\" As String";
_buscar_id = "buscarid,FAMILIAR";
 //BA.debugLineNum = 15;BA.debugLine="Dim CC As ContentChooser 'Phone Library";
_cc = new anywheresoftware.b4a.phone.Phone.ContentChooser();
 //BA.debugLineNum = 16;BA.debugLine="Public foto_perfil_familiar_lista =0 As Int";
_foto_perfil_familiar_lista = (int) (0);
 //BA.debugLineNum = 17;BA.debugLine="End Sub";
return "";
}
public static anywheresoftware.b4a.keywords.Common.ResumableSubWrapper  _processdata(String _res,com.iq.resuelve.co.httpjob _job) throws Exception{
ResumableSub_ProcessData rsub = new ResumableSub_ProcessData(null,_res,_job);
rsub.resume(processBA, null);
return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub);
}
public static class ResumableSub_ProcessData extends BA.ResumableSub {
public ResumableSub_ProcessData(com.iq.resuelve.co.familiar parent,String _res,com.iq.resuelve.co.httpjob _job) {
this.parent = parent;
this._res = _res;
this._job = _job;
}
com.iq.resuelve.co.familiar parent;
String _res;
com.iq.resuelve.co.httpjob _job;
int _ubica = 0;
String _strvar = "";
ADR.stringdemo.stringfunctions _sf = null;
anywheresoftware.b4a.objects.collections.JSONParser _parser = null;
anywheresoftware.b4a.objects.collections.List _datos = null;
int _i = 0;
anywheresoftware.b4a.objects.collections.Map _m = null;
String _ciudad = "";
String _id_ciudad = "";
int _aux = 0;
int step57;
int limit57;
int step88;
int limit88;
int step108;
int limit108;
int step120;
int limit120;

@Override
public void resume(BA ba, Object[] result) throws Exception{

    while (true) {
        switch (state) {
            case -1:
{
anywheresoftware.b4a.keywords.Common.ReturnFromResumableSub(this,null);return;}
case 0:
//C
this.state = 1;
 //BA.debugLineNum = 340;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 341;BA.debugLine="If job.JobName=\"sendImgJob\" Then";
if (true) break;

case 1:
//if
this.state = 4;
if ((_job._jobname /*String*/ ).equals("sendImgJob")) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 342;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 343;BA.debugLine="Log(\"FOTO ENVIADA\")";
anywheresoftware.b4a.keywords.Common.LogImpl("619005444","FOTO ENVIADA",0);
 //BA.debugLineNum = 344;BA.debugLine="Log(job.GetString2(\"Windows-1252\"))";
anywheresoftware.b4a.keywords.Common.LogImpl("619005445",_job._getstring2 /*String*/ ("Windows-1252"),0);
 //BA.debugLineNum = 345;BA.debugLine="job.Release";
_job._release /*String*/ ();
 //BA.debugLineNum = 346;BA.debugLine="foto_perfil_familiar_lista = 1";
parent._foto_perfil_familiar_lista = (int) (1);
 //BA.debugLineNum = 347;BA.debugLine="kvs.Put(\"foto_perfil_familiar_lista\",\"1\")";
parent._kvs._put /*String*/ ("foto_perfil_familiar_lista",(Object)("1"));
 //BA.debugLineNum = 348;BA.debugLine="btnShowAlertFOTO_Click";
_btnshowalertfoto_click();
 //BA.debugLineNum = 349;BA.debugLine="job.Release";
_job._release /*String*/ ();
 //BA.debugLineNum = 350;BA.debugLine="Return";
if (true) {
anywheresoftware.b4a.keywords.Common.ReturnFromResumableSub(this,null);return;};
 if (true) break;
;
 //BA.debugLineNum = 352;BA.debugLine="If job.JobName=\"sendImgJob1\" Then";

case 4:
//if
this.state = 7;
if ((_job._jobname /*String*/ ).equals("sendImgJob1")) { 
this.state = 6;
}if (true) break;

case 6:
//C
this.state = 7;
 //BA.debugLineNum = 353;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 354;BA.debugLine="Log(\"FOTO ENVIADA\")";
anywheresoftware.b4a.keywords.Common.LogImpl("619005455","FOTO ENVIADA",0);
 //BA.debugLineNum = 355;BA.debugLine="Log(job.GetString2(\"Windows-1252\"))";
anywheresoftware.b4a.keywords.Common.LogImpl("619005456",_job._getstring2 /*String*/ ("Windows-1252"),0);
 //BA.debugLineNum = 356;BA.debugLine="job.Release";
_job._release /*String*/ ();
 //BA.debugLineNum = 357;BA.debugLine="foto_perfil_familiar_lista = 1";
parent._foto_perfil_familiar_lista = (int) (1);
 //BA.debugLineNum = 358;BA.debugLine="kvs.Put(\"foto_perfil_familiar_lista\",\"1\")";
parent._kvs._put /*String*/ ("foto_perfil_familiar_lista",(Object)("1"));
 //BA.debugLineNum = 359;BA.debugLine="btnShowAlertFOTO_Click";
_btnshowalertfoto_click();
 //BA.debugLineNum = 360;BA.debugLine="job.Release";
_job._release /*String*/ ();
 //BA.debugLineNum = 361;BA.debugLine="Panel_tabla.Visible = False";
parent.mostCurrent._panel_tabla.setVisible(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 362;BA.debugLine="Return";
if (true) {
anywheresoftware.b4a.keywords.Common.ReturnFromResumableSub(this,null);return;};
 if (true) break;
;
 //BA.debugLineNum = 364;BA.debugLine="If job.Success Then";

case 7:
//if
this.state = 66;
if (_job._success /*boolean*/ ) { 
this.state = 9;
}else {
this.state = 65;
}if (true) break;

case 9:
//C
this.state = 10;
 //BA.debugLineNum = 365;BA.debugLine="Dim ubica As Int";
_ubica = 0;
 //BA.debugLineNum = 366;BA.debugLine="Dim strVar As String";
_strvar = "";
 //BA.debugLineNum = 367;BA.debugLine="Dim sf As StringFunctions";
_sf = new ADR.stringdemo.stringfunctions();
 //BA.debugLineNum = 368;BA.debugLine="ubica = res.IndexOf(\"[\")";
_ubica = _res.indexOf("[");
 //BA.debugLineNum = 369;BA.debugLine="sf.Initialize";
_sf._initialize(processBA);
 //BA.debugLineNum = 370;BA.debugLine="strVar = sf.Left(res,ubica)";
_strvar = _sf._vvv3(_res,(long) (_ubica));
 //BA.debugLineNum = 371;BA.debugLine="res= res.Replace (strVar, \"\")";
_res = _res.replace(_strvar,"");
 //BA.debugLineNum = 372;BA.debugLine="Log(\"Response from server: \" & res)";
anywheresoftware.b4a.keywords.Common.LogImpl("619005473","Response from server: "+_res,0);
 //BA.debugLineNum = 373;BA.debugLine="Select job.JobName";
if (true) break;

case 10:
//select
this.state = 63;
switch (BA.switchObjectToInt(_job._jobname /*String*/ ,parent._guardardatos,parent._datosusuario,parent._ciudades,parent._buscar_id,parent._id_credito_solic)) {
case 0: {
this.state = 12;
if (true) break;
}
case 1: {
this.state = 20;
if (true) break;
}
case 2: {
this.state = 32;
if (true) break;
}
case 3: {
this.state = 44;
if (true) break;
}
case 4: {
this.state = 54;
if (true) break;
}
}
if (true) break;

case 12:
//C
this.state = 13;
 //BA.debugLineNum = 375;BA.debugLine="Dim parser As JSONParser";
_parser = new anywheresoftware.b4a.objects.collections.JSONParser();
 //BA.debugLineNum = 376;BA.debugLine="parser.Initialize(res)";
_parser.Initialize(_res);
 //BA.debugLineNum = 377;BA.debugLine="Dim DATOS As List";
_datos = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 378;BA.debugLine="DATOS = parser.NextArray 'returns a list with";
_datos = _parser.NextArray();
 //BA.debugLineNum = 379;BA.debugLine="If DATOS.Size > 0 Then";
if (true) break;

case 13:
//if
this.state = 18;
if (_datos.getSize()>0) { 
this.state = 15;
}else {
this.state = 17;
}if (true) break;

case 15:
//C
this.state = 18;
 if (true) break;

case 17:
//C
this.state = 18;
 if (true) break;

case 18:
//C
this.state = 63;
;
 //BA.debugLineNum = 384;BA.debugLine="CREA_TU_PERFIL.datos_familiar_listo_reset = 1";
parent.mostCurrent._crea_tu_perfil._datos_familiar_listo_reset /*int*/  = (int) (1);
 //BA.debugLineNum = 385;BA.debugLine="timer1.Initialize(\"Timer1\", 3000)";
parent.mostCurrent._timer1.Initialize(processBA,"Timer1",(long) (3000));
 //BA.debugLineNum = 386;BA.debugLine="timer1.Enabled = True";
parent.mostCurrent._timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True);
 //BA.debugLineNum = 387;BA.debugLine="kvs.Put(\"datos_familiar_listo\",\"1\")";
parent._kvs._put /*String*/ ("datos_familiar_listo",(Object)("1"));
 //BA.debugLineNum = 388;BA.debugLine="IME.HideKeyboard";
parent.mostCurrent._ime.HideKeyboard(mostCurrent.activityBA);
 //BA.debugLineNum = 389;BA.debugLine="btnShowAlertColoured_Click";
_btnshowalertcoloured_click();
 if (true) break;

case 20:
//C
this.state = 21;
 //BA.debugLineNum = 392;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 393;BA.debugLine="Dim parser As JSONParser";
_parser = new anywheresoftware.b4a.objects.collections.JSONParser();
 //BA.debugLineNum = 394;BA.debugLine="parser.Initialize(res)";
_parser.Initialize(_res);
 //BA.debugLineNum = 395;BA.debugLine="Dim DATOS As List";
_datos = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 396;BA.debugLine="DATOS = parser.NextArray 'returns a list with";
_datos = _parser.NextArray();
 //BA.debugLineNum = 397;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 398;BA.debugLine="If DATOS.Size > 0 Then";
if (true) break;

case 21:
//if
this.state = 30;
if (_datos.getSize()>0) { 
this.state = 23;
}else {
this.state = 29;
}if (true) break;

case 23:
//C
this.state = 24;
 //BA.debugLineNum = 399;BA.debugLine="For i = 0 To DATOS.Size - 1";
if (true) break;

case 24:
//for
this.state = 27;
step57 = 1;
limit57 = (int) (_datos.getSize()-1);
_i = (int) (0) ;
this.state = 67;
if (true) break;

case 67:
//C
this.state = 27;
if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 26;
if (true) break;

case 68:
//C
this.state = 67;
_i = ((int)(0 + _i + step57)) ;
if (true) break;

case 26:
//C
this.state = 68;
 //BA.debugLineNum = 400;BA.debugLine="Dim m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 401;BA.debugLine="m = DATOS.Get(i)";
_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (anywheresoftware.b4a.objects.collections.Map.MyMap)(_datos.Get(_i)));
 //BA.debugLineNum = 402;BA.debugLine="B4XFloatTextField_nombre.Text = m.Get(\"c_nom";
parent.mostCurrent._b4xfloattextfield_nombre._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_nombre_familiar"))));
 //BA.debugLineNum = 403;BA.debugLine="B4XFloatTextField_apellido.Text = m.Get(\"c_a";
parent.mostCurrent._b4xfloattextfield_apellido._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_apellido_familiar"))));
 //BA.debugLineNum = 404;BA.debugLine="B4XFloatTextField_email.Text = m.Get(\"c_corr";
parent.mostCurrent._b4xfloattextfield_email._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_correo_familiar"))));
 //BA.debugLineNum = 405;BA.debugLine="B4XFloatTextField_cedula.Text = m.Get(\"c_ced";
parent.mostCurrent._b4xfloattextfield_cedula._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_cedula"))));
 //BA.debugLineNum = 407;BA.debugLine="DateTime.DateFormat =\"dd/MM/yyyy\"";
anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("dd/MM/yyyy");
 //BA.debugLineNum = 408;BA.debugLine="B4XFloatTextField_fecha.Text = DateTime.Date";
parent.mostCurrent._b4xfloattextfield_fecha._settext /*String*/ (anywheresoftware.b4a.keywords.Common.DateTime.Date((long) ((double)(BA.ObjectToNumber(_m.Get((Object)("d_fecha_nacimiento"))))*1000)));
 //BA.debugLineNum = 409;BA.debugLine="B4XFloatTextField_ciud_residencia.Text = m.G";
parent.mostCurrent._b4xfloattextfield_ciud_residencia._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_ciudad_residencia"))));
 //BA.debugLineNum = 410;BA.debugLine="B4XFloatTextField_direccion.Text = m.Get(\"c_";
parent.mostCurrent._b4xfloattextfield_direccion._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_direccion_residencia"))));
 //BA.debugLineNum = 411;BA.debugLine="B4XFloatTextField_dir_trabajo.Text = m.Get(\"";
parent.mostCurrent._b4xfloattextfield_dir_trabajo._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_direccion_trabajo"))));
 //BA.debugLineNum = 412;BA.debugLine="B4XFloatTextField_empresa.Text = m.Get(\"c_em";
parent.mostCurrent._b4xfloattextfield_empresa._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_empresa"))));
 //BA.debugLineNum = 413;BA.debugLine="B4XFloatTextField_cargo.Text = m.Get(\"c_carg";
parent.mostCurrent._b4xfloattextfield_cargo._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_cargo"))));
 //BA.debugLineNum = 414;BA.debugLine="B4XFloatTextField_celular.Text = m.Get(\"c_ce";
parent.mostCurrent._b4xfloattextfield_celular._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_celular"))));
 //BA.debugLineNum = 415;BA.debugLine="B4XFloatTextField_num_fijo.Text = m.Get(\"c_t";
parent.mostCurrent._b4xfloattextfield_num_fijo._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_telefono_residencia"))));
 //BA.debugLineNum = 416;BA.debugLine="B4XFloatTextField_parentesco.Text = m.Get(\"c";
parent.mostCurrent._b4xfloattextfield_parentesco._settext /*String*/ (BA.ObjectToString(_m.Get((Object)("c_parentesco"))));
 //BA.debugLineNum = 417;BA.debugLine="Desabilitar_Editar";
_desabilitar_editar();
 if (true) break;
if (true) break;

case 27:
//C
this.state = 30;
;
 if (true) break;

case 29:
//C
this.state = 30;
 if (true) break;

case 30:
//C
this.state = 63;
;
 if (true) break;

case 32:
//C
this.state = 33;
 //BA.debugLineNum = 422;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 423;BA.debugLine="Dim parser As JSONParser";
_parser = new anywheresoftware.b4a.objects.collections.JSONParser();
 //BA.debugLineNum = 424;BA.debugLine="parser.Initialize(res)";
_parser.Initialize(_res);
 //BA.debugLineNum = 425;BA.debugLine="Dim DATOS As List";
_datos = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 426;BA.debugLine="DATOS = parser.NextArray 'returns a list with";
_datos = _parser.NextArray();
 //BA.debugLineNum = 427;BA.debugLine="ProgressDialogHide";
anywheresoftware.b4a.keywords.Common.ProgressDialogHide();
 //BA.debugLineNum = 428;BA.debugLine="If DATOS.Size > 0 Then";
if (true) break;

case 33:
//if
this.state = 42;
if (_datos.getSize()>0) { 
this.state = 35;
}else {
this.state = 41;
}if (true) break;

case 35:
//C
this.state = 36;
 //BA.debugLineNum = 429;BA.debugLine="Spinner_ciudad.Clear";
parent.mostCurrent._spinner_ciudad.Clear();
 //BA.debugLineNum = 430;BA.debugLine="map_ciudades.Clear";
parent.mostCurrent._map_ciudades.Clear();
 //BA.debugLineNum = 431;BA.debugLine="For i = 0 To DATOS.Size - 1";
if (true) break;

case 36:
//for
this.state = 39;
step88 = 1;
limit88 = (int) (_datos.getSize()-1);
_i = (int) (0) ;
this.state = 69;
if (true) break;

case 69:
//C
this.state = 39;
if ((step88 > 0 && _i <= limit88) || (step88 < 0 && _i >= limit88)) this.state = 38;
if (true) break;

case 70:
//C
this.state = 69;
_i = ((int)(0 + _i + step88)) ;
if (true) break;

case 38:
//C
this.state = 70;
 //BA.debugLineNum = 432;BA.debugLine="Dim m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 433;BA.debugLine="m = DATOS.Get(i)";
_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (anywheresoftware.b4a.objects.collections.Map.MyMap)(_datos.Get(_i)));
 //BA.debugLineNum = 434;BA.debugLine="Dim ciudad = m.Get(\"nombre_ciudad\") As Strin";
_ciudad = BA.ObjectToString(_m.Get((Object)("nombre_ciudad")));
 //BA.debugLineNum = 435;BA.debugLine="Dim id_ciudad = m.Get(\"id_ciudad\") As String";
_id_ciudad = BA.ObjectToString(_m.Get((Object)("id_ciudad")));
 //BA.debugLineNum = 436;BA.debugLine="Spinner_ciudad.Add(m.Get(\"nombre_ciudad\"))";
parent.mostCurrent._spinner_ciudad.Add(BA.ObjectToString(_m.Get((Object)("nombre_ciudad"))));
 //BA.debugLineNum = 437;BA.debugLine="map_ciudades.Put(ciudad,id_ciudad)";
parent.mostCurrent._map_ciudades.Put((Object)(_ciudad),(Object)(_id_ciudad));
 //BA.debugLineNum = 438;BA.debugLine="map_posic_ciudades.Put(id_ciudad,i)";
parent.mostCurrent._map_posic_ciudades.Put((Object)(_id_ciudad),(Object)(_i));
 if (true) break;
if (true) break;

case 39:
//C
this.state = 42;
;
 if (true) break;

case 41:
//C
this.state = 42;
 if (true) break;

case 42:
//C
this.state = 63;
;
 //BA.debugLineNum = 442;BA.debugLine="Dim aux = Main.id_ciudad_publica As Int";
_aux = (int)(Double.parseDouble(parent.mostCurrent._main._id_ciudad_publica /*String*/ ));
 //BA.debugLineNum = 443;BA.debugLine="Spinner_ciudad.SelectedIndex =aux -1";
parent.mostCurrent._spinner_ciudad.setSelectedIndex((int) (_aux-1));
 //BA.debugLineNum = 444;BA.debugLine="mostrar_datos";
_mostrar_datos();
 if (true) break;

case 44:
//C
this.state = 45;
 //BA.debugLineNum = 446;BA.debugLine="Dim parser As JSONParser";
_parser = new anywheresoftware.b4a.objects.collections.JSONParser();
 //BA.debugLineNum = 447;BA.debugLine="parser.Initialize(res)";
_parser.Initialize(_res);
 //BA.debugLineNum = 448;BA.debugLine="Dim DATOS As List";
_datos = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 449;BA.debugLine="DATOS = parser.NextArray 'returns a list with";
_datos = _parser.NextArray();
 //BA.debugLineNum = 450;BA.debugLine="If DATOS.Size > 0 Then";
if (true) break;

case 45:
//if
this.state = 52;
if (_datos.getSize()>0) { 
this.state = 47;
}if (true) break;

case 47:
//C
this.state = 48;
 //BA.debugLineNum = 451;BA.debugLine="For i = 0 To DATOS.Size - 1";
if (true) break;

case 48:
//for
this.state = 51;
step108 = 1;
limit108 = (int) (_datos.getSize()-1);
_i = (int) (0) ;
this.state = 71;
if (true) break;

case 71:
//C
this.state = 51;
if ((step108 > 0 && _i <= limit108) || (step108 < 0 && _i >= limit108)) this.state = 50;
if (true) break;

case 72:
//C
this.state = 71;
_i = ((int)(0 + _i + step108)) ;
if (true) break;

case 50:
//C
this.state = 72;
 //BA.debugLineNum = 452;BA.debugLine="Dim m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 453;BA.debugLine="m = DATOS.Get(i)";
_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (anywheresoftware.b4a.objects.collections.Map.MyMap)(_datos.Get(_i)));
 //BA.debugLineNum = 454;BA.debugLine="INGRESO.ID_USUARIO = m.Get(\"id_cliente\")";
parent.mostCurrent._ingreso._id_usuario /*int*/  = (int)(BA.ObjectToNumber(_m.Get((Object)("id_cliente"))));
 if (true) break;
if (true) break;

case 51:
//C
this.state = 52;
;
 if (true) break;

case 52:
//C
this.state = 63;
;
 if (true) break;

case 54:
//C
this.state = 55;
 //BA.debugLineNum = 460;BA.debugLine="Dim parser As JSONParser";
_parser = new anywheresoftware.b4a.objects.collections.JSONParser();
 //BA.debugLineNum = 461;BA.debugLine="parser.Initialize(res)";
_parser.Initialize(_res);
 //BA.debugLineNum = 462;BA.debugLine="Dim DATOS As List";
_datos = new anywheresoftware.b4a.objects.collections.List();
 //BA.debugLineNum = 463;BA.debugLine="DATOS = parser.NextArray 'returns a list with";
_datos = _parser.NextArray();
 //BA.debugLineNum = 464;BA.debugLine="If DATOS.Size > 0 Then";
if (true) break;

case 55:
//if
this.state = 62;
if (_datos.getSize()>0) { 
this.state = 57;
}if (true) break;

case 57:
//C
this.state = 58;
 //BA.debugLineNum = 465;BA.debugLine="For i = 0 To DATOS.Size - 1";
if (true) break;

case 58:
//for
this.state = 61;
step120 = 1;
limit120 = (int) (_datos.getSize()-1);
_i = (int) (0) ;
this.state = 73;
if (true) break;

case 73:
//C
this.state = 61;
if ((step120 > 0 && _i <= limit120) || (step120 < 0 && _i >= limit120)) this.state = 60;
if (true) break;

case 74:
//C
this.state = 73;
_i = ((int)(0 + _i + step120)) ;
if (true) break;

case 60:
//C
this.state = 74;
 //BA.debugLineNum = 466;BA.debugLine="Dim m As Map";
_m = new anywheresoftware.b4a.objects.collections.Map();
 //BA.debugLineNum = 467;BA.debugLine="m = DATOS.Get(i)";
_m = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (anywheresoftware.b4a.objects.collections.Map.MyMap)(_datos.Get(_i)));
 //BA.debugLineNum = 468;BA.debugLine="id_credito_aux = m.Get(\"id_credito_solicitad";
parent.mostCurrent._id_credito_aux = BA.ObjectToString(_m.Get((Object)("id_credito_solicitado")));
 if (true) break;
if (true) break;

case 61:
//C
this.state = 62;
;
 if (true) break;

case 62:
//C
this.state = 63;
;
 if (true) break;

case 63:
//C
this.state = 66;
;
 if (true) break;

case 65:
//C
this.state = 66;
 //BA.debugLineNum = 474;BA.debugLine="ToastMessageShow(\"Error: \" & job.ErrorMessage, T";
anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),anywheresoftware.b4a.keywords.Common.True);
 if (true) break;

case 66:
//C
this.state = -1;
;
 //BA.debugLineNum = 477;BA.debugLine="job.Release";
_job._release /*String*/ ();
 //BA.debugLineNum = 478;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public static String  _setbackgroundtintlist(anywheresoftware.b4a.objects.ConcreteViewWrapper _view,int _active,int _enabled) throws Exception{
int[][] _states = null;
int[] _color = null;
anywheresoftware.b4j.object.JavaObject _csl = null;
anywheresoftware.b4j.object.JavaObject _jo = null;
 //BA.debugLineNum = 240;BA.debugLine="Sub SetBackgroundTintList(View As View,Active As I";
 //BA.debugLineNum = 241;BA.debugLine="Dim States(2,1) As Int";
_states = new int[(int) (2)][];
{
int d0 = _states.length;
int d1 = (int) (1);
for (int i0 = 0;i0 < d0;i0++) {
_states[i0] = new int[d1];
}
}
;
 //BA.debugLineNum = 242;BA.debugLine="States(0,0) = 16842908     'Active";
_states[(int) (0)][(int) (0)] = (int) (16842908);
 //BA.debugLineNum = 243;BA.debugLine="States(1,0) = 16842910    'Enabled";
_states[(int) (1)][(int) (0)] = (int) (16842910);
 //BA.debugLineNum = 244;BA.debugLine="Dim Color(2) As Int = Array As Int(Active,Enabled";
_color = new int[]{_active,_enabled};
 //BA.debugLineNum = 245;BA.debugLine="Dim CSL As JavaObject";
_csl = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 246;BA.debugLine="CSL.InitializeNewInstance(\"android.content.res.Co";
_csl.InitializeNewInstance("android.content.res.ColorStateList",new Object[]{(Object)(_states),(Object)(_color)});
 //BA.debugLineNum = 247;BA.debugLine="Dim jo As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
 //BA.debugLineNum = 248;BA.debugLine="jo.InitializeStatic(\"android.support.v4.view.View";
_jo.InitializeStatic("androidx.core.view.ViewCompat");
 //BA.debugLineNum = 249;BA.debugLine="jo.RunMethod(\"setBackgroundTintList\", Array(View,";
_jo.RunMethod("setBackgroundTintList",new Object[]{(Object)(_view.getObject()),(Object)(_csl.getObject())});
 //BA.debugLineNum = 250;BA.debugLine="End Sub";
return "";
}
public static String  _subir_imagen() throws Exception{
 //BA.debugLineNum = 956;BA.debugLine="Sub subir_imagen";
 //BA.debugLineNum = 957;BA.debugLine="Starter.subir_imagen(nombrefoto)";
mostCurrent._starter._subir_imagen /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (mostCurrent._nombrefoto);
 //BA.debugLineNum = 958;BA.debugLine="End Sub";
return "";
}
public static String  _subir_imagen1() throws Exception{
 //BA.debugLineNum = 960;BA.debugLine="Sub subir_imagen1";
 //BA.debugLineNum = 961;BA.debugLine="Starter.subir_imagen6(nombrefoto)";
mostCurrent._starter._subir_imagen6 /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ (mostCurrent._nombrefoto);
 //BA.debugLineNum = 962;BA.debugLine="End Sub";
return "";
}
public static String  _timer1_tick() throws Exception{
 //BA.debugLineNum = 670;BA.debugLine="Sub Timer1_Tick";
 //BA.debugLineNum = 671;BA.debugLine="timer1.Enabled = False";
mostCurrent._timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False);
 //BA.debugLineNum = 672;BA.debugLine="CERRA_APLICACION";
_cerra_aplicacion();
 //BA.debugLineNum = 673;BA.debugLine="End Sub";
return "";
}
}
