package com.pas.abtahibo.parvaz;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class fragprv_book extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new BA(_ba, this, htSubs, "com.pas.abtahibo.parvaz.fragprv_book");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.pas.abtahibo.parvaz.fragprv_book.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 public anywheresoftware.b4a.keywords.Common __c = null;
public anywheresoftware.b4a.objects.PanelWrapper _vvvvvvvvvvvvv0 = null;
public anywheresoftware.b4a.objects.EditTextWrapper _edmsg = null;
public anywheresoftware.b4a.objects.LabelWrapper _lbtn = null;
public anywheresoftware.b4a.objects.LabelWrapper _lab_back = null;
public anywheresoftware.b4a.sql.SQL _vvvvvvvvvvvvvv1 = null;
public anywheresoftware.b4a.sql.SQL.ResultSetWrapper _vvvvvvvvvvvvvv2 = null;
public String _name_db = "";
public String _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = "";
public anywheresoftware.b4a.objects.LabelWrapper _l_background = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_mine = null;
public anywheresoftware.b4a.objects.LabelWrapper _l_plus = null;
public int _int_plus = 0;
public boolean _bool_night = false;
public com.example.alimo_libkeyboardheightchange.Alimo_Keyboard _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2 = null;
public anywheresoftware.b4a.objects.LabelWrapper _label1 = null;
public boolean _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = false;
public boolean _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = false;
public com.pas.abtahibo.parvaz.custommaterialdialog _vvvvvvvvvvvvvvv2 = null;
public b4a.example.dateutils _vvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.main _vvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.actbook _vvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.actapps _vvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.actguide _vvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.actnotific _vvvvvvvvvvvvvvvv6 = null;
public com.pas.abtahibo.parvaz.func _vvvvvvvvvvvvvvvv7 = null;
public com.pas.abtahibo.parvaz.myservice _vvvvvvvvvvvvvvvv0 = null;
public com.pas.abtahibo.parvaz.playservicebook _vvvvvvvvvvvvvvvvv1 = null;
public com.pas.abtahibo.parvaz.playsrds _vvvvvvvvvvvvvvvvv2 = null;
public com.pas.abtahibo.parvaz.starter _vvvvvvvvvvvvvvvvv3 = null;
public com.pas.abtahibo.parvaz.support _vvvvvvvvvvvvvvvvv4 = null;
public com.pas.abtahibo.parvaz.urls _vvvvvvvvvvvvvvvvv5 = null;
public com.pas.abtahibo.parvaz.xuiviewsutils _vvvvvvvvvvvvvvvvv6 = null;
public String  _vvvvvvvvvvv0() throws Exception{
String _sfirst = "";
 //BA.debugLineNum = 73;BA.debugLine="Sub addView";
 //BA.debugLineNum = 75;BA.debugLine="content.LoadLayout(\"add_prv\")";
_vvvvvvvvvvvvv0.LoadLayout("add_prv",ba);
 //BA.debugLineNum = 76;BA.debugLine="func.SetRipple(lab_back ,0x337FD3B1,0x884C9A7B,16";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lab_back.getObject())),((int)0x337fd3b1),((int)0x884c9a7b),(float) (16));
 //BA.debugLineNum = 78;BA.debugLine="func.SetRipple(Lbtn,0xFF4C9A7B,0xFF487D66,10dip)";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_lbtn.getObject())),((int)0xff4c9a7b),((int)0xff487d66),(float) (__c.DipToCurrent((int) (10))));
 //BA.debugLineNum = 80;BA.debugLine="Edmsg.Padding = Array As Int (10dip,10dip,10dip,1";
_edmsg.setPadding(new int[]{__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10))});
 //BA.debugLineNum = 82;BA.debugLine="func.SetRipple(L_Plus	     ,Colors.Transparent,0X";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_plus.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (16));
 //BA.debugLineNum = 83;BA.debugLine="func.SetRipple(L_mine		,Colors.Transparent,0XAAEE";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_mine.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (16));
 //BA.debugLineNum = 84;BA.debugLine="func.SetRipple(L_Background,Colors.Transparent,0X";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_background.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (16));
 //BA.debugLineNum = 86;BA.debugLine="Lbtn.Text = func.gland(138)";
_lbtn.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (138))));
 //BA.debugLineNum = 87;BA.debugLine="Label1.Text = func.gland(143)";
_label1.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (143))));
 //BA.debugLineNum = 88;BA.debugLine="Edmsg.hint = func.gland(141)";
_edmsg.setHint(_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (141)));
 //BA.debugLineNum = 90;BA.debugLine="Lbtn.Typeface = Typeface.LoadFromAssets(func.font";
_lbtn.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 91;BA.debugLine="Label1.Typeface = Typeface.CreateNew(Typeface.Loa";
_label1.setTypeface(__c.Typeface.CreateNew(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 92;BA.debugLine="Edmsg.Typeface = Typeface.LoadFromAssets(func.fon";
_edmsg.setTypeface(__c.Typeface.LoadFromAssets(_vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)));
 //BA.debugLineNum = 93;BA.debugLine="func.MinimomFontLabel(Label1,14)";
_vvvvvvvvvvvvvvvv7._vvvv3 /*String*/ (ba,_label1,(int) (14));
 //BA.debugLineNum = 95;BA.debugLine="name_db = \"bardasht_\"&func.readPFM(\"idBook\")";
_name_db = "bardasht_"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"idBook");
 //BA.debugLineNum = 97;BA.debugLine="sBar = \"\"";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = "";
 //BA.debugLineNum = 99;BA.debugLine="rs2 = sql2.ExecQuery(\"SELECT bar from '\"&name_db&";
_vvvvvvvvvvvvvv2 = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_vvvvvvvvvvvvvv1.ExecQuery("SELECT bar from '"+_name_db+"' where ayeh = '"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"ipageBook")+"' ")));
 //BA.debugLineNum = 100;BA.debugLine="If rs2.RowCount > 0 Then";
if (_vvvvvvvvvvvvvv2.getRowCount()>0) { 
 //BA.debugLineNum = 101;BA.debugLine="rs2.Position = 0";
_vvvvvvvvvvvvvv2.setPosition((int) (0));
 //BA.debugLineNum = 102;BA.debugLine="sBar = rs2.GetString(\"bar\")";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = _vvvvvvvvvvvvvv2.GetString("bar");
 };
 //BA.debugLineNum = 105;BA.debugLine="Dim sFirst As String = func.gland(115)&\" \"&func.r";
_sfirst = _vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (115))+" "+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"NameBook")+" "+_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (121))+" ,"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"ipageBook");
 //BA.debugLineNum = 110;BA.debugLine="sFirst = sFirst&CRLF&\"┄┄┅─✧─┅┄┄\"";
_sfirst = _sfirst+__c.CRLF+"┄┄┅─✧─┅┄┄";
 //BA.debugLineNum = 112;BA.debugLine="sFirst = func.PersianNumbers(sFirst)";
_sfirst = _vvvvvvvvvvvvvvvv7._vvvv5 /*String*/ (ba,_sfirst);
 //BA.debugLineNum = 114;BA.debugLine="If sBar.Length = 0 Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.length()==0) { 
 //BA.debugLineNum = 115;BA.debugLine="Edmsg.Text =  sFirst & CRLF & func.gland(143)&\":";
_edmsg.setText(BA.ObjectToCharSequence(_sfirst+__c.CRLF+_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (143))+": "+__c.CRLF));
 }else {
 //BA.debugLineNum = 117;BA.debugLine="Edmsg.Text =   sBar";
_edmsg.setText(BA.ObjectToCharSequence(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6));
 };
 //BA.debugLineNum = 121;BA.debugLine="If func.readPFM(\"sizeFarsi\")<>\"-1\" Then";
if ((_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi")).equals("-1") == false) { 
 //BA.debugLineNum = 122;BA.debugLine="Edmsg.TextSize=func.readPFM(\"sizeFarsi\")";
_edmsg.setTextSize((float)(Double.parseDouble(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi"))));
 //BA.debugLineNum = 123;BA.debugLine="int_plus=func.readPFM(\"sizeFarsi\")";
_int_plus = (int)(Double.parseDouble(_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"sizeFarsi")));
 }else {
 //BA.debugLineNum = 125;BA.debugLine="Edmsg.TextSize=16";
_edmsg.setTextSize((float) (16));
 //BA.debugLineNum = 126;BA.debugLine="int_plus=16";
_int_plus = (int) (16);
 };
 //BA.debugLineNum = 129;BA.debugLine="changeBack(True)";
_vvvvvvvvvvvvvvvvv7(__c.True);
 //BA.debugLineNum = 131;BA.debugLine="End Sub";
return "";
}
public String  _alimo_keyboardheightchange(int _oldheight,int _newheight) throws Exception{
 //BA.debugLineNum = 220;BA.debugLine="Sub alimo_KeyboardHeightChange (OldHeight As Int,N";
 //BA.debugLineNum = 222;BA.debugLine="If (NewHeight < OldHeight) Then";
if ((_newheight<_oldheight)) { 
 //BA.debugLineNum = 223;BA.debugLine="Edmsg.Height = 96%y- Edmsg.Top - alimo.GetKeyboa";
_edmsg.setHeight((int) (__c.PerYToCurrent((float) (96),ba)-_edmsg.getTop()-_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.getGetKeyboardHeight()));
 //BA.debugLineNum = 224;BA.debugLine="Try";
try { //BA.debugLineNum = 225;BA.debugLine="Edmsg.SelectionStart = Edmsg.Text.Length";
_edmsg.setSelectionStart(_edmsg.getText().length());
 } 
       catch (Exception e6) {
			ba.setLastException(e6); };
 }else {
 //BA.debugLineNum = 229;BA.debugLine="Edmsg.Height = 96%y- Edmsg.Top - 110dip";
_edmsg.setHeight((int) (__c.PerYToCurrent((float) (96),ba)-_edmsg.getTop()-__c.DipToCurrent((int) (110))));
 };
 //BA.debugLineNum = 232;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvv7(boolean _bill) throws Exception{
 //BA.debugLineNum = 183;BA.debugLine="Sub changeBack(bill As Boolean)";
 //BA.debugLineNum = 185;BA.debugLine="If bill Then";
if (_bill) { 
 //BA.debugLineNum = 186;BA.debugLine="If func.readPFM(\"Bool_Night\") = -1 Then";
if ((_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"Bool_Night")).equals(BA.NumberToString(-1))) { 
 //BA.debugLineNum = 187;BA.debugLine="Bool_Night = True";
_bool_night = __c.True;
 }else {
 //BA.debugLineNum = 189;BA.debugLine="Bool_Night = False";
_bool_night = __c.False;
 };
 };
 //BA.debugLineNum = 194;BA.debugLine="If Bool_Night=False Then";
if (_bool_night==__c.False) { 
 //BA.debugLineNum = 196;BA.debugLine="func.SetRipple(L_Background	,0x884C9A7B,0x880D60";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_background.getObject())),((int)0x884c9a7b),((int)0x880d603e),(float) (16));
 //BA.debugLineNum = 197;BA.debugLine="Bool_Night = True";
_bool_night = __c.True;
 //BA.debugLineNum = 199;BA.debugLine="content.color = 0xFF3F473B";
_vvvvvvvvvvvvv0.setColor(((int)0xff3f473b));
 //BA.debugLineNum = 200;BA.debugLine="func.color_border1(Edmsg,0xFF3F473B,10dip,2,0xff";
_vvvvvvvvvvvvvvvv7._color_border1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_edmsg.getObject())),((int)0xff3f473b),__c.DipToCurrent((int) (10)),(int) (2),((int)0xffb0bec5));
 //BA.debugLineNum = 202;BA.debugLine="Edmsg.TextColor = Colors.White";
_edmsg.setTextColor(__c.Colors.White);
 //BA.debugLineNum = 204;BA.debugLine="func.savePFM(\"Bool_Night\",1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"Bool_Night",BA.NumberToString(1));
 }else {
 //BA.debugLineNum = 206;BA.debugLine="func.savePFM(\"Bool_Night\",-1)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"Bool_Night",BA.NumberToString(-1));
 //BA.debugLineNum = 208;BA.debugLine="func.SetRipple(L_Background	,Colors.Transparent,";
_vvvvvvvvvvvvvvvv7._vvvvvv3 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_l_background.getObject())),__c.Colors.Transparent,((int)0xaaeeeeee),(float) (16));
 //BA.debugLineNum = 209;BA.debugLine="Bool_Night = False";
_bool_night = __c.False;
 //BA.debugLineNum = 211;BA.debugLine="content.color = 0xFFFBFDFF";
_vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 212;BA.debugLine="func.color_border1(Edmsg,0xFFFFFFFF,10dip,2,0xff";
_vvvvvvvvvvvvvvvv7._color_border1 /*String*/ (ba,(anywheresoftware.b4a.objects.ConcreteViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ConcreteViewWrapper(), (android.view.View)(_edmsg.getObject())),((int)0xffffffff),__c.DipToCurrent((int) (10)),(int) (2),((int)0xffb0bec5));
 //BA.debugLineNum = 214;BA.debugLine="Edmsg.TextColor = (Colors.Black)";
_edmsg.setTextColor((__c.Colors.Black));
 };
 //BA.debugLineNum = 218;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7() throws Exception{
 //BA.debugLineNum = 275;BA.debugLine="Sub cl2se";
 //BA.debugLineNum = 277;BA.debugLine="alimo.HideKeyboard";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.HideKeyboard();
 //BA.debugLineNum = 279;BA.debugLine="If func.readPFM(\"kodamPrvB\") = 1 Then";
if ((_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"kodamPrvB")).equals(BA.NumberToString(1))) { 
 //BA.debugLineNum = 280;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listIniti";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (16),this,"")));
 }else {
 //BA.debugLineNum = 282;BA.debugLine="CallSub2(actBook,\"show_hide_frag\",func.listIniti";
__c.CallSubNew2(ba,(Object)(_vvvvvvvvvvvvvvvv3.getObject()),"show_hide_frag",(Object)(_vvvvvvvvvvvvvvvv7._vvv0 /*anywheresoftware.b4a.objects.collections.List*/ (ba,(int) (32),this,"")));
 };
 //BA.debugLineNum = 286;BA.debugLine="End Sub";
return "";
}
public String  _class_globals() throws Exception{
 //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals";
 //BA.debugLineNum = 3;BA.debugLine="Dim content As Panel";
_vvvvvvvvvvvvv0 = new anywheresoftware.b4a.objects.PanelWrapper();
 //BA.debugLineNum = 5;BA.debugLine="Private Edmsg As EditText";
_edmsg = new anywheresoftware.b4a.objects.EditTextWrapper();
 //BA.debugLineNum = 6;BA.debugLine="Private Lbtn As Label";
_lbtn = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 7;BA.debugLine="Private lab_back As Label";
_lab_back = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 9;BA.debugLine="Private sql2 As SQL";
_vvvvvvvvvvvvvv1 = new anywheresoftware.b4a.sql.SQL();
 //BA.debugLineNum = 10;BA.debugLine="Private rs2  As ResultSet";
_vvvvvvvvvvvvvv2 = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper();
 //BA.debugLineNum = 12;BA.debugLine="Private name_db As String";
_name_db = "";
 //BA.debugLineNum = 14;BA.debugLine="Dim sBar As String";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6 = "";
 //BA.debugLineNum = 16;BA.debugLine="Private L_Background As Label";
_l_background = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 17;BA.debugLine="Private L_mine As Label";
_l_mine = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 18;BA.debugLine="Private L_Plus As Label";
_l_plus = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 20;BA.debugLine="Private int_plus   As Int";
_int_plus = 0;
 //BA.debugLineNum = 22;BA.debugLine="Private Bool_Night As Boolean";
_bool_night = false;
 //BA.debugLineNum = 24;BA.debugLine="Dim alimo As Alimo_Keyboard";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2 = new com.example.alimo_libkeyboardheightchange.Alimo_Keyboard();
 //BA.debugLineNum = 26;BA.debugLine="Private Label1 As Label";
_label1 = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 28;BA.debugLine="Dim boolE As Boolean";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = false;
 //BA.debugLineNum = 29;BA.debugLine="Dim bool2E As Boolean";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = false;
 //BA.debugLineNum = 31;BA.debugLine="Private customDialog As customMaterialDialog";
_vvvvvvvvvvvvvvv2 = new com.pas.abtahibo.parvaz.custommaterialdialog();
 //BA.debugLineNum = 33;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 257;BA.debugLine="Sub close";
 //BA.debugLineNum = 259;BA.debugLine="alimo.HideKeyboard";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.HideKeyboard();
 //BA.debugLineNum = 261;BA.debugLine="If Not(bool2E) Then";
if (__c.Not(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4)) { 
 //BA.debugLineNum = 262;BA.debugLine="cl2se";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 263;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 266;BA.debugLine="If Not(boolE) Then";
if (__c.Not(_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3)) { 
 //BA.debugLineNum = 267;BA.debugLine="materQu";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1();
 //BA.debugLineNum = 268;BA.debugLine="Return";
if (true) return "";
 };
 //BA.debugLineNum = 271;BA.debugLine="cl2se";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 273;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0() throws Exception{
 //BA.debugLineNum = 133;BA.debugLine="Sub confirm";
 //BA.debugLineNum = 135;BA.debugLine="boolE = True";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = __c.True;
 //BA.debugLineNum = 138;BA.debugLine="If sBar.Length = 0 Then";
if (_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6.length()==0) { 
 //BA.debugLineNum = 139;BA.debugLine="sql2.ExecNonQuery(\"INSERT INTO '\"&name_db&\"' (ay";
_vvvvvvvvvvvvvv1.ExecNonQuery("INSERT INTO '"+_name_db+"' (ayeh , bar) VALUES ('"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"ipageBook")+"','"+_edmsg.getText()+"' ) ");
 }else {
 //BA.debugLineNum = 141;BA.debugLine="sql2.ExecNonQuery(\"UPDATE '\"&name_db&\"' SET bar";
_vvvvvvvvvvvvvv1.ExecNonQuery("UPDATE '"+_name_db+"' SET bar = '"+_edmsg.getText()+"' WHERE ayeh = '"+_vvvvvvvvvvvvvvvv7._vvvv0 /*String*/ (ba,"ipageBook")+"' ");
 };
 //BA.debugLineNum = 145;BA.debugLine="func.ToastERROR(func.gland(144))";
_vvvvvvvvvvvvvvvv7._vvvvvvv0 /*String*/ (ba,_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (144)));
 //BA.debugLineNum = 149;BA.debugLine="End Sub";
return "";
}
public String  _dialog_negative() throws Exception{
 //BA.debugLineNum = 253;BA.debugLine="Sub Dialog_Negative";
 //BA.debugLineNum = 254;BA.debugLine="cl2se";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 255;BA.debugLine="End Sub";
return "";
}
public String  _dialog_positive() throws Exception{
 //BA.debugLineNum = 248;BA.debugLine="Sub Dialog_Positive";
 //BA.debugLineNum = 249;BA.debugLine="confirm";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 250;BA.debugLine="cl2se";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv7();
 //BA.debugLineNum = 251;BA.debugLine="End Sub";
return "";
}
public String  _edmsg_focuschanged(boolean _hasfocus) throws Exception{
 //BA.debugLineNum = 240;BA.debugLine="Sub Edmsg_FocusChanged (HasFocus As Boolean)";
 //BA.debugLineNum = 241;BA.debugLine="bool2E = True";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = __c.True;
 //BA.debugLineNum = 242;BA.debugLine="End Sub";
return "";
}
public String  _initialize(anywheresoftware.b4a.BA _ba) throws Exception{
innerInitialize(_ba);
 //BA.debugLineNum = 35;BA.debugLine="Public Sub Initialize";
 //BA.debugLineNum = 36;BA.debugLine="End Sub";
return "";
}
public String  _l_background_click() throws Exception{
 //BA.debugLineNum = 179;BA.debugLine="Private Sub L_Background_Click";
 //BA.debugLineNum = 180;BA.debugLine="changeBack(False)";
_vvvvvvvvvvvvvvvvv7(__c.False);
 //BA.debugLineNum = 181;BA.debugLine="End Sub";
return "";
}
public String  _l_mine_click() throws Exception{
 //BA.debugLineNum = 169;BA.debugLine="Private Sub L_mine_Click";
 //BA.debugLineNum = 171;BA.debugLine="If int_plus<>14 Then";
if (_int_plus!=14) { 
 //BA.debugLineNum = 172;BA.debugLine="int_plus=int_plus-1";
_int_plus = (int) (_int_plus-1);
 //BA.debugLineNum = 173;BA.debugLine="Edmsg.TextSize=int_plus";
_edmsg.setTextSize((float) (_int_plus));
 //BA.debugLineNum = 174;BA.debugLine="func.savePFM(\"sizeFarsi\",int_plus)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"sizeFarsi",BA.NumberToString(_int_plus));
 };
 //BA.debugLineNum = 177;BA.debugLine="End Sub";
return "";
}
public String  _l_plus_click() throws Exception{
 //BA.debugLineNum = 159;BA.debugLine="Private Sub L_Plus_Click";
 //BA.debugLineNum = 161;BA.debugLine="If int_plus<>30 Then";
if (_int_plus!=30) { 
 //BA.debugLineNum = 162;BA.debugLine="int_plus=int_plus+1";
_int_plus = (int) (_int_plus+1);
 //BA.debugLineNum = 163;BA.debugLine="Edmsg.TextSize=int_plus";
_edmsg.setTextSize((float) (_int_plus));
 //BA.debugLineNum = 164;BA.debugLine="func.savePFM(\"sizeFarsi\",int_plus)";
_vvvvvvvvvvvvvvvv7._vvvvv2 /*String*/ (ba,"sizeFarsi",BA.NumberToString(_int_plus));
 };
 //BA.debugLineNum = 167;BA.debugLine="End Sub";
return "";
}
public String  _lab_back_click() throws Exception{
 //BA.debugLineNum = 234;BA.debugLine="Sub lab_back_Click";
 //BA.debugLineNum = 236;BA.debugLine="func.TextShare((\"‌\"&CRLF&Edmsg.Text))";
_vvvvvvvvvvvvvvvv7._vvvvvvv7 /*String*/ (ba,("‌"+__c.CRLF+_edmsg.getText()));
 //BA.debugLineNum = 238;BA.debugLine="End Sub";
return "";
}
public String  _lab_confirm_click() throws Exception{
 //BA.debugLineNum = 155;BA.debugLine="Sub lab_confirm_Click";
 //BA.debugLineNum = 156;BA.debugLine="confirm";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 157;BA.debugLine="End Sub";
return "";
}
public String  _lbtn_click() throws Exception{
 //BA.debugLineNum = 151;BA.debugLine="Sub Lbtn_Click";
 //BA.debugLineNum = 152;BA.debugLine="confirm";
_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0();
 //BA.debugLineNum = 153;BA.debugLine="End Sub";
return "";
}
public String  _vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv1() throws Exception{
 //BA.debugLineNum = 244;BA.debugLine="Sub materQu";
 //BA.debugLineNum = 245;BA.debugLine="customDialog.addDialog(func.gland(339),func.glan";
_vvvvvvvvvvvvvvv2._vvvvvvvvvvvvvvvvvvvvv0 /*String*/ (_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (339)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (340)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (26)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (27)),_vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (341)));
 //BA.debugLineNum = 246;BA.debugLine="End Sub";
return "";
}
public void  _vvvvvvvvvvvv5(anywheresoftware.b4a.objects.PanelWrapper _parent) throws Exception{
ResumableSub_onCreateView rsub = new ResumableSub_onCreateView(this,_parent);
rsub.resume(ba, null);
}
public static class ResumableSub_onCreateView extends BA.ResumableSub {
public ResumableSub_onCreateView(com.pas.abtahibo.parvaz.fragprv_book parent,anywheresoftware.b4a.objects.PanelWrapper _parent) {
this.parent = parent;
this._parent = _parent;
}
com.pas.abtahibo.parvaz.fragprv_book parent;
anywheresoftware.b4a.objects.PanelWrapper _parent;
anywheresoftware.b4a.objects.LabelWrapper _l2n = null;

@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 = 40;BA.debugLine="boolE = False";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv3 = parent.__c.False;
 //BA.debugLineNum = 41;BA.debugLine="bool2E = False";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv4 = parent.__c.False;
 //BA.debugLineNum = 43;BA.debugLine="content = Parent";
parent._vvvvvvvvvvvvv0 = _parent;
 //BA.debugLineNum = 44;BA.debugLine="content.Color = 0xFFFBFDFF";
parent._vvvvvvvvvvvvv0.setColor(((int)0xfffbfdff));
 //BA.debugLineNum = 46;BA.debugLine="If sql2.IsInitialized=False Then";
if (true) break;

case 1:
//if
this.state = 4;
if (parent._vvvvvvvvvvvvvv1.IsInitialized()==parent.__c.False) { 
this.state = 3;
}if (true) break;

case 3:
//C
this.state = 4;
 //BA.debugLineNum = 47;BA.debugLine="sql2.Initialize(File.DirInternal,\"prv_note_book.";
parent._vvvvvvvvvvvvvv1.Initialize(parent.__c.File.getDirInternal(),"prv_note_book.db",parent.__c.True);
 if (true) break;

case 4:
//C
this.state = -1;
;
 //BA.debugLineNum = 50;BA.debugLine="Dim l2n As Label";
_l2n = new anywheresoftware.b4a.objects.LabelWrapper();
 //BA.debugLineNum = 51;BA.debugLine="l2n.Initialize(\"\")";
_l2n.Initialize(ba,"");
 //BA.debugLineNum = 52;BA.debugLine="content.AddView(l2n,0,50%y-30dip,100%x,60dip)";
parent._vvvvvvvvvvvvv0.AddView((android.view.View)(_l2n.getObject()),(int) (0),(int) (parent.__c.PerYToCurrent((float) (50),ba)-parent.__c.DipToCurrent((int) (30))),parent.__c.PerXToCurrent((float) (100),ba),parent.__c.DipToCurrent((int) (60)));
 //BA.debugLineNum = 53;BA.debugLine="l2n.Typeface = Typeface.CreateNew(Typeface.LoadFr";
_l2n.setTypeface(parent.__c.Typeface.CreateNew(parent.__c.Typeface.LoadFromAssets(parent._vvvvvvvvvvvvvvvv7._vv7 /*String*/ (ba)),parent.__c.Typeface.STYLE_BOLD));
 //BA.debugLineNum = 54;BA.debugLine="l2n.Text=func.gland(54)";
_l2n.setText(BA.ObjectToCharSequence(parent._vvvvvvvvvvvvvvvv7._vvv1 /*String*/ (ba,(int) (54))));
 //BA.debugLineNum = 55;BA.debugLine="l2n.Gravity=Bit.Or(Gravity.CENTER,Gravity.CENTER_";
_l2n.setGravity(parent.__c.Bit.Or(parent.__c.Gravity.CENTER,parent.__c.Gravity.CENTER_VERTICAL));
 //BA.debugLineNum = 56;BA.debugLine="l2n.textColor = Colors.Black";
_l2n.setTextColor(parent.__c.Colors.Black);
 //BA.debugLineNum = 57;BA.debugLine="l2n.TextSize=14";
_l2n.setTextSize((float) (14));
 //BA.debugLineNum = 59;BA.debugLine="l2n.Visible = True";
_l2n.setVisible(parent.__c.True);
 //BA.debugLineNum = 60;BA.debugLine="Sleep(5)";
parent.__c.Sleep(ba,this,(int) (5));
this.state = 5;
return;
case 5:
//C
this.state = -1;
;
 //BA.debugLineNum = 61;BA.debugLine="addView";
parent._vvvvvvvvvvv0();
 //BA.debugLineNum = 62;BA.debugLine="l2n.Visible = False";
_l2n.setVisible(parent.__c.False);
 //BA.debugLineNum = 65;BA.debugLine="alimo.Initialize(content)";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.Initialize(ba,(android.view.View)(parent._vvvvvvvvvvvvv0.getObject()));
 //BA.debugLineNum = 66;BA.debugLine="alimo.StartListenerKeyboardHeightChange(\"alimo\")";
parent._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.StartListenerKeyboardHeightChange("alimo");
 //BA.debugLineNum = 68;BA.debugLine="customDialog.Initialize(content,Me)";
parent._vvvvvvvvvvvvvvv2._initialize /*String*/ (ba,parent._vvvvvvvvvvvvv0,parent);
 //BA.debugLineNum = 70;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _vvvvvvvvvvvv6(int _keycode) throws Exception{
 //BA.debugLineNum = 288;BA.debugLine="public Sub onKey (KeyCode As Int)";
 //BA.debugLineNum = 290;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then";
if (_keycode==__c.KeyCodes.KEYCODE_BACK) { 
 //BA.debugLineNum = 291;BA.debugLine="close";
_vvvvvvvvvvvv1();
 };
 //BA.debugLineNum = 294;BA.debugLine="End Sub";
return "";
}
public Object callSub(String sub, Object sender, Object[] args) throws Exception {
BA.senderHolder.set(sender);
return BA.SubDelegator.SubNotFound;
}
}
