diff --git a/B4A/Objects/ADM.apk b/B4A/Objects/ADM.apk deleted file mode 100644 index 6fcf0d4..0000000 Binary files a/B4A/Objects/ADM.apk and /dev/null differ diff --git a/B4A/Objects/AndroidManifest.xml b/B4A/Objects/AndroidManifest.xml deleted file mode 100644 index 7e3e3a6..0000000 --- a/B4A/Objects/AndroidManifest.xml +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal b/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal deleted file mode 100644 index a143b40..0000000 Binary files a/B4A/Objects/b4xlibs/Files/b4xinputtemplate.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/datepicker.bal b/B4A/Objects/b4xlibs/Files/datepicker.bal deleted file mode 100644 index 82ab2fc..0000000 Binary files a/B4A/Objects/b4xlibs/Files/datepicker.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/datetemplate.bal b/B4A/Objects/b4xlibs/Files/datetemplate.bal deleted file mode 100644 index bb5b387..0000000 Binary files a/B4A/Objects/b4xlibs/Files/datetemplate.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/dialog.css b/B4A/Objects/b4xlibs/Files/dialog.css deleted file mode 100644 index edae6ab..0000000 --- a/B4A/Objects/b4xlibs/Files/dialog.css +++ /dev/null @@ -1,37 +0,0 @@ -.b4xdialog .scroll-bar:horizontal, .b4xdialog .scroll-bar:vertical{ - -fx-background-color:transparent; -} - -.b4xdialog .increment-button, .b4xdialog .decrement-button { - -fx-background-color: transparent; - -fx-border-color: transparent; -} - -.b4xdialog .scroll-bar:horizontal .track, -.b4xdialog .scroll-bar:vertical .track{ - -fx-background-color: transparent; - -fx-border-color: transparent; - -fx-background-radius: 0em; -} - -.b4xdialog .scroll-bar:horizontal .thumb, -.b4xdialog .scroll-bar:vertical .thumb { - -fx-background-color: #4B4B4B; - -fx-background-radius: 5em; -} - -.b4xdialoglight .scroll-bar:horizontal .thumb, -.b4xdialoglight .scroll-bar:vertical .thumb { - -fx-background-color: #B8B8B8; -} - -.scroll-pane{ - -fx-background-color:transparent; -} -.scroll-pane .viewport { - -fx-background-color: transparent; -} - -.text-area .content { - -fx-padding: 15 5 5 5; -} \ No newline at end of file diff --git a/B4A/Objects/b4xlibs/Files/listtemplate.bal b/B4A/Objects/b4xlibs/Files/listtemplate.bal deleted file mode 100644 index ada8853..0000000 Binary files a/B4A/Objects/b4xlibs/Files/listtemplate.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/longtexttemplate.bal b/B4A/Objects/b4xlibs/Files/longtexttemplate.bal deleted file mode 100644 index 7fe9911..0000000 Binary files a/B4A/Objects/b4xlibs/Files/longtexttemplate.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/pclvseekbar.bal b/B4A/Objects/b4xlibs/Files/pclvseekbar.bal deleted file mode 100644 index 0dac6e1..0000000 Binary files a/B4A/Objects/b4xlibs/Files/pclvseekbar.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/searchtemplate.bal b/B4A/Objects/b4xlibs/Files/searchtemplate.bal deleted file mode 100644 index 931f029..0000000 Binary files a/B4A/Objects/b4xlibs/Files/searchtemplate.bal and /dev/null differ diff --git a/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal b/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal deleted file mode 100644 index e05943e..0000000 Binary files a/B4A/Objects/b4xlibs/Files/timeddialogtemplate.bal and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$anim.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$anim.class deleted file mode 100644 index 88844ba..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$attr.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$attr.class deleted file mode 100644 index b0ea6a0..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$bool.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$bool.class deleted file mode 100644 index df76ef1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$color.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$color.class deleted file mode 100644 index 3d35cff..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$dimen.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$dimen.class deleted file mode 100644 index 5963bc6..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$drawable.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$drawable.class deleted file mode 100644 index c52f2a6..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$id.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$id.class deleted file mode 100644 index 9177bb3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$integer.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$integer.class deleted file mode 100644 index ac66c40..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$layout.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$layout.class deleted file mode 100644 index fa243c3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$string.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$string.class deleted file mode 100644 index a565830..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$style.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$style.class deleted file mode 100644 index 0e3d45d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$styleable.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$styleable.class deleted file mode 100644 index 75e760f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$xml.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R$xml.class deleted file mode 100644 index 2022352..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/R.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/R.class deleted file mode 100644 index d8a807f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/animatedcounter.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/animatedcounter.class deleted file mode 100644 index 5ed68c9..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/animatedcounter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class deleted file mode 100644 index 52cc29a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar.class deleted file mode 100644 index f39dcca..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/anotherprogressbar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$1.class deleted file mode 100644 index 960c51a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$2.class deleted file mode 100644 index 6604abb..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.class deleted file mode 100644 index ef403a7..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.class deleted file mode 100644 index 8501b7d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$_mnewversion.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$_mnewversion.class deleted file mode 100644 index b347190..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$_mnewversion.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$appupdater_BR.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$appupdater_BR.class deleted file mode 100644 index 556e654..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater$appupdater_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater.class deleted file mode 100644 index b384fd5..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/appupdater.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbitset.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbitset.class deleted file mode 100644 index 62660a5..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbitset.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class deleted file mode 100644 index 53e2a66..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class deleted file mode 100644 index c179683..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache$_b4xcacheitem.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache$_b4xcacheitem.class deleted file mode 100644 index 32f9fa8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache$_b4xcacheitem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache.class deleted file mode 100644 index 150e960..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcache.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcollections.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcollections.class deleted file mode 100644 index c57e79f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcollections.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class deleted file mode 100644 index c9ee8dd..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class deleted file mode 100644 index 754766d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class deleted file mode 100644 index 9785c63..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class deleted file mode 100644 index fe9b0c3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox.class deleted file mode 100644 index d52a245..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcombobox.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class deleted file mode 100644 index 3de2b42..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class deleted file mode 100644 index 259bec7..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class deleted file mode 100644 index a8bae23..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.class deleted file mode 100644 index dca0e26..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class deleted file mode 100644 index 3878c5f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class deleted file mode 100644 index 3464db8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog.class deleted file mode 100644 index 6ac6f90..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xdialog.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class deleted file mode 100644 index 51b1371..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class deleted file mode 100644 index 1577b05..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter$_b4xformatdata.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter$_b4xformatdata.class deleted file mode 100644 index 6938b8b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter$_b4xformatdata.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter.class deleted file mode 100644 index 0874a3c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xformatter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4ximageview.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4ximageview.class deleted file mode 100644 index 28d9f63..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4ximageview.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class deleted file mode 100644 index 6fa0a9c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class deleted file mode 100644 index e2f9d93..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class deleted file mode 100644 index 559a2ba..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class deleted file mode 100644 index 57f0dce..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class deleted file mode 100644 index 401d302..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class deleted file mode 100644 index ffcd188..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class deleted file mode 100644 index cc54c4b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index 339a88e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index a7cf89a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class deleted file mode 100644 index 2f53a29..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class deleted file mode 100644 index 621332d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class deleted file mode 100644 index b349be3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class deleted file mode 100644 index a9eb7e8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class deleted file mode 100644 index 80c2df2..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage.class deleted file mode 100644 index 9515107..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xmainpage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xorderedmap.class deleted file mode 100644 index 9da9d53..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xorderedmap.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpages.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpages.class deleted file mode 100644 index ac5ddda..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpages.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class deleted file mode 100644 index cbaa27d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class deleted file mode 100644 index f897df2..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class deleted file mode 100644 index b9d6b14..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class deleted file mode 100644 index 7d8f386..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class deleted file mode 100644 index 5d8a460..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class deleted file mode 100644 index 6d8893a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class deleted file mode 100644 index 120f76f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class deleted file mode 100644 index 47e0d64..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus.class deleted file mode 100644 index 1f47631..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xplusminus.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class deleted file mode 100644 index 02e43e9..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton.class deleted file mode 100644 index ac3735b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xradiobutton.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class deleted file mode 100644 index 1efa1c4..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class deleted file mode 100644 index 7766820..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xseekbar.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xseekbar.class deleted file mode 100644 index 9ded72d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xseekbar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xset.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xset.class deleted file mode 100644 index 7c72448..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xset.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class deleted file mode 100644 index 3c48787..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class deleted file mode 100644 index eec937c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch.class deleted file mode 100644 index 8580208..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xswitch.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class deleted file mode 100644 index 98efd92..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class deleted file mode 100644 index 62b8e80..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/batteryutilities.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/batteryutilities.class deleted file mode 100644 index e508330..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/batteryutilities.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index a55a828..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class deleted file mode 100644 index 1c195fc..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class deleted file mode 100644 index a52284d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.class deleted file mode 100644 index 9da3ee1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class deleted file mode 100644 index 14f62d2..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.class deleted file mode 100644 index 5679d29..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class deleted file mode 100644 index b5f523f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class deleted file mode 100644 index a142592..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.class deleted file mode 100644 index 094b750..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente.class deleted file mode 100644 index 7701328..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 7798908..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes.class deleted file mode 100644 index 9bb950e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_clientes.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cuestionario.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cuestionario.class deleted file mode 100644 index 4bb2892..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_cuestionario.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index dc41049..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico.class deleted file mode 100644 index ed96178..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_historico.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_mapas.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_mapas.class deleted file mode 100644 index 5a7567c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_mapas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index ba8533b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota.class deleted file mode 100644 index 90d20ba..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nota.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_noventa.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_noventa.class deleted file mode 100644 index 43c2ed8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_noventa.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class deleted file mode 100644 index 2bd1d7d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente.class deleted file mode 100644 index 2584246..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_nuevocliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 991dc5c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos.class deleted file mode 100644 index 794262a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_pedidos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index ed2df32..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class deleted file mode 100644 index bfa9b18..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$_titledata.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$_titledata.class deleted file mode 100644 index 65fc504..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal$_titledata.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal.class deleted file mode 100644 index 167de75..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_principal.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index b3911b1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index f030fc8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class deleted file mode 100644 index a2c4e67..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class deleted file mode 100644 index 83d5e7b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos.class deleted file mode 100644 index 618d1e7..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_productos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_promos.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_promos.class deleted file mode 100644 index 04bb860..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_promos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_respaldodiario.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_respaldodiario.class deleted file mode 100644 index d8c4c2b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_respaldodiario.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_subs.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_subs.class deleted file mode 100644 index c386522..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_subs.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_ticketsdia.class deleted file mode 100644 index 0cd114a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_ticketsdia.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index 426bc4b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable.class deleted file mode 100644 index a786338..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/c_updateavailable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerainfoandid.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerainfoandid.class deleted file mode 100644 index 3ed95cc..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerainfoandid.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerasize.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerasize.class deleted file mode 100644 index ab7b385..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass$_camerasize.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass.class deleted file mode 100644 index bef6849..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cameraexclass.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class deleted file mode 100644 index e3f6642..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class deleted file mode 100644 index 292d1b5..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class deleted file mode 100644 index 04e57e6..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class deleted file mode 100644 index 5c714cc..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class deleted file mode 100644 index 212180e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate.class deleted file mode 100644 index 6f99597..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cl_appupdate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfcontext.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfcontext.class deleted file mode 100644 index 64cd5f3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfcontext.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdffontinfo.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdffontinfo.class deleted file mode 100644 index 0e2c354..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdffontinfo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfimageinfo.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfimageinfo.class deleted file mode 100644 index b1ea822..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfimageinfo.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class deleted file mode 100644 index 1e5e2ca..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfpage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfpage.class deleted file mode 100644 index 55a5a5b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdfpage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdftextsize.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdftextsize.class deleted file mode 100644 index c24a943..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf$_tpdftextsize.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf.class deleted file mode 100644 index b6b05f9..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/cpdf.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbcommand.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbcommand.class deleted file mode 100644 index 5ccaa5b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbcommand.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbresult.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbresult.class deleted file mode 100644 index af964a3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager$_dbresult.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager.class deleted file mode 100644 index 7e0ea4c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/dbrequestmanager.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_celltitle.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_celltitle.class deleted file mode 100644 index cf41008..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_celltitle.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_cliente.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_cliente.class deleted file mode 100644 index 9823e46..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_cliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_clientes.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_clientes.class deleted file mode 100644 index 1f21c7c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_clientes.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_datoscliente.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_datoscliente.class deleted file mode 100644 index 316e141..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_datoscliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_folioabono.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_folioabono.class deleted file mode 100644 index a879318..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_folioabono.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_login.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_login.class deleted file mode 100644 index 0bedeca..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_login.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mainpage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mainpage.class deleted file mode 100644 index 3edfac1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mainpage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.class deleted file mode 100644 index 104fca2..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_nuevocliente.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_nuevocliente.class deleted file mode 100644 index 098dc93..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_nuevocliente.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class deleted file mode 100644 index dc34873..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.class deleted file mode 100644 index 37a9959..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pedido.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pedido.class deleted file mode 100644 index 81ae606..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_pedido.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_principal.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_principal.class deleted file mode 100644 index f826419..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_principal.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem.class deleted file mode 100644 index 2845f7c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem1.class deleted file mode 100644 index 9a61c1f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem2.class deleted file mode 100644 index c488a6a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_proditem2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_productos.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_productos.class deleted file mode 100644 index b0b4ffd..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_productos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_promociones.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_promociones.class deleted file mode 100644 index 507b646..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_promociones.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_resdia.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_resdia.class deleted file mode 100644 index 22cba9c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_resdia.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_scrollpromos.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_scrollpromos.class deleted file mode 100644 index e0f58d3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_scrollpromos.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_searchtemplate.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_searchtemplate.class deleted file mode 100644 index 1310a7d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/designerscripts/LS_searchtemplate.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter$_animage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter$_animage.class deleted file mode 100644 index fabe090..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter$_animage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter.class deleted file mode 100644 index 99ada00..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/escposprinter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_Load.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_Load.class deleted file mode 100644 index e220799..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_Load.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.class deleted file mode 100644 index 6d8b251..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$_loadresult.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$_loadresult.class deleted file mode 100644 index cd3a3f6..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler$_loadresult.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler.class deleted file mode 100644 index 24a1eab..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/filehandler.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/fileprovider.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/fileprovider.class deleted file mode 100644 index 8d12a5f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/fileprovider.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob$_multipartfiledata.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob$_multipartfiledata.class deleted file mode 100644 index 991131b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob$_multipartfiledata.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob.class deleted file mode 100644 index 70b4b0e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/httpjob.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/httputils2service.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/httputils2service.class deleted file mode 100644 index 5f3d87f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/httputils2service.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/madewithlove.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/madewithlove.class deleted file mode 100644 index a7f5dd3..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/madewithlove.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main$1.class deleted file mode 100644 index 07d9233..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main$B4AMenuItemsClickListener.class deleted file mode 100644 index 0711e01..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$HandleKeyDelayed.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main$HandleKeyDelayed.class deleted file mode 100644 index 021e9b2..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$ResumeMessage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main$ResumeMessage.class deleted file mode 100644 index e1f90f5..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$WaitForLayout.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main$WaitForLayout.class deleted file mode 100644 index 1f1e8ae..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/main.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/main.class deleted file mode 100644 index 3f9e859..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/main.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/manageexternalstorage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/manageexternalstorage.class deleted file mode 100644 index aa8f121..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/manageexternalstorage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$1.class deleted file mode 100644 index aa84638..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class deleted file mode 100644 index 2d05316..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class deleted file mode 100644 index 8dfcb21..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class deleted file mode 100644 index 6bb1a69..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class deleted file mode 100644 index c20a7f4..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class deleted file mode 100644 index 97f3828..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumeMessage.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumeMessage.class deleted file mode 100644 index e08ca7f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$ResumeMessage.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$WaitForLayout.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$WaitForLayout.class deleted file mode 100644 index bdb075e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas$WaitForLayout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas.class deleted file mode 100644 index 2a67061..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/mapa_rutas.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$1.class deleted file mode 100644 index 152e2d8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$2.class deleted file mode 100644 index 4008951..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$newinst2_BR.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$newinst2_BR.class deleted file mode 100644 index d55c9e1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2$newinst2_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2.class deleted file mode 100644 index 4d89f1f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/newinst2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$1.class deleted file mode 100644 index bad8ecd..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$2.class deleted file mode 100644 index c01de1d..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class deleted file mode 100644 index 0d1c34f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$notificationservice_BR.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$notificationservice_BR.class deleted file mode 100644 index c1ae33f..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice$notificationservice_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice.class deleted file mode 100644 index dadb2fc..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/notificationservice.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/pendientes.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/pendientes.class deleted file mode 100644 index eaa703a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/pendientes.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class deleted file mode 100644 index 4afc836..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class deleted file mode 100644 index 4f3afdd..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv.class deleted file mode 100644 index 940cb9c..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/preoptimizedclv.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/roundslider.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/roundslider.class deleted file mode 100644 index cb26df1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/roundslider.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class deleted file mode 100644 index 51cd981..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel.class deleted file mode 100644 index d974cb5..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/scrollinglabel.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$1.class deleted file mode 100644 index 889667e..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$2.class deleted file mode 100644 index 87ba348..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$starter_BR.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$starter_BR.class deleted file mode 100644 index e462ae6..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter$starter_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/starter.class deleted file mode 100644 index ac5e195..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/starter.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/subs.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/subs.class deleted file mode 100644 index 614c27a..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/subs.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/swiftbutton.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/swiftbutton.class deleted file mode 100644 index ed4b8f8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/swiftbutton.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$1.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$1.class deleted file mode 100644 index 70db2d8..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$1.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$2.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$2.class deleted file mode 100644 index ece9d3b..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$2.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.class deleted file mode 100644 index b06dfa1..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class deleted file mode 100644 index d400d28..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$tracker_BR.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$tracker_BR.class deleted file mode 100644 index 4f8e0ed..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker$tracker_BR.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker.class deleted file mode 100644 index 1ba7721..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/tracker.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/adm/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/bin/classes/adm/keymon/com/mx/xuiviewsutils.class deleted file mode 100644 index 157b984..0000000 Binary files a/B4A/Objects/bin/classes/adm/keymon/com/mx/xuiviewsutils.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$anim.class b/B4A/Objects/bin/classes/androidx/browser/R$anim.class deleted file mode 100644 index a10a969..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$attr.class b/B4A/Objects/bin/classes/androidx/browser/R$attr.class deleted file mode 100644 index d4ee4a9..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$bool.class b/B4A/Objects/bin/classes/androidx/browser/R$bool.class deleted file mode 100644 index 1f72447..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$color.class b/B4A/Objects/bin/classes/androidx/browser/R$color.class deleted file mode 100644 index 581067f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$dimen.class b/B4A/Objects/bin/classes/androidx/browser/R$dimen.class deleted file mode 100644 index 092a998..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$drawable.class b/B4A/Objects/bin/classes/androidx/browser/R$drawable.class deleted file mode 100644 index 0452bff..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$id.class b/B4A/Objects/bin/classes/androidx/browser/R$id.class deleted file mode 100644 index 8f1b267..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$integer.class b/B4A/Objects/bin/classes/androidx/browser/R$integer.class deleted file mode 100644 index a898e57..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$layout.class b/B4A/Objects/bin/classes/androidx/browser/R$layout.class deleted file mode 100644 index 23ac952..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$string.class b/B4A/Objects/bin/classes/androidx/browser/R$string.class deleted file mode 100644 index b10f76f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$style.class b/B4A/Objects/bin/classes/androidx/browser/R$style.class deleted file mode 100644 index 6751cd6..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$styleable.class b/B4A/Objects/bin/classes/androidx/browser/R$styleable.class deleted file mode 100644 index d92f888..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R$xml.class b/B4A/Objects/bin/classes/androidx/browser/R$xml.class deleted file mode 100644 index 778358e..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/browser/R.class b/B4A/Objects/bin/classes/androidx/browser/R.class deleted file mode 100644 index 0300e2d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/browser/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class deleted file mode 100644 index 96065a8..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class deleted file mode 100644 index 21bcee5..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$bool.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$bool.class deleted file mode 100644 index 6d91b34..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class deleted file mode 100644 index 8a24a00..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class deleted file mode 100644 index 98dfbf2..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class deleted file mode 100644 index 665a150..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class deleted file mode 100644 index 5c9b5a8..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class deleted file mode 100644 index ff666fd..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class deleted file mode 100644 index 3336d2d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class deleted file mode 100644 index 8503373..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class deleted file mode 100644 index 12fd155..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class deleted file mode 100644 index 2d53f74..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class deleted file mode 100644 index 56d2888..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class b/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class deleted file mode 100644 index 2442ffd..0000000 Binary files a/B4A/Objects/bin/classes/androidx/coordinatorlayout/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$anim.class b/B4A/Objects/bin/classes/androidx/core/R$anim.class deleted file mode 100644 index 30c5db8..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$attr.class b/B4A/Objects/bin/classes/androidx/core/R$attr.class deleted file mode 100644 index 6293023..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$bool.class b/B4A/Objects/bin/classes/androidx/core/R$bool.class deleted file mode 100644 index efaf4e0..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$color.class b/B4A/Objects/bin/classes/androidx/core/R$color.class deleted file mode 100644 index 91ebc71..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$dimen.class b/B4A/Objects/bin/classes/androidx/core/R$dimen.class deleted file mode 100644 index f2dce35..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$drawable.class b/B4A/Objects/bin/classes/androidx/core/R$drawable.class deleted file mode 100644 index 3fca18f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$id.class b/B4A/Objects/bin/classes/androidx/core/R$id.class deleted file mode 100644 index 954000e..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$integer.class b/B4A/Objects/bin/classes/androidx/core/R$integer.class deleted file mode 100644 index 42d97f3..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$layout.class b/B4A/Objects/bin/classes/androidx/core/R$layout.class deleted file mode 100644 index e38df4f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$string.class b/B4A/Objects/bin/classes/androidx/core/R$string.class deleted file mode 100644 index f345f8b..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$style.class b/B4A/Objects/bin/classes/androidx/core/R$style.class deleted file mode 100644 index 7e6138c..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$styleable.class b/B4A/Objects/bin/classes/androidx/core/R$styleable.class deleted file mode 100644 index fca4c08..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R$xml.class b/B4A/Objects/bin/classes/androidx/core/R$xml.class deleted file mode 100644 index af72cad..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/core/R.class b/B4A/Objects/bin/classes/androidx/core/R.class deleted file mode 100644 index a9655d3..0000000 Binary files a/B4A/Objects/bin/classes/androidx/core/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class deleted file mode 100644 index 2354acc..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class deleted file mode 100644 index 9f4e5d8..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$bool.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$bool.class deleted file mode 100644 index 335e382..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class deleted file mode 100644 index f50324a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class deleted file mode 100644 index e20cb65..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class deleted file mode 100644 index 423b540..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class deleted file mode 100644 index ed7ff53..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class deleted file mode 100644 index a42e986..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class deleted file mode 100644 index 14afb5f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class deleted file mode 100644 index df77dbb..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class deleted file mode 100644 index 127f51a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class deleted file mode 100644 index 47c40a3..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class deleted file mode 100644 index 2480ba6..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/drawerlayout/R.class b/B4A/Objects/bin/classes/androidx/drawerlayout/R.class deleted file mode 100644 index edcc429..0000000 Binary files a/B4A/Objects/bin/classes/androidx/drawerlayout/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$anim.class b/B4A/Objects/bin/classes/androidx/fragment/R$anim.class deleted file mode 100644 index fcacc30..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$attr.class b/B4A/Objects/bin/classes/androidx/fragment/R$attr.class deleted file mode 100644 index 815c38d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$bool.class b/B4A/Objects/bin/classes/androidx/fragment/R$bool.class deleted file mode 100644 index 5f3c99e..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$color.class b/B4A/Objects/bin/classes/androidx/fragment/R$color.class deleted file mode 100644 index 820e76a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class b/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class deleted file mode 100644 index c5acd8e..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class b/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class deleted file mode 100644 index b55bde9..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$id.class b/B4A/Objects/bin/classes/androidx/fragment/R$id.class deleted file mode 100644 index 45ff346..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$integer.class b/B4A/Objects/bin/classes/androidx/fragment/R$integer.class deleted file mode 100644 index 6382ac6..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$layout.class b/B4A/Objects/bin/classes/androidx/fragment/R$layout.class deleted file mode 100644 index 051d9f2..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$string.class b/B4A/Objects/bin/classes/androidx/fragment/R$string.class deleted file mode 100644 index 5d95c7c..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$style.class b/B4A/Objects/bin/classes/androidx/fragment/R$style.class deleted file mode 100644 index 71e45b9..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class b/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class deleted file mode 100644 index 54b6830..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R$xml.class b/B4A/Objects/bin/classes/androidx/fragment/R$xml.class deleted file mode 100644 index bcfb343..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/fragment/R.class b/B4A/Objects/bin/classes/androidx/fragment/R.class deleted file mode 100644 index 2e0b1ff..0000000 Binary files a/B4A/Objects/bin/classes/androidx/fragment/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$anim.class b/B4A/Objects/bin/classes/androidx/media/R$anim.class deleted file mode 100644 index ec64300..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$attr.class b/B4A/Objects/bin/classes/androidx/media/R$attr.class deleted file mode 100644 index ad7ddad..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$bool.class b/B4A/Objects/bin/classes/androidx/media/R$bool.class deleted file mode 100644 index 847016f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$color.class b/B4A/Objects/bin/classes/androidx/media/R$color.class deleted file mode 100644 index bbf0756..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$dimen.class b/B4A/Objects/bin/classes/androidx/media/R$dimen.class deleted file mode 100644 index 3ea046a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$drawable.class b/B4A/Objects/bin/classes/androidx/media/R$drawable.class deleted file mode 100644 index b509af9..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$id.class b/B4A/Objects/bin/classes/androidx/media/R$id.class deleted file mode 100644 index 7c791b2..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$integer.class b/B4A/Objects/bin/classes/androidx/media/R$integer.class deleted file mode 100644 index 9e6a499..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$layout.class b/B4A/Objects/bin/classes/androidx/media/R$layout.class deleted file mode 100644 index 5ffb9ee..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$string.class b/B4A/Objects/bin/classes/androidx/media/R$string.class deleted file mode 100644 index 0d50256..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$style.class b/B4A/Objects/bin/classes/androidx/media/R$style.class deleted file mode 100644 index 700c9bd..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$styleable.class b/B4A/Objects/bin/classes/androidx/media/R$styleable.class deleted file mode 100644 index ee88639..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R$xml.class b/B4A/Objects/bin/classes/androidx/media/R$xml.class deleted file mode 100644 index 6267874..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/media/R.class b/B4A/Objects/bin/classes/androidx/media/R.class deleted file mode 100644 index c45f5c6..0000000 Binary files a/B4A/Objects/bin/classes/androidx/media/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class deleted file mode 100644 index 50ed8a7..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class deleted file mode 100644 index 0c4243d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$bool.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$bool.class deleted file mode 100644 index 9ad2c2a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class deleted file mode 100644 index 2aee973..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class deleted file mode 100644 index 4962d2f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class deleted file mode 100644 index 0ea084c..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class deleted file mode 100644 index ae3f35d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class deleted file mode 100644 index 714e7db..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class deleted file mode 100644 index 9939a47..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class deleted file mode 100644 index 6ffff2e..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class deleted file mode 100644 index c9293f0..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class deleted file mode 100644 index 3b3f881..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class deleted file mode 100644 index 2526841..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class b/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class deleted file mode 100644 index b3fd51b..0000000 Binary files a/B4A/Objects/bin/classes/androidx/swiperefreshlayout/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$anim.class b/B4A/Objects/bin/classes/androidx/work/R$anim.class deleted file mode 100644 index 32ff97c..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$attr.class b/B4A/Objects/bin/classes/androidx/work/R$attr.class deleted file mode 100644 index c60bd17..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$bool.class b/B4A/Objects/bin/classes/androidx/work/R$bool.class deleted file mode 100644 index 048e62f..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$color.class b/B4A/Objects/bin/classes/androidx/work/R$color.class deleted file mode 100644 index 31dd800..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$dimen.class b/B4A/Objects/bin/classes/androidx/work/R$dimen.class deleted file mode 100644 index d5347a8..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$drawable.class b/B4A/Objects/bin/classes/androidx/work/R$drawable.class deleted file mode 100644 index 900e16d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$id.class b/B4A/Objects/bin/classes/androidx/work/R$id.class deleted file mode 100644 index 9766ac2..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$integer.class b/B4A/Objects/bin/classes/androidx/work/R$integer.class deleted file mode 100644 index 2e94b41..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$layout.class b/B4A/Objects/bin/classes/androidx/work/R$layout.class deleted file mode 100644 index 0f86b3a..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$string.class b/B4A/Objects/bin/classes/androidx/work/R$string.class deleted file mode 100644 index 8cb14bc..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$style.class b/B4A/Objects/bin/classes/androidx/work/R$style.class deleted file mode 100644 index 337f5ca..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$styleable.class b/B4A/Objects/bin/classes/androidx/work/R$styleable.class deleted file mode 100644 index d23002c..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R$xml.class b/B4A/Objects/bin/classes/androidx/work/R$xml.class deleted file mode 100644 index 5ffa63d..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/androidx/work/R.class b/B4A/Objects/bin/classes/androidx/work/R.class deleted file mode 100644 index 5864a49..0000000 Binary files a/B4A/Objects/bin/classes/androidx/work/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$anim.class deleted file mode 100644 index 69b6b9f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$attr.class deleted file mode 100644 index 6685e30..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$bool.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$bool.class deleted file mode 100644 index b8a2bd1..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$color.class deleted file mode 100644 index 811ecac..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$dimen.class deleted file mode 100644 index ccf25e2..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$drawable.class deleted file mode 100644 index 5817654..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$id.class deleted file mode 100644 index 5053b25..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$integer.class deleted file mode 100644 index a253405..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$layout.class deleted file mode 100644 index 69489a3..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$string.class deleted file mode 100644 index fde1e58..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$style.class deleted file mode 100644 index 1228795..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$styleable.class deleted file mode 100644 index b49bb96..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R$xml.class deleted file mode 100644 index 66f1ec6..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/R.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/R.class deleted file mode 100644 index 7469c5f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$anim.class deleted file mode 100644 index cb47938..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$attr.class deleted file mode 100644 index f7bc5b3..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$bool.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$bool.class deleted file mode 100644 index 58daa04..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$color.class deleted file mode 100644 index 3f03d79..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$dimen.class deleted file mode 100644 index 1497e60..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$drawable.class deleted file mode 100644 index c8edbee..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$id.class deleted file mode 100644 index 62a8cd6..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$integer.class deleted file mode 100644 index e3f0588..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$layout.class deleted file mode 100644 index e8815a3..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$string.class deleted file mode 100644 index ad474c3..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$style.class deleted file mode 100644 index 23587b7..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$styleable.class deleted file mode 100644 index b01e543..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$xml.class deleted file mode 100644 index 7fff2e9..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R.class b/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R.class deleted file mode 100644 index 67960b9..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/ads/impl/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class deleted file mode 100644 index 75e8c88..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class deleted file mode 100644 index 3f01393..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$bool.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$bool.class deleted file mode 100644 index b820fd5..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class deleted file mode 100644 index 95eb8ac..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class deleted file mode 100644 index 5850007..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class deleted file mode 100644 index 3e3c10c..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class deleted file mode 100644 index 37869ca..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class deleted file mode 100644 index d80af9d..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class deleted file mode 100644 index b6f2cde..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class deleted file mode 100644 index 08dc8c8..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class deleted file mode 100644 index 982b31c..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class deleted file mode 100644 index 0749d33..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class deleted file mode 100644 index 1d3771b..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/base/R.class b/B4A/Objects/bin/classes/com/google/android/gms/base/R.class deleted file mode 100644 index 2d4ccf4..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/base/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class deleted file mode 100644 index 42517a4..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class deleted file mode 100644 index 658a483..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$bool.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$bool.class deleted file mode 100644 index bf42310..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class deleted file mode 100644 index 9570d72..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class deleted file mode 100644 index 3770ab7..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class deleted file mode 100644 index 6572cd9..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class deleted file mode 100644 index 7a8cf39..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class deleted file mode 100644 index 9f3b451..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class deleted file mode 100644 index 7b5444c..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class deleted file mode 100644 index f795df2..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class deleted file mode 100644 index 4828900..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class deleted file mode 100644 index a6dc0b4..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class deleted file mode 100644 index be69c5f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/common/R.class b/B4A/Objects/bin/classes/com/google/android/gms/common/R.class deleted file mode 100644 index 785653a..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/common/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class deleted file mode 100644 index dc4c3f5..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class deleted file mode 100644 index ada6f6c..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$bool.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$bool.class deleted file mode 100644 index 426bfce..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class deleted file mode 100644 index 1e2387c..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class deleted file mode 100644 index 624dbad..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class deleted file mode 100644 index e61a375..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class deleted file mode 100644 index b1ae081..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class deleted file mode 100644 index 0d7ab05..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class deleted file mode 100644 index 8edff7f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class deleted file mode 100644 index b2bd012..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class deleted file mode 100644 index 85ad4ea..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class deleted file mode 100644 index 339f495..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class deleted file mode 100644 index ce53104..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class b/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class deleted file mode 100644 index f524672..0000000 Binary files a/B4A/Objects/bin/classes/com/google/android/gms/maps/R.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$anim.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$anim.class deleted file mode 100644 index 666aab2..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$anim.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class deleted file mode 100644 index c1d332f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$attr.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$bool.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$bool.class deleted file mode 100644 index 843dbf1..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$bool.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class deleted file mode 100644 index 9720390..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$color.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class deleted file mode 100644 index 1815db8..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$dimen.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class deleted file mode 100644 index 415b8e9..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$drawable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class deleted file mode 100644 index c224b31..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$id.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class deleted file mode 100644 index 2120945..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$integer.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class deleted file mode 100644 index 2ba3819..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$layout.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class deleted file mode 100644 index 2edfa30..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$string.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class deleted file mode 100644 index 7ac1988..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$style.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class deleted file mode 100644 index f1c9338..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$styleable.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class deleted file mode 100644 index af59c1f..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R$xml.class and /dev/null differ diff --git a/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class b/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class deleted file mode 100644 index 2de0ab5..0000000 Binary files a/B4A/Objects/bin/classes/com/google/firebase/messaging/R.class and /dev/null differ diff --git a/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf b/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf deleted file mode 100644 index 401ec0f..0000000 Binary files a/B4A/Objects/bin/extra/assets/b4x_fontawesome.otf and /dev/null differ diff --git a/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf b/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf deleted file mode 100644 index 7015564..0000000 Binary files a/B4A/Objects/bin/extra/assets/b4x_materialicons.ttf and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/adm.keymon.com.mx.zip b/B4A/Objects/bin/extra/compiled_resources/adm.keymon.com.mx.zip deleted file mode 100644 index 96cd9b1..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/adm.keymon.com.mx.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.browser.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.browser.zip deleted file mode 100644 index 4f1ee7b..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.browser.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip deleted file mode 100644 index 8684ac7..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.coordinatorlayout.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip deleted file mode 100644 index 8f3ac37..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.core.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip deleted file mode 100644 index 15254a8..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.drawerlayout.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip deleted file mode 100644 index 8855779..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.fragment.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip deleted file mode 100644 index 50a460b..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.media.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip deleted file mode 100644 index 90f9c9a..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.swiperefreshlayout.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/androidx.work.zip b/B4A/Objects/bin/extra/compiled_resources/androidx.work.zip deleted file mode 100644 index 29458c4..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/androidx.work.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.impl.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.impl.zip deleted file mode 100644 index ac21090..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.impl.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.zip deleted file mode 100644 index 51c7100..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.ads.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip deleted file mode 100644 index c59bf9a..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.base.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip deleted file mode 100644 index 0b8e032..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.common.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip deleted file mode 100644 index 786dc9f..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.android.gms.maps.zip and /dev/null differ diff --git a/B4A/Objects/bin/extra/compiled_resources/com.google.firebase.messaging.zip b/B4A/Objects/bin/extra/compiled_resources/com.google.firebase.messaging.zip deleted file mode 100644 index f19e09f..0000000 Binary files a/B4A/Objects/bin/extra/compiled_resources/com.google.firebase.messaging.zip and /dev/null differ diff --git a/B4A/Objects/bin/temp.ap_ b/B4A/Objects/bin/temp.ap_ deleted file mode 100644 index 3980bd5..0000000 Binary files a/B4A/Objects/bin/temp.ap_ and /dev/null differ diff --git a/B4A/Objects/classes.dex b/B4A/Objects/classes.dex deleted file mode 100644 index e984836..0000000 Binary files a/B4A/Objects/classes.dex and /dev/null differ diff --git a/B4A/Objects/classes2.dex b/B4A/Objects/classes2.dex deleted file mode 100644 index 87681ed..0000000 Binary files a/B4A/Objects/classes2.dex and /dev/null differ diff --git a/B4A/Objects/d8_arguments.txt b/B4A/Objects/d8_arguments.txt deleted file mode 100644 index b4b73c4..0000000 --- a/B4A/Objects/d8_arguments.txt +++ /dev/null @@ -1,537 +0,0 @@ ---release ---output -D:\ADM\B4A\Objects ---lib -C:\Android\platforms\android-30\android.jar ---min-api -21 -C:\Android\tools\..\extras\b4a_local\unpacked-b4ashared-63837499356000\dex_v1\b4ashared.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-ads\19.4.0\unpacked-firebase-ads-19.4.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads\20.2.0\unpacked-play-services-ads-20.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\browser\browser\1.0.0\unpacked-browser-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.3.1\unpacked-core-1.3.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-runtime\2.2.0\unpacked-lifecycle-runtime-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\versionedparcelable\versionedparcelable\1.1.1\unpacked-versionedparcelable-1.1.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\interpolator\interpolator\1.0.0\unpacked-interpolator-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-ui\1.0.0\unpacked-legacy-support-core-ui-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-core-utils\1.0.0\unpacked-legacy-support-core-utils-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\documentfile\documentfile\1.0.1\unpacked-documentfile-1.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\loader\loader\1.1.0\unpacked-loader-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-livedata-core\2.2.0\unpacked-lifecycle-livedata-core-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-runtime\2.1.0\unpacked-core-runtime-2.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel\2.2.0\unpacked-lifecycle-viewmodel-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\localbroadcastmanager\localbroadcastmanager\1.0.0\unpacked-localbroadcastmanager-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\print\print\1.0.0\unpacked-print-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\customview\customview\1.1.0\unpacked-customview-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\viewpager\viewpager\1.0.0\unpacked-viewpager-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\coordinatorlayout\coordinatorlayout\1.1.0\unpacked-coordinatorlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\drawerlayout\drawerlayout\1.1.0\unpacked-drawerlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\slidingpanelayout\slidingpanelayout\1.1.0\unpacked-slidingpanelayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\swiperefreshlayout\swiperefreshlayout\1.1.0\unpacked-swiperefreshlayout-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\asynclayoutinflater\asynclayoutinflater\1.0.0\unpacked-asynclayoutinflater-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\cursoradapter\cursoradapter\1.0.0\unpacked-cursoradapter-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads-base\20.2.0\unpacked-play-services-ads-base-20.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-basement\17.6.0\unpacked-play-services-basement-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\fragment\fragment\1.2.5\unpacked-fragment-1.2.5\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\activity\activity\1.1.0\unpacked-activity-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\savedstate\savedstate\1.0.0\unpacked-savedstate-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel-savedstate\2.2.0\unpacked-lifecycle-viewmodel-savedstate-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads-identifier\17.0.1\unpacked-play-services-ads-identifier-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-ads-lite\20.2.0\unpacked-play-services-ads-lite-20.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\work\work-runtime\2.4.0\unpacked-work-runtime-2.4.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-livedata\2.2.0\unpacked-lifecycle-livedata-2.2.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk-api\19.0.0\unpacked-play-services-measurement-sdk-api-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-base\19.0.0\unpacked-play-services-measurement-base-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\ump\user-messaging-platform\1.0.0\unpacked-user-messaging-platform-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-tasks\17.2.1\unpacked-play-services-tasks-17.2.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-analytics\17.6.0\unpacked-firebase-analytics-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement\19.0.0\unpacked-play-services-measurement-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-impl\19.0.0\unpacked-play-services-measurement-impl-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-stats\17.0.1\unpacked-play-services-stats-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-api\19.0.0\unpacked-play-services-measurement-api-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-common\19.3.1\unpacked-firebase-common-19.3.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-components\16.0.0\unpacked-firebase-components-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations\16.3.3\unpacked-firebase-installations-16.3.3\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-installations-interop\16.0.0\unpacked-firebase-installations-interop-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-measurement-connector\18.0.0\unpacked-firebase-measurement-connector-18.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-measurement-sdk\19.0.0\unpacked-play-services-measurement-sdk-19.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-messaging\20.3.0\unpacked-firebase-messaging-20.3.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-api\2.2.1\unpacked-transport-api-2.2.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-backend-cct\2.3.3\unpacked-transport-backend-cct-2.3.3\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\datatransport\transport-runtime\2.2.6\unpacked-transport-runtime-2.2.6\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders-json\17.1.0\unpacked-firebase-encoders-json-17.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-cloud-messaging\16.0.0\unpacked-play-services-cloud-messaging-16.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-datatransport\17.0.8\unpacked-firebase-datatransport-17.0.8\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid\20.2.4\unpacked-firebase-iid-20.2.4\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-iid-interop\17.0.0\unpacked-firebase-iid-interop-17.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-base\17.6.0\unpacked-play-services-base-17.6.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-core\17.5.1\unpacked-firebase-core-17.5.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-maps\17.0.1\unpacked-play-services-maps-17.0.1\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\legacy\legacy-support-v4\1.0.0\unpacked-legacy-support-v4-1.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\media\media\1.1.0\unpacked-media-1.1.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-location\18.0.0\unpacked-play-services-location-18.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\com\google\android\gms\play-services-places-placereport\17.0.0\unpacked-play-services-places-placereport-17.0.0\jars\classes.zip -c:\android\tools\..\extras\b4a_remote\androidx\multidex\multidex\2.0.1\unpacked-multidex-2.0.1\jars\classes.zip -C:\Android\tools\..\extras\b4a_local\unpacked-baqrcode-63580278352000\dex_v1\baqrcode.zip -C:\Android\tools\..\extras\b4a_local\unpacked-batteryprogressview-63728354598000\dex_v1\batteryprogressview.zip -C:\Android\tools\..\extras\b4a_local\unpacked-bitmapcreator-63837499358000\dex_v1\bitmapcreator.zip -C:\Android\tools\..\extras\b4a_local\unpacked-byteconverter-63837499358000\dex_v1\byteconverter.zip -C:\Android\tools\..\extras\b4a_local\unpacked-camera-63837499358000\dex_v1\camera.zip -C:\Android\tools\..\extras\b4a_local\unpacked-compressstrings-63690670984758\dex_v1\compressstrings.zip -C:\Android\tools\..\extras\b4a_local\unpacked-contentresolver-63837499358000\dex_v1\contentresolver.zip -C:\Android\tools\..\extras\b4a_local\unpacked-core-63837499358000\dex_v1\core.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebaseadmob-63837499358000\dex_v1\firebaseadmob.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebaseanalytics-63837499358000\dex_v1\firebaseanalytics.zip -C:\Android\tools\..\extras\b4a_local\unpacked-firebasenotifications-63837499358000\dex_v1\firebasenotifications.zip -C:\Android\tools\..\extras\b4a_local\unpacked-fusedlocationprovider-63591657828000\dex_v1\fusedlocationprovider.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemaps-63702010524000\dex_v1\googlemaps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-googlemapsextras-63717303676000\dex_v1\googlemapsextras.zip -C:\Android\tools\..\extras\b4a_local\unpacked-gps-63837499358000\dex_v1\gps.zip -C:\Android\tools\..\extras\b4a_local\unpacked-ime-63837499358000\dex_v1\ime.zip -C:\Android\tools\..\extras\b4a_local\unpacked-javaobject-63837499358000\dex_v1\javaobject.zip -C:\Android\tools\..\extras\b4a_local\unpacked-json-63837499358000\dex_v1\json.zip -C:\Android\tools\..\extras\b4a_local\unpacked-phone-63837499358000\dex_v1\phone.zip -C:\Android\tools\..\extras\b4a_local\unpacked-randomaccessfile-63837499358000\dex_v1\randomaccessfile.zip -C:\Android\tools\..\extras\b4a_local\unpacked-replyauto-63830972547000\dex_v1\replyauto.zip -C:\Android\tools\..\extras\b4a_local\unpacked-rspopupmenu-63542938804000\dex_v1\rspopupmenu.zip -C:\Android\tools\..\extras\b4a_local\unpacked-runtimepermissions.androidx-63837499358000\dex_v1\runtimepermissions.zip -C:\Android\tools\..\extras\b4a_local\unpacked-serial-63837499358000\dex_v1\serial.zip -C:\Android\tools\..\extras\b4a_local\unpacked-sql-63837499358000\dex_v1\sql.zip -C:\Android\tools\..\extras\b4a_local\unpacked-stringutils-63837499358000\dex_v1\stringutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-togglelibrary-63627631314000\dex_v1\togglelibrary.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xcustomlistview-63837499358000\dex_v1\xcustomlistview.zip -C:\Android\tools\..\extras\b4a_local\unpacked-xui-63837499358000\dex_v1\xui.zip -C:\Android\tools\..\extras\b4a_local\unpacked-pdfjetb4a-63530826028000\dex_v1\pdfjetb4a.zip -C:\Android\tools\..\extras\b4a_local\unpacked-android-support-annotations-63728354598000\dex_v1\android-support-annotations.zip -C:\Android\tools\..\extras\b4a_local\unpacked-gson-2.8.5-63837499358000\dex_v1\gson-2.8.5.zip -C:\Android\tools\..\extras\b4a_local\unpacked-pdfjet-63530825992000\dex_v1\pdfjet.zip -C:\Android\tools\..\extras\b4a_local\unpacked-reflection-63837499358000\dex_v1\reflection.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-63837499358000\dex_v1\okhttp.zip -C:\Android\tools\..\extras\b4a_local\unpacked-dateutils-63837499358000\dex_v1\dateutils.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63837499358000\dex_v1\okhttp-4.9.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okio-2.8.0-63837499358000\dex_v1\okio-2.8.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-okhttp-urlconnection-4.9.3-63837499358000\dex_v1\okhttp-urlconnection-4.9.3.zip -C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63837499358000\dex_v1\kotlin-stdlib-1.6.10.zip -C:\Android\tools\..\extras\b4a_local\unpacked-remotelogger-63837499358000\dex_v1\remotelogger.zip -c:\android\tools\..\extras\b4a_remote\androidx\annotation\annotation\1.1.0\annotation-1.1.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-common\2.2.0\lifecycle-common-2.2.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\arch\core\core-common\2.1.0\core-common-2.1.0.zip -c:\android\tools\..\extras\b4a_remote\androidx\collection\collection\1.1.0\collection-1.1.0.zip -C:\Android\tools\..\extras\b4a_local\unpacked-com.google.guava-listenablefuture-63837499358000\dex_v1\com.google.guava-listenablefuture.zip -C:\Android\tools\..\extras\b4a_local\unpacked-javax.inject-javax.inject-63837499358000\dex_v1\javax.inject-javax.inject.zip -c:\android\tools\..\extras\b4a_remote\com\google\firebase\firebase-encoders\16.0.0\firebase-encoders-16.0.0.zip -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\animatedcounter.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\anotherprogressbar$ResumableSub_BusyLoop.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\anotherprogressbar.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$appupdater_BR.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$ResumableSub_download_newApk.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$ResumableSub_Service_Start.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater$_mnewversion.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\appupdater.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xbitset.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xbreadcrumb.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xbytesbuilder.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcache$_b4xcacheitem.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcache.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcollections.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcolortemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcolortemplate$_colorpickerpart.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcolortemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcombobox$ResumableSub_RaiseEvent.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcombobox.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xcomparatorsort.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdatetemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdatetemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdialog$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdialog$ResumableSub_ShowCustom.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdialog$ResumableSub_ShowTemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xdialog.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xfloattextfield.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xformatter$_b4xformatdata.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xformatter.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4ximageview.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xinputtemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xinputtemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xlisttemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xlisttemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xloadingindicator$ResumableSub_MainLoop.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xloadingindicator.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xlongtexttemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_Appear.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_B4XPage_Created.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_b_envioBD_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_b_importarBD_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_b_terpc_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage$ResumableSub_copiaDB.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xmainpage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xorderedmap.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpages.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesdelegator.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager$PagesMenuListener.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager$ResumableSub_HandleCloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager$_b4amenuitem.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager$_b4xpageinfo.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager$_b4xpageparent.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xpagesmanager.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xplusminus$ResumableSub_StartDownLoop.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xplusminus.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xradiobutton$ResumableSub_SetValueImpl.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xradiobutton.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xsearchtemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xsearchtemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xseekbar.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xset.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xsignaturetemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xswitch$ResumableSub_SetValueImpl.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xswitch.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xtimedtemplate$ResumableSub_Show.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\b4xtimedtemplate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\batteryutilities.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cameraexclass$_camerainfoandid.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cameraexclass$_camerasize.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cameraexclass.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate$ResumableSub_DownloadApk.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate$ResumableSub_IsvalidWV.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate$ResumableSub_ReadWebVN.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate$ResumableSub_TryApkUpdate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate$ResumableSub_UpdateApk.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cl_appupdate.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdfcontext.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdffontinfo.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdfimageinfo.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdfmultilinetextsize.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdfpage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf$_tpdftextsize.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\cpdf.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_B4XPage_Created.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_b_abono_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_b_acept_tp_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_Guardar_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_imprime_preventa.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_imprime_venta.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_InitializeCamera.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente$ResumableSub_sc_result.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cliente.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_clientes$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_clientes.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_cuestionario.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_historico$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_historico.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_mapas.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_nota$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_nota.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_noventa.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_nuevocliente$ResumableSub_B4XPage_Created.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_nuevocliente.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_pedidos$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_pedidos.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_principal$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_principal$ResumableSub_Btn_Ubicar_Click.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_principal$_titledata.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_principal.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_productos$ResumableSub_B4XPage_Appear.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_productos$ResumableSub_B4XPage_CloseRequest.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_productos$ResumableSub_Busca_TextChanged.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_productos$ResumableSub_lv_catalogos2_ItemClick.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_productos.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_promos.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_respaldodiario.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_subs.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_ticketsdia.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_updateavailable$ResumableSub_B4XPage_Appear.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\c_updateavailable.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\dbrequestmanager$_dbcommand.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\dbrequestmanager$_dbresult.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\dbrequestmanager.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\escposprinter$_animage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\escposprinter.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\filehandler$ResumableSub_Load.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\filehandler$ResumableSub_SaveAs.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\filehandler$_loadresult.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\filehandler.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\fileprovider.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\httpjob$_multipartfiledata.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\httpjob.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\httputils2service.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\madewithlove.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main$B4AMenuItemsClickListener.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main$HandleKeyDelayed.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main$ResumeMessage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main$WaitForLayout.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\main.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\manageexternalstorage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$B4AMenuItemsClickListener.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$HandleKeyDelayed.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$ResumableSub_Activity_Create.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$ResumableSub_Activity_Resume.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$ResumableSub_MapFragment1_Ready.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$ResumeMessage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas$WaitForLayout.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\mapa_rutas.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\newinst2$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\newinst2$2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\newinst2$newinst2_BR.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\newinst2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\notificationservice$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\notificationservice$2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\notificationservice$notificationservice_BR.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\notificationservice$ResumableSub_NotiMon_NotificationPosted.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\notificationservice.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\pendientes.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\preoptimizedclv$ResumableSub_ListChangedExternally.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\preoptimizedclv.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$anim.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$attr.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$bool.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$color.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$dimen.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$drawable.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$id.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$integer.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$layout.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$string.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$style.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$styleable.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R$xml.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\R.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\roundslider.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\scrollinglabel$ResumableSub_StartScrolling.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\scrollinglabel.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\starter$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\starter$2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\starter$starter_BR.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\starter.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\subs.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\swiftbutton.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker$1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker$2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker$ResumableSub_StartFLP.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker$ResumableSub_StartFLPSmall.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker$tracker_BR.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\tracker.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\xuiviewsutils.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_celltitle.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_cliente.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_clientes.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_datoscliente.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_folioabono.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_login.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_mainpage.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_mapa_rutas.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_nuevocliente.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_panel_pick_ciego.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_pclvseekbar.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_pedido.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_principal.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_proditem.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_proditem1.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_proditem2.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_productos.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_promociones.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_resdia.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_scrollpromos.dex -D:\ADM\B4A\Objects\dexed\adm\keymon\com\mx\designerscripts\LS_searchtemplate.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\browser\R.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\coordinatorlayout\R.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\core\R.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\drawerlayout\R.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\fragment\R.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\media\R.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\swiperefreshlayout\R.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$anim.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$attr.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$bool.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$color.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$dimen.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$drawable.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$id.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$integer.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$layout.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$string.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$style.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$styleable.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R$xml.dex -D:\ADM\B4A\Objects\dexed\androidx\work\R.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\R.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\ads\impl\R.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\base\R.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\common\R.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\android\gms\maps\R.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$anim.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$attr.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$bool.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$color.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$dimen.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$drawable.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$id.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$integer.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$layout.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$string.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$style.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$styleable.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R$xml.dex -D:\ADM\B4A\Objects\dexed\com\google\firebase\messaging\R.dex diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$anim.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$anim.dex deleted file mode 100644 index 1aaa3a5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$attr.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$attr.dex deleted file mode 100644 index 8396f28..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$bool.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$bool.dex deleted file mode 100644 index ec6c3e5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$color.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$color.dex deleted file mode 100644 index b5d0007..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$dimen.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$dimen.dex deleted file mode 100644 index e799b7a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$drawable.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$drawable.dex deleted file mode 100644 index df4bd12..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$id.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$id.dex deleted file mode 100644 index 627732e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$integer.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$integer.dex deleted file mode 100644 index 8775c21..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$layout.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$layout.dex deleted file mode 100644 index bb6270a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$string.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$string.dex deleted file mode 100644 index 416c1ec..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$style.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$style.dex deleted file mode 100644 index 9ff2bb7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$styleable.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$styleable.dex deleted file mode 100644 index 8756064..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R$xml.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R$xml.dex deleted file mode 100644 index 2402f4f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/R.dex b/B4A/Objects/dexed/adm/keymon/com/mx/R.dex deleted file mode 100644 index a61ccbf..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/animatedcounter.dex b/B4A/Objects/dexed/adm/keymon/com/mx/animatedcounter.dex deleted file mode 100644 index d63e5cb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/animatedcounter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex b/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex deleted file mode 100644 index 893b385..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar$ResumableSub_BusyLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar.dex b/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar.dex deleted file mode 100644 index cdeee75..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/anotherprogressbar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$1.dex deleted file mode 100644 index ee56fa4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$2.dex deleted file mode 100644 index 99dc67d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex deleted file mode 100644 index f128c5a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_Service_Start.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex deleted file mode 100644 index 060d6e5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$ResumableSub_download_newApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$_mnewversion.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$_mnewversion.dex deleted file mode 100644 index 207bd69..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$_mnewversion.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$appupdater_BR.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$appupdater_BR.dex deleted file mode 100644 index fcb2dde..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater$appupdater_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater.dex b/B4A/Objects/dexed/adm/keymon/com/mx/appupdater.dex deleted file mode 100644 index d664efa..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/appupdater.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbitset.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xbitset.dex deleted file mode 100644 index ed35645..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbitset.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbreadcrumb.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xbreadcrumb.dex deleted file mode 100644 index 02b5f41..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbreadcrumb.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbytesbuilder.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xbytesbuilder.dex deleted file mode 100644 index 2bbbef4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xbytesbuilder.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache$_b4xcacheitem.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache$_b4xcacheitem.dex deleted file mode 100644 index ea9687c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache$_b4xcacheitem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache.dex deleted file mode 100644 index 97ee170..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcache.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcollections.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcollections.dex deleted file mode 100644 index db70bdc..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcollections.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex deleted file mode 100644 index 0b3e005..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex deleted file mode 100644 index 2f2468c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate$_colorpickerpart.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate.dex deleted file mode 100644 index a063f29..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcolortemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex deleted file mode 100644 index a0435f0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox$ResumableSub_RaiseEvent.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox.dex deleted file mode 100644 index b34812b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcombobox.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcomparatorsort.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xcomparatorsort.dex deleted file mode 100644 index b1c9fa0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xcomparatorsort.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex deleted file mode 100644 index 31516ef..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate.dex deleted file mode 100644 index ce4665f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdatetemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.dex deleted file mode 100644 index 77e1981..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex deleted file mode 100644 index fe82e3e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowCustom.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex deleted file mode 100644 index 007571b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog$ResumableSub_ShowTemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog.dex deleted file mode 100644 index 34c9d6b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xdialog.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex deleted file mode 100644 index a802761..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield$ResumableSub_SwitchFromPasswordToRegular.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield.dex deleted file mode 100644 index 83c4140..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xfloattextfield.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter$_b4xformatdata.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter$_b4xformatdata.dex deleted file mode 100644 index 5d78654..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter$_b4xformatdata.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter.dex deleted file mode 100644 index e7077c1..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xformatter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4ximageview.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4ximageview.dex deleted file mode 100644 index 7e8bbfd..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4ximageview.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex deleted file mode 100644 index 988d83d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate.dex deleted file mode 100644 index bdd1ce7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xinputtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex deleted file mode 100644 index 4ec5519..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate.dex deleted file mode 100644 index 493ecef..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlisttemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex deleted file mode 100644 index 5461bd4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator$ResumableSub_MainLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator.dex deleted file mode 100644 index 73a3d99..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xloadingindicator.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlongtexttemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xlongtexttemplate.dex deleted file mode 100644 index 8b1ea30..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xlongtexttemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index 1bb56d3..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 4faa8bb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex deleted file mode 100644 index e09f0d4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_B4XPage_Created.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex deleted file mode 100644 index 13f2c6f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_envioBD_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex deleted file mode 100644 index c53108e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_importarBD_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex deleted file mode 100644 index 5bacfd5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_b_terpc_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex deleted file mode 100644 index f441249..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage$ResumableSub_copiaDB.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage.dex deleted file mode 100644 index b442ba0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xmainpage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xorderedmap.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xorderedmap.dex deleted file mode 100644 index 0682b13..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xorderedmap.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpages.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpages.dex deleted file mode 100644 index 34957db..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpages.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesdelegator.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesdelegator.dex deleted file mode 100644 index 82eb809..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesdelegator.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex deleted file mode 100644 index 0d1d32e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$PagesMenuListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex deleted file mode 100644 index dfdde26..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$ResumableSub_HandleCloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex deleted file mode 100644 index 9a187f6..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4amenuitem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex deleted file mode 100644 index 0e248b0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageinfo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex deleted file mode 100644 index 6384c05..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager$_b4xpageparent.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager.dex deleted file mode 100644 index 3e18cfc..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xpagesmanager.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex deleted file mode 100644 index c4897db..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus$ResumableSub_StartDownLoop.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus.dex deleted file mode 100644 index 31dacd5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xplusminus.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex deleted file mode 100644 index 9dbf3da..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton$ResumableSub_SetValueImpl.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton.dex deleted file mode 100644 index fb11645..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xradiobutton.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex deleted file mode 100644 index e5dbdc2..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate.dex deleted file mode 100644 index 13f9eff..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsearchtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xseekbar.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xseekbar.dex deleted file mode 100644 index 82d9d99..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xseekbar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xset.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xset.dex deleted file mode 100644 index fa0304e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xset.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsignaturetemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xsignaturetemplate.dex deleted file mode 100644 index c97616d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xsignaturetemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex deleted file mode 100644 index aedef6f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch$ResumableSub_SetValueImpl.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch.dex deleted file mode 100644 index d72c319..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xswitch.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex deleted file mode 100644 index dd2c76c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate$ResumableSub_Show.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate.dex deleted file mode 100644 index 6f5cb4d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/b4xtimedtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/batteryutilities.dex b/B4A/Objects/dexed/adm/keymon/com/mx/batteryutilities.dex deleted file mode 100644 index f940b88..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/batteryutilities.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 35cb998..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex deleted file mode 100644 index 20ec159..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_B4XPage_Created.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex deleted file mode 100644 index dd9a69b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_Guardar_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.dex deleted file mode 100644 index efe37fc..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_InitializeCamera.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex deleted file mode 100644 index 8f74341..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_abono_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.dex deleted file mode 100644 index 5b38048..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_b_acept_tp_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex deleted file mode 100644 index a55146f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_preventa.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex deleted file mode 100644 index b53185e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_imprime_venta.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex deleted file mode 100644 index a571b21..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente$ResumableSub_sc_result.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente.dex deleted file mode 100644 index 6611754..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 92f994d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes.dex deleted file mode 100644 index 046d144..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_clientes.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_cuestionario.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_cuestionario.dex deleted file mode 100644 index 8bf5af4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_cuestionario.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 1811e0d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_historico$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_historico.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_historico.dex deleted file mode 100644 index 0ebad78..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_historico.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_mapas.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_mapas.dex deleted file mode 100644 index 3877b3b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_mapas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 27a91e2..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_nota$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_nota.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_nota.dex deleted file mode 100644 index 2d0c917..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_nota.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_noventa.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_noventa.dex deleted file mode 100644 index 6fa744c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_noventa.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex deleted file mode 100644 index 0885488..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente$ResumableSub_B4XPage_Created.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente.dex deleted file mode 100644 index 189d4fe..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_nuevocliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 5ed5fb9..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos.dex deleted file mode 100644 index c51453a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_pedidos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 635d4f8..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex deleted file mode 100644 index 191e884..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$ResumableSub_Btn_Ubicar_Click.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$_titledata.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$_titledata.dex deleted file mode 100644 index cecff8f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal$_titledata.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_principal.dex deleted file mode 100644 index 521ecd5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_principal.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index 4c88be6..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex deleted file mode 100644 index 6758ea4..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_B4XPage_CloseRequest.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex deleted file mode 100644 index 5d7536e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_Busca_TextChanged.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex deleted file mode 100644 index dd2589a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos$ResumableSub_lv_catalogos2_ItemClick.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_productos.dex deleted file mode 100644 index 6aeda4c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_productos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_promos.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_promos.dex deleted file mode 100644 index ca0d6d7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_promos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_respaldodiario.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_respaldodiario.dex deleted file mode 100644 index 26a696b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_respaldodiario.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_subs.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_subs.dex deleted file mode 100644 index fd85dfe..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_subs.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_ticketsdia.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_ticketsdia.dex deleted file mode 100644 index 7499cd8..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_ticketsdia.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex deleted file mode 100644 index 619f08c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable$ResumableSub_B4XPage_Appear.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable.dex b/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable.dex deleted file mode 100644 index b773125..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/c_updateavailable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerainfoandid.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerainfoandid.dex deleted file mode 100644 index 95d2769..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerainfoandid.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerasize.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerasize.dex deleted file mode 100644 index e4634c7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass$_camerasize.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass.dex deleted file mode 100644 index 36b8b94..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cameraexclass.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex deleted file mode 100644 index 5f0c6a3..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_DownloadApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex deleted file mode 100644 index d07c94a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_IsvalidWV.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex deleted file mode 100644 index 16edf68..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_ReadWebVN.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex deleted file mode 100644 index d5a19fb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_TryApkUpdate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex deleted file mode 100644 index e758784..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate$ResumableSub_UpdateApk.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate.dex deleted file mode 100644 index 1bec2ef..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cl_appupdate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfcontext.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfcontext.dex deleted file mode 100644 index ad848f0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfcontext.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdffontinfo.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdffontinfo.dex deleted file mode 100644 index 4b7f07c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdffontinfo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfimageinfo.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfimageinfo.dex deleted file mode 100644 index 1e4ade2..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfimageinfo.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex deleted file mode 100644 index 34f686b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfmultilinetextsize.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfpage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfpage.dex deleted file mode 100644 index b60e589..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdfpage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdftextsize.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdftextsize.dex deleted file mode 100644 index da8d818..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf$_tpdftextsize.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf.dex b/B4A/Objects/dexed/adm/keymon/com/mx/cpdf.dex deleted file mode 100644 index 69211ca..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/cpdf.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbcommand.dex b/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbcommand.dex deleted file mode 100644 index 11edc26..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbcommand.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbresult.dex b/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbresult.dex deleted file mode 100644 index 275376e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager$_dbresult.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager.dex b/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager.dex deleted file mode 100644 index e557075..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/dbrequestmanager.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_celltitle.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_celltitle.dex deleted file mode 100644 index 2e03098..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_celltitle.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_cliente.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_cliente.dex deleted file mode 100644 index ca85c19..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_cliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_clientes.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_clientes.dex deleted file mode 100644 index 4b3bb17..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_clientes.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_datoscliente.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_datoscliente.dex deleted file mode 100644 index 8343d57..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_datoscliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_folioabono.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_folioabono.dex deleted file mode 100644 index dd50ca0..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_folioabono.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_login.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_login.dex deleted file mode 100644 index f746f44..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_login.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mainpage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mainpage.dex deleted file mode 100644 index 938a6da..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mainpage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.dex deleted file mode 100644 index 11d7d10..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_nuevocliente.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_nuevocliente.dex deleted file mode 100644 index 647ea2e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_nuevocliente.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex deleted file mode 100644 index 51b4e9b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.dex deleted file mode 100644 index a71aa7a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pedido.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pedido.dex deleted file mode 100644 index ba00656..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_pedido.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_principal.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_principal.dex deleted file mode 100644 index 2c4ea01..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_principal.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem.dex deleted file mode 100644 index 66b5d11..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem1.dex deleted file mode 100644 index 47473e7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem2.dex deleted file mode 100644 index af99d5d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_proditem2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_productos.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_productos.dex deleted file mode 100644 index 6c080bf..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_productos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_promociones.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_promociones.dex deleted file mode 100644 index eada139..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_promociones.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_resdia.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_resdia.dex deleted file mode 100644 index d8d8f52..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_resdia.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_scrollpromos.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_scrollpromos.dex deleted file mode 100644 index 1ec515c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_scrollpromos.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_searchtemplate.dex b/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_searchtemplate.dex deleted file mode 100644 index 31583ff..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/designerscripts/LS_searchtemplate.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter$_animage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter$_animage.dex deleted file mode 100644 index 49fdc6f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter$_animage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter.dex b/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter.dex deleted file mode 100644 index a1f2e58..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/escposprinter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_Load.dex b/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_Load.dex deleted file mode 100644 index ba5b2f8..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_Load.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex b/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex deleted file mode 100644 index b0ec6a5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$ResumableSub_SaveAs.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$_loadresult.dex b/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$_loadresult.dex deleted file mode 100644 index d04368e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler$_loadresult.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler.dex b/B4A/Objects/dexed/adm/keymon/com/mx/filehandler.dex deleted file mode 100644 index 46aba6e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/filehandler.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/fileprovider.dex b/B4A/Objects/dexed/adm/keymon/com/mx/fileprovider.dex deleted file mode 100644 index de2cae5..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/fileprovider.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/httpjob$_multipartfiledata.dex b/B4A/Objects/dexed/adm/keymon/com/mx/httpjob$_multipartfiledata.dex deleted file mode 100644 index f989bfb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/httpjob$_multipartfiledata.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/httpjob.dex b/B4A/Objects/dexed/adm/keymon/com/mx/httpjob.dex deleted file mode 100644 index 9ec1cfb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/httpjob.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/httputils2service.dex b/B4A/Objects/dexed/adm/keymon/com/mx/httputils2service.dex deleted file mode 100644 index 3772d1b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/httputils2service.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/madewithlove.dex b/B4A/Objects/dexed/adm/keymon/com/mx/madewithlove.dex deleted file mode 100644 index 6f8089f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/madewithlove.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main$1.dex deleted file mode 100644 index 7cd4ae2..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main$B4AMenuItemsClickListener.dex deleted file mode 100644 index 08e4bd7..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main$HandleKeyDelayed.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main$HandleKeyDelayed.dex deleted file mode 100644 index 7f37bd3..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main$ResumeMessage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main$ResumeMessage.dex deleted file mode 100644 index 96a2b72..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main$WaitForLayout.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main$WaitForLayout.dex deleted file mode 100644 index c65bb0a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/main.dex b/B4A/Objects/dexed/adm/keymon/com/mx/main.dex deleted file mode 100644 index eb7310e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/main.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/manageexternalstorage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/manageexternalstorage.dex deleted file mode 100644 index b5f853f..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/manageexternalstorage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$1.dex deleted file mode 100644 index d2a364d..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex deleted file mode 100644 index 6d3b0bd..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$B4AMenuItemsClickListener.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex deleted file mode 100644 index 9af7c86..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$HandleKeyDelayed.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex deleted file mode 100644 index 0f69187..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Create.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex deleted file mode 100644 index 06271db..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_Activity_Resume.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex deleted file mode 100644 index 6be5bef..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumableSub_MapFragment1_Ready.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumeMessage.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumeMessage.dex deleted file mode 100644 index e0acb81..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$ResumeMessage.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$WaitForLayout.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$WaitForLayout.dex deleted file mode 100644 index bfa7b78..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas$WaitForLayout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas.dex b/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas.dex deleted file mode 100644 index a7bfc76..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/mapa_rutas.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$1.dex deleted file mode 100644 index ed0477e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$2.dex deleted file mode 100644 index 2ab373a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$newinst2_BR.dex b/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$newinst2_BR.dex deleted file mode 100644 index 59f2f45..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2$newinst2_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/newinst2.dex deleted file mode 100644 index 616836b..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/newinst2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$1.dex deleted file mode 100644 index f46c18a..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$2.dex deleted file mode 100644 index 99446ae..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex b/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex deleted file mode 100644 index bbbe240..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$ResumableSub_NotiMon_NotificationPosted.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$notificationservice_BR.dex b/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$notificationservice_BR.dex deleted file mode 100644 index 03d0b29..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice$notificationservice_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice.dex b/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice.dex deleted file mode 100644 index 30563fe..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/notificationservice.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/pendientes.dex b/B4A/Objects/dexed/adm/keymon/com/mx/pendientes.dex deleted file mode 100644 index 72d1347..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/pendientes.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex b/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex deleted file mode 100644 index 0fff431..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_B4XSeekBar1_TouchStateChanged.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex b/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex deleted file mode 100644 index 4c518fb..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv$ResumableSub_ListChangedExternally.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv.dex b/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv.dex deleted file mode 100644 index 6f21cb3..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/preoptimizedclv.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/roundslider.dex b/B4A/Objects/dexed/adm/keymon/com/mx/roundslider.dex deleted file mode 100644 index 9d44d87..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/roundslider.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex b/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex deleted file mode 100644 index d3cc412..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel$ResumableSub_StartScrolling.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel.dex b/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel.dex deleted file mode 100644 index 86cc3a2..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/scrollinglabel.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/starter$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/starter$1.dex deleted file mode 100644 index a4643d1..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/starter$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/starter$2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/starter$2.dex deleted file mode 100644 index 5ec267c..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/starter$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/starter$starter_BR.dex b/B4A/Objects/dexed/adm/keymon/com/mx/starter$starter_BR.dex deleted file mode 100644 index 5452f75..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/starter$starter_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/starter.dex b/B4A/Objects/dexed/adm/keymon/com/mx/starter.dex deleted file mode 100644 index f1a4cb6..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/starter.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/subs.dex b/B4A/Objects/dexed/adm/keymon/com/mx/subs.dex deleted file mode 100644 index 4eca556..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/subs.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/swiftbutton.dex b/B4A/Objects/dexed/adm/keymon/com/mx/swiftbutton.dex deleted file mode 100644 index 83f4aef..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/swiftbutton.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$1.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker$1.dex deleted file mode 100644 index f665387..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$1.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$2.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker$2.dex deleted file mode 100644 index d11c97e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$2.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.dex deleted file mode 100644 index 65c4efc..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLP.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex deleted file mode 100644 index da851d1..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$ResumableSub_StartFLPSmall.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$tracker_BR.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker$tracker_BR.dex deleted file mode 100644 index d1dd1c9..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker$tracker_BR.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/tracker.dex b/B4A/Objects/dexed/adm/keymon/com/mx/tracker.dex deleted file mode 100644 index f0569ab..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/tracker.dex and /dev/null differ diff --git a/B4A/Objects/dexed/adm/keymon/com/mx/xuiviewsutils.dex b/B4A/Objects/dexed/adm/keymon/com/mx/xuiviewsutils.dex deleted file mode 100644 index 8b3e83e..0000000 Binary files a/B4A/Objects/dexed/adm/keymon/com/mx/xuiviewsutils.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$anim.dex b/B4A/Objects/dexed/androidx/browser/R$anim.dex deleted file mode 100644 index cd45a5d..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$attr.dex b/B4A/Objects/dexed/androidx/browser/R$attr.dex deleted file mode 100644 index 46b7dcd..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$bool.dex b/B4A/Objects/dexed/androidx/browser/R$bool.dex deleted file mode 100644 index 0292e35..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$color.dex b/B4A/Objects/dexed/androidx/browser/R$color.dex deleted file mode 100644 index 1e4e14b..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$dimen.dex b/B4A/Objects/dexed/androidx/browser/R$dimen.dex deleted file mode 100644 index 7907573..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$drawable.dex b/B4A/Objects/dexed/androidx/browser/R$drawable.dex deleted file mode 100644 index 246904c..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$id.dex b/B4A/Objects/dexed/androidx/browser/R$id.dex deleted file mode 100644 index e0b6e32..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$integer.dex b/B4A/Objects/dexed/androidx/browser/R$integer.dex deleted file mode 100644 index 8640ada..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$layout.dex b/B4A/Objects/dexed/androidx/browser/R$layout.dex deleted file mode 100644 index 5ae422b..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$string.dex b/B4A/Objects/dexed/androidx/browser/R$string.dex deleted file mode 100644 index 3941f79..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$style.dex b/B4A/Objects/dexed/androidx/browser/R$style.dex deleted file mode 100644 index 0fb29fc..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$styleable.dex b/B4A/Objects/dexed/androidx/browser/R$styleable.dex deleted file mode 100644 index 105f7f0..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R$xml.dex b/B4A/Objects/dexed/androidx/browser/R$xml.dex deleted file mode 100644 index c674ef4..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/browser/R.dex b/B4A/Objects/dexed/androidx/browser/R.dex deleted file mode 100644 index 02f2cd1..0000000 Binary files a/B4A/Objects/dexed/androidx/browser/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex deleted file mode 100644 index 3eafe5f..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex deleted file mode 100644 index f67bdf6..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$bool.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$bool.dex deleted file mode 100644 index 6f5fae5..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex deleted file mode 100644 index c33e2a5..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex deleted file mode 100644 index ec1f891..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex deleted file mode 100644 index 1db71c4..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex deleted file mode 100644 index 66dc074..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex deleted file mode 100644 index ef1224d..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex deleted file mode 100644 index 364f0c0..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex deleted file mode 100644 index f090af6..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex deleted file mode 100644 index f2e4b05..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex deleted file mode 100644 index b1a9eb2..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex deleted file mode 100644 index fa3bf86..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex b/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex deleted file mode 100644 index d3e5bff..0000000 Binary files a/B4A/Objects/dexed/androidx/coordinatorlayout/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$anim.dex b/B4A/Objects/dexed/androidx/core/R$anim.dex deleted file mode 100644 index bce8460..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$attr.dex b/B4A/Objects/dexed/androidx/core/R$attr.dex deleted file mode 100644 index 2cc5b6c..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$bool.dex b/B4A/Objects/dexed/androidx/core/R$bool.dex deleted file mode 100644 index b5f0d78..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$color.dex b/B4A/Objects/dexed/androidx/core/R$color.dex deleted file mode 100644 index 36f2f34..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$dimen.dex b/B4A/Objects/dexed/androidx/core/R$dimen.dex deleted file mode 100644 index c696818..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$drawable.dex b/B4A/Objects/dexed/androidx/core/R$drawable.dex deleted file mode 100644 index 8bf0a9c..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$id.dex b/B4A/Objects/dexed/androidx/core/R$id.dex deleted file mode 100644 index b2463d6..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$integer.dex b/B4A/Objects/dexed/androidx/core/R$integer.dex deleted file mode 100644 index cff2ad7..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$layout.dex b/B4A/Objects/dexed/androidx/core/R$layout.dex deleted file mode 100644 index 68bfb86..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$string.dex b/B4A/Objects/dexed/androidx/core/R$string.dex deleted file mode 100644 index 4f94ff6..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$style.dex b/B4A/Objects/dexed/androidx/core/R$style.dex deleted file mode 100644 index bb17c3b..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$styleable.dex b/B4A/Objects/dexed/androidx/core/R$styleable.dex deleted file mode 100644 index a1886d0..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R$xml.dex b/B4A/Objects/dexed/androidx/core/R$xml.dex deleted file mode 100644 index bd2120c..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/core/R.dex b/B4A/Objects/dexed/androidx/core/R.dex deleted file mode 100644 index eff79f8..0000000 Binary files a/B4A/Objects/dexed/androidx/core/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex deleted file mode 100644 index 34a7981..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex deleted file mode 100644 index 0d1a906..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$bool.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$bool.dex deleted file mode 100644 index 7f7ca8e..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex deleted file mode 100644 index 7b99a0b..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex deleted file mode 100644 index ac25308..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex deleted file mode 100644 index 5d70801..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex deleted file mode 100644 index 2ecbfee..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex deleted file mode 100644 index cfe8584..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex deleted file mode 100644 index 57f2921..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex deleted file mode 100644 index 45399a6..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex deleted file mode 100644 index 92d80fd..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex deleted file mode 100644 index c97faa1..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex b/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex deleted file mode 100644 index 8f63e80..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/drawerlayout/R.dex b/B4A/Objects/dexed/androidx/drawerlayout/R.dex deleted file mode 100644 index 3ca5c27..0000000 Binary files a/B4A/Objects/dexed/androidx/drawerlayout/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$anim.dex b/B4A/Objects/dexed/androidx/fragment/R$anim.dex deleted file mode 100644 index 7aec957..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$attr.dex b/B4A/Objects/dexed/androidx/fragment/R$attr.dex deleted file mode 100644 index 50ea8b9..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$bool.dex b/B4A/Objects/dexed/androidx/fragment/R$bool.dex deleted file mode 100644 index 2f5107f..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$color.dex b/B4A/Objects/dexed/androidx/fragment/R$color.dex deleted file mode 100644 index 7538683..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$dimen.dex b/B4A/Objects/dexed/androidx/fragment/R$dimen.dex deleted file mode 100644 index 70a2593..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$drawable.dex b/B4A/Objects/dexed/androidx/fragment/R$drawable.dex deleted file mode 100644 index 8cea195..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$id.dex b/B4A/Objects/dexed/androidx/fragment/R$id.dex deleted file mode 100644 index cba22b3..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$integer.dex b/B4A/Objects/dexed/androidx/fragment/R$integer.dex deleted file mode 100644 index 0c73719..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$layout.dex b/B4A/Objects/dexed/androidx/fragment/R$layout.dex deleted file mode 100644 index 889e010..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$string.dex b/B4A/Objects/dexed/androidx/fragment/R$string.dex deleted file mode 100644 index cf08ec6..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$style.dex b/B4A/Objects/dexed/androidx/fragment/R$style.dex deleted file mode 100644 index bd17503..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$styleable.dex b/B4A/Objects/dexed/androidx/fragment/R$styleable.dex deleted file mode 100644 index 978726a..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R$xml.dex b/B4A/Objects/dexed/androidx/fragment/R$xml.dex deleted file mode 100644 index e8dd1fe..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/fragment/R.dex b/B4A/Objects/dexed/androidx/fragment/R.dex deleted file mode 100644 index f52a2be..0000000 Binary files a/B4A/Objects/dexed/androidx/fragment/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$anim.dex b/B4A/Objects/dexed/androidx/media/R$anim.dex deleted file mode 100644 index 0b5c47c..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$attr.dex b/B4A/Objects/dexed/androidx/media/R$attr.dex deleted file mode 100644 index 169e75b..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$bool.dex b/B4A/Objects/dexed/androidx/media/R$bool.dex deleted file mode 100644 index 189ebaf..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$color.dex b/B4A/Objects/dexed/androidx/media/R$color.dex deleted file mode 100644 index 23190ee..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$dimen.dex b/B4A/Objects/dexed/androidx/media/R$dimen.dex deleted file mode 100644 index a9fa4e6..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$drawable.dex b/B4A/Objects/dexed/androidx/media/R$drawable.dex deleted file mode 100644 index d53e4d8..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$id.dex b/B4A/Objects/dexed/androidx/media/R$id.dex deleted file mode 100644 index c07cd0d..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$integer.dex b/B4A/Objects/dexed/androidx/media/R$integer.dex deleted file mode 100644 index 5adc615..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$layout.dex b/B4A/Objects/dexed/androidx/media/R$layout.dex deleted file mode 100644 index 1d8419f..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$string.dex b/B4A/Objects/dexed/androidx/media/R$string.dex deleted file mode 100644 index 020839e..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$style.dex b/B4A/Objects/dexed/androidx/media/R$style.dex deleted file mode 100644 index 3032ae7..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$styleable.dex b/B4A/Objects/dexed/androidx/media/R$styleable.dex deleted file mode 100644 index 5ab127c..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R$xml.dex b/B4A/Objects/dexed/androidx/media/R$xml.dex deleted file mode 100644 index 1b15ecd..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/media/R.dex b/B4A/Objects/dexed/androidx/media/R.dex deleted file mode 100644 index b04acae..0000000 Binary files a/B4A/Objects/dexed/androidx/media/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex deleted file mode 100644 index ff8a913..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex deleted file mode 100644 index 5b30f66..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$bool.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$bool.dex deleted file mode 100644 index 31e0f0b..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex deleted file mode 100644 index 286ca7b..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex deleted file mode 100644 index 8ca4b7a..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex deleted file mode 100644 index a8ecdbc..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex deleted file mode 100644 index 244222a..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex deleted file mode 100644 index 3f9245c..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex deleted file mode 100644 index 2b8d991..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex deleted file mode 100644 index 9e956a8..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex deleted file mode 100644 index d7e3087..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex deleted file mode 100644 index f27ccd1..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex deleted file mode 100644 index ac074a9..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex b/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex deleted file mode 100644 index c02873b..0000000 Binary files a/B4A/Objects/dexed/androidx/swiperefreshlayout/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$anim.dex b/B4A/Objects/dexed/androidx/work/R$anim.dex deleted file mode 100644 index e5011bc..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$attr.dex b/B4A/Objects/dexed/androidx/work/R$attr.dex deleted file mode 100644 index 0d6fb38..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$bool.dex b/B4A/Objects/dexed/androidx/work/R$bool.dex deleted file mode 100644 index 3849833..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$color.dex b/B4A/Objects/dexed/androidx/work/R$color.dex deleted file mode 100644 index 999d010..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$dimen.dex b/B4A/Objects/dexed/androidx/work/R$dimen.dex deleted file mode 100644 index e057a05..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$drawable.dex b/B4A/Objects/dexed/androidx/work/R$drawable.dex deleted file mode 100644 index 65be141..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$id.dex b/B4A/Objects/dexed/androidx/work/R$id.dex deleted file mode 100644 index 7599838..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$integer.dex b/B4A/Objects/dexed/androidx/work/R$integer.dex deleted file mode 100644 index ab37833..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$layout.dex b/B4A/Objects/dexed/androidx/work/R$layout.dex deleted file mode 100644 index 34adc18..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$string.dex b/B4A/Objects/dexed/androidx/work/R$string.dex deleted file mode 100644 index ae813bb..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$style.dex b/B4A/Objects/dexed/androidx/work/R$style.dex deleted file mode 100644 index 23f765f..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$styleable.dex b/B4A/Objects/dexed/androidx/work/R$styleable.dex deleted file mode 100644 index d9e4f33..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R$xml.dex b/B4A/Objects/dexed/androidx/work/R$xml.dex deleted file mode 100644 index 5768b97..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/androidx/work/R.dex b/B4A/Objects/dexed/androidx/work/R.dex deleted file mode 100644 index 46bf455..0000000 Binary files a/B4A/Objects/dexed/androidx/work/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$anim.dex deleted file mode 100644 index e30fe5e..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$attr.dex deleted file mode 100644 index df9097c..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$bool.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$bool.dex deleted file mode 100644 index 2754736..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$color.dex deleted file mode 100644 index 5d80e23..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$dimen.dex deleted file mode 100644 index 730384f..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$drawable.dex deleted file mode 100644 index 978b934..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$id.dex deleted file mode 100644 index 4374152..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$integer.dex deleted file mode 100644 index 74339ef..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$layout.dex deleted file mode 100644 index 1750086..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$string.dex deleted file mode 100644 index 0b2eba9..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$style.dex deleted file mode 100644 index 5d7963c..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$styleable.dex deleted file mode 100644 index 083ee93..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R$xml.dex deleted file mode 100644 index 8158f6a..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/R.dex b/B4A/Objects/dexed/com/google/android/gms/ads/R.dex deleted file mode 100644 index d053c7a..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$anim.dex deleted file mode 100644 index 2195aeb..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$attr.dex deleted file mode 100644 index 7ff675e..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$bool.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$bool.dex deleted file mode 100644 index 2d11976..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$color.dex deleted file mode 100644 index b418d61..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$dimen.dex deleted file mode 100644 index 49d34e3..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$drawable.dex deleted file mode 100644 index e6683f7..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$id.dex deleted file mode 100644 index e3e660c..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$integer.dex deleted file mode 100644 index e084fbc..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$layout.dex deleted file mode 100644 index c52880b..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$string.dex deleted file mode 100644 index dbdf460..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$style.dex deleted file mode 100644 index fa4a34d..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$styleable.dex deleted file mode 100644 index 99411cb..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$xml.dex deleted file mode 100644 index a9e4263..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R.dex b/B4A/Objects/dexed/com/google/android/gms/ads/impl/R.dex deleted file mode 100644 index a24f0e2..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/ads/impl/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex deleted file mode 100644 index f8899ea..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex deleted file mode 100644 index 94fe871..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$bool.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$bool.dex deleted file mode 100644 index 5067aa9..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex deleted file mode 100644 index 4509325..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex deleted file mode 100644 index 61b32ca..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex deleted file mode 100644 index eb3482a..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex deleted file mode 100644 index 5e05de5..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex deleted file mode 100644 index 1b11211..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex deleted file mode 100644 index cd6fcbb..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex deleted file mode 100644 index 1b278e0..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex deleted file mode 100644 index 87ae8a7..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex deleted file mode 100644 index 446f297..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex deleted file mode 100644 index 2e09e23..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/base/R.dex b/B4A/Objects/dexed/com/google/android/gms/base/R.dex deleted file mode 100644 index a8c51b0..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/base/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex deleted file mode 100644 index 9a4615e..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex deleted file mode 100644 index 2af1766..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$bool.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$bool.dex deleted file mode 100644 index f8796ca..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex deleted file mode 100644 index 0d318c0..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex deleted file mode 100644 index 4d26371..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex deleted file mode 100644 index a2b995c..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex deleted file mode 100644 index ecba588..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex deleted file mode 100644 index 5d02c68..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex deleted file mode 100644 index e3c92db..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex deleted file mode 100644 index 029af94..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex deleted file mode 100644 index f7e5e9a..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex deleted file mode 100644 index dc21977..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex deleted file mode 100644 index d0f54ca..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/common/R.dex b/B4A/Objects/dexed/com/google/android/gms/common/R.dex deleted file mode 100644 index 3963dff..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/common/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex deleted file mode 100644 index 8a78eb9..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex deleted file mode 100644 index c9fe9e9..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$bool.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$bool.dex deleted file mode 100644 index 83092f7..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex deleted file mode 100644 index 597ddc3..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex deleted file mode 100644 index 0332523..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex deleted file mode 100644 index 1a47fbc..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex deleted file mode 100644 index 87ba1a9..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex deleted file mode 100644 index 1455f32..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex deleted file mode 100644 index 767c0e0..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex deleted file mode 100644 index 4c5a6f2..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex deleted file mode 100644 index dbec350..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex deleted file mode 100644 index 80d71b8..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex deleted file mode 100644 index 865930d..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/android/gms/maps/R.dex b/B4A/Objects/dexed/com/google/android/gms/maps/R.dex deleted file mode 100644 index 07a83aa..0000000 Binary files a/B4A/Objects/dexed/com/google/android/gms/maps/R.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$anim.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$anim.dex deleted file mode 100644 index 2c96e32..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$anim.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex deleted file mode 100644 index 13f579f..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$attr.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$bool.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$bool.dex deleted file mode 100644 index 02208d2..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$bool.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex deleted file mode 100644 index ea5b715..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$color.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex deleted file mode 100644 index ddb95e9..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$dimen.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex deleted file mode 100644 index ab1e3fc..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$drawable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex deleted file mode 100644 index 44ca0f6..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$id.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex deleted file mode 100644 index 5dbb8eb..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$integer.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex deleted file mode 100644 index 1818667..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$layout.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex deleted file mode 100644 index 89285e1..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$string.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex deleted file mode 100644 index fd7c4cf..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$style.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex deleted file mode 100644 index 52f02c0..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$styleable.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex deleted file mode 100644 index 67ce7bd..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R$xml.dex and /dev/null differ diff --git a/B4A/Objects/dexed/com/google/firebase/messaging/R.dex b/B4A/Objects/dexed/com/google/firebase/messaging/R.dex deleted file mode 100644 index 73af103..0000000 Binary files a/B4A/Objects/dexed/com/google/firebase/messaging/R.dex and /dev/null differ diff --git a/B4A/Objects/gen/adm/keymon/com/mx/R.java b/B4A/Objects/gen/adm/keymon/com/mx/R.java deleted file mode 100644 index 2d87317..0000000 --- a/B4A/Objects/gen/adm/keymon/com/mx/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package adm.keymon.com.mx; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/browser/R.java b/B4A/Objects/gen/androidx/browser/R.java deleted file mode 100644 index c58997e..0000000 --- a/B4A/Objects/gen/androidx/browser/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.browser; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/coordinatorlayout/R.java b/B4A/Objects/gen/androidx/coordinatorlayout/R.java deleted file mode 100644 index 5cd07e1..0000000 --- a/B4A/Objects/gen/androidx/coordinatorlayout/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.coordinatorlayout; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/core/R.java b/B4A/Objects/gen/androidx/core/R.java deleted file mode 100644 index 206a86f..0000000 --- a/B4A/Objects/gen/androidx/core/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.core; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/drawerlayout/R.java b/B4A/Objects/gen/androidx/drawerlayout/R.java deleted file mode 100644 index 3fd77cd..0000000 --- a/B4A/Objects/gen/androidx/drawerlayout/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.drawerlayout; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/fragment/R.java b/B4A/Objects/gen/androidx/fragment/R.java deleted file mode 100644 index 57465b0..0000000 --- a/B4A/Objects/gen/androidx/fragment/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.fragment; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/media/R.java b/B4A/Objects/gen/androidx/media/R.java deleted file mode 100644 index df9f683..0000000 --- a/B4A/Objects/gen/androidx/media/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.media; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/swiperefreshlayout/R.java b/B4A/Objects/gen/androidx/swiperefreshlayout/R.java deleted file mode 100644 index f88bd5d..0000000 --- a/B4A/Objects/gen/androidx/swiperefreshlayout/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.swiperefreshlayout; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/androidx/work/R.java b/B4A/Objects/gen/androidx/work/R.java deleted file mode 100644 index 19cfac1..0000000 --- a/B4A/Objects/gen/androidx/work/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package androidx.work; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/ads/R.java b/B4A/Objects/gen/com/google/android/gms/ads/R.java deleted file mode 100644 index 7ec5cad..0000000 --- a/B4A/Objects/gen/com/google/android/gms/ads/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.android.gms.ads; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/ads/impl/R.java b/B4A/Objects/gen/com/google/android/gms/ads/impl/R.java deleted file mode 100644 index a30de52..0000000 --- a/B4A/Objects/gen/com/google/android/gms/ads/impl/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.android.gms.ads.impl; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/base/R.java b/B4A/Objects/gen/com/google/android/gms/base/R.java deleted file mode 100644 index d57f4bd..0000000 --- a/B4A/Objects/gen/com/google/android/gms/base/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.android.gms.base; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/common/R.java b/B4A/Objects/gen/com/google/android/gms/common/R.java deleted file mode 100644 index 8c2c08e..0000000 --- a/B4A/Objects/gen/com/google/android/gms/common/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.android.gms.common; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/android/gms/maps/R.java b/B4A/Objects/gen/com/google/android/gms/maps/R.java deleted file mode 100644 index a5cb1c4..0000000 --- a/B4A/Objects/gen/com/google/android/gms/maps/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.android.gms.maps; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/com/google/firebase/messaging/R.java b/B4A/Objects/gen/com/google/firebase/messaging/R.java deleted file mode 100644 index ee64656..0000000 --- a/B4A/Objects/gen/com/google/firebase/messaging/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package com.google.firebase.messaging; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize adm.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes adm.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId adm.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha adm.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines adm.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground adm.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor adm.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity adm.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior adm.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges adm.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge adm.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline adm.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name adm.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name adm.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name adm.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation adm.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name adm.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority adm.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts adm.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy adm.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout adm.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage adm.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery adm.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name adm.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font adm.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle adm.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings adm.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight adm.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex adm.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name adm.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name adm.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name adm.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop adm.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio adm.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust adm.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name adm.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled adm.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing adm.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference adm.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference adm.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat adm.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng adm.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt adm.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom adm.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude adm.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude adm.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude adm.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude adm.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode adm.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType adm.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass adm.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar adm.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures adm.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures adm.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures adm.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls adm.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures adm.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle adm.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop adm.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name adm.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name adm.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name adm.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize adm.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme adm.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris adm.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name adm.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name adm.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link adm.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name adm.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name adm.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/gen/marquez/keymon/com/mx/R.java b/B4A/Objects/gen/marquez/keymon/com/mx/R.java deleted file mode 100644 index 784cbb0..0000000 --- a/B4A/Objects/gen/marquez/keymon/com/mx/R.java +++ /dev/null @@ -1,2219 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package marquez.keymon.com.mx; - -public final class R { - public static final class anim { - public static final int fragment_close_enter=0x7f010000; - public static final int fragment_close_exit=0x7f010001; - public static final int fragment_fade_enter=0x7f010002; - public static final int fragment_fade_exit=0x7f010003; - public static final int fragment_fast_out_extra_slow_in=0x7f010004; - public static final int fragment_open_enter=0x7f010005; - public static final int fragment_open_exit=0x7f010006; - } - public static final class attr { - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSize=0x7f020000; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adSizes=0x7f020001; - /** - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int adUnitId=0x7f020002; - /** - * Alpha multiplier applied to the base color. - *

May be a floating point value, such as "1.2". - */ - public static final int alpha=0x7f020003; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int ambientEnabled=0x7f020004; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- */ - public static final int buttonSize=0x7f020005; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraBearing=0x7f020006; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMaxZoomPreference=0x7f020007; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraMinZoomPreference=0x7f020008; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLat=0x7f020009; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTargetLng=0x7f02000a; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraTilt=0x7f02000b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int cameraZoom=0x7f02000c; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int circleCrop=0x7f02000d; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- */ - public static final int colorScheme=0x7f02000e; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int coordinatorLayoutStyle=0x7f02000f; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int drawerLayoutStyle=0x7f020010; - /** - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - */ - public static final int elevation=0x7f020011; - /** - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int font=0x7f020012; - /** - * The authority of the Font Provider to be used for the request. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderAuthority=0x7f020013; - /** - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int fontProviderCerts=0x7f020014; - /** - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- */ - public static final int fontProviderFetchStrategy=0x7f020015; - /** - * The length of the timeout during fetching. - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- */ - public static final int fontProviderFetchTimeout=0x7f020016; - /** - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderPackage=0x7f020017; - /** - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontProviderQuery=0x7f020018; - /** - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- */ - public static final int fontStyle=0x7f020019; - /** - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int fontVariationSettings=0x7f02001a; - /** - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - *

May be an integer value, such as "100". - */ - public static final int fontWeight=0x7f02001b; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int imageAspectRatio=0x7f02001c; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- */ - public static final int imageAspectRatioAdjust=0x7f02001d; - /** - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int keylines=0x7f02001e; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLatitude=0x7f02001f; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsNorthEastLongitude=0x7f020020; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLatitude=0x7f020021; - /** - *

May be a floating point value, such as "1.2". - */ - public static final int latLngBoundsSouthWestLongitude=0x7f020022; - /** - * The id of an anchor view that this view should position relative to. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - */ - public static final int layout_anchor=0x7f020023; - /** - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- */ - public static final int layout_anchorGravity=0x7f020024; - /** - * The class name of a Behavior class defining special runtime behavior - * for this child view. - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int layout_behavior=0x7f020025; - /** - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- */ - public static final int layout_dodgeInsetEdges=0x7f020026; - /** - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- */ - public static final int layout_insetEdge=0x7f020027; - /** - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - *

May be an integer value, such as "100". - */ - public static final int layout_keyline=0x7f020028; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int liteMode=0x7f020029; - /** - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- */ - public static final int mapType=0x7f02002a; - /** - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - */ - public static final int scopeUris=0x7f02002b; - /** - * Drawable to display behind the status bar when the view is set to draw behind it. - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int statusBarBackground=0x7f02002c; - /** - * Background color for SwipeRefreshLayout progress spinner. - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - */ - public static final int swipeRefreshLayoutProgressSpinnerBackgroundColor=0x7f02002d; - /** - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - *

May be an integer value, such as "100". - */ - public static final int ttcIndex=0x7f02002e; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiCompass=0x7f02002f; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiMapToolbar=0x7f020030; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiRotateGestures=0x7f020031; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGestures=0x7f020032; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiScrollGesturesDuringRotateOrZoom=0x7f020033; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiTiltGestures=0x7f020034; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomControls=0x7f020035; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int uiZoomGestures=0x7f020036; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int useViewLifecycle=0x7f020037; - /** - *

May be a boolean value, such as "true" or - * "false". - */ - public static final int zOrderOnTop=0x7f020038; - } - public static final class bool { - public static final int enable_system_alarm_service_default=0x7f030000; - public static final int enable_system_foreground_service_default=0x7f030001; - public static final int enable_system_job_service_default=0x7f030002; - public static final int workmanager_test_configuration=0x7f030003; - } - public static final class color { - public static final int androidx_core_ripple_material_light=0x7f040000; - public static final int androidx_core_secondary_text_default_material_light=0x7f040001; - public static final int browser_actions_bg_grey=0x7f040002; - public static final int browser_actions_divider_color=0x7f040003; - public static final int browser_actions_text_color=0x7f040004; - public static final int browser_actions_title_color=0x7f040005; - public static final int common_google_signin_btn_text_dark=0x7f040006; - public static final int common_google_signin_btn_text_dark_default=0x7f040007; - public static final int common_google_signin_btn_text_dark_disabled=0x7f040008; - public static final int common_google_signin_btn_text_dark_focused=0x7f040009; - public static final int common_google_signin_btn_text_dark_pressed=0x7f04000a; - public static final int common_google_signin_btn_text_light=0x7f04000b; - public static final int common_google_signin_btn_text_light_default=0x7f04000c; - public static final int common_google_signin_btn_text_light_disabled=0x7f04000d; - public static final int common_google_signin_btn_text_light_focused=0x7f04000e; - public static final int common_google_signin_btn_text_light_pressed=0x7f04000f; - public static final int common_google_signin_btn_tint=0x7f040010; - public static final int notification_action_color_filter=0x7f040011; - public static final int notification_icon_bg_color=0x7f040012; - public static final int notification_material_background_media_default_color=0x7f040013; - public static final int primary_text_default_material_dark=0x7f040014; - public static final int secondary_text_default_material_dark=0x7f040015; - } - public static final class dimen { - public static final int browser_actions_context_menu_max_width=0x7f050000; - public static final int browser_actions_context_menu_min_padding=0x7f050001; - public static final int compat_button_inset_horizontal_material=0x7f050002; - public static final int compat_button_inset_vertical_material=0x7f050003; - public static final int compat_button_padding_horizontal_material=0x7f050004; - public static final int compat_button_padding_vertical_material=0x7f050005; - public static final int compat_control_corner_material=0x7f050006; - public static final int compat_notification_large_icon_max_height=0x7f050007; - public static final int compat_notification_large_icon_max_width=0x7f050008; - public static final int def_drawer_elevation=0x7f050009; - public static final int notification_action_icon_size=0x7f05000a; - public static final int notification_action_text_size=0x7f05000b; - public static final int notification_big_circle_margin=0x7f05000c; - public static final int notification_content_margin_start=0x7f05000d; - public static final int notification_large_icon_height=0x7f05000e; - public static final int notification_large_icon_width=0x7f05000f; - public static final int notification_main_column_padding_top=0x7f050010; - public static final int notification_media_narrow_margin=0x7f050011; - public static final int notification_right_icon_size=0x7f050012; - public static final int notification_right_side_padding_top=0x7f050013; - public static final int notification_small_icon_background_padding=0x7f050014; - public static final int notification_small_icon_size_as_large=0x7f050015; - public static final int notification_subtext_size=0x7f050016; - public static final int notification_top_pad=0x7f050017; - public static final int notification_top_pad_large_text=0x7f050018; - public static final int subtitle_corner_radius=0x7f050019; - public static final int subtitle_outline_width=0x7f05001a; - public static final int subtitle_shadow_offset=0x7f05001b; - public static final int subtitle_shadow_radius=0x7f05001c; - } - public static final class drawable { - public static final int common_full_open_on_phone=0x7f060000; - public static final int common_google_signin_btn_icon_dark=0x7f060001; - public static final int common_google_signin_btn_icon_dark_focused=0x7f060002; - public static final int common_google_signin_btn_icon_dark_normal=0x7f060003; - public static final int common_google_signin_btn_icon_dark_normal_background=0x7f060004; - public static final int common_google_signin_btn_icon_disabled=0x7f060005; - public static final int common_google_signin_btn_icon_light=0x7f060006; - public static final int common_google_signin_btn_icon_light_focused=0x7f060007; - public static final int common_google_signin_btn_icon_light_normal=0x7f060008; - public static final int common_google_signin_btn_icon_light_normal_background=0x7f060009; - public static final int common_google_signin_btn_text_dark=0x7f06000a; - public static final int common_google_signin_btn_text_dark_focused=0x7f06000b; - public static final int common_google_signin_btn_text_dark_normal=0x7f06000c; - public static final int common_google_signin_btn_text_dark_normal_background=0x7f06000d; - public static final int common_google_signin_btn_text_disabled=0x7f06000e; - public static final int common_google_signin_btn_text_light=0x7f06000f; - public static final int common_google_signin_btn_text_light_focused=0x7f060010; - public static final int common_google_signin_btn_text_light_normal=0x7f060011; - public static final int common_google_signin_btn_text_light_normal_background=0x7f060012; - public static final int googleg_disabled_color_18=0x7f060013; - public static final int googleg_standard_color_18=0x7f060014; - public static final int icon=0x7f060015; - public static final int notification_action_background=0x7f060016; - public static final int notification_bg=0x7f060017; - public static final int notification_bg_low=0x7f060018; - public static final int notification_bg_low_normal=0x7f060019; - public static final int notification_bg_low_pressed=0x7f06001a; - public static final int notification_bg_normal=0x7f06001b; - public static final int notification_bg_normal_pressed=0x7f06001c; - public static final int notification_icon_background=0x7f06001d; - public static final int notification_template_icon_bg=0x7f06001e; - public static final int notification_template_icon_low_bg=0x7f06001f; - public static final int notification_tile_bg=0x7f060020; - public static final int notify_panel_notification_icon_bg=0x7f060021; - } - public static final class id { - public static final int accessibility_action_clickable_span=0x7f070000; - public static final int accessibility_custom_action_0=0x7f070001; - public static final int accessibility_custom_action_1=0x7f070002; - public static final int accessibility_custom_action_10=0x7f070003; - public static final int accessibility_custom_action_11=0x7f070004; - public static final int accessibility_custom_action_12=0x7f070005; - public static final int accessibility_custom_action_13=0x7f070006; - public static final int accessibility_custom_action_14=0x7f070007; - public static final int accessibility_custom_action_15=0x7f070008; - public static final int accessibility_custom_action_16=0x7f070009; - public static final int accessibility_custom_action_17=0x7f07000a; - public static final int accessibility_custom_action_18=0x7f07000b; - public static final int accessibility_custom_action_19=0x7f07000c; - public static final int accessibility_custom_action_2=0x7f07000d; - public static final int accessibility_custom_action_20=0x7f07000e; - public static final int accessibility_custom_action_21=0x7f07000f; - public static final int accessibility_custom_action_22=0x7f070010; - public static final int accessibility_custom_action_23=0x7f070011; - public static final int accessibility_custom_action_24=0x7f070012; - public static final int accessibility_custom_action_25=0x7f070013; - public static final int accessibility_custom_action_26=0x7f070014; - public static final int accessibility_custom_action_27=0x7f070015; - public static final int accessibility_custom_action_28=0x7f070016; - public static final int accessibility_custom_action_29=0x7f070017; - public static final int accessibility_custom_action_3=0x7f070018; - public static final int accessibility_custom_action_30=0x7f070019; - public static final int accessibility_custom_action_31=0x7f07001a; - public static final int accessibility_custom_action_4=0x7f07001b; - public static final int accessibility_custom_action_5=0x7f07001c; - public static final int accessibility_custom_action_6=0x7f07001d; - public static final int accessibility_custom_action_7=0x7f07001e; - public static final int accessibility_custom_action_8=0x7f07001f; - public static final int accessibility_custom_action_9=0x7f070020; - public static final int action0=0x7f070021; - public static final int action_container=0x7f070022; - public static final int action_divider=0x7f070023; - public static final int action_image=0x7f070024; - public static final int action_text=0x7f070025; - public static final int actions=0x7f070026; - public static final int adjust_height=0x7f070027; - public static final int adjust_width=0x7f070028; - public static final int all=0x7f070029; - public static final int async=0x7f07002a; - public static final int auto=0x7f07002b; - public static final int blocking=0x7f07002c; - public static final int bottom=0x7f07002d; - public static final int browser_actions_header_text=0x7f07002e; - public static final int browser_actions_menu_item_icon=0x7f07002f; - public static final int browser_actions_menu_item_text=0x7f070030; - public static final int browser_actions_menu_items=0x7f070031; - public static final int browser_actions_menu_view=0x7f070032; - public static final int cancel_action=0x7f070033; - public static final int center=0x7f070034; - public static final int center_horizontal=0x7f070035; - public static final int center_vertical=0x7f070036; - public static final int chronometer=0x7f070037; - public static final int clip_horizontal=0x7f070038; - public static final int clip_vertical=0x7f070039; - public static final int dark=0x7f07003a; - public static final int dialog_button=0x7f07003b; - public static final int end=0x7f07003c; - public static final int end_padder=0x7f07003d; - public static final int fill=0x7f07003e; - public static final int fill_horizontal=0x7f07003f; - public static final int fill_vertical=0x7f070040; - public static final int forever=0x7f070041; - public static final int fragment_container_view_tag=0x7f070042; - public static final int hybrid=0x7f070043; - public static final int icon=0x7f070044; - public static final int icon_group=0x7f070045; - public static final int icon_only=0x7f070046; - public static final int info=0x7f070047; - public static final int italic=0x7f070048; - public static final int left=0x7f070049; - public static final int light=0x7f07004a; - public static final int line1=0x7f07004b; - public static final int line3=0x7f07004c; - public static final int media_actions=0x7f07004d; - public static final int none=0x7f07004e; - public static final int normal=0x7f07004f; - public static final int notification_background=0x7f070050; - public static final int notification_main_column=0x7f070051; - public static final int notification_main_column_container=0x7f070052; - public static final int right=0x7f070053; - public static final int right_icon=0x7f070054; - public static final int right_side=0x7f070055; - public static final int satellite=0x7f070056; - public static final int standard=0x7f070057; - public static final int start=0x7f070058; - public static final int status_bar_latest_event_content=0x7f070059; - public static final int tag_accessibility_actions=0x7f07005a; - public static final int tag_accessibility_clickable_spans=0x7f07005b; - public static final int tag_accessibility_heading=0x7f07005c; - public static final int tag_accessibility_pane_title=0x7f07005d; - public static final int tag_screen_reader_focusable=0x7f07005e; - public static final int tag_transition_group=0x7f07005f; - public static final int tag_unhandled_key_event_manager=0x7f070060; - public static final int tag_unhandled_key_listeners=0x7f070061; - public static final int terrain=0x7f070062; - public static final int text=0x7f070063; - public static final int text2=0x7f070064; - public static final int time=0x7f070065; - public static final int title=0x7f070066; - public static final int top=0x7f070067; - public static final int visible_removing_fragment_view_tag=0x7f070068; - public static final int wide=0x7f070069; - } - public static final class integer { - public static final int cancel_button_image_alpha=0x7f080000; - public static final int google_play_services_version=0x7f080001; - public static final int status_bar_notification_info_maxnum=0x7f080002; - } - public static final class layout { - public static final int browser_actions_context_menu_page=0x7f090000; - public static final int browser_actions_context_menu_row=0x7f090001; - public static final int custom_dialog=0x7f090002; - public static final int notification_action=0x7f090003; - public static final int notification_action_tombstone=0x7f090004; - public static final int notification_media_action=0x7f090005; - public static final int notification_media_cancel_action=0x7f090006; - public static final int notification_template_big_media=0x7f090007; - public static final int notification_template_big_media_custom=0x7f090008; - public static final int notification_template_big_media_narrow=0x7f090009; - public static final int notification_template_big_media_narrow_custom=0x7f09000a; - public static final int notification_template_custom_big=0x7f09000b; - public static final int notification_template_icon_group=0x7f09000c; - public static final int notification_template_lines_media=0x7f09000d; - public static final int notification_template_media=0x7f09000e; - public static final int notification_template_media_custom=0x7f09000f; - public static final int notification_template_part_chronometer=0x7f090010; - public static final int notification_template_part_time=0x7f090011; - } - public static final class string { - public static final int common_google_play_services_enable_button=0x7f0a0000; - public static final int common_google_play_services_enable_text=0x7f0a0001; - public static final int common_google_play_services_enable_title=0x7f0a0002; - public static final int common_google_play_services_install_button=0x7f0a0003; - public static final int common_google_play_services_install_text=0x7f0a0004; - public static final int common_google_play_services_install_title=0x7f0a0005; - public static final int common_google_play_services_notification_channel_name=0x7f0a0006; - public static final int common_google_play_services_notification_ticker=0x7f0a0007; - public static final int common_google_play_services_unknown_issue=0x7f0a0008; - public static final int common_google_play_services_unsupported_text=0x7f0a0009; - public static final int common_google_play_services_update_button=0x7f0a000a; - public static final int common_google_play_services_update_text=0x7f0a000b; - public static final int common_google_play_services_update_title=0x7f0a000c; - public static final int common_google_play_services_updating_text=0x7f0a000d; - public static final int common_google_play_services_wear_update_text=0x7f0a000e; - public static final int common_open_on_phone=0x7f0a000f; - public static final int common_signin_button_text=0x7f0a0010; - public static final int common_signin_button_text_long=0x7f0a0011; - public static final int fcm_fallback_notification_channel_label=0x7f0a0012; - public static final int offline_notification_text=0x7f0a0013; - public static final int offline_notification_title=0x7f0a0014; - public static final int offline_opt_in_confirm=0x7f0a0015; - public static final int offline_opt_in_confirmation=0x7f0a0016; - public static final int offline_opt_in_decline=0x7f0a0017; - public static final int offline_opt_in_message=0x7f0a0018; - public static final int offline_opt_in_title=0x7f0a0019; - public static final int s1=0x7f0a001a; - public static final int s2=0x7f0a001b; - public static final int s3=0x7f0a001c; - public static final int s4=0x7f0a001d; - public static final int s5=0x7f0a001e; - public static final int s6=0x7f0a001f; - public static final int s7=0x7f0a0020; - public static final int status_bar_notification_info_overflow=0x7f0a0021; - } - public static final class style { - public static final int LightTheme=0x7f0b0000; - public static final int LowerCaseMenu=0x7f0b0001; - public static final int TextAppearance_Compat_Notification=0x7f0b0002; - public static final int TextAppearance_Compat_Notification_Info=0x7f0b0003; - public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0b0004; - public static final int TextAppearance_Compat_Notification_Line2=0x7f0b0005; - public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0b0006; - public static final int TextAppearance_Compat_Notification_Media=0x7f0b0007; - public static final int TextAppearance_Compat_Notification_Time=0x7f0b0008; - public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0b0009; - public static final int TextAppearance_Compat_Notification_Title=0x7f0b000a; - public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0b000b; - public static final int Theme_IAPTheme=0x7f0b000c; - public static final int Widget_Compat_NotificationActionContainer=0x7f0b000d; - public static final int Widget_Compat_NotificationActionText=0x7f0b000e; - public static final int Widget_Support_CoordinatorLayout=0x7f0b000f; - } - public static final class styleable { - /** - * Attributes that can be used with a AdsAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #AdsAttrs_adSize marquez.keymon.com.mx:adSize}
{@link #AdsAttrs_adSizes marquez.keymon.com.mx:adSizes}
{@link #AdsAttrs_adUnitId marquez.keymon.com.mx:adUnitId}
- * @see #AdsAttrs_adSize - * @see #AdsAttrs_adSizes - * @see #AdsAttrs_adUnitId - */ - public static final int[] AdsAttrs={ - 0x7f020000, 0x7f020001, 0x7f020002 - }; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#adSize} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:adSize - */ - public static final int AdsAttrs_adSize=0; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#adSizes} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:adSizes - */ - public static final int AdsAttrs_adSizes=1; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#adUnitId} - * attribute's value can be found in the {@link #AdsAttrs} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:adUnitId - */ - public static final int AdsAttrs_adUnitId=2; - /** - * Attributes that can be used with a ColorStateListItem. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #ColorStateListItem_android_color android:color}
{@link #ColorStateListItem_android_alpha android:alpha}
{@link #ColorStateListItem_alpha marquez.keymon.com.mx:alpha}Alpha multiplier applied to the base color.
- * @see #ColorStateListItem_android_color - * @see #ColorStateListItem_android_alpha - * @see #ColorStateListItem_alpha - */ - public static final int[] ColorStateListItem={ - 0x010101a5, 0x0101031f, 0x7f020003 - }; - /** - *

- * @attr description - * Base color for this state. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int ColorStateListItem_android_color=0; - /** - *

This symbol is the offset where the {@link android.R.attr#alpha} - * attribute's value can be found in the {@link #ColorStateListItem} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:alpha - */ - public static final int ColorStateListItem_android_alpha=1; - /** - *

- * @attr description - * Alpha multiplier applied to the base color. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:alpha - */ - public static final int ColorStateListItem_alpha=2; - /** - * Attributes that can be used with a CoordinatorLayout. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_keylines marquez.keymon.com.mx:keylines}A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge.
{@link #CoordinatorLayout_statusBarBackground marquez.keymon.com.mx:statusBarBackground}Drawable to display behind the status bar when the view is set to draw behind it.
- * @see #CoordinatorLayout_keylines - * @see #CoordinatorLayout_statusBarBackground - */ - public static final int[] CoordinatorLayout={ - 0x7f02001e, 0x7f02002c - }; - /** - *

- * @attr description - * A reference to an array of integers representing the - * locations of horizontal keylines in dp from the starting edge. - * Child views can refer to these keylines for alignment using - * layout_keyline="index" where index is a 0-based index into - * this array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name marquez.keymon.com.mx:keylines - */ - public static final int CoordinatorLayout_keylines=0; - /** - *

- * @attr description - * Drawable to display behind the status bar when the view is set to draw behind it. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name marquez.keymon.com.mx:statusBarBackground - */ - public static final int CoordinatorLayout_statusBarBackground=1; - /** - * Attributes that can be used with a CoordinatorLayout_Layout. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}
{@link #CoordinatorLayout_Layout_layout_anchor marquez.keymon.com.mx:layout_anchor}The id of an anchor view that this view should position relative to.
{@link #CoordinatorLayout_Layout_layout_anchorGravity marquez.keymon.com.mx:layout_anchorGravity}Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds.
{@link #CoordinatorLayout_Layout_layout_behavior marquez.keymon.com.mx:layout_behavior}The class name of a Behavior class defining special runtime behavior - * for this child view.
{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges marquez.keymon.com.mx:layout_dodgeInsetEdges}Specifies how this view dodges the inset edges of the CoordinatorLayout.
{@link #CoordinatorLayout_Layout_layout_insetEdge marquez.keymon.com.mx:layout_insetEdge}Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it.
{@link #CoordinatorLayout_Layout_layout_keyline marquez.keymon.com.mx:layout_keyline}The index of a keyline this view should position relative to.
- * @see #CoordinatorLayout_Layout_android_layout_gravity - * @see #CoordinatorLayout_Layout_layout_anchor - * @see #CoordinatorLayout_Layout_layout_anchorGravity - * @see #CoordinatorLayout_Layout_layout_behavior - * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges - * @see #CoordinatorLayout_Layout_layout_insetEdge - * @see #CoordinatorLayout_Layout_layout_keyline - */ - public static final int[] CoordinatorLayout_Layout={ - 0x010100b3, 0x7f020023, 0x7f020024, 0x7f020025, - 0x7f020026, 0x7f020027, 0x7f020028 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#layout_gravity} - * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
end800005
fill77
fill_horizontal7
fill_vertical70
left3
right5
start800003
top30
- * - * @attr name android:layout_gravity - */ - public static final int CoordinatorLayout_Layout_android_layout_gravity=0; - /** - *

- * @attr description - * The id of an anchor view that this view should position relative to. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name marquez.keymon.com.mx:layout_anchor - */ - public static final int CoordinatorLayout_Layout_layout_anchor=1; - /** - *

- * @attr description - * Specifies how an object should position relative to an anchor, on both the X and Y axes, - * within its parent's bounds. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional option that can be set to have the left and/or right edges of - * the child clipped to its container's bounds. - * The clip will be based on the horizontal gravity: a left gravity will clip the right - * edge, a right gravity will clip the left edge, and neither will clip both edges.
clip_vertical80Additional option that can be set to have the top and/or bottom edges of - * the child clipped to its container's bounds. - * The clip will be based on the vertical gravity: a top gravity will clip the bottom - * edge, a bottom gravity will clip the top edge, and neither will clip both edges.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.
- * - * @attr name marquez.keymon.com.mx:layout_anchorGravity - */ - public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; - /** - *

- * @attr description - * The class name of a Behavior class defining special runtime behavior - * for this child view. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:layout_behavior - */ - public static final int CoordinatorLayout_Layout_layout_behavior=3; - /** - *

- * @attr description - * Specifies how this view dodges the inset edges of the CoordinatorLayout. - * - *

Must be one or more (separated by '|') of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
all77Dodge all the inset edges.
bottom50Dodge the bottom inset edge.
end800005Dodge the end inset edge.
left3Dodge the left inset edge.
none0Don't dodge any edges
right5Dodge the right inset edge.
start800003Dodge the start inset edge.
top30Dodge the top inset edge.
- * - * @attr name marquez.keymon.com.mx:layout_dodgeInsetEdges - */ - public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; - /** - *

- * @attr description - * Specifies how this view insets the CoordinatorLayout and make some other views - * dodge it. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
bottom50Inset the bottom edge.
end800005Inset the end edge.
left3Inset the left edge.
none0Don't inset.
right5Inset the right edge.
start800003Inset the start edge.
top30Inset the top edge.
- * - * @attr name marquez.keymon.com.mx:layout_insetEdge - */ - public static final int CoordinatorLayout_Layout_layout_insetEdge=5; - /** - *

- * @attr description - * The index of a keyline this view should position relative to. - * android:layout_gravity will affect how the view aligns to the - * specified keyline. - * - *

May be an integer value, such as "100". - * - * @attr name marquez.keymon.com.mx:layout_keyline - */ - public static final int CoordinatorLayout_Layout_layout_keyline=6; - /** - * Attributes that can be used with a DrawerLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #DrawerLayout_elevation marquez.keymon.com.mx:elevation}
- * @see #DrawerLayout_elevation - */ - public static final int[] DrawerLayout={ - 0x7f020011 - }; - /** - *

- * @attr description - * The height difference between the drawer and the base surface. Only takes effect on API 21 and above - * - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - * - * @attr name marquez.keymon.com.mx:elevation - */ - public static final int DrawerLayout_elevation=0; - /** - * Attributes that can be used with a FontFamily. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamily_fontProviderAuthority marquez.keymon.com.mx:fontProviderAuthority}The authority of the Font Provider to be used for the request.
{@link #FontFamily_fontProviderCerts marquez.keymon.com.mx:fontProviderCerts}The sets of hashes for the certificates the provider should be signed with.
{@link #FontFamily_fontProviderFetchStrategy marquez.keymon.com.mx:fontProviderFetchStrategy}The strategy to be used when fetching font data from a font provider in XML layouts.
{@link #FontFamily_fontProviderFetchTimeout marquez.keymon.com.mx:fontProviderFetchTimeout}The length of the timeout during fetching.
{@link #FontFamily_fontProviderPackage marquez.keymon.com.mx:fontProviderPackage}The package for the Font Provider to be used for the request.
{@link #FontFamily_fontProviderQuery marquez.keymon.com.mx:fontProviderQuery}The query to be sent over to the provider.
- * @see #FontFamily_fontProviderAuthority - * @see #FontFamily_fontProviderCerts - * @see #FontFamily_fontProviderFetchStrategy - * @see #FontFamily_fontProviderFetchTimeout - * @see #FontFamily_fontProviderPackage - * @see #FontFamily_fontProviderQuery - */ - public static final int[] FontFamily={ - 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, - 0x7f020017, 0x7f020018 - }; - /** - *

- * @attr description - * The authority of the Font Provider to be used for the request. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:fontProviderAuthority - */ - public static final int FontFamily_fontProviderAuthority=0; - /** - *

- * @attr description - * The sets of hashes for the certificates the provider should be signed with. This is - * used to verify the identity of the provider, and is only required if the provider is not - * part of the system image. This value may point to one list or a list of lists, where each - * individual list represents one collection of signature hashes. Refer to your font provider's - * documentation for these values. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name marquez.keymon.com.mx:fontProviderCerts - */ - public static final int FontFamily_fontProviderCerts=1; - /** - *

- * @attr description - * The strategy to be used when fetching font data from a font provider in XML layouts. - * This attribute is ignored when the resource is loaded from code, as it is equivalent to the - * choice of API between {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and - * {@link - * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} - * (async). - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
async1The async font fetch works as follows. - * First, check the local cache, then if the requeted font is not cached, trigger a - * request the font and continue with layout inflation. Once the font fetch succeeds, the - * target text view will be refreshed with the downloaded font data. The - * fontProviderFetchTimeout will be ignored if async loading is specified.
blocking0The blocking font fetch works as follows. - * First, check the local cache, then if the requested font is not cached, request the - * font from the provider and wait until it is finished. You can change the length of - * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the - * default typeface will be used instead.
- * - * @attr name marquez.keymon.com.mx:fontProviderFetchStrategy - */ - public static final int FontFamily_fontProviderFetchStrategy=2; - /** - *

- * @attr description - * The length of the timeout during fetching. - * - *

May be an integer value, such as "100". - *

Must be one of the following constant values.

- * - * - * - * - * - * - *
ConstantValueDescription
foreverffffffffA special value for the timeout. In this case, the blocking font fetching will not - * timeout and wait until a reply is received from the font provider.
- * - * @attr name marquez.keymon.com.mx:fontProviderFetchTimeout - */ - public static final int FontFamily_fontProviderFetchTimeout=3; - /** - *

- * @attr description - * The package for the Font Provider to be used for the request. This is used to verify - * the identity of the provider. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:fontProviderPackage - */ - public static final int FontFamily_fontProviderPackage=4; - /** - *

- * @attr description - * The query to be sent over to the provider. Refer to your font provider's documentation - * on the format of this string. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:fontProviderQuery - */ - public static final int FontFamily_fontProviderQuery=5; - /** - * Attributes that can be used with a FontFamilyFont. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #FontFamilyFont_android_font android:font}
{@link #FontFamilyFont_android_fontWeight android:fontWeight}
{@link #FontFamilyFont_android_fontStyle android:fontStyle}
{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}
{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}
{@link #FontFamilyFont_font marquez.keymon.com.mx:font}The reference to the font file to be used.
{@link #FontFamilyFont_fontStyle marquez.keymon.com.mx:fontStyle}The style of the given font file.
{@link #FontFamilyFont_fontVariationSettings marquez.keymon.com.mx:fontVariationSettings}The variation settings to be applied to the font.
{@link #FontFamilyFont_fontWeight marquez.keymon.com.mx:fontWeight}The weight of the given font file.
{@link #FontFamilyFont_ttcIndex marquez.keymon.com.mx:ttcIndex}The index of the font in the tcc font file.
- * @see #FontFamilyFont_android_font - * @see #FontFamilyFont_android_fontWeight - * @see #FontFamilyFont_android_fontStyle - * @see #FontFamilyFont_android_ttcIndex - * @see #FontFamilyFont_android_fontVariationSettings - * @see #FontFamilyFont_font - * @see #FontFamilyFont_fontStyle - * @see #FontFamilyFont_fontVariationSettings - * @see #FontFamilyFont_fontWeight - * @see #FontFamilyFont_ttcIndex - */ - public static final int[] FontFamilyFont={ - 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, - 0x01010570, 0x7f020012, 0x7f020019, 0x7f02001a, - 0x7f02001b, 0x7f02002e - }; - /** - *

This symbol is the offset where the {@link android.R.attr#font} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:font - */ - public static final int FontFamilyFont_android_font=0; - /** - *

This symbol is the offset where the {@link android.R.attr#fontWeight} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:fontWeight - */ - public static final int FontFamilyFont_android_fontWeight=1; - /** - *

- * @attr description - * References to the framework attrs - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name android:fontStyle - */ - public static final int FontFamilyFont_android_fontStyle=2; - /** - *

This symbol is the offset where the {@link android.R.attr#ttcIndex} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be an integer value, such as "100". - * - * @attr name android:ttcIndex - */ - public static final int FontFamilyFont_android_ttcIndex=3; - /** - *

This symbol is the offset where the {@link android.R.attr#fontVariationSettings} - * attribute's value can be found in the {@link #FontFamilyFont} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:fontVariationSettings - */ - public static final int FontFamilyFont_android_fontVariationSettings=4; - /** - *

- * @attr description - * The reference to the font file to be used. This should be a file in the res/font folder - * and should therefore have an R reference value. E.g. @font/myfont - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name marquez.keymon.com.mx:font - */ - public static final int FontFamilyFont_font=5; - /** - *

- * @attr description - * The style of the given font file. This will be used when the font is being loaded into - * the font stack and will override any style information in the font's header tables. If - * unspecified, the value in the font's header tables will be used. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - *
ConstantValueDescription
italic1
normal0
- * - * @attr name marquez.keymon.com.mx:fontStyle - */ - public static final int FontFamilyFont_fontStyle=6; - /** - *

- * @attr description - * The variation settings to be applied to the font. The string should be in the following - * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be - * used, or the font used does not support variation settings, this attribute needs not be - * specified. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:fontVariationSettings - */ - public static final int FontFamilyFont_fontVariationSettings=7; - /** - *

- * @attr description - * The weight of the given font file. This will be used when the font is being loaded into - * the font stack and will override any weight information in the font's header tables. Must - * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most - * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value - * in the font's header tables will be used. - * - *

May be an integer value, such as "100". - * - * @attr name marquez.keymon.com.mx:fontWeight - */ - public static final int FontFamilyFont_fontWeight=8; - /** - *

- * @attr description - * The index of the font in the tcc font file. If the font file referenced is not in the - * tcc format, this attribute needs not be specified. - * - *

May be an integer value, such as "100". - * - * @attr name marquez.keymon.com.mx:ttcIndex - */ - public static final int FontFamilyFont_ttcIndex=9; - /** - * Attributes that can be used with a Fragment. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #Fragment_android_name android:name}
{@link #Fragment_android_id android:id}
{@link #Fragment_android_tag android:tag}
- * @see #Fragment_android_name - * @see #Fragment_android_id - * @see #Fragment_android_tag - */ - public static final int[] Fragment={ - 0x01010003, 0x010100d0, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int Fragment_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#id} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - * - * @attr name android:id - */ - public static final int Fragment_android_id=1; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #Fragment} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int Fragment_android_tag=2; - /** - * Attributes that can be used with a FragmentContainerView. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #FragmentContainerView_android_name android:name}
{@link #FragmentContainerView_android_tag android:tag}
- * @see #FragmentContainerView_android_name - * @see #FragmentContainerView_android_tag - */ - public static final int[] FragmentContainerView={ - 0x01010003, 0x010100d1 - }; - /** - *

This symbol is the offset where the {@link android.R.attr#name} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:name - */ - public static final int FragmentContainerView_android_name=0; - /** - *

This symbol is the offset where the {@link android.R.attr#tag} - * attribute's value can be found in the {@link #FragmentContainerView} array. - * - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name android:tag - */ - public static final int FragmentContainerView_android_tag=1; - /** - * Attributes that can be used with a GradientColor. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColor_android_startColor android:startColor}
{@link #GradientColor_android_endColor android:endColor}
{@link #GradientColor_android_type android:type}
{@link #GradientColor_android_centerX android:centerX}
{@link #GradientColor_android_centerY android:centerY}
{@link #GradientColor_android_gradientRadius android:gradientRadius}
{@link #GradientColor_android_tileMode android:tileMode}
{@link #GradientColor_android_centerColor android:centerColor}
{@link #GradientColor_android_startX android:startX}
{@link #GradientColor_android_startY android:startY}
{@link #GradientColor_android_endX android:endX}
{@link #GradientColor_android_endY android:endY}
- * @see #GradientColor_android_startColor - * @see #GradientColor_android_endColor - * @see #GradientColor_android_type - * @see #GradientColor_android_centerX - * @see #GradientColor_android_centerY - * @see #GradientColor_android_gradientRadius - * @see #GradientColor_android_tileMode - * @see #GradientColor_android_centerColor - * @see #GradientColor_android_startX - * @see #GradientColor_android_startY - * @see #GradientColor_android_endX - * @see #GradientColor_android_endY - */ - public static final int[] GradientColor={ - 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, - 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, - 0x01010510, 0x01010511, 0x01010512, 0x01010513 - }; - /** - *

- * @attr description - * Start color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:startColor - */ - public static final int GradientColor_android_startColor=0; - /** - *

- * @attr description - * End color of the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:endColor - */ - public static final int GradientColor_android_endColor=1; - /** - *

- * @attr description - * Type of gradient. The default type is linear. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
linear0
radial1
sweep2
- * - * @attr name android:type - */ - public static final int GradientColor_android_type=2; - /** - *

- * @attr description - * X coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerX - */ - public static final int GradientColor_android_centerX=3; - /** - *

- * @attr description - * Y coordinate of the center of the gradient within the path. - * - *

May be a floating point value, such as "1.2". - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:centerY - */ - public static final int GradientColor_android_centerY=4; - /** - *

- * @attr description - * Radius of the gradient, used only with radial gradient. - * - *

May be a floating point value, such as "1.2". - *

May be a dimension value, which is a floating point number appended with a - * unit such as "14.5sp". - * Available units are: px (pixels), dp (density-independent pixels), - * sp (scaled pixels based on preferred font size), in (inches), and - * mm (millimeters). - *

May be a fractional value, which is a floating point number appended with - * either % or %p, such as "14.5%". - * The % suffix always means a percentage of the base size; - * the optional %p suffix provides a size relative to some parent container. - * - * @attr name android:gradientRadius - */ - public static final int GradientColor_android_gradientRadius=5; - /** - *

- * @attr description - * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
clamp0
disabledffffffff
mirror2
repeat1
- * - * @attr name android:tileMode - */ - public static final int GradientColor_android_tileMode=6; - /** - *

- * @attr description - * Optional center color. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:centerColor - */ - public static final int GradientColor_android_centerColor=7; - /** - *

- * @attr description - * X coordinate of the start point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startX - */ - public static final int GradientColor_android_startX=8; - /** - *

- * @attr description - * Y coordinate of the start point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:startY - */ - public static final int GradientColor_android_startY=9; - /** - *

- * @attr description - * X coordinate of the end point origin of the gradient. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endX - */ - public static final int GradientColor_android_endX=10; - /** - *

- * @attr description - * Y coordinate of the end point of the gradient within the shape. - * Defined in same coordinates as the path itself - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:endY - */ - public static final int GradientColor_android_endY=11; - /** - * Attributes that can be used with a GradientColorItem. - *

Includes the following attributes:

- * - * - * - * - * - * - *
AttributeDescription
{@link #GradientColorItem_android_color android:color}
{@link #GradientColorItem_android_offset android:offset}
- * @see #GradientColorItem_android_color - * @see #GradientColorItem_android_offset - */ - public static final int[] GradientColorItem={ - 0x010101a5, 0x01010514 - }; - /** - *

- * @attr description - * The current color for the offset inside the gradient. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name android:color - */ - public static final int GradientColorItem_android_color=0; - /** - *

- * @attr description - * The offset (or ratio) of this current color item inside the gradient. - * The value is only meaningful when it is between 0 and 1. - * - *

May be a floating point value, such as "1.2". - * - * @attr name android:offset - */ - public static final int GradientColorItem_android_offset=1; - /** - * Attributes that can be used with a LoadingImageView. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #LoadingImageView_circleCrop marquez.keymon.com.mx:circleCrop}
{@link #LoadingImageView_imageAspectRatio marquez.keymon.com.mx:imageAspectRatio}
{@link #LoadingImageView_imageAspectRatioAdjust marquez.keymon.com.mx:imageAspectRatioAdjust}
- * @see #LoadingImageView_circleCrop - * @see #LoadingImageView_imageAspectRatio - * @see #LoadingImageView_imageAspectRatioAdjust - */ - public static final int[] LoadingImageView={ - 0x7f02000d, 0x7f02001c, 0x7f02001d - }; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#circleCrop} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:circleCrop - */ - public static final int LoadingImageView_circleCrop=0; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#imageAspectRatio} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:imageAspectRatio - */ - public static final int LoadingImageView_imageAspectRatio=1; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#imageAspectRatioAdjust} - * attribute's value can be found in the {@link #LoadingImageView} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
adjust_height2
adjust_width1
none0
- * - * @attr name marquez.keymon.com.mx:imageAspectRatioAdjust - */ - public static final int LoadingImageView_imageAspectRatioAdjust=2; - /** - * Attributes that can be used with a MapAttrs. - *

Includes the following attributes:

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
AttributeDescription
{@link #MapAttrs_ambientEnabled marquez.keymon.com.mx:ambientEnabled}
{@link #MapAttrs_cameraBearing marquez.keymon.com.mx:cameraBearing}
{@link #MapAttrs_cameraMaxZoomPreference marquez.keymon.com.mx:cameraMaxZoomPreference}
{@link #MapAttrs_cameraMinZoomPreference marquez.keymon.com.mx:cameraMinZoomPreference}
{@link #MapAttrs_cameraTargetLat marquez.keymon.com.mx:cameraTargetLat}
{@link #MapAttrs_cameraTargetLng marquez.keymon.com.mx:cameraTargetLng}
{@link #MapAttrs_cameraTilt marquez.keymon.com.mx:cameraTilt}
{@link #MapAttrs_cameraZoom marquez.keymon.com.mx:cameraZoom}
{@link #MapAttrs_latLngBoundsNorthEastLatitude marquez.keymon.com.mx:latLngBoundsNorthEastLatitude}
{@link #MapAttrs_latLngBoundsNorthEastLongitude marquez.keymon.com.mx:latLngBoundsNorthEastLongitude}
{@link #MapAttrs_latLngBoundsSouthWestLatitude marquez.keymon.com.mx:latLngBoundsSouthWestLatitude}
{@link #MapAttrs_latLngBoundsSouthWestLongitude marquez.keymon.com.mx:latLngBoundsSouthWestLongitude}
{@link #MapAttrs_liteMode marquez.keymon.com.mx:liteMode}
{@link #MapAttrs_mapType marquez.keymon.com.mx:mapType}
{@link #MapAttrs_uiCompass marquez.keymon.com.mx:uiCompass}
{@link #MapAttrs_uiMapToolbar marquez.keymon.com.mx:uiMapToolbar}
{@link #MapAttrs_uiRotateGestures marquez.keymon.com.mx:uiRotateGestures}
{@link #MapAttrs_uiScrollGestures marquez.keymon.com.mx:uiScrollGestures}
{@link #MapAttrs_uiScrollGesturesDuringRotateOrZoom marquez.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom}
{@link #MapAttrs_uiTiltGestures marquez.keymon.com.mx:uiTiltGestures}
{@link #MapAttrs_uiZoomControls marquez.keymon.com.mx:uiZoomControls}
{@link #MapAttrs_uiZoomGestures marquez.keymon.com.mx:uiZoomGestures}
{@link #MapAttrs_useViewLifecycle marquez.keymon.com.mx:useViewLifecycle}
{@link #MapAttrs_zOrderOnTop marquez.keymon.com.mx:zOrderOnTop}
- * @see #MapAttrs_ambientEnabled - * @see #MapAttrs_cameraBearing - * @see #MapAttrs_cameraMaxZoomPreference - * @see #MapAttrs_cameraMinZoomPreference - * @see #MapAttrs_cameraTargetLat - * @see #MapAttrs_cameraTargetLng - * @see #MapAttrs_cameraTilt - * @see #MapAttrs_cameraZoom - * @see #MapAttrs_latLngBoundsNorthEastLatitude - * @see #MapAttrs_latLngBoundsNorthEastLongitude - * @see #MapAttrs_latLngBoundsSouthWestLatitude - * @see #MapAttrs_latLngBoundsSouthWestLongitude - * @see #MapAttrs_liteMode - * @see #MapAttrs_mapType - * @see #MapAttrs_uiCompass - * @see #MapAttrs_uiMapToolbar - * @see #MapAttrs_uiRotateGestures - * @see #MapAttrs_uiScrollGestures - * @see #MapAttrs_uiScrollGesturesDuringRotateOrZoom - * @see #MapAttrs_uiTiltGestures - * @see #MapAttrs_uiZoomControls - * @see #MapAttrs_uiZoomGestures - * @see #MapAttrs_useViewLifecycle - * @see #MapAttrs_zOrderOnTop - */ - public static final int[] MapAttrs={ - 0x7f020004, 0x7f020006, 0x7f020007, 0x7f020008, - 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, - 0x7f02001f, 0x7f020020, 0x7f020021, 0x7f020022, - 0x7f020029, 0x7f02002a, 0x7f02002f, 0x7f020030, - 0x7f020031, 0x7f020032, 0x7f020033, 0x7f020034, - 0x7f020035, 0x7f020036, 0x7f020037, 0x7f020038 - }; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#ambientEnabled} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:ambientEnabled - */ - public static final int MapAttrs_ambientEnabled=0; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraBearing} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraBearing - */ - public static final int MapAttrs_cameraBearing=1; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraMaxZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraMaxZoomPreference - */ - public static final int MapAttrs_cameraMaxZoomPreference=2; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraMinZoomPreference} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraMinZoomPreference - */ - public static final int MapAttrs_cameraMinZoomPreference=3; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraTargetLat} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraTargetLat - */ - public static final int MapAttrs_cameraTargetLat=4; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraTargetLng} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraTargetLng - */ - public static final int MapAttrs_cameraTargetLng=5; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraTilt} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraTilt - */ - public static final int MapAttrs_cameraTilt=6; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#cameraZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:cameraZoom - */ - public static final int MapAttrs_cameraZoom=7; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#latLngBoundsNorthEastLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:latLngBoundsNorthEastLatitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLatitude=8; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#latLngBoundsNorthEastLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:latLngBoundsNorthEastLongitude - */ - public static final int MapAttrs_latLngBoundsNorthEastLongitude=9; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#latLngBoundsSouthWestLatitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:latLngBoundsSouthWestLatitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLatitude=10; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#latLngBoundsSouthWestLongitude} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a floating point value, such as "1.2". - * - * @attr name marquez.keymon.com.mx:latLngBoundsSouthWestLongitude - */ - public static final int MapAttrs_latLngBoundsSouthWestLongitude=11; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#liteMode} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:liteMode - */ - public static final int MapAttrs_liteMode=12; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#mapType} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - * - * - *
ConstantValueDescription
hybrid4
none0
normal1
satellite2
terrain3
- * - * @attr name marquez.keymon.com.mx:mapType - */ - public static final int MapAttrs_mapType=13; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiCompass} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiCompass - */ - public static final int MapAttrs_uiCompass=14; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiMapToolbar} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiMapToolbar - */ - public static final int MapAttrs_uiMapToolbar=15; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiRotateGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiRotateGestures - */ - public static final int MapAttrs_uiRotateGestures=16; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiScrollGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiScrollGestures - */ - public static final int MapAttrs_uiScrollGestures=17; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiScrollGesturesDuringRotateOrZoom} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiScrollGesturesDuringRotateOrZoom - */ - public static final int MapAttrs_uiScrollGesturesDuringRotateOrZoom=18; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiTiltGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiTiltGestures - */ - public static final int MapAttrs_uiTiltGestures=19; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiZoomControls} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiZoomControls - */ - public static final int MapAttrs_uiZoomControls=20; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#uiZoomGestures} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:uiZoomGestures - */ - public static final int MapAttrs_uiZoomGestures=21; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#useViewLifecycle} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:useViewLifecycle - */ - public static final int MapAttrs_useViewLifecycle=22; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#zOrderOnTop} - * attribute's value can be found in the {@link #MapAttrs} array. - * - *

May be a boolean value, such as "true" or - * "false". - * - * @attr name marquez.keymon.com.mx:zOrderOnTop - */ - public static final int MapAttrs_zOrderOnTop=23; - /** - * Attributes that can be used with a SignInButton. - *

Includes the following attributes:

- * - * - * - * - * - * - * - *
AttributeDescription
{@link #SignInButton_buttonSize marquez.keymon.com.mx:buttonSize}
{@link #SignInButton_colorScheme marquez.keymon.com.mx:colorScheme}
{@link #SignInButton_scopeUris marquez.keymon.com.mx:scopeUris}
- * @see #SignInButton_buttonSize - * @see #SignInButton_colorScheme - * @see #SignInButton_scopeUris - */ - public static final int[] SignInButton={ - 0x7f020005, 0x7f02000e, 0x7f02002b - }; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#buttonSize} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
icon_only2
standard0
wide1
- * - * @attr name marquez.keymon.com.mx:buttonSize - */ - public static final int SignInButton_buttonSize=0; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#colorScheme} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

Must be one of the following constant values.

- * - * - * - * - * - * - * - * - *
ConstantValueDescription
auto2
dark0
light1
- * - * @attr name marquez.keymon.com.mx:colorScheme - */ - public static final int SignInButton_colorScheme=1; - /** - *

This symbol is the offset where the {@link marquez.keymon.com.mx.R.attr#scopeUris} - * attribute's value can be found in the {@link #SignInButton} array. - * - *

May be a reference to another resource, in the form - * "@[+][package:]type/name" or a theme - * attribute in the form - * "?[package:]type/name". - *

May be a string value, using '\\;' to escape characters such as - * '\\n' or '\\uxxxx' for a unicode character; - * - * @attr name marquez.keymon.com.mx:scopeUris - */ - public static final int SignInButton_scopeUris=2; - /** - * Attributes that can be used with a SwipeRefreshLayout. - *

Includes the following attributes:

- * - * - * - * - * - *
AttributeDescription
{@link #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor marquez.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor}Background color for SwipeRefreshLayout progress spinner.
- * @see #SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int[] SwipeRefreshLayout={ - 0x7f02002d - }; - /** - *

- * @attr description - * Background color for SwipeRefreshLayout progress spinner. - * - *

May be a color value, in the form of "#rgb", - * "#argb", "#rrggbb", or - * "#aarrggbb". - * - * @attr name marquez.keymon.com.mx:swipeRefreshLayoutProgressSpinnerBackgroundColor - */ - public static final int SwipeRefreshLayout_swipeRefreshLayoutProgressSpinnerBackgroundColor=0; - } - public static final class xml { - public static final int provider_paths=0x7f0d0000; - } -} \ No newline at end of file diff --git a/B4A/Objects/res/drawable/icon.jpg b/B4A/Objects/res/drawable/icon.jpg deleted file mode 100644 index 6f4d781..0000000 Binary files a/B4A/Objects/res/drawable/icon.jpg and /dev/null differ diff --git a/B4A/Objects/res/values-v14/theme.xml b/B4A/Objects/res/values-v14/theme.xml deleted file mode 100644 index dce838a..0000000 --- a/B4A/Objects/res/values-v14/theme.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/B4A/Objects/res/values-v20/theme.xml b/B4A/Objects/res/values-v20/theme.xml deleted file mode 100644 index 2d18e78..0000000 --- a/B4A/Objects/res/values-v20/theme.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - \ No newline at end of file diff --git a/B4A/Objects/res/xml/provider_paths b/B4A/Objects/res/xml/provider_paths deleted file mode 100644 index e6f0871..0000000 --- a/B4A/Objects/res/xml/provider_paths +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter.class deleted file mode 100644 index 3eff513..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter_subs_0.class deleted file mode 100644 index 2d59919..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/animatedcounter_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar.class deleted file mode 100644 index c7ef16a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class deleted file mode 100644 index 6c26eda..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0$ResumableSub_BusyLoop.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0.class deleted file mode 100644 index a121fff..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/anotherprogressbar_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater.class deleted file mode 100644 index 0024e30..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class deleted file mode 100644 index 2ba873f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_Service_Start.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class deleted file mode 100644 index a099a5e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0$ResumableSub_download_newApk.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0.class deleted file mode 100644 index 1ceb016..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/appupdater_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset.class deleted file mode 100644 index 37a569a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset_subs_0.class deleted file mode 100644 index 828d828..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbitset_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class deleted file mode 100644 index 1e75487..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb_subs_0.class deleted file mode 100644 index 243e14d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbreadcrumb_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class deleted file mode 100644 index 5d0a9de..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder_subs_0.class deleted file mode 100644 index 092dcec..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xbytesbuilder_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache.class deleted file mode 100644 index 29870d5..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache_subs_0.class deleted file mode 100644 index 99444c4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcache_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections.class deleted file mode 100644 index 4ca0f8b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections_subs_0.class deleted file mode 100644 index 4db86ab..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcollections_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class deleted file mode 100644 index 9f43e08..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index b92160e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0.class deleted file mode 100644 index 78e041a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcolortemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox.class deleted file mode 100644 index e980d27..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class deleted file mode 100644 index 93dcc5a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0$ResumableSub_RaiseEvent.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0.class deleted file mode 100644 index 53e8488..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcombobox_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class deleted file mode 100644 index 10ea9dd..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort_subs_0.class deleted file mode 100644 index cecdd10..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xcomparatorsort_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class deleted file mode 100644 index 85bdf98..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index 7969526..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0.class deleted file mode 100644 index 6b5ee11..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdatetemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog.class deleted file mode 100644 index 35d47ec..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class deleted file mode 100644 index d7d00ac..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class deleted file mode 100644 index 4cb7152..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowCustom.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class deleted file mode 100644 index ec8ff48..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0$ResumableSub_ShowTemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0.class deleted file mode 100644 index 0ac23a7..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xdialog_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class deleted file mode 100644 index c3e419b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class deleted file mode 100644 index 9ea8063..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0$ResumableSub_SwitchFromPasswordToRegular.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0.class deleted file mode 100644 index 3b918b0..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xfloattextfield_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter.class deleted file mode 100644 index 4f8489e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter_subs_0.class deleted file mode 100644 index 297c34f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xformatter_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview.class deleted file mode 100644 index 181d524..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview_subs_0.class deleted file mode 100644 index bd3bd35..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4ximageview_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class deleted file mode 100644 index 6ef49ad..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index 4fe5d2c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0.class deleted file mode 100644 index 29d2777..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xinputtemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class deleted file mode 100644 index 2747e9e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index 9edc8bb..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0.class deleted file mode 100644 index ade23c7..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlisttemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class deleted file mode 100644 index 0b9ee4e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class deleted file mode 100644 index e9738c2..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0$ResumableSub_MainLoop.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0.class deleted file mode 100644 index 21686e1..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xloadingindicator_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class deleted file mode 100644 index f38577a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate_subs_0.class deleted file mode 100644 index b756b41..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xlongtexttemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage.class deleted file mode 100644 index 365cd02..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index 802a52a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 4dce528..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class deleted file mode 100644 index c64d024..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class deleted file mode 100644 index 8b991e4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_envioBD_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class deleted file mode 100644 index ecb9d23..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_importarBD_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class deleted file mode 100644 index a1a06fe..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_b_terpc_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class deleted file mode 100644 index 9890786..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0$ResumableSub_copiaDB.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0.class deleted file mode 100644 index e862f7e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xmainpage_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap.class deleted file mode 100644 index 888dc39..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap_subs_0.class deleted file mode 100644 index 23b4afa..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xorderedmap_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages.class deleted file mode 100644 index abe446b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages_subs_0.class deleted file mode 100644 index 4586c92..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpages_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class deleted file mode 100644 index a8629e1..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator_subs_0.class deleted file mode 100644 index b9e3dd7..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesdelegator_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class deleted file mode 100644 index b918445..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class deleted file mode 100644 index f1277de..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0$ResumableSub_HandleCloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0.class deleted file mode 100644 index 24bc77c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xpagesmanager_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus.class deleted file mode 100644 index 3c048ef..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class deleted file mode 100644 index 5330a34..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0$ResumableSub_StartDownLoop.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0.class deleted file mode 100644 index 4534462..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xplusminus_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton.class deleted file mode 100644 index 1933d3f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class deleted file mode 100644 index ec3843d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0.class deleted file mode 100644 index 4101fe4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xradiobutton_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class deleted file mode 100644 index eb67fa3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index 744e75d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0.class deleted file mode 100644 index e135cff..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsearchtemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar.class deleted file mode 100644 index 914e618..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar_subs_0.class deleted file mode 100644 index ecdfbf8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xseekbar_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset.class deleted file mode 100644 index 4a5e22e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset_subs_0.class deleted file mode 100644 index 2403615..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xset_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class deleted file mode 100644 index cb345f4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate_subs_0.class deleted file mode 100644 index 5c582b8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xsignaturetemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch.class deleted file mode 100644 index fe6aa63..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class deleted file mode 100644 index bb90a23..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0$ResumableSub_SetValueImpl.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0.class deleted file mode 100644 index b1d0b06..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xswitch_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class deleted file mode 100644 index 8fed768..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class deleted file mode 100644 index 61e58ba..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0$ResumableSub_Show.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0.class deleted file mode 100644 index 1f59875..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/b4xtimedtemplate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities.class deleted file mode 100644 index f0fe631..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities_subs_0.class deleted file mode 100644 index 16bd495..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/batteryutilities_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente.class deleted file mode 100644 index e618cb8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index ff6fc4b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class deleted file mode 100644 index f4f6166..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class deleted file mode 100644 index 0ed5d5d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_Guardar_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera.class deleted file mode 100644 index 94dd8e8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_InitializeCamera.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class deleted file mode 100644 index 95956e7..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_abono_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_acept_tp_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_acept_tp_Click.class deleted file mode 100644 index 42fa591..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_b_acept_tp_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class deleted file mode 100644 index e6c0949..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_preventa.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class deleted file mode 100644 index 2edf687..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_imprime_venta.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class deleted file mode 100644 index f9d0b89..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0$ResumableSub_sc_result.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0.class deleted file mode 100644 index bbde62e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cliente_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes.class deleted file mode 100644 index d2004b4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index bb96e99..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0.class deleted file mode 100644 index 5ac7e5a..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_clientes_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario.class deleted file mode 100644 index 58aa8ed..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario_subs_0.class deleted file mode 100644 index 08079d0..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_cuestionario_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico.class deleted file mode 100644 index 7b80b73..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 9dca9e4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0.class deleted file mode 100644 index e8d1503..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_historico_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas.class deleted file mode 100644 index 3e22a17..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas_subs_0.class deleted file mode 100644 index fd53c5f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_mapas_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota.class deleted file mode 100644 index 9a9a4f5..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index e81af84..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0.class deleted file mode 100644 index 60a049e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nota_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa.class deleted file mode 100644 index 52354b5..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa_subs_0.class deleted file mode 100644 index c47b601..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_noventa_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente.class deleted file mode 100644 index 548f3db..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class deleted file mode 100644 index 8a9bb90..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0$ResumableSub_B4XPage_Created.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0.class deleted file mode 100644 index e1dbbb3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_nuevocliente_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos.class deleted file mode 100644 index 853c657..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 3f47e10..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0.class deleted file mode 100644 index e17e285..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_pedidos_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal.class deleted file mode 100644 index c4fc084..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index c1ee823..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class deleted file mode 100644 index 6666a7f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0$ResumableSub_Btn_Ubicar_Click.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0.class deleted file mode 100644 index 688e1c3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_principal_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos.class deleted file mode 100644 index ab3ebea..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index 83889f2..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class deleted file mode 100644 index 8e27b8d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_B4XPage_CloseRequest.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class deleted file mode 100644 index 6677fc8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_Busca_TextChanged.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class deleted file mode 100644 index 8e97436..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0$ResumableSub_lv_catalogos2_ItemClick.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0.class deleted file mode 100644 index 8f13b4d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_productos_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos.class deleted file mode 100644 index ceb6c45..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos_subs_0.class deleted file mode 100644 index 75004af..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_promos_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario.class deleted file mode 100644 index 440cb7c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario_subs_0.class deleted file mode 100644 index 8feb374..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_respaldodiario_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs.class deleted file mode 100644 index 5bf1e51..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs_subs_0.class deleted file mode 100644 index 926a1c1..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_subs_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia.class deleted file mode 100644 index 3ebf7ac..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia_subs_0.class deleted file mode 100644 index 3250cae..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_ticketsdia_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable.class deleted file mode 100644 index 552eb1d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class deleted file mode 100644 index ca34054..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0$ResumableSub_B4XPage_Appear.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0.class deleted file mode 100644 index 0ffbc10..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/c_updateavailable_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass.class deleted file mode 100644 index 686e4ba..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass_subs_0.class deleted file mode 100644 index ca94c84..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cameraexclass_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate.class deleted file mode 100644 index 6af5764..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class deleted file mode 100644 index 142a2ba..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_DownloadApk.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class deleted file mode 100644 index 75cbc36..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_IsvalidWV.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class deleted file mode 100644 index 9c969c2..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_ReadWebVN.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class deleted file mode 100644 index eb1c3c0..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_TryApkUpdate.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class deleted file mode 100644 index eab4421..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0$ResumableSub_UpdateApk.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0.class deleted file mode 100644 index d73ea65..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cl_appupdate_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf.class deleted file mode 100644 index 54ea95c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf_subs_0.class deleted file mode 100644 index 1372f6c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/cpdf_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager.class deleted file mode 100644 index aa4b0b8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager_subs_0.class deleted file mode 100644 index cf57fcc..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/dbrequestmanager_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter.class deleted file mode 100644 index fe1e0b3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter_subs_0.class deleted file mode 100644 index 06154d5..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/escposprinter_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler.class deleted file mode 100644 index 13c1ec3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class deleted file mode 100644 index bd005a6..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_Load.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class deleted file mode 100644 index 867c84b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0$ResumableSub_SaveAs.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0.class deleted file mode 100644 index d148332..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/filehandler_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider.class deleted file mode 100644 index ebd3074..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider_subs_0.class deleted file mode 100644 index 4f88218..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/fileprovider_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob.class deleted file mode 100644 index b19ca35..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob_subs_0.class deleted file mode 100644 index 4f82a10..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httpjob_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service.class deleted file mode 100644 index 6708578..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service_subs_0.class deleted file mode 100644 index e05d374..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/httputils2service_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove.class deleted file mode 100644 index a8121b8..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove_subs_0.class deleted file mode 100644 index f1636b1..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/madewithlove_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main.class deleted file mode 100644 index f6c71b6..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main_subs_0.class deleted file mode 100644 index 0d8ced2..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/main_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage.class deleted file mode 100644 index a9d5c51..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage_subs_0.class deleted file mode 100644 index bb861fe..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/manageexternalstorage_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas.class deleted file mode 100644 index 1b2a434..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class deleted file mode 100644 index a8f1c05..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Create.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class deleted file mode 100644 index f4de853..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_Activity_Resume.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class deleted file mode 100644 index 3b1b5eb..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0$ResumableSub_MapFragment1_Ready.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0.class deleted file mode 100644 index e2e7605..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/mapa_rutas_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2.class deleted file mode 100644 index 9f6b9a3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2_subs_0.class deleted file mode 100644 index a1f26b9..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/newinst2_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice.class deleted file mode 100644 index 1166e37..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class deleted file mode 100644 index 66bac94..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0$ResumableSub_NotiMon_NotificationPosted.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0.class deleted file mode 100644 index 680dbc4..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/notificationservice_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes.class deleted file mode 100644 index f70c7e6..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes_subs_0.class deleted file mode 100644 index a41c152..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/pendientes_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv.class deleted file mode 100644 index 62b599d..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class deleted file mode 100644 index 45b59d3..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_B4XSeekBar1_TouchStateChanged.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class deleted file mode 100644 index 021cc93..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0$ResumableSub_ListChangedExternally.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0.class deleted file mode 100644 index 377ed3f..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/preoptimizedclv_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider.class deleted file mode 100644 index 5a0300e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider_subs_0.class deleted file mode 100644 index c27c69e..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/roundslider_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel.class deleted file mode 100644 index ff5c814..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class deleted file mode 100644 index 768a079..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0$ResumableSub_StartScrolling.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0.class deleted file mode 100644 index a66b951..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/scrollinglabel_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter.class deleted file mode 100644 index 354058b..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter_subs_0.class deleted file mode 100644 index 515289c..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/starter_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs.class deleted file mode 100644 index a916273..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs_subs_0.class deleted file mode 100644 index 6765372..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/subs_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton.class deleted file mode 100644 index a6a21ba..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton_subs_0.class deleted file mode 100644 index 9f08a72..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/swiftbutton_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker.class deleted file mode 100644 index 95ee1c9..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class deleted file mode 100644 index 24e5c55..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLP.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class deleted file mode 100644 index 3974d57..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0$ResumableSub_StartFLPSmall.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0.class deleted file mode 100644 index c2acc60..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/tracker_subs_0.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils.class deleted file mode 100644 index b97e170..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils.class and /dev/null differ diff --git a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils_subs_0.class b/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils_subs_0.class deleted file mode 100644 index 14ab4bd..0000000 Binary files a/B4A/Objects/shell/bin/classes/adm/keymon/com/mx/xuiviewsutils_subs_0.class and /dev/null differ diff --git a/B4A/Objects/src/adm/keymon/com/mx/animatedcounter.java b/B4A/Objects/src/adm/keymon/com/mx/animatedcounter.java deleted file mode 100644 index 691fc9d..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/animatedcounter.java +++ /dev/null @@ -1,338 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class animatedcounter extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.animatedcounter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.animatedcounter.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.collections.List _imageviews = null; -public int _mdigits = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _lbltemplate = null; -public anywheresoftware.b4a.objects.collections.List _mvalue = null; -public int _digitheight = 0; -public int _digitwidth = 0; -public int _mduration = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _fade = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _xfadeiv = null; -public Object _tag = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ -int _columns = 0; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; -int _left = 0; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 71;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 72;BA.debugLine="xfadeIv.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_xfadeiv.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 73;BA.debugLine="xfadeIv.SetBitmap(fade.Resize(Width, Height, Fals"; -_xfadeiv.SetBitmap((android.graphics.Bitmap)(_fade.Resize((int) (_width),(int) (_height),__c.False).getObject())); - //BA.debugLineNum = 74;BA.debugLine="DigitHeight = Height"; -_digitheight = (int) (_height); - //BA.debugLineNum = 75;BA.debugLine="Dim Columns As Int = mdigits"; -_columns = _mdigits; - //BA.debugLineNum = 76;BA.debugLine="DigitWidth = Width / Columns"; -_digitwidth = (int) (_width/(double)_columns); - //BA.debugLineNum = 77;BA.debugLine="Dim bmp As B4XBitmap = CreateBitmap(lblTemplate)"; -_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_bmp = _createbitmap(_lbltemplate); - //BA.debugLineNum = 78;BA.debugLine="Dim left As Int = Width"; -_left = (int) (_width); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To ImageViews.Size - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_imageviews.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 82;BA.debugLine="left = left - DigitWidth"; -_left = (int) (_left-_digitwidth); - //BA.debugLineNum = 83;BA.debugLine="iv.SetLayoutAnimated(0, left, TopFromValue(i), D"; -_iv.SetLayoutAnimated((int) (0),_left,_topfromvalue(_i),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 84;BA.debugLine="iv.SetBitmap(bmp)"; -_iv.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); - } -}; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private ImageViews As List"; -_imageviews = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Private mdigits As Int"; -_mdigits = 0; - //BA.debugLineNum = 12;BA.debugLine="Private lblTemplate As B4XView"; -_lbltemplate = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private mValue As List"; -_mvalue = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private DigitHeight, DigitWidth As Int"; -_digitheight = 0; -_digitwidth = 0; - //BA.debugLineNum = 15;BA.debugLine="Private mDuration As Int"; -_mduration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private fade As B4XBitmap"; -_fade = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private xfadeIv As B4XView"; -_xfadeiv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XViewWrapper _lbl) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _baseline = 0; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _res = null; - //BA.debugLineNum = 93;BA.debugLine="Private Sub CreateBitmap (lbl As B4XView) As B4XBi"; - //BA.debugLineNum = 94;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 95;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, DigitWidth, DigitHei"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_digitwidth,(int) (_digitheight*10)); - //BA.debugLineNum = 96;BA.debugLine="Dim cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 97;BA.debugLine="cvs.Initialize(p)"; -_cvs.Initialize(_p); - //BA.debugLineNum = 98;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"5\", lbl.Font)"; -_r = _cvs.MeasureText("5",_lbl.getFont()); - //BA.debugLineNum = 99;BA.debugLine="Dim BaseLine As Int = DigitHeight / 2 - r.Height"; -_baseline = (int) (_digitheight/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 100;BA.debugLine="For i = 0 To 9"; -{ -final int step7 = 1; -final int limit7 = (int) (9); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawText(i, DigitWidth / 2, i * DigitHeight"; -_cvs.DrawText(ba,BA.NumberToString(_i),(float) (_digitwidth/(double)2),(float) (_i*_digitheight+_baseline),_lbl.getFont(),_lbl.getTextColor(),BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - } -}; - //BA.debugLineNum = 103;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 104;BA.debugLine="Dim res As B4XBitmap = cvs.CreateBitmap"; -_res = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_res = _cvs.CreateBitmap(); - //BA.debugLineNum = 105;BA.debugLine="cvs.Release"; -_cvs.Release(); - //BA.debugLineNum = 106;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createfadebitmap(int _clr) throws Exception{ -b4a.example.bitmapcreator _bc = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _tclr = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub CreateFadeBitmap (clr As Int) As B4XBi"; - //BA.debugLineNum = 57;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 58;BA.debugLine="bc.Initialize(200, 50)"; -_bc._initialize(ba,(int) (200),(int) (50)); - //BA.debugLineNum = 59;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 60;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight / 3)"; -_r.Initialize((float) (0),(float) (0),(float) (_bc._mwidth),(float) (_bc._mheight/(double)3)); - //BA.debugLineNum = 61;BA.debugLine="Dim tclr As Int = Bit.And(0x00ffffff, clr)"; -_tclr = __c.Bit.And(((int)0x00ffffff),_clr); - //BA.debugLineNum = 62;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"TOP_"; -_bc._fillgradient(new int[]{_clr,_tclr},_r,"TOP_BOTTOM"); - //BA.debugLineNum = 63;BA.debugLine="r.Top = bc.mHeight * 2 / 3"; -_r.setTop((float) (_bc._mheight*2/(double)3)); - //BA.debugLineNum = 64;BA.debugLine="r.Bottom = bc.mHeight"; -_r.setBottom((float) (_bc._mheight)); - //BA.debugLineNum = 65;BA.debugLine="bc.FillGradient(Array As Int(clr, tclr), r, \"BOTT"; -_bc._fillgradient(new int[]{_clr,_tclr},_r,"BOTTOM_TOP"); - //BA.debugLineNum = 66;BA.debugLine="Return bc.Bitmap"; -if (true) return _bc._getbitmap(); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return null; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -int _i = 0; -anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; -anywheresoftware.b4a.objects.ImageViewWrapper _fadeiv = null; - //BA.debugLineNum = 30;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 31;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 32;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 33;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"\") 'needed"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="mdigits = Props.Get(\"Digits\")"; -_mdigits = (int)(BA.ObjectToNumber(_props.Get((Object)("Digits")))); - //BA.debugLineNum = 36;BA.debugLine="mDuration = Props.Get(\"Duration\")"; -_mduration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 37;BA.debugLine="lblTemplate = lbl"; -_lbltemplate = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fade = CreateFadeBitmap(xui.PaintOrColorToColor(P"; -_fade = _createfadebitmap(_xui.PaintOrColorToColor(_props.GetDefault((Object)("FadeColor"),(Object)(_xui.Color_White)))); - //BA.debugLineNum = 39;BA.debugLine="For i = 0 To mdigits - 1"; -{ -final int step10 = 1; -final int limit10 = (int) (_mdigits-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="ImageViews.Add(iv)"; -_imageviews.Add((Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="mBase.GetView(0).AddView(iv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - } -}; - //BA.debugLineNum = 45;BA.debugLine="Dim fadeIv As ImageView"; -_fadeiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 46;BA.debugLine="fadeIv.Initialize(\"\")"; -_fadeiv.Initialize(ba,""); - //BA.debugLineNum = 47;BA.debugLine="xfadeIv = fadeIv"; -_xfadeiv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_fadeiv.getObject())); - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).AddView(fadeIv, 0, 0, 0, 0)"; -_mbase.GetView((int) (0)).AddView((android.view.View)(_fadeiv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="setValue(0)"; -_setvalue((int) (0)); - //BA.debugLineNum = 50;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="setValue(getValue)"; -_setvalue(_getvalue()); - }; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public int _getvalue() throws Exception{ -int _res = 0; -int _i = 0; - //BA.debugLineNum = 120;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 121;BA.debugLine="Dim res As Int"; -_res = 0; - //BA.debugLineNum = 122;BA.debugLine="For i = 0 To mValue.Size - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_mvalue.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 123;BA.debugLine="res = res + mValue.Get(i) * Power(10, i)"; -_res = (int) (_res+(double)(BA.ObjectToNumber(_mvalue.Get(_i)))*__c.Power(10,_i)); - } -}; - //BA.debugLineNum = 125;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 22;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 23;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 24;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 25;BA.debugLine="ImageViews.Initialize"; -_imageviews.Initialize(); - //BA.debugLineNum = 26;BA.debugLine="mValue.Initialize"; -_mvalue.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; - //BA.debugLineNum = 109;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 110;BA.debugLine="mValue.Clear"; -_mvalue.Clear(); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To mdigits - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_mdigits-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 112;BA.debugLine="mValue.Add(v Mod 10)"; -_mvalue.Add((Object)(_v%10)); - //BA.debugLineNum = 113;BA.debugLine="v = v / 10"; -_v = (int) (_v/(double)10); - //BA.debugLineNum = 114;BA.debugLine="Dim iv As B4XView = ImageViews.Get(i)"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_imageviews.Get(_i))); - //BA.debugLineNum = 115;BA.debugLine="iv.SetLayoutAnimated(mDuration, iv.Left, TopFrom"; -_iv.SetLayoutAnimated(_mduration,_iv.getLeft(),_topfromvalue(_i),(int) (__c.Max(1,_iv.getWidth())),(int) (__c.Max(1,_iv.getHeight()))); - } -}; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; -return ""; -} -public int _topfromvalue(int _digit) throws Exception{ -int _d = 0; - //BA.debugLineNum = 88;BA.debugLine="Private Sub TopFromValue (Digit As Int) As Int"; - //BA.debugLineNum = 89;BA.debugLine="Dim d As Int = mValue.Get(Digit)"; -_d = (int)(BA.ObjectToNumber(_mvalue.Get(_digit))); - //BA.debugLineNum = 90;BA.debugLine="Return -d * DigitHeight"; -if (true) return (int) (-_d*_digitheight); - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return 0; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/anotherprogressbar.java b/B4A/Objects/src/adm/keymon/com/mx/anotherprogressbar.java deleted file mode 100644 index b53b8f3..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/anotherprogressbar.java +++ /dev/null @@ -1,551 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class anotherprogressbar extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.anotherprogressbar"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.anotherprogressbar.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.bcpath._bcbrush _busybrush = null; -public int _backgroundcolor = 0; -public int _busyindex = 0; -public b4a.example.bitmapcreator _bc = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _miv = null; -public b4a.example.bcpath._bcbrush _transparentbrush = null; -public boolean _vertical = false; -public float _currentvalue = 0f; -public int _emptycolor = 0; -public b4a.example.bcpath._bcbrush _emptybrush = null; -public int _mvalue = 0; -public Object _tag = null; -public float _valuechangepersecond = 0f; -public int _cornerradius = 0; -public int _brushoffsetdelta = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 49;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 50;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group1 = _mbase.GetAllViewsRecursive(); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 51;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - } -}; - //BA.debugLineNum = 53;BA.debugLine="bc.Initialize(mBase.Width / xui.Scale, mBase.Heig"; -_bc._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getHeight()/(double)_xui.getScale())); - //BA.debugLineNum = 54;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 55;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -return ""; -} -public void _busyloop() throws Exception{ -ResumableSub_BusyLoop rsub = new ResumableSub_BusyLoop(this); -rsub.resume(ba, null); -} -public static class ResumableSub_BusyLoop extends BA.ResumableSub { -public ResumableSub_BusyLoop(adm.keymon.com.mx.anotherprogressbar parent) { -this.parent = parent; -} -adm.keymon.com.mx.anotherprogressbar parent; -int _myindex = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -long _lasttime = 0L; -anywheresoftware.b4a.objects.collections.List _tasks = null; -float _delta = 0f; -float _change = 0f; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = 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 = 60;BA.debugLine="Dim MyIndex As Int = BusyIndex"; -_myindex = parent._busyindex; - //BA.debugLineNum = 61;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 62;BA.debugLine="r.Initialize(0, 0, bc.mWidth, bc.mHeight)"; -_r.Initialize((float) (0),(float) (0),(float) (parent._bc._mwidth),(float) (parent._bc._mheight)); - //BA.debugLineNum = 63;BA.debugLine="Dim LastTime As Long = DateTime.Now"; -_lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 64;BA.debugLine="Do While MyIndex = BusyIndex"; -if (true) break; - -case 1: -//do while -this.state = 37; -while (_myindex==parent._busyindex) { -this.state = 3; -if (true) break; -} -if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 65;BA.debugLine="If Vertical Then"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._vertical) { -this.state = 6; -}else { -this.state = 8; -}if (true) break; - -case 6: -//C -this.state = 9; - //BA.debugLineNum = 66;BA.debugLine="BusyBrush.SrcOffsetY = BusyBrush.SrcOffsetY + B"; -parent._busybrush.SrcOffsetY = (int) (parent._busybrush.SrcOffsetY+parent._brushoffsetdelta); - if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 68;BA.debugLine="BusyBrush.SrcOffsetX = BusyBrush.SrcOffsetX + B"; -parent._busybrush.SrcOffsetX = (int) (parent._busybrush.SrcOffsetX+parent._brushoffsetdelta); - if (true) break; - -case 9: -//C -this.state = 10; -; - //BA.debugLineNum = 70;BA.debugLine="Dim tasks As List"; -_tasks = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 71;BA.debugLine="tasks.Initialize"; -_tasks.Initialize(); - //BA.debugLineNum = 72;BA.debugLine="tasks.Add(bc.AsyncDrawRect(bc.TargetRect, Transp"; -_tasks.Add((Object)(parent._bc._asyncdrawrect(parent._bc._targetrect,parent._transparentbrush,parent.__c.True,(int) (0)))); - //BA.debugLineNum = 73;BA.debugLine="Dim delta As Float = mValue - CurrentValue"; -_delta = (float) (parent._mvalue-parent._currentvalue); - //BA.debugLineNum = 74;BA.debugLine="If Abs(delta) <= 1 Then"; -if (true) break; - -case 10: -//if -this.state = 21; -if (parent.__c.Abs(_delta)<=1) { -this.state = 12; -}else { -this.state = 14; -}if (true) break; - -case 12: -//C -this.state = 21; - //BA.debugLineNum = 75;BA.debugLine="CurrentValue = mValue"; -parent._currentvalue = (float) (parent._mvalue); - if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 77;BA.debugLine="Dim change As Float = (DateTime.Now - LastTime)"; -_change = (float) ((parent.__c.DateTime.getNow()-_lasttime)/(double)1000*parent._valuechangepersecond); - //BA.debugLineNum = 78;BA.debugLine="If delta > 0 Then"; -if (true) break; - -case 15: -//if -this.state = 20; -if (_delta>0) { -this.state = 17; -}else { -this.state = 19; -}if (true) break; - -case 17: -//C -this.state = 20; - //BA.debugLineNum = 79;BA.debugLine="CurrentValue = CurrentValue + Min(change, mVal"; -parent._currentvalue = (float) (parent._currentvalue+parent.__c.Min(_change,parent._mvalue-parent._currentvalue)); - if (true) break; - -case 19: -//C -this.state = 20; - //BA.debugLineNum = 81;BA.debugLine="CurrentValue = CurrentValue - Min(change, Curr"; -parent._currentvalue = (float) (parent._currentvalue-parent.__c.Min(_change,parent._currentvalue-parent._mvalue)); - if (true) break; - -case 20: -//C -this.state = 21; -; - if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 84;BA.debugLine="LastTime = DateTime.Now"; -_lasttime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 85;BA.debugLine="If CurrentValue < 100 Then"; -if (true) break; - -case 22: -//if -this.state = 25; -if (parent._currentvalue<100) { -this.state = 24; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 86;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(bc.TargetRect"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(parent._bc._targetrect,parent._emptybrush,parent.__c.True,(int) (0),parent._cornerradius))); - if (true) break; -; - //BA.debugLineNum = 88;BA.debugLine="If Vertical Then"; - -case 25: -//if -this.state = 30; -if (parent._vertical) { -this.state = 27; -}else { -this.state = 29; -}if (true) break; - -case 27: -//C -this.state = 30; - //BA.debugLineNum = 89;BA.debugLine="r.Bottom = Round(CurrentValue / 100 * bc.mHeigh"; -_r.setBottom((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mheight))); - if (true) break; - -case 29: -//C -this.state = 30; - //BA.debugLineNum = 91;BA.debugLine="r.Right = Round(CurrentValue / 100 * bc.mWidth)"; -_r.setRight((float) (parent.__c.Round(parent._currentvalue/(double)100*parent._bc._mwidth))); - if (true) break; - -case 30: -//C -this.state = 31; -; - //BA.debugLineNum = 94;BA.debugLine="tasks.Add(bc.AsyncDrawRectRounded(r, BusyBrush,"; -_tasks.Add((Object)(parent._bc._asyncdrawrectrounded(_r,parent._busybrush,parent.__c.True,(int) (0),parent._cornerradius))); - //BA.debugLineNum = 95;BA.debugLine="bc.DrawBitmapCreatorsAsync(Me, \"BC\", tasks)"; -parent._bc._drawbitmapcreatorsasync(parent,"BC",_tasks); - //BA.debugLineNum = 96;BA.debugLine="Wait For BC_BitmapReady (bmp As B4XBitmap)"; -parent.__c.WaitFor("bc_bitmapready", ba, this, null); -this.state = 38; -return; -case 38: -//C -this.state = 31; -_bmp = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) result[0]; -; - //BA.debugLineNum = 97;BA.debugLine="If xui.IsB4J Then bmp = bc.Bitmap"; -if (true) break; - -case 31: -//if -this.state = 36; -if (parent._xui.getIsB4J()) { -this.state = 33; -;}if (true) break; - -case 33: -//C -this.state = 36; -_bmp = parent._bc._getbitmap(); -if (true) break; - -case 36: -//C -this.state = 1; -; - //BA.debugLineNum = 98;BA.debugLine="bc.SetBitmapToImageView(bmp, mIV)"; -parent._bc._setbitmaptoimageview(_bmp,parent._miv); - //BA.debugLineNum = 99;BA.debugLine="Sleep(30)"; -parent.__c.Sleep(ba,this,(int) (30)); -this.state = 39; -return; -case 39: -//C -this.state = 1; -; - if (true) break; - -case 37: -//C -this.state = -1; -; - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _bc_bitmapready(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 6;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 7;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 9;BA.debugLine="Private BusyBrush As BCBrush"; -_busybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 10;BA.debugLine="Private BackgroundColor As Int"; -_backgroundcolor = 0; - //BA.debugLineNum = 11;BA.debugLine="Private BusyIndex As Int"; -_busyindex = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private mIV As B4XView"; -_miv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private TransparentBrush As BCBrush"; -_transparentbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 15;BA.debugLine="Private Vertical As Boolean"; -_vertical = false; - //BA.debugLineNum = 16;BA.debugLine="Private CurrentValue As Float"; -_currentvalue = 0f; - //BA.debugLineNum = 17;BA.debugLine="Public EmptyColor As Int = xui.Color_White"; -_emptycolor = _xui.Color_White; - //BA.debugLineNum = 18;BA.debugLine="Private EmptyBrush As BCBrush"; -_emptybrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mValue As Int"; -_mvalue = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public ValueChangePerSecond As Float = 60"; -_valuechangepersecond = (float) (60); - //BA.debugLineNum = 22;BA.debugLine="Public CornerRadius As Int"; -_cornerradius = 0; - //BA.debugLineNum = 23;BA.debugLine="Public BrushOffsetDelta As Int = 3"; -_brushoffsetdelta = (int) (3); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 36;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 37;BA.debugLine="mIV = iv"; -_miv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 38;BA.debugLine="mIV.Color = xui.Color_Transparent"; -_miv.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="setValue(Props.GetDefault(\"Value\", 100))"; -_setvalue((int)(BA.ObjectToNumber(_props.GetDefault((Object)("Value"),(Object)(100))))); - //BA.debugLineNum = 40;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(mIV, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_miv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(lbl, 0, 0, mBase.Width, mBase.Heigh"; -_mbase.AddView((android.view.View)(_lbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 43;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 44;BA.debugLine="BackgroundColor = xui.PaintOrColorToColor(Props.G"; -_backgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ProgressColor"))); - //BA.debugLineNum = 45;BA.debugLine="CornerRadius = Props.GetDefault(\"CornerRadius\", 1"; -_cornerradius = (int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornerRadius"),(Object)(15)))); - //BA.debugLineNum = 46;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public int _getprogresscolor() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Public Sub getProgressColor As Int"; - //BA.debugLineNum = 104;BA.debugLine="Return BackgroundColor"; -if (true) return _backgroundcolor; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return 0; -} -public int _getvalue() throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 158;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return 0; -} -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 154;BA.debugLine="Return mBase.Visible"; -if (true) return _mbase.getVisible(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 26;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 27;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 28;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public String _setprogresscolor(int _c) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub setProgressColor (c As Int)"; - //BA.debugLineNum = 108;BA.debugLine="BackgroundColor = c"; -_backgroundcolor = _c; - //BA.debugLineNum = 109;BA.debugLine="UpdateGraphics"; -_updategraphics(); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 162;BA.debugLine="mValue = Max(0, Min(100, v))"; -_mvalue = (int) (__c.Max(0,__c.Min(100,_v))); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; -return ""; -} -public String _setvaluenoanimation(int _v) throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub SetValueNoAnimation (v As Int)"; - //BA.debugLineNum = 166;BA.debugLine="setValue(v)"; -_setvalue(_v); - //BA.debugLineNum = 167;BA.debugLine="CurrentValue = mValue"; -_currentvalue = (float) (_mvalue); - //BA.debugLineNum = 168;BA.debugLine="End Sub"; -return ""; -} -public String _setvisible(boolean _b) throws Exception{ - //BA.debugLineNum = 145;BA.debugLine="Public Sub setVisible(b As Boolean)"; - //BA.debugLineNum = 146;BA.debugLine="BusyIndex = BusyIndex + 1"; -_busyindex = (int) (_busyindex+1); - //BA.debugLineNum = 147;BA.debugLine="If b Then"; -if (_b) { - //BA.debugLineNum = 148;BA.debugLine="BusyLoop"; -_busyloop(); - }; - //BA.debugLineNum = 150;BA.debugLine="mBase.Visible = b"; -_mbase.setVisible(_b); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return ""; -} -public String _updategraphics() throws Exception{ -int _width = 0; -b4a.example.bitmapcreator _template = null; -b4a.example.bitmapcreator._argbcolor _bcolor = null; - //BA.debugLineNum = 112;BA.debugLine="Public Sub UpdateGraphics"; - //BA.debugLineNum = 113;BA.debugLine="EmptyBrush = bc.CreateBrushFromColor(EmptyColor)"; -_emptybrush = _bc._createbrushfromcolor(_emptycolor); - //BA.debugLineNum = 114;BA.debugLine="TransparentBrush = bc.CreateBrushFromColor(xui.Co"; -_transparentbrush = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 115;BA.debugLine="Dim Width As Int = 40"; -_width = (int) (40); - //BA.debugLineNum = 116;BA.debugLine="Dim Template As BitmapCreator"; -_template = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 117;BA.debugLine="Dim bcolor As ARGBColor"; -_bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 118;BA.debugLine="bc.ColorToARGB(BackgroundColor, bcolor)"; -_bc._colortoargb(_backgroundcolor,_bcolor); - //BA.debugLineNum = 119;BA.debugLine="bcolor.r = Min(255, bcolor.r * 1.5)"; -_bcolor.r = (int) (__c.Min(255,_bcolor.r*1.5)); - //BA.debugLineNum = 120;BA.debugLine="bcolor.g = Min(255, bcolor.g * 1.5)"; -_bcolor.g = (int) (__c.Min(255,_bcolor.g*1.5)); - //BA.debugLineNum = 121;BA.debugLine="bcolor.b = Min(255, bcolor.b * 1.5)"; -_bcolor.b = (int) (__c.Min(255,_bcolor.b*1.5)); - //BA.debugLineNum = 122;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 123;BA.debugLine="Template.Initialize(mBase.Width / xui.Scale, mBa"; -_template._initialize(ba,(int) (_mbase.getWidth()/(double)_xui.getScale()),(int) (_mbase.getWidth()/(double)_xui.getScale()+_width)); - }else { - //BA.debugLineNum = 125;BA.debugLine="Template.Initialize(mBase.Height / xui.Scale + W"; -_template._initialize(ba,(int) (_mbase.getHeight()/(double)_xui.getScale()+_width),(int) (_mbase.getHeight()/(double)_xui.getScale())); - }; - //BA.debugLineNum = 128;BA.debugLine="Template.DrawRect(Template.TargetRect, Background"; -_template._drawrect(_template._targetrect,_backgroundcolor,__c.True,(int) (0)); - //BA.debugLineNum = 129;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 130;BA.debugLine="Template.DrawLine(-Width / 2, Width / 2, Templat"; -_template._drawline((float) (-_width/(double)2),(float) (_width/(double)2),(float) (_template._mwidth+_width/(double)2),(float) (_template._mheight-_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }else { - //BA.debugLineNum = 132;BA.debugLine="Template.DrawLine(Width / 2, -Width / 2, Templat"; -_template._drawline((float) (_width/(double)2),(float) (-_width/(double)2),(float) (_template._mwidth-_width/(double)2),(float) (_template._mheight+_width/(double)2),_bc._argbtocolor(_bcolor),_width); - }; - //BA.debugLineNum = 134;BA.debugLine="BusyBrush = bc.CreateBrushFromBitmapCreator(Templ"; -_busybrush = _bc._createbrushfrombitmapcreator(_template); - //BA.debugLineNum = 135;BA.debugLine="If mValue = 100 Then"; -if (_mvalue==100) { - //BA.debugLineNum = 136;BA.debugLine="bc.DrawRectRounded(bc.TargetRect, BackgroundColo"; -_bc._drawrectrounded(_bc._targetrect,_backgroundcolor,__c.True,(int) (0),(int) (15)); - }else { - //BA.debugLineNum = 138;BA.debugLine="bc.DrawRectRounded2(bc.TargetRect, EmptyBrush, T"; -_bc._drawrectrounded2(_bc._targetrect,_emptybrush,__c.True,(int) (0),(int) (15)); - }; - //BA.debugLineNum = 140;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, mIV)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_miv); - //BA.debugLineNum = 141;BA.debugLine="setVisible(mBase.Visible)"; -_setvisible(_mbase.getVisible()); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/appupdater.java b/B4A/Objects/src/adm/keymon/com/mx/appupdater.java deleted file mode 100644 index ea68786..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/appupdater.java +++ /dev/null @@ -1,692 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class appupdater extends android.app.Service{ - public static class appupdater_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (appupdater) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, appupdater.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); - } - - } - static appupdater mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return appupdater.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "adm.keymon.com.mx", "adm.keymon.com.mx.appupdater"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - ServiceHelper.init(); - } - _service = new ServiceHelper(this); - processBA.service = this; - - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.appupdater", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (appupdater) Create ***"); - processBA.raiseEvent(null, "service_create"); - } - processBA.runHook("oncreate", this, null); - if (false) { - if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { - BA.LogInfo("stopping spontaneous created service"); - stopSelf(); - } - } - } - @Override - public void onStart(android.content.Intent intent, int startId) { - onStartCommand(intent, 0, 0); - } - @Override - public int onStartCommand(final android.content.Intent intent, int flags, int startId) { - if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { - public void run() { - handleStart(intent); - }})) - ; - else { - ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { - public void run() { - processBA.setActivityPaused(false); - BA.LogInfo("** Service (appupdater) Create **"); - processBA.raiseEvent(null, "service_create"); - handleStart(intent); - ServiceHelper.StarterHelper.removeWaitForLayout(); - } - }); - } - processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); - return android.app.Service.START_NOT_STICKY; - } - public void onTaskRemoved(android.content.Intent rootIntent) { - super.onTaskRemoved(rootIntent); - if (false) - processBA.raiseEvent(null, "service_taskremoved"); - - } - private void handleStart(android.content.Intent intent) { - BA.LogInfo("** Service (appupdater) Start **"); - java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); - if (startEvent != null) { - if (startEvent.getParameterTypes().length > 0) { - anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); - processBA.raiseEvent(null, "service_start", iw); - } - else { - processBA.raiseEvent(null, "service_start"); - } - } - } - - @Override - public void onDestroy() { - super.onDestroy(); - if (false) { - BA.LogInfo("** Service (appupdater) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (appupdater) Destroy **"); - processBA.raiseEvent(null, "service_destroy"); - processBA.service = null; - mostCurrent = null; - processBA.setActivityPaused(true); - processBA.runHook("ondestroy", this, null); - } - } - -@Override - public android.os.IBinder onBind(android.content.Intent intent) { - return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static String _lnk = ""; -public static anywheresoftware.b4a.objects.NotificationWrapper _nnewapp = null; -public static int _nnewappnid = 0; -public static anywheresoftware.b4j.object.JavaObject _nativeme = null; -public static anywheresoftware.b4a.objects.NotificationWrapper _n2 = null; -public static int _n2id = 0; -public static String _sharedfolder = ""; -public static boolean _usefileprovider = false; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static adm.keymon.com.mx.appupdater._mnewversion _newapp = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _mnewversion{ -public boolean IsInitialized; -public boolean update; -public boolean nonewAPP; -public boolean notifyUser; -public String version; -public String newMsg; -public String okMsg; -public String appLink; -public void Initialize() { -IsInitialized = true; -update = false; -nonewAPP = false; -notifyUser = false; -version = ""; -newMsg = ""; -okMsg = ""; -appLink = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate) throws Exception{ - //BA.debugLineNum = 224;BA.debugLine="Private Sub CreateNotification(Title As String, Co"; - //BA.debugLineNum = 225;BA.debugLine="n2.Initialize"; -_n2.Initialize(); - //BA.debugLineNum = 226;BA.debugLine="n2.Light = False"; -_n2.setLight(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 227;BA.debugLine="n2.Vibrate = Vibrate"; -_n2.setVibrate(_vibrate); - //BA.debugLineNum = 228;BA.debugLine="n2.Sound = Sound"; -_n2.setSound(_sound); - //BA.debugLineNum = 229;BA.debugLine="n2.OnGoingEvent = True"; -_n2.setOnGoingEvent(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 230;BA.debugLine="n2.Icon = Icon"; -_n2.setIcon(_icon); - //BA.debugLineNum = 231;BA.debugLine="n2.SetInfo(Title, Content, TargetActivity)"; -_n2.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 232;BA.debugLine="n2.Notify(nNewAppnID)"; -_n2.Notify(_nnewappnid); - //BA.debugLineNum = 233;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification2(String _title,String _content,String _icon,Object _targetactivity,boolean _sound,boolean _vibrate,anywheresoftware.b4a.objects.NotificationWrapper _pn,int _pnid) throws Exception{ - //BA.debugLineNum = 208;BA.debugLine="Private Sub CreateNotification2(Title As String, C"; - //BA.debugLineNum = 211;BA.debugLine="pN.Initialize2(pN.IMPORTANCE_HIGH)"; -_pn.Initialize2(_pn.IMPORTANCE_HIGH); - //BA.debugLineNum = 214;BA.debugLine="pN.Vibrate = Vibrate"; -_pn.setVibrate(_vibrate); - //BA.debugLineNum = 215;BA.debugLine="pN.Sound = Sound"; -_pn.setSound(_sound); - //BA.debugLineNum = 217;BA.debugLine="pN.Icon = Icon"; -_pn.setIcon(_icon); - //BA.debugLineNum = 218;BA.debugLine="pN.AutoCancel = True"; -_pn.setAutoCancel(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 219;BA.debugLine="pN.SetInfo(Title, Content, TargetActivity)"; -_pn.SetInfoNew(processBA,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_content),_targetactivity); - //BA.debugLineNum = 220;BA.debugLine="pN.Notify(pNID)"; -_pn.Notify(_pnid); - //BA.debugLineNum = 221;BA.debugLine="Return pN"; -if (true) return _pn; - //BA.debugLineNum = 222;BA.debugLine="End Sub"; -return null; -} -public static adm.keymon.com.mx.httpjob _download(Object _callback,String _link) throws Exception{ -adm.keymon.com.mx.httpjob _j = null; - //BA.debugLineNum = 201;BA.debugLine="Sub Download (Callback As Object, link As String)"; - //BA.debugLineNum = 202;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 203;BA.debugLine="j.Initialize(\"\", Callback)"; -_j._initialize /*String*/ (processBA,"",_callback); - //BA.debugLineNum = 204;BA.debugLine="j.Download(link)"; -_j._download /*String*/ (_link); - //BA.debugLineNum = 205;BA.debugLine="Return j"; -if (true) return _j; - //BA.debugLineNum = 206;BA.debugLine="End Sub"; -return null; -} -public static String _download_destroy() throws Exception{ - //BA.debugLineNum = 196;BA.debugLine="Sub download_Destroy"; - //BA.debugLineNum = 197;BA.debugLine="n2.Cancel(n2ID)"; -_n2.Cancel(_n2id); - //BA.debugLineNum = 198;BA.debugLine="Service.StopForeground(n2ID)"; -mostCurrent._service.StopForeground(_n2id); - //BA.debugLineNum = 199;BA.debugLine="End Sub"; -return ""; -} -public static void _download_newapk() throws Exception{ -ResumableSub_download_newApk rsub = new ResumableSub_download_newApk(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_download_newApk extends BA.ResumableSub { -public ResumableSub_download_newApk(adm.keymon.com.mx.appupdater parent) { -this.parent = parent; -} -adm.keymon.com.mx.appupdater parent; -adm.keymon.com.mx.httpjob _job_newapp = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outnewapk = null; -anywheresoftware.b4a.objects.IntentWrapper _in = 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 = 163;BA.debugLine="Log(\"Descargando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337158915","Descargando actualización",0); - //BA.debugLineNum = 164;BA.debugLine="B4XPages.ShowPage(\"login\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"login"); - //BA.debugLineNum = 165;BA.debugLine="Starter.muestraProgreso = 1"; -parent.mostCurrent._starter._muestraprogreso /*String*/ = BA.NumberToString(1); - //BA.debugLineNum = 166;BA.debugLine="Dim job_newAPP As HttpJob"; -_job_newapp = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 167;BA.debugLine="job_newAPP.Initialize(\"job_newAPP\",Me)"; -_job_newapp._initialize /*String*/ (processBA,"job_newAPP",appupdater.getObject()); - //BA.debugLineNum = 168;BA.debugLine="job_newAPP.Download(newApp.appLink)"; -_job_newapp._download /*String*/ (parent._newapp.appLink /*String*/ ); - //BA.debugLineNum = 169;BA.debugLine="Wait for (job_newAPP) JobDone (job_newAPP As Http"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_job_newapp)); -this.state = 15; -return; -case 15: -//C -this.state = 1; -_job_newapp = (adm.keymon.com.mx.httpjob) result[0]; -; - //BA.debugLineNum = 170;BA.debugLine="If job_newAPP.Success = True Then"; -if (true) break; - -case 1: -//if -this.state = 14; -if (_job_newapp._success /*boolean*/ ==anywheresoftware.b4a.keywords.Common.True) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 172;BA.debugLine="If File.Exists(SharedFolder,\"newapp.apk\") Then"; -if (true) break; - -case 4: -//if -this.state = 7; -if (anywheresoftware.b4a.keywords.Common.File.Exists(parent._sharedfolder,"newapp.apk")) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 173;BA.debugLine="File.Delete(SharedFolder,\"newapp.apk\")"; -anywheresoftware.b4a.keywords.Common.File.Delete(parent._sharedfolder,"newapp.apk"); - if (true) break; - -case 7: -//C -this.state = 8; -; - //BA.debugLineNum = 176;BA.debugLine="Dim outNewAPK As OutputStream = File.OpenOutput("; -_outnewapk = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_outnewapk = anywheresoftware.b4a.keywords.Common.File.OpenOutput(parent._sharedfolder,"newapp.apk",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 177;BA.debugLine="File.Copy2(job_newAPP.GetInputStream, outNewAPK)"; -anywheresoftware.b4a.keywords.Common.File.Copy2((java.io.InputStream)(_job_newapp._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_outnewapk.getObject())); - //BA.debugLineNum = 178;BA.debugLine="outNewAPK.Close"; -_outnewapk.Close(); - //BA.debugLineNum = 179;BA.debugLine="If Starter.Logger Then Log(\"APK dir: \"&SharedFol"; -if (true) break; - -case 8: -//if -this.state = 13; -if (parent.mostCurrent._starter._logger /*boolean*/ ) { -this.state = 10; -;}if (true) break; - -case 10: -//C -this.state = 13; -anywheresoftware.b4a.keywords.Common.LogImpl("337158931","APK dir: "+parent._sharedfolder,0); -if (true) break; - -case 13: -//C -this.state = 14; -; - if (true) break; - -case 14: -//C -this.state = -1; -; - //BA.debugLineNum = 181;BA.debugLine="job_newAPP.Release"; -_job_newapp._release /*String*/ (); - //BA.debugLineNum = 183;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 184;BA.debugLine="in.Initialize(in.ACTION_VIEW,\"\" )"; -_in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 185;BA.debugLine="SetFileUriAsIntentData(in, \"newapp.apk\")"; -_setfileuriasintentdata(_in,"newapp.apk"); - //BA.debugLineNum = 187;BA.debugLine="in.SetType(\"application/vnd.android.package-archi"; -_in.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 188;BA.debugLine="StartActivity(in)"; -anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(_in.getObject())); - //BA.debugLineNum = 189;BA.debugLine="n2.Cancel(nNewAppnID)"; -parent._n2.Cancel(parent._nnewappnid); - //BA.debugLineNum = 190;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -parent.mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 192;BA.debugLine="StopService(Me)"; -anywheresoftware.b4a.keywords.Common.StopService(processBA,appupdater.getObject()); - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _jobdone(adm.keymon.com.mx.httpjob _job_newapp) throws Exception{ -} -public static String _download_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 156;BA.debugLine="Sub download_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 157;BA.debugLine="download_newApk"; -_download_newapk(); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; -return ""; -} -public static String _fileprovider_init() throws Exception{ -anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 239;BA.debugLine="Sub fileProvider_init"; - //BA.debugLineNum = 240;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 241;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; -if (_p.getSdkVersion()>=24 || anywheresoftware.b4a.keywords.Common.File.getExternalWritable()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 242;BA.debugLine="UseFileProvider = True"; -_usefileprovider = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 243;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = anywheresoftware.b4a.keywords.Common.File.Combine(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"); - //BA.debugLineNum = 244;BA.debugLine="If Not(File.IsDirectory(File.DirInternal,\"shared"; -if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.IsDirectory(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"shared"))) { - //BA.debugLineNum = 245;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -anywheresoftware.b4a.keywords.Common.File.MakeDir("",_sharedfolder); - }; - }else { - //BA.debugLineNum = 248;BA.debugLine="UseFileProvider = False"; -_usefileprovider = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 249;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); - }; - //BA.debugLineNum = 251;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("337552140",("Using FileProvider? "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 252;BA.debugLine="End Sub"; -return ""; -} -public static Object _getfileuri(String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _uri = null; -anywheresoftware.b4j.object.JavaObject _f = null; -anywheresoftware.b4j.object.JavaObject _fp = null; -anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 255;BA.debugLine="Sub GetFileUri (FileName As String) As Object"; - //BA.debugLineNum = 256;BA.debugLine="Try"; -try { //BA.debugLineNum = 257;BA.debugLine="If Not(UseFileProvider) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(_usefileprovider)) { - //BA.debugLineNum = 258;BA.debugLine="Dim uri As JavaObject"; -_uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 259;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\")."; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_sharedfolder,_filename))}); - }; - //BA.debugLineNum = 261;BA.debugLine="Dim f As JavaObject"; -_f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 262;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 263;BA.debugLine="Dim fp As JavaObject"; -_fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 264;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 265;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(processBA); - //BA.debugLineNum = 266;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; -_fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 267;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; -if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(anywheresoftware.b4a.keywords.Common.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 269;BA.debugLine="Log(\"FileProvider::GetFileUri - error - \" & Last"; -anywheresoftware.b4a.keywords.Common.LogImpl("337617678","FileProvider::GetFileUri - error - "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); - //BA.debugLineNum = 270;BA.debugLine="Return \"\""; -if (true) return (Object)(""); - }; - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 75;BA.debugLine="Public lnk As String = \"https://keymon.lat/movil/"; -_lnk = "https://keymon.lat/movil/ADM/ADM.ver"; - //BA.debugLineNum = 89;BA.debugLine="Public nNewApp As Notification"; -_nnewapp = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Public nNewAppnID As Int = 16"; -_nnewappnid = (int) (16); - //BA.debugLineNum = 92;BA.debugLine="Dim nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 93;BA.debugLine="Dim n2 As Notification"; -_n2 = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Dim n2ID As Int = 16"; -_n2id = (int) (16); - //BA.debugLineNum = 96;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 97;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 98;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 100;BA.debugLine="Type mNewVersion(update As Boolean, nonewAPP As B"; -; - //BA.debugLineNum = 102;BA.debugLine="Public newApp As mNewVersion"; -_newapp = new adm.keymon.com.mx.appupdater._mnewversion(); - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 105;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 106;BA.debugLine="Log(\"appUpdater(), Service_Create\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("336962305","appUpdater(), Service_Create",0); - //BA.debugLineNum = 107;BA.debugLine="newApp.Initialize"; -_newapp.Initialize(); - //BA.debugLineNum = 108;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 109;BA.debugLine="n2.Initialize"; -_n2.Initialize(); - //BA.debugLineNum = 110;BA.debugLine="nativeMe.InitializeContext"; -_nativeme.InitializeContext(processBA); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 235;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 236;BA.debugLine="Log(\"appUpdater(), Service_Destroy\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337486593","appUpdater(), Service_Destroy",0); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return ""; -} -public static void _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ -ResumableSub_Service_Start rsub = new ResumableSub_Service_Start(null,_startingintent); -rsub.resume(processBA, null); -} -public static class ResumableSub_Service_Start extends BA.ResumableSub { -public ResumableSub_Service_Start(adm.keymon.com.mx.appupdater parent,anywheresoftware.b4a.objects.IntentWrapper _startingintent) { -this.parent = parent; -this._startingintent = _startingintent; -} -adm.keymon.com.mx.appupdater parent; -anywheresoftware.b4a.objects.IntentWrapper _startingintent; -adm.keymon.com.mx.httpjob _j = null; -String[] _app = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { -try { - - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 114;BA.debugLine="Log(\"appUpdater(), Service_Start\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027841","appUpdater(), Service_Start",0); - //BA.debugLineNum = 116;BA.debugLine="B4XPages.MainPage.muestraProgreso(\"Buscando actua"; -parent.mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._muestraprogreso /*String*/ ("Buscando actualización"); - //BA.debugLineNum = 117;BA.debugLine="Log(\"Buscando actualización\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027844","Buscando actualización",0); - //BA.debugLineNum = 118;BA.debugLine="fileProvider_init"; -_fileprovider_init(); - //BA.debugLineNum = 119;BA.debugLine="Wait For (Download(Me, lnk)) JobDone (j As HttpJo"; -anywheresoftware.b4a.keywords.Common.WaitFor("jobdone", processBA, this, (Object)(_download(appupdater.getObject(),parent._lnk))); -this.state = 20; -return; -case 20: -//C -this.state = 1; -_j = (adm.keymon.com.mx.httpjob) result[0]; -; - //BA.debugLineNum = 120;BA.debugLine="If j.Success Then"; -if (true) break; - -case 1: -//if -this.state = 19; -if (_j._success /*boolean*/ ) { -this.state = 3; -}else { -this.state = 18; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 121;BA.debugLine="Try"; -if (true) break; - -case 4: -//try -this.state = 16; -this.catchState = 15; -this.state = 6; -if (true) break; - -case 6: -//C -this.state = 7; -this.catchState = 15; - //BA.debugLineNum = 122;BA.debugLine="Dim app() As String = Regex.Split(Chr(9),j.GetS"; -_app = anywheresoftware.b4a.keywords.Common.Regex.Split(BA.ObjectToString(anywheresoftware.b4a.keywords.Common.Chr((int) (9))),_j._getstring /*String*/ ()); - //BA.debugLineNum = 124;BA.debugLine="newApp.appLink = app(3) 'Liga a nueva app"; -parent._newapp.appLink /*String*/ = _app[(int) (3)]; - //BA.debugLineNum = 125;BA.debugLine="newApp.newMsg = app(1) 'Texto de que hay actual"; -parent._newapp.newMsg /*String*/ = _app[(int) (1)]; - //BA.debugLineNum = 126;BA.debugLine="newApp.okMsg = app(2) 'Texto de app al corrient"; -parent._newapp.okMsg /*String*/ = _app[(int) (2)]; - //BA.debugLineNum = 127;BA.debugLine="newApp.version = app(0) 'Version actual"; -parent._newapp.version /*String*/ = _app[(int) (0)]; - //BA.debugLineNum = 129;BA.debugLine="Log($\"Application.VersionName=${Application.Ver"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027856",("Application.VersionName="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+", newApp="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._newapp))+""),0); - //BA.debugLineNum = 132;BA.debugLine="If newApp.version = Application.VersionName Th"; -if (true) break; - -case 7: -//if -this.state = 10; -if ((parent._newapp.version /*String*/ ).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName())) { -this.state = 9; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 133;BA.debugLine="newApp.update = False"; -parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 134;BA.debugLine="Log(\"No new app\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027861","No new app",0); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); - //BA.debugLineNum = 137;BA.debugLine="CreateNotification2(\"Aplicacion al corriente\","; -_createnotification2("Aplicacion al corriente","No hay actualizaciones disponibles","ic_file_download_white_24dp",(Object)(parent.mostCurrent._main.getObject()),anywheresoftware.b4a.keywords.Common.True,anywheresoftware.b4a.keywords.Common.True,parent._nnewapp,parent._nnewappnid); - if (true) break; -; - //BA.debugLineNum = 139;BA.debugLine="If newApp.version <> Application.VersionName T"; - -case 10: -//if -this.state = 13; -if ((parent._newapp.version /*String*/ ).equals(anywheresoftware.b4a.keywords.Common.Application.getVersionName()) == false) { -this.state = 12; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 140;BA.debugLine="newApp.update = True"; -parent._newapp.update /*boolean*/ = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 141;BA.debugLine="Log(\"New app true\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027868","New app true",0); - //BA.debugLineNum = 142;BA.debugLine="B4XPages.ShowPage(\"updateAvailable\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (processBA,"updateAvailable"); - if (true) break; - -case 13: -//C -this.state = 16; -; - if (true) break; - -case 15: -//C -this.state = 16; -this.catchState = 0; - //BA.debugLineNum = 147;BA.debugLine="Log(\"appUpdater(), Job Failed, error \" & LastE"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027874","appUpdater(), Job Failed, error "+anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage(),0); - if (true) break; -if (true) break; - -case 16: -//C -this.state = 19; -this.catchState = 0; -; - if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 150;BA.debugLine="Log(\"appUpdater(), Job Failed \" & lnk)"; -anywheresoftware.b4a.keywords.Common.LogImpl("337027877","appUpdater(), Job Failed "+parent._lnk,0); - if (true) break; - -case 19: -//C -this.state = -1; -; - //BA.debugLineNum = 152;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; -if (true) break; -}} - catch (Exception e0) { - -if (catchState == 0) - throw e0; -else { - state = catchState; -processBA.setLastException(e0);} - } - } - } -} -public static String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 276;BA.debugLine="Sub SetFileUriAsIntentData (Intent As Intent, File"; - //BA.debugLineNum = 277;BA.debugLine="Dim jo As JavaObject = Intent"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 278;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 279;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; -_intent.setFlags(anywheresoftware.b4a.keywords.Common.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 280;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xbitset.java b/B4A/Objects/src/adm/keymon/com/mx/b4xbitset.java deleted file mode 100644 index 741d2fa..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xbitset.java +++ /dev/null @@ -1,125 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xbitset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xbitset"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xbitset.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public int[] _data = null; -public int _msize = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private data() As Int"; -_data = new int[(int) (0)]; -; - //BA.debugLineNum = 7;BA.debugLine="Private mSize As Int"; -_msize = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 58;BA.debugLine="Dim data(Bit.ShiftRight(mSize, 5) + 1) As Int"; -_data = new int[(int) (__c.Bit.ShiftRight(_msize,(int) (5))+1)]; -; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public boolean _get(int _index) throws Exception{ -int _dindex = 0; -int _offset = 0; -int _blockvalue = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Get(Index As Int) As Boolean"; - //BA.debugLineNum = 39;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; -_dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 40;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; -_offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 44;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 46;BA.debugLine="Return Bit.And(BlockValue, Bit.ShiftLeft(1, offse"; -if (true) return __c.Bit.And(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset))!=0; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return false; -} -public int _getsize() throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 50;BA.debugLine="Return mSize"; -if (true) return _msize; - //BA.debugLineNum = 51;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (Size As Int)"; - //BA.debugLineNum = 11;BA.debugLine="mSize = Size"; -_msize = _size; - //BA.debugLineNum = 12;BA.debugLine="Clear"; -_clear(); - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return ""; -} -public String _set(int _index,boolean _value) throws Exception{ -int _dindex = 0; -int _offset = 0; -int _blockvalue = 0; -int _newblockvalue = 0; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Set(Index As Int, Value As Boolean)"; - //BA.debugLineNum = 17;BA.debugLine="Dim dindex As Int = Bit.ShiftRight(Index, 5)"; -_dindex = __c.Bit.ShiftRight(_index,(int) (5)); - //BA.debugLineNum = 18;BA.debugLine="Dim offset As Int = Bit.And(0x0000001f, Index)"; -_offset = __c.Bit.And(((int)0x0000001f),_index); - //BA.debugLineNum = 22;BA.debugLine="Dim BlockValue As Int = data(dindex)"; -_blockvalue = _data[_dindex]; - //BA.debugLineNum = 24;BA.debugLine="Dim NewBlockValue As Int"; -_newblockvalue = 0; - //BA.debugLineNum = 25;BA.debugLine="If Value Then"; -if (_value) { - //BA.debugLineNum = 26;BA.debugLine="NewBlockValue = Bit.Or(BlockValue, Bit.ShiftLeft"; -_newblockvalue = __c.Bit.Or(_blockvalue,__c.Bit.ShiftLeft((int) (1),_offset)); - }else { - //BA.debugLineNum = 28;BA.debugLine="NewBlockValue = Bit.And(BlockValue, Bit.Not(Bit."; -_newblockvalue = __c.Bit.And(_blockvalue,__c.Bit.Not(__c.Bit.ShiftLeft((int) (1),_offset))); - }; - //BA.debugLineNum = 33;BA.debugLine="data(dindex) = NewBlockValue"; -_data[_dindex] = _newblockvalue; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xbreadcrumb.java b/B4A/Objects/src/adm/keymon/com/mx/b4xbreadcrumb.java deleted file mode 100644 index 9330b02..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xbreadcrumb.java +++ /dev/null @@ -1,396 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xbreadcrumb extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xbreadcrumb"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xbreadcrumb.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public anywheresoftware.b4a.objects.collections.List _mitems = null; -public anywheresoftware.b4a.objects.collections.List _rightpositions = null; -public int _textcolor = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt = null; -public int _offset = 0; -public b4a.example.bitmapcreator _bc = null; -public int _crumbcolor = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _touchpanel = null; -public int _presseditem = 0; -public Object _tag = null; -public boolean _mhaptic = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 52;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 53;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 54;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Private mItems As List"; -_mitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 12;BA.debugLine="Private RightPositions As List"; -_rightpositions = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 13;BA.debugLine="Public TextColor As Int"; -_textcolor = 0; - //BA.debugLineNum = 14;BA.debugLine="Public fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 15;BA.debugLine="Private offset As Int = 10dip"; -_offset = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 16;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 17;BA.debugLine="Public CrumbColor As Int"; -_crumbcolor = 0; - //BA.debugLineNum = 18;BA.debugLine="Private TouchPanel As B4XView"; -_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Private PressedItem As Int = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -String _items = ""; -String _s = ""; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 37;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 38;BA.debugLine="fnt = xlbl.Font"; -_fnt = _xlbl.getFont(); - //BA.debugLineNum = 39;BA.debugLine="TextColor = xlbl.TextColor"; -_textcolor = _xlbl.getTextColor(); - //BA.debugLineNum = 40;BA.debugLine="CrumbColor = xui.PaintOrColorToColor(Props.Get(\"C"; -_crumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("CrumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 42;BA.debugLine="TouchPanel = xui.CreatePanel(\"Touch\")"; -_touchpanel = _xui.CreatePanel(ba,"Touch"); - //BA.debugLineNum = 43;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 44;BA.debugLine="Dim items As String = Props.Get(\"Items\")"; -_items = BA.ObjectToString(_props.Get((Object)("Items"))); - //BA.debugLineNum = 45;BA.debugLine="For Each s As String In Regex.Split(\"\\|\", items)"; -{ -final String[] group13 = __c.Regex.Split("\\|",_items); -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_s = group13[index13]; - //BA.debugLineNum = 46;BA.debugLine="mItems.Add(s)"; -_mitems.Add((Object)(_s)); - } -}; - //BA.debugLineNum = 48;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ -b4a.example.bitmapcreator._argbcolor _bcolor = null; -int _strokecolor = 0; -int[] _clrs = null; -int _left = 0; -int _i = 0; -int _sc = 0; -int _width = 0; - //BA.debugLineNum = 57;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 58;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 59;BA.debugLine="Dim bcolor As ARGBColor"; -_bcolor = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 60;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 61;BA.debugLine="bcolor.r = Min(255, bcolor.r * 2)"; -_bcolor.r = (int) (__c.Min(255,_bcolor.r*2)); - //BA.debugLineNum = 62;BA.debugLine="bcolor.g = Min(255, bcolor.g * 2)"; -_bcolor.g = (int) (__c.Min(255,_bcolor.g*2)); - //BA.debugLineNum = 63;BA.debugLine="bcolor.b = Min(255, bcolor.b * 2)"; -_bcolor.b = (int) (__c.Min(255,_bcolor.b*2)); - //BA.debugLineNum = 64;BA.debugLine="Dim strokeColor As Int = bc.ARGBToColor(bcolor)"; -_strokecolor = _bc._argbtocolor(_bcolor); - //BA.debugLineNum = 66;BA.debugLine="bc.ColorToARGB(CrumbColor, bcolor)"; -_bc._colortoargb(_crumbcolor,_bcolor); - //BA.debugLineNum = 67;BA.debugLine="bcolor.r = bcolor.r * 0.8"; -_bcolor.r = (int) (_bcolor.r*0.8); - //BA.debugLineNum = 68;BA.debugLine="bcolor.g = bcolor.g * 0.8"; -_bcolor.g = (int) (_bcolor.g*0.8); - //BA.debugLineNum = 69;BA.debugLine="bcolor.b = bcolor.b * 0.8"; -_bcolor.b = (int) (_bcolor.b*0.8); - //BA.debugLineNum = 70;BA.debugLine="Dim Clrs() As Int = Array As Int(CrumbColor, bc.A"; -_clrs = new int[]{_crumbcolor,_bc._argbtocolor(_bcolor)}; - //BA.debugLineNum = 72;BA.debugLine="RightPositions.Clear"; -_rightpositions.Clear(); - //BA.debugLineNum = 73;BA.debugLine="If mItems.Size = 0 Then Return"; -if (_mitems.getSize()==0) { -if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Left As Int = 0"; -_left = (int) (0); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To mItems.Size - 1"; -{ -final int step16 = 1; -final int limit16 = (int) (_mitems.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 76;BA.debugLine="Dim sc As Int"; -_sc = 0; - //BA.debugLineNum = 77;BA.debugLine="If PressedItem = i Then sc = strokeColor Else sc"; -if (_presseditem==_i) { -_sc = _strokecolor;} -else { -_sc = (int) (0);}; - //BA.debugLineNum = 78;BA.debugLine="Dim width As Int = DrawItem(Left, mItems.Get(i),"; -_width = _drawitem(_left,BA.ObjectToString(_mitems.Get(_i)),_i==0,_i==_mitems.getSize()-1,_clrs[(int) (_i%_clrs.length)],_sc); - //BA.debugLineNum = 79;BA.debugLine="Left = Left + width + offset + 2dip"; -_left = (int) (_left+_width+_offset+__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 80;BA.debugLine="RightPositions.Add(Left)"; -_rightpositions.Add((Object)(_left)); - } -}; - //BA.debugLineNum = 82;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public int _drawitem(int _left,String _text,boolean _first,boolean _last,int _clr,int _strokecolor) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _itemwidth = 0; -int _itemheight = 0; -int _baseline = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; - //BA.debugLineNum = 85;BA.debugLine="Private Sub DrawItem(Left As Int, Text As String,"; - //BA.debugLineNum = 86;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(Text, fnt)"; -_r = _cvs.MeasureText(_text,_fnt); - //BA.debugLineNum = 87;BA.debugLine="Dim ItemWidth As Int = r.Width + 30dip"; -_itemwidth = (int) (_r.getWidth()+__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 88;BA.debugLine="Dim ItemHeight As Int = cvs.TargetRect.Height"; -_itemheight = (int) (_cvs.getTargetRect().getHeight()); - //BA.debugLineNum = 89;BA.debugLine="Dim BaseLine As Int = cvs.TargetRect.CenterY - r."; -_baseline = (int) (_cvs.getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 91;BA.debugLine="p.Initialize(Left, 0)"; -_p.Initialize((float) (_left),(float) (0)); - //BA.debugLineNum = 92;BA.debugLine="p.LineTo(Left + ItemWidth, 0)"; -_p.LineTo((float) (_left+_itemwidth),(float) (0)); - //BA.debugLineNum = 93;BA.debugLine="If Last = False Then"; -if (_last==__c.False) { - //BA.debugLineNum = 94;BA.debugLine="p.LineTo(Left + ItemWidth + offset, ItemHeight /"; -_p.LineTo((float) (_left+_itemwidth+_offset),(float) (_itemheight/(double)2)); - }; - //BA.debugLineNum = 96;BA.debugLine="p.LineTo(Left + ItemWidth, ItemHeight)"; -_p.LineTo((float) (_left+_itemwidth),(float) (_itemheight)); - //BA.debugLineNum = 97;BA.debugLine="If First = False Then"; -if (_first==__c.False) { - //BA.debugLineNum = 98;BA.debugLine="p.LineTo(Left - offset, ItemHeight)"; -_p.LineTo((float) (_left-_offset),(float) (_itemheight)); - //BA.debugLineNum = 99;BA.debugLine="p.LineTo(Left, ItemHeight / 2)"; -_p.LineTo((float) (_left),(float) (_itemheight/(double)2)); - //BA.debugLineNum = 100;BA.debugLine="p.LineTo(Left - offset, 0)"; -_p.LineTo((float) (_left-_offset),(float) (0)); - }else { - //BA.debugLineNum = 102;BA.debugLine="p.LineTo(Left, ItemHeight)"; -_p.LineTo((float) (_left),(float) (_itemheight)); - }; - //BA.debugLineNum = 104;BA.debugLine="p.LineTo(Left, 0)"; -_p.LineTo((float) (_left),(float) (0)); - //BA.debugLineNum = 105;BA.debugLine="cvs.DrawPath(p, clr, True, 0)"; -_cvs.DrawPath(_p,_clr,__c.True,(float) (0)); - //BA.debugLineNum = 106;BA.debugLine="If strokeColor <> 0 Then"; -if (_strokecolor!=0) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawPath(p, strokeColor, False, 3dip)"; -_cvs.DrawPath(_p,_strokecolor,__c.False,(float) (__c.DipToCurrent((int) (3)))); - }; - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawText(Text, Left + ItemWidth / 2, BaseLine"; -_cvs.DrawText(ba,_text,(float) (_left+_itemwidth/(double)2),(float) (_baseline),_fnt,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 111;BA.debugLine="Return ItemWidth"; -if (true) return _itemwidth; - //BA.debugLineNum = 112;BA.debugLine="End Sub"; -return 0; -} -public int _finditem(int _x,int _y) throws Exception{ -int _r = 0; -int _i = 0; - //BA.debugLineNum = 136;BA.debugLine="Private Sub FindItem (x As Int, y As Int) As Int"; - //BA.debugLineNum = 137;BA.debugLine="If RightPositions.Size = 0 Then Return -1"; -if (_rightpositions.getSize()==0) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 138;BA.debugLine="If y < 0 Or y > cvs.TargetRect.Height Then Return"; -if (_y<0 || _y>_cvs.getTargetRect().getHeight()) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 139;BA.debugLine="Dim r As Int = RightPositions.Get(RightPositions."; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get((int) (_rightpositions.getSize()-1)))); - //BA.debugLineNum = 140;BA.debugLine="If x > r Then Return -1"; -if (_x>_r) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 141;BA.debugLine="For i = RightPositions.Size - 2 To 0 Step -1"; -{ -final int step5 = -1; -final int limit5 = (int) (0); -_i = (int) (_rightpositions.getSize()-2) ; -for (;_i >= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 142;BA.debugLine="Dim r As Int = RightPositions.Get(i)"; -_r = (int)(BA.ObjectToNumber(_rightpositions.Get(_i))); - //BA.debugLineNum = 143;BA.debugLine="If x > r Then Return i + 1"; -if (_x>_r) { -if (true) return (int) (_i+1);}; - } -}; - //BA.debugLineNum = 145;BA.debugLine="Return 0"; -if (true) return (int) (0); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return 0; -} -public anywheresoftware.b4a.objects.collections.List _getitems() throws Exception{ - //BA.debugLineNum = 153;BA.debugLine="Public Sub getItems As List"; - //BA.debugLineNum = 154;BA.debugLine="Return mItems"; -if (true) return _mitems; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="mItems.Initialize"; -_mitems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="RightPositions.Initialize"; -_rightpositions.Initialize(); - //BA.debugLineNum = 29;BA.debugLine="bc.Initialize(1, 1)"; -_bc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _setitems(anywheresoftware.b4a.objects.collections.List _i) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Public Sub setItems (i As List)"; - //BA.debugLineNum = 149;BA.debugLine="mItems = i"; -_mitems = _i; - //BA.debugLineNum = 150;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return ""; -} -public String _touch_touch(int _action,float _x,float _y) throws Exception{ -int _prev = 0; -int _index = 0; -anywheresoftware.b4a.objects.collections.List _items = null; -int _i = 0; - //BA.debugLineNum = 114;BA.debugLine="Private Sub Touch_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 115;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_touchpanel.TOUCH_ACTION_DOWN,_touchpanel.TOUCH_ACTION_MOVE,_touchpanel.TOUCH_ACTION_UP)) { -case 0: -case 1: { - //BA.debugLineNum = 117;BA.debugLine="Dim prev As Int = PressedItem"; -_prev = _presseditem; - //BA.debugLineNum = 118;BA.debugLine="PressedItem = FindItem(X, Y)"; -_presseditem = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 119;BA.debugLine="If prev <> PressedItem Then Draw"; -if (_prev!=_presseditem) { -_draw();}; - break; } -case 2: { - //BA.debugLineNum = 121;BA.debugLine="Dim index As Int = FindItem(X, Y)"; -_index = _finditem((int) (_x),(int) (_y)); - //BA.debugLineNum = 122;BA.debugLine="If index = PressedItem And index > -1 Then"; -if (_index==_presseditem && _index>-1) { - //BA.debugLineNum = 123;BA.debugLine="Dim Items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 124;BA.debugLine="Items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 125;BA.debugLine="For i = 0 To index"; -{ -final int step11 = 1; -final int limit11 = _index; -_i = (int) (0) ; -for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 126;BA.debugLine="Items.Add(mItems.Get(i))"; -_items.Add(_mitems.Get(_i)); - } -}; - //BA.debugLineNum = 128;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 129;BA.debugLine="CallSub2(mCallBack, mEventName & \"_CrumbClick\""; -__c.CallSubNew2(ba,_mcallback,_meventname+"_CrumbClick",(Object)(_items)); - }; - //BA.debugLineNum = 131;BA.debugLine="PressedItem = -1"; -_presseditem = (int) (-1); - //BA.debugLineNum = 132;BA.debugLine="Draw"; -_draw(); - break; } -} -; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xbytesbuilder.java b/B4A/Objects/src/adm/keymon/com/mx/b4xbytesbuilder.java deleted file mode 100644 index e2a9cad..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xbytesbuilder.java +++ /dev/null @@ -1,269 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xbytesbuilder extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xbytesbuilder"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xbytesbuilder.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public byte[] _mbuffer = null; -public int _mlength = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public adm.keymon.com.mx.b4xbytesbuilder _append(byte[] _data) throws Exception{ - //BA.debugLineNum = 24;BA.debugLine="Public Sub Append(Data() As Byte) As B4XBytesBuild"; - //BA.debugLineNum = 25;BA.debugLine="Return Append2(Data, 0, Data.Length)"; -if (true) return _append2(_data,(int) (0),_data.length); - //BA.debugLineNum = 26;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xbytesbuilder _append2(byte[] _data,int _startindex,int _length) throws Exception{ -int _oldlength = 0; - //BA.debugLineNum = 31;BA.debugLine="Public Sub Append2(Data() As Byte, StartIndex As I"; - //BA.debugLineNum = 32;BA.debugLine="Dim OldLength As Int = ChangeLength(mLength + Len"; -_oldlength = _changelength((int) (_mlength+_length)); - //BA.debugLineNum = 33;BA.debugLine="Bit.ArrayCopy(Data, StartIndex, mBuffer, OldLengt"; -__c.Bit.ArrayCopy((Object)(_data),_startindex,(Object)(_mbuffer),_oldlength,_length); - //BA.debugLineNum = 34;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.b4xbytesbuilder)(this); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return null; -} -public int _changelength(int _newlength) throws Exception{ -int _oldlength = 0; -byte[] _b = null; - //BA.debugLineNum = 12;BA.debugLine="Private Sub ChangeLength (NewLength As Int) As Int"; - //BA.debugLineNum = 13;BA.debugLine="Dim OldLength As Int = mLength"; -_oldlength = _mlength; - //BA.debugLineNum = 14;BA.debugLine="mLength = NewLength"; -_mlength = _newlength; - //BA.debugLineNum = 15;BA.debugLine="If mBuffer.Length < mLength Then"; -if (_mbuffer.length<_mlength) { - //BA.debugLineNum = 16;BA.debugLine="Dim b(Max(mBuffer.Length * 2, NewLength)) As Byt"; -_b = new byte[(int) (__c.Max(_mbuffer.length*2,_newlength))]; -; - //BA.debugLineNum = 17;BA.debugLine="Bit.ArrayCopy(mBuffer, 0, b, 0, mBuffer.Length)"; -__c.Bit.ArrayCopy((Object)(_mbuffer),(int) (0),(Object)(_b),(int) (0),_mbuffer.length); - //BA.debugLineNum = 18;BA.debugLine="mBuffer = b"; -_mbuffer = _b; - }; - //BA.debugLineNum = 20;BA.debugLine="Return OldLength"; -if (true) return _oldlength; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return 0; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mBuffer() As Byte"; -_mbuffer = new byte[(int) (0)]; -; - //BA.debugLineNum = 3;BA.debugLine="Private mLength As Int"; -_mlength = 0; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 38;BA.debugLine="ChangeLength(0)"; -_changelength((int) (0)); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public byte[] _getbuffer() throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub getBuffer As Byte() 'ignore"; - //BA.debugLineNum = 104;BA.debugLine="End Sub"; -return null; -} -public byte[] _getinternalbuffer() throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub getInternalBuffer As Byte()"; - //BA.debugLineNum = 128;BA.debugLine="Return mBuffer"; -if (true) return _mbuffer; - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return null; -} -public int _getlength() throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub getLength As Int"; - //BA.debugLineNum = 93;BA.debugLine="Return mLength"; -if (true) return _mlength; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -return 0; -} -public int _indexof(byte[] _searchfor) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Public Sub IndexOf(SearchFor() As Byte) As Int"; - //BA.debugLineNum = 108;BA.debugLine="Return IndexOf2(SearchFor, 0)"; -if (true) return _indexof2(_searchfor,(int) (0)); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return 0; -} -public int _indexof2(byte[] _searchfor,int _index) throws Exception{ -int _i1 = 0; -int _i2 = 0; - //BA.debugLineNum = 112;BA.debugLine="Public Sub IndexOf2(SearchFor() As Byte, Index As"; - //BA.debugLineNum = 113;BA.debugLine="For i1 = Index To mLength - SearchFor.Length"; -{ -final int step1 = 1; -final int limit1 = (int) (_mlength-_searchfor.length); -_i1 = _index ; -for (;_i1 <= limit1 ;_i1 = _i1 + step1 ) { - //BA.debugLineNum = 114;BA.debugLine="For i2 = 0 To SearchFor.Length - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_searchfor.length-1); -_i2 = (int) (0) ; -for (;_i2 <= limit2 ;_i2 = _i2 + step2 ) { - //BA.debugLineNum = 115;BA.debugLine="If SearchFor(i2) <> mBuffer(i1 + i2) Then"; -if (_searchfor[_i2]!=_mbuffer[(int) (_i1+_i2)]) { - //BA.debugLineNum = 116;BA.debugLine="Exit"; -if (true) break; - }; - } -}; - //BA.debugLineNum = 119;BA.debugLine="If i2 = SearchFor.Length Then"; -if (_i2==_searchfor.length) { - //BA.debugLineNum = 120;BA.debugLine="Return i1"; -if (true) return _i1; - }; - } -}; - //BA.debugLineNum = 123;BA.debugLine="Return -1"; -if (true) return (int) (-1); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="Dim mBuffer(100) As Byte"; -_mbuffer = new byte[(int) (100)]; -; - //BA.debugLineNum = 8;BA.debugLine="mLength = 0"; -_mlength = (int) (0); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public String _insert(int _index,byte[] _data) throws Exception{ -byte[] _afterindex = null; - //BA.debugLineNum = 43;BA.debugLine="Public Sub Insert(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 44;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 45;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("94849666","Index too large",0);}; - //BA.debugLineNum = 46;BA.debugLine="Append(Data)"; -_append(_data); - }else { - //BA.debugLineNum = 48;BA.debugLine="Dim AfterIndex() As Byte = SubArray(Index)"; -_afterindex = _subarray(_index); - //BA.debugLineNum = 49;BA.debugLine="ChangeLength(mLength + Data.Length)"; -_changelength((int) (_mlength+_data.length)); - //BA.debugLineNum = 50;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - //BA.debugLineNum = 51;BA.debugLine="Bit.ArrayCopy(AfterIndex, 0, mBuffer, Index + Da"; -__c.Bit.ArrayCopy((Object)(_afterindex),(int) (0),(Object)(_mbuffer),(int) (_index+_data.length),_afterindex.length); - }; - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public byte[] _remove(int _beginindex,int _endindex) throws Exception{ -byte[] _res = null; -byte[] _afterendindex = null; - //BA.debugLineNum = 69;BA.debugLine="Public Sub Remove(BeginIndex As Int, EndIndex As I"; - //BA.debugLineNum = 70;BA.debugLine="Dim res() As Byte = SubArray2(BeginIndex, EndInde"; -_res = _subarray2(_beginindex,_endindex); - //BA.debugLineNum = 71;BA.debugLine="If EndIndex <= mLength Then"; -if (_endindex<=_mlength) { - //BA.debugLineNum = 72;BA.debugLine="Dim AfterEndIndex() As Byte = SubArray(EndIndex)"; -_afterendindex = _subarray(_endindex); - //BA.debugLineNum = 73;BA.debugLine="Bit.ArrayCopy(AfterEndIndex, 0, mBuffer, BeginIn"; -__c.Bit.ArrayCopy((Object)(_afterendindex),(int) (0),(Object)(_mbuffer),_beginindex,_afterendindex.length); - }; - //BA.debugLineNum = 75;BA.debugLine="ChangeLength(mLength - (EndIndex - BeginIndex))"; -_changelength((int) (_mlength-(_endindex-_beginindex))); - //BA.debugLineNum = 76;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 77;BA.debugLine="End Sub"; -return null; -} -public String _set(int _index,byte[] _data) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Set(Index As Int, Data() As Byte)"; - //BA.debugLineNum = 57;BA.debugLine="If Index >= mLength Then"; -if (_index>=_mlength) { - //BA.debugLineNum = 58;BA.debugLine="If Index > mLength Then Log(\"Index too large\")"; -if (_index>_mlength) { -__c.LogImpl("94915202","Index too large",0);}; - //BA.debugLineNum = 59;BA.debugLine="Append(Data)"; -_append(_data); - }else { - //BA.debugLineNum = 61;BA.debugLine="If Data.Length + Index > mLength Then"; -if (_data.length+_index>_mlength) { - //BA.debugLineNum = 62;BA.debugLine="ChangeLength(Data.Length + Index)"; -_changelength((int) (_data.length+_index)); - }; - //BA.debugLineNum = 64;BA.debugLine="Bit.ArrayCopy(Data, 0, mBuffer, Index, Data.Leng"; -__c.Bit.ArrayCopy((Object)(_data),(int) (0),(Object)(_mbuffer),_index,_data.length); - }; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public byte[] _subarray(int _beginindex) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub SubArray(BeginIndex As Int) As Byte()"; - //BA.debugLineNum = 81;BA.debugLine="Return SubArray2(BeginIndex, mLength)"; -if (true) return _subarray2(_beginindex,_mlength); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public byte[] _subarray2(int _beginindex,int _endindex) throws Exception{ -byte[] _b = null; - //BA.debugLineNum = 86;BA.debugLine="Public Sub SubArray2(BeginIndex As Int, EndIndex A"; - //BA.debugLineNum = 87;BA.debugLine="Dim b(EndIndex - BeginIndex) As Byte"; -_b = new byte[(int) (_endindex-_beginindex)]; -; - //BA.debugLineNum = 88;BA.debugLine="Bit.ArrayCopy(mBuffer, BeginIndex, b, 0, b.Length"; -__c.Bit.ArrayCopy((Object)(_mbuffer),_beginindex,(Object)(_b),(int) (0),_b.length); - //BA.debugLineNum = 89;BA.debugLine="Return b"; -if (true) return _b; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; -return null; -} -public byte[] _toarray() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub ToArray() As Byte()"; - //BA.debugLineNum = 98;BA.debugLine="Return SubArray(0)"; -if (true) return _subarray((int) (0)); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xcache.java b/B4A/Objects/src/adm/keymon/com/mx/b4xcache.java deleted file mode 100644 index 16202a7..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xcache.java +++ /dev/null @@ -1,273 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xcache extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xcache"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xcache.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public adm.keymon.com.mx.b4xorderedmap _data = null; -public int _mmaxsize = 0; -public float _removethreshold = 0f; -public int _eternalcounts = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _b4xcacheitem{ -public boolean IsInitialized; -public Object Value; -public long LastAccessedTime; -public String Key; -public boolean Eternal; -public void Initialize() { -IsInitialized = true; -Value = new Object(); -LastAccessedTime = 0L; -Key = ""; -Eternal = false; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XCacheItem (Value As Object, LastAccessedT"; -; - //BA.debugLineNum = 3;BA.debugLine="Private Data As B4XOrderedMap"; -_data = new adm.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 4;BA.debugLine="Private mMaxSize As Int = 100"; -_mmaxsize = (int) (100); - //BA.debugLineNum = 5;BA.debugLine="Private RemoveThreshold As Float = 0.3"; -_removethreshold = (float) (0.3); - //BA.debugLineNum = 6;BA.debugLine="Private EternalCounts As Int"; -_eternalcounts = 0; - //BA.debugLineNum = 7;BA.debugLine="End Sub"; -return ""; -} -public boolean _containskey(String _key) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub ContainsKey(Key As String) As Boolean"; - //BA.debugLineNum = 67;BA.debugLine="Return Data.ContainsKey(Key)"; -if (true) return _data._containskey /*boolean*/ ((Object)(_key)); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return false; -} -public adm.keymon.com.mx.b4xcache._b4xcacheitem _createb4xcacheitem(Object _value,String _key) throws Exception{ -adm.keymon.com.mx.b4xcache._b4xcacheitem _t1 = null; - //BA.debugLineNum = 102;BA.debugLine="Private Sub CreateB4XCacheItem (Value As Object, K"; - //BA.debugLineNum = 103;BA.debugLine="Dim t1 As B4XCacheItem"; -_t1 = new adm.keymon.com.mx.b4xcache._b4xcacheitem(); - //BA.debugLineNum = 104;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 105;BA.debugLine="t1.Value = Value"; -_t1.Value /*Object*/ = _value; - //BA.debugLineNum = 106;BA.debugLine="t1.LastAccessedTime = DateTime.Now"; -_t1.LastAccessedTime /*long*/ = __c.DateTime.getNow(); - //BA.debugLineNum = 107;BA.debugLine="t1.Key = Key"; -_t1.Key /*String*/ = _key; - //BA.debugLineNum = 108;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return null; -} -public Object _get(String _key) throws Exception{ -adm.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Get (Key As String) As Object"; - //BA.debugLineNum = 25;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (adm.keymon.com.mx.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 26;BA.debugLine="If ci <> Null Then"; -if (_ci!= null) { - //BA.debugLineNum = 27;BA.debugLine="If ci.Eternal = False Then ci.LastAccessedTime ="; -if (_ci.Eternal /*boolean*/ ==__c.False) { -_ci.LastAccessedTime /*long*/ = __c.DateTime.getNow();}; - //BA.debugLineNum = 28;BA.debugLine="Return ci.Value"; -if (true) return _ci.Value /*Object*/ ; - }; - //BA.debugLineNum = 30;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return null; -} -public int _getmaxsize() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub getMaxSize As Int"; - //BA.debugLineNum = 20;BA.debugLine="Return mMaxSize"; -if (true) return _mmaxsize; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 10;BA.debugLine="Data.Initialize"; -_data._initialize /*String*/ (ba); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public boolean _iseternal(String _key) throws Exception{ -adm.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 60;BA.debugLine="Private Sub IsEternal(Key As String) As Boolean"; - //BA.debugLineNum = 61;BA.debugLine="Dim ci As B4XCacheItem = Data.Get(Key)"; -_ci = (adm.keymon.com.mx.b4xcache._b4xcacheitem)(_data._get /*Object*/ ((Object)(_key))); - //BA.debugLineNum = 62;BA.debugLine="Return IIf(ci = Null, False, ci.Eternal)"; -if (true) return BA.ObjectToBoolean(((_ci== null) ? ((Object)(__c.False)) : ((Object)(_ci.Eternal /*boolean*/ )))); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return false; -} -public anywheresoftware.b4a.objects.collections.List _keys() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub Keys As List"; - //BA.debugLineNum = 99;BA.debugLine="Return Data.Keys"; -if (true) return _data._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -return null; -} -public Object _put(String _key,Object _value) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Put (Key As String, Value As Object) As"; - //BA.debugLineNum = 36;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 37;BA.debugLine="Data.Put(Key, CreateB4XCacheItem(Value, Key))"; -_data._put /*String*/ ((Object)(_key),(Object)(_createb4xcacheitem(_value,_key))); - //BA.debugLineNum = 38;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 39;BA.debugLine="Return Value"; -if (true) return _value; - //BA.debugLineNum = 40;BA.debugLine="End Sub"; -return null; -} -public Object _puteternal(String _key,Object _value) throws Exception{ -adm.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 44;BA.debugLine="Public Sub PutEternal (Key As String, Value As Obj"; - //BA.debugLineNum = 45;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 46;BA.debugLine="Dim ci As B4XCacheItem = CreateB4XCacheItem(Value"; -_ci = _createb4xcacheitem(_value,_key); - //BA.debugLineNum = 47;BA.debugLine="ci.Eternal = True"; -_ci.Eternal /*boolean*/ = __c.True; - //BA.debugLineNum = 48;BA.debugLine="ci.LastAccessedTime = 9223372036854775807"; -_ci.LastAccessedTime /*long*/ = (long) (9223372036854775807L); - //BA.debugLineNum = 49;BA.debugLine="EternalCounts = EternalCounts + 1"; -_eternalcounts = (int) (_eternalcounts+1); - //BA.debugLineNum = 50;BA.debugLine="Data.Put(Key, ci)"; -_data._put /*String*/ ((Object)(_key),(Object)(_ci)); - //BA.debugLineNum = 51;BA.debugLine="Return Value"; -if (true) return _value; - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return null; -} -public String _remove(String _key) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Public Sub Remove (Key As String)"; - //BA.debugLineNum = 56;BA.debugLine="If IsEternal(Key) Then EternalCounts = EternalCou"; -if (_iseternal(_key)) { -_eternalcounts = (int) (_eternalcounts-1);}; - //BA.debugLineNum = 57;BA.debugLine="Data.Remove(Key)"; -_data._remove /*String*/ ((Object)(_key)); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -public String _removeolditems(long _agems) throws Exception{ -anywheresoftware.b4a.objects.collections.List _values = null; -long _level = 0L; -adm.keymon.com.mx.b4xcache._b4xcacheitem _ci = null; - //BA.debugLineNum = 82;BA.debugLine="Public Sub RemoveOldItems (AgeMs As Long)"; - //BA.debugLineNum = 83;BA.debugLine="Dim values As List = Data.Values"; -_values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 84;BA.debugLine="Dim level As Long = DateTime.Now - AgeMs"; -_level = (long) (__c.DateTime.getNow()-_agems); - //BA.debugLineNum = 85;BA.debugLine="For Each ci As B4XCacheItem In values"; -{ -final anywheresoftware.b4a.BA.IterableList group3 = _values; -final int groupLen3 = group3.getSize() -;int index3 = 0; -; -for (; index3 < groupLen3;index3++){ -_ci = (adm.keymon.com.mx.b4xcache._b4xcacheitem)(group3.Get(index3)); - //BA.debugLineNum = 86;BA.debugLine="If ci.LastAccessedTime <= level Then"; -if (_ci.LastAccessedTime /*long*/ <=_level) { - //BA.debugLineNum = 87;BA.debugLine="Data.Remove(ci.Key)"; -_data._remove /*String*/ ((Object)(_ci.Key /*String*/ )); - }; - } -}; - //BA.debugLineNum = 90;BA.debugLine="End Sub"; -return ""; -} -public String _setmaxsize(int _s) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub setMaxSize(s As Int)"; - //BA.debugLineNum = 15;BA.debugLine="mMaxSize = s"; -_mmaxsize = _s; - //BA.debugLineNum = 16;BA.debugLine="TrimIfOversize"; -_trimifoversize(); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public int _size() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub Size As Int"; - //BA.debugLineNum = 94;BA.debugLine="Return Data.Size"; -if (true) return _data._getsize /*int*/ (); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return 0; -} -public String _trimifoversize() throws Exception{ -anywheresoftware.b4a.objects.collections.List _values = null; -int _numberofitemstoremove = 0; -int _i = 0; - //BA.debugLineNum = 70;BA.debugLine="Private Sub TrimIfOversize"; - //BA.debugLineNum = 71;BA.debugLine="If Data.Size - EternalCounts > mMaxSize Then"; -if (_data._getsize /*int*/ ()-_eternalcounts>_mmaxsize) { - //BA.debugLineNum = 72;BA.debugLine="Dim values As List = Data.Values"; -_values = new anywheresoftware.b4a.objects.collections.List(); -_values = _data._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 73;BA.debugLine="values.SortType(\"LastAccessedTime\", True)"; -_values.SortType("LastAccessedTime",__c.True); - //BA.debugLineNum = 74;BA.debugLine="Dim NumberOfItemsToRemove As Int = Ceil(mMaxSize"; -_numberofitemstoremove = (int) (__c.Ceil(_mmaxsize*_removethreshold)); - //BA.debugLineNum = 75;BA.debugLine="For i = 0 To NumberOfItemsToRemove"; -{ -final int step5 = 1; -final int limit5 = _numberofitemstoremove; -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 76;BA.debugLine="Data.Remove(values.Get(i).As(B4XCacheItem).Key)"; -_data._remove /*String*/ ((Object)(((adm.keymon.com.mx.b4xcache._b4xcacheitem)(_values.Get(_i))).Key /*String*/ )); - } -}; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xcollections.java b/B4A/Objects/src/adm/keymon/com/mx/b4xcollections.java deleted file mode 100644 index 71f2f52..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xcollections.java +++ /dev/null @@ -1,112 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xcollections { -private static b4xcollections mostCurrent = new b4xcollections(); -public static Object getObject() { - throw new RuntimeException("Code module does not support this method."); -} - public anywheresoftware.b4a.keywords.Common __c = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static adm.keymon.com.mx.b4xbitset _createbitset(anywheresoftware.b4a.BA _ba,int _size) throws Exception{ -adm.keymon.com.mx.b4xbitset _s = null; - //BA.debugLineNum = 52;BA.debugLine="Public Sub CreateBitSet (Size As Int) As B4XBitSet"; - //BA.debugLineNum = 53;BA.debugLine="Dim s As B4XBitSet"; -_s = new adm.keymon.com.mx.b4xbitset(); - //BA.debugLineNum = 54;BA.debugLine="s.Initialize(Size)"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA),_size); - //BA.debugLineNum = 55;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return null; -} -public static adm.keymon.com.mx.b4xorderedmap _createorderedmap(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub CreateOrderedMap As B4XOrderedMap"; - //BA.debugLineNum = 31;BA.debugLine="Return CreateOrderedMap2(Null, Null)"; -if (true) return _createorderedmap2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null)),(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return null; -} -public static adm.keymon.com.mx.b4xorderedmap _createorderedmap2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _keys,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ -adm.keymon.com.mx.b4xorderedmap _m = null; -int _i = 0; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CreateOrderedMap2 (Keys As List, Values"; - //BA.debugLineNum = 39;BA.debugLine="Dim m As B4XOrderedMap"; -_m = new adm.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 40;BA.debugLine="m.Initialize"; -_m._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 41;BA.debugLine="If Keys <> Null And Values <> Null And Keys.IsIni"; -if (_keys!= null && _values!= null && _keys.IsInitialized() && _values.IsInitialized()) { - //BA.debugLineNum = 42;BA.debugLine="For i = 0 To Keys.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_keys.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 43;BA.debugLine="m.Put(Keys.Get(i), Values.Get(i))"; -_m._put /*String*/ (_keys.Get(_i),_values.Get(_i)); - } -}; - }; - //BA.debugLineNum = 46;BA.debugLine="Return m"; -if (true) return _m; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return null; -} -public static adm.keymon.com.mx.b4xset _createset(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub CreateSet As B4XSet"; - //BA.debugLineNum = 10;BA.debugLine="Return CreateSet2(Null)"; -if (true) return _createset2(_ba,(anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(anywheresoftware.b4a.keywords.Common.Null))); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return null; -} -public static adm.keymon.com.mx.b4xset _createset2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.List _values) throws Exception{ -adm.keymon.com.mx.b4xset _s = null; -Object _v = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub CreateSet2 (Values As List) As B4XSet"; - //BA.debugLineNum = 17;BA.debugLine="Dim s As B4XSet"; -_s = new adm.keymon.com.mx.b4xset(); - //BA.debugLineNum = 18;BA.debugLine="s.Initialize"; -_s._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 19;BA.debugLine="If Values <> Null And Values.IsInitialized Then"; -if (_values!= null && _values.IsInitialized()) { - //BA.debugLineNum = 20;BA.debugLine="For Each v As Object In Values"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _values; -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_v = group4.Get(index4); - //BA.debugLineNum = 21;BA.debugLine="s.Add(v)"; -_s._add /*String*/ (_v); - } -}; - }; - //BA.debugLineNum = 24;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xcolortemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xcolortemplate.java deleted file mode 100644 index c30c996..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xcolortemplate.java +++ /dev/null @@ -1,704 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xcolortemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xcolortemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xcolortemplate.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.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public int _selectedalpha = 0; -public b4a.example.bitmapcreator _bccolors = null; -public float _selectedh = 0f; -public float _selecteds = 0f; -public float _selectedv = 0f; -public float _devicescale = 0f; -public float _colorscale = 0f; -public b4a.example.bitmapcreator _tempbc = null; -public int _dont_change = 0; -public adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _huebar = null; -public adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _colorpicker = null; -public adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _alphabar = null; -public int _borderscolor = 0; -public adm.keymon.com.mx.b4xdialog _xdialog = null; -public Object[] _initialcolor = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _colorpickerpart{ -public boolean IsInitialized; -public anywheresoftware.b4a.objects.B4XCanvas cvs; -public anywheresoftware.b4a.objects.B4XViewWrapper pnl; -public anywheresoftware.b4a.objects.B4XViewWrapper iv; -public anywheresoftware.b4a.objects.B4XCanvas checkersCanvas; -public boolean DrawCheckers; -public void Initialize() { -IsInitialized = true; -cvs = new anywheresoftware.b4a.objects.B4XCanvas(); -pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); -checkersCanvas = new anywheresoftware.b4a.objects.B4XCanvas(); -DrawCheckers = false; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _alpha_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 263;BA.debugLine="Private Sub Alpha_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 264;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { -if (true) return "";}; - //BA.debugLineNum = 265;BA.debugLine="AlphaBarSelectedChange(x)"; -_alphabarselectedchange(_x); - //BA.debugLineNum = 266;BA.debugLine="End Sub"; -return ""; -} -public String _alphabarselectedchange(float _x) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 147;BA.debugLine="Private Sub AlphaBarSelectedChange(x As Float)"; - //BA.debugLineNum = 148;BA.debugLine="SelectedAlpha = 255 * Max(0, Min(1, x / AlphaBar."; -_selectedalpha = (int) (255*__c.Max(0,__c.Min(1,_x/(double)_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 149;BA.debugLine="x = SelectedAlpha / 255 * AlphaBar.pnl.Width"; -_x = (float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()); - //BA.debugLineNum = 150;BA.debugLine="AlphaBar.cvs.ClearRect(AlphaBar.cvs.TargetRect)"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 151;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 152;BA.debugLine="r.Initialize(x - 3dip, 1dip, x + 3dip, AlphaBar.c"; -_r.Initialize((float) (_x-__c.DipToCurrent((int) (3))),(float) (__c.DipToCurrent((int) (1))),(float) (_x+__c.DipToCurrent((int) (3))),(float) (_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 153;BA.debugLine="AlphaBar.cvs.DrawRect(r, xui.Color_Black, True, 2"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_Black,__c.True,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 154;BA.debugLine="AlphaBar.cvs.Invalidate"; -_alphabar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 155;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 156;BA.debugLine="End Sub"; -return ""; -} -public String _base_resize(double _width,double _height) throws Exception{ -int _r = 0; -int _w = 0; -adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; -int _i = 0; - //BA.debugLineNum = 51;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 53;BA.debugLine="ColorScale = Max(1, Max(Width, Height) / 100 / De"; -_colorscale = (float) (__c.Max(1,__c.Max(_width,_height)/(double)100/(double)_devicescale)); - //BA.debugLineNum = 54;BA.debugLine="HueBar.pnl.SetLayoutAnimated(0, 1dip, 1dip, 30dip"; -_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (30)),(int) (_height-__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 55;BA.debugLine="Dim r As Int = HueBar.pnl.Width + HueBar.pnl.Left"; -_r = (int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()+_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getLeft()+__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 56;BA.debugLine="Dim w As Int = Width - r - 1dip"; -_w = (int) (_width-_r-__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 57;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 58;BA.debugLine="r = r - 1"; -_r = (int) (_r-1); - //BA.debugLineNum = 59;BA.debugLine="w = w + 1"; -_w = (int) (_w+1); - }; - //BA.debugLineNum = 61;BA.debugLine="AlphaBar.pnl.SetLayoutAnimated(0, r, Height - 31d"; -_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,(int) (_height-__c.DipToCurrent((int) (31))),_w,__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 62;BA.debugLine="ColorPicker.pnl.SetLayoutAnimated(0, r, 1dip, w,"; -_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),_r,__c.DipToCurrent((int) (1)),_w,(int) (_height-__c.DipToCurrent((int) (3))-_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 63;BA.debugLine="bcColors.Initialize(ColorPicker.pnl.Width / Color"; -_bccolors._initialize(ba,(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_colorscale),(int) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_colorscale)); - //BA.debugLineNum = 64;BA.debugLine="For Each cpp As ColorPickerPart In Array(HueBar,"; -{ -final Object[] group12 = new Object[]{(Object)(_huebar),(Object)(_colorpicker),(Object)(_alphabar)}; -final int groupLen12 = group12.length -;int index12 = 0; -; -for (; index12 < groupLen12;index12++){ -_cpp = (adm.keymon.com.mx.b4xcolortemplate._colorpickerpart)(group12[index12]); - //BA.debugLineNum = 65;BA.debugLine="For i = 0 To cpp.pnl.NumberOfViews - 1"; -{ -final int step13 = 1; -final int limit13 = (int) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1); -_i = (int) (0) ; -for (;_i <= limit13 ;_i = _i + step13 ) { - //BA.debugLineNum = 66;BA.debugLine="cpp.pnl.GetView(i).SetLayoutAnimated(0, 0, 0, c"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i).SetLayoutAnimated((int) (0),(int) (0),(int) (0),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()); - } -}; - //BA.debugLineNum = 68;BA.debugLine="cpp.cvs.Resize(cpp.pnl.Width, cpp.pnl.Height)"; -_cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 69;BA.debugLine="If cpp.DrawCheckers Then"; -if (_cpp.DrawCheckers /*boolean*/ ) { - //BA.debugLineNum = 70;BA.debugLine="DrawCheckers(cpp)"; -_drawcheckers(_cpp); - }; - } -}; - //BA.debugLineNum = 73;BA.debugLine="DrawHueBar"; -_drawhuebar(); - //BA.debugLineNum = 74;BA.debugLine="DrawAlphaBar"; -_drawalphabar(); - //BA.debugLineNum = 75;BA.debugLine="HueBarSelectedChanged (selectedH / 360 * HueBar.p"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 76;BA.debugLine="AlphaBarSelectedChange (SelectedAlpha / 255 * Alp"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private SelectedAlpha As Int = 255"; -_selectedalpha = (int) (255); - //BA.debugLineNum = 5;BA.debugLine="Private bcColors As BitmapCreator"; -_bccolors = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 6;BA.debugLine="Private selectedH = 60, selectedS = 0.5, selected"; -_selectedh = (float) (60); -_selecteds = (float) (0.5); -_selectedv = (float) (0.5); - //BA.debugLineNum = 7;BA.debugLine="Private DeviceScale, ColorScale As Float"; -_devicescale = 0f; -_colorscale = 0f; - //BA.debugLineNum = 8;BA.debugLine="Private tempBC As BitmapCreator"; -_tempbc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 9;BA.debugLine="Private const DONT_CHANGE As Int = -999999999"; -_dont_change = (int) (-999999999); - //BA.debugLineNum = 10;BA.debugLine="Type ColorPickerPart (cvs As B4XCanvas, pnl As B4"; -; - //BA.debugLineNum = 11;BA.debugLine="Private HueBar, ColorPicker, AlphaBar As ColorPic"; -_huebar = new adm.keymon.com.mx.b4xcolortemplate._colorpickerpart(); -_colorpicker = new adm.keymon.com.mx.b4xcolortemplate._colorpickerpart(); -_alphabar = new adm.keymon.com.mx.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 12;BA.debugLine="Private BordersColor As Int"; -_borderscolor = 0; - //BA.debugLineNum = 13;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new adm.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 14;BA.debugLine="Private InitialColor() As Object"; -_initialcolor = new Object[(int) (0)]; -{ -int d0 = _initialcolor.length; -for (int i0 = 0;i0 < d0;i0++) { -_initialcolor[i0] = new Object(); -} -} -; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public String _colors_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Colors_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 254;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { -if (true) return "";}; - //BA.debugLineNum = 255;BA.debugLine="HandleSelectedColorChanged(X, Y)"; -_handleselectedcolorchanged((int) (_x),(int) (_y)); - //BA.debugLineNum = 256;BA.debugLine="End Sub"; -return ""; -} -public Object[] _colortohsv(int _clr) throws Exception{ -int _a = 0; -int _r = 0; -int _g = 0; -int _b = 0; -float _h = 0f; -float _s = 0f; -float _v = 0f; -int _cmax = 0; -int _cmin = 0; -float _rc = 0f; -float _gc = 0f; -float _bc = 0f; - //BA.debugLineNum = 199;BA.debugLine="Public Sub ColorToHSV(clr As Int) As Object()"; - //BA.debugLineNum = 200;BA.debugLine="Dim a As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; -_a = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (24))); - //BA.debugLineNum = 201;BA.debugLine="Dim r As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; -_r = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (16))); - //BA.debugLineNum = 202;BA.debugLine="Dim g As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; -_g = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (8))); - //BA.debugLineNum = 203;BA.debugLine="Dim b As Int = Bit.And(0xff, Bit.UnsignedShiftRig"; -_b = __c.Bit.And(((int)0xff),__c.Bit.UnsignedShiftRight(_clr,(int) (0))); - //BA.debugLineNum = 204;BA.debugLine="Dim h, s, v As Float"; -_h = 0f; -_s = 0f; -_v = 0f; - //BA.debugLineNum = 205;BA.debugLine="Dim cmax As Int = Max(Max(r, g), b)"; -_cmax = (int) (__c.Max(__c.Max(_r,_g),_b)); - //BA.debugLineNum = 206;BA.debugLine="Dim cmin As Int = Min(Min(r, g), b)"; -_cmin = (int) (__c.Min(__c.Min(_r,_g),_b)); - //BA.debugLineNum = 207;BA.debugLine="v = cmax / 255"; -_v = (float) (_cmax/(double)255); - //BA.debugLineNum = 208;BA.debugLine="If cmax <> 0 Then"; -if (_cmax!=0) { - //BA.debugLineNum = 209;BA.debugLine="s = (cmax - cmin) / cmax"; -_s = (float) ((_cmax-_cmin)/(double)_cmax); - }; - //BA.debugLineNum = 211;BA.debugLine="If s = 0 Then"; -if (_s==0) { - //BA.debugLineNum = 212;BA.debugLine="h = 0"; -_h = (float) (0); - }else { - //BA.debugLineNum = 214;BA.debugLine="Dim rc As Float = (cmax - r) / (cmax - cmin)"; -_rc = (float) ((_cmax-_r)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 215;BA.debugLine="Dim gc As Float = (cmax - g) / (cmax - cmin)"; -_gc = (float) ((_cmax-_g)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 216;BA.debugLine="Dim bc As Float = (cmax - b) / (cmax - cmin)"; -_bc = (float) ((_cmax-_b)/(double)(_cmax-_cmin)); - //BA.debugLineNum = 217;BA.debugLine="If r = cmax Then"; -if (_r==_cmax) { - //BA.debugLineNum = 218;BA.debugLine="h = bc - gc"; -_h = (float) (_bc-_gc); - }else if(_g==_cmax) { - //BA.debugLineNum = 220;BA.debugLine="h = 2 + rc - bc"; -_h = (float) (2+_rc-_bc); - }else { - //BA.debugLineNum = 222;BA.debugLine="h = 4 + gc - rc"; -_h = (float) (4+_gc-_rc); - }; - //BA.debugLineNum = 224;BA.debugLine="h = h / 6"; -_h = (float) (_h/(double)6); - //BA.debugLineNum = 225;BA.debugLine="If h < 0 Then h = h + 1"; -if (_h<0) { -_h = (float) (_h+1);}; - }; - //BA.debugLineNum = 227;BA.debugLine="Return Array (h * 360, s, v, a)"; -if (true) return new Object[]{(Object)(_h*360),(Object)(_s),(Object)(_v),(Object)(_a)}; - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _createpanelforbitmapcreator(String _eventname,boolean _withcheckers) throws Exception{ -adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp = null; -anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; -anywheresoftware.b4a.objects.B4XViewWrapper _overlay = null; - //BA.debugLineNum = 30;BA.debugLine="Private Sub CreatePanelForBitmapCreator (EventName"; - //BA.debugLineNum = 31;BA.debugLine="Dim cpp As ColorPickerPart"; -_cpp = new adm.keymon.com.mx.b4xcolortemplate._colorpickerpart(); - //BA.debugLineNum = 32;BA.debugLine="cpp.Initialize"; -_cpp.Initialize(); - //BA.debugLineNum = 33;BA.debugLine="cpp.pnl = xui.CreatePanel(\"\")"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 34;BA.debugLine="cpp.pnl.SetColorAndBorder(BordersColor, 1dip, Bor"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,(int) (0)); - //BA.debugLineNum = 35;BA.debugLine="cpp.pnl.SetLayoutAnimated(0, 1dip, 1dip, 1dip, 1d"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 36;BA.debugLine="If WithCheckers Then"; -if (_withcheckers) { - //BA.debugLineNum = 37;BA.debugLine="cpp.checkersCanvas.Initialize(cpp.pnl)"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ); - //BA.debugLineNum = 38;BA.debugLine="cpp.DrawCheckers = True"; -_cpp.DrawCheckers /*boolean*/ = __c.True; - }; - //BA.debugLineNum = 40;BA.debugLine="Dim iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 41;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 42;BA.debugLine="cpp.iv = iv"; -_cpp.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 43;BA.debugLine="Dim overlay As B4XView = xui.CreatePanel(EventNam"; -_overlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_overlay = _xui.CreatePanel(ba,_eventname); - //BA.debugLineNum = 44;BA.debugLine="cpp.pnl.AddView(iv, 0, 0, 0, 0)"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 45;BA.debugLine="cpp.pnl.AddView(overlay, 1dip, 1dip, 1dip, 1dip)"; -_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_overlay.getObject()),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1)),__c.DipToCurrent((int) (1))); - //BA.debugLineNum = 46;BA.debugLine="cpp.cvs.Initialize(overlay)"; -_cpp.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Initialize(_overlay); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(cpp.pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="Return cpp"; -if (true) return _cpp; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return null; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 242;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 243;BA.debugLine="setSelectedHSVColor(InitialColor)"; -_setselectedhsvcolor(_initialcolor); - }; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -return ""; -} -public String _drawalphabar() throws Exception{ -b4a.example.bitmapcreator _bc = null; -b4a.example.bitmapcreator._argbcolor _argb = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 109;BA.debugLine="Private Sub DrawAlphaBar"; - //BA.debugLineNum = 110;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 111;BA.debugLine="bc.Initialize(AlphaBar.pnl.Width / DeviceScale, A"; -_bc._initialize(ba,(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 112;BA.debugLine="Dim argb As ARGBColor"; -_argb = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 113;BA.debugLine="argb.r = 0xcc"; -_argb.r = ((int)0xcc); - //BA.debugLineNum = 114;BA.debugLine="argb.g = 0xcc"; -_argb.g = ((int)0xcc); - //BA.debugLineNum = 115;BA.debugLine="argb.b = 0xcc"; -_argb.b = ((int)0xcc); - //BA.debugLineNum = 117;BA.debugLine="For y = 0 To bc.mHeight - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_bc._mheight-1); -_y = (int) (0) ; -for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 118;BA.debugLine="For x = 0 To bc.mWidth - 1"; -{ -final int step8 = 1; -final int limit8 = (int) (_bc._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit8 ;_x = _x + step8 ) { - //BA.debugLineNum = 119;BA.debugLine="argb.a = x / bc.mWidth * 255"; -_argb.a = (int) (_x/(double)_bc._mwidth*255); - //BA.debugLineNum = 120;BA.debugLine="bc.SetARGB(x, y, argb)"; -_bc._setargb(_x,_y,_argb); - } -}; - } -}; - //BA.debugLineNum = 123;BA.debugLine="AlphaBar.iv.SetBitmap(bc.Bitmap)"; -_alphabar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bc._getbitmap().getObject())); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return ""; -} -public String _drawcheckers(adm.keymon.com.mx.b4xcolortemplate._colorpickerpart _cpp) throws Exception{ -int _size = 0; -int[] _clrs = null; -int _clr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _x = 0; -int _xx = 0; -int _y = 0; - //BA.debugLineNum = 79;BA.debugLine="Private Sub DrawCheckers (cpp As ColorPickerPart)"; - //BA.debugLineNum = 80;BA.debugLine="cpp.checkersCanvas.Resize(cpp.pnl.Width, cpp.pnl."; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Resize((float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_cpp.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 81;BA.debugLine="cpp.checkersCanvas.ClearRect(cpp.checkersCanvas.T"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 82;BA.debugLine="Dim size As Int = 10dip"; -_size = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 83;BA.debugLine="Dim clrs() As Int = Array As Int(0xFFC0C0C0, 0xFF"; -_clrs = new int[]{((int)0xffc0c0c0),((int)0xff757575)}; - //BA.debugLineNum = 84;BA.debugLine="Dim clr As Int = 0"; -_clr = (int) (0); - //BA.debugLineNum = 85;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 86;BA.debugLine="For x = 0 To cpp.checkersCanvas.TargetRect.Right"; -{ -final int step7 = _size; -final int limit7 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight()-__c.DipToCurrent((int) (1))); -_x = (int) (0) ; -for (;(step7 > 0 && _x <= limit7) || (step7 < 0 && _x >= limit7) ;_x = ((int)(0 + _x + step7)) ) { - //BA.debugLineNum = 87;BA.debugLine="Dim xx As Int = x / size"; -_xx = (int) (_x/(double)_size); - //BA.debugLineNum = 88;BA.debugLine="clr = xx Mod 2"; -_clr = (int) (_xx%2); - //BA.debugLineNum = 89;BA.debugLine="For y = 0 To cpp.checkersCanvas.TargetRect.Botto"; -{ -final int step10 = _size; -final int limit10 = (int) (_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getBottom()-__c.DipToCurrent((int) (1))); -_y = (int) (0) ; -for (;(step10 > 0 && _y <= limit10) || (step10 < 0 && _y >= limit10) ;_y = ((int)(0 + _y + step10)) ) { - //BA.debugLineNum = 90;BA.debugLine="clr = (clr + 1) Mod 2"; -_clr = (int) ((_clr+1)%2); - //BA.debugLineNum = 91;BA.debugLine="r.Initialize(x, y, x + size, y + size)"; -_r.Initialize((float) (_x),(float) (_y),(float) (_x+_size),(float) (_y+_size)); - //BA.debugLineNum = 92;BA.debugLine="cpp.checkersCanvas.DrawRect(r, clrs(clr), True,"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_clrs[_clr],__c.True,(float) (0)); - } -}; - } -}; - //BA.debugLineNum = 95;BA.debugLine="cpp.checkersCanvas.Invalidate"; -_cpp.checkersCanvas /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _drawcolors() throws Exception{ -int _x = 0; -int _y = 0; - //BA.debugLineNum = 126;BA.debugLine="Private Sub DrawColors"; - //BA.debugLineNum = 127;BA.debugLine="For x = 0 To bcColors.mWidth - 1"; -{ -final int step1 = 1; -final int limit1 = (int) (_bccolors._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit1 ;_x = _x + step1 ) { - //BA.debugLineNum = 128;BA.debugLine="For y = 0 To bcColors.mHeight - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_bccolors._mheight-1); -_y = (int) (0) ; -for (;_y <= limit2 ;_y = _y + step2 ) { - //BA.debugLineNum = 129;BA.debugLine="bcColors.SetHSV(x, y, SelectedAlpha, selectedH,"; -_bccolors._sethsv(_x,_y,_selectedalpha,(int) (_selectedh),(float) (_x/(double)_bccolors._mwidth),(float) ((_bccolors._mheight-_y)/(double)_bccolors._mheight)); - } -}; - } -}; - //BA.debugLineNum = 133;BA.debugLine="ColorPicker.iv.SetBitmap(bcColors.Bitmap.Resize(C"; -_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bccolors._getbitmap().Resize(_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),_colorpicker.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight(),__c.False).getObject())); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return ""; -} -public String _drawhuebar() throws Exception{ -b4a.example.bitmapcreator _bchue = null; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 98;BA.debugLine="Private Sub DrawHueBar"; - //BA.debugLineNum = 99;BA.debugLine="Dim bcHue As BitmapCreator"; -_bchue = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 100;BA.debugLine="bcHue.Initialize(HueBar.pnl.Width / DeviceScale,"; -_bchue._initialize(ba,(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_devicescale),(int) (_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_devicescale)); - //BA.debugLineNum = 101;BA.debugLine="For y = 0 To bcHue.mHeight - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_bchue._mheight-1); -_y = (int) (0) ; -for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 102;BA.debugLine="For x = 0 To bcHue.mWidth - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_bchue._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit4 ;_x = _x + step4 ) { - //BA.debugLineNum = 103;BA.debugLine="bcHue.SetHSV(x, y, 255, 360 / bcHue.mHeight * y"; -_bchue._sethsv(_x,_y,(int) (255),(int) (360/(double)_bchue._mheight*_y),(float) (1),(float) (1)); - } -}; - } -}; - //BA.debugLineNum = 106;BA.debugLine="HueBar.iv.SetBitmap(bcHue.Bitmap)"; -_huebar.iv /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetBitmap((android.graphics.Bitmap)(_bchue._getbitmap().getObject())); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 231;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return null; -} -public int _getselectedcolor() throws Exception{ -Object[] _hsv = null; - //BA.debugLineNum = 175;BA.debugLine="Public Sub getSelectedColor As Int"; - //BA.debugLineNum = 176;BA.debugLine="Dim hsv() As Object = getSelectedHSVColor"; -_hsv = _getselectedhsvcolor(); - //BA.debugLineNum = 177;BA.debugLine="tempBC.SetHSV(0, 0, SelectedAlpha, hsv(0), hsv(1)"; -_tempbc._sethsv((int) (0),(int) (0),_selectedalpha,(int)(BA.ObjectToNumber(_hsv[(int) (0)])),(float)(BA.ObjectToNumber(_hsv[(int) (1)])),(float)(BA.ObjectToNumber(_hsv[(int) (2)]))); - //BA.debugLineNum = 178;BA.debugLine="Return tempBC.GetColor(0, 0)"; -if (true) return _tempbc._getcolor((int) (0),(int) (0)); - //BA.debugLineNum = 179;BA.debugLine="End Sub"; -return 0; -} -public Object[] _getselectedhsvcolor() throws Exception{ - //BA.debugLineNum = 186;BA.debugLine="Public Sub getSelectedHSVColor As Object()"; - //BA.debugLineNum = 187;BA.debugLine="Return Array (selectedH, selectedS, selectedV, Se"; -if (true) return new Object[]{(Object)(_selectedh),(Object)(_selecteds),(Object)(_selectedv),(Object)(_selectedalpha)}; - //BA.debugLineNum = 188;BA.debugLine="End Sub"; -return null; -} -public String _handleselectedcolorchanged(int _x,int _y) throws Exception{ - //BA.debugLineNum = 163;BA.debugLine="Private Sub HandleSelectedColorChanged (x As Int,"; - //BA.debugLineNum = 164;BA.debugLine="If x <> DONT_CHANGE Then"; -if (_x!=_dont_change) { - //BA.debugLineNum = 165;BA.debugLine="selectedS = Max(0, Min(1, x / ColorPicker.pnl.Wi"; -_selecteds = (float) (__c.Max(0,__c.Min(1,_x/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()))); - //BA.debugLineNum = 166;BA.debugLine="selectedV = Max(0, Min(1, (ColorPicker.pnl.Heigh"; -_selectedv = (float) (__c.Max(0,__c.Min(1,(_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_y)/(double)_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); - }; - //BA.debugLineNum = 168;BA.debugLine="ColorPicker.cvs.ClearRect(ColorPicker.cvs.TargetR"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 169;BA.debugLine="ColorPicker.cvs.DrawCircle(selectedS * ColorPicke"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawCircle((float) (_selecteds*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()),(float) (_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()-_selectedv*_colorpicker.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()),(float) (__c.DipToCurrent((int) (10))),_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 171;BA.debugLine="ColorPicker.cvs.Invalidate"; -_colorpicker.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 172;BA.debugLine="UpdateBarColor"; -_updatebarcolor(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public String _huebar_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub HueBar_Touch (Action As Int, X As Floa"; - //BA.debugLineNum = 259;BA.debugLine="If Action = mBase.TOUCH_ACTION_MOVE_NOTOUCH Then"; -if (_action==_mbase.TOUCH_ACTION_MOVE_NOTOUCH) { -if (true) return "";}; - //BA.debugLineNum = 260;BA.debugLine="HueBarSelectedChanged(Y)"; -_huebarselectedchanged(_y); - //BA.debugLineNum = 261;BA.debugLine="End Sub"; -return ""; -} -public String _huebarselectedchanged(float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 136;BA.debugLine="Private Sub HueBarSelectedChanged (y As Float)"; - //BA.debugLineNum = 137;BA.debugLine="selectedH = Max(0, Min(360, 360 * y / HueBar.pnl."; -_selectedh = (float) (__c.Max(0,__c.Min(360,360*_y/(double)_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()))); - //BA.debugLineNum = 138;BA.debugLine="y = selectedH * HueBar.pnl.Height / 360"; -_y = (float) (_selectedh*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)360); - //BA.debugLineNum = 139;BA.debugLine="HueBar.cvs.ClearRect(HueBar.cvs.TargetRect)"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .ClearRect(_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect()); - //BA.debugLineNum = 140;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 141;BA.debugLine="r.Initialize(0, y - 3dip, HueBar.cvs.TargetRect.R"; -_r.Initialize((float) (0),(float) (_y-__c.DipToCurrent((int) (3))),_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .getTargetRect().getRight(),(float) (_y+__c.DipToCurrent((int) (3)))); - //BA.debugLineNum = 142;BA.debugLine="HueBar.cvs.DrawRect(r, xui.Color_White, False, 2d"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .DrawRect(_r,_xui.Color_White,__c.False,(float) (__c.DipToCurrent((int) (2)))); - //BA.debugLineNum = 143;BA.debugLine="HueBar.cvs.Invalidate"; -_huebar.cvs /*anywheresoftware.b4a.objects.B4XCanvas*/ .Invalidate(); - //BA.debugLineNum = 144;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 17;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 18;BA.debugLine="tempBC.Initialize(1, 1)"; -_tempbc._initialize(ba,(int) (1),(int) (1)); - //BA.debugLineNum = 19;BA.debugLine="DeviceScale = 100dip / 100"; -_devicescale = (float) (__c.DipToCurrent((int) (100))/(double)100); - //BA.debugLineNum = 20;BA.debugLine="mBase = xui.CreatePanel(\"\")"; -_mbase = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 21;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 250dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (250))); - //BA.debugLineNum = 22;BA.debugLine="BordersColor = xui.Color_Black"; -_borderscolor = _xui.Color_Black; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetColorAndBorder(BordersColor, 1dip, Borde"; -_mbase.SetColorAndBorder(_borderscolor,__c.DipToCurrent((int) (1)),_borderscolor,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 24;BA.debugLine="HueBar = CreatePanelForBitmapCreator(\"hueBar\", Fa"; -_huebar = _createpanelforbitmapcreator("hueBar",__c.False); - //BA.debugLineNum = 25;BA.debugLine="ColorPicker = CreatePanelForBitmapCreator(\"colors"; -_colorpicker = _createpanelforbitmapcreator("colors",__c.True); - //BA.debugLineNum = 26;BA.debugLine="AlphaBar = CreatePanelForBitmapCreator(\"alpha\", T"; -_alphabar = _createpanelforbitmapcreator("alpha",__c.True); - //BA.debugLineNum = 27;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public String _setselectedcolor(int _i) throws Exception{ - //BA.debugLineNum = 181;BA.debugLine="Public Sub setSelectedColor(i As Int)"; - //BA.debugLineNum = 182;BA.debugLine="setSelectedHSVColor(ColorToHSV(i))"; -_setselectedhsvcolor(_colortohsv(_i)); - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return ""; -} -public String _setselectedhsvcolor(Object[] _hsv) throws Exception{ - //BA.debugLineNum = 190;BA.debugLine="Public Sub setSelectedHSVColor (HSV() As Object)"; - //BA.debugLineNum = 191;BA.debugLine="selectedH = HSV(0)"; -_selectedh = (float)(BA.ObjectToNumber(_hsv[(int) (0)])); - //BA.debugLineNum = 192;BA.debugLine="selectedS = HSV(1)"; -_selecteds = (float)(BA.ObjectToNumber(_hsv[(int) (1)])); - //BA.debugLineNum = 193;BA.debugLine="selectedV = HSV(2)"; -_selectedv = (float)(BA.ObjectToNumber(_hsv[(int) (2)])); - //BA.debugLineNum = 194;BA.debugLine="SelectedAlpha = HSV(3)"; -_selectedalpha = (int)(BA.ObjectToNumber(_hsv[(int) (3)])); - //BA.debugLineNum = 195;BA.debugLine="HueBarSelectedChanged(selectedH / 360 * HueBar.pn"; -_huebarselectedchanged((float) (_selectedh/(double)360*_huebar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight())); - //BA.debugLineNum = 196;BA.debugLine="AlphaBarSelectedChange(SelectedAlpha / 255 * Alph"; -_alphabarselectedchange((float) (_selectedalpha/(double)255*_alphabar.pnl /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth())); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xcolortemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xcolortemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; - -@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 = 235;BA.debugLine="InitialColor = getSelectedHSVColor"; -parent._initialcolor = parent._getselectedhsvcolor(); - //BA.debugLineNum = 236;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 237;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 238;BA.debugLine="UpdateBarColor"; -parent._updatebarcolor(); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _update() throws Exception{ - //BA.debugLineNum = 158;BA.debugLine="Private Sub Update"; - //BA.debugLineNum = 159;BA.debugLine="DrawColors"; -_drawcolors(); - //BA.debugLineNum = 160;BA.debugLine="HandleSelectedColorChanged(DONT_CHANGE, DONT_CHAN"; -_handleselectedcolorchanged(_dont_change,_dont_change); - //BA.debugLineNum = 161;BA.debugLine="End Sub"; -return ""; -} -public String _updatebarcolor() throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Private Sub UpdateBarColor"; - //BA.debugLineNum = 248;BA.debugLine="If xDialog.IsInitialized And xDialog.TitleBar.IsI"; -if (_xdialog.IsInitialized /*boolean*/ () && _xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 249;BA.debugLine="xDialog.TitleBar.Color = getSelectedColor"; -_xdialog._titlebar /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setColor(_getselectedcolor()); - }; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xcombobox.java b/B4A/Objects/src/adm/keymon/com/mx/b4xcombobox.java deleted file mode 100644 index cfd7115..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xcombobox.java +++ /dev/null @@ -1,318 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xcombobox extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xcombobox"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xcombobox.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public int _lastselectedindex = 0; -public anywheresoftware.b4a.objects.SpinnerWrapper _cmbbox = null; -public int _delaybeforechangeevent = 0; -public int _delayindex = 0; -public Object _tag = null; -public String _b4icancelbutton = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 55;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 56;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private LastSelectedIndex As Int"; -_lastselectedindex = 0; - //BA.debugLineNum = 11;BA.debugLine="Public cmbBox As Spinner"; -_cmbbox = new anywheresoftware.b4a.objects.SpinnerWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Public DelayBeforeChangeEvent As Int"; -_delaybeforechangeevent = 0; - //BA.debugLineNum = 19;BA.debugLine="Private DelayIndex As Int"; -_delayindex = 0; - //BA.debugLineNum = 20;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 21;BA.debugLine="Public B4iCancelButton As String = \"Cancel\""; -_b4icancelbutton = "Cancel"; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _cmbbox_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Private Sub CmbBox_ItemClick (Position As Int, Val"; - //BA.debugLineNum = 158;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="cmbBox.Initialize(\"cmbBox\")"; -_cmbbox.Initialize(ba,"cmbBox"); - //BA.debugLineNum = 43;BA.debugLine="cmbBox.TextSize = xlbl.TextSize"; -_cmbbox.setTextSize(_xlbl.getTextSize()); - //BA.debugLineNum = 44;BA.debugLine="mBase.AddView(cmbBox, 0, 0, mBase.Width, mBase.He"; -_mbase.AddView((android.view.View)(_cmbbox.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _getitem(int _index) throws Exception{ - //BA.debugLineNum = 127;BA.debugLine="Public Sub GetItem(Index As Int) As String"; - //BA.debugLineNum = 131;BA.debugLine="Return cmbBox.GetItem(Index)"; -if (true) return _cmbbox.GetItem(_index); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public int _getselectedindex() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getSelectedIndex As Int"; - //BA.debugLineNum = 100;BA.debugLine="Return cmbBox.SelectedIndex"; -if (true) return _cmbbox.getSelectedIndex(); - //BA.debugLineNum = 104;BA.debugLine="End Sub"; -return 0; -} -public String _getselecteditem() throws Exception{ -int _i = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub getSelectedItem As String"; - //BA.debugLineNum = 122;BA.debugLine="Dim i As Int = getSelectedIndex"; -_i = _getselectedindex(); - //BA.debugLineNum = 123;BA.debugLine="If i = -1 Then Return \"\""; -if (_i==-1) { -if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="Return GetItem(i)"; -if (true) return _getitem(_i); - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -return ""; -} -public int _getsize() throws Exception{ - //BA.debugLineNum = 76;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 80;BA.debugLine="Return cmbBox.Size"; -if (true) return _cmbbox.getSize(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return 0; -} -public int _indexof(String _item) throws Exception{ - //BA.debugLineNum = 87;BA.debugLine="Public Sub IndexOf(Item As String) As Int"; - //BA.debugLineNum = 91;BA.debugLine="Return cmbBox.IndexOf(Item)"; -if (true) return _cmbbox.IndexOf(_item); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 25;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 26;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 27;BA.debugLine="LastSelectedIndex = -1"; -_lastselectedindex = (int) (-1); - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4J Then DelayBeforeChangeEvent = 500"; -if (_xui.getIsB4J()) { -_delaybeforechangeevent = (int) (500);}; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public void _raiseevent() throws Exception{ -ResumableSub_RaiseEvent rsub = new ResumableSub_RaiseEvent(this); -rsub.resume(ba, null); -} -public static class ResumableSub_RaiseEvent extends BA.ResumableSub { -public ResumableSub_RaiseEvent(adm.keymon.com.mx.b4xcombobox parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xcombobox parent; -int _index = 0; -int _myindex = 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 = 138;BA.debugLine="Dim index As Int = getSelectedIndex"; -_index = parent._getselectedindex(); - //BA.debugLineNum = 139;BA.debugLine="If LastSelectedIndex = index Then Return"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent._lastselectedindex==_index) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -if (true) return ; -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 140;BA.debugLine="If DelayBeforeChangeEvent > 0 Then"; -if (true) break; - -case 7: -//if -this.state = 16; -if (parent._delaybeforechangeevent>0) { -this.state = 9; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 141;BA.debugLine="DelayIndex = DelayIndex + 1"; -parent._delayindex = (int) (parent._delayindex+1); - //BA.debugLineNum = 142;BA.debugLine="Dim MyIndex As Int = DelayIndex"; -_myindex = parent._delayindex; - //BA.debugLineNum = 143;BA.debugLine="Sleep(DelayBeforeChangeEvent)"; -parent.__c.Sleep(ba,this,parent._delaybeforechangeevent); -this.state = 21; -return; -case 21: -//C -this.state = 10; -; - //BA.debugLineNum = 144;BA.debugLine="If MyIndex <> DelayIndex Then Return"; -if (true) break; - -case 10: -//if -this.state = 15; -if (_myindex!=parent._delayindex) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -if (true) return ; -if (true) break; - -case 15: -//C -this.state = 16; -; - if (true) break; - -case 16: -//C -this.state = 17; -; - //BA.debugLineNum = 146;BA.debugLine="LastSelectedIndex = index"; -parent._lastselectedindex = _index; - //BA.debugLineNum = 147;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Select"; -if (true) break; - -case 17: -//if -this.state = 20; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(int) (1))) { -this.state = 19; -}if (true) break; - -case 19: -//C -this.state = 20; - //BA.debugLineNum = 148;BA.debugLine="CallSub2(mCallBack, mEventName & \"_SelectedIndex"; -parent.__c.CallSubNew2(ba,parent._mcallback,parent._meventname+"_SelectedIndexChanged",(Object)(_index)); - if (true) break; - -case 20: -//C -this.state = -1; -; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ - //BA.debugLineNum = 59;BA.debugLine="Public Sub SetItems(Items As List)"; - //BA.debugLineNum = 64;BA.debugLine="cmbBox.Clear"; -_cmbbox.Clear(); - //BA.debugLineNum = 65;BA.debugLine="cmbBox.AddAll(Items)"; -_cmbbox.AddAll(_items); - //BA.debugLineNum = 72;BA.debugLine="If Items.Size > 0 Then setSelectedIndex(0)"; -if (_items.getSize()>0) { -_setselectedindex((int) (0));}; - //BA.debugLineNum = 73;BA.debugLine="End Sub"; -return ""; -} -public String _setselectedindex(int _i) throws Exception{ - //BA.debugLineNum = 106;BA.debugLine="Public Sub setSelectedIndex(i As Int)"; - //BA.debugLineNum = 107;BA.debugLine="LastSelectedIndex = i"; -_lastselectedindex = _i; - //BA.debugLineNum = 109;BA.debugLine="cmbBox.SelectedIndex = i"; -_cmbbox.setSelectedIndex(_i); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xcomparatorsort.java b/B4A/Objects/src/adm/keymon/com/mx/b4xcomparatorsort.java deleted file mode 100644 index c804bea..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xcomparatorsort.java +++ /dev/null @@ -1,126 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xcomparatorsort extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xcomparatorsort"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xcomparatorsort.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 5;BA.debugLine="End Sub"; -return ""; -} -public int _partition(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,int _pivotindex,Object _comparator) throws Exception{ -Object _pivotvalue = null; -int _l = 0; -int _i = 0; - //BA.debugLineNum = 30;BA.debugLine="Private Sub Partition(Data As List, StartIndex As"; - //BA.debugLineNum = 31;BA.debugLine="Dim PivotValue As Object = Data.Get(StartIndex +"; -_pivotvalue = _data.Get((int) (_startindex+_pivotindex)); - //BA.debugLineNum = 32;BA.debugLine="Swap(Data, StartIndex, PivotIndex, Length - 1)"; -_swap(_data,_startindex,_pivotindex,(int) (_length-1)); - //BA.debugLineNum = 33;BA.debugLine="Dim L As Int = 0"; -_l = (int) (0); - //BA.debugLineNum = 34;BA.debugLine="For i = 0 To Length - 2"; -{ -final int step4 = 1; -final int limit4 = (int) (_length-2); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 35;BA.debugLine="If CallSub3(Comparator, \"Compare\", Data.Get(Star"; -if (((int)(BA.ObjectToNumber(__c.CallSubNew3(ba,_comparator,"Compare",_data.Get((int) (_startindex+_i)),_pivotvalue))))<0) { - //BA.debugLineNum = 36;BA.debugLine="L = L + 1"; -_l = (int) (_l+1); - //BA.debugLineNum = 37;BA.debugLine="Swap(Data, StartIndex, L - 1, i)"; -_swap(_data,_startindex,(int) (_l-1),_i); - }; - } -}; - //BA.debugLineNum = 40;BA.debugLine="Swap(Data, StartIndex, Length - 1, L)"; -_swap(_data,_startindex,(int) (_length-1),_l); - //BA.debugLineNum = 41;BA.debugLine="Return L"; -if (true) return _l; - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return 0; -} -public String _quicksort(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _length,Object _comparator) throws Exception{ -int _pivotindex = 0; -int _r = 0; - //BA.debugLineNum = 21;BA.debugLine="Private Sub QuickSort (Data As List, StartIndex As"; - //BA.debugLineNum = 22;BA.debugLine="If Length > 1 Then"; -if (_length>1) { - //BA.debugLineNum = 23;BA.debugLine="Dim PivotIndex As Int = Rnd(0, Length)"; -_pivotindex = __c.Rnd((int) (0),_length); - //BA.debugLineNum = 24;BA.debugLine="Dim r As Int = Partition(Data, StartIndex, Lengt"; -_r = _partition(_data,_startindex,_length,_pivotindex,_comparator); - //BA.debugLineNum = 25;BA.debugLine="QuickSort(Data, StartIndex, r, Comparator)"; -_quicksort(_data,_startindex,_r,_comparator); - //BA.debugLineNum = 26;BA.debugLine="QuickSort(Data, StartIndex + r + 1, Length - r -"; -_quicksort(_data,(int) (_startindex+_r+1),(int) (_length-_r-1),_comparator); - }; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public String _sort(anywheresoftware.b4a.objects.collections.List _data,Object _comparator) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Sort (Data As List, Comparator As Objec"; - //BA.debugLineNum = 14;BA.debugLine="QuickSort(Data, 0, Data.Size, Comparator)"; -_quicksort(_data,(int) (0),_data.getSize(),_comparator); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; -return ""; -} -public String _swap(anywheresoftware.b4a.objects.collections.List _data,int _startindex,int _i1,int _i2) throws Exception{ -Object _o = null; - //BA.debugLineNum = 44;BA.debugLine="Private Sub Swap (Data As List, StartIndex As Int,"; - //BA.debugLineNum = 45;BA.debugLine="Dim o As Object = Data.Get(StartIndex + i1)"; -_o = _data.Get((int) (_startindex+_i1)); - //BA.debugLineNum = 46;BA.debugLine="Data.Set(StartIndex + i1, Data.Get(StartIndex + i"; -_data.Set((int) (_startindex+_i1),_data.Get((int) (_startindex+_i2))); - //BA.debugLineNum = 47;BA.debugLine="Data.Set(StartIndex + i2, o)"; -_data.Set((int) (_startindex+_i2),_o); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xdatetemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xdatetemplate.java deleted file mode 100644 index bfe0f76..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xdatetemplate.java +++ /dev/null @@ -1,546 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xdatetemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xdatetemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xdatetemplate.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.B4XViewWrapper.XUI _xui = null; -public int _month = 0; -public int _year = 0; -public float _boxw = 0f; -public float _boxh = 0f; -public float _vcorrection = 0f; -public int _tempselectedday = 0; -public int _dayofweekoffset = 0; -public int _daysinmonth = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _dayspanebg = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _dayspanefg = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvsbackground = null; -public long _selecteddate = 0L; -public long _previousselecteddate = 0L; -public int _selectedyear = 0; -public int _selectedmonth = 0; -public int _selectedday = 0; -public int _highlightedcolor = 0; -public int _selectedcolor = 0; -public int _daysinmonthcolor = 0; -public int _daysinweekcolor = 0; -public anywheresoftware.b4a.objects.B4XCanvas _cvsdays = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _daystitlespane = null; -public int _firstday = 0; -public int _minyear = 0; -public int _maxyear = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _btnmonthleft = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _btnmonthright = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _btnyearleft = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _btnyearright = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblmonth = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblyear = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnldialog = null; -public anywheresoftware.b4a.objects.collections.List _months = null; -public adm.keymon.com.mx.b4xdialog _mdialog = null; -public boolean _closeonselection = false; -public anywheresoftware.b4a.objects.collections.List _daysofweeknames = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _btnmonth_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; -int _m = 0; - //BA.debugLineNum = 160;BA.debugLine="Private Sub btnMonth_Click"; - //BA.debugLineNum = 161;BA.debugLine="Dim btn As B4XView = Sender"; -_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 162;BA.debugLine="Dim m As Int = 12 + month - 1 + btn.Tag"; -_m = (int) (12+_month-1+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 163;BA.debugLine="month = (m Mod 12) + 1"; -_month = (int) ((_m%12)+1); - //BA.debugLineNum = 164;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public String _btnyear_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 154;BA.debugLine="Private Sub btnYear_Click"; - //BA.debugLineNum = 155;BA.debugLine="Dim btn As B4XView = Sender"; -_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 156;BA.debugLine="year = year + btn.Tag"; -_year = (int) (_year+(double)(BA.ObjectToNumber(_btn.getTag()))); - //BA.debugLineNum = 157;BA.debugLine="DrawDays"; -_drawdays(); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Private month, year As Int"; -_month = 0; -_year = 0; - //BA.debugLineNum = 4;BA.debugLine="Private boxW, boxH As Float"; -_boxw = 0f; -_boxh = 0f; - //BA.debugLineNum = 5;BA.debugLine="Private vCorrection As Float"; -_vcorrection = 0f; - //BA.debugLineNum = 6;BA.debugLine="Private tempSelectedDay As Int"; -_tempselectedday = 0; - //BA.debugLineNum = 7;BA.debugLine="Private dayOfWeekOffset As Int"; -_dayofweekoffset = 0; - //BA.debugLineNum = 8;BA.debugLine="Private daysInMonth As Int"; -_daysinmonth = 0; - //BA.debugLineNum = 9;BA.debugLine="Private DaysPaneBg As B4XView"; -_dayspanebg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private DaysPaneFg As B4XView"; -_dayspanefg = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private cvsBackground As B4XCanvas"; -_cvsbackground = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 13;BA.debugLine="Private selectedDate As Long"; -_selecteddate = 0L; - //BA.debugLineNum = 14;BA.debugLine="Private PreviousSelectedDate As Long"; -_previousselecteddate = 0L; - //BA.debugLineNum = 15;BA.debugLine="Private selectedYear, selectedMonth, selectedDay"; -_selectedyear = 0; -_selectedmonth = 0; -_selectedday = 0; - //BA.debugLineNum = 16;BA.debugLine="Public HighlightedColor As Int = 0xFF001BBD"; -_highlightedcolor = ((int)0xff001bbd); - //BA.debugLineNum = 17;BA.debugLine="Public SelectedColor As Int = 0xFF0BA29B"; -_selectedcolor = ((int)0xff0ba29b); - //BA.debugLineNum = 18;BA.debugLine="Public DaysInMonthColor As Int = xui.Color_White"; -_daysinmonthcolor = _xui.Color_White; - //BA.debugLineNum = 19;BA.debugLine="Public DaysInWeekColor As Int = xui.Color_Gray"; -_daysinweekcolor = _xui.Color_Gray; - //BA.debugLineNum = 20;BA.debugLine="Private cvsDays As B4XCanvas"; -_cvsdays = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 21;BA.debugLine="Private DaysTitlesPane As B4XView"; -_daystitlespane = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public FirstDay As Int = 0"; -_firstday = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="Public MinYear = 1970, MaxYear = 2030 As Int"; -_minyear = (int) (1970); -_maxyear = (int) (2030); - //BA.debugLineNum = 24;BA.debugLine="Public btnMonthLeft As B4XView"; -_btnmonthleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Public btnMonthRight As B4XView"; -_btnmonthright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Public btnYearLeft As B4XView"; -_btnyearleft = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public btnYearRight As B4XView"; -_btnyearright = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Public lblMonth As B4XView"; -_lblmonth = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public lblYear As B4XView"; -_lblyear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private pnlDialog As B4XView"; -_pnldialog = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private months As List"; -_months = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 32;BA.debugLine="Private mDialog As B4XDialog"; -_mdialog = new adm.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 33;BA.debugLine="Public CloseOnSelection As Boolean = True"; -_closeonselection = __c.True; - //BA.debugLineNum = 34;BA.debugLine="Public DaysOfWeekNames As List"; -_daysofweeknames = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _dayspanefg_touch(int _action,float _x,float _y) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 167;BA.debugLine="Private Sub DaysPaneFg_Touch (Action As Int, X As"; - //BA.debugLineNum = 168;BA.debugLine="Dim p As B4XView = DaysPaneFg"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _dayspanefg; - //BA.debugLineNum = 169;BA.debugLine="HandleMouse(X, Y, Action <> p.TOUCH_ACTION_UP)"; -_handlemouse(_x,_y,_action!=_p.TOUCH_ACTION_UP); - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 193;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 194;BA.debugLine="If Result <> xui.DialogResponse_Positive Then"; -if (_result!=_xui.DialogResponse_Positive) { - //BA.debugLineNum = 195;BA.debugLine="setDate(PreviousSelectedDate)"; -_setdate(_previousselecteddate); - }; - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public String _drawbox(anywheresoftware.b4a.objects.B4XCanvas _c,int _clr,int _x,int _y) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 91;BA.debugLine="Private Sub DrawBox(c As B4XCanvas, clr As Int, x"; - //BA.debugLineNum = 92;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 93;BA.debugLine="r.Initialize(x * boxW, y * boxH, x * boxW + boxW,"; -_r.Initialize((float) (_x*_boxw),(float) (_y*_boxh),(float) (_x*_boxw+_boxw),(float) (_y*_boxh+_boxh)); - //BA.debugLineNum = 94;BA.debugLine="c.DrawRect(r, clr, True, 1dip)"; -_c.DrawRect(_r,_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public String _drawdays() throws Exception{ -long _firstdayofmonth = 0L; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; -int _day = 0; -int _row = 0; - //BA.debugLineNum = 62;BA.debugLine="Private Sub DrawDays"; - //BA.debugLineNum = 63;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 64;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 65;BA.debugLine="SetYearsButtonState"; -_setyearsbuttonstate(); - //BA.debugLineNum = 66;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 67;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect)"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 68;BA.debugLine="Dim firstDayOfMonth As Long = DateUtils.setDate(y"; -_firstdayofmonth = (long) (_dateutils._setdate(ba,_year,_month,(int) (1))-1); - //BA.debugLineNum = 69;BA.debugLine="dayOfWeekOffset = (7 + DateTime.GetDayOfWeek(firs"; -_dayofweekoffset = (int) ((7+__c.DateTime.GetDayOfWeek(_firstdayofmonth)-_firstday)%7); - //BA.debugLineNum = 70;BA.debugLine="daysInMonth = DateUtils.NumberOfDaysInMonth(month"; -_daysinmonth = _dateutils._numberofdaysinmonth(ba,_month,_year); - //BA.debugLineNum = 71;BA.debugLine="If year = selectedYear And month = selectedMonth"; -if (_year==_selectedyear && _month==_selectedmonth) { - //BA.debugLineNum = 73;BA.debugLine="DrawBox(cvs, SelectedColor, (selectedDay - 1 + d"; -_drawbox(_cvs,_selectedcolor,(int) ((_selectedday-1+_dayofweekoffset)%7),(int) ((_selectedday-1+_dayofweekoffset)/(double)7)); - }; - //BA.debugLineNum = 76;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = _xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 77;BA.debugLine="For day = 1 To daysInMonth"; -{ -final int step13 = 1; -final int limit13 = _daysinmonth; -_day = (int) (1) ; -for (;_day <= limit13 ;_day = _day + step13 ) { - //BA.debugLineNum = 78;BA.debugLine="Dim row As Int = (day - 1 + dayOfWeekOffset) / 7"; -_row = (int) ((_day-1+_dayofweekoffset)/(double)7); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawText(day, (((dayOfWeekOffset + day - 1)"; -_cvs.DrawText(ba,BA.NumberToString(_day),(float) ((((_dayofweekoffset+_day-1)%7)+0.5)*_boxw),(float) ((_row+0.5)*_boxh+_vcorrection),_daysfont,_daysinmonthcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - } -}; - //BA.debugLineNum = 82;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 83;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return ""; -} -public long _getdate() throws Exception{ - //BA.debugLineNum = 98;BA.debugLine="Public Sub getDate As Long"; - //BA.debugLineNum = 99;BA.debugLine="Return selectedDate"; -if (true) return _selecteddate; - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -return 0L; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 172;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 173;BA.debugLine="Return pnlDialog"; -if (true) return _pnldialog; - //BA.debugLineNum = 174;BA.debugLine="End Sub"; -return null; -} -public String _handlemouse(double _x,double _y,boolean _move) throws Exception{ -int _boxx = 0; -int _boxy = 0; -int _newselectedday = 0; -boolean _validday = false; - //BA.debugLineNum = 123;BA.debugLine="Private Sub HandleMouse(x As Double, y As Double,"; - //BA.debugLineNum = 124;BA.debugLine="Dim boxX = x / boxW, boxY = y / boxH As Int"; -_boxx = (int) (_x/(double)_boxw); -_boxy = (int) (_y/(double)_boxh); - //BA.debugLineNum = 125;BA.debugLine="Dim newSelectedDay As Int = boxY * 7 + boxX + 1 -"; -_newselectedday = (int) (_boxy*7+_boxx+1-_dayofweekoffset); - //BA.debugLineNum = 126;BA.debugLine="Dim validDay As Boolean = newSelectedDay > 0 And"; -_validday = _newselectedday>0 && _newselectedday<=_daysinmonth; - //BA.debugLineNum = 127;BA.debugLine="If move Then"; -if (_move) { - //BA.debugLineNum = 128;BA.debugLine="If newSelectedDay = tempSelectedDay Then Return"; -if (_newselectedday==_tempselectedday) { -if (true) return "";}; - //BA.debugLineNum = 129;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 130;BA.debugLine="tempSelectedDay = newSelectedDay"; -_tempselectedday = _newselectedday; - //BA.debugLineNum = 131;BA.debugLine="If validDay Then"; -if (_validday) { - //BA.debugLineNum = 132;BA.debugLine="DrawBox(cvsBackground, HighlightedColor, boxX,"; -_drawbox(_cvsbackground,_highlightedcolor,_boxx,_boxy); - }; - }else { - //BA.debugLineNum = 135;BA.debugLine="cvsBackground.ClearRect(cvsBackground.TargetRect"; -_cvsbackground.ClearRect(_cvsbackground.getTargetRect()); - //BA.debugLineNum = 136;BA.debugLine="If validDay Then"; -if (_validday) { - //BA.debugLineNum = 137;BA.debugLine="SelectDay(newSelectedDay)"; -_selectday(_newselectedday); - //BA.debugLineNum = 138;BA.debugLine="If CloseOnSelection Then"; -if (_closeonselection) { - //BA.debugLineNum = 139;BA.debugLine="Hide"; -_hide(); - }else { - //BA.debugLineNum = 141;BA.debugLine="DrawDays"; -_drawdays(); - }; - }; - }; - //BA.debugLineNum = 146;BA.debugLine="cvsBackground.Invalidate"; -_cvsbackground.Invalidate(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public String _hide() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Private Sub Hide"; - //BA.debugLineNum = 150;BA.debugLine="mDialog.Close(xui.DialogResponse_Positive)"; -_mdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 38;BA.debugLine="pnlDialog = xui.CreatePanel(\"\")"; -_pnldialog = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 39;BA.debugLine="pnlDialog.SetLayoutAnimated(0, 0, 0, 320dip,300di"; -_pnldialog.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (320)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 40;BA.debugLine="pnlDialog.LoadLayout(\"DateTemplate\")"; -_pnldialog.LoadLayout("DateTemplate",ba); - //BA.debugLineNum = 41;BA.debugLine="pnlDialog.Tag = Me"; -_pnldialog.setTag(this); - //BA.debugLineNum = 42;BA.debugLine="month = DateTime.GetMonth(DateTime.Now)"; -_month = __c.DateTime.GetMonth(__c.DateTime.getNow()); - //BA.debugLineNum = 43;BA.debugLine="year = DateTime.GetYear(DateTime.Now)"; -_year = __c.DateTime.GetYear(__c.DateTime.getNow()); - //BA.debugLineNum = 44;BA.debugLine="months = DateUtils.GetMonthsNames"; -_months = _dateutils._getmonthsnames(ba); - //BA.debugLineNum = 45;BA.debugLine="selectedDate = DateTime.Now"; -_selecteddate = __c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="setDate(selectedDate)"; -_setdate(_selecteddate); - //BA.debugLineNum = 47;BA.debugLine="cvs.Initialize(DaysPaneFg)"; -_cvs.Initialize(_dayspanefg); - //BA.debugLineNum = 48;BA.debugLine="cvsBackground.Initialize(DaysPaneBg)"; -_cvsbackground.Initialize(_dayspanebg); - //BA.debugLineNum = 49;BA.debugLine="boxW = cvs.TargetRect.Width / 7"; -_boxw = (float) (_cvs.getTargetRect().getWidth()/(double)7); - //BA.debugLineNum = 50;BA.debugLine="boxH = cvs.TargetRect.Height / 6"; -_boxh = (float) (_cvs.getTargetRect().getHeight()/(double)6); - //BA.debugLineNum = 51;BA.debugLine="vCorrection = 5dip"; -_vcorrection = (float) (__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 52;BA.debugLine="cvsDays.Initialize(DaysTitlesPane)"; -_cvsdays.Initialize(_daystitlespane); - //BA.debugLineNum = 58;BA.debugLine="DaysOfWeekNames.Initialize"; -_daysofweeknames.Initialize(); - //BA.debugLineNum = 59;BA.debugLine="DaysOfWeekNames.AddAll(DateUtils.GetDaysNames)"; -_daysofweeknames.AddAll(_dateutils._getdaysnames(ba)); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _selectday(int _day) throws Exception{ - //BA.debugLineNum = 115;BA.debugLine="Private Sub SelectDay(day As Int)"; - //BA.debugLineNum = 116;BA.debugLine="selectedDate = DateUtils.setDate(year, month, day"; -_selecteddate = _dateutils._setdate(ba,_year,_month,_day); - //BA.debugLineNum = 117;BA.debugLine="selectedDay = day"; -_selectedday = _day; - //BA.debugLineNum = 118;BA.debugLine="selectedMonth = month"; -_selectedmonth = _month; - //BA.debugLineNum = 119;BA.debugLine="selectedYear = year"; -_selectedyear = _year; - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setdate(long _date) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setDate(date As Long)"; - //BA.debugLineNum = 104;BA.debugLine="If lblYear.IsInitialized = False Then"; -if (_lblyear.IsInitialized()==__c.False) { - //BA.debugLineNum = 105;BA.debugLine="selectedDate = date"; -_selecteddate = _date; - //BA.debugLineNum = 106;BA.debugLine="Return 'the date will be set after the layout is"; -if (true) return ""; - }; - //BA.debugLineNum = 108;BA.debugLine="year = DateTime.GetYear(date)"; -_year = __c.DateTime.GetYear(_date); - //BA.debugLineNum = 109;BA.debugLine="month = DateTime.GetMonth(date)"; -_month = __c.DateTime.GetMonth(_date); - //BA.debugLineNum = 110;BA.debugLine="SelectDay(DateTime.GetDayOfMonth(date))"; -_selectday(__c.DateTime.GetDayOfMonth(_date)); - //BA.debugLineNum = 111;BA.debugLine="lblYear.Text = year"; -_lblyear.setText(BA.ObjectToCharSequence(_year)); - //BA.debugLineNum = 112;BA.debugLine="lblMonth.Text = months.Get(month - 1)"; -_lblmonth.setText(BA.ObjectToCharSequence(_months.Get((int) (_month-1)))); - //BA.debugLineNum = 113;BA.debugLine="End Sub"; -return ""; -} -public String _setyearsbuttonstate() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub SetYearsButtonState"; - //BA.debugLineNum = 87;BA.debugLine="btnYearLeft.Enabled = year > MinYear"; -_btnyearleft.setEnabled(_year>_minyear); - //BA.debugLineNum = 88;BA.debugLine="btnYearRight.Enabled = year < MaxYear"; -_btnyearright.setEnabled(_year<_maxyear); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xdatetemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xdatetemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; -anywheresoftware.b4a.objects.collections.List _days = null; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _daysfont = null; -int _i = 0; -String _d = ""; -int step4; -int limit4; - -@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 = 177;BA.debugLine="Dim days As List = DaysOfWeekNames"; -_days = new anywheresoftware.b4a.objects.collections.List(); -_days = parent._daysofweeknames; - //BA.debugLineNum = 178;BA.debugLine="Dim daysFont As B4XFont = xui.CreateDefaultBoldFo"; -_daysfont = parent._xui.CreateDefaultBoldFont((float) (14)); - //BA.debugLineNum = 179;BA.debugLine="cvsDays.ClearRect(cvsDays.TargetRect)"; -parent._cvsdays.ClearRect(parent._cvsdays.getTargetRect()); - //BA.debugLineNum = 180;BA.debugLine="For i = FirstDay To FirstDay + 7 - 1"; -if (true) break; - -case 1: -//for -this.state = 10; -step4 = 1; -limit4 = (int) (parent._firstday+7-1); -_i = parent._firstday ; -this.state = 11; -if (true) break; - -case 11: -//C -this.state = 10; -if ((step4 > 0 && _i <= limit4) || (step4 < 0 && _i >= limit4)) this.state = 3; -if (true) break; - -case 12: -//C -this.state = 11; -_i = ((int)(0 + _i + step4)) ; -if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 181;BA.debugLine="Dim d As String = days.Get(i Mod 7)"; -_d = BA.ObjectToString(_days.Get((int) (_i%7))); - //BA.debugLineNum = 182;BA.debugLine="If d.Length > 2 Then d = d.SubString2(0, 2)"; -if (true) break; - -case 4: -//if -this.state = 9; -if (_d.length()>2) { -this.state = 6; -;}if (true) break; - -case 6: -//C -this.state = 9; -_d = _d.substring((int) (0),(int) (2)); -if (true) break; - -case 9: -//C -this.state = 12; -; - //BA.debugLineNum = 183;BA.debugLine="cvsDays.DrawText(d, (i - FirstDay + 0.5) * boxW,"; -parent._cvsdays.DrawText(ba,_d,(float) ((_i-parent._firstday+0.5)*parent._boxw),(float) (parent.__c.DipToCurrent((int) (20))),_daysfont,parent._daysinweekcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - if (true) break; -if (true) break; - -case 10: -//C -this.state = -1; -; - //BA.debugLineNum = 185;BA.debugLine="cvsDays.Invalidate"; -parent._cvsdays.Invalidate(); - //BA.debugLineNum = 186;BA.debugLine="mDialog = Dialog"; -parent._mdialog = _dialog; - //BA.debugLineNum = 187;BA.debugLine="DrawDays"; -parent._drawdays(); - //BA.debugLineNum = 188;BA.debugLine="PreviousSelectedDate = selectedDate"; -parent._previousselecteddate = parent._selecteddate; - //BA.debugLineNum = 189;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 13; -return; -case 13: -//C -this.state = -1; -; - //BA.debugLineNum = 190;BA.debugLine="SetYearsButtonState"; -parent._setyearsbuttonstate(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xdialog.java b/B4A/Objects/src/adm/keymon/com/mx/b4xdialog.java deleted file mode 100644 index 2fddd23..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xdialog.java +++ /dev/null @@ -1,1188 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xdialog extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xdialog"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xdialog.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.B4XViewWrapper.XUI _xui = null; -public int _buttonsheight = 0; -public int _titlebarheight = 0; -public int _buttonwidth = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _base = null; -public int _backgroundcolor = 0; -public int _overlaycolor = 0; -public int _bordercolor = 0; -public int _bordercornersradius = 0; -public int _borderwidth = 0; -public int _buttonscolor = 0; -public int _buttonstextcolor = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _background = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _blurimageview = null; -public boolean _blurbackground = false; -public int _blurreducescale = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _mparent = null; -public Object _title = null; -public int _titlebarcolor = 0; -public int _titlebartextcolor = 0; -public int _bodytextcolor = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _titlebar = null; -public boolean _putattop = false; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _titlebarfont = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _buttonsfont = null; -public int _buttonstextcolordisabled = 0; -public int _visibleanimationduration = 0; -public int[] _buttonsorder = null; -public anywheresoftware.b4a.objects.collections.Map _buttonsstate = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _background_click() throws Exception{ - //BA.debugLineNum = 258;BA.debugLine="Private Sub Background_Click"; - //BA.debugLineNum = 260;BA.debugLine="End Sub"; -return ""; -} -public String _background_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 253;BA.debugLine="Private Sub Background_Touch (Action As Int, X As"; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return ""; -} -public b4a.example.bitmapcreator _blur(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -b4a.example.bitmapcreator _bc = null; -int _reducescale = 0; -int _count = 0; -b4a.example.bitmapcreator._argbcolor[] _clrs = null; -b4a.example.bitmapcreator._argbcolor _temp = null; -int _m = 0; -int _steps = 0; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 287;BA.debugLine="Private Sub Blur (bmp As B4XBitmap) As BitmapCreat"; - //BA.debugLineNum = 288;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 289;BA.debugLine="Dim ReduceScale As Int = BlurReduceScale"; -_reducescale = _blurreducescale; - //BA.debugLineNum = 290;BA.debugLine="bc.Initialize(bmp.Width / ReduceScale / bmp.Scale"; -_bc._initialize(ba,(int) (_bmp.getWidth()/(double)_reducescale/(double)_bmp.getScale()),(int) (_bmp.getHeight()/(double)_reducescale/(double)_bmp.getScale())); - //BA.debugLineNum = 291;BA.debugLine="bc.CopyPixelsFromBitmap(bmp)"; -_bc._copypixelsfrombitmap(_bmp); - //BA.debugLineNum = 292;BA.debugLine="Dim count As Int = 2"; -_count = (int) (2); - //BA.debugLineNum = 293;BA.debugLine="Dim clrs(3) As ARGBColor"; -_clrs = new b4a.example.bitmapcreator._argbcolor[(int) (3)]; -{ -int d0 = _clrs.length; -for (int i0 = 0;i0 < d0;i0++) { -_clrs[i0] = new b4a.example.bitmapcreator._argbcolor(); -} -} -; - //BA.debugLineNum = 294;BA.debugLine="Dim temp As ARGBColor"; -_temp = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 295;BA.debugLine="Dim m As Int"; -_m = 0; - //BA.debugLineNum = 296;BA.debugLine="For steps = 1 To count"; -{ -final int step9 = 1; -final int limit9 = _count; -_steps = (int) (1) ; -for (;_steps <= limit9 ;_steps = _steps + step9 ) { - //BA.debugLineNum = 297;BA.debugLine="For y = 0 To bc.mHeight - 1"; -{ -final int step10 = 1; -final int limit10 = (int) (_bc._mheight-1); -_y = (int) (0) ; -for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 298;BA.debugLine="For x = 0 To 2"; -{ -final int step11 = 1; -final int limit11 = (int) (2); -_x = (int) (0) ; -for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 299;BA.debugLine="bc.GetARGB(x, y, clrs(x))"; -_bc._getargb(_x,_y,_clrs[_x]); - } -}; - //BA.debugLineNum = 301;BA.debugLine="SetAvg(bc, 1, y, clrs, temp)"; -_setavg(_bc,(int) (1),_y,_clrs,_temp); - //BA.debugLineNum = 302;BA.debugLine="m = 0"; -_m = (int) (0); - //BA.debugLineNum = 303;BA.debugLine="For x = 2 To bc.mWidth - 2"; -{ -final int step16 = 1; -final int limit16 = (int) (_bc._mwidth-2); -_x = (int) (2) ; -for (;_x <= limit16 ;_x = _x + step16 ) { - //BA.debugLineNum = 304;BA.debugLine="bc.GetARGB(x + 1, y, clrs(m))"; -_bc._getargb((int) (_x+1),_y,_clrs[_m]); - //BA.debugLineNum = 305;BA.debugLine="m = (m + 1) Mod 3"; -_m = (int) ((_m+1)%3); - //BA.debugLineNum = 306;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); - } -}; - } -}; - //BA.debugLineNum = 309;BA.debugLine="For x = 0 To bc.mWidth - 1"; -{ -final int step22 = 1; -final int limit22 = (int) (_bc._mwidth-1); -_x = (int) (0) ; -for (;_x <= limit22 ;_x = _x + step22 ) { - //BA.debugLineNum = 310;BA.debugLine="For y = 0 To 2"; -{ -final int step23 = 1; -final int limit23 = (int) (2); -_y = (int) (0) ; -for (;_y <= limit23 ;_y = _y + step23 ) { - //BA.debugLineNum = 311;BA.debugLine="bc.GetARGB(x, y, clrs(y))"; -_bc._getargb(_x,_y,_clrs[_y]); - } -}; - //BA.debugLineNum = 313;BA.debugLine="SetAvg(bc, x, 1, clrs, temp)"; -_setavg(_bc,_x,(int) (1),_clrs,_temp); - //BA.debugLineNum = 314;BA.debugLine="m = 0"; -_m = (int) (0); - //BA.debugLineNum = 315;BA.debugLine="For y = 2 To bc.mHeight - 2"; -{ -final int step28 = 1; -final int limit28 = (int) (_bc._mheight-2); -_y = (int) (2) ; -for (;_y <= limit28 ;_y = _y + step28 ) { - //BA.debugLineNum = 316;BA.debugLine="bc.GetARGB(x, y + 1, clrs(m))"; -_bc._getargb(_x,(int) (_y+1),_clrs[_m]); - //BA.debugLineNum = 317;BA.debugLine="m = (m + 1) Mod 3"; -_m = (int) ((_m+1)%3); - //BA.debugLineNum = 318;BA.debugLine="SetAvg(bc, x, y, clrs, temp)"; -_setavg(_bc,_x,_y,_clrs,_temp); - } -}; - } -}; - } -}; - //BA.debugLineNum = 322;BA.debugLine="Return bc"; -if (true) return _bc; - //BA.debugLineNum = 323;BA.debugLine="End Sub"; -return null; -} -public String _button_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 233;BA.debugLine="Private Sub Button_Click"; - //BA.debugLineNum = 234;BA.debugLine="Dim b As B4XView = Sender"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 235;BA.debugLine="If ButtonsState.GetDefault(b.Tag, True) = False T"; -if ((_buttonsstate.GetDefault(_b.getTag(),(Object)(__c.True))).equals((Object)(__c.False))) { -if (true) return "";}; - //BA.debugLineNum = 236;BA.debugLine="Close(b.Tag)"; -_close((int)(BA.ObjectToNumber(_b.getTag()))); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public ButtonsHeight As Int = 40dip"; -_buttonsheight = __c.DipToCurrent((int) (40)); - //BA.debugLineNum = 7;BA.debugLine="Public TitleBarHeight As Int = 30dip"; -_titlebarheight = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 8;BA.debugLine="Private ButtonWidth As Int = 80dip"; -_buttonwidth = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 9;BA.debugLine="Public Base As B4XView"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Public BackgroundColor As Int = 0xFF555555 'base"; -_backgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 11;BA.debugLine="Public OverlayColor As Int = 0xaa000000"; -_overlaycolor = ((int)0xaa000000); - //BA.debugLineNum = 12;BA.debugLine="Public BorderColor As Int = 0xff000000"; -_bordercolor = ((int)0xff000000); - //BA.debugLineNum = 13;BA.debugLine="Public BorderCornersRadius As Int = 2dip"; -_bordercornersradius = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 14;BA.debugLine="Public BorderWidth As Int = 2dip"; -_borderwidth = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 15;BA.debugLine="Public ButtonsColor As Int = 0xFF555555"; -_buttonscolor = ((int)0xff555555); - //BA.debugLineNum = 16;BA.debugLine="Public ButtonsTextColor As Int = 0xFF89D5FF"; -_buttonstextcolor = ((int)0xff89d5ff); - //BA.debugLineNum = 17;BA.debugLine="Private Background As B4XView"; -_background = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private BlurImageView As B4XView"; -_blurimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public BlurBackground As Boolean"; -_blurbackground = false; - //BA.debugLineNum = 20;BA.debugLine="Private BlurReduceScale As Int"; -_blurreducescale = 0; - //BA.debugLineNum = 21;BA.debugLine="Public mParent As B4XView"; -_mparent = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public Title As Object = \"\""; -_title = (Object)(""); - //BA.debugLineNum = 23;BA.debugLine="Public TitleBarColor As Int = 0xFF0083B8"; -_titlebarcolor = ((int)0xff0083b8); - //BA.debugLineNum = 24;BA.debugLine="Public TitleBarTextColor As Int"; -_titlebartextcolor = 0; - //BA.debugLineNum = 25;BA.debugLine="Public BodyTextColor As Int = xui.Color_White"; -_bodytextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Public TitleBar As B4XView"; -_titlebar = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Public PutAtTop As Boolean"; -_putattop = false; - //BA.debugLineNum = 28;BA.debugLine="Public TitleBarFont As B4XFont"; -_titlebarfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 29;BA.debugLine="Public ButtonsFont As B4XFont"; -_buttonsfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 30;BA.debugLine="Public ButtonsTextColorDisabled As Int = 0xFF8080"; -_buttonstextcolordisabled = ((int)0xff808080); - //BA.debugLineNum = 31;BA.debugLine="Public VisibleAnimationDuration As Int = 100"; -_visibleanimationduration = (int) (100); - //BA.debugLineNum = 32;BA.debugLine="Public ButtonsOrder() As Int = Array As Int(xui.D"; -_buttonsorder = new int[]{_xui.DialogResponse_Positive,_xui.DialogResponse_Negative,_xui.DialogResponse_Cancel}; - //BA.debugLineNum = 33;BA.debugLine="Public ButtonsState As Map"; -_buttonsstate = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public boolean _close(int _result) throws Exception{ - //BA.debugLineNum = 239;BA.debugLine="Public Sub Close (Result As Int) As Boolean"; - //BA.debugLineNum = 240;BA.debugLine="If getVisible Then"; -if (_getvisible()) { - //BA.debugLineNum = 241;BA.debugLine="CallSubDelayed2(Me, \"CloseMessage\", Result)"; -__c.CallSubDelayed2(ba,this,"CloseMessage",(Object)(_result)); - //BA.debugLineNum = 242;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 244;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -return false; -} -public String _createbutton(Object _text,int _code) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _btn = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xbtn = null; -int _numberofbuttons = 0; - //BA.debugLineNum = 193;BA.debugLine="Private Sub CreateButton (Text As Object, Code As"; - //BA.debugLineNum = 194;BA.debugLine="If Text = \"\" Then Return"; -if ((_text).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 198;BA.debugLine="Dim btn As Label"; -_btn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="btn.Initialize(\"Button\")"; -_btn.Initialize(ba,"Button"); - //BA.debugLineNum = 201;BA.debugLine="Dim xbtn As B4XView = btn"; -_xbtn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xbtn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_btn.getObject())); - //BA.debugLineNum = 202;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xbtn, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xbtn,_text); - //BA.debugLineNum = 203;BA.debugLine="xbtn.Tag = Code"; -_xbtn.setTag((Object)(_code)); - //BA.debugLineNum = 204;BA.debugLine="xbtn.SetColorAndBorder(ButtonsColor, 0dip, Border"; -_xbtn.SetColorAndBorder(_buttonscolor,__c.DipToCurrent((int) (0)),_bordercolor,__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 205;BA.debugLine="xbtn.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xbtn.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 206;BA.debugLine="xbtn.TextColor = ButtonsTextColor"; -_xbtn.setTextColor(_buttonstextcolor); - //BA.debugLineNum = 207;BA.debugLine="xbtn.Font = ButtonsFont"; -_xbtn.setFont(_buttonsfont); - //BA.debugLineNum = 208;BA.debugLine="Dim numberOfButtons As Int = Base.NumberOfViews '"; -_numberofbuttons = _base.getNumberOfViews(); - //BA.debugLineNum = 209;BA.debugLine="Base.AddView(xbtn, Base.Width - 4dip - numberOfBu"; -_base.AddView((android.view.View)(_xbtn.getObject()),(int) (_base.getWidth()-__c.DipToCurrent((int) (4))-_numberofbuttons*(_buttonwidth+__c.DipToCurrent((int) (5)))-_buttonwidth),(int) (_base.getHeight()-_buttonsheight-__c.DipToCurrent((int) (4))),_buttonwidth,_buttonsheight); - //BA.debugLineNum = 211;BA.debugLine="If Code = xui.DialogResponse_Cancel Then xbtn.Req"; -if (_code==_xui.DialogResponse_Cancel) { -_xbtn.RequestFocus();}; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getbutton(int _resultcode) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 215;BA.debugLine="Public Sub GetButton (ResultCode As Int) As B4XVie"; - //BA.debugLineNum = 216;BA.debugLine="For Each b As B4XView In Base.GetAllViewsRecursiv"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group1 = _base.GetAllViewsRecursive(); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_b = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1))); - //BA.debugLineNum = 217;BA.debugLine="If b.Tag = ResultCode Then Return b 'ignore"; -if ((_b.getTag()).equals((Object)(_resultcode))) { -if (true) return _b;}; - } -}; - //BA.debugLineNum = 219;BA.debugLine="Return Null"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Null)); - //BA.debugLineNum = 220;BA.debugLine="End Sub"; -return null; -} -public boolean _getvisible() throws Exception{ - //BA.debugLineNum = 189;BA.debugLine="Public Sub getVisible As Boolean"; - //BA.debugLineNum = 190;BA.debugLine="Return Background.IsInitialized And Background.Pa"; -if (true) return _background.IsInitialized() && _background.getParent().IsInitialized(); - //BA.debugLineNum = 191;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _parent) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 36;BA.debugLine="Public Sub Initialize (Parent As B4XView)"; - //BA.debugLineNum = 37;BA.debugLine="BlurBackground = False"; -_blurbackground = __c.False; - //BA.debugLineNum = 38;BA.debugLine="If xui.IsB4i Then"; -if (_xui.getIsB4i()) { - //BA.debugLineNum = 39;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 41;BA.debugLine="BlurReduceScale = 1"; -_blurreducescale = (int) (1); - }else if(_xui.getIsB4A()) { - //BA.debugLineNum = 43;BA.debugLine="BlurReduceScale = 3"; -_blurreducescale = (int) (3); - }; - //BA.debugLineNum = 45;BA.debugLine="mParent = Parent"; -_mparent = _parent; - //BA.debugLineNum = 51;BA.debugLine="TitleBarFont = xui.CreateDefaultBoldFont(16)"; -_titlebarfont = _xui.CreateDefaultBoldFont((float) (16)); - //BA.debugLineNum = 52;BA.debugLine="ButtonsFont = xui.CreateDefaultBoldFont(15)"; -_buttonsfont = _xui.CreateDefaultBoldFont((float) (15)); - //BA.debugLineNum = 53;BA.debugLine="TitleBarTextColor = xui.Color_White"; -_titlebartextcolor = _xui.Color_White; - //BA.debugLineNum = 54;BA.debugLine="ButtonsState.Initialize"; -_buttonsstate.Initialize(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _internaladdstubtoclvifneeded(b4a.example3.customlistview _customlistview1,int _color) throws Exception{ - //BA.debugLineNum = 343;BA.debugLine="Public Sub InternalAddStubToCLVIfNeeded(CustomList"; - //BA.debugLineNum = 344;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_color); - //BA.debugLineNum = 345;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 339;BA.debugLine="Public Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 340;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ -int _top = 0; - //BA.debugLineNum = 263;BA.debugLine="Public Sub Resize (Width As Int, Height As Int)"; - //BA.debugLineNum = 265;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - Ba"; -_top = (int) (__c.Round(_background.getHeight()/(double)2-_base.getHeight()/(double)2)); - //BA.debugLineNum = 266;BA.debugLine="If PutAtTop Then Top = 20dip"; -if (_putattop) { -_top = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 267;BA.debugLine="Background.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_background.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 268;BA.debugLine="Base.SetLayoutAnimated(200, Round(Background.Widt"; -_base.SetLayoutAnimated((int) (200),(int) (__c.Round(_background.getWidth()/(double)2-_base.getWidth()/(double)2)),_top,_base.getWidth(),_base.getHeight()); - //BA.debugLineNum = 269;BA.debugLine="If xui.IsB4J Then"; -if (_xui.getIsB4J()) { - //BA.debugLineNum = 270;BA.debugLine="UpdateBlur"; -_updateblur(); - }; - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return ""; -} -public String _setavg(b4a.example.bitmapcreator _bc,int _x,int _y,b4a.example.bitmapcreator._argbcolor[] _clrs,b4a.example.bitmapcreator._argbcolor _temp) throws Exception{ -b4a.example.bitmapcreator._argbcolor _c = null; - //BA.debugLineNum = 325;BA.debugLine="Private Sub SetAvg(bc As BitmapCreator, x As Int,"; - //BA.debugLineNum = 326;BA.debugLine="temp.Initialize"; -_temp.Initialize(); - //BA.debugLineNum = 327;BA.debugLine="For Each c As ARGBColor In clrs"; -{ -final b4a.example.bitmapcreator._argbcolor[] group2 = _clrs; -final int groupLen2 = group2.length -;int index2 = 0; -; -for (; index2 < groupLen2;index2++){ -_c = group2[index2]; - //BA.debugLineNum = 328;BA.debugLine="temp.r = temp.r + c.r"; -_temp.r = (int) (_temp.r+_c.r); - //BA.debugLineNum = 329;BA.debugLine="temp.g = temp.g + c.g"; -_temp.g = (int) (_temp.g+_c.g); - //BA.debugLineNum = 330;BA.debugLine="temp.b = temp.b + c.b"; -_temp.b = (int) (_temp.b+_c.b); - } -}; - //BA.debugLineNum = 332;BA.debugLine="temp.a = 255"; -_temp.a = (int) (255); - //BA.debugLineNum = 333;BA.debugLine="temp.r = temp.r / 3"; -_temp.r = (int) (_temp.r/(double)3); - //BA.debugLineNum = 334;BA.debugLine="temp.g = temp.g / 3"; -_temp.g = (int) (_temp.g/(double)3); - //BA.debugLineNum = 335;BA.debugLine="temp.b = temp.b / 3"; -_temp.b = (int) (_temp.b/(double)3); - //BA.debugLineNum = 336;BA.debugLine="bc.SetARGB(x, y, temp)"; -_bc._setargb(_x,_y,_temp); - //BA.debugLineNum = 337;BA.debugLine="End Sub"; -return ""; -} -public String _setbuttonstate(int _resultcode,boolean _enabled) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _b = null; - //BA.debugLineNum = 223;BA.debugLine="Public Sub SetButtonState (ResultCode As Int, Enab"; - //BA.debugLineNum = 224;BA.debugLine="Dim b As B4XView = GetButton(ResultCode)"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_b = _getbutton(_resultcode); - //BA.debugLineNum = 225;BA.debugLine="If b.IsInitialized Then"; -if (_b.IsInitialized()) { - //BA.debugLineNum = 226;BA.debugLine="b.Enabled = Enabled"; -_b.setEnabled(_enabled); - //BA.debugLineNum = 227;BA.debugLine="If Enabled Then b.TextColor = ButtonsTextColor E"; -if (_enabled) { -_b.setTextColor(_buttonstextcolor);} -else { -_b.setTextColor(_buttonstextcolordisabled);}; - //BA.debugLineNum = 228;BA.debugLine="ButtonsState.Put(ResultCode, Enabled)"; -_buttonsstate.Put((Object)(_resultcode),(Object)(_enabled)); - }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _show(Object _text,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_text,_yes,_no,_cancel); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xdialog parent,Object _text,Object _yes,Object _no,Object _cancel) { -this.parent = parent; -this._text = _text; -this._yes = _yes; -this._no = _no; -this._cancel = _cancel; -} -adm.keymon.com.mx.b4xdialog parent; -Object _text; -Object _yes; -Object _no; -Object _cancel; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -int _result = 0; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 75;BA.debugLine="Dim p As B4XView"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 76;BA.debugLine="p = xui.CreatePanel(\"\")"; -_p = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 77;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 300dip, 100dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),parent.__c.DipToCurrent((int) (300)),parent.__c.DipToCurrent((int) (100))); - //BA.debugLineNum = 78;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 79;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 83;BA.debugLine="lbl.SingleLine = False"; -_lbl.setSingleLine(parent.__c.False); - //BA.debugLineNum = 87;BA.debugLine="Dim xlbl As B4XView = lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 88;BA.debugLine="p.AddView(xlbl, 5dip, 0, p.Width - 10dip, p.Heigh"; -_p.AddView((android.view.View)(_xlbl.getObject()),parent.__c.DipToCurrent((int) (5)),(int) (0),(int) (_p.getWidth()-parent.__c.DipToCurrent((int) (10))),_p.getHeight()); - //BA.debugLineNum = 89;BA.debugLine="xlbl.TextColor = BodyTextColor"; -_xlbl.setTextColor(parent._bodytextcolor); - //BA.debugLineNum = 90;BA.debugLine="xlbl.Font = TitleBarFont"; -_xlbl.setFont(parent._titlebarfont); - //BA.debugLineNum = 91;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Tex"; -parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,_text); - //BA.debugLineNum = 92;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; -_xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 93;BA.debugLine="Wait For (ShowCustom(p, Yes, No, Cancel)) Complet"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_p,_yes,_no,_cancel)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -_result = (Integer) result[0]; -; - //BA.debugLineNum = 94;BA.debugLine="Return Result"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _complete(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showcustom(anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowCustom rsub = new ResumableSub_ShowCustom(this,_content,_yes,_no,_cancel); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_ShowCustom extends BA.ResumableSub { -public ResumableSub_ShowCustom(adm.keymon.com.mx.b4xdialog parent,anywheresoftware.b4a.objects.B4XViewWrapper _content,Object _yes,Object _no,Object _cancel) { -this.parent = parent; -this._content = _content; -this._yes = _yes; -this._no = _no; -this._cancel = _cancel; -} -adm.keymon.com.mx.b4xdialog parent; -anywheresoftware.b4a.objects.B4XViewWrapper _content; -Object _yes; -Object _no; -Object _cancel; -anywheresoftware.b4a.objects.B4XViewWrapper _v = null; -anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; -anywheresoftware.b4a.objects.PanelWrapper _p = null; -boolean _includetitle = false; -int _temptitlebarheight = 0; -int _height = 0; -int _width = 0; -int _top = 0; -boolean _removetitle = false; -int _i = 0; -int _btype = 0; -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -int _result = 0; -anywheresoftware.b4a.BA.IterableList group1; -int index1; -int groupLen1; -int step46; -int limit46; -anywheresoftware.b4a.BA.IterableList group74; -int index74; -int groupLen74; -anywheresoftware.b4a.BA.IterableList group78; -int index78; -int groupLen78; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 98;BA.debugLine="For Each v As B4XView In mParent.GetAllViewsRecur"; -if (true) break; - -case 1: -//for -this.state = 8; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -group1 = parent._mparent.GetAllViewsRecursive(); -index1 = 0; -groupLen1 = group1.getSize(); -this.state = 60; -if (true) break; - -case 60: -//C -this.state = 8; -if (index1 < groupLen1) { -this.state = 3; -_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group1.Get(index1)));} -if (true) break; - -case 61: -//C -this.state = 60; -index1++; -if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 99;BA.debugLine="If v.Tag <> Null And v.Tag = \"b4xdialog_backgrou"; -if (true) break; - -case 4: -//if -this.state = 7; -if (_v.getTag()!= null && (_v.getTag()).equals((Object)("b4xdialog_background"))) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 100;BA.debugLine="v.RemoveViewFromParent"; -_v.RemoveViewFromParent(); - //BA.debugLineNum = 101;BA.debugLine="Exit"; -this.state = 8; -if (true) break; - if (true) break; - -case 7: -//C -this.state = 61; -; - if (true) break; -if (true) break; - -case 8: -//C -this.state = 9; -; - //BA.debugLineNum = 104;BA.debugLine="ButtonsState.Clear"; -parent._buttonsstate.Clear(); - //BA.debugLineNum = 105;BA.debugLine="Dim Background As B4XView = xui.CreatePanel(\"back"; -parent._background = new anywheresoftware.b4a.objects.B4XViewWrapper(); -parent._background = parent._xui.CreatePanel(ba,"background"); - //BA.debugLineNum = 106;BA.debugLine="Background.Tag = \"b4xdialog_background\""; -parent._background.setTag((Object)("b4xdialog_background")); - //BA.debugLineNum = 107;BA.debugLine="If BlurBackground Then"; -if (true) break; - -case 9: -//if -this.state = 14; -if (parent._blurbackground) { -this.state = 11; -}else { -this.state = 13; -}if (true) break; - -case 11: -//C -this.state = 14; - //BA.debugLineNum = 108;BA.debugLine="Dim iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 109;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 110;BA.debugLine="BlurImageView = iv"; -parent._blurimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 111;BA.debugLine="Background.AddView(BlurImageView, 0, 0, Backgrou"; -parent._background.AddView((android.view.View)(parent._blurimageview.getObject()),(int) (0),(int) (0),parent._background.getWidth(),parent._background.getHeight()); - //BA.debugLineNum = 112;BA.debugLine="Background.Color = xui.Color_Transparent"; -parent._background.setColor(parent._xui.Color_Transparent); - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 114;BA.debugLine="Background.Color = OverlayColor"; -parent._background.setColor(parent._overlaycolor); - if (true) break; - -case 14: -//C -this.state = 15; -; - //BA.debugLineNum = 117;BA.debugLine="Dim p As Panel = Background"; -_p = new anywheresoftware.b4a.objects.PanelWrapper(); -_p = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(parent._background.getObject())); - //BA.debugLineNum = 118;BA.debugLine="p.Elevation = 4dip"; -_p.setElevation((float) (parent.__c.DipToCurrent((int) (4)))); - //BA.debugLineNum = 120;BA.debugLine="mParent.AddView(Background, 0, 0, mParent.Width,"; -parent._mparent.AddView((android.view.View)(parent._background.getObject()),(int) (0),(int) (0),parent._mparent.getWidth(),parent._mparent.getHeight()); - //BA.debugLineNum = 121;BA.debugLine="UpdateBlur"; -parent._updateblur(); - //BA.debugLineNum = 122;BA.debugLine="Base = xui.CreatePanel(\"\")"; -parent._base = parent._xui.CreatePanel(ba,""); - //BA.debugLineNum = 123;BA.debugLine="Base.SetColorAndBorder(BackgroundColor, BorderWid"; -parent._base.SetColorAndBorder(parent._backgroundcolor,parent._borderwidth,parent._bordercolor,parent._bordercornersradius); - //BA.debugLineNum = 124;BA.debugLine="Base.RequestFocus"; -parent._base.RequestFocus(); - //BA.debugLineNum = 125;BA.debugLine="Dim IncludeTitle As Boolean = Title <> \"\""; -_includetitle = (parent._title).equals((Object)("")) == false; - //BA.debugLineNum = 126;BA.debugLine="Dim TempTitleBarHeight As Int = 0"; -_temptitlebarheight = (int) (0); - //BA.debugLineNum = 127;BA.debugLine="If IncludeTitle Then"; -if (true) break; - -case 15: -//if -this.state = 18; -if (_includetitle) { -this.state = 17; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 128;BA.debugLine="TempTitleBarHeight = TitleBarHeight"; -_temptitlebarheight = parent._titlebarheight; - if (true) break; - -case 18: -//C -this.state = 19; -; - //BA.debugLineNum = 130;BA.debugLine="Dim height As Int = Content.Height + ButtonsHeigh"; -_height = (int) (_content.getHeight()+parent._buttonsheight+parent.__c.DipToCurrent((int) (3))+parent.__c.DipToCurrent((int) (3))+_temptitlebarheight); - //BA.debugLineNum = 131;BA.debugLine="Dim width As Int = Content.Width + 4dip"; -_width = (int) (_content.getWidth()+parent.__c.DipToCurrent((int) (4))); - //BA.debugLineNum = 132;BA.debugLine="Dim Top As Int = Round(Background.Height / 2 - he"; -_top = (int) (parent.__c.Round(parent._background.getHeight()/(double)2-_height/(double)2)); - //BA.debugLineNum = 133;BA.debugLine="Dim RemoveTitle As Boolean"; -_removetitle = false; - //BA.debugLineNum = 134;BA.debugLine="If PutAtTop Then"; -if (true) break; - -case 19: -//if -this.state = 28; -if (parent._putattop) { -this.state = 21; -}if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 135;BA.debugLine="Top = 20dip"; -_top = parent.__c.DipToCurrent((int) (20)); - //BA.debugLineNum = 136;BA.debugLine="If Background.Height - Top - height < 200dip The"; -if (true) break; - -case 22: -//if -this.state = 27; -if (parent._background.getHeight()-_top-_height 0 && _i <= limit46) || (step46 < 0 && _i >= limit46)) this.state = 34; -if (true) break; - -case 63: -//C -this.state = 62; -_i = ((int)(0 + _i + step46)) ; -if (true) break; - -case 34: -//C -this.state = 35; - //BA.debugLineNum = 147;BA.debugLine="Dim btype As Int = ButtonsOrder(i)"; -_btype = parent._buttonsorder[_i]; - //BA.debugLineNum = 148;BA.debugLine="Select btype"; -if (true) break; - -case 35: -//select -this.state = 42; -switch (BA.switchObjectToInt(_btype,parent._xui.DialogResponse_Cancel,parent._xui.DialogResponse_Negative,parent._xui.DialogResponse_Positive)) { -case 0: { -this.state = 37; -if (true) break; -} -case 1: { -this.state = 39; -if (true) break; -} -case 2: { -this.state = 41; -if (true) break; -} -} -if (true) break; - -case 37: -//C -this.state = 42; - //BA.debugLineNum = 150;BA.debugLine="CreateButton(Cancel, btype)"; -parent._createbutton(_cancel,_btype); - if (true) break; - -case 39: -//C -this.state = 42; - //BA.debugLineNum = 152;BA.debugLine="CreateButton(No, btype)"; -parent._createbutton(_no,_btype); - if (true) break; - -case 41: -//C -this.state = 42; - //BA.debugLineNum = 154;BA.debugLine="CreateButton(Yes, btype)"; -parent._createbutton(_yes,_btype); - if (true) break; - -case 42: -//C -this.state = 63; -; - if (true) break; -if (true) break; - -case 43: -//C -this.state = 44; -; - //BA.debugLineNum = 157;BA.debugLine="Base.Visible = False"; -parent._base.setVisible(parent.__c.False); - //BA.debugLineNum = 158;BA.debugLine="If IncludeTitle Then"; -if (true) break; - -case 44: -//if -this.state = 47; -if (_includetitle) { -this.state = 46; -}if (true) break; - -case 46: -//C -this.state = 47; - //BA.debugLineNum = 159;BA.debugLine="TitleBar = xui.CreatePanel(\"TitleBar\")"; -parent._titlebar = parent._xui.CreatePanel(ba,"TitleBar"); - //BA.debugLineNum = 160;BA.debugLine="TitleBar.Color = TitleBarColor"; -parent._titlebar.setColor(parent._titlebarcolor); - //BA.debugLineNum = 161;BA.debugLine="Base.AddView(TitleBar, 2dip, 2dip, Content.Width"; -parent._base.AddView((android.view.View)(parent._titlebar.getObject()),parent.__c.DipToCurrent((int) (2)),parent.__c.DipToCurrent((int) (2)),_content.getWidth(),_temptitlebarheight); - //BA.debugLineNum = 162;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 163;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 164;BA.debugLine="Dim xlbl As B4XView = lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 165;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(xlbl, Ti"; -parent._xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_xlbl,parent._title); - //BA.debugLineNum = 166;BA.debugLine="xlbl.TextColor = TitleBarTextColor"; -_xlbl.setTextColor(parent._titlebartextcolor); - //BA.debugLineNum = 167;BA.debugLine="xlbl.Font = TitleBarFont"; -_xlbl.setFont(parent._titlebarfont); - //BA.debugLineNum = 168;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 169;BA.debugLine="TitleBar.AddView(xlbl, 0, 0, TitleBar.Width, Tit"; -parent._titlebar.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),parent._titlebar.getWidth(),parent._titlebar.getHeight()); - if (true) break; - -case 47: -//C -this.state = 48; -; - //BA.debugLineNum = 171;BA.debugLine="Content.RemoveViewFromParent"; -_content.RemoveViewFromParent(); - //BA.debugLineNum = 172;BA.debugLine="Base.AddView(Content, 2dip, 2dip + TempTitleBarHe"; -parent._base.AddView((android.view.View)(_content.getObject()),parent.__c.DipToCurrent((int) (2)),(int) (parent.__c.DipToCurrent((int) (2))+_temptitlebarheight),_content.getWidth(),_content.getHeight()); - //BA.debugLineNum = 173;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; -parent._base.SetVisibleAnimated(parent._visibleanimationduration,parent.__c.True); - //BA.debugLineNum = 174;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; -if (true) break; - -case 48: -//for -this.state = 51; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -group74 = parent._background.GetAllViewsRecursive(); -index74 = 0; -groupLen74 = group74.getSize(); -this.state = 64; -if (true) break; - -case 64: -//C -this.state = 51; -if (index74 < groupLen74) { -this.state = 50; -_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group74.Get(index74)));} -if (true) break; - -case 65: -//C -this.state = 64; -index74++; -if (true) break; - -case 50: -//C -this.state = 65; - //BA.debugLineNum = 175;BA.debugLine="v.Enabled = True"; -_v.setEnabled(parent.__c.True); - if (true) break; -if (true) break; - -case 51: -//C -this.state = 52; -; - //BA.debugLineNum = 177;BA.debugLine="Wait For CloseMessage (Result As Int)"; -parent.__c.WaitFor("closemessage", ba, this, null); -this.state = 66; -return; -case 66: -//C -this.state = 52; -_result = (Integer) result[0]; -; - //BA.debugLineNum = 178;BA.debugLine="For Each v As B4XView In Background.GetAllViewsRe"; -if (true) break; - -case 52: -//for -this.state = 55; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -group78 = parent._background.GetAllViewsRecursive(); -index78 = 0; -groupLen78 = group78.getSize(); -this.state = 67; -if (true) break; - -case 67: -//C -this.state = 55; -if (index78 < groupLen78) { -this.state = 54; -_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group78.Get(index78)));} -if (true) break; - -case 68: -//C -this.state = 67; -index78++; -if (true) break; - -case 54: -//C -this.state = 68; - //BA.debugLineNum = 179;BA.debugLine="v.Enabled = False"; -_v.setEnabled(parent.__c.False); - if (true) break; -if (true) break; - -case 55: -//C -this.state = 56; -; - //BA.debugLineNum = 181;BA.debugLine="Base.SetVisibleAnimated(VisibleAnimationDuration,"; -parent._base.SetVisibleAnimated(parent._visibleanimationduration,parent.__c.False); - //BA.debugLineNum = 182;BA.debugLine="If VisibleAnimationDuration > 0 Then"; -if (true) break; - -case 56: -//if -this.state = 59; -if (parent._visibleanimationduration>0) { -this.state = 58; -}if (true) break; - -case 58: -//C -this.state = 59; - //BA.debugLineNum = 183;BA.debugLine="Sleep(VisibleAnimationDuration)"; -parent.__c.Sleep(ba,this,parent._visibleanimationduration); -this.state = 69; -return; -case 69: -//C -this.state = 59; -; - if (true) break; - -case 59: -//C -this.state = -1; -; - //BA.debugLineNum = 185;BA.debugLine="Background.RemoveViewFromParent"; -parent._background.RemoveViewFromParent(); - //BA.debugLineNum = 186;BA.debugLine="Return Result"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 187;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _closemessage(int _result) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _showtemplate(Object _dialogtemplate,Object _yes,Object _no,Object _cancel) throws Exception{ -ResumableSub_ShowTemplate rsub = new ResumableSub_ShowTemplate(this,_dialogtemplate,_yes,_no,_cancel); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_ShowTemplate extends BA.ResumableSub { -public ResumableSub_ShowTemplate(adm.keymon.com.mx.b4xdialog parent,Object _dialogtemplate,Object _yes,Object _no,Object _cancel) { -this.parent = parent; -this._dialogtemplate = _dialogtemplate; -this._yes = _yes; -this._no = _no; -this._cancel = _cancel; -} -adm.keymon.com.mx.b4xdialog parent; -Object _dialogtemplate; -Object _yes; -Object _no; -Object _cancel; -anywheresoftware.b4a.objects.B4XViewWrapper _content = null; -int _result = 0; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 66;BA.debugLine="Dim content As B4XView = CallSub2(DialogTemplate,"; -_content = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_content = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(parent.__c.CallSubNew2(ba,_dialogtemplate,"GetPanel",parent))); - //BA.debugLineNum = 67;BA.debugLine="CallSub2(DialogTemplate, \"Show\", Me)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"Show",parent); - //BA.debugLineNum = 68;BA.debugLine="Wait For (ShowCustom(content , Yes, No, Cancel))"; -parent.__c.WaitFor("complete", ba, this, parent._showcustom(_content,_yes,_no,_cancel)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -_result = (Integer) result[0]; -; - //BA.debugLineNum = 69;BA.debugLine="CallSub2(DialogTemplate, \"DialogClosed\", Result)"; -parent.__c.CallSubNew2(ba,_dialogtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 70;BA.debugLine="PutAtTop = False"; -parent._putattop = parent.__c.False; - //BA.debugLineNum = 71;BA.debugLine="Return Result"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_result));return;}; - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _stub_click() throws Exception{ - //BA.debugLineNum = 349;BA.debugLine="Private Sub Stub_Click"; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return ""; -} -public String _updateblur() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _source = null; -b4a.example.bitmapcreator _blurred = null; - //BA.debugLineNum = 274;BA.debugLine="Private Sub UpdateBlur"; - //BA.debugLineNum = 275;BA.debugLine="If BlurBackground = False Then Return"; -if (_blurbackground==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 276;BA.debugLine="Background.Visible = False"; -_background.setVisible(__c.False); - //BA.debugLineNum = 277;BA.debugLine="Dim source As B4XBitmap = Background.Parent.Snaps"; -_source = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_source = _background.getParent().Snapshot(); - //BA.debugLineNum = 278;BA.debugLine="If source.Width > Background.Width Or source.Heig"; -if (_source.getWidth()>_background.getWidth() || _source.getHeight()>_background.getHeight()) { - //BA.debugLineNum = 279;BA.debugLine="source = source.Crop(0, 0, Background.Width, Bac"; -_source = _source.Crop((int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - }; - //BA.debugLineNum = 281;BA.debugLine="Background.Visible = True"; -_background.setVisible(__c.True); - //BA.debugLineNum = 282;BA.debugLine="BlurImageView.SetLayoutAnimated(0, 0, 0, Backgrou"; -_blurimageview.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_background.getWidth(),_background.getHeight()); - //BA.debugLineNum = 283;BA.debugLine="Dim blurred As BitmapCreator = Blur(source)"; -_blurred = _blur(_source); - //BA.debugLineNum = 284;BA.debugLine="blurred.SetBitmapToImageView(blurred.Bitmap, Blur"; -_blurred._setbitmaptoimageview(_blurred._getbitmap(),_blurimageview); - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xfloattextfield.java b/B4A/Objects/src/adm/keymon/com/mx/b4xfloattextfield.java deleted file mode 100644 index 6cf649f..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xfloattextfield.java +++ /dev/null @@ -1,856 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xfloattextfield extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xfloattextfield"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xfloattextfield.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mtextfield = null; -public int _animationduration = 0; -public float _largelabeltextsize = 0f; -public float _smalllabeltextsize = 0f; -public boolean _largelabel = false; -public anywheresoftware.b4a.objects.B4XCanvas _measuringcanvas = null; -public int _hintcolor = 0; -public int _nonfocusedhintcolor = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _hintimageview = null; -public String _hinttext = ""; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _hintfont = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _largefocused = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _largenotfocused = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _smallfocused = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _smallnotfocused = null; -public boolean _focused = false; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblclear = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblv = null; -public anywheresoftware.b4a.objects.collections.Map _mprops = null; -public Object _tag = null; -public String _keyboardtype = ""; -public boolean _multiline = false; -public adm.keymon.com.mx.b4xfloattextfield _mnexttextfield = null; -public anywheresoftware.b4a.objects.IME _ime = null; -public int _hintlabellargeoffsetx = 0; -public int _hintlabelsmalloffsety = 0; -public int _hintlabelsmalloffsetx = 0; -public long _lastswitchtextfieldtime = 0L; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ -int _firstdistance = 0; - //BA.debugLineNum = 196;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 197;BA.debugLine="mTextField.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mtextfield.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 198;BA.debugLine="Dim FirstDistance As Int = 2dip"; -_firstdistance = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 199;BA.debugLine="If Multiline And xui.IsB4J Then FirstDistance = 2"; -if (_multiline && _xui.getIsB4J()) { -_firstdistance = __c.DipToCurrent((int) (22));}; - //BA.debugLineNum = 200;BA.debugLine="If lblV.IsInitialized Then"; -if (_lblv.IsInitialized()) { - //BA.debugLineNum = 201;BA.debugLine="lblV.SetLayoutAnimated(0, Width - lblV.Width - F"; -_lblv.SetLayoutAnimated((int) (0),(int) (_width-_lblv.getWidth()-_firstdistance),(int) (0),_lblv.getWidth(),(int) (_height)); - //BA.debugLineNum = 202;BA.debugLine="FirstDistance = FirstDistance + lblV.Width + 2di"; -_firstdistance = (int) (_firstdistance+_lblv.getWidth()+__c.DipToCurrent((int) (2))); - }; - //BA.debugLineNum = 204;BA.debugLine="If lblClear.IsInitialized Then"; -if (_lblclear.IsInitialized()) { - //BA.debugLineNum = 205;BA.debugLine="lblClear.SetLayoutAnimated(0, Width - lblClear.W"; -_lblclear.SetLayoutAnimated((int) (0),(int) (_width-_lblclear.getWidth()-_firstdistance),(int) (0),_lblclear.getWidth(),(int) (_height)); - }; - //BA.debugLineNum = 207;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 208;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 16;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 17;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 18;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 21;BA.debugLine="Private mTextField As B4XView"; -_mtextfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Public AnimationDuration As Int = 200"; -_animationduration = (int) (200); - //BA.debugLineNum = 23;BA.debugLine="Public LargeLabelTextSize = 18, SmallLabelTextSiz"; -_largelabeltextsize = (float) (18); -_smalllabeltextsize = (float) (14); - //BA.debugLineNum = 24;BA.debugLine="Private LargeLabel As Boolean"; -_largelabel = false; - //BA.debugLineNum = 25;BA.debugLine="Private MeasuringCanvas As B4XCanvas"; -_measuringcanvas = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 26;BA.debugLine="Public HintColor As Int"; -_hintcolor = 0; - //BA.debugLineNum = 27;BA.debugLine="Public NonFocusedHintColor As Int"; -_nonfocusedhintcolor = 0; - //BA.debugLineNum = 28;BA.debugLine="Private HintImageView As B4XView"; -_hintimageview = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Public HintText As String"; -_hinttext = ""; - //BA.debugLineNum = 30;BA.debugLine="Public HintFont As B4XFont"; -_hintfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 31;BA.debugLine="Private LargeFocused, LargeNotFocused, SmallFocus"; -_largefocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_largenotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_smallfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_smallnotfocused = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Public Focused As Boolean"; -_focused = false; - //BA.debugLineNum = 33;BA.debugLine="Public lblClear As B4XView"; -_lblclear = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Public lblV As B4XView"; -_lblv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private mProps As Map"; -_mprops = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 36;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 37;BA.debugLine="Private KeyboardType As String 'ignore"; -_keyboardtype = ""; - //BA.debugLineNum = 38;BA.debugLine="Private Multiline As Boolean"; -_multiline = false; - //BA.debugLineNum = 39;BA.debugLine="Private mNextTextField As B4XFloatTextField"; -_mnexttextfield = new adm.keymon.com.mx.b4xfloattextfield(); - //BA.debugLineNum = 41;BA.debugLine="Private IME As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 46;BA.debugLine="Public HintLabelLargeOffsetX, HintLabelSmallOffse"; -_hintlabellargeoffsetx = 0; -_hintlabelsmalloffsety = __c.DipToCurrent((int) (2)); -_hintlabelsmalloffsetx = __c.DipToCurrent((int) (2)); - //BA.debugLineNum = 47;BA.debugLine="Private LastSwitchTextFieldTime As Long"; -_lastswitchtextfieldtime = 0L; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public String _createacceptbutton() throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Private Sub CreateAcceptButton"; - //BA.debugLineNum = 126;BA.debugLine="If mProps.GetDefault(\"ShowAccept\", True) = False"; -if ((_mprops.GetDefault((Object)("ShowAccept"),(Object)(__c.True))).equals((Object)(__c.False))) { -if (true) return "";}; - //BA.debugLineNum = 127;BA.debugLine="lblV = CreateButton(Chr(0xE5CA))"; -_lblv = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe5ca)))); - //BA.debugLineNum = 128;BA.debugLine="lblV.Tag = \"v\""; -_lblv.setTag((Object)("v")); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _createbitmap(anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r,int _color,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XCanvas _c = null; -int _baseline = 0; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null; - //BA.debugLineNum = 257;BA.debugLine="Private Sub CreateBitmap(r As B4XRect, Color As In"; - //BA.debugLineNum = 258;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 259;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Max(1, r.Width + 2di"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (__c.Max(1,_r.getWidth()+__c.DipToCurrent((int) (2)))),(int) (__c.Max(1,_r.getHeight()+__c.DipToCurrent((int) (2))))); - //BA.debugLineNum = 260;BA.debugLine="Dim c As B4XCanvas"; -_c = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 261;BA.debugLine="c.Initialize(p)"; -_c.Initialize(_p); - //BA.debugLineNum = 262;BA.debugLine="Dim BaseLine As Int = p.Height / 2 - r.Height / 2"; -_baseline = (int) (_p.getHeight()/(double)2-_r.getHeight()/(double)2-_r.getTop()); - //BA.debugLineNum = 263;BA.debugLine="c.DrawText(HintText, p.Width / 2, BaseLine, Fnt,"; -_c.DrawText(ba,_hinttext,(float) (_p.getWidth()/(double)2),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER")); - //BA.debugLineNum = 264;BA.debugLine="Dim bmp As B4XBitmap = c.CreateBitmap"; -_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_bmp = _c.CreateBitmap(); - //BA.debugLineNum = 265;BA.debugLine="c.Release"; -_c.Release(); - //BA.debugLineNum = 266;BA.debugLine="Return bmp"; -if (true) return _bmp; - //BA.debugLineNum = 267;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _createbutton(String _text) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lc = null; -anywheresoftware.b4a.objects.B4XViewWrapper _x = null; - //BA.debugLineNum = 182;BA.debugLine="Private Sub CreateButton (Text As String) As B4XVi"; - //BA.debugLineNum = 183;BA.debugLine="Dim lc As Label"; -_lc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="lc.Initialize(\"lc\")"; -_lc.Initialize(ba,"lc"); - //BA.debugLineNum = 185;BA.debugLine="Dim x As B4XView = lc"; -_x = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 186;BA.debugLine="x = lc"; -_x = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lc.getObject())); - //BA.debugLineNum = 187;BA.debugLine="x.Font = xui.CreateMaterialIcons(20)"; -_x.setFont(_xui.CreateMaterialIcons((float) (20))); - //BA.debugLineNum = 188;BA.debugLine="x.Text = Text"; -_x.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 189;BA.debugLine="x.TextColor = mTextField.TextColor"; -_x.setTextColor(_mtextfield.getTextColor()); - //BA.debugLineNum = 190;BA.debugLine="x.Visible = False"; -_x.setVisible(__c.False); - //BA.debugLineNum = 191;BA.debugLine="x.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_x.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 192;BA.debugLine="mBase.AddView(x, 0, 0, 30dip, 30dip)"; -_mbase.AddView((android.view.View)(_x.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (30)),__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 193;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -return null; -} -public String _createclearbutton() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub CreateClearButton"; - //BA.debugLineNum = 118;BA.debugLine="If mProps.GetDefault(\"ShowClear\", True) = False T"; -if ((_mprops.GetDefault((Object)("ShowClear"),(Object)(__c.True))).equals((Object)(__c.False))) { -if (true) return "";}; - //BA.debugLineNum = 119;BA.debugLine="If lblClear.IsInitialized And lblClear.Parent.IsI"; -if (_lblclear.IsInitialized() && _lblclear.getParent().IsInitialized()) { -_lblclear.RemoveViewFromParent();}; - //BA.debugLineNum = 120;BA.debugLine="lblClear = CreateButton(Chr(0xE14C))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe14c)))); - //BA.debugLineNum = 121;BA.debugLine="lblClear.Tag = \"clear\""; -_lblclear.setTag((Object)("clear")); - //BA.debugLineNum = 123;BA.debugLine="End Sub"; -return ""; -} -public String _createrevealbutton() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Private Sub CreateRevealButton"; - //BA.debugLineNum = 133;BA.debugLine="lblClear = CreateButton(Chr(0xE8F4))"; -_lblclear = _createbutton(BA.ObjectToString(__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 134;BA.debugLine="lblClear.Tag = \"reveal\""; -_lblclear.setTag((Object)("reveal")); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _createtextfield(boolean _password) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _tf = null; - //BA.debugLineNum = 328;BA.debugLine="Private Sub CreateTextField (Password As Boolean)"; - //BA.debugLineNum = 344;BA.debugLine="Dim tf As EditText"; -_tf = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 345;BA.debugLine="tf.Initialize(\"tf\")"; -_tf.Initialize(ba,"tf"); - //BA.debugLineNum = 346;BA.debugLine="tf.SingleLine = Not(Multiline)"; -_tf.setSingleLine(__c.Not(_multiline)); - //BA.debugLineNum = 347;BA.debugLine="tf.PasswordMode = Password"; -_tf.setPasswordMode(_password); - //BA.debugLineNum = 348;BA.debugLine="If Password Then"; -if (_password) { - //BA.debugLineNum = 349;BA.debugLine="If KeyboardType <> \"Text\" Then"; -if ((_keyboardtype).equals("Text") == false) { - //BA.debugLineNum = 350;BA.debugLine="tf.InputType = Bit.Or(tf.INPUT_TYPE_NUMBERS, 16"; -_tf.setInputType(__c.Bit.Or(_tf.INPUT_TYPE_NUMBERS,(int) (16))); - }else { - //BA.debugLineNum = 352;BA.debugLine="tf.InputType = Bit.Or(0x00000080, 0x00080000) '"; -_tf.setInputType(__c.Bit.Or(((int)0x00000080),((int)0x00080000))); - }; - }else { - //BA.debugLineNum = 355;BA.debugLine="Select KeyboardType"; -switch (BA.switchObjectToInt(_keyboardtype,"Numbers","Decimal")) { -case 0: { - //BA.debugLineNum = 357;BA.debugLine="tf.InputType = tf.INPUT_TYPE_NUMBERS"; -_tf.setInputType(_tf.INPUT_TYPE_NUMBERS); - break; } -case 1: { - //BA.debugLineNum = 359;BA.debugLine="tf.InputType = tf.INPUT_TYPE_DECIMAL_NUMBERS"; -_tf.setInputType(_tf.INPUT_TYPE_DECIMAL_NUMBERS); - break; } -} -; - }; - //BA.debugLineNum = 362;BA.debugLine="Return tf"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_tf.getObject())); - //BA.debugLineNum = 386;BA.debugLine="End Sub"; -return null; -} -public String _createtextfieldall(boolean _passwordmode,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1,int _textcolor) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="Private Sub CreateTextFieldAll (PasswordMode As Bo"; - //BA.debugLineNum = 110;BA.debugLine="mTextField = CreateTextField (PasswordMode)"; -_mtextfield = _createtextfield(_passwordmode); - //BA.debugLineNum = 111;BA.debugLine="mTextField.Font = Font1"; -_mtextfield.setFont(_font1); - //BA.debugLineNum = 112;BA.debugLine="mTextField.TextColor = TextColor"; -_mtextfield.setTextColor(_textcolor); - //BA.debugLineNum = 113;BA.debugLine="setNextField(mNextTextField)"; -_setnextfield(_mnexttextfield); - //BA.debugLineNum = 114;BA.debugLine="mBase.AddView(mTextField, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mtextfield.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _passedlabel = null; -anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; -boolean _passwordmode = false; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 67;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 68;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 69;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 70;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 71;BA.debugLine="mProps = Props"; -_mprops = _props; - //BA.debugLineNum = 72;BA.debugLine="Dim PassedLabel As B4XView = lbl"; -_passedlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_passedlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 73;BA.debugLine="Dim iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 74;BA.debugLine="iv.Initialize(\"HintImageView\")"; -_iv.Initialize(ba,"HintImageView"); - //BA.debugLineNum = 75;BA.debugLine="HintImageView = iv"; -_hintimageview = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject())); - //BA.debugLineNum = 76;BA.debugLine="KeyboardType = Props.GetDefault(\"KeyboardType\", \""; -_keyboardtype = BA.ObjectToString(_props.GetDefault((Object)("KeyboardType"),(Object)("Text"))); - //BA.debugLineNum = 82;BA.debugLine="HintColor = xui.PaintOrColorToColor(Props.Get(\"Hi"; -_hintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("HintColor"))); - //BA.debugLineNum = 83;BA.debugLine="NonFocusedHintColor = xui.PaintOrColorToColor(Pro"; -_nonfocusedhintcolor = _xui.PaintOrColorToColor(_props.Get((Object)("NonFocusedHintColor"))); - //BA.debugLineNum = 85;BA.debugLine="HintText = Props.Get(\"Hint\")"; -_hinttext = BA.ObjectToString(_props.Get((Object)("Hint"))); - //BA.debugLineNum = 86;BA.debugLine="HintFont = PassedLabel.Font"; -_hintfont = _passedlabel.getFont(); - //BA.debugLineNum = 87;BA.debugLine="Dim PasswordMode As Boolean = Props.GetDefault(\"P"; -_passwordmode = BA.ObjectToBoolean(_props.GetDefault((Object)("PasswordField"),(Object)(__c.False))); - //BA.debugLineNum = 88;BA.debugLine="Multiline = Props.GetDefault(\"Multiline\", False)"; -_multiline = BA.ObjectToBoolean(_props.GetDefault((Object)("Multiline"),(Object)(__c.False))); - //BA.debugLineNum = 89;BA.debugLine="If PasswordMode And Multiline Then"; -if (_passwordmode && _multiline) { - //BA.debugLineNum = 90;BA.debugLine="Multiline = False"; -_multiline = __c.False; - //BA.debugLineNum = 91;BA.debugLine="Log(\"Multiline not supported with password mode."; -__c.LogImpl("921430296","Multiline not supported with password mode.",0); - }; - //BA.debugLineNum = 93;BA.debugLine="CreateTextFieldAll(PasswordMode, PassedLabel.Font"; -_createtextfieldall(_passwordmode,_passedlabel.getFont(),_xui.PaintOrColorToColor((Object)(_lbl.getTextColor()))); - //BA.debugLineNum = 95;BA.debugLine="mBase.AddView(HintImageView, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_hintimageview.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 96;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 97;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 98;BA.debugLine="MeasuringCanvas.Initialize(p)"; -_measuringcanvas.Initialize(_p); - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="If PasswordMode And Props.GetDefault(\"ShowRevealB"; -if (_passwordmode && BA.ObjectToBoolean(_props.GetDefault((Object)("ShowRevealButton"),(Object)(__c.False)))) { - //BA.debugLineNum = 101;BA.debugLine="CreateRevealButton"; -_createrevealbutton(); - }else { - //BA.debugLineNum = 103;BA.debugLine="CreateClearButton"; -_createclearbutton(); - }; - //BA.debugLineNum = 105;BA.debugLine="CreateAcceptButton"; -_createacceptbutton(); - //BA.debugLineNum = 106;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xfloattextfield _getnextfield() throws Exception{ - //BA.debugLineNum = 295;BA.debugLine="Public Sub getNextField As B4XFloatTextField"; - //BA.debugLineNum = 296;BA.debugLine="Return mNextTextField"; -if (true) return _mnexttextfield; - //BA.debugLineNum = 297;BA.debugLine="End Sub"; -return null; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 388;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 389;BA.debugLine="Return mTextField.Text"; -if (true) return _mtextfield.getText(); - //BA.debugLineNum = 390;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _gettextfield() throws Exception{ - //BA.debugLineNum = 445;BA.debugLine="Public Sub getTextField As B4XView"; - //BA.debugLineNum = 446;BA.debugLine="Return mTextField"; -if (true) return _mtextfield; - //BA.debugLineNum = 447;BA.debugLine="End Sub"; -return null; -} -public boolean _ime_handleaction() throws Exception{ - //BA.debugLineNum = 314;BA.debugLine="Private Sub ime_HandleAction As Boolean"; - //BA.debugLineNum = 315;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 316;BA.debugLine="If mNextTextField.IsInitialized Then Return True"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()) { -if (true) return __c.True;}; - //BA.debugLineNum = 317;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 318;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 50;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 51;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 52;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 53;BA.debugLine="If xui.IsB4A Then"; -if (_xui.getIsB4A()) { - //BA.debugLineNum = 54;BA.debugLine="HintLabelLargeOffsetX = 6dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (6)); - }else { - //BA.debugLineNum = 56;BA.debugLine="HintLabelLargeOffsetX = 12dip"; -_hintlabellargeoffsetx = __c.DipToCurrent((int) (12)); - }; - //BA.debugLineNum = 59;BA.debugLine="IME.Initialize(\"ime\")"; -_ime.Initialize("ime"); - //BA.debugLineNum = 65;BA.debugLine="End Sub"; -return ""; -} -public String _lc_click() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _btn = null; - //BA.debugLineNum = 403;BA.debugLine="Private Sub lc_Click"; - //BA.debugLineNum = 404;BA.debugLine="Dim btn As B4XView = Sender"; -_btn = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_btn = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))); - //BA.debugLineNum = 405;BA.debugLine="Select btn.Tag"; -switch (BA.switchObjectToInt(_btn.getTag(),(Object)("clear"),(Object)("reveal"),(Object)("hide"),(Object)("v"))) { -case 0: { - //BA.debugLineNum = 407;BA.debugLine="setText(\"\")"; -_settext(""); - break; } -case 1: { - //BA.debugLineNum = 409;BA.debugLine="SwitchFromPasswordToRegular (True)"; -_switchfrompasswordtoregular(__c.True); - break; } -case 2: { - //BA.debugLineNum = 411;BA.debugLine="SwitchFromPasswordToRegular(False)"; -_switchfrompasswordtoregular(__c.False); - break; } -case 3: { - //BA.debugLineNum = 413;BA.debugLine="tf_EnterPressed"; -_tf_enterpressed(); - //BA.debugLineNum = 414;BA.debugLine="If mNextTextField.IsInitialized = False Or mNex"; -if (_mnexttextfield.IsInitialized /*boolean*/ ()==__c.False || (_mnexttextfield).equals((adm.keymon.com.mx.b4xfloattextfield)(this))) { - //BA.debugLineNum = 416;BA.debugLine="IME.HideKeyboard"; -_ime.HideKeyboard(ba); - }; - break; } -} -; - //BA.debugLineNum = 422;BA.debugLine="End Sub"; -return ""; -} -public String _requestfocusandshowkeyboard() throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="Public Sub RequestFocusAndShowKeyboard"; - //BA.debugLineNum = 451;BA.debugLine="mTextField.RequestFocus"; -_mtextfield.RequestFocus(); - //BA.debugLineNum = 453;BA.debugLine="IME.ShowKeyboard(mTextField)"; -_ime.ShowKeyboard((android.view.View)(_mtextfield.getObject())); - //BA.debugLineNum = 455;BA.debugLine="End Sub"; -return ""; -} -public String _setnextfield(adm.keymon.com.mx.b4xfloattextfield _field) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; -Object _o = null; - //BA.debugLineNum = 299;BA.debugLine="Public Sub setNextField (Field As B4XFloatTextFiel"; - //BA.debugLineNum = 300;BA.debugLine="If Field.IsInitialized = False Then Return"; -if (_field.IsInitialized /*boolean*/ ()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 302;BA.debugLine="If Multiline = False Then"; -if (_multiline==__c.False) { - //BA.debugLineNum = 303;BA.debugLine="If Field <> Me Then"; -if ((_field).equals((adm.keymon.com.mx.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 304;BA.debugLine="IME.AddHandleActionEvent(mTextField)"; -_ime.AddHandleActionEvent((android.widget.EditText)(_mtextfield.getObject()),ba); - }; - //BA.debugLineNum = 306;BA.debugLine="Dim et As EditText = mTextField"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_mtextfield.getObject())); - //BA.debugLineNum = 307;BA.debugLine="et.ForceDoneButton = True"; -_et.setForceDoneButton(__c.True); - }; - //BA.debugLineNum = 310;BA.debugLine="Dim o As Object = Field"; -_o = (Object)(_field); - //BA.debugLineNum = 311;BA.debugLine="mNextTextField = o"; -_mnexttextfield = (adm.keymon.com.mx.b4xfloattextfield)(_o); - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return ""; -} -public String _settext(String _s) throws Exception{ -String _old = ""; - //BA.debugLineNum = 392;BA.debugLine="Public Sub setText(s As String)"; - //BA.debugLineNum = 393;BA.debugLine="Dim old As String = mTextField.Text 'ignore"; -_old = _mtextfield.getText(); - //BA.debugLineNum = 394;BA.debugLine="mTextField.Text = s"; -_mtextfield.setText(BA.ObjectToCharSequence(_s)); - //BA.debugLineNum = 396;BA.debugLine="If IsPaused(Me) Then tf_TextChanged(old, s)"; -if (__c.IsPaused(ba,this)) { -_tf_textchanged(_old,_s);}; - //BA.debugLineNum = 400;BA.debugLine="End Sub"; -return ""; -} -public void _switchfrompasswordtoregular(boolean _toregular) throws Exception{ -ResumableSub_SwitchFromPasswordToRegular rsub = new ResumableSub_SwitchFromPasswordToRegular(this,_toregular); -rsub.resume(ba, null); -} -public static class ResumableSub_SwitchFromPasswordToRegular extends BA.ResumableSub { -public ResumableSub_SwitchFromPasswordToRegular(adm.keymon.com.mx.b4xfloattextfield parent,boolean _toregular) { -this.parent = parent; -this._toregular = _toregular; -} -adm.keymon.com.mx.b4xfloattextfield parent; -boolean _toregular; -String _text = ""; -int _textcolor = 0; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _oldfield = null; -anywheresoftware.b4a.objects.EditTextWrapper _et = 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 = 138;BA.debugLine="Dim text As String = mTextField.Text"; -_text = parent._mtextfield.getText(); - //BA.debugLineNum = 139;BA.debugLine="Dim textcolor As Int = mTextField.TextColor"; -_textcolor = parent._mtextfield.getTextColor(); - //BA.debugLineNum = 140;BA.debugLine="Dim Font1 As B4XFont = mTextField.Font"; -_font1 = parent._mtextfield.getFont(); - //BA.debugLineNum = 141;BA.debugLine="Dim oldfield As B4XView = mTextField"; -_oldfield = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_oldfield = parent._mtextfield; - //BA.debugLineNum = 143;BA.debugLine="CreateTextFieldAll(Not(ToRegular), Font1, textcol"; -parent._createtextfieldall(parent.__c.Not(_toregular),_font1,_textcolor); - //BA.debugLineNum = 144;BA.debugLine="mTextField.Text = text"; -parent._mtextfield.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 145;BA.debugLine="If lblClear.IsInitialized Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if (parent._lblclear.IsInitialized()) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 146;BA.debugLine="If ToRegular = False Then"; -if (true) break; - -case 4: -//if -this.state = 9; -if (_toregular==parent.__c.False) { -this.state = 6; -}else { -this.state = 8; -}if (true) break; - -case 6: -//C -this.state = 9; - //BA.debugLineNum = 147;BA.debugLine="lblClear.Text = Chr(0xE8F4)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f4)))); - //BA.debugLineNum = 148;BA.debugLine="lblClear.Tag = \"reveal\""; -parent._lblclear.setTag((Object)("reveal")); - if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 150;BA.debugLine="lblClear.Tag = \"hide\""; -parent._lblclear.setTag((Object)("hide")); - //BA.debugLineNum = 151;BA.debugLine="lblClear.Text = Chr(0xE8F5)"; -parent._lblclear.setText(BA.ObjectToCharSequence(parent.__c.Chr(((int)0xe8f5)))); - if (true) break; - -case 9: -//C -this.state = 10; -; - //BA.debugLineNum = 153;BA.debugLine="lblClear.BringToFront"; -parent._lblclear.BringToFront(); - if (true) break; -; - //BA.debugLineNum = 155;BA.debugLine="If lblV.IsInitialized Then lblV.BringToFront"; - -case 10: -//if -this.state = 15; -if (parent._lblv.IsInitialized()) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -parent._lblv.BringToFront(); -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 156;BA.debugLine="HintImageView.BringToFront"; -parent._hintimageview.BringToFront(); - //BA.debugLineNum = 157;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -parent._base_resize(parent._mbase.getWidth(),parent._mbase.getHeight()); - //BA.debugLineNum = 162;BA.debugLine="Dim et As EditText = mTextField"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._mtextfield.getObject())); - //BA.debugLineNum = 163;BA.debugLine="et.SelectionStart = mTextField.Text.Length"; -_et.setSelectionStart(parent._mtextfield.getText().length()); - //BA.debugLineNum = 165;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now"; -parent._lastswitchtextfieldtime = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 166;BA.debugLine="mTextField.RequestFocus"; -parent._mtextfield.RequestFocus(); - //BA.debugLineNum = 167;BA.debugLine="oldfield.RemoveViewFromParent"; -_oldfield.RemoveViewFromParent(); - //BA.debugLineNum = 169;BA.debugLine="LastSwitchTextFieldTime = DateTime.Now + 200"; -parent._lastswitchtextfieldtime = (long) (parent.__c.DateTime.getNow()+200); - //BA.debugLineNum = 170;BA.debugLine="et.Enabled = False"; -_et.setEnabled(parent.__c.False); - //BA.debugLineNum = 171;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); -this.state = 20; -return; -case 20: -//C -this.state = 16; -; - //BA.debugLineNum = 172;BA.debugLine="et.Enabled = True"; -_et.setEnabled(parent.__c.True); - //BA.debugLineNum = 173;BA.debugLine="Sleep(50)"; -parent.__c.Sleep(ba,this,(int) (50)); -this.state = 21; -return; -case 21: -//C -this.state = 16; -; - //BA.debugLineNum = 174;BA.debugLine="et.RequestFocus"; -_et.RequestFocus(); - //BA.debugLineNum = 175;BA.debugLine="IME.ShowKeyboard(mTextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._mtextfield.getObject())); - //BA.debugLineNum = 177;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Passwo"; -if (true) break; - -case 16: -//if -this.state = 19; -if (parent._xui.SubExists(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(int) (1))) { -this.state = 18; -}if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 178;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Passwo"; -parent.__c.CallSubDelayed2(ba,parent._mcallback,parent._meventname+"_PasswordRevealChanged",(Object)(_toregular)); - if (true) break; - -case 19: -//C -this.state = -1; -; - //BA.debugLineNum = 180;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _tf_action() throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Private Sub tf_Action"; - //BA.debugLineNum = 278;BA.debugLine="If mNextTextField.IsInitialized And mNextTextFiel"; -if (_mnexttextfield.IsInitialized /*boolean*/ () && (_mnexttextfield).equals((adm.keymon.com.mx.b4xfloattextfield)(this)) == false) { - //BA.debugLineNum = 279;BA.debugLine="mNextTextField.TextField.RequestFocus"; -_mnexttextfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); - }; - //BA.debugLineNum = 281;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_EnterP"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_EnterPressed",(int) (0))) { - //BA.debugLineNum = 282;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_EnterPr"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_EnterPressed"); - }; - //BA.debugLineNum = 284;BA.debugLine="End Sub"; -return ""; -} -public String _tf_beginedit() throws Exception{ - //BA.debugLineNum = 269;BA.debugLine="Private Sub tf_BeginEdit"; - //BA.debugLineNum = 270;BA.debugLine="tf_FocusChanged(True)"; -_tf_focuschanged(__c.True); - //BA.debugLineNum = 271;BA.debugLine="End Sub"; -return ""; -} -public String _tf_endedit() throws Exception{ - //BA.debugLineNum = 273;BA.debugLine="Private Sub tf_EndEdit"; - //BA.debugLineNum = 274;BA.debugLine="tf_FocusChanged(False)"; -_tf_focuschanged(__c.False); - //BA.debugLineNum = 275;BA.debugLine="End Sub"; -return ""; -} -public String _tf_enterpressed() throws Exception{ - //BA.debugLineNum = 320;BA.debugLine="Private Sub tf_EnterPressed"; - //BA.debugLineNum = 321;BA.debugLine="tf_Action"; -_tf_action(); - //BA.debugLineNum = 326;BA.debugLine="End Sub"; -return ""; -} -public String _tf_focuschanged(boolean _hasfocus) throws Exception{ - //BA.debugLineNum = 234;BA.debugLine="Private Sub tf_FocusChanged (HasFocus As Boolean)"; - //BA.debugLineNum = 235;BA.debugLine="Focused = HasFocus"; -_focused = _hasfocus; - //BA.debugLineNum = 236;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 237;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_FocusC"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_FocusChanged",(int) (1))) { - //BA.debugLineNum = 238;BA.debugLine="If LastSwitchTextFieldTime + 100 < DateTime.Now"; -if (_lastswitchtextfieldtime+100<__c.DateTime.getNow()) { - //BA.debugLineNum = 239;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Focus"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_FocusChanged",(Object)(_focused)); - }; - }; - //BA.debugLineNum = 242;BA.debugLine="End Sub"; -return ""; -} -public String _tf_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 287;BA.debugLine="Private Sub tf_TextChanged (Old As String, New As"; - //BA.debugLineNum = 288;BA.debugLine="UpdateLabel(New, False)"; -_updatelabel(_new,__c.False); - //BA.debugLineNum = 289;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TextCh"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TextChanged",(int) (2)) && _mtextfield.IsInitialized()) { - //BA.debugLineNum = 290;BA.debugLine="CallSub3(mCallBack, mEventName & \"_TextChanged\","; -__c.CallSubNew3(ba,_mcallback,_meventname+"_TextChanged",(Object)(_old),(Object)(_new)); - }; - //BA.debugLineNum = 292;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _f = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; - //BA.debugLineNum = 245;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 246;BA.debugLine="Dim f As B4XFont = xui.CreateFont2(HintFont, Lar"; -_f = _xui.CreateFont2(_hintfont,_largelabeltextsize); - //BA.debugLineNum = 247;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 248;BA.debugLine="LargeFocused = CreateBitmap(r, HintColor, f)"; -_largefocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 249;BA.debugLine="LargeNotFocused = CreateBitmap(r, NonFocusedHintC"; -_largenotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 250;BA.debugLine="f = xui.CreateFont2(HintFont, SmallLabelTextSize)"; -_f = _xui.CreateFont2(_hintfont,_smalllabeltextsize); - //BA.debugLineNum = 251;BA.debugLine="Dim r As B4XRect = MeasuringCanvas.MeasureText(Hi"; -_r = _measuringcanvas.MeasureText(_hinttext,_f); - //BA.debugLineNum = 252;BA.debugLine="SmallFocused = CreateBitmap(r, HintColor, f)"; -_smallfocused = _createbitmap(_r,_hintcolor,_f); - //BA.debugLineNum = 253;BA.debugLine="SmallNotFocused = CreateBitmap(r, NonFocusedHintC"; -_smallnotfocused = _createbitmap(_r,_nonfocusedhintcolor,_f); - //BA.debugLineNum = 254;BA.debugLine="UpdateLabel(mTextField.Text, True)"; -_updatelabel(_mtextfield.getText(),__c.True); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return ""; -} -public String _updatelabel(String _txt,boolean _force) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _lbl = null; -boolean _goingtolarge = false; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null; - //BA.debugLineNum = 210;BA.debugLine="Private Sub UpdateLabel (txt As String, force As B"; - //BA.debugLineNum = 211;BA.debugLine="For Each lbl As B4XView In Array As B4XView(lblCl"; -{ -final anywheresoftware.b4a.objects.B4XViewWrapper[] group1 = new anywheresoftware.b4a.objects.B4XViewWrapper[]{_lblclear,_lblv}; -final int groupLen1 = group1.length -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_lbl = group1[index1]; - //BA.debugLineNum = 212;BA.debugLine="If lbl.IsInitialized Then lbl.Visible = Focused"; -if (_lbl.IsInitialized()) { -_lbl.setVisible(_focused && _txt.length()>0);}; - } -}; - //BA.debugLineNum = 215;BA.debugLine="Dim GoingToLarge As Boolean = txt.Length = 0"; -_goingtolarge = _txt.length()==0; - //BA.debugLineNum = 216;BA.debugLine="If GoingToLarge = LargeLabel And force = False Th"; -if (_goingtolarge==_largelabel && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 217;BA.debugLine="Dim b As B4XBitmap"; -_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 218;BA.debugLine="If Focused Then"; -if (_focused) { - //BA.debugLineNum = 219;BA.debugLine="If GoingToLarge Then b = LargeFocused Else b = S"; -if (_goingtolarge) { -_b = _largefocused;} -else { -_b = _smallfocused;}; - }else { - //BA.debugLineNum = 221;BA.debugLine="If GoingToLarge Then b = LargeNotFocused Else b"; -if (_goingtolarge) { -_b = _largenotfocused;} -else { -_b = _smallnotfocused;}; - }; - //BA.debugLineNum = 223;BA.debugLine="If b.IsInitialized = False Then Return"; -if (_b.IsInitialized()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 224;BA.debugLine="HintImageView.SetBitmap(b)"; -_hintimageview.SetBitmap((android.graphics.Bitmap)(_b.getObject())); - //BA.debugLineNum = 225;BA.debugLine="If GoingToLarge Then"; -if (_goingtolarge) { - //BA.debugLineNum = 226;BA.debugLine="HintImageView.SetLayoutAnimated (AnimationDurati"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabellargeoffsetx,(int) (_mbase.getHeight()/(double)2-_b.getHeight()/(double)2),(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 227;BA.debugLine="LargeLabel = True"; -_largelabel = __c.True; - }else { - //BA.debugLineNum = 229;BA.debugLine="HintImageView.SetLayoutAnimated(AnimationDuratio"; -_hintimageview.SetLayoutAnimated(_animationduration,_hintlabelsmalloffsetx,_hintlabelsmalloffsety,(int) (_b.getWidth()),(int) (_b.getHeight())); - //BA.debugLineNum = 230;BA.debugLine="LargeLabel = False"; -_largelabel = __c.False; - }; - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xformatter.java b/B4A/Objects/src/adm/keymon/com/mx/b4xformatter.java deleted file mode 100644 index ea29f25..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xformatter.java +++ /dev/null @@ -1,379 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xformatter extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xformatter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xformatter.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.collections.List _formats = null; -public int _max_value = 0; -public int _min_value = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _b4xformatdata{ -public boolean IsInitialized; -public String Prefix; -public String Postfix; -public int MinimumIntegers; -public int MinimumFractions; -public int MaximumFractions; -public String GroupingCharacter; -public String DecimalPoint; -public int TextColor; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont FormatFont; -public double RangeStart; -public double RangeEnd; -public boolean RemoveMinusSign; -public String IntegerPaddingChar; -public String FractionPaddingChar; -public void Initialize() { -IsInitialized = true; -Prefix = ""; -Postfix = ""; -MinimumIntegers = 0; -MinimumFractions = 0; -MaximumFractions = 0; -GroupingCharacter = ""; -DecimalPoint = ""; -TextColor = 0; -FormatFont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); -RangeStart = 0; -RangeEnd = 0; -RemoveMinusSign = false; -IntegerPaddingChar = ""; -FractionPaddingChar = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _addformatdata(adm.keymon.com.mx.b4xformatter._b4xformatdata _data,double _rangestart,double _rangeend,boolean _includeedges) throws Exception{ -double _factor = 0; - //BA.debugLineNum = 65;BA.debugLine="Public Sub AddFormatData (Data As B4XFormatData, R"; - //BA.debugLineNum = 66;BA.debugLine="Dim factor As Double = Power(10, -Data.MaximumFra"; -_factor = __c.Power(10,-_data.MaximumFractions /*int*/ ); - //BA.debugLineNum = 67;BA.debugLine="If IncludeEdges = False Then"; -if (_includeedges==__c.False) { - //BA.debugLineNum = 68;BA.debugLine="RangeStart = RangeStart + factor"; -_rangestart = _rangestart+_factor; - //BA.debugLineNum = 69;BA.debugLine="RangeEnd = RangeEnd - factor"; -_rangeend = _rangeend-_factor; - }; - //BA.debugLineNum = 71;BA.debugLine="RangeStart = RangeStart - factor / 2"; -_rangestart = _rangestart-_factor/(double)2; - //BA.debugLineNum = 72;BA.debugLine="RangeEnd = RangeEnd + factor / 2"; -_rangeend = _rangeend+_factor/(double)2; - //BA.debugLineNum = 73;BA.debugLine="Data.RangeStart = RangeStart"; -_data.RangeStart /*double*/ = _rangestart; - //BA.debugLineNum = 74;BA.debugLine="Data.RangeEnd = RangeEnd"; -_data.RangeEnd /*double*/ = _rangeend; - //BA.debugLineNum = 75;BA.debugLine="formats.Add(Data)"; -_formats.Add((Object)(_data)); - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Type B4XFormatData (Prefix As String, Postfix As"; -; - //BA.debugLineNum = 6;BA.debugLine="Private formats As List"; -_formats = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 7;BA.debugLine="Public Const MAX_VALUE = 0x7fffffff, MIN_VALUE ="; -_max_value = ((int)0x7fffffff); -_min_value = ((int)0x80000000); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xformatter._b4xformatdata _copyformatdata(adm.keymon.com.mx.b4xformatter._b4xformatdata _data) throws Exception{ -adm.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub CopyFormatData (Data As B4XFormatData)"; - //BA.debugLineNum = 39;BA.debugLine="Dim d As B4XFormatData"; -_d = new adm.keymon.com.mx.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 40;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 41;BA.debugLine="d.DecimalPoint = Data.DecimalPoint"; -_d.DecimalPoint /*String*/ = _data.DecimalPoint /*String*/ ; - //BA.debugLineNum = 42;BA.debugLine="If Data.FormatFont.IsInitialized Then"; -if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { - //BA.debugLineNum = 44;BA.debugLine="d.FormatFont = xui.CreateFont(Data.FormatFont.To"; -_d.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _xui.CreateFont((android.graphics.Typeface)(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .ToNativeFont().getObject()),_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getSize()); - }; - //BA.debugLineNum = 47;BA.debugLine="d.GroupingCharacter = Data.GroupingCharacter"; -_d.GroupingCharacter /*String*/ = _data.GroupingCharacter /*String*/ ; - //BA.debugLineNum = 48;BA.debugLine="d.MaximumFractions = Data.MaximumFractions"; -_d.MaximumFractions /*int*/ = _data.MaximumFractions /*int*/ ; - //BA.debugLineNum = 49;BA.debugLine="d.MinimumFractions = Data.MinimumFractions"; -_d.MinimumFractions /*int*/ = _data.MinimumFractions /*int*/ ; - //BA.debugLineNum = 50;BA.debugLine="d.MinimumIntegers = Data.MinimumIntegers"; -_d.MinimumIntegers /*int*/ = _data.MinimumIntegers /*int*/ ; - //BA.debugLineNum = 51;BA.debugLine="d.Postfix = Data.Postfix"; -_d.Postfix /*String*/ = _data.Postfix /*String*/ ; - //BA.debugLineNum = 52;BA.debugLine="d.Prefix = Data.Prefix"; -_d.Prefix /*String*/ = _data.Prefix /*String*/ ; - //BA.debugLineNum = 53;BA.debugLine="d.RangeEnd = Data.RangeEnd"; -_d.RangeEnd /*double*/ = _data.RangeEnd /*double*/ ; - //BA.debugLineNum = 54;BA.debugLine="d.RangeStart = Data.RangeStart"; -_d.RangeStart /*double*/ = _data.RangeStart /*double*/ ; - //BA.debugLineNum = 55;BA.debugLine="d.RemoveMinusSign = Data.RemoveMinusSign"; -_d.RemoveMinusSign /*boolean*/ = _data.RemoveMinusSign /*boolean*/ ; - //BA.debugLineNum = 56;BA.debugLine="d.TextColor = Data.TextColor"; -_d.TextColor /*int*/ = _data.TextColor /*int*/ ; - //BA.debugLineNum = 57;BA.debugLine="d.FractionPaddingChar = Data.FractionPaddingChar"; -_d.FractionPaddingChar /*String*/ = _data.FractionPaddingChar /*String*/ ; - //BA.debugLineNum = 58;BA.debugLine="d.IntegerPaddingChar = Data.IntegerPaddingChar"; -_d.IntegerPaddingChar /*String*/ = _data.IntegerPaddingChar /*String*/ ; - //BA.debugLineNum = 59;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xformatter._b4xformatdata _createdefaultformat() throws Exception{ -adm.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 19;BA.debugLine="Private Sub CreateDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 20;BA.debugLine="Dim d As B4XFormatData"; -_d = new adm.keymon.com.mx.b4xformatter._b4xformatdata(); - //BA.debugLineNum = 21;BA.debugLine="d.Initialize"; -_d.Initialize(); - //BA.debugLineNum = 22;BA.debugLine="d.GroupingCharacter = \",\""; -_d.GroupingCharacter /*String*/ = ","; - //BA.debugLineNum = 23;BA.debugLine="d.DecimalPoint = \".\""; -_d.DecimalPoint /*String*/ = "."; - //BA.debugLineNum = 24;BA.debugLine="d.MaximumFractions = 3"; -_d.MaximumFractions /*int*/ = (int) (3); - //BA.debugLineNum = 25;BA.debugLine="d.MinimumIntegers = 1"; -_d.MinimumIntegers /*int*/ = (int) (1); - //BA.debugLineNum = 26;BA.debugLine="d.IntegerPaddingChar = \"0\""; -_d.IntegerPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 27;BA.debugLine="d.FractionPaddingChar = \"0\""; -_d.FractionPaddingChar /*String*/ = "0"; - //BA.debugLineNum = 28;BA.debugLine="Return d"; -if (true) return _d; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public String _format(double _number) throws Exception{ -adm.keymon.com.mx.b4xformatter._b4xformatdata _data = null; -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -int _numberstartindex = 0; -double _factor = 0; -int _whole = 0; -double _frac = 0; -int _g = 0; -int _fracstartindex = 0; -int _lastzerocount = 0; -int _multipler = 0; -int _w = 0; - //BA.debugLineNum = 92;BA.debugLine="Public Sub Format (Number As Double) As String"; - //BA.debugLineNum = 93;BA.debugLine="If Number < MIN_VALUE Or Number > MAX_VALUE Then"; -if (_number<_min_value || _number>_max_value) { -if (true) return "OVERFLOW";}; - //BA.debugLineNum = 94;BA.debugLine="Dim data As B4XFormatData = GetFormatData (Number"; -_data = _getformatdata(_number); - //BA.debugLineNum = 95;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 96;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 97;BA.debugLine="sb.Append(data.Prefix)"; -_sb.Append(_data.Prefix /*String*/ ); - //BA.debugLineNum = 98;BA.debugLine="Dim NumberStartIndex As Int = sb.Length"; -_numberstartindex = _sb.getLength(); - //BA.debugLineNum = 99;BA.debugLine="Dim factor As Double = Power(10, -data.MaximumFra"; -_factor = __c.Power(10,-_data.MaximumFractions /*int*/ -1)*5; - //BA.debugLineNum = 100;BA.debugLine="If Number < -factor And data.RemoveMinusSign = Fa"; -if (_number<-_factor && _data.RemoveMinusSign /*boolean*/ ==__c.False) { - //BA.debugLineNum = 101;BA.debugLine="sb.Append(\"-\")"; -_sb.Append("-"); - //BA.debugLineNum = 102;BA.debugLine="NumberStartIndex = NumberStartIndex + 1"; -_numberstartindex = (int) (_numberstartindex+1); - }; - //BA.debugLineNum = 104;BA.debugLine="Number = Abs(Number) + factor"; -_number = __c.Abs(_number)+_factor; - //BA.debugLineNum = 105;BA.debugLine="Dim whole As Int = Number"; -_whole = (int) (_number); - //BA.debugLineNum = 106;BA.debugLine="Dim frac As Double = Number - whole"; -_frac = _number-_whole; - //BA.debugLineNum = 107;BA.debugLine="Dim g As Int"; -_g = 0; - //BA.debugLineNum = 108;BA.debugLine="Do While whole > 0"; -while (_whole>0) { - //BA.debugLineNum = 109;BA.debugLine="If g > 0 And g Mod 3 = 0 And data.GroupingCharac"; -if (_g>0 && _g%3==0 && _data.GroupingCharacter /*String*/ .length()>0) { - //BA.debugLineNum = 110;BA.debugLine="sb.Insert(NumberStartIndex, data.GroupingCharac"; -_sb.Insert(_numberstartindex,_data.GroupingCharacter /*String*/ ); - }; - //BA.debugLineNum = 112;BA.debugLine="g = g + 1"; -_g = (int) (_g+1); - //BA.debugLineNum = 113;BA.debugLine="sb.Insert(NumberStartIndex, whole Mod 10)"; -_sb.Insert(_numberstartindex,BA.NumberToString(_whole%10)); - //BA.debugLineNum = 114;BA.debugLine="whole = whole / 10"; -_whole = (int) (_whole/(double)10); - } -; - //BA.debugLineNum = 116;BA.debugLine="Do While sb.Length - NumberStartIndex < data.Mini"; -while (_sb.getLength()-_numberstartindex<_data.MinimumIntegers /*int*/ ) { - //BA.debugLineNum = 117;BA.debugLine="sb.Insert(NumberStartIndex, data.IntegerPaddingC"; -_sb.Insert(_numberstartindex,_data.IntegerPaddingChar /*String*/ ); - } -; - //BA.debugLineNum = 119;BA.debugLine="If data.MaximumFractions > 0 And (data.MinimumFra"; -if (_data.MaximumFractions /*int*/ >0 && (_data.MinimumFractions /*int*/ >0 || _frac>0)) { - //BA.debugLineNum = 120;BA.debugLine="Dim FracStartIndex As Int = sb.Length"; -_fracstartindex = _sb.getLength(); - //BA.debugLineNum = 121;BA.debugLine="Dim LastZeroCount As Int"; -_lastzerocount = 0; - //BA.debugLineNum = 122;BA.debugLine="Dim Multipler As Int = 10"; -_multipler = (int) (10); - //BA.debugLineNum = 123;BA.debugLine="Do While frac >= 2 * factor And sb.Length - Frac"; -while (_frac>=2*_factor && _sb.getLength()-_fracstartindex<_data.MaximumFractions /*int*/ ) { - //BA.debugLineNum = 124;BA.debugLine="Dim w As Int = (frac * Multipler)"; -_w = (int) ((_frac*_multipler)); - //BA.debugLineNum = 125;BA.debugLine="w = w Mod 10"; -_w = (int) (_w%10); - //BA.debugLineNum = 126;BA.debugLine="If w = 0 Then LastZeroCount = LastZeroCount + 1"; -if (_w==0) { -_lastzerocount = (int) (_lastzerocount+1);} -else { -_lastzerocount = (int) (0);}; - //BA.debugLineNum = 127;BA.debugLine="sb.Append(w)"; -_sb.Append(BA.NumberToString(_w)); - //BA.debugLineNum = 128;BA.debugLine="Multipler = Multipler * 10"; -_multipler = (int) (_multipler*10); - } -; - //BA.debugLineNum = 130;BA.debugLine="If data.FractionPaddingChar <> \"0\" And LastZeroC"; -if ((_data.FractionPaddingChar /*String*/ ).equals("0") == false && _lastzerocount>0) { - //BA.debugLineNum = 131;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; -_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); - //BA.debugLineNum = 132;BA.debugLine="LastZeroCount = 0"; -_lastzerocount = (int) (0); - }; - //BA.debugLineNum = 134;BA.debugLine="Do While sb.Length - FracStartIndex < data.Minim"; -while (_sb.getLength()-_fracstartindex<_data.MinimumFractions /*int*/ ) { - //BA.debugLineNum = 135;BA.debugLine="sb.Append(data.FractionPaddingChar)"; -_sb.Append(_data.FractionPaddingChar /*String*/ ); - //BA.debugLineNum = 136;BA.debugLine="LastZeroCount = 0"; -_lastzerocount = (int) (0); - } -; - //BA.debugLineNum = 138;BA.debugLine="LastZeroCount = Min(LastZeroCount, sb.Length - F"; -_lastzerocount = (int) (__c.Min(_lastzerocount,_sb.getLength()-_fracstartindex-_data.MinimumFractions /*int*/ )); - //BA.debugLineNum = 139;BA.debugLine="If LastZeroCount > 0 Then"; -if (_lastzerocount>0) { - //BA.debugLineNum = 140;BA.debugLine="sb.Remove(sb.Length - LastZeroCount, sb.Length)"; -_sb.Remove((int) (_sb.getLength()-_lastzerocount),_sb.getLength()); - }; - //BA.debugLineNum = 142;BA.debugLine="If sb.Length > FracStartIndex Then sb.Insert(Fra"; -if (_sb.getLength()>_fracstartindex) { -_sb.Insert(_fracstartindex,_data.DecimalPoint /*String*/ );}; - }; - //BA.debugLineNum = 144;BA.debugLine="sb.Append(data.Postfix)"; -_sb.Append(_data.Postfix /*String*/ ); - //BA.debugLineNum = 145;BA.debugLine="Return sb.ToString"; -if (true) return _sb.ToString(); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public String _formatlabel(double _number,anywheresoftware.b4a.objects.B4XViewWrapper _label) throws Exception{ -adm.keymon.com.mx.b4xformatter._b4xformatdata _data = null; - //BA.debugLineNum = 150;BA.debugLine="Public Sub FormatLabel (Number As Double, Label As"; - //BA.debugLineNum = 151;BA.debugLine="Label.Text = Format(Number)"; -_label.setText(BA.ObjectToCharSequence(_format(_number))); - //BA.debugLineNum = 152;BA.debugLine="Dim data As B4XFormatData = GetFormatData(Number)"; -_data = _getformatdata(_number); - //BA.debugLineNum = 153;BA.debugLine="If data.TextColor <> 0 Then Label.TextColor = dat"; -if (_data.TextColor /*int*/ !=0) { -_label.setTextColor(_data.TextColor /*int*/ );}; - //BA.debugLineNum = 154;BA.debugLine="If data.FormatFont.IsInitialized Then Label.Font"; -if (_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ .getIsInitialized()) { -_label.setFont(_data.FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );}; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xformatter._b4xformatdata _getdefaultformat() throws Exception{ - //BA.debugLineNum = 78;BA.debugLine="Public Sub GetDefaultFormat As B4XFormatData"; - //BA.debugLineNum = 79;BA.debugLine="Return formats.Get(0)"; -if (true) return (adm.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 80;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xformatter._b4xformatdata _getformatdata(double _number) throws Exception{ -int _i = 0; -adm.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 83;BA.debugLine="Public Sub GetFormatData (Number As Double) As B4X"; - //BA.debugLineNum = 84;BA.debugLine="For i = formats.Size - 1 To 1 Step - 1"; -{ -final int step1 = -1; -final int limit1 = (int) (1); -_i = (int) (_formats.getSize()-1) ; -for (;_i >= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 85;BA.debugLine="Dim d As B4XFormatData = formats.Get(i)"; -_d = (adm.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get(_i)); - //BA.debugLineNum = 86;BA.debugLine="If Number <= d.RangeEnd And Number >= d.RangeSta"; -if (_number<=_d.RangeEnd /*double*/ && _number>=_d.RangeStart /*double*/ ) { -if (true) return _d;}; - } -}; - //BA.debugLineNum = 88;BA.debugLine="Return formats.Get(0)"; -if (true) return (adm.keymon.com.mx.b4xformatter._b4xformatdata)(_formats.Get((int) (0))); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -adm.keymon.com.mx.b4xformatter._b4xformatdata _d = null; - //BA.debugLineNum = 13;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 14;BA.debugLine="formats.Initialize"; -_formats.Initialize(); - //BA.debugLineNum = 15;BA.debugLine="Dim d As B4XFormatData = CreateDefaultFormat"; -_d = _createdefaultformat(); - //BA.debugLineNum = 16;BA.debugLine="AddFormatData(d, MIN_VALUE, MAX_VALUE, True)"; -_addformatdata(_d,_min_value,_max_value,__c.True); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xformatter._b4xformatdata _newformatdata() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub NewFormatData As B4XFormatData"; - //BA.debugLineNum = 33;BA.debugLine="Return CopyFormatData(GetDefaultFormat)"; -if (true) return _copyformatdata(_getdefaultformat()); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4ximageview.java b/B4A/Objects/src/adm/keymon/com/mx/b4ximageview.java deleted file mode 100644 index 120637b..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4ximageview.java +++ /dev/null @@ -1,306 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4ximageview extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4ximageview"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4ximageview.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public Object _tag = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; -public String _mresizemode = ""; -public boolean _mround = false; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _mbitmap = null; -public int _mbackgroundcolor = 0; -public int _mcornersradius = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 7;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 10;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 11;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private mResizeMode As String"; -_mresizemode = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mRound As Boolean"; -_mround = false; - //BA.debugLineNum = 14;BA.debugLine="Private mBitmap As B4XBitmap"; -_mbitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Public mBackgroundColor As Int"; -_mbackgroundcolor = 0; - //BA.debugLineNum = 16;BA.debugLine="Private mCornersRadius As Int"; -_mcornersradius = 0; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 120;BA.debugLine="mBitmap = Null"; -_mbitmap = (anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 121;BA.debugLine="iv.SetBitmap(Null)"; -_iv.SetBitmap((android.graphics.Bitmap)(__c.Null)); - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 25;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 26;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 27;BA.debugLine="Tag = mBase.Tag"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 30;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 31;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 32;BA.debugLine="mRound =Props.Get(\"Round\")"; -_mround = BA.ObjectToBoolean(_props.Get((Object)("Round"))); - //BA.debugLineNum = 33;BA.debugLine="mResizeMode = Props.Get(\"ResizeMode\")"; -_mresizemode = BA.ObjectToString(_props.Get((Object)("ResizeMode"))); - //BA.debugLineNum = 34;BA.debugLine="mBackgroundColor = xui.PaintOrColorToColor(Props."; -_mbackgroundcolor = _xui.PaintOrColorToColor(_props.Get((Object)("BackgroundColor"))); - //BA.debugLineNum = 35;BA.debugLine="mCornersRadius = DipToCurrent(Props.GetDefault(\"C"; -_mcornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(0))))); - //BA.debugLineNum = 36;BA.debugLine="mBase.AddView(iv, 0, 0, mBase.Width, mBase.Height"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 37;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 131;BA.debugLine="Return mBitmap"; -if (true) return _mbitmap; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; -return null; -} -public int _getcornersradius() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub getCornersRadius As Int"; - //BA.debugLineNum = 57;BA.debugLine="Return mCornersRadius"; -if (true) return _mcornersradius; - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return 0; -} -public String _getresizemode() throws Exception{ - //BA.debugLineNum = 67;BA.debugLine="Public Sub getResizeMode As String"; - //BA.debugLineNum = 68;BA.debugLine="Return mResizeMode"; -if (true) return _mresizemode; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public boolean _getroundedimage() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Public Sub getRoundedImage As Boolean"; - //BA.debugLineNum = 46;BA.debugLine="Return mRound"; -if (true) return _mround; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 20;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 21;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _load(String _dir,String _filename) throws Exception{ - //BA.debugLineNum = 110;BA.debugLine="Public Sub Load (Dir As String, FileName As String"; - //BA.debugLineNum = 112;BA.debugLine="setBitmap(LoadBitmapSample(Dir, FileName, mBase.W"; -_setbitmap((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(), (android.graphics.Bitmap)(__c.LoadBitmapSample(_dir,_filename,_mbase.getWidth(),_mbase.getHeight()).getObject()))); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _setbitmap(anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ - //BA.debugLineNum = 124;BA.debugLine="Public Sub setBitmap(Bmp As B4XBitmap)"; - //BA.debugLineNum = 125;BA.debugLine="mBitmap = Bmp"; -_mbitmap = _bmp; - //BA.debugLineNum = 126;BA.debugLine="XUIViewsUtils.SetBitmapAndFill(iv, Bmp)"; -_xuiviewsutils._setbitmapandfill /*String*/ (ba,_iv,_bmp); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setcornersradius(int _i) throws Exception{ - //BA.debugLineNum = 60;BA.debugLine="Public Sub setCornersRadius (i As Int)"; - //BA.debugLineNum = 61;BA.debugLine="mCornersRadius = i"; -_mcornersradius = _i; - //BA.debugLineNum = 62;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return ""; -} -public String _setresizemode(String _s) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Public Sub setResizeMode(s As String)"; - //BA.debugLineNum = 72;BA.debugLine="If s = mResizeMode Then Return"; -if ((_s).equals(_mresizemode)) { -if (true) return "";}; - //BA.debugLineNum = 73;BA.debugLine="mResizeMode = s"; -_mresizemode = _s; - //BA.debugLineNum = 74;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _setroundedimage(boolean _b) throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Public Sub setRoundedImage (b As Boolean)"; - //BA.debugLineNum = 50;BA.debugLine="If b = mRound Then Return"; -if (_b==_mround) { -if (true) return "";}; - //BA.debugLineNum = 51;BA.debugLine="mRound = b"; -_mround = _b; - //BA.debugLineNum = 52;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 53;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ -float _imageviewwidth = 0f; -float _imageviewheight = 0f; -float _bmpratio = 0f; -float _r = 0f; - //BA.debugLineNum = 77;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 78;BA.debugLine="If mBitmap.IsInitialized = False Then Return"; -if (_mbitmap.IsInitialized()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 79;BA.debugLine="UpdateClip"; -_updateclip(); - //BA.debugLineNum = 80;BA.debugLine="Dim ImageViewWidth, ImageViewHeight As Float"; -_imageviewwidth = 0f; -_imageviewheight = 0f; - //BA.debugLineNum = 81;BA.debugLine="Dim bmpRatio As Float = mBitmap.Width / mBitmap.H"; -_bmpratio = (float) (_mbitmap.getWidth()/(double)_mbitmap.getHeight()); - //BA.debugLineNum = 82;BA.debugLine="Select mResizeMode"; -switch (BA.switchObjectToInt(_mresizemode,"FILL","FIT","FILL_WIDTH","FILL_HEIGHT","FILL_NO_DISTORTIONS","NONE")) { -case 0: { - //BA.debugLineNum = 84;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 85;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); - break; } -case 1: { - //BA.debugLineNum = 87;BA.debugLine="Dim r As Float = Min(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Min(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 88;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 89;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); - break; } -case 2: { - //BA.debugLineNum = 91;BA.debugLine="ImageViewWidth = mBase.Width"; -_imageviewwidth = (float) (_mbase.getWidth()); - //BA.debugLineNum = 92;BA.debugLine="ImageViewHeight = ImageViewWidth / bmpRatio"; -_imageviewheight = (float) (_imageviewwidth/(double)_bmpratio); - break; } -case 3: { - //BA.debugLineNum = 94;BA.debugLine="ImageViewHeight = mBase.Height"; -_imageviewheight = (float) (_mbase.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="ImageViewWidth = ImageViewHeight * bmpRatio"; -_imageviewwidth = (float) (_imageviewheight*_bmpratio); - break; } -case 4: { - //BA.debugLineNum = 97;BA.debugLine="Dim r As Float = Max(mBase.Width / mBitmap.Widt"; -_r = (float) (__c.Max(_mbase.getWidth()/(double)_mbitmap.getWidth(),_mbase.getHeight()/(double)_mbitmap.getHeight())); - //BA.debugLineNum = 98;BA.debugLine="ImageViewWidth = mBitmap.Width * r"; -_imageviewwidth = (float) (_mbitmap.getWidth()*_r); - //BA.debugLineNum = 99;BA.debugLine="ImageViewHeight = mBitmap.Height * r"; -_imageviewheight = (float) (_mbitmap.getHeight()*_r); - break; } -case 5: { - //BA.debugLineNum = 101;BA.debugLine="ImageViewWidth = mBitmap.Width"; -_imageviewwidth = (float) (_mbitmap.getWidth()); - //BA.debugLineNum = 102;BA.debugLine="ImageViewHeight = mBitmap.Height"; -_imageviewheight = (float) (_mbitmap.getHeight()); - break; } -default: { - //BA.debugLineNum = 104;BA.debugLine="Log(\"Invalid resize mode: \" & mResizeMode)"; -__c.LogImpl("923789595","Invalid resize mode: "+_mresizemode,0); - break; } -} -; - //BA.debugLineNum = 106;BA.debugLine="iv.SetLayoutAnimated(0, Round(mBase.Width / 2 - I"; -_iv.SetLayoutAnimated((int) (0),(int) (__c.Round(_mbase.getWidth()/(double)2-_imageviewwidth/(double)2)),(int) (__c.Round(_mbase.getHeight()/(double)2-_imageviewheight/(double)2)),(int) (__c.Round(_imageviewwidth)),(int) (__c.Round(_imageviewheight))); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public String _updateclip() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 135;BA.debugLine="Private Sub UpdateClip"; - //BA.debugLineNum = 136;BA.debugLine="If mRound Then"; -if (_mround) { - //BA.debugLineNum = 137;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),(int) (__c.Min(_mbase.getWidth()/(double)2,_mbase.getHeight()/(double)2))); - }else { - //BA.debugLineNum = 139;BA.debugLine="mBase.SetColorAndBorder(mBackgroundColor, 0, 0,"; -_mbase.SetColorAndBorder(_mbackgroundcolor,(int) (0),(int) (0),_mcornersradius); - }; - //BA.debugLineNum = 161;BA.debugLine="Dim jo As JavaObject = mBase"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mbase.getObject())); - //BA.debugLineNum = 162;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(mRound Or"; -_jo.RunMethod("setClipToOutline",new Object[]{(Object)(_mround || _mcornersradius>0)}); - //BA.debugLineNum = 164;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xinputtemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xinputtemplate.java deleted file mode 100644 index 3a7655f..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xinputtemplate.java +++ /dev/null @@ -1,288 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xinputtemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xinputtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xinputtemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public String _text = ""; -public adm.keymon.com.mx.b4xdialog _xdialog = null; -public String _regexpattern = ""; -public anywheresoftware.b4a.objects.B4XViewWrapper _textfield1 = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lbltitle = null; -public anywheresoftware.b4a.objects.IME _ime = null; -public boolean _mallowdecimals = false; -public int _bordercolor = 0; -public int _bordercolorinvalid = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public Text As String"; -_text = ""; - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new adm.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public RegexPattern As String"; -_regexpattern = ""; - //BA.debugLineNum = 7;BA.debugLine="Public TextField1 As B4XView"; -_textfield1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Public lblTitle As B4XView"; -_lbltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private IME As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 12;BA.debugLine="Private mAllowDecimals As Boolean"; -_mallowdecimals = false; - //BA.debugLineNum = 13;BA.debugLine="Private BorderColor = xui.Color_White, BorderColo"; -_bordercolor = _xui.Color_White; -_bordercolorinvalid = _xui.Color_Red; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public String _configurefornumbers(boolean _allowdecimals,boolean _allownegative) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub ConfigureForNumbers (AllowDecimals As B"; - //BA.debugLineNum = 42;BA.debugLine="Dim et As EditText = TextField1"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_textfield1.getObject())); - //BA.debugLineNum = 43;BA.debugLine="If AllowDecimals Or AllowNegative Then"; -if (_allowdecimals || _allownegative) { - //BA.debugLineNum = 44;BA.debugLine="et.InputType = et.INPUT_TYPE_DECIMAL_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_DECIMAL_NUMBERS); - }else { - //BA.debugLineNum = 46;BA.debugLine="et.InputType = et.INPUT_TYPE_NUMBERS"; -_et.setInputType(_et.INPUT_TYPE_NUMBERS); - }; - //BA.debugLineNum = 59;BA.debugLine="If AllowDecimals And AllowNegative Then"; -if (_allowdecimals && _allownegative) { - //BA.debugLineNum = 60;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; -_regexpattern = "^-?(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals && _allownegative==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$\""; -_regexpattern = "^(0|[1-9]\\d*)?(\\.\\d+)?(?<=\\d)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.True) { - //BA.debugLineNum = 64;BA.debugLine="RegexPattern = \"^-?(0|[1-9]\\d*)$\""; -_regexpattern = "^-?(0|[1-9]\\d*)$"; - }else if(_allowdecimals==__c.False && _allownegative==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="RegexPattern = \"^(0|[1-9]\\d*)$\""; -_regexpattern = "^(0|[1-9]\\d*)$"; - }; - //BA.debugLineNum = 68;BA.debugLine="mAllowDecimals = AllowDecimals"; -_mallowdecimals = _allowdecimals; - //BA.debugLineNum = 69;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 138;BA.debugLine="If Result = xui.DialogResponse_Positive Then"; -if (_result==_xui.DialogResponse_Positive) { - //BA.debugLineNum = 139;BA.debugLine="Text = TextField1.Text"; -_text = _textfield1.getText(); - }; - //BA.debugLineNum = 141;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 117;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 17;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 80dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (80))); - //BA.debugLineNum = 19;BA.debugLine="mBase.LoadLayout(\"B4XInputTemplate\")"; -_mbase.LoadLayout("B4XInputTemplate",ba); - //BA.debugLineNum = 20;BA.debugLine="TextField1.TextColor = xui.Color_White"; -_textfield1.setTextColor(_xui.Color_White); - //BA.debugLineNum = 22;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 23;BA.debugLine="Dim jo As JavaObject = TextField1"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_textfield1.getObject())); - //BA.debugLineNum = 24;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; -_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 30;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public boolean _isvalid(String _new) throws Exception{ - //BA.debugLineNum = 103;BA.debugLine="Private Sub IsValid(New As String) As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Return RegexPattern = \"\" Or Regex.IsMatch(RegexPa"; -if (true) return (_regexpattern).equals("") || __c.Regex.IsMatch(_regexpattern,_new); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return false; -} -public String _setborder(int _bc) throws Exception{ - //BA.debugLineNum = 99;BA.debugLine="Private Sub SetBorder(bc As Int)"; - //BA.debugLineNum = 100;BA.debugLine="TextField1.SetColorAndBorder(xui.Color_Transparen"; -_textfield1.SetColorAndBorder(_xui.Color_Transparent,__c.DipToCurrent((int) (1)),_bc,__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 101;BA.debugLine="End Sub"; -return ""; -} -public String _setbordercolor(int _valid,int _invalid) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Public Sub SetBorderColor(Valid As Int, Invalid As"; - //BA.debugLineNum = 35;BA.debugLine="BorderColor = Valid"; -_bordercolor = _valid; - //BA.debugLineNum = 36;BA.debugLine="BorderColorInvalid = Invalid"; -_bordercolorinvalid = _invalid; - //BA.debugLineNum = 37;BA.debugLine="SetBorder(BorderColor)"; -_setborder(_bordercolor); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xinputtemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xinputtemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; -anywheresoftware.b4a.objects.EditTextWrapper _tf = 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 = 121;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 122;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 123;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 124;BA.debugLine="TextField1.Text = Text"; -parent._textfield1.setText(BA.ObjectToCharSequence(parent._text)); - //BA.debugLineNum = 125;BA.debugLine="Validate(Text)"; -parent._validate(parent._text); - //BA.debugLineNum = 126;BA.debugLine="TextField1.RequestFocus"; -parent._textfield1.RequestFocus(); - //BA.debugLineNum = 128;BA.debugLine="Dim tf As EditText = TextField1"; -_tf = new anywheresoftware.b4a.objects.EditTextWrapper(); -_tf = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(parent._textfield1.getObject())); - //BA.debugLineNum = 129;BA.debugLine="tf.SelectAll"; -_tf.SelectAll(); - //BA.debugLineNum = 130;BA.debugLine="IME.ShowKeyboard(TextField1)"; -parent._ime.ShowKeyboard((android.view.View)(parent._textfield1.getObject())); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _textfield1_action() throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub TextField1_Action"; - //BA.debugLineNum = 108;BA.debugLine="TextField1_EnterPressed"; -_textfield1_enterpressed(); - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return ""; -} -public String _textfield1_enterpressed() throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Private Sub TextField1_EnterPressed"; - //BA.debugLineNum = 112;BA.debugLine="If IsValid(TextField1.Text) Then xDialog.Close(xu"; -if (_isvalid(_textfield1.getText())) { -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive);}; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; -return ""; -} -public String _textfield1_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Private Sub TextField1_TextChanged (Old As String,"; - //BA.debugLineNum = 83;BA.debugLine="Validate (New)"; -_validate(_new); - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return ""; -} -public String _validate(String _new) throws Exception{ -int _bc = 0; -boolean _enabled = false; - //BA.debugLineNum = 86;BA.debugLine="Private Sub Validate (New As String)"; - //BA.debugLineNum = 87;BA.debugLine="Dim bc As Int = BorderColor"; -_bc = _bordercolor; - //BA.debugLineNum = 88;BA.debugLine="Dim enabled As Boolean = True"; -_enabled = __c.True; - //BA.debugLineNum = 89;BA.debugLine="If IsValid(New) = False Then"; -if (_isvalid(_new)==__c.False) { - //BA.debugLineNum = 90;BA.debugLine="If New.Length > 0 Then"; -if (_new.length()>0) { - //BA.debugLineNum = 91;BA.debugLine="bc = BorderColorInvalid"; -_bc = _bordercolorinvalid; - }; - //BA.debugLineNum = 93;BA.debugLine="enabled = False"; -_enabled = __c.False; - }; - //BA.debugLineNum = 95;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_enabled); - //BA.debugLineNum = 96;BA.debugLine="SetBorder(bc)"; -_setborder(_bc); - //BA.debugLineNum = 97;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xlisttemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xlisttemplate.java deleted file mode 100644 index ed93bfe..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xlisttemplate.java +++ /dev/null @@ -1,334 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xlisttemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xlisttemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xlisttemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public b4a.example3.customlistview _customlistview1 = null; -public anywheresoftware.b4a.objects.collections.List _options = null; -public String _selecteditem = ""; -public adm.keymon.com.mx.b4xdialog _xdialog = null; -public boolean _allowmultiselection = false; -public int _selectioncolor = 0; -public anywheresoftware.b4a.objects.collections.List _selecteditems = null; -public int _multiselectionminimum = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Options As List"; -_options = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6;BA.debugLine="Public SelectedItem As String"; -_selecteditem = ""; - //BA.debugLineNum = 7;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new adm.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 8;BA.debugLine="Public AllowMultiSelection As Boolean"; -_allowmultiselection = false; - //BA.debugLineNum = 9;BA.debugLine="Public SelectionColor As Int = 0xAA0086FF"; -_selectioncolor = ((int)0xaa0086ff); - //BA.debugLineNum = 10;BA.debugLine="Public SelectedItems As List"; -_selecteditems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 11;BA.debugLine="Public MultiSelectionMinimum As Int = 0"; -_multiselectionminimum = (int) (0); - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ -b4a.example3.customlistview._clvitem _item = null; - //BA.debugLineNum = 76;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 77;BA.debugLine="If Value = \"\" Then Return"; -if ((_value).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 78;BA.debugLine="If AllowMultiSelection Then"; -if (_allowmultiselection) { - //BA.debugLineNum = 79;BA.debugLine="Dim Item As CLVItem = CustomListView1.GetRawList"; -_item = _customlistview1._getrawlistitem(_index); - //BA.debugLineNum = 80;BA.debugLine="SelectItem (Item, True)"; -_selectitem(_item,__c.True); - }else { - //BA.debugLineNum = 82;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 83;BA.debugLine="SelectedItems.Clear"; -_selecteditems.Clear(); - //BA.debugLineNum = 84;BA.debugLine="SelectedItems.Add(Value)"; -_selecteditems.Add(_value); - //BA.debugLineNum = 85;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 38;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 14;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 15;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 16;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 17;BA.debugLine="mBase.LoadLayout(\"ListTemplate\")"; -_mbase.LoadLayout("ListTemplate",ba); - //BA.debugLineNum = 18;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 19;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 20;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 21;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 26;BA.debugLine="Options.Initialize"; -_options.Initialize(); - //BA.debugLineNum = 27;BA.debugLine="SelectedItems.Initialize"; -_selecteditems.Initialize(); - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 32;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public String _selectitem(b4a.example3.customlistview._clvitem _item,boolean _toggle) throws Exception{ -int _index = 0; -boolean _selected = false; - //BA.debugLineNum = 59;BA.debugLine="Private Sub SelectItem (Item As CLVItem, Toggle As"; - //BA.debugLineNum = 60;BA.debugLine="Dim index As Int = SelectedItems.IndexOf(Item.Val"; -_index = _selecteditems.IndexOf(_item.Value); - //BA.debugLineNum = 61;BA.debugLine="Dim Selected As Boolean = index > -1"; -_selected = _index>-1; - //BA.debugLineNum = 62;BA.debugLine="If Toggle Then Selected = Not(Selected)"; -if (_toggle) { -_selected = __c.Not(_selected);}; - //BA.debugLineNum = 63;BA.debugLine="If Selected Then"; -if (_selected) { - //BA.debugLineNum = 64;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = Selection"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_selectioncolor);}; - //BA.debugLineNum = 65;BA.debugLine="Item.Color = CustomListView1.DefaultTextBackgrou"; -_item.Color = _customlistview1._defaulttextbackgroundcolor; - //BA.debugLineNum = 66;BA.debugLine="If index = -1 Then SelectedItems.Add(Item.Value)"; -if (_index==-1) { -_selecteditems.Add(_item.Value);}; - }else { - //BA.debugLineNum = 68;BA.debugLine="Item.Color = SelectionColor"; -_item.Color = _selectioncolor; - //BA.debugLineNum = 69;BA.debugLine="If Not(Toggle) Then Item.Panel.Color = CustomLis"; -if (__c.Not(_toggle)) { -_item.Panel.setColor(_customlistview1._defaulttextbackgroundcolor);}; - //BA.debugLineNum = 70;BA.debugLine="If index > -1 Then SelectedItems.RemoveAt(index)"; -if (_index>-1) { -_selecteditems.RemoveAt(_index);}; - }; - //BA.debugLineNum = 72;BA.debugLine="xDialog.SetButtonState(xui.DialogResponse_Positiv"; -_xdialog._setbuttonstate /*String*/ (_xui.DialogResponse_Positive,_selecteditems.getSize()>=_multiselectionminimum); - //BA.debugLineNum = 73;BA.debugLine="End Sub"; -return ""; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xlisttemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xlisttemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; -Object _opt = null; -int _i = 0; -b4a.example3.customlistview._clvitem _item = null; -anywheresoftware.b4a.BA.IterableList group3; -int index3; -int groupLen3; -int step8; -int limit8; - -@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 = 42;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 43;BA.debugLine="CustomListView1.Clear"; -parent._customlistview1._clear(); - //BA.debugLineNum = 44;BA.debugLine="For Each opt As Object In Options"; -if (true) break; - -case 1: -//for -this.state = 4; -group3 = parent._options; -index3 = 0; -groupLen3 = group3.getSize(); -this.state = 12; -if (true) break; - -case 12: -//C -this.state = 4; -if (index3 < groupLen3) { -this.state = 3; -_opt = group3.Get(index3);} -if (true) break; - -case 13: -//C -this.state = 12; -index3++; -if (true) break; - -case 3: -//C -this.state = 13; - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.AddTextItem(opt, opt)"; -parent._customlistview1._addtextitem(_opt,_opt); - if (true) break; -if (true) break; -; - //BA.debugLineNum = 47;BA.debugLine="If AllowMultiSelection Then"; - -case 4: -//if -this.state = 11; -if (parent._allowmultiselection) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 48;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); -this.state = 14; -return; -case 14: -//C -this.state = 7; -; - //BA.debugLineNum = 49;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; -if (true) break; - -case 7: -//for -this.state = 10; -step8 = 1; -limit8 = (int) (parent._customlistview1._getsize()-1); -_i = (int) (0) ; -this.state = 15; -if (true) break; - -case 15: -//C -this.state = 10; -if ((step8 > 0 && _i <= limit8) || (step8 < 0 && _i >= limit8)) this.state = 9; -if (true) break; - -case 16: -//C -this.state = 15; -_i = ((int)(0 + _i + step8)) ; -if (true) break; - -case 9: -//C -this.state = 16; - //BA.debugLineNum = 50;BA.debugLine="Dim item As CLVItem = CustomListView1.GetRawLis"; -_item = parent._customlistview1._getrawlistitem(_i); - //BA.debugLineNum = 51;BA.debugLine="SelectItem (item, False)"; -parent._selectitem(_item,parent.__c.False); - if (true) break; -if (true) break; - -case 10: -//C -this.state = 11; -; - if (true) break; - -case 11: -//C -this.state = -1; -; - //BA.debugLineNum = 54;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -parent._xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,parent._customlistview1,parent._customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 55;BA.debugLine="SelectedItem = \"\""; -parent._selecteditem = ""; - //BA.debugLineNum = 57;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xloadingindicator.java b/B4A/Objects/src/adm/keymon/com/mx/b4xloadingindicator.java deleted file mode 100644 index 4c42b09..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xloadingindicator.java +++ /dev/null @@ -1,409 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xloadingindicator extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xloadingindicator"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xloadingindicator.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public int _clr = 0; -public int _index = 0; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public int _duration = 0; -public String _drawingsubname = ""; -public Object _tag = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 38;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 39;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private clr As Int"; -_clr = 0; - //BA.debugLineNum = 13;BA.debugLine="Private index As Int"; -_index = 0; - //BA.debugLineNum = 14;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 15;BA.debugLine="Private duration As Int"; -_duration = 0; - //BA.debugLineNum = 16;BA.debugLine="Private DrawingSubName As String"; -_drawingsubname = ""; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -String _style = ""; - //BA.debugLineNum = 26;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 27;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 28;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 29;BA.debugLine="clr = xui.PaintOrColorToColor(Props.Get(\"Color\""; -_clr = _xui.PaintOrColorToColor(_props.Get((Object)("Color"))); - //BA.debugLineNum = 30;BA.debugLine="Dim style As String= Props.Get(\"IndicatorStyle\")"; -_style = BA.ObjectToString(_props.Get((Object)("IndicatorStyle"))); - //BA.debugLineNum = 31;BA.debugLine="Dim duration As Int = Props.Get(\"Duration\")"; -_duration = (int)(BA.ObjectToNumber(_props.Get((Object)("Duration")))); - //BA.debugLineNum = 32;BA.debugLine="DrawingSubName = \"Draw_\" & style.Replace(\" \", \"\")"; -_drawingsubname = "Draw_"+_style.replace(" ",""); - //BA.debugLineNum = 33;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 34;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc1(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 105;BA.debugLine="Private Sub Draw_Arc1 (Progress As Float)"; - //BA.debugLineNum = 106;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 107;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 108;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 111;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (-(1-_progress)*2*360)); - }; - //BA.debugLineNum = 113;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 114;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 115;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _draw_arc2(float _progress) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -float _r = 0f; - //BA.debugLineNum = 118;BA.debugLine="Private Sub Draw_Arc2 (Progress As Float)"; - //BA.debugLineNum = 119;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 120;BA.debugLine="Dim r As Float = cvs.TargetRect.CenterX - 5dip"; -_r = (float) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 121;BA.debugLine="If Progress < 0.5 Then"; -if (_progress<0.5) { - //BA.debugLineNum = 122;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (_progress*2*360)); - }else { - //BA.debugLineNum = 124;BA.debugLine="p.InitializeArc(cvs.TargetRect.CenterX, cvs.Targ"; -_p.InitializeArc(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),_r,(float) (-90),(float) (360-(_progress-0.5)*2*360)); - }; - //BA.debugLineNum = 126;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 127;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 128;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return ""; -} -public String _draw_fivelines1(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _dx = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 95;BA.debugLine="Private Sub Draw_FiveLines1(Progress As Float)"; - //BA.debugLineNum = 96;BA.debugLine="Dim MinR As Int = 10dip"; -_minr = __c.DipToCurrent((int) (10)); - //BA.debugLineNum = 97;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Height / 2"; -_maxr = (int) (_cvs.getTargetRect().getHeight()/(double)2); - //BA.debugLineNum = 98;BA.debugLine="Dim dx As Int = (cvs.TargetRect.Width - 2dip) / 5"; -_dx = (int) ((_cvs.getTargetRect().getWidth()-__c.DipToCurrent((int) (2)))/(double)5); - //BA.debugLineNum = 99;BA.debugLine="For i = 0 To 4"; -{ -final int step4 = 1; -final int limit4 = (int) (4); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 100;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-30*_i)); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawLine(2dip + i * dx, cvs.TargetRect.Cente"; -_cvs.DrawLine((float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()-_r),(float) (__c.DipToCurrent((int) (2))+_i*_dx),(float) (_cvs.getTargetRect().getCenterY()+_r),_clr,(float) (__c.DipToCurrent((int) (4)))); - } -}; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public String _draw_pacman(float _progress) throws Exception{ -int _dotr = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -int _angle = 0; -int _cx = 0; -int _cy = 0; -int _r = 0; - //BA.debugLineNum = 131;BA.debugLine="Private Sub Draw_PacMan(Progress As Float)"; - //BA.debugLineNum = 132;BA.debugLine="Dim DotR As Int = 5dip"; -_dotr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 133;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.Width - DotR - Prog"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getWidth()-_dotr-_progress*(_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (10)))),_cvs.getTargetRect().getCenterY(),(float) (_dotr),_setalpha(_clr,(int) (255-200*_progress)),__c.True,(float) (0)); - //BA.debugLineNum = 134;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 135;BA.debugLine="Dim angle As Int = 70 * SinD(Progress * 180)"; -_angle = (int) (70*__c.SinD(_progress*180)); - //BA.debugLineNum = 136;BA.debugLine="Dim cx As Int = cvs.TargetRect.CenterX - 5dip"; -_cx = (int) (_cvs.getTargetRect().getCenterX()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 137;BA.debugLine="Dim cy As Int = cvs.TargetRect.CenterY"; -_cy = (int) (_cvs.getTargetRect().getCenterY()); - //BA.debugLineNum = 138;BA.debugLine="Dim r As Int = cvs.TargetRect.CenterY - 5dip"; -_r = (int) (_cvs.getTargetRect().getCenterY()-__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 139;BA.debugLine="If angle = 0 Then"; -if (_angle==0) { - //BA.debugLineNum = 140;BA.debugLine="cvs.DrawCircle(cx, cy, r, clr, True, 0)"; -_cvs.DrawCircle((float) (_cx),(float) (_cy),(float) (_r),_clr,__c.True,(float) (0)); - }else { - //BA.debugLineNum = 142;BA.debugLine="p.InitializeArc(cx, cy , r, -angle / 2, -(360-an"; -_p.InitializeArc((float) (_cx),(float) (_cy),(float) (_r),(float) (-_angle/(double)2),(float) (-(360-_angle))); - //BA.debugLineNum = 143;BA.debugLine="cvs.ClipPath(p)"; -_cvs.ClipPath(_p); - //BA.debugLineNum = 144;BA.debugLine="cvs.DrawRect(cvs.TargetRect, clr, True, 0)"; -_cvs.DrawRect(_cvs.getTargetRect(),_clr,__c.True,(float) (0)); - //BA.debugLineNum = 145;BA.debugLine="cvs.RemoveClip"; -_cvs.RemoveClip(); - }; - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public String _draw_singlecircle(float _progress) throws Exception{ -int _i = 0; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Draw_SingleCircle(Progress As Float)"; - //BA.debugLineNum = 86;BA.debugLine="For i = 0 To 2"; -{ -final int step1 = 1; -final int limit1 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 87;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Targe"; -_cvs.DrawCircle(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),(float) (_cvs.getTargetRect().getCenterX()*_progress),_setalpha(_clr,(int) (255-255*_progress)),__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles1(float _progress) throws Exception{ -float _maxr = 0f; -float _r = 0f; -int _i = 0; -int _alpha = 0; - //BA.debugLineNum = 66;BA.debugLine="Private Sub Draw_ThreeCircles1 (Progress As Float)"; - //BA.debugLineNum = 67;BA.debugLine="Dim MaxR As Float = (cvs.TargetRect.Width / 2 - 2"; -_maxr = (float) ((_cvs.getTargetRect().getWidth()/(double)2-__c.DipToCurrent((int) (20)))/(double)2); - //BA.debugLineNum = 68;BA.debugLine="Dim r As Float = 10dip + MaxR + MaxR * Sin(Progre"; -_r = (float) (__c.DipToCurrent((int) (10))+_maxr+_maxr*__c.Sin(_progress*2*__c.cPI)); - //BA.debugLineNum = 69;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 70;BA.debugLine="Dim alpha As Int = i * 120 + Progress * 360"; -_alpha = (int) (_i*120+_progress*360); - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX + r * SinD"; -_cvs.DrawCircle((float) (_cvs.getTargetRect().getCenterX()+_r*__c.SinD(_alpha)),(float) (_cvs.getTargetRect().getCenterY()+_r*__c.CosD(_alpha)),(float) (__c.DipToCurrent((int) (7))),_clr,__c.True,(float) (__c.DipToCurrent((int) (1)))); - } -}; - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return ""; -} -public String _draw_threecircles2(float _progress) throws Exception{ -int _minr = 0; -int _maxr = 0; -int _i = 0; -float _r = 0f; - //BA.debugLineNum = 76;BA.debugLine="Private Sub Draw_ThreeCircles2 (Progress As Float)"; - //BA.debugLineNum = 77;BA.debugLine="Dim MinR As Int = 5dip"; -_minr = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 78;BA.debugLine="Dim MaxR As Int = cvs.TargetRect.Width / 2 / 3 -"; -_maxr = (int) (_cvs.getTargetRect().getWidth()/(double)2/(double)3-_minr-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 79;BA.debugLine="For i = 0 To 2"; -{ -final int step3 = 1; -final int limit3 = (int) (2); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 80;BA.debugLine="Dim r As Float = MinR + MaxR / 2 + MaxR / 2 * Si"; -_r = (float) (_minr+_maxr/(double)2+_maxr/(double)2*__c.SinD(_progress*360-60*_i)); - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(MaxR + MinR + (MinR + MaxR + 2dip"; -_cvs.DrawCircle((float) (_maxr+_minr+(_minr+_maxr+__c.DipToCurrent((int) (2)))*2*_i),_cvs.getTargetRect().getCenterY(),_r,_clr,__c.True,(float) (0)); - } -}; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _hide() throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub Hide"; - //BA.debugLineNum = 62;BA.debugLine="mBase.Visible = False"; -_mbase.setVisible(__c.False); - //BA.debugLineNum = 63;BA.debugLine="index = index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 21;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 22;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 23;BA.debugLine="End Sub"; -return ""; -} -public void _mainloop() throws Exception{ -ResumableSub_MainLoop rsub = new ResumableSub_MainLoop(this); -rsub.resume(ba, null); -} -public static class ResumableSub_MainLoop extends BA.ResumableSub { -public ResumableSub_MainLoop(adm.keymon.com.mx.b4xloadingindicator parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xloadingindicator parent; -int _myindex = 0; -long _n = 0L; -float _progress = 0f; - -@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 = 43;BA.debugLine="index = index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 44;BA.debugLine="Dim MyIndex As Int = index"; -_myindex = parent._index; - //BA.debugLineNum = 45;BA.debugLine="Dim n As Long = DateTime.Now"; -_n = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 46;BA.debugLine="Do While MyIndex = index"; -if (true) break; - -case 1: -//do while -this.state = 4; -while (_myindex==parent._index) { -this.state = 3; -if (true) break; -} -if (true) break; - -case 3: -//C -this.state = 1; - //BA.debugLineNum = 47;BA.debugLine="Dim progress As Float = (DateTime.Now - n) / dur"; -_progress = (float) ((parent.__c.DateTime.getNow()-_n)/(double)parent._duration); - //BA.debugLineNum = 48;BA.debugLine="progress = progress - Floor(progress)"; -_progress = (float) (_progress-parent.__c.Floor(_progress)); - //BA.debugLineNum = 49;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -parent._cvs.ClearRect(parent._cvs.getTargetRect()); - //BA.debugLineNum = 50;BA.debugLine="CallSub2(Me, DrawingSubName, progress)"; -parent.__c.CallSubNew2(ba,parent,parent._drawingsubname,(Object)(_progress)); - //BA.debugLineNum = 51;BA.debugLine="cvs.Invalidate"; -parent._cvs.Invalidate(); - //BA.debugLineNum = 52;BA.debugLine="Sleep(10)"; -parent.__c.Sleep(ba,this,(int) (10)); -this.state = 5; -return; -case 5: -//C -this.state = 1; -; - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public int _setalpha(int _c,int _alpha) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Private Sub SetAlpha (c As Int, alpha As Int) As I"; - //BA.debugLineNum = 92;BA.debugLine="Return Bit.And(0xffffff, c) + Bit.ShiftLeft(alpha"; -if (true) return (int) (__c.Bit.And(((int)0xffffff),_c)+__c.Bit.ShiftLeft(_alpha,(int) (24))); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return 0; -} -public String _show() throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub Show"; - //BA.debugLineNum = 57;BA.debugLine="mBase.Visible = True"; -_mbase.setVisible(__c.True); - //BA.debugLineNum = 58;BA.debugLine="MainLoop"; -_mainloop(); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "SHOW")) - return _show(); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xlongtexttemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xlongtexttemplate.java deleted file mode 100644 index a7d554a..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xlongtexttemplate.java +++ /dev/null @@ -1,126 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xlongtexttemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xlongtexttemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xlongtexttemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public b4a.example3.customlistview _customlistview1 = null; -public Object _text = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Public Text As Object"; -_text = new Object(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 31;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 10;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (300))); - //BA.debugLineNum = 11;BA.debugLine="mBase.LoadLayout(\"LongTextTemplate\")"; -_mbase.LoadLayout("LongTextTemplate",ba); - //BA.debugLineNum = 12;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 13;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 14;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 15;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 16;BA.debugLine="CustomListView1.sv.Color = 0xFF464646"; -_customlistview1._sv.setColor(((int)0xff464646)); - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 23;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 24;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 25;BA.debugLine="CustomListView1.AsView.SetLayoutAnimated(0, 0, 0,"; -_customlistview1._asview().SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 26;BA.debugLine="CustomListView1.Base_Resize(Width, Height)"; -_customlistview1._base_resize(_width,_height); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 34;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 35;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 36;BA.debugLine="CustomListView1.AddTextItem(Text, \"\")"; -_customlistview1._addtextitem(_text,(Object)("")); - //BA.debugLineNum = 37;BA.debugLine="CustomListView1.GetPanel(0).GetView(0).SetTextAli"; -_customlistview1._getpanel((int) (0)).GetView((int) (0)).SetTextAlignment("TOP","LEFT"); - //BA.debugLineNum = 38;BA.debugLine="XUIViewsUtils.AddStubToCLVIfNeeded(CustomListView"; -_xuiviewsutils._addstubtoclvifneeded /*String*/ (ba,_customlistview1,_customlistview1._defaulttextbackgroundcolor); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xmainpage.java b/B4A/Objects/src/adm/keymon/com/mx/b4xmainpage.java deleted file mode 100644 index 65c6869..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xmainpage.java +++ /dev/null @@ -1,3049 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xmainpage extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xmainpage"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xmainpage.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public String _sdate = ""; -public String _stime = ""; -public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public adm.keymon.com.mx.c_subs _s = null; -public adm.keymon.com.mx.b4xmainpage _login = null; -public adm.keymon.com.mx.c_principal _principal = null; -public adm.keymon.com.mx.c_clientes _clientes = null; -public adm.keymon.com.mx.c_cliente _cliente = null; -public adm.keymon.com.mx.c_productos _productos = null; -public adm.keymon.com.mx.c_updateavailable _updateavailable = null; -public adm.keymon.com.mx.c_mapas _mapas = null; -public adm.keymon.com.mx.c_nuevocliente _nuevocliente = null; -public adm.keymon.com.mx.c_ticketsdia _ticketsdia = null; -public adm.keymon.com.mx.c_noventa _noventa = null; -public adm.keymon.com.mx.c_nota _nota = null; -public adm.keymon.com.mx.c_pedidos _pedidos = null; -public adm.keymon.com.mx.c_promos _promos = null; -public adm.keymon.com.mx.c_historico _historico = null; -public adm.keymon.com.mx.fileprovider _provider = null; -public adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public String _v = ""; -public String _ruta = ""; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public String _lat_gps = ""; -public String _lon_gps = ""; -public String _usuario = ""; -public int _batt = 0; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public String _montoactual = ""; -public String _clientestotal = ""; -public String _clientesventa = ""; -public String _clientesvisitados = ""; -public String _almacen = ""; -public String _rutapreventa = ""; -public String _dbreqserver = ""; -public String _fecharuta = ""; -public boolean _logger = false; -public String _mac_impresora = ""; -public anywheresoftware.b4a.phone.Phone.PhoneId _phn = null; -public anywheresoftware.b4a.objects.EditTextWrapper _user = null; -public anywheresoftware.b4a.objects.EditTextWrapper _pass = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public String _existe = ""; -public String _paso1 = ""; -public anywheresoftware.b4a.objects.LabelWrapper _imen = null; -public String _imei = ""; -public String _alterno = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_menu = null; -public com.rootsoft.rspopupmenu.RSPopupMenu _popupmenu = null; -public adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -public anywheresoftware.b4a.objects.ButtonWrapper _pdf = null; -public batteryprogressviewwrapper.batteryprogressviewWrapper _bpv1 = null; -public int[] _batterystatus = null; -public adm.keymon.com.mx.batteryutilities _bu = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_apk = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _i_engrane = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_main = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_appupdate = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_regesar = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_version = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _entrar = null; -public String _tipo_venta = ""; -public boolean _bterminarclicked = false; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_server = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_server = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_enviarbd = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_importarbd = null; -public anywheresoftware.b4a.objects.IME _ime = null; -public adm.keymon.com.mx.manageexternalstorage _mes1 = null; -public anywheresoftware.b4a.phone.Phone _device = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_server = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guardar = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel11 = null; -public b4a.example3.customlistview _clv_pick_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_pick_ciego = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel4 = null; -public String _q_buscar = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _a = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; -public String _idenviar = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _et_codigo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelarcodigo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_validacion = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_recarga = null; -public String _recarga = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_add_monto = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_can_monto = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar_monto = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_add_monto = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_aceptar_click() throws Exception{ - //BA.debugLineNum = 1150;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 1151;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 1152;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1154;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1155;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1156;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 1158;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -__c.LogImpl("339845896",_a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 1159;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -__c.LogImpl("339845897",_f.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 1161;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1162;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1163;BA.debugLine="cmd.Name = \"select_CAT_PASS_ARQUEO_ADM\""; -_cmd.Name /*String*/ = "select_CAT_PASS_ARQUEO_ADM"; - //BA.debugLineNum = 1164;BA.debugLine="cmd.Parameters = Array As Object(f.GetString(\"CAT"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_f.GetString("CAT_CL_RUTA")),(Object)(_a.GetString("ID_ALMACEN")),(Object)("PREVENTA")}; - //BA.debugLineNum = 1165;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"contrasena\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("contrasena")); - //BA.debugLineNum = 1166;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1167;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 1168;BA.debugLine="End Sub"; -return ""; -} -public String _b_aceptar_monto_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _ci = null; -String _u = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _g = null; - //BA.debugLineNum = 1170;BA.debugLine="Private Sub B_Aceptar_Monto_Click"; - //BA.debugLineNum = 1172;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1173;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1174;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1176;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 1177;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1179;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1180;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1181;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 1184;BA.debugLine="Private cI As Cursor"; -_ci = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1185;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 1186;BA.debugLine="cI=Starter.skmt.ExecQuery(\"select USUARIO from us"; -_ci = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1187;BA.debugLine="cI.Position=0"; -_ci.setPosition((int) (0)); - //BA.debugLineNum = 1188;BA.debugLine="If cI.RowCount > 0 Then u = cI.GetString(\"USUARIO"; -if (_ci.getRowCount()>0) { -_u = _ci.GetString("USUARIO");}; - //BA.debugLineNum = 1189;BA.debugLine="Private g As Cursor = B4XPages.MainPage.skmt.Exec"; -_g = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_g = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from ENV_MONTO_LIQ"))); - //BA.debugLineNum = 1190;BA.debugLine="If g.RowCount = 0 Then"; -if (_g.getRowCount()==0) { - //BA.debugLineNum = 1191;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ENV_MONTO_LIQ VALUES (?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_et_add_monto.getText()),(Object)(_a.GetString("ID_ALMACEN")),(Object)(_f.GetString("CAT_CL_RUTA")),(Object)(_u),(Object)(_sdate+" "+_stime)})); - //BA.debugLineNum = 1192;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1193;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 1195;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MON"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENV_MONTO_LIQ"))); - //BA.debugLineNum = 1196;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1197;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1198;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1199;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1200;BA.debugLine="cmd.Name = \"select_MontoCuenta_ADM\""; -_cmd.Name /*String*/ = "select_MontoCuenta_ADM"; - //BA.debugLineNum = 1202;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"EM"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA"))}; - //BA.debugLineNum = 1203;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLiq"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); - }; - //BA.debugLineNum = 1207;BA.debugLine="c.Close"; -_c.Close(); - }else { - //BA.debugLineNum = 1209;BA.debugLine="Starter.skmt.ExecNonQuery2(\"UPDATE ENV_MONTO_LIQ"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE ENV_MONTO_LIQ SET EML_MONTO = ? WHERE EML_ALMACEN = ? AND EML_RUTA = ? AND EML_USUARIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_et_add_monto.getText(),_a.GetString("ID_ALMACEN"),_f.GetString("CAT_CL_RUTA"),_ci.GetString("USUARIO")})); - //BA.debugLineNum = 1210;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1211;BA.debugLine="a.Close"; -_a.Close(); - //BA.debugLineNum = 1213;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM ENV_MO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM ENV_MONTO_LIQ"))); - //BA.debugLineNum = 1214;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1215;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1216;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1217;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1218;BA.debugLine="cmd.Name = \"select_MontoCuenta_ADM\""; -_cmd.Name /*String*/ = "select_MontoCuenta_ADM"; - //BA.debugLineNum = 1220;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"E"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_USUARIO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA"))}; - //BA.debugLineNum = 1221;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"SelectMontoLi"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("SelectMontoLiq")); - }; - //BA.debugLineNum = 1225;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1229;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 1234;BA.debugLine="End Sub"; -return ""; -} -public String _b_apk_click() throws Exception{ - //BA.debugLineNum = 865;BA.debugLine="Sub b_apk_Click"; - //BA.debugLineNum = 866;BA.debugLine="StartService(appUpdater)"; -__c.StartService(ba,(Object)(_appupdater.getObject())); - //BA.debugLineNum = 867;BA.debugLine="End Sub"; -return ""; -} -public String _b_arqueocieego_click() throws Exception{ - //BA.debugLineNum = 932;BA.debugLine="Private Sub b_arqueocieego_Click"; - //BA.debugLineNum = 933;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM CAT_GUNAPROD"))); - //BA.debugLineNum = 934;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 935;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); - //BA.debugLineNum = 936;BA.debugLine="recarga = \"0\""; -_recarga = "0"; - }else { - //BA.debugLineNum = 938;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 940;BA.debugLine="End Sub"; -return ""; -} -public String _b_can_monto_click() throws Exception{ - //BA.debugLineNum = 1240;BA.debugLine="Private Sub B_Can_Monto_Click"; - //BA.debugLineNum = 1241;BA.debugLine="p_add_monto.Visible = False"; -_p_add_monto.setVisible(__c.False); - //BA.debugLineNum = 1242;BA.debugLine="End Sub"; -return ""; -} -public String _b_cancelarcodigo_click() throws Exception{ - //BA.debugLineNum = 1236;BA.debugLine="Private Sub b_cancelarcodigo_Click"; - //BA.debugLineNum = 1237;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 1238;BA.debugLine="End Sub"; -return ""; -} -public String _b_cargarmonto_click() throws Exception{ - //BA.debugLineNum = 1273;BA.debugLine="Private Sub b_CargarMonto_Click"; - //BA.debugLineNum = 1274;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM kmt_info\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM kmt_info"))); - //BA.debugLineNum = 1275;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1276;BA.debugLine="If c.RowCount < 0 Or c.RowCount = 0 Then"; -if (_c.getRowCount()<0 || _c.getRowCount()==0) { - //BA.debugLineNum = 1277;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); - }else { - //BA.debugLineNum = 1279;BA.debugLine="Subs.panelVisible(p_add_monto,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_add_monto,(int) (0),(int) (0)); - }; - //BA.debugLineNum = 1281;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1282;BA.debugLine="End Sub"; -return ""; -} -public String _b_enviarbd_click() throws Exception{ - //BA.debugLineNum = 914;BA.debugLine="Private Sub b_enviarbd_Click"; - //BA.debugLineNum = 916;BA.debugLine="End Sub"; -return ""; -} -public void _b_enviobd_click() throws Exception{ -ResumableSub_b_envioBD_Click rsub = new ResumableSub_b_envioBD_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_envioBD_Click extends BA.ResumableSub { -public ResumableSub_b_envioBD_Click(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; -String _filename = ""; -anywheresoftware.b4a.phone.Phone.Email _email = null; -anywheresoftware.b4a.objects.IntentWrapper _in = 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 = 1247;BA.debugLine="Dim FileName As String = \"kmt.db\""; -_filename = "kmt.db"; - //BA.debugLineNum = 1249;BA.debugLine="Log(\"xxxxxx:\"&Provider.SharedFolder)"; -parent.__c.LogImpl("340108037","xxxxxx:"+parent._provider._sharedfolder /*String*/ ,0); - //BA.debugLineNum = 1250;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 1251;BA.debugLine="File.Copy(File.DirInternal, FileName, Provider.Sh"; -parent.__c.File.Copy(parent.__c.File.getDirInternal(),_filename,parent._provider._sharedfolder /*String*/ ,_filename); - //BA.debugLineNum = 1252;BA.debugLine="Dim email As Email"; -_email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 1253;BA.debugLine="email.To.Add(\"soporte@keymonsoft.com\")"; -_email.To.Add((Object)("soporte@keymonsoft.com")); - //BA.debugLineNum = 1254;BA.debugLine="email.Subject = \"Envio Base de datos ADM\""; -_email.Subject = "Envio Base de datos ADM"; - //BA.debugLineNum = 1255;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(FileNam"; -_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_filename)); - //BA.debugLineNum = 1257;BA.debugLine="Dim in As Intent = email.GetIntent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); -_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 1258;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; -_in.setFlags((int) (1)); - //BA.debugLineNum = 1259;BA.debugLine="StartActivity(in)"; -parent.__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 1260;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b_guardar_click() throws Exception{ - //BA.debugLineNum = 927;BA.debugLine="Private Sub b_guardar_Click"; - //BA.debugLineNum = 928;BA.debugLine="Starter.reinicializaReqManager(et_server.Text.Tri"; -_starter._reinicializareqmanager /*String*/ (_et_server.getText().trim()); - //BA.debugLineNum = 929;BA.debugLine="p_appUpdate.Visible = False"; -_p_appupdate.setVisible(__c.False); - //BA.debugLineNum = 930;BA.debugLine="End Sub"; -return ""; -} -public void _b_importarbd_click() throws Exception{ -ResumableSub_b_importarBD_Click rsub = new ResumableSub_b_importarBD_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_importarBD_Click extends BA.ResumableSub { -public ResumableSub_b_importarBD_Click(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; -adm.keymon.com.mx.filehandler _fh = null; -adm.keymon.com.mx.filehandler._loadresult _result = 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 = 919;BA.debugLine="Private FH As FileHandler"; -_fh = new adm.keymon.com.mx.filehandler(); - //BA.debugLineNum = 920;BA.debugLine="FH.Initialize"; -_fh._initialize /*String*/ (ba); - //BA.debugLineNum = 921;BA.debugLine="Wait For (FH.Load) Complete (Result As LoadResult"; -parent.__c.WaitFor("complete", ba, this, _fh._load /*anywheresoftware.b4a.keywords.Common.ResumableSubWrapper*/ ()); -this.state = 1; -return; -case 1: -//C -this.state = -1; -_result = (adm.keymon.com.mx.filehandler._loadresult) result[0]; -; - //BA.debugLineNum = 922;BA.debugLine="File.Copy(Result.Dir, Result.FileName, File.DirIn"; -parent.__c.File.Copy(_result.Dir /*String*/ ,_result.FileName /*String*/ ,parent.__c.File.getDirInternal(),"kmt.db"); - //BA.debugLineNum = 923;BA.debugLine="B4XPages.MainPage.skmt.Initialize(Starter.ruta,\"k"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(parent._starter._ruta /*String*/ ,"kmt.db",parent.__c.True); - //BA.debugLineNum = 924;BA.debugLine="ToastMessageShow(\"¡BD importada!\", False)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("¡BD importada!"),parent.__c.False); - //BA.debugLineNum = 925;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _complete(adm.keymon.com.mx.filehandler._loadresult _result) throws Exception{ -} -public String _b_menu_click() throws Exception{ - //BA.debugLineNum = 791;BA.debugLine="Sub b_menu_Click"; - //BA.debugLineNum = 792;BA.debugLine="PopupMenu.Show"; -_popupmenu.Show(); - //BA.debugLineNum = 793;BA.debugLine="End Sub"; -return ""; -} -public String _b_pc_env_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; -anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; -anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; -String _inputtext = ""; -anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; -String _idtext = ""; -String[] _idparts = null; - //BA.debugLineNum = 1021;BA.debugLine="Private Sub B_PC_ENV_Click"; - //BA.debugLineNum = 1023;BA.debugLine="Dim sDate, sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 1024;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 1025;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1026;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1027;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1030;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; -{ -final int step6 = 1; -final int limit6 = (int) (_clv_pick_ciego._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 1032;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetPan"; -_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_itempanel = _clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 1033;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView(0)"; -_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 1034;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1)"; -_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 1035;BA.debugLine="Dim inputText As String = editText.As(EditText)."; -_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 1038;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or inputTe"; -if (__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { - //BA.debugLineNum = 1039;BA.debugLine="inputText = \"0\""; -_inputtext = "0"; - }; - //BA.debugLineNum = 1043;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; -_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 1044;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; -_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 1045;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, idTe"; -_idparts = __c.Regex.Split(__c.CRLF,_idtext); - //BA.debugLineNum = 1047;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 1048;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 1050;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1051;BA.debugLine="If a.RowCount>0 Then"; -if (_a.getRowCount()>0) { - //BA.debugLineNum = 1052;BA.debugLine="a.Position=0"; -_a.setPosition((int) (0)); - }; - //BA.debugLineNum = 1057;BA.debugLine="If inputText <> 0 Then"; -if ((_inputtext).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 1058;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PICK"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 1059;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 1061;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(PC_"; -_skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,_a.GetString("ID_ALMACEN"),_f.GetString("CAT_CL_RUTA"),_sdate+" "+_stime})); - }else { - //BA.debugLineNum = 1063;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update P"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); - }; - }; - //BA.debugLineNum = 1066;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 1067;BA.debugLine="a.Close"; -_a.Close(); - } -}; - //BA.debugLineNum = 1070;BA.debugLine="et_buspc.Text = \"\""; -_et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1071;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 1073;BA.debugLine="End Sub"; -return ""; -} -public String _b_recarga_click() throws Exception{ - //BA.debugLineNum = 1262;BA.debugLine="Private Sub b_recarga_Click"; - //BA.debugLineNum = 1263;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM CAT_GUNAPROD\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM CAT_GUNAPROD"))); - //BA.debugLineNum = 1264;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1265;BA.debugLine="Subs.panelVisible(p_validacion,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_validacion,(int) (0),(int) (0)); - //BA.debugLineNum = 1266;BA.debugLine="recarga = \"1\""; -_recarga = "1"; - }else { - //BA.debugLineNum = 1268;BA.debugLine="MsgboxAsync(\"No hay ruta cargada, favor de carga"; -__c.MsgboxAsync(BA.ObjectToCharSequence("No hay ruta cargada, favor de cargar día"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 1270;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1271;BA.debugLine="End Sub"; -return ""; -} -public String _b_regesar_click() throws Exception{ - //BA.debugLineNum = 893;BA.debugLine="Sub b_regesar_Click"; - //BA.debugLineNum = 894;BA.debugLine="Subs.panelVisible(p_Main,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_main,(int) (0),(int) (0)); - //BA.debugLineNum = 895;BA.debugLine="End Sub"; -return ""; -} -public void _b_terpc_click() throws Exception{ -ResumableSub_b_terpc_Click rsub = new ResumableSub_b_terpc_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_terpc_Click extends BA.ResumableSub { -public ResumableSub_b_terpc_Click(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; -int _resultado = 0; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _itempanel = null; -anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; -anywheresoftware.b4a.objects.B4XViewWrapper _edittext = null; -String _inputtext = ""; -anywheresoftware.b4a.objects.B4XViewWrapper _idlabel = null; -String _idtext = ""; -String[] _idparts = null; -int step12; -int limit12; -int step49; -int limit49; - -@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 = 1076;BA.debugLine="Msgbox2Async(\"Una vez enviada la información no p"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Una vez enviada la información no podras hacer modificaciones"),BA.ObjectToCharSequence("Atención"),"SI","","",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 1077;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 41; -return; -case 41: -//C -this.state = 1; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 1078;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 1: -//if -this.state = 40; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 1079;BA.debugLine="Msgbox2Async(\"Estas seguro de enviar la informac"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Estas seguro de enviar la información?"),BA.ObjectToCharSequence("Atención"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 1080;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 42; -return; -case 42: -//C -this.state = 4; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 1081;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 4: -//if -this.state = 39; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 6; -}else { -this.state = 38; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 1083;BA.debugLine="Dim sDate, sTime As String"; -parent._sdate = ""; -parent._stime = ""; - //BA.debugLineNum = 1084;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -parent.__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 1085;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -parent.__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1086;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1087;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1089;BA.debugLine="For i = 0 To CLV_PICK_CIEGO.Size - 1"; -if (true) break; - -case 7: -//for -this.state = 28; -step12 = 1; -limit12 = (int) (parent._clv_pick_ciego._getsize()-1); -_i = (int) (0) ; -this.state = 43; -if (true) break; - -case 43: -//C -this.state = 28; -if ((step12 > 0 && _i <= limit12) || (step12 < 0 && _i >= limit12)) this.state = 9; -if (true) break; - -case 44: -//C -this.state = 43; -_i = ((int)(0 + _i + step12)) ; -if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 1091;BA.debugLine="Dim itemPanel As B4XView = CLV_PICK_CIEGO.GetP"; -_itempanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_itempanel = parent._clv_pick_ciego._getpanel(_i); - //BA.debugLineNum = 1092;BA.debugLine="Dim innerPanel As B4XView = itemPanel.GetView("; -_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = _itempanel.GetView((int) (0)); - //BA.debugLineNum = 1093;BA.debugLine="Dim editText As B4XView = innerPanel.GetView(1"; -_edittext = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_edittext = _innerpanel.GetView((int) (1)); - //BA.debugLineNum = 1094;BA.debugLine="Dim inputText As String = editText.As(EditText"; -_inputtext = ((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(_edittext.getObject()))).getText(); - //BA.debugLineNum = 1097;BA.debugLine="If Regex.IsMatch(\"^[0]+$\", inputText) Or input"; -if (true) break; - -case 10: -//if -this.state = 13; -if (parent.__c.Regex.IsMatch("^[0]+$",_inputtext) || (_inputtext).equals("")) { -this.state = 12; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 1098;BA.debugLine="inputText = \"0\""; -_inputtext = "0"; - if (true) break; - -case 13: -//C -this.state = 14; -; - //BA.debugLineNum = 1102;BA.debugLine="Dim idLabel As B4XView = innerPanel.GetView(0)"; -_idlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_idlabel = _innerpanel.GetView((int) (0)); - //BA.debugLineNum = 1103;BA.debugLine="Dim idText As String = idLabel.As(Label).Text"; -_idtext = ((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(_idlabel.getObject()))).getText(); - //BA.debugLineNum = 1104;BA.debugLine="Dim idParts() As String = Regex.Split(CRLF, id"; -_idparts = parent.__c.Regex.Split(parent.__c.CRLF,_idtext); - //BA.debugLineNum = 1106;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -parent._f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 1107;BA.debugLine="f.Position=0"; -parent._f.setPosition((int) (0)); - //BA.debugLineNum = 1109;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID_"; -parent._a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 1110;BA.debugLine="If a.RowCount>0 Then"; -if (true) break; - -case 14: -//if -this.state = 17; -if (parent._a.getRowCount()>0) { -this.state = 16; -}if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 1111;BA.debugLine="a.Position=0"; -parent._a.setPosition((int) (0)); - if (true) break; - -case 17: -//C -this.state = 18; -; - //BA.debugLineNum = 1113;BA.debugLine="Log(a.GetString(\"ID_ALMACEN\"))"; -parent.__c.LogImpl("339780390",parent._a.GetString("ID_ALMACEN"),0); - //BA.debugLineNum = 1114;BA.debugLine="Log(f.GetString(\"CAT_CL_RUTA\"))"; -parent.__c.LogImpl("339780391",parent._f.GetString("CAT_CL_RUTA"),0); - //BA.debugLineNum = 1115;BA.debugLine="If inputText <> 0 Then"; -if (true) break; - -case 18: -//if -this.state = 27; -if ((_inputtext).equals(BA.NumberToString(0)) == false) { -this.state = 20; -}if (true) break; - -case 20: -//C -this.state = 21; - //BA.debugLineNum = 1116;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM PI"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO where PC_ID_PROD = ?",new String[]{_idparts[(int) (0)]}))); - //BA.debugLineNum = 1117;BA.debugLine="If c.RowCount = 0 Then"; -if (true) break; - -case 21: -//if -this.state = 26; -if (parent._c.getRowCount()==0) { -this.state = 23; -}else { -this.state = 25; -}if (true) break; - -case 23: -//C -this.state = 26; - //BA.debugLineNum = 1119;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO PICK_CIEGO(P"; -parent._skmt.ExecNonQuery2("INSERT INTO PICK_CIEGO(PC_ID_PROD, PC_NOM_PROD, PC_CANT, PC_ALMACEN, PC_RUTA, PC_FECHA) VALUES(?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_idparts[(int) (0)],_idparts[(int) (1)],_inputtext,parent._a.GetString("ID_ALMACEN"),parent._f.GetString("CAT_CL_RUTA"),parent._sdate+" "+parent._stime})); - if (true) break; - -case 25: -//C -this.state = 26; - //BA.debugLineNum = 1121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update PICK_CIEGO set PC_CANT = ? WHERE PC_ID_PROD = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_inputtext,_idparts[(int) (0)]})); - if (true) break; - -case 26: -//C -this.state = 27; -; - if (true) break; - -case 27: -//C -this.state = 44; -; - //BA.debugLineNum = 1124;BA.debugLine="f.Close"; -parent._f.Close(); - //BA.debugLineNum = 1125;BA.debugLine="a.Close"; -parent._a.Close(); - //BA.debugLineNum = 1126;BA.debugLine="Log(\"Processed item \" & i)"; -parent.__c.LogImpl("339780403","Processed item "+BA.NumberToString(_i),0); - if (true) break; -if (true) break; - -case 28: -//C -this.state = 29; -; - //BA.debugLineNum = 1128;BA.debugLine="Log(\"Finished processing all items\")"; -parent.__c.LogImpl("339780405","Finished processing all items",0); - //BA.debugLineNum = 1129;BA.debugLine="P_CIEGO.Visible = False"; -parent._p_ciego.setVisible(parent.__c.False); - //BA.debugLineNum = 1130;BA.debugLine="et_buspc.Text = \"\""; -parent._et_buspc.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 1131;BA.debugLine="CLV_PICK_CIEGO.Clear"; -parent._clv_pick_ciego._clear(); - //BA.debugLineNum = 1132;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT PC_ID_PROD,"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_ID_PROD, PC_ALMACEN, PC_RUTA, PC_FECHA FROM PICK_CIEGO"))); - //BA.debugLineNum = 1133;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 29: -//if -this.state = 36; -if (parent._c.getRowCount()>0) { -this.state = 31; -}if (true) break; - -case 31: -//C -this.state = 32; - //BA.debugLineNum = 1134;BA.debugLine="For i = 0 To c.RowCount - 1"; -if (true) break; - -case 32: -//for -this.state = 35; -step49 = 1; -limit49 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 45; -if (true) break; - -case 45: -//C -this.state = 35; -if ((step49 > 0 && _i <= limit49) || (step49 < 0 && _i >= limit49)) this.state = 34; -if (true) break; - -case 46: -//C -this.state = 45; -_i = ((int)(0 + _i + step49)) ; -if (true) break; - -case 34: -//C -this.state = 46; - //BA.debugLineNum = 1135;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 1136;BA.debugLine="Dim cmd As DBCommand"; -parent._cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1137;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 1138;BA.debugLine="cmd.Name = \"select_HIST_PICKCIEGO_ADM\" '"; -parent._cmd.Name /*String*/ = "select_HIST_PICKCIEGO_ADM"; - //BA.debugLineNum = 1139;BA.debugLine="cmd.Parameters = Array As Object(c.GetString("; -parent._cmd.Parameters /*Object[]*/ = new Object[]{(Object)(parent._c.GetString("PC_ID_PROD")),(Object)(parent._c.GetString("PC_ALMACEN")),(Object)(parent._c.GetString("PC_RUTA")),(Object)(parent._c.GetString("PC_FECHA")),(Object)("VENTA")}; - //BA.debugLineNum = 1140;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, $\"PICK_C_${c"; -parent._reqmanager._executequery /*String*/ (parent._cmd,(int) (0),(Object)(("PICK_C_"+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("PC_ID_PROD")))+""))); - if (true) break; -if (true) break; - -case 35: -//C -this.state = 36; -; - if (true) break; - -case 36: -//C -this.state = 39; -; - //BA.debugLineNum = 1143;BA.debugLine="c.close"; -parent._c.Close(); - if (true) break; - -case 38: -//C -this.state = 39; - if (true) break; - -case 39: -//C -this.state = 40; -; - if (true) break; - -case 40: -//C -this.state = -1; -; - //BA.debugLineNum = 1148;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _msgbox_result(int _resultado) throws Exception{ -} -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; -anywheresoftware.b4a.phone.Phone _ph = null; -String _deviceid = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c12 = 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 = 306;BA.debugLine="Log(recarga)"; -parent.__c.LogImpl("337945345",parent._recarga,0); - //BA.debugLineNum = 307;BA.debugLine="If Starter.muestraProgreso = 1 Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if ((parent._starter._muestraprogreso /*String*/ ).equals(BA.NumberToString(1))) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 308;BA.debugLine="muestraProgreso(\"Descargando actualización\")"; -parent._muestraprogreso("Descargando actualización"); - //BA.debugLineNum = 309;BA.debugLine="Starter.muestraProgreso = 0"; -parent._starter._muestraprogreso /*String*/ = BA.NumberToString(0); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 311;BA.debugLine="Dim ph As Phone 'Get Id Device"; -_ph = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 312;BA.debugLine="Dim DeviceID As String = ph.GetSettings(\"android_"; -_deviceid = _ph.GetSettings("android_id").toUpperCase(); - //BA.debugLineNum = 313;BA.debugLine="LogColor($\"////////////////// DeviceID: ${Devic"; -parent.__c.LogImpl("337945352",("////////////////// DeviceID: "+parent.__c.SmartStringFormatter("",(Object)(_deviceid))+" ////////////////// "),parent.__c.Colors.Blue); - //BA.debugLineNum = 314;BA.debugLine="DBReqServer = Starter.DBReqServer"; -parent._dbreqserver = parent._starter._dbreqserver /*String*/ ; - //BA.debugLineNum = 315;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; -parent._reqmanager._initialize /*String*/ (ba,parent,parent._starter._dbreqserver /*String*/ ); - //BA.debugLineNum = 316;BA.debugLine="Log(\"|\"&Starter.DBReqServer&\"|\")"; -parent.__c.LogImpl("337945355","|"+parent._starter._dbreqserver /*String*/ +"|",0); - //BA.debugLineNum = 317;BA.debugLine="tgl.Initialize()"; -parent._tgl.Initialize(ba); - //BA.debugLineNum = 318;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (true) break; - -case 5: -//if -this.state = 8; -if (parent.__c.Not(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { -this.state = 7; -}if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 319;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),parent.__c.True); - //BA.debugLineNum = 320;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 23; -return; -case 23: -//C -this.state = 8; -; - //BA.debugLineNum = 321;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -parent.__c.StartActivity(ba,(Object)(parent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - if (true) break; - -case 8: -//C -this.state = 9; -; - //BA.debugLineNum = 323;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as CUANTOS fro"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 324;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 325;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if (true) break; - -case 9: -//if -this.state = 18; -if ((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { -this.state = 11; -}else { -this.state = 13; -}if (true) break; - -case 11: -//C -this.state = 18; - //BA.debugLineNum = 326;BA.debugLine="LogColor($\"No hay fecha: ${c.GetString(\"CUANTOS\""; -parent.__c.LogImpl("337945365",("No hay fecha: "+parent.__c.SmartStringFormatter("",(Object)(parent._c.GetString("CUANTOS")))+""),parent.__c.Colors.Red); - //BA.debugLineNum = 327;BA.debugLine="cmd.Initialize"; -parent._cmd.Initialize(); - //BA.debugLineNum = 328;BA.debugLine="cmd.Name = \"select_fecha\""; -parent._cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 329;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; -parent._reqmanager._executequery /*String*/ (parent._cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 330;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'Ignore"; -parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 331;BA.debugLine="B4XPage_Appear"; -parent._b4xpage_appear(); - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 334;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 335;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 336;BA.debugLine="Dim sDate, sTime As String"; -parent._sdate = ""; -parent._stime = ""; - //BA.debugLineNum = 337;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; -parent.__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 338;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 343;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; -if (true) break; - -case 14: -//if -this.state = 17; -if ((double)(Double.parseDouble(parent._c.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(parent._sdate))) { -this.state = 16; -}if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 344;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; -parent.__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 345;BA.debugLine="B4XPage_Appear"; -parent._b4xpage_appear(); - if (true) break; - -case 17: -//C -this.state = 18; -; - if (true) break; - -case 18: -//C -this.state = 19; -; - //BA.debugLineNum = 348;BA.debugLine="bu.Initialize"; -parent._bu._initialize /*String*/ (ba); - //BA.debugLineNum = 349;BA.debugLine="batterystatus = bu.BatteryInformation"; -parent._batterystatus = parent._bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 352;BA.debugLine="dameUsuario"; -parent._dameusuario(); - //BA.debugLineNum = 374;BA.debugLine="Dim c12 As Cursor = Starter.skmt.ExecQuery(\"SELEC"; -_c12 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c12 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO"))); - //BA.debugLineNum = 375;BA.debugLine="If c12.RowCount > 0 Then"; -if (true) break; - -case 19: -//if -this.state = 22; -if (_c12.getRowCount()>0) { -this.state = 21; -}if (true) break; - -case 21: -//C -this.state = 22; - if (true) break; - -case 22: -//C -this.state = -1; -; - //BA.debugLineNum = 379;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 752;BA.debugLine="Log(\"closreq\")"; -parent.__c.LogImpl("338141953","closreq",0); - //BA.debugLineNum = 753;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 14; -return; -case 14: -//C -this.state = 1; -; - //BA.debugLineNum = 755;BA.debugLine="If p_add_monto.IsInitialized And p_add_monto.Visi"; -if (true) break; - -case 1: -//if -this.state = 10; -if (parent._p_add_monto.IsInitialized() && parent._p_add_monto.getVisible()) { -this.state = 3; -}else if(parent._p_validacion.IsInitialized() && parent._p_validacion.getVisible()) { -this.state = 5; -}else if(parent._p_ciego.IsInitialized() && parent._p_ciego.getVisible()) { -this.state = 7; -}else if(parent._p_appupdate.IsInitialized() && parent._p_appupdate.getVisible()) { -this.state = 9; -}if (true) break; - -case 3: -//C -this.state = 10; - //BA.debugLineNum = 756;BA.debugLine="p_add_monto.Visible = False"; -parent._p_add_monto.setVisible(parent.__c.False); - //BA.debugLineNum = 757;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 5: -//C -this.state = 10; - //BA.debugLineNum = 759;BA.debugLine="p_validacion.Visible = False"; -parent._p_validacion.setVisible(parent.__c.False); - //BA.debugLineNum = 760;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 7: -//C -this.state = 10; - //BA.debugLineNum = 762;BA.debugLine="MsgboxAsync(\"Debes de terminar el proceso para r"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Debes de terminar el proceso para regresar a la pantalla principal"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 763;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 765;BA.debugLine="p_appUpdate.Visible = False"; -parent._p_appupdate.setVisible(parent.__c.False); - //BA.debugLineNum = 766;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; -; - //BA.debugLineNum = 768;BA.debugLine="If Not(p_appUpdate.Visible) Then"; - -case 10: -//if -this.state = 13; -if (parent.__c.Not(parent._p_appupdate.getVisible())) { -this.state = 12; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 769;BA.debugLine="Log(\"ExitApplication\")"; -parent.__c.LogImpl("338141970","ExitApplication",0); - //BA.debugLineNum = 770;BA.debugLine="ExitApplication"; -parent.__c.ExitApplication(); - if (true) break; - -case 13: -//C -this.state = -1; -; - //BA.debugLineNum = 772;BA.debugLine="Return True"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - //BA.debugLineNum = 773;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,_root1); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { -public ResumableSub_B4XPage_Created(adm.keymon.com.mx.b4xmainpage parent,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { -this.parent = parent; -this._root1 = _root1; -} -adm.keymon.com.mx.b4xmainpage parent; -anywheresoftware.b4a.objects.B4XViewWrapper _root1; -String _permission = ""; -boolean _result = false; -int _sdkversion = 0; -anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -int _res = 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 = 131;BA.debugLine="B4XPages.GetManager.LogEvents = True"; -parent._b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (ba)._logevents /*boolean*/ = parent.__c.True; - //BA.debugLineNum = 132;BA.debugLine="Root = Root1"; -parent._root = _root1; - //BA.debugLineNum = 133;BA.debugLine="Root.LoadLayout(\"login\")"; -parent._root.LoadLayout("login",ba); - //BA.debugLineNum = 134;BA.debugLine="s.Initialize(Me, \"Subs\")"; -parent._s._initialize /*Object*/ (ba,parent,"Subs"); - //BA.debugLineNum = 135;BA.debugLine="B4XPages.SetTitle(Me, \"ADM\")"; -parent._b4xpages._settitle /*String*/ (ba,parent,(Object)("ADM")); - //BA.debugLineNum = 136;BA.debugLine="login.Initialize"; -parent._login._initialize /*String*/ (ba); - //BA.debugLineNum = 137;BA.debugLine="B4XPages.AddPage(\"Login\", login)"; -parent._b4xpages._addpage /*String*/ (ba,"Login",(Object)(parent._login)); - //BA.debugLineNum = 138;BA.debugLine="principal.Initialize"; -parent._principal._initialize /*Object*/ (ba); - //BA.debugLineNum = 139;BA.debugLine="B4XPages.AddPage(\"Principal\", principal)"; -parent._b4xpages._addpage /*String*/ (ba,"Principal",(Object)(parent._principal)); - //BA.debugLineNum = 140;BA.debugLine="clientes.Initialize"; -parent._clientes._initialize /*Object*/ (ba); - //BA.debugLineNum = 141;BA.debugLine="B4XPages.AddPage(\"Clientes\", clientes)"; -parent._b4xpages._addpage /*String*/ (ba,"Clientes",(Object)(parent._clientes)); - //BA.debugLineNum = 142;BA.debugLine="cliente.Initialize"; -parent._cliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 143;BA.debugLine="B4XPages.AddPage(\"Cliente\", cliente)"; -parent._b4xpages._addpage /*String*/ (ba,"Cliente",(Object)(parent._cliente)); - //BA.debugLineNum = 144;BA.debugLine="productos.Initialize"; -parent._productos._initialize /*Object*/ (ba); - //BA.debugLineNum = 145;BA.debugLine="B4XPages.AddPage(\"Productos\", productos)"; -parent._b4xpages._addpage /*String*/ (ba,"Productos",(Object)(parent._productos)); - //BA.debugLineNum = 146;BA.debugLine="updateAvailable.Initialize"; -parent._updateavailable._initialize /*Object*/ (ba); - //BA.debugLineNum = 147;BA.debugLine="B4XPages.AddPage(\"updateAvailable\", updateAvailab"; -parent._b4xpages._addpage /*String*/ (ba,"updateAvailable",(Object)(parent._updateavailable)); - //BA.debugLineNum = 148;BA.debugLine="mapas.Initialize"; -parent._mapas._initialize /*Object*/ (ba); - //BA.debugLineNum = 149;BA.debugLine="B4XPages.AddPage(\"Mapas\", mapas)"; -parent._b4xpages._addpage /*String*/ (ba,"Mapas",(Object)(parent._mapas)); - //BA.debugLineNum = 150;BA.debugLine="nuevoCliente.Initialize"; -parent._nuevocliente._initialize /*Object*/ (ba); - //BA.debugLineNum = 151;BA.debugLine="B4XPages.AddPage(\"NuevoCliente\", nuevoCliente)"; -parent._b4xpages._addpage /*String*/ (ba,"NuevoCliente",(Object)(parent._nuevocliente)); - //BA.debugLineNum = 152;BA.debugLine="ticketsDia.Initialize"; -parent._ticketsdia._initialize /*Object*/ (ba); - //BA.debugLineNum = 153;BA.debugLine="B4XPages.AddPage(\"TicketsDia\", ticketsDia)"; -parent._b4xpages._addpage /*String*/ (ba,"TicketsDia",(Object)(parent._ticketsdia)); - //BA.debugLineNum = 154;BA.debugLine="noVenta.Initialize"; -parent._noventa._initialize /*Object*/ (ba); - //BA.debugLineNum = 155;BA.debugLine="B4XPages.AddPage(\"NoVenta\", noVenta)"; -parent._b4xpages._addpage /*String*/ (ba,"NoVenta",(Object)(parent._noventa)); - //BA.debugLineNum = 156;BA.debugLine="nota.Initialize"; -parent._nota._initialize /*Object*/ (ba); - //BA.debugLineNum = 157;BA.debugLine="B4XPages.AddPage(\"Nota\", nota)"; -parent._b4xpages._addpage /*String*/ (ba,"Nota",(Object)(parent._nota)); - //BA.debugLineNum = 158;BA.debugLine="pedidos.Initialize"; -parent._pedidos._initialize /*Object*/ (ba); - //BA.debugLineNum = 159;BA.debugLine="B4XPages.AddPage(\"Pedidos\", pedidos)"; -parent._b4xpages._addpage /*String*/ (ba,"Pedidos",(Object)(parent._pedidos)); - //BA.debugLineNum = 160;BA.debugLine="promos.Initialize"; -parent._promos._initialize /*Object*/ (ba); - //BA.debugLineNum = 161;BA.debugLine="B4XPages.AddPage(\"Promos\", promos)"; -parent._b4xpages._addpage /*String*/ (ba,"Promos",(Object)(parent._promos)); - //BA.debugLineNum = 162;BA.debugLine="historico.Initialize"; -parent._historico._initialize /*Object*/ (ba); - //BA.debugLineNum = 163;BA.debugLine="B4XPages.AddPage(\"Historico\", historico)"; -parent._b4xpages._addpage /*String*/ (ba,"Historico",(Object)(parent._historico)); - //BA.debugLineNum = 166;BA.debugLine="ruta = Starter.ruta"; -parent._ruta = parent._starter._ruta /*String*/ ; - //BA.debugLineNum = 167;BA.debugLine="Provider.Initialize"; -parent._provider._initialize /*String*/ (ba); - //BA.debugLineNum = 170;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (parent.__c.File.Exists(parent._ruta,"kmt.db")==parent.__c.False) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 171;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); - //BA.debugLineNum = 172;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; -parent.__c.LogImpl("337879850","copiamos kmt.db de "+parent.__c.File.getDirAssets()+" a "+parent._ruta,parent.__c.Colors.Green); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 176;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -parent._skmt.Initialize(parent._ruta,"kmt.db",parent.__c.True); - //BA.debugLineNum = 177;BA.debugLine="Subs.guardaAppInfo(skmt)"; -parent._subs._guardaappinfo /*String*/ (ba,parent._skmt); - //BA.debugLineNum = 178;BA.debugLine="Starter.skmt.ExecNonQuery(\"DROP TABLE IF EXISTS H"; -parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DROP TABLE IF EXISTS HIST_SUPERVISOR"); - //BA.debugLineNum = 179;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLI"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTES_NUEVOS(CN_ID TEXT, CN_FECHA TEXT, CN_USER TEXT, CN_LAT TEXT, CN_LON TEXT, CN_NOMBRE TEXT, CN_DIRECCION TEXT, CN_FOTO TEXT, CN_ALMACEN TEXT, CN_RUTA TEXT,CN_GIRO TEXT)"); - //BA.debugLineNum = 180;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTAA (RUTAA TEXT)"); - //BA.debugLineNum = 181;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS FOT"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS FOTOINICIAL (RUTAA TEXT, ALMACEN TEXT, LATITUD TEXT, LONGITUD TEXT, FECHAHORA TEXT, FOTO BLOB, FOTO2 BLOB, USUARIO TEXT)"); - //BA.debugLineNum = 182;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUOTAS (HC_META6 TEXT, HC_META5 TEXT, HC_META4 TEXT, HC_META3 TEXT, HC_META2 TEXT, HC_META1 TEXT, HC_RUTA TEXT, HC_CUOTA1 TEXT, HC_CUOTA2 TEXT, HC_CUOTA3 TEXT, HC_CUOTA4 TEXT, HC_CUOTA5 TEXT, HC_CUOTA6 TEXT)"); - //BA.debugLineNum = 183;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GPS (HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); - //BA.debugLineNum = 184;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GIRO(GIRO TEXT)"); - //BA.debugLineNum = 185;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PICKCIEGO_HECHO(HECHO TEXT)"); - //BA.debugLineNum = 186;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CAT"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CAT_GUNAPROD2 (CAT_GP_INICIATIVA TEXT, CAT_GP_TIPOPROD TEXT, CAT_GP_DEV TEXT, CAT_GP_ALMACEN NUMERIC, CAT_GP_ID TEXT, CAT_GP_NOMBRE TEXT, CAT_GP_IMP1 TEXT, CAT_GP_IMP2 TEXT, CAT_GP_PRECIO TEXT, CAT_GP_CLASIF TEXT, CAT_GP_STS TEXT, CAT_GP_TIPO TEXT, CAT_GP_SUBTIPO TEXT, CAT_GP_IMG BLOB)"); - //BA.debugLineNum = 187;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_STORE (HSS_CODIGO TEXT, HSS_IN TEXT, HSS_OUT TEXT, HSS_TOT TEXT)"); - //BA.debugLineNum = 188;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_STAY_OUT (HSO_INI TEXT, HSO_FIN TEXT)"); - //BA.debugLineNum = 189;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS INV"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS INVENT_X_ENVIAR (ALMACEN TEXT, PROID TEXT, CANTIDAD TEXT)"); - //BA.debugLineNum = 190;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_RESUM_APK (HIST_RA_OBJMES TEXT, HIST_RA_VENTA TEXT, HIST_RA_TENDENCIA TEXT, HIST_RA_ALCANCE TEXT, HISR_RA_DRAOBJ TEXT, HIST_RA_DRAVTA TEXT, HIST_RA_DSOBJ TEXT, HIST_RA_DSVTA TEXT, HIST_RA_VPOOBJ TEXT, HIST_RA_VPOVTA TEXT, HIST_RA_COBCCC TEXT, HIST_RA_CTES TEXT, HIST_RA_ECO TEXT, HIST_RA_VISITPLAN TEXT, HIST_RA_VISIREAL TEXT, HIST_RA_COBVISIT TEXT, HIST_RA_FRECCOMPOBJ TEXT, HIST_RA_FRECCOMREAL TEXT, HIST_RA_VENTAMES1 TEXT, HIST_RA_VENTAMES2 TEXT, HIST_RA_VENTAMES3 TEXT, HIST_RA_VENTAMES4 TEXT, HIST_RA_RECHAZO TEXT, HIST_RA_RECHAZOPORCEN TEXT, HIST_RA_SEMANA1 TEXT, HIST_RA_SEMANA1_DIAS TEXT, HIST_RA_SEMANA1_DRA TEXT, HIST_RA_SEMANA2 TEXT, HIST_RA_SEMANA2_DIAS TEXT, HIST_RA_SEMANA2_DRA TEXT, HIST_RA_SEMANA3 TEXT, HIST_RA_SEMANA3_DIAS TEXT, HIST_RA_SEMANA4 TEXT, HIST_RA_SEMANA3_DRA TEXT, HIST_RA_SEMANA4_DIAS TEXT, HIST_RA_SEMANA4_DRA TEXT, HIST_RA_SEMANA5 TEXT, HIST_RA_SEMANA5_DIAS TEXT, HIST_RA_SEMANA5_DRA TEXT, HIST_RA_SEMANA1_LPT TEXT, HIST_RA_SEMANA2_LPT TEXT, HIST_RA_SEMANA3_LPT TEXT, HIST_RA_SEMANA4_LPT TEXT, HIST_RA_SEMANA5_LPT TEXT, HIST_RA_RUTA TEXT, HIST_RA_IDALMACEN TEXT)"); - //BA.debugLineNum = 191;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_COMISIONES_MOVIL (HCM_IDALMACEN TEXT, HCM_RUTA TEXT, HCM_TOTAL_V TEXT, HCM_TOTAL_VIVE TEXT, HCM_TOTAL_GUNA TEXT, HCM_TOTAL_BEB TEXT)"); - //BA.debugLineNum = 192;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_GEOCERCA (HGCLIENTE TEXT, HGDATE TEXT, HGLAT TEXT, HGLON TEXT)"); - //BA.debugLineNum = 193;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_FACE (HFCLIENTE TEXT, HFALIAS TEXT, HFRUTA TEXT, HFALMACEN TEXT)"); - //BA.debugLineNum = 194;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUT"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 195;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS CATA"; -parent._skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS CATALOGO AS Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD UNION Select CAT_GP_CLASIF, CAT_GP_ID FROM CAT_GUNAPROD GROUP BY CAT_GP_CLASIF, CAT_GP_ID"); - //BA.debugLineNum = 196;BA.debugLine="skmt.ExecNonQuery(\"CREATE VIEW IF NOT EXISTS tota"; -parent._skmt.ExecNonQuery("CREATE VIEW IF NOT EXISTS total_marcas AS Select cat_gp_clasif, sum(pe_costo_tot) As total from CATALOGO, pedido where pe_proid = cat_gp_id And pe_cliente <> 0 group by cat_gp_clasif"); - //BA.debugLineNum = 197;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_MARCAS_CUOTAS ( HMC_MARCA TEXT, HMC_TOTAL TEXT)"); - //BA.debugLineNum = 198;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CODIGO_BARRAS(CODIGOKMTS TEXT, CODIGOB TEXT, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 199;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABO"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOS (a_usuario TEXT, a_ruta TEXT, a_cliente TEXT, a_abono TEXT, a_fecha TEXT, a_enviado TEXT)"); - //BA.debugLineNum = 200;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS COO"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS COORDENADAS_GPS (tienda_id TEXT, ruta TEXT, almacen TEXT, latitud TEXT, longitud TEXT, fecha TEXT)"); - //BA.debugLineNum = 201;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIS"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_CUESTIONARIO (HC_CLIENTE TEXT)"); - //BA.debugLineNum = 202;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PAG"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PAGARES (PA_ALMACEN TEXT, PA_RUTA TEXT, PA_FECHA TEXT, PA_CAPTURA TEXT, PA_MONTO TEXT, PA_USUARIO TEXT, PA_CLIENTE TEXT)"); - //BA.debugLineNum = 203;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS NOV"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS NOVENTA (NV_CLIENTE TEXT, NV_FECHA TEXT, NV_USER TEXT, NV_MOTIVO TEXT, NV_COMM TEXT, NV_LAT TEXT, NV_LON TEXT)"); - //BA.debugLineNum = 204;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PIC"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PICK_CIEGO (PC_ID_PROD TEXT, PC_NOM_PROD TEXT, PC_CANT TEXT, PC_ALMACEN TEXT, PC_RUTA TEXT, PC_FECHA TEXT)"); - //BA.debugLineNum = 205;BA.debugLine="skmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ENV"; -parent._skmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ENV_MONTO_LIQ (EML_MONTO TEXT, EML_ALMACEN TEXT, EML_RUTA TEXT, EML_USUARIO TEXT, EML_FECHA_PED TEXT)"); - //BA.debugLineNum = 206;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_ENVIO_OK\", \"INT\""; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_ENVIO_OK","INT"); - //BA.debugLineNum = 207;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_CANTC\", \"TEXT\")"; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_CANTC","TEXT"); - //BA.debugLineNum = 208;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_BCAJAS\", \"TEXT\")"; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_BCAJAS","TEXT"); - //BA.debugLineNum = 209;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_TIPOPAGO\", \"TEXT"; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_TIPOPAGO","TEXT"); - //BA.debugLineNum = 210;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_TICKET\", \"TEXT\")"; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_TICKET","TEXT"); - //BA.debugLineNum = 211;BA.debugLine="Subs.agregaColumna(\"PEDIDO\", \"PE_COMENTARIO\", \"TE"; -parent._subs._agregacolumna /*String*/ (ba,"PEDIDO","PE_COMENTARIO","TEXT"); - //BA.debugLineNum = 212;BA.debugLine="Subs.agregaColumna(\"NOVENTA\", \"NV_ENVIO_OK\", \"INT"; -parent._subs._agregacolumna /*String*/ (ba,"NOVENTA","NV_ENVIO_OK","INT"); - //BA.debugLineNum = 213;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_BCREDITO\","; -parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_BCREDITO","TEXT"); - //BA.debugLineNum = 214;BA.debugLine="Subs.agregaColumna(\"kmt_info\", \"CAT_CL_LIMITECRED"; -parent._subs._agregacolumna /*String*/ (ba,"kmt_info","CAT_CL_LIMITECREDITO","TEXT"); - //BA.debugLineNum = 215;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_DP_CONVER"; -parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_DP_CONVERSION1","TEXT"); - //BA.debugLineNum = 216;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_CONVE"; -parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_CONVERSION1","TEXT"); - //BA.debugLineNum = 217;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD2\", \"CAT_DP_PRECI"; -parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD2","CAT_DP_PRECIO4","TEXT"); - //BA.debugLineNum = 218;BA.debugLine="Subs.agregaColumna(\"CAT_GUNAPROD\", \"CAT_DP_PRECIO"; -parent._subs._agregacolumna /*String*/ (ba,"CAT_GUNAPROD","CAT_DP_PRECIO4","TEXT"); - //BA.debugLineNum = 219;BA.debugLine="Subs.agregaColumna(\"CLIENTES_NUEVOS\", \"CN_SOLICIT"; -parent._subs._agregacolumna /*String*/ (ba,"CLIENTES_NUEVOS","CN_SOLICITA","TEXT"); - //BA.debugLineNum = 220;BA.debugLine="c=skmt.ExecQuery(\"select COUNT(*) AS CUANTOS fro"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select COUNT(*) AS CUANTOS from HIST_STAY_OUT "))); - //BA.debugLineNum = 221;BA.debugLine="C.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 222;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if (true) break; - -case 5: -//if -this.state = 8; -if ((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { -this.state = 7; -}if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 223;BA.debugLine="skmt.ExecNonQuery(\"INSERT INTO HIST_STAY_OUT(HSO"; -parent._skmt.ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); - if (true) break; - -case 8: -//C -this.state = 9; -; - //BA.debugLineNum = 225;BA.debugLine="C.Close"; -parent._c.Close(); - //BA.debugLineNum = 229;BA.debugLine="l_version.Text = Application.VersionName"; -parent._l_version.setText(BA.ObjectToCharSequence(parent.__c.Application.getVersionName())); - //BA.debugLineNum = 237;BA.debugLine="montoActual = 0"; -parent._montoactual = BA.NumberToString(0); - //BA.debugLineNum = 238;BA.debugLine="clientesTotal = 0"; -parent._clientestotal = BA.NumberToString(0); - //BA.debugLineNum = 239;BA.debugLine="clientesVenta = 0"; -parent._clientesventa = BA.NumberToString(0); - //BA.debugLineNum = 240;BA.debugLine="clientesVisitados = 0"; -parent._clientesvisitados = BA.NumberToString(0); - //BA.debugLineNum = 241;BA.debugLine="almacen = 0"; -parent._almacen = BA.NumberToString(0); - //BA.debugLineNum = 242;BA.debugLine="rutaPreventa = 0"; -parent._rutapreventa = BA.NumberToString(0); - //BA.debugLineNum = 243;BA.debugLine="p_appUpdate.Visible = False"; -parent._p_appupdate.setVisible(parent.__c.False); - //BA.debugLineNum = 245;BA.debugLine="LogColor(\"Revisa permisos Phone_State\", Colors.Gr"; -parent.__c.LogImpl("337879923","Revisa permisos Phone_State",parent.__c.Colors.Green); - //BA.debugLineNum = 246;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 247;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 35; -return; -case 35: -//C -this.state = 9; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 248;BA.debugLine="If Result Then"; -if (true) break; - -case 9: -//if -this.state = 14; -if (_result) { -this.state = 11; -}else { -this.state = 13; -}if (true) break; - -case 11: -//C -this.state = 14; - //BA.debugLineNum = 249;BA.debugLine="Log(\"Con permisos de ubicacion\")"; -parent.__c.LogImpl("337879927","Con permisos de ubicacion",0); - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 251;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; -parent.__c.LogImpl("337879929","SIN permisos de ubicacion",0); - if (true) break; - -case 14: -//C -this.state = 15; -; - //BA.debugLineNum = 253;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_COARSE_LOCATION); - //BA.debugLineNum = 254;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 36; -return; -case 36: -//C -this.state = 15; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 255;BA.debugLine="If Result Then"; -if (true) break; - -case 15: -//if -this.state = 20; -if (_result) { -this.state = 17; -}else { -this.state = 19; -}if (true) break; - -case 17: -//C -this.state = 20; - //BA.debugLineNum = 256;BA.debugLine="Log(\"Con permisos de ubicacion\")"; -parent.__c.LogImpl("337879934","Con permisos de ubicacion",0); - if (true) break; - -case 19: -//C -this.state = 20; - //BA.debugLineNum = 258;BA.debugLine="Log(\"SIN permisos de ubicacion\")"; -parent.__c.LogImpl("337879936","SIN permisos de ubicacion",0); - if (true) break; - -case 20: -//C -this.state = 21; -; - //BA.debugLineNum = 260;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_PHONE_STATE); - //BA.debugLineNum = 261;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 37; -return; -case 37: -//C -this.state = 21; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 262;BA.debugLine="If Result Then"; -if (true) break; - -case 21: -//if -this.state = 24; -if (_result) { -this.state = 23; -}if (true) break; - -case 23: -//C -this.state = 24; - if (true) break; - -case 24: -//C -this.state = 25; -; - //BA.debugLineNum = 276;BA.debugLine="MES1.Initialize(Me, \"MES1\")"; -parent._mes1._initialize /*String*/ (ba,parent,"MES1"); - //BA.debugLineNum = 278;BA.debugLine="Dim SdkVersion As Int = device.SdkVersion"; -_sdkversion = parent._device.getSdkVersion(); - //BA.debugLineNum = 280;BA.debugLine="If SdkVersion < 30 Then"; -if (true) break; - -case 25: -//if -this.state = 34; -if (_sdkversion<30) { -this.state = 27; -}else { -this.state = 29; -}if (true) break; - -case 27: -//C -this.state = 34; - //BA.debugLineNum = 282;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 283;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_"; -_rp.CheckAndRequest(ba,_rp.PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 284;BA.debugLine="Wait For Activity_PermissionResult (Permission A"; -parent.__c.WaitFor("activity_permissionresult", ba, this, null); -this.state = 38; -return; -case 38: -//C -this.state = 34; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - if (true) break; - -case 29: -//C -this.state = 30; - //BA.debugLineNum = 289;BA.debugLine="If Not(MES1.HasPermission) Then"; -if (true) break; - -case 30: -//if -this.state = 33; -if (parent.__c.Not(parent._mes1._haspermission /*boolean*/ ())) { -this.state = 32; -}if (true) break; - -case 32: -//C -this.state = 33; - //BA.debugLineNum = 290;BA.debugLine="MsgboxAsync(\"This app requires access to all fi"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("This app requires access to all files, please enable the option"),BA.ObjectToCharSequence("Manage All Files"),ba); - //BA.debugLineNum = 291;BA.debugLine="Wait For Msgbox_Result(Res As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 39; -return; -case 39: -//C -this.state = 33; -_res = (Integer) result[0]; -; - //BA.debugLineNum = 293;BA.debugLine="MES1.GetPermission"; -parent._mes1._getpermission /*String*/ (); - //BA.debugLineNum = 294;BA.debugLine="Wait For MES_StorageAvailable"; -parent.__c.WaitFor("mes_storageavailable", ba, this, null); -this.state = 40; -return; -case 40: -//C -this.state = 33; -; - if (true) break; - -case 33: -//C -this.state = 34; -; - if (true) break; - -case 34: -//C -this.state = -1; -; - //BA.debugLineNum = 297;BA.debugLine="P_CIEGO.Height = Root.Height"; -parent._p_ciego.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 298;BA.debugLine="P_CIEGO.Width = Root.Width"; -parent._p_ciego.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 299;BA.debugLine="p_validacion.Height = Root.Height"; -parent._p_validacion.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 300;BA.debugLine="p_validacion.Width = Root.Width"; -parent._p_validacion.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 301;BA.debugLine="p_add_monto.Height = Root.Height"; -parent._p_add_monto.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 302;BA.debugLine="p_add_monto.Width = Root.Width"; -parent._p_add_monto.setWidth(parent._root.getWidth()); - //BA.debugLineNum = 303;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -public void _mes_storageavailable() throws Exception{ -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 20;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 22;BA.debugLine="Private Root As B4XView"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 24;BA.debugLine="Dim s As C_Subs"; -_s = new adm.keymon.com.mx.c_subs(); - //BA.debugLineNum = 25;BA.debugLine="Public login As B4XMainPage"; -_login = new adm.keymon.com.mx.b4xmainpage(); - //BA.debugLineNum = 26;BA.debugLine="Public principal As C_Principal"; -_principal = new adm.keymon.com.mx.c_principal(); - //BA.debugLineNum = 27;BA.debugLine="Public clientes As C_Clientes"; -_clientes = new adm.keymon.com.mx.c_clientes(); - //BA.debugLineNum = 28;BA.debugLine="Public cliente As C_Cliente"; -_cliente = new adm.keymon.com.mx.c_cliente(); - //BA.debugLineNum = 29;BA.debugLine="Public productos As C_Productos"; -_productos = new adm.keymon.com.mx.c_productos(); - //BA.debugLineNum = 30;BA.debugLine="Public updateAvailable As C_UpdateAvailable"; -_updateavailable = new adm.keymon.com.mx.c_updateavailable(); - //BA.debugLineNum = 31;BA.debugLine="Public mapas As C_Mapas"; -_mapas = new adm.keymon.com.mx.c_mapas(); - //BA.debugLineNum = 32;BA.debugLine="Public nuevoCliente As C_NuevoCliente"; -_nuevocliente = new adm.keymon.com.mx.c_nuevocliente(); - //BA.debugLineNum = 33;BA.debugLine="Public ticketsDia As C_TicketsDia"; -_ticketsdia = new adm.keymon.com.mx.c_ticketsdia(); - //BA.debugLineNum = 34;BA.debugLine="Public noVenta As C_NoVenta"; -_noventa = new adm.keymon.com.mx.c_noventa(); - //BA.debugLineNum = 35;BA.debugLine="Public nota As C_Nota"; -_nota = new adm.keymon.com.mx.c_nota(); - //BA.debugLineNum = 36;BA.debugLine="Public pedidos As C_Pedidos"; -_pedidos = new adm.keymon.com.mx.c_pedidos(); - //BA.debugLineNum = 37;BA.debugLine="Public promos As C_Promos"; -_promos = new adm.keymon.com.mx.c_promos(); - //BA.debugLineNum = 38;BA.debugLine="Public historico As C_Historico"; -_historico = new adm.keymon.com.mx.c_historico(); - //BA.debugLineNum = 39;BA.debugLine="Public Provider As FileProvider"; -_provider = new adm.keymon.com.mx.fileprovider(); - //BA.debugLineNum = 51;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 52;BA.debugLine="Dim v As String = Application.VersionName"; -_v = __c.Application.getVersionName(); - //BA.debugLineNum = 53;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 55;BA.debugLine="Dim lat_gps, lon_gps As String"; -_lat_gps = ""; -_lon_gps = ""; - //BA.debugLineNum = 56;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 57;BA.debugLine="Dim batt As Int"; -_batt = 0; - //BA.debugLineNum = 58;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 59;BA.debugLine="Dim montoActual, clientesTotal, clientesVenta, cl"; -_montoactual = ""; -_clientestotal = ""; -_clientesventa = ""; -_clientesvisitados = ""; -_almacen = ""; -_rutapreventa = ""; - //BA.debugLineNum = 60;BA.debugLine="Dim DBReqServer, fechaRuta As String"; -_dbreqserver = ""; -_fecharuta = ""; - //BA.debugLineNum = 61;BA.debugLine="Dim Logger As Boolean"; -_logger = false; - //BA.debugLineNum = 62;BA.debugLine="Dim mac_impresora As String"; -_mac_impresora = ""; - //BA.debugLineNum = 63;BA.debugLine="Dim Phn As PhoneId"; -_phn = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 65;BA.debugLine="Dim user As EditText"; -_user = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Dim pass As EditText"; -_pass = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Dim existe As String"; -_existe = ""; - //BA.debugLineNum = 69;BA.debugLine="Dim paso1 As String"; -_paso1 = ""; - //BA.debugLineNum = 70;BA.debugLine="Private IMEN As Label"; -_imen = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim IMEI As String = \"\""; -_imei = ""; - //BA.debugLineNum = 72;BA.debugLine="Dim alterno As String"; -_alterno = ""; - //BA.debugLineNum = 73;BA.debugLine="Private b_menu As Button"; -_b_menu = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Dim PopupMenu As RSPopupMenu"; -_popupmenu = new com.rootsoft.rspopupmenu.RSPopupMenu(); - //BA.debugLineNum = 75;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 76;BA.debugLine="Private PDF As Button"; -_pdf = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private bpv1 As BatteryProgressView"; -_bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Dim batterystatus(11) As Int"; -_batterystatus = new int[(int) (11)]; -; - //BA.debugLineNum = 79;BA.debugLine="Private bu As BatteryUtilities"; -_bu = new adm.keymon.com.mx.batteryutilities(); - //BA.debugLineNum = 80;BA.debugLine="Private b_apk As Button"; -_b_apk = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 81;BA.debugLine="Private i_engrane As ImageView"; -_i_engrane = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private p_Main As Panel"; -_p_main = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private p_appUpdate As Panel"; -_p_appupdate = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private b_regesar As Button"; -_b_regesar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Private l_version As Label"; -_l_version = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private ImageView1 As ImageView"; -_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private Entrar As Button"; -_entrar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Dim tipo_venta As String"; -_tipo_venta = ""; - //BA.debugLineNum = 90;BA.debugLine="Dim bTerminarClicked As Boolean = False"; -_bterminarclicked = __c.False; - //BA.debugLineNum = 91;BA.debugLine="Private lv_server As ListView"; -_lv_server = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private l_server As Label"; -_l_server = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private b_enviarbd As Button"; -_b_enviarbd = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private b_importarBD As Button"; -_b_importarbd = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Dim ime As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 96;BA.debugLine="Dim MES1 As ManageExternalStorage"; -_mes1 = new adm.keymon.com.mx.manageexternalstorage(); - //BA.debugLineNum = 97;BA.debugLine="Dim device As Phone"; -_device = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 98;BA.debugLine="Private et_server As EditText"; -_et_server = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Private b_guardar As Button"; -_b_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Private Panel11 As Panel"; -_panel11 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; -_clv_pick_ciego = new b4a.example3.customlistview(); - //BA.debugLineNum = 102;BA.debugLine="Private P_PICK_CIEGO As Panel"; -_p_pick_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Dim ET_PICK_CIEGO As EditText"; -_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 104;BA.debugLine="Private L_PICK_CIEGO As Label"; -_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 105;BA.debugLine="Private P_CIEGO As Panel"; -_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 106;BA.debugLine="Dim Panel4 As Panel"; -_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 107;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 108;BA.debugLine="Private et_buspc As EditText"; -_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 109;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 110;BA.debugLine="Dim a As Cursor"; -_a = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 111;BA.debugLine="Dim f As Cursor"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 112;BA.debugLine="Dim idenviar As String"; -_idenviar = ""; - //BA.debugLineNum = 113;BA.debugLine="Private et_codigo As EditText"; -_et_codigo = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 114;BA.debugLine="Private b_cancelarcodigo As Button"; -_b_cancelarcodigo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 115;BA.debugLine="Private b_aceptar As Button"; -_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 116;BA.debugLine="Private p_validacion As Panel"; -_p_validacion = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 117;BA.debugLine="Private b_recarga As Button"; -_b_recarga = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 118;BA.debugLine="Dim recarga As String = \"0\""; -_recarga = "0"; - //BA.debugLineNum = 119;BA.debugLine="Private p_add_monto As Panel"; -_p_add_monto = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="Private B_Can_Monto As Button"; -_b_can_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 121;BA.debugLine="Private B_Aceptar_Monto As Button"; -_b_aceptar_monto = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 122;BA.debugLine="Private ET_Add_Monto As EditText"; -_et_add_monto = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 123;BA.debugLine="End Sub"; -return ""; -} -public void _copiadb() throws Exception{ -ResumableSub_copiaDB rsub = new ResumableSub_copiaDB(this); -rsub.resume(ba, null); -} -public static class ResumableSub_copiaDB extends BA.ResumableSub { -public ResumableSub_copiaDB(adm.keymon.com.mx.b4xmainpage parent) { -this.parent = parent; -} -adm.keymon.com.mx.b4xmainpage parent; -String _permission = ""; -boolean _result = false; -String _thedir = ""; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { -try { - - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 837;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 838;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 18; -return; -case 18: -//C -this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 839;BA.debugLine="Dim theDir As String = \"\""; -_thedir = ""; - //BA.debugLineNum = 840;BA.debugLine="If Result Then"; -if (true) break; - -case 1: -//if -this.state = 17; -if (_result) { -this.state = 3; -}else { -this.state = 16; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 847;BA.debugLine="Dim theDir As String"; -_thedir = ""; - //BA.debugLineNum = 848;BA.debugLine="Try"; -if (true) break; - -case 4: -//try -this.state = 9; -this.catchState = 8; -this.state = 6; -if (true) break; - -case 6: -//C -this.state = 9; -this.catchState = 8; - //BA.debugLineNum = 849;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; -parent.__c.File.MakeDir(parent.__c.File.getDirInternal(),"kmts"); - //BA.debugLineNum = 850;BA.debugLine="theDir = \"/kmts\""; -_thedir = "/kmts"; - if (true) break; - -case 8: -//C -this.state = 9; -this.catchState = 0; - //BA.debugLineNum = 852;BA.debugLine="theDir = \"\""; -_thedir = ""; - if (true) break; -if (true) break; -; - //BA.debugLineNum = 854;BA.debugLine="Try"; - -case 9: -//try -this.state = 14; -this.catchState = 0; -this.catchState = 13; -this.state = 11; -if (true) break; - -case 11: -//C -this.state = 14; -this.catchState = 13; - //BA.debugLineNum = 855;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; -parent.__c.File.Copy(parent.__c.File.getDirInternal(),"kmt.db",parent.__c.File.getDirInternal()+_thedir,"ADM_kmt.db"); - //BA.debugLineNum = 856;BA.debugLine="ToastMessageShow(\"Listo, copiado a \" & File.Dir"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Listo, copiado a "+parent.__c.File.getDirInternal()+_thedir+"/ADM_kmt.db"),parent.__c.False); - if (true) break; - -case 13: -//C -this.state = 14; -this.catchState = 0; - //BA.debugLineNum = 858;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(parent.__c.LastException(ba))),parent.__c.True); - if (true) break; -if (true) break; - -case 14: -//C -this.state = 17; -this.catchState = 0; -; - if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 861;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),parent.__c.False); - if (true) break; - -case 17: -//C -this.state = -1; -; - //BA.debugLineNum = 863;BA.debugLine="End Sub"; -if (true) break; -}} - catch (Exception e0) { - -if (catchState == 0) - throw e0; -else { - state = catchState; -ba.setLastException(e0);} - } - } - } -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _id_prod,String _prod,String _cant) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 983;BA.debugLine="Sub CreateListItem(Id_prod As String, Prod As Stri"; - //BA.debugLineNum = 984;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; -_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 985;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 986;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; -_pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 987;BA.debugLine="pa.Height = 55dip"; -_pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 988;BA.debugLine="pa.Width = 298dip"; -_pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 990;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 991;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 992;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; -_l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 993;BA.debugLine="ET_PICK_CIEGO.Text = cant"; -_et_pick_ciego.setText(BA.ObjectToCharSequence(_cant)); - //BA.debugLineNum = 996;BA.debugLine="Return pa"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 997;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _id_prod,String _prod) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pa = null; - //BA.debugLineNum = 999;BA.debugLine="Sub CreateListItem2(Id_prod As String, Prod As Str"; - //BA.debugLineNum = 1000;BA.debugLine="Dim pa As B4XView = xui.CreatePanel(\"\")"; -_pa = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pa = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1001;BA.debugLine="pa.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_pa.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 1002;BA.debugLine="pa.LoadLayout(\"PANEL_PICK_CIEGO\")"; -_pa.LoadLayout("PANEL_PICK_CIEGO",ba); - //BA.debugLineNum = 1003;BA.debugLine="pa.Height = 55dip"; -_pa.setHeight(__c.DipToCurrent((int) (55))); - //BA.debugLineNum = 1004;BA.debugLine="pa.Width = 298dip"; -_pa.setWidth(__c.DipToCurrent((int) (298))); - //BA.debugLineNum = 1006;BA.debugLine="L_PICK_CIEGO.Text = Id_prod & CRLF & Prod"; -_l_pick_ciego.setText(BA.ObjectToCharSequence(_id_prod+__c.CRLF+_prod)); - //BA.debugLineNum = 1007;BA.debugLine="L_PICK_CIEGO.TextSize = 12"; -_l_pick_ciego.setTextSize((float) (12)); - //BA.debugLineNum = 1008;BA.debugLine="L_PICK_CIEGO.Gravity = Bit.Or(Gravity.CENTER_VERT"; -_l_pick_ciego.setGravity(__c.Bit.Or(__c.Gravity.CENTER_VERTICAL,__c.Gravity.CENTER_HORIZONTAL)); - //BA.debugLineNum = 1011;BA.debugLine="Return pa"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pa.getObject())); - //BA.debugLineNum = 1012;BA.debugLine="End Sub"; -return null; -} -public String _dameusuario() throws Exception{ - //BA.debugLineNum = 806;BA.debugLine="Sub dameUsuario"; - //BA.debugLineNum = 807;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 808;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 809;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 810;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 811;BA.debugLine="If existe > 0 Then"; -if ((double)(Double.parseDouble(_existe))>0) { - //BA.debugLineNum = 812;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 813;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 814;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - }else { - //BA.debugLineNum = 816;BA.debugLine="usuario = \"SINUSUARIO\""; -_usuario = "SINUSUARIO"; - }; - //BA.debugLineNum = 818;BA.debugLine="End Sub"; -return ""; -} -public String _entrar_click() throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -int _api = 0; -anywheresoftware.b4a.phone.Phone _pp = null; -int _id = 0; - //BA.debugLineNum = 382;BA.debugLine="Sub Entrar_Click"; - //BA.debugLineNum = 383;BA.debugLine="Log(\"|\" & Starter.DBReqServer)"; -__c.LogImpl("338010881","|"+_starter._dbreqserver /*String*/ ,0); - //BA.debugLineNum = 384;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 385;BA.debugLine="Dim Api As Int"; -_api = 0; - //BA.debugLineNum = 386;BA.debugLine="Dim PP As Phone"; -_pp = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 387;BA.debugLine="Api = r.GetStaticField(\"android.os.Build$VERSION\""; -_api = (int)(BA.ObjectToNumber(_r.GetStaticField("android.os.Build$VERSION","SDK_INT"))); - //BA.debugLineNum = 388;BA.debugLine="If Api < 9 Then"; -if (_api<9) { - //BA.debugLineNum = 390;BA.debugLine="If File.Exists(File.DirInternal, \"__id\") Then"; -if (__c.File.Exists(__c.File.getDirInternal(),"__id")) { - //BA.debugLineNum = 391;BA.debugLine="IMEI = File.ReadString(File.DirInternal, \"__id"; -_imei = __c.File.ReadString(__c.File.getDirInternal(),"__id"); - //BA.debugLineNum = 392;BA.debugLine="Log(1&\"-\"&IMEI)"; -__c.LogImpl("338010890",BA.NumberToString(1)+"-"+_imei,0); - }else { - //BA.debugLineNum = 394;BA.debugLine="Dim id As Int"; -_id = 0; - //BA.debugLineNum = 395;BA.debugLine="id = Rnd(0x10000000, 0x7FFFFFFF)"; -_id = __c.Rnd(((int)0x10000000),((int)0x7fffffff)); - //BA.debugLineNum = 396;BA.debugLine="File.WriteString(File.DirInternal, \"__id\", id)"; -__c.File.WriteString(__c.File.getDirInternal(),"__id",BA.NumberToString(_id)); - //BA.debugLineNum = 397;BA.debugLine="IMEI = id"; -_imei = BA.NumberToString(_id); - //BA.debugLineNum = 398;BA.debugLine="Log(2&\"-\"&IMEI)"; -__c.LogImpl("338010896",BA.NumberToString(2)+"-"+_imei,0); - }; - }else { - //BA.debugLineNum = 402;BA.debugLine="IMEI = r.GetStaticField(\"android.os.Build\", \"SE"; -_imei = BA.ObjectToString(_r.GetStaticField("android.os.Build","SERIAL")); - }; - //BA.debugLineNum = 405;BA.debugLine="If IMEI.ToLowerCase = \"unknown\" Then"; -if ((_imei.toLowerCase()).equals("unknown")) { - //BA.debugLineNum = 406;BA.debugLine="IMEI = PP.GetSettings(\"android_id\")"; -_imei = _pp.GetSettings("android_id"); - }; - //BA.debugLineNum = 410;BA.debugLine="If user.Text = \"ALTERNO\" Then"; -if ((_user.getText()).equals("ALTERNO")) { - //BA.debugLineNum = 411;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); - //BA.debugLineNum = 412;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 413;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; -_dbreqserver = _c.GetString("CAT_CO_CONFIGURACION"); - //BA.debugLineNum = 414;BA.debugLine="alterno = c.GetString(\"CAT_CO_RESULTADO\")"; -_alterno = _c.GetString("CAT_CO_RESULTADO"); - //BA.debugLineNum = 415;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 416;BA.debugLine="If alterno = 1 Then"; -if ((_alterno).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 417;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - //BA.debugLineNum = 418;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - }else if((_alterno).equals(BA.NumberToString(2))) { - //BA.debugLineNum = 420;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 1 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 1",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - //BA.debugLineNum = 421;BA.debugLine="skmt.ExecNonQuery2(\"UPDATE CAT_CODIGOS SET CAT_"; -_skmt.ExecNonQuery2("UPDATE CAT_CODIGOS SET CAT_CO_PONDERACION = 0 WHERE CAT_CO_ACCION = ? AND CAT_CO_RESULTADO = 2",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"SERVER"})); - }; - //BA.debugLineNum = 423;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_CO_CONFIGURACION,"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_CO_CONFIGURACION, CAT_CO_RESULTADO from CAT_CODIGOS where CAT_CO_PONDERACION =1 AND CAT_CO_ACCION = ?",new String[]{"SERVER"}))); - //BA.debugLineNum = 424;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 425;BA.debugLine="DBReqServer = c.GetString(\"CAT_CO_CONFIGURACION\""; -_dbreqserver = _c.GetString("CAT_CO_CONFIGURACION"); - //BA.debugLineNum = 426;BA.debugLine="user.Text = DBReqServer"; -_user.setText(BA.ObjectToCharSequence(_dbreqserver)); - //BA.debugLineNum = 427;BA.debugLine="c.Close"; -_c.Close(); - }else if((_user.getText()).equals("KMTS1")) { - //BA.debugLineNum = 430;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 431;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)(_pass.getText())})); - //BA.debugLineNum = 432;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 433;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_pass.getText())})); - //BA.debugLineNum = 434;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 435;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 436;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - }else if((_user.getText()).equals("BERNA1")) { - //BA.debugLineNum = 438;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 439;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUES"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText()),(Object)("1")})); - //BA.debugLineNum = 440;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 441;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID_A"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); - //BA.debugLineNum = 442;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 443;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVERSIO"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("2.1")})); - //BA.debugLineNum = 444;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - }else if((_user.getText()).equals("IMEI")) { - //BA.debugLineNum = 446;BA.debugLine="user.Text = IMEI"; -_user.setText(BA.ObjectToCharSequence(_imei)); - }; - //BA.debugLineNum = 449;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) as EXISTE1 fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select count(*) as EXISTE1 from usuarioa where usuario = ?",new String[]{_user.getText()}))); - //BA.debugLineNum = 450;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 451;BA.debugLine="existe = c.GetString(\"EXISTE1\")"; -_existe = _c.GetString("EXISTE1"); - //BA.debugLineNum = 452;BA.debugLine="If existe = 0 Then"; -if ((_existe).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 453;BA.debugLine="If IMEI = \"\" Then"; -if ((_imei).equals("")) { - //BA.debugLineNum = 454;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 455;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 456;BA.debugLine="cmd.Name = \"select_usuario_ADM\" 'Antes select_u"; -_cmd.Name /*String*/ = "select_usuario_ADM"; - //BA.debugLineNum = 457;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Trim"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())}; - //BA.debugLineNum = 458;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10")); - }else { - //BA.debugLineNum = 460;BA.debugLine="If IMEI = \"\" Then"; -if ((_imei).equals("")) { - //BA.debugLineNum = 461;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 462;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 463;BA.debugLine="cmd.Name = \"select_usuario_ADM\""; -_cmd.Name /*String*/ = "select_usuario_ADM"; - //BA.debugLineNum = 464;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())}; - //BA.debugLineNum = 465;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10")); - }else { - //BA.debugLineNum = 467;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 468;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 469;BA.debugLine="cmd.Name = \"select_usuario_ADM\" 'Antes select_"; -_cmd.Name /*String*/ = "select_usuario_ADM"; - //BA.debugLineNum = 470;BA.debugLine="cmd.Parameters = Array As Object(user.Text.Tri"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())}; - //BA.debugLineNum = 471;BA.debugLine="Log(\"Mandamos: \"&user.Text&\"|\"& pass.Text)"; -__c.LogImpl("338010969","Mandamos: "+_user.getText()+"|"+_pass.getText(),0); - //BA.debugLineNum = 472;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"usuario_10\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("usuario_10")); - }; - }; - //BA.debugLineNum = 475;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 476;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 477;BA.debugLine="cmd.Name = \"select_version_ADM\""; -_cmd.Name /*String*/ = "select_version_ADM"; - //BA.debugLineNum = 478;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"version\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("version")); - }else { - //BA.debugLineNum = 480;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 481;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; -return ""; -} -public String _entrar_longclick() throws Exception{ - //BA.debugLineNum = 901;BA.debugLine="Sub Entrar_LongClick"; - //BA.debugLineNum = 903;BA.debugLine="End Sub"; -return ""; -} -public String _et_buspc_textchanged(String _old,String _new) throws Exception{ -int _i = 0; - //BA.debugLineNum = 942;BA.debugLine="Private Sub et_buspc_TextChanged (Old As String, N"; - //BA.debugLineNum = 943;BA.debugLine="If New = \"\" Then"; -if ((_new).equals("")) { - //BA.debugLineNum = 944;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - }else { - //BA.debugLineNum = 946;BA.debugLine="CLV_PICK_CIEGO.Clear"; -_clv_pick_ciego._clear(); - //BA.debugLineNum = 948;BA.debugLine="q_buscar = \"%\" & et_buspc.Text & \"%\""; -_q_buscar = "%"+_et_buspc.getText()+"%"; - //BA.debugLineNum = 949;BA.debugLine="Log(q_buscar)"; -__c.LogImpl("339452679",_q_buscar,0); - //BA.debugLineNum = 950;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID , ifnull(PC_CANT,0) AS PC_CANT FROM CAT_GUNAPROD INNER JOIN PICK_CIEGO ON PC_ID_PROD = CAT_GP_ID AND PC_NOM_PROD = CAT_GP_NOMBRE WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 951;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 954;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 955;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 956;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem(c.GetString("; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("CAT_GP_ID"),_c.GetString("CAT_GP_NOMBRE"),_c.GetString("PC_CANT")).getObject())),(Object)(_i)); - } -}; - //BA.debugLineNum = 959;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 961;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'AND CAT_GP_ID NOT IN (SELECT PC_ID_PROD FROM PICK_CIEGO)"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 963;BA.debugLine="For i = 0 To d.RowCount - 1"; -{ -final int step15 = 1; -final int limit15 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit15 ;_i = _i + step15 ) { - //BA.debugLineNum = 964;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 965;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); - } -}; - //BA.debugLineNum = 968;BA.debugLine="d.Close"; -_d.Close(); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 971;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2($\"select CA"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE, CAT_GP_ID FROM CAT_GUNAPROD WHERE (CAT_GP_NOMBRE LIKE ? OR CAT_GP_ID LIKE ? ) and CAT_GP_CLASIF <> 'PROMOS'"),new String[]{_q_buscar,_q_buscar}))); - //BA.debugLineNum = 973;BA.debugLine="For i = 0 To d.RowCount - 1"; -{ -final int step22 = 1; -final int limit22 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 974;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 975;BA.debugLine="CLV_PICK_CIEGO.Add(CreateListItem2(d.GetString"; -_clv_pick_ciego._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_d.GetString("CAT_GP_ID"),_d.GetString("CAT_GP_NOMBRE")).getObject())),(Object)(_i)); - } -}; - //BA.debugLineNum = 978;BA.debugLine="d.Close"; -_d.Close(); - }; - }; - //BA.debugLineNum = 981;BA.debugLine="End Sub"; -return ""; -} -public String _et_pick_ciego_textchanged(String _old,String _new) throws Exception{ -anywheresoftware.b4a.objects.EditTextWrapper _et = null; - //BA.debugLineNum = 1014;BA.debugLine="Sub ET_PICK_CIEGO_TextChanged (Old As String, New"; - //BA.debugLineNum = 1015;BA.debugLine="Dim et As EditText = Sender"; -_et = new anywheresoftware.b4a.objects.EditTextWrapper(); -_et = (anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba))); - //BA.debugLineNum = 1016;BA.debugLine="If New.Length > 4 Then"; -if (_new.length()>4) { - //BA.debugLineNum = 1017;BA.debugLine="et.Text = Old"; -_et.setText(BA.ObjectToCharSequence(_old)); - }; - //BA.debugLineNum = 1019;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 775;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 776;BA.debugLine="If user.text = \"GPS\" Then"; -if ((_user.getText()).equals("GPS")) { - //BA.debugLineNum = 777;BA.debugLine="user.Text=Location1.Latitude"; -_user.setText(BA.ObjectToCharSequence(_location1.getLatitude())); - //BA.debugLineNum = 778;BA.debugLine="pass.text=Location1.Longitude"; -_pass.setText(BA.ObjectToCharSequence(_location1.getLongitude())); - }; - //BA.debugLineNum = 780;BA.debugLine="End Sub"; -return ""; -} -public String _i_engrane_click() throws Exception{ - //BA.debugLineNum = 879;BA.debugLine="Sub i_engrane_Click"; - //BA.debugLineNum = 880;BA.debugLine="lv_server.Clear"; -_lv_server.Clear(); - //BA.debugLineNum = 881;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 882;BA.debugLine="lv_server.AddSingleLine(\"http://keymon.net:1781\")"; -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://keymon.net:1781")); - //BA.debugLineNum = 884;BA.debugLine="If user.Text = \"KMTS1\" Then lv_server.AddSingleLi"; -if ((_user.getText()).equals("KMTS1")) { -_lv_server.AddSingleLine(BA.ObjectToCharSequence("http://10.0.0.205:1781"));}; - //BA.debugLineNum = 886;BA.debugLine="Log($\"|${Starter.DBReqServer}|\"$)"; -__c.LogImpl("338862855",("|"+__c.SmartStringFormatter("",(Object)(_starter._dbreqserver /*String*/ ))+"|"),0); - //BA.debugLineNum = 888;BA.debugLine="et_server.Text = Starter.DBReqServer"; -_et_server.setText(BA.ObjectToCharSequence(_starter._dbreqserver /*String*/ )); - //BA.debugLineNum = 889;BA.debugLine="Subs.panelVisible(p_appUpdate,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_appupdate,(int) (0),(int) (0)); - //BA.debugLineNum = 890;BA.debugLine="If user.Text.trim = \"KMTS1\" Then b_importarBD.Vis"; -if ((_user.getText().trim()).equals("KMTS1")) { -_b_importarbd.setVisible(__c.True);} -else { -_b_importarbd.setVisible(__c.False);}; - //BA.debugLineNum = 891;BA.debugLine="End Sub"; -return ""; -} -public String _i_engrane_longclick() throws Exception{ - //BA.debugLineNum = 897;BA.debugLine="Sub i_engrane_LongClick"; - //BA.debugLineNum = 898;BA.debugLine="copiaDB"; -_copiadb(); - //BA.debugLineNum = 899;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 125;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 127;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(adm.keymon.com.mx.httpjob _job) throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbresult _result = null; -Object[] _records = null; -String _cat_ve_version = ""; -String _k = ""; -String _id_almacen = ""; -String _cuenta = ""; -String _id = ""; -String _fecha_hoy = ""; -String _name = ""; -String _imei_base = ""; -String _cat_pa_pass = ""; -String _valido = ""; - //BA.debugLineNum = 485;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 486;BA.debugLine="Log(\"JOBDONE MAINPAGE\")"; -__c.LogImpl("338076417","JOBDONE MAINPAGE",0); - //BA.debugLineNum = 487;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IsInitia"; -if (_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { - //BA.debugLineNum = 488;BA.debugLine="If B4XPages.MainPage.reqManager.reqsList.IndexOf"; -if (_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )!=-1) { - //BA.debugLineNum = 489;BA.debugLine="B4XPages.MainPage.reqManager.reqsList.RemoveAt("; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )); - //BA.debugLineNum = 490;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; -__c.LogImpl("338076421",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue); - }; - //BA.debugLineNum = 492;BA.debugLine="LogColor(\">>>>>> \" & B4XPages.MainPage.reqManage"; -__c.LogImpl("338076423",">>>>>> "+BA.NumberToString(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._reqmanager /*adm.keymon.com.mx.dbrequestmanager*/ ._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue); - }; - //BA.debugLineNum = 494;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 495;BA.debugLine="LogColor(\"Error: \" & Job.tag & \" : \" & Job.Error"; -__c.LogImpl("338076426","Error: "+BA.ObjectToString(_job._tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red); - }else { - //BA.debugLineNum = 497;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("338076428","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 498;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 499;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 500;BA.debugLine="If result.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 501;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group16 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen16 = group16.getSize() -;int index16 = 0; -; -for (; index16 < groupLen16;index16++){ -_records = (Object[])(group16.Get(index16)); - //BA.debugLineNum = 502;BA.debugLine="skmt.ExecNonQuery(\"delete from VERSION\")"; -_skmt.ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 503;BA.debugLine="Dim CAT_VE_VERSION As String = records(result"; -_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 504;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO VERSION(NOVER"; -_skmt.ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); - } -}; - }; - //BA.debugLineNum = 508;BA.debugLine="If result.Tag = \"select_fechat\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("select_fechat"))) { - //BA.debugLineNum = 509;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group23 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen23 = group23.getSize() -;int index23 = 0; -; -for (; index23 < groupLen23;index23++){ -_records = (Object[])(group23.Get(index23)); - //BA.debugLineNum = 510;BA.debugLine="For Each k As String In result.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group24 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen24 = group24.getSize() -;int index24 = 0; -; -for (; index24 < groupLen24;index24++){ -_k = BA.ObjectToString(group24.Get(index24)); - //BA.debugLineNum = 511;BA.debugLine="Log(\"select_fechat: \" & k & \": \" & records(r"; -__c.LogImpl("338076442","select_fechat: "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - }; - }; - //BA.debugLineNum = 517;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 518;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 519;BA.debugLine="If result.Tag = \"agencia\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("agencia"))) { - //BA.debugLineNum = 520;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group33 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen33 = group33.getSize() -;int index33 = 0; -; -for (; index33 < groupLen33;index33++){ -_records = (Object[])(group33.Get(index33)); - //BA.debugLineNum = 521;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; -_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("ID_ALMACEN"))))]); - } -}; - }; - }; - //BA.debugLineNum = 526;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 527;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 528;BA.debugLine="If result.Tag = \"SelectMontoLiq\" Then"; -if ((_result.Tag /*Object*/ ).equals((Object)("SelectMontoLiq"))) { - //BA.debugLineNum = 529;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group41 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen41 = group41.getSize() -;int index41 = 0; -; -for (; index41 < groupLen41;index41++){ -_records = (Object[])(group41.Get(index41)); - //BA.debugLineNum = 530;BA.debugLine="Dim CUENTA As String = records(result.Columns"; -_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]); - //BA.debugLineNum = 532;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 533;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 534;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 535;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 536;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 537;BA.debugLine="a=B4XPages.MainPage.skmt.ExecQuery(\"select ID"; -_a = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 538;BA.debugLine="a.Position = 0"; -_a.setPosition((int) (0)); - //BA.debugLineNum = 540;BA.debugLine="Private c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 541;BA.debugLine="c2=skmt.ExecQuery(\"select USUARIO from usuari"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 542;BA.debugLine="c2.Position=0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 543;BA.debugLine="If c2.RowCount > 0 Then c2.GetString(\"USUARIO"; -if (_c2.getRowCount()>0) { -_c2.GetString("USUARIO");}; - //BA.debugLineNum = 545;BA.debugLine="Log(CUENTA & \"----------------------!!\")"; -__c.LogImpl("338076476",_cuenta+"----------------------!!",0); - //BA.debugLineNum = 546;BA.debugLine="If CUENTA = \"0\" Then"; -if ((_cuenta).equals("0")) { - //BA.debugLineNum = 548;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),_a.GetString("ID_ALMACEN"),_f.GetString("CAT_CL_RUTA")}))); - //BA.debugLineNum = 549;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 551;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 552;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 553;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 554;BA.debugLine="cmd.Name = \"insert_Monto_Liq_ADM\""; -_cmd.Name /*String*/ = "insert_Monto_Liq_ADM"; - //BA.debugLineNum = 555;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_MONTO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_USUARIO")),(Object)("VENTA"),(Object)(_c.GetString("EML_FECHA_PED"))}; - //BA.debugLineNum = 556;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_Mon_Li"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_Mon_Liq")); - //BA.debugLineNum = 557;BA.debugLine="MsgboxAsync(\"Monto Enviado\", \"Atención\")"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Monto Enviado"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 560;BA.debugLine="c.Close"; -_c.Close(); - }else if((double)(Double.parseDouble(_cuenta))>(double)(Double.parseDouble("0"))) { - //BA.debugLineNum = 563;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM E"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM ENV_MONTO_LIQ WHERE EML_USUARIO = ? AND EML_ALMACEN = ? AND EML_RUTA = ?",new String[]{_c2.GetString("USUARIO"),_a.GetString("ID_ALMACEN"),_f.GetString("CAT_CL_RUTA")}))); - //BA.debugLineNum = 564;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 566;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 567;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 568;BA.debugLine="cmd.Name = \"update_MontoCuenta_ADM\""; -_cmd.Name /*String*/ = "update_MontoCuenta_ADM"; - //BA.debugLineNum = 569;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("EML_MONTO")),(Object)(_c.GetString("EML_ALMACEN")),(Object)(_c.GetString("EML_RUTA")),(Object)(_c.GetString("EML_USUARIO"))}; - //BA.debugLineNum = 571;BA.debugLine="Log(c.GetString(\"EML_MONTO\")& \" \" & c.GetSt"; -__c.LogImpl("338076502",_c.GetString("EML_MONTO")+" "+_c.GetString("EML_ALMACEN")+" "+_c.GetString("EML_RUTA")+" "+_c.GetString("EML_USUARIO"),0); - //BA.debugLineNum = 572;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_MC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_MC")); - //BA.debugLineNum = 573;BA.debugLine="MsgboxAsync(\"Se sobre escribio el Monto\", \""; -__c.MsgboxAsync(BA.ObjectToCharSequence("Se sobre escribio el Monto"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 576;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 577;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 579;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 580;BA.debugLine="a.Close"; -_a.Close(); - } -}; - }; - }; - //BA.debugLineNum = 585;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 586;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 587;BA.debugLine="If result.Tag.As(String).IndexOf(\"PICK_C_\") > -"; -if ((BA.ObjectToString(_result.Tag /*Object*/ )).indexOf("PICK_C_")>-1) { - //BA.debugLineNum = 589;BA.debugLine="Private id As String= result.Tag"; -_id = BA.ObjectToString(_result.Tag /*Object*/ ); - //BA.debugLineNum = 590;BA.debugLine="id = id.SubString(id.IndexOf(\"_\")+3)"; -_id = _id.substring((int) (_id.indexOf("_")+3)); - //BA.debugLineNum = 591;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group91 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen91 = group91.getSize() -;int index91 = 0; -; -for (; index91 < groupLen91;index91++){ -_records = (Object[])(group91.Get(index91)); - //BA.debugLineNum = 592;BA.debugLine="Dim CUENTA As String = records(result.Columns"; -_cuenta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUENTA"))))]); - //BA.debugLineNum = 593;BA.debugLine="Log(CUENTA)"; -__c.LogImpl("338076524",_cuenta,0); - //BA.debugLineNum = 594;BA.debugLine="Log(id)"; -__c.LogImpl("338076525",_id,0); - //BA.debugLineNum = 595;BA.debugLine="If CUENTA = 0 Then"; -if ((_cuenta).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 596;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD = ?",new String[]{_id}))); - //BA.debugLineNum = 597;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 599;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 600;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 601;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 602;BA.debugLine="cmd.Name = \"insert_PICKCIEGO_ADM\""; -_cmd.Name /*String*/ = "insert_PICKCIEGO_ADM"; - //BA.debugLineNum = 603;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_NOM_PROD")),(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("VENTA")}; - //BA.debugLineNum = 604;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_PC")); - }; - //BA.debugLineNum = 607;BA.debugLine="c.Close"; -_c.Close(); - }else if((double)(Double.parseDouble(_cuenta))>0) { - //BA.debugLineNum = 609;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT * FROM P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PICK_CIEGO WHERE PC_ID_PROD= ?",new String[]{_id}))); - //BA.debugLineNum = 610;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 612;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 613;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 614;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 615;BA.debugLine="cmd.Name = \"update_PICKCIEGO_ADM\""; -_cmd.Name /*String*/ = "update_PICKCIEGO_ADM"; - //BA.debugLineNum = 616;BA.debugLine="Log(\"FECHA\" & c.GetString(\"PC_FECHA\"))"; -__c.LogImpl("338076547","FECHA"+_c.GetString("PC_FECHA"),0); - //BA.debugLineNum = 617;BA.debugLine="cmd.Parameters = Array As Object(c.GetStrin"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CANT")),(Object)(_c.GetString("PC_ID_PROD")),(Object)(_c.GetString("PC_ALMACEN")),(Object)(_c.GetString("PC_RUTA")),(Object)(_c.GetString("PC_FECHA")),(Object)("VENTA")}; - //BA.debugLineNum = 618;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_PC\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_PC")); - }; - //BA.debugLineNum = 621;BA.debugLine="c.Close"; -_c.Close(); - }; - } -}; - }; - }; - //BA.debugLineNum = 628;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 629;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 630;BA.debugLine="If result.Tag = \"fecha\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { - //BA.debugLineNum = 631;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group125 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen125 = group125.getSize() -;int index125 = 0; -; -for (; index125 < groupLen125;index125++){ -_records = (Object[])(group125.Get(index125)); - //BA.debugLineNum = 632;BA.debugLine="Dim FECHA_HOY As String = records(result.Colu"; -_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); - //BA.debugLineNum = 633;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); - //BA.debugLineNum = 634;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); - } -}; - }; - }; - //BA.debugLineNum = 639;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 640;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 641;BA.debugLine="If result.Tag = \"usuario\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 642;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group135 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen135 = group135.getSize() -;int index135 = 0; -; -for (; index135 < groupLen135;index135++){ -_records = (Object[])(group135.Get(index135)); - //BA.debugLineNum = 643;BA.debugLine="Dim name As String = records(result.Columns.G"; -_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - //BA.debugLineNum = 644;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; -_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 645;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; -_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); - //BA.debugLineNum = 646;BA.debugLine="Log(records(result.Columns.Get(\"CAT_LO_IDTELE"; -__c.LogImpl("338076577",BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]),0); - } -}; - //BA.debugLineNum = 648;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); - //BA.debugLineNum = 649;BA.debugLine="ToastMessageShow(name, False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_name),__c.False); - //BA.debugLineNum = 650;BA.debugLine="Log(\"////////////////////////// \"&name)"; -__c.LogImpl("338076581","////////////////////////// "+_name,0); - }; - }; - //BA.debugLineNum = 654;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 655;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 656;BA.debugLine="If result.Tag = \"usuario_10\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuario_10"))) { - //BA.debugLineNum = 657;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group149 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen149 = group149.getSize() -;int index149 = 0; -; -for (; index149 < groupLen149;index149++){ -_records = (Object[])(group149.Get(index149)); - //BA.debugLineNum = 658;BA.debugLine="Dim name As String = records(result.Columns.G"; -_name = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - //BA.debugLineNum = 659;BA.debugLine="Dim ID_ALMACEN As String = records(result.Col"; -_id_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_AGENCIA"))))]); - //BA.debugLineNum = 660;BA.debugLine="Dim IMEI_BASE As String = records(result.Colu"; -_imei_base = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_LO_IDTELEFONO"))))]); - } -}; - //BA.debugLineNum = 662;BA.debugLine="Log(\"|\"&name&\"|\")"; -__c.LogImpl("338076593","|"+_name+"|",0); - //BA.debugLineNum = 663;BA.debugLine="paso1 = 1"; -_paso1 = BA.NumberToString(1); - //BA.debugLineNum = 664;BA.debugLine="IMEI_BASE = \"\""; -_imei_base = ""; - //BA.debugLineNum = 665;BA.debugLine="IMEI = \"\""; -_imei = ""; - }; - }; - //BA.debugLineNum = 669;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 670;BA.debugLine="Dim result As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 671;BA.debugLine="If result.Tag = \"contrasena\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("contrasena"))) { - //BA.debugLineNum = 672;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group163 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen163 = group163.getSize() -;int index163 = 0; -; -for (; index163 < groupLen163;index163++){ -_records = (Object[])(group163.Get(index163)); - //BA.debugLineNum = 673;BA.debugLine="Dim CAT_PA_PASS As String = records(result.Co"; -_cat_pa_pass = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_PASS"))))]); - //BA.debugLineNum = 674;BA.debugLine="If CAT_PA_PASS = et_codigo.Text Then"; -if ((_cat_pa_pass).equals(_et_codigo.getText())) { - //BA.debugLineNum = 675;BA.debugLine="Log(CAT_PA_PASS)"; -__c.LogImpl("338076606",_cat_pa_pass,0); - //BA.debugLineNum = 676;BA.debugLine="p_validacion.Visible = False"; -_p_validacion.setVisible(__c.False); - //BA.debugLineNum = 677;BA.debugLine="et_codigo.Text = \"\""; -_et_codigo.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 678;BA.debugLine="If recarga = \"0\" Then"; -if ((_recarga).equals("0")) { - //BA.debugLineNum = 679;BA.debugLine="Subs.panelVisible(P_CIEGO,0,0)"; -_subs._panelvisible /*String*/ (ba,_p_ciego,(int) (0),(int) (0)); - }else if((_recarga).equals("1")) { - //BA.debugLineNum = 681;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 682;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUE"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1")})); - //BA.debugLineNum = 683;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; - //BA.debugLineNum = 684;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - }else { - //BA.debugLineNum = 688;BA.debugLine="MsgboxAsync(\"Contraseña incorrecta\",\"Atenció"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Contraseña incorrecta"),BA.ObjectToCharSequence("Atención"),ba); - }; - } -}; - }; - }; - //BA.debugLineNum = 694;BA.debugLine="If result.Tag = \"ruta\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 695;BA.debugLine="Log(\"JOBDONE PRINCIPAL MAINPAGE\")"; -__c.LogImpl("338076626","JOBDONE PRINCIPAL MAINPAGE",0); - //BA.debugLineNum = 696;BA.debugLine="For Each records() As Object In result.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group185 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen185 = group185.getSize() -;int index185 = 0; -; -for (; index185 < groupLen185;index185++){ -_records = (Object[])(group185.Get(index185)); - //BA.debugLineNum = 697;BA.debugLine="Dim VALIDO As String = records(result.Columns."; -_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - //BA.debugLineNum = 698;BA.debugLine="If VALIDO = \"OK\" Then"; -if ((_valido).equals("OK")) { - //BA.debugLineNum = 699;BA.debugLine="Log(VALIDO)"; -__c.LogImpl("338076630",_valido,0); - }; - } -}; - }; - //BA.debugLineNum = 704;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 706;BA.debugLine="Log($\"Paso1 = ${paso1} - Name: ${name} - IMEI: ${"; -__c.LogImpl("338076637",("Paso1 = "+__c.SmartStringFormatter("",(Object)(_paso1))+" - Name: "+__c.SmartStringFormatter("",(Object)(_name))+" - IMEI: "+__c.SmartStringFormatter("",(Object)(_imei))+" - IMEI_BASE: "+__c.SmartStringFormatter("",(Object)(_imei_base))+""),0); - //BA.debugLineNum = 707;BA.debugLine="If paso1 = 1 Then"; -if ((_paso1).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 708;BA.debugLine="If IMEI = \"\" Then"; -if ((_imei).equals("")) { - //BA.debugLineNum = 709;BA.debugLine="If user.Text = \"KMTS1\" Then name = \"OKActivo\""; -if ((_user.getText()).equals("KMTS1")) { -_name = "OKActivo";}; - //BA.debugLineNum = 710;BA.debugLine="If name = \"OKActivo\" Then"; -if ((_name).equals("OKActivo")) { - //BA.debugLineNum = 711;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 712;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALUE"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())})); - //BA.debugLineNum = 713;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 714;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(ID"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 715;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 716;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_name).equals("OKExpirado")) { - //BA.debugLineNum = 718;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administrad"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado")) { - //BA.debugLineNum = 720;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administra"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 722;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'Ig"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - //BA.debugLineNum = 724;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); - }else { - //BA.debugLineNum = 726;BA.debugLine="If name = \"OKActivo\" & IMEI And IMEI = IMEI_BA"; -if ((_name).equals("OKActivo"+_imei) && (_imei).equals(_imei_base)) { - //BA.debugLineNum = 727;BA.debugLine="If name = \"OKActivo\" & IMEI Then"; -if ((_name).equals("OKActivo"+_imei)) { - //BA.debugLineNum = 728;BA.debugLine="skmt.ExecNonQuery(\"delete from usuarioa\")"; -_skmt.ExecNonQuery("delete from usuarioa"); - //BA.debugLineNum = 729;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO USUARIOA VALU"; -_skmt.ExecNonQuery2("INSERT INTO USUARIOA VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_user.getText().trim()),(Object)(_pass.getText().trim())})); - //BA.debugLineNum = 730;BA.debugLine="skmt.ExecNonQuery(\"delete from cat_almacen\")"; -_skmt.ExecNonQuery("delete from cat_almacen"); - //BA.debugLineNum = 731;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_ALMACEN(I"; -_skmt.ExecNonQuery2("INSERT INTO CAT_ALMACEN(ID_ALMACEN) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_id_almacen)})); - //BA.debugLineNum = 732;BA.debugLine="usuario = user.Text"; -_usuario = _user.getText(); - //BA.debugLineNum = 733;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - }else if((_name).equals("OKExpirado"+_imei)) { - //BA.debugLineNum = 735;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else if((_name).equals("OKCancelado"+_imei)) { - //BA.debugLineNum = 737;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 739;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - //BA.debugLineNum = 741;BA.debugLine="paso1 = 0"; -_paso1 = BA.NumberToString(0); - }else if((_name).equals("OKActivo")) { - //BA.debugLineNum = 743;BA.debugLine="Msgbox(\"Telefono no VALIDO!\",\"\") 'ignore"; -__c.Msgbox(BA.ObjectToCharSequence("Telefono no VALIDO!"),BA.ObjectToCharSequence(""),ba); - }else { - //BA.debugLineNum = 745;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'ig"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - }; - }; - }; - //BA.debugLineNum = 749;BA.debugLine="End Sub"; -return ""; -} -public String _lv_server_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 905;BA.debugLine="Private Sub lv_server_ItemClick (Position As Int,"; - //BA.debugLineNum = 906;BA.debugLine="Starter.DBReqServer = Value"; -_starter._dbreqserver /*String*/ = BA.ObjectToString(_value); - //BA.debugLineNum = 908;BA.debugLine="et_server.Text = Value"; -_et_server.setText(BA.ObjectToCharSequence(_value)); - //BA.debugLineNum = 909;BA.debugLine="Starter.reinicializaReqManager(Value)"; -_starter._reinicializareqmanager /*String*/ (BA.ObjectToString(_value)); - //BA.debugLineNum = 911;BA.debugLine="ToastMessageShow(\"Servidor modificado\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Servidor modificado"),__c.False); - //BA.debugLineNum = 912;BA.debugLine="End Sub"; -return ""; -} -public String _muestraprogreso(String _mensaje) throws Exception{ - //BA.debugLineNum = 870;BA.debugLine="Sub muestraProgreso(mensaje As String)"; - //BA.debugLineNum = 871;BA.debugLine="ProgressDialogShow(mensaje)"; -__c.ProgressDialogShow(ba,BA.ObjectToCharSequence(_mensaje)); - //BA.debugLineNum = 872;BA.debugLine="End Sub"; -return ""; -} -public String _ocultaprogreso() throws Exception{ - //BA.debugLineNum = 875;BA.debugLine="Sub ocultaProgreso"; - //BA.debugLineNum = 876;BA.debugLine="ProgressDialogHide"; -__c.ProgressDialogHide(); - //BA.debugLineNum = 877;BA.debugLine="End Sub"; -return ""; -} -public String _p_add_monto_click() throws Exception{ - //BA.debugLineNum = 1292;BA.debugLine="Private Sub p_add_monto_Click"; - //BA.debugLineNum = 1294;BA.debugLine="End Sub"; -return ""; -} -public String _p_ciego_click() throws Exception{ - //BA.debugLineNum = 1284;BA.debugLine="Private Sub P_CIEGO_Click"; - //BA.debugLineNum = 1286;BA.debugLine="End Sub"; -return ""; -} -public String _p_validacion_click() throws Exception{ - //BA.debugLineNum = 1288;BA.debugLine="Private Sub p_validacion_Click"; - //BA.debugLineNum = 1290;BA.debugLine="End Sub"; -return ""; -} -public String _pdf_click() throws Exception{ - //BA.debugLineNum = 795;BA.debugLine="Sub PDF_Click"; - //BA.debugLineNum = 797;BA.debugLine="End Sub"; -return ""; -} -public String _popupmenu_dismiss() throws Exception{ - //BA.debugLineNum = 782;BA.debugLine="Sub PopupMenu_Dismiss"; - //BA.debugLineNum = 783;BA.debugLine="ToastMessageShow(\"PopupMenu dismissed\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("PopupMenu dismissed"),__c.False); - //BA.debugLineNum = 784;BA.debugLine="End Sub"; -return ""; -} -public boolean _popupmenu_menuitemclick(int _itemid) throws Exception{ - //BA.debugLineNum = 786;BA.debugLine="Sub PopupMenu_MenuItemClick (ItemId As Int) As Boo"; - //BA.debugLineNum = 787;BA.debugLine="ToastMessageShow(\"Item \" & ItemId & \" clicked.\","; -__c.ToastMessageShow(BA.ObjectToCharSequence("Item "+BA.NumberToString(_itemid)+" clicked."),__c.False); - //BA.debugLineNum = 788;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 789;BA.debugLine="End Sub"; -return false; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((adm.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xorderedmap.java b/B4A/Objects/src/adm/keymon/com/mx/b4xorderedmap.java deleted file mode 100644 index 2fd13a1..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xorderedmap.java +++ /dev/null @@ -1,178 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xorderedmap extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xorderedmap"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xorderedmap.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.collections.Map _map = null; -public anywheresoftware.b4a.objects.collections.List _list = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As Map"; -_map = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 3;BA.debugLine="Private list As List"; -_list = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 26;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 27;BA.debugLine="list.Clear"; -_list.Clear(); - //BA.debugLineNum = 28;BA.debugLine="map.Clear"; -_map.Clear(); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public boolean _containskey(Object _key) throws Exception{ - //BA.debugLineNum = 46;BA.debugLine="Public Sub ContainsKey (Key As Object) As Boolean"; - //BA.debugLineNum = 47;BA.debugLine="Return map.ContainsKey(Key)"; -if (true) return _map.ContainsKey(_key); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return false; -} -public Object _get(Object _key) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub Get (Key As Object) As Object"; - //BA.debugLineNum = 38;BA.debugLine="Return map.Get(Key)"; -if (true) return _map.Get(_key); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return null; -} -public Object _getdataforserializator() throws Exception{ - //BA.debugLineNum = 65;BA.debugLine="Public Sub GetDataForSerializator As Object"; - //BA.debugLineNum = 66;BA.debugLine="Return Array(map, list)"; -if (true) return (Object)(new Object[]{(Object)(_map.getObject()),(Object)(_list.getObject())}); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return null; -} -public Object _getdefault(Object _key,Object _defaultvalue) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub GetDefault (Key As Object, DefaultValue"; - //BA.debugLineNum = 43;BA.debugLine="Return map.GetDefault(Key, DefaultValue)"; -if (true) return _map.GetDefault(_key,_defaultvalue); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getkeys() throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub getKeys As List"; - //BA.debugLineNum = 33;BA.debugLine="Return list"; -if (true) return _list; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return null; -} -public int _getsize() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 51;BA.debugLine="Return map.Size"; -if (true) return _map.getSize(); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return 0; -} -public anywheresoftware.b4a.objects.collections.List _getvalues() throws Exception{ -anywheresoftware.b4a.objects.collections.List _res = null; -Object _key = null; - //BA.debugLineNum = 55;BA.debugLine="Public Sub getValues As List"; - //BA.debugLineNum = 56;BA.debugLine="Dim res As List"; -_res = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 57;BA.debugLine="res.Initialize"; -_res.Initialize(); - //BA.debugLineNum = 58;BA.debugLine="For Each key As Object In list"; -{ -final anywheresoftware.b4a.BA.IterableList group3 = _list; -final int groupLen3 = group3.getSize() -;int index3 = 0; -; -for (; index3 < groupLen3;index3++){ -_key = group3.Get(index3); - //BA.debugLineNum = 59;BA.debugLine="res.Add(map.Get(key))"; -_res.Add(_map.Get(_key)); - } -}; - //BA.debugLineNum = 61;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 6;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 7;BA.debugLine="map.Initialize"; -_map.Initialize(); - //BA.debugLineNum = 8;BA.debugLine="list.Initialize"; -_list.Initialize(); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public String _put(Object _key,Object _value) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Public Sub Put (Key As Object, Value As Object)"; - //BA.debugLineNum = 13;BA.debugLine="If map.ContainsKey(Key) = False Then"; -if (_map.ContainsKey(_key)==__c.False) { - //BA.debugLineNum = 14;BA.debugLine="list.Add(Key)"; -_list.Add(_key); - }; - //BA.debugLineNum = 16;BA.debugLine="map.Put(Key, Value)"; -_map.Put(_key,_value); - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public String _remove(Object _key) throws Exception{ - //BA.debugLineNum = 20;BA.debugLine="Public Sub Remove (Key As Object)"; - //BA.debugLineNum = 21;BA.debugLine="If map.ContainsKey(Key) = False Then Return"; -if (_map.ContainsKey(_key)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 22;BA.debugLine="list.RemoveAt(list.IndexOf(Key))"; -_list.RemoveAt(_list.IndexOf(_key)); - //BA.debugLineNum = 23;BA.debugLine="map.Remove(Key)"; -_map.Remove(_key); - //BA.debugLineNum = 24;BA.debugLine="End Sub"; -return ""; -} -public String _setdatafromserializator(Object _data) throws Exception{ -Object[] _o = null; - //BA.debugLineNum = 70;BA.debugLine="Public Sub SetDataFromSerializator (Data As Object"; - //BA.debugLineNum = 71;BA.debugLine="Dim o() As Object = Data"; -_o = (Object[])(_data); - //BA.debugLineNum = 72;BA.debugLine="map = o(0)"; -_map = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_o[(int) (0)])); - //BA.debugLineNum = 73;BA.debugLine="list = o(1)"; -_list = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_o[(int) (1)])); - //BA.debugLineNum = 74;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xpages.java b/B4A/Objects/src/adm/keymon/com/mx/b4xpages.java deleted file mode 100644 index 11cfe40..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xpages.java +++ /dev/null @@ -1,141 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xpages { -private static b4xpages mostCurrent = new b4xpages(); -public static Object getObject() { - throw new RuntimeException("Code module does not support this method."); -} - public anywheresoftware.b4a.keywords.Common __c = null; -public static Object _mpm = null; -public static adm.keymon.com.mx.b4xpagesdelegator _delegate = null; -public static Object _globalcontext = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static adm.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub AddMenuItem(B4XPage As Object, Title As"; - //BA.debugLineNum = 92;BA.debugLine="Return GetManager.AddMenuItem(B4XPage, Title)"; -if (true) return _getmanager(_ba)._addmenuitem /*adm.keymon.com.mx.b4xpagesmanager._b4amenuitem*/ (_b4xpage,_title); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return null; -} -public static String _addpage(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 37;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 38;BA.debugLine="GetManager.AddPage(Id, B4XPage)"; -_getmanager(_ba)._addpage /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _addpageandcreate(anywheresoftware.b4a.BA _ba,String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 43;BA.debugLine="GetManager.AddPageAndCreate(Id, B4XPage)"; -_getmanager(_ba)._addpageandcreate /*String*/ (_id,_b4xpage); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public static String _closepage(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 63;BA.debugLine="GetManager.ClosePage (B4XPage)"; -_getmanager(_ba)._closepage /*String*/ (_b4xpage); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public static adm.keymon.com.mx.b4xpagesmanager _getmanager(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Public Sub GetManager As B4XPagesManager"; - //BA.debugLineNum = 15;BA.debugLine="Return mPM"; -if (true) return (adm.keymon.com.mx.b4xpagesmanager)(_mpm); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.ActivityWrapper _getnativeparent(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub GetNativeParent (B4XPage As Object) As"; - //BA.debugLineNum = 87;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Pare"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ ; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return null; -} -public static Object _getpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 28;BA.debugLine="Return GetManager.GetPage(Id)"; -if (true) return _getmanager(_ba)._getpage /*Object*/ (_id); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return null; -} -public static String _getpageid(anywheresoftware.b4a.BA _ba,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Public Sub GetPageId (B4XPage As Object) As String"; - //BA.debugLineNum = 33;BA.debugLine="Return GetManager.FindPIFromB4XPage(B4XPage).Id"; -if (true) return _getmanager(_ba)._findpifromb4xpage /*adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (_b4xpage).Id /*String*/ ; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public static String _internalsetpagesmanager(anywheresoftware.b4a.BA _ba,Object _pm) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Public Sub InternalSetPagesManager(PM As Object)"; - //BA.debugLineNum = 20;BA.debugLine="Delegate.Initialize"; -_delegate._initialize /*String*/ ((_ba.processBA == null ? _ba : _ba.processBA)); - //BA.debugLineNum = 21;BA.debugLine="mPM = PM"; -_mpm = _pm; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public static boolean _isinitialized(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub IsInitialized As Boolean"; - //BA.debugLineNum = 10;BA.debugLine="Return mPM Is B4XPagesManager"; -if (true) return _mpm instanceof adm.keymon.com.mx.b4xpagesmanager; - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return false; -} -public static adm.keymon.com.mx.b4xmainpage _mainpage(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 73;BA.debugLine="Public Sub MainPage As B4XMainPage"; - //BA.debugLineNum = 74;BA.debugLine="Return GetManager.MainPage"; -if (true) return _getmanager(_ba)._mainpage /*adm.keymon.com.mx.b4xmainpage*/ ; - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mPM As Object"; -_mpm = new Object(); - //BA.debugLineNum = 3;BA.debugLine="Public Delegate As B4XPagesDelegator"; -_delegate = new adm.keymon.com.mx.b4xpagesdelegator(); - //BA.debugLineNum = 4;BA.debugLine="Public GlobalContext As Object"; -_globalcontext = new Object(); - //BA.debugLineNum = 5;BA.debugLine="End Sub"; -return ""; -} -public static String _settitle(anywheresoftware.b4a.BA _ba,Object _b4xpage,Object _title) throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 69;BA.debugLine="GetManager.SetTitle(B4XPage, Title)"; -_getmanager(_ba)._settitle /*String*/ (_b4xpage,_title); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public static String _showpage(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 51;BA.debugLine="GetManager.ShowPage(Id)"; -_getmanager(_ba)._showpage /*String*/ (_id); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public static String _showpageandremovepreviouspages(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 57;BA.debugLine="GetManager.ShowPageAndRemovePreviousPages (Id)"; -_getmanager(_ba)._showpageandremovepreviouspages /*String*/ (_id); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xpagesdelegator.java b/B4A/Objects/src/adm/keymon/com/mx/b4xpagesdelegator.java deleted file mode 100644 index 2c380e6..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xpagesdelegator.java +++ /dev/null @@ -1,105 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xpagesdelegator extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xpagesdelegator"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xpagesdelegator.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 36;BA.debugLine="B4XPages.GetManager.Activity_ActionBarHomeClick"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 37;BA.debugLine="End Sub"; -return ""; -} -public boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 28;BA.debugLine="Return B4XPages.GetManager.Activity_KeyPress (Key"; -if (true) return _b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 53;BA.debugLine="B4XPages.GetManager.Activity_Pause"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_pause /*String*/ (); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 31;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 32;BA.debugLine="B4XPages.GetManager.RaiseEvent(B4XPages.GetManage"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._raiseevent /*String*/ (_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._gettoppage /*adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo*/ (),"B4XPage_PermissionResult",new Object[]{(Object)(_permission),(Object)(_result)}); - //BA.debugLineNum = 33;BA.debugLine="End Sub"; -return ""; -} -public String _activity_resume() throws Exception{ - //BA.debugLineNum = 48;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 49;BA.debugLine="B4XPages.GetManager.Activity_Resume"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._activity_resume /*String*/ (); - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="End Sub"; -return ""; -} -public String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 39;BA.debugLine="Public Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 40;BA.debugLine="B4XPages.GetManager.CreateMenu(Menu)"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._createmenu /*String*/ (_menu); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 4;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public String _mainform_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 45;BA.debugLine="B4XPages.GetManager.MainForm_Resize(Width, Height"; -_b4xpages._getmanager /*adm.keymon.com.mx.b4xpagesmanager*/ (getActivityBA())._mainform_resize /*String*/ (_width,_height); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xpagesmanager.java b/B4A/Objects/src/adm/keymon/com/mx/b4xpagesmanager.java deleted file mode 100644 index d37baed..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xpagesmanager.java +++ /dev/null @@ -1,1075 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xpagesmanager extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xpagesmanager"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xpagesmanager.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public adm.keymon.com.mx.b4xorderedmap _idtob4xpage = null; -public adm.keymon.com.mx.b4xorderedmap _rootb4xtopage = null; -public anywheresoftware.b4j.object.JavaObject _context = null; -public adm.keymon.com.mx.b4xset _mstackofpageids = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.ActivityWrapper _mmainform = null; -public boolean _showupindicator = false; -public anywheresoftware.b4j.object.JavaObject _actionbar = null; -public boolean _isforeground = false; -public int _transitionanimationduration = 0; -public adm.keymon.com.mx.b4xmainpage _mainpage = null; -public String _stackstring = ""; -public boolean _logevents = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _b4xpageparent{ -public boolean IsInitialized; -public anywheresoftware.b4a.objects.ActivityWrapper NativeType; -public anywheresoftware.b4a.objects.collections.List MenuItems; -public void Initialize() { -IsInitialized = true; -NativeType = new anywheresoftware.b4a.objects.ActivityWrapper(); -MenuItems = new anywheresoftware.b4a.objects.collections.List(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _b4amenuitem{ -public boolean IsInitialized; -public Object Title; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper Bitmap; -public String Tag; -public boolean AddToBar; -public anywheresoftware.b4j.object.JavaObject NativeMenuItem; -public void Initialize() { -IsInitialized = true; -Title = new Object(); -Bitmap = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -Tag = ""; -AddToBar = false; -NativeMenuItem = new anywheresoftware.b4j.object.JavaObject(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _b4xpageinfo{ -public boolean IsInitialized; -public Object B4XPage; -public String Id; -public boolean Created; -public Object Title; -public anywheresoftware.b4a.objects.B4XViewWrapper Root; -public boolean IsFirst; -public adm.keymon.com.mx.b4xpagesmanager._b4xpageparent Parent; -public void Initialize() { -IsInitialized = true; -B4XPage = new Object(); -Id = ""; -Created = false; -Title = new Object(); -Root = new anywheresoftware.b4a.objects.B4XViewWrapper(); -IsFirst = false; -Parent = new adm.keymon.com.mx.b4xpagesmanager._b4xpageparent(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _activity_actionbarhomeclick() throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 129;BA.debugLine="Public Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 130;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 131;BA.debugLine="If pi <> Null Then"; -if (_pi!= null) { - //BA.debugLineNum = 132;BA.debugLine="If CloseRequestExists (pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 133;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 135;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); - }; - }; - //BA.debugLineNum = 138;BA.debugLine="End Sub"; -return ""; -} -public boolean _activity_keypress(int _keycode) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 468;BA.debugLine="Public Sub Activity_KeyPress (KeyCode As Int) As B"; - //BA.debugLineNum = 469;BA.debugLine="If KeyCode = KeyCodes.KEYCODE_BACK Then"; -if (_keycode==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 470;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 471;BA.debugLine="If CloseRequestExists(pi) Then"; -if (_closerequestexists(_pi)) { - //BA.debugLineNum = 472;BA.debugLine="HandleCloseRequest(pi)"; -_handlecloserequest(_pi); - }else { - //BA.debugLineNum = 474;BA.debugLine="ClosePage(pi.B4XPage)"; -_closepage(_pi.B4XPage /*Object*/ ); - }; - //BA.debugLineNum = 476;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 478;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 479;BA.debugLine="End Sub"; -return false; -} -public String _activity_pause() throws Exception{ - //BA.debugLineNum = 635;BA.debugLine="Public Sub Activity_Pause"; - //BA.debugLineNum = 636;BA.debugLine="RaiseEventWithResult(GetTopPage, \"B4XPage_Disappe"; -_raiseeventwithresult(_gettoppage(),"B4XPage_Disappear",(Object[])(__c.Null)); - //BA.debugLineNum = 637;BA.debugLine="BackgroundStateChanged(False)"; -_backgroundstatechanged(__c.False); - //BA.debugLineNum = 638;BA.debugLine="End Sub"; -return ""; -} -public String _activity_resume() throws Exception{ -boolean _shouldraise = false; - //BA.debugLineNum = 610;BA.debugLine="Public Sub Activity_Resume"; - //BA.debugLineNum = 611;BA.debugLine="Dim ShouldRaise As Boolean = IsForeground = False"; -_shouldraise = _isforeground==__c.False; - //BA.debugLineNum = 612;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 613;BA.debugLine="If ShouldRaise Then"; -if (_shouldraise) { - //BA.debugLineNum = 614;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - //BA.debugLineNum = 616;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xpagesmanager._b4amenuitem _addmenuitem(Object _b4xpage,Object _title) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; - //BA.debugLineNum = 481;BA.debugLine="Public Sub AddMenuItem (B4XPage As Object, Title A"; - //BA.debugLineNum = 482;BA.debugLine="Dim mi As B4AMenuItem"; -_mi = new adm.keymon.com.mx.b4xpagesmanager._b4amenuitem(); - //BA.debugLineNum = 483;BA.debugLine="mi.Initialize"; -_mi.Initialize(); - //BA.debugLineNum = 484;BA.debugLine="mi.Title = Title"; -_mi.Title /*Object*/ = _title; - //BA.debugLineNum = 485;BA.debugLine="mi.Tag = Title"; -_mi.Tag /*String*/ = BA.ObjectToString(_title); - //BA.debugLineNum = 486;BA.debugLine="FindPIFromB4XPage(B4XPage).Parent.MenuItems.Add(m"; -_findpifromb4xpage(_b4xpage).Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_mi)); - //BA.debugLineNum = 487;BA.debugLine="Return mi"; -if (true) return _mi; - //BA.debugLineNum = 488;BA.debugLine="End Sub"; -return null; -} -public String _addpage(String _id,Object _b4xpage) throws Exception{ -String _idtolower = ""; - //BA.debugLineNum = 141;BA.debugLine="Public Sub AddPage (Id As String, B4XPage As Objec"; - //BA.debugLineNum = 142;BA.debugLine="Dim IdToLower As String = Id.ToLowerCase"; -_idtolower = _id.toLowerCase(); - //BA.debugLineNum = 143;BA.debugLine="If IdToB4XPage.ContainsKey(IdToLower) Then"; -if (_idtob4xpage._containskey /*boolean*/ ((Object)(_idtolower))) { - //BA.debugLineNum = 144;BA.debugLine="Log($\"Page with this id already exists: ${IdToLo"; -__c.LogImpl("99568259",("Page with this id already exists: "+__c.SmartStringFormatter("",(Object)(_idtolower))+"!"),0); - //BA.debugLineNum = 145;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 147;BA.debugLine="IdToB4XPage.Put(IdToLower, CreateB4XPageInfo(B4XP"; -_idtob4xpage._put /*String*/ ((Object)(_idtolower),(Object)(_createb4xpageinfo(_b4xpage,_idtolower,__c.False,(Object)(_id)))); - //BA.debugLineNum = 148;BA.debugLine="If IdToB4XPage.Size = 1 Then ShowPage(IdToLower)"; -if (_idtob4xpage._getsize /*int*/ ()==1) { -_showpage(_idtolower);}; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; -return ""; -} -public String _addpageandcreate(String _id,Object _b4xpage) throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub AddPageAndCreate (Id As String, B4XPage"; - //BA.debugLineNum = 152;BA.debugLine="AddPage (Id, B4XPage)"; -_addpage(_id,_b4xpage); - //BA.debugLineNum = 153;BA.debugLine="CreatePageIfNeeded(GetPageFromId(Id))"; -_createpageifneeded(_getpagefromid(_id)); - //BA.debugLineNum = 154;BA.debugLine="End Sub"; -return ""; -} -public String _backgroundstatechanged(boolean _newstate) throws Exception{ -String _ev = ""; -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 618;BA.debugLine="Private Sub BackgroundStateChanged (NewState As Bo"; - //BA.debugLineNum = 619;BA.debugLine="If IsForeground = NewState Then Return"; -if (_isforeground==_newstate) { -if (true) return "";}; - //BA.debugLineNum = 620;BA.debugLine="IsForeground = NewState"; -_isforeground = _newstate; - //BA.debugLineNum = 621;BA.debugLine="Dim ev As String"; -_ev = ""; - //BA.debugLineNum = 622;BA.debugLine="If IsForeground Then ev = \"B4XPage_Foreground\" El"; -if (_isforeground) { -_ev = "B4XPage_Foreground";} -else { -_ev = "B4XPage_Background";}; - //BA.debugLineNum = 623;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_pi = (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group5.Get(index5)); - //BA.debugLineNum = 624;BA.debugLine="If xui.SubExists(pi.B4XPage, ev, 0) Then"; -if (_xui.SubExists(ba,_pi.B4XPage /*Object*/ ,_ev,(int) (0))) { - //BA.debugLineNum = 625;BA.debugLine="LogEvent(pi, ev)"; -_logevent(_pi,_ev); - //BA.debugLineNum = 626;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 627;BA.debugLine="CallSubDelayed(pi.B4XPage, ev)"; -__c.CallSubDelayed(ba,_pi.B4XPage /*Object*/ ,_ev); - }else { - //BA.debugLineNum = 629;BA.debugLine="CallSub(pi.B4XPage, ev)"; -__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,_ev); - }; - }; - } -}; - //BA.debugLineNum = 633;BA.debugLine="End Sub"; -return ""; -} -public String _checkmainactivityorientations() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _jme = null; -boolean _isappcompat = false; -anywheresoftware.b4j.object.JavaObject _pi = null; -Object[] _activities = null; -anywheresoftware.b4j.object.JavaObject _act = null; -String _name = ""; -int _screenorientation = 0; - //BA.debugLineNum = 96;BA.debugLine="Private Sub CheckMainActivityOrientations"; - //BA.debugLineNum = 98;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 99;BA.debugLine="jo.InitializeContext"; -_jo.InitializeContext(ba); - //BA.debugLineNum = 101;BA.debugLine="ActionBar = jo.RunMethod(\"getActionBar\", Null)"; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getActionBar",(Object[])(__c.Null)))); - //BA.debugLineNum = 102;BA.debugLine="If ActionBar.IsInitialized = False Then"; -if (_actionbar.IsInitialized()==__c.False) { - //BA.debugLineNum = 103;BA.debugLine="Dim jme As JavaObject = Me"; -_jme = new anywheresoftware.b4j.object.JavaObject(); -_jme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 104;BA.debugLine="Dim IsAppCompat As Boolean = jme.RunMethod(\"chec"; -_isappcompat = BA.ObjectToBoolean(_jme.RunMethod("checkIfAppCompat",new Object[]{(Object)(_jo.getObject())})); - //BA.debugLineNum = 105;BA.debugLine="If IsAppCompat Then"; -if (_isappcompat) { - //BA.debugLineNum = 106;BA.debugLine="ActionBar = jo.RunMethod(\"getSupportActionBar\","; -_actionbar = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("getSupportActionBar",(Object[])(__c.Null)))); - }; - }; - //BA.debugLineNum = 110;BA.debugLine="Dim pi As JavaObject = jo.RunMethodJO(\"getPackage"; -_pi = new anywheresoftware.b4j.object.JavaObject(); -_pi = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethodJO("getPackageManager",(Object[])(__c.Null)).RunMethod("getPackageInfo",new Object[]{(Object)(__c.Application.getPackageName()),(Object)(1)}))); - //BA.debugLineNum = 111;BA.debugLine="Dim activities() As Object = pi.GetField(\"activit"; -_activities = (Object[])(_pi.GetField("activities")); - //BA.debugLineNum = 112;BA.debugLine="For Each Act As JavaObject In activities"; -_act = new anywheresoftware.b4j.object.JavaObject(); -{ -final Object[] group13 = _activities; -final int groupLen13 = group13.length -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_act = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(group13[index13])); - //BA.debugLineNum = 113;BA.debugLine="Dim name As String = Act.GetField(\"name\")"; -_name = BA.ObjectToString(_act.GetField("name")); - //BA.debugLineNum = 114;BA.debugLine="If name.EndsWith(\".main\") Then"; -if (_name.endsWith(".main")) { - //BA.debugLineNum = 115;BA.debugLine="Dim screenOrientation As Int = Act.GetField(\"sc"; -_screenorientation = (int)(BA.ObjectToNumber(_act.GetField("screenOrientation"))); - //BA.debugLineNum = 116;BA.debugLine="If screenOrientation = -1 Then"; -if (_screenorientation==-1) { - //BA.debugLineNum = 117;BA.debugLine="LogColor(\"#SupportedOrientations attribute mus"; -__c.LogImpl("99437205","#SupportedOrientations attribute must be set to landscape or portrait.",_xui.Color_Red); - }; - }; - } -}; - //BA.debugLineNum = 121;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 23;BA.debugLine="Private IdToB4XPage As B4XOrderedMap"; -_idtob4xpage = new adm.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 24;BA.debugLine="Private RootB4XToPage As B4XOrderedMap"; -_rootb4xtopage = new adm.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 26;BA.debugLine="Private Context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 27;BA.debugLine="Type B4XPageParent (NativeType As Activity, MenuI"; -; - //BA.debugLineNum = 28;BA.debugLine="Type B4AMenuItem (Title As Object, Bitmap As B4XB"; -; - //BA.debugLineNum = 34;BA.debugLine="Type B4XPageInfo (B4XPage As Object, Id As String"; -; - //BA.debugLineNum = 38;BA.debugLine="Public mStackOfPageIds As B4XSet"; -_mstackofpageids = new adm.keymon.com.mx.b4xset(); - //BA.debugLineNum = 39;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 43;BA.debugLine="Private mMainForm As Activity"; -_mmainform = new anywheresoftware.b4a.objects.ActivityWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Public ShowUpIndicator As Boolean = True"; -_showupindicator = __c.True; - //BA.debugLineNum = 45;BA.debugLine="Public ActionBar As JavaObject"; -_actionbar = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 49;BA.debugLine="Public IsForeground As Boolean"; -_isforeground = false; - //BA.debugLineNum = 50;BA.debugLine="Public TransitionAnimationDuration As Int = 100"; -_transitionanimationduration = (int) (100); - //BA.debugLineNum = 51;BA.debugLine="Public MainPage As B4XMainPage"; -_mainpage = new adm.keymon.com.mx.b4xmainpage(); - //BA.debugLineNum = 52;BA.debugLine="Private StackString As String"; -_stackstring = ""; - //BA.debugLineNum = 53;BA.debugLine="Public LogEvents As Boolean = False"; -_logevents = __c.False; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _closepage(Object _b4xpage) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -boolean _isclosingtoppage = false; - //BA.debugLineNum = 209;BA.debugLine="Public Sub ClosePage (B4XPage As Object)"; - //BA.debugLineNum = 210;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 211;BA.debugLine="If mStackOfPageIds.Contains(pi.Id) = False Then R"; -if (_mstackofpageids._contains /*boolean*/ ((Object)(_pi.Id /*String*/ ))==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 212;BA.debugLine="If xui.IsB4i And GetTopPage <> pi Then"; -if (_xui.getIsB4i() && (_gettoppage()).equals(_pi) == false) { - //BA.debugLineNum = 213;BA.debugLine="Log(\"Only top page can be closed\")"; -__c.LogImpl("99830404","Only top page can be closed",0); - //BA.debugLineNum = 214;BA.debugLine="Return"; -if (true) return ""; - }else if(_xui.getIsB4i() && _mstackofpageids._getsize /*int*/ ()==1) { - //BA.debugLineNum = 216;BA.debugLine="Log(\"First page cannot be closed\")"; -__c.LogImpl("99830407","First page cannot be closed",0); - //BA.debugLineNum = 217;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 219;BA.debugLine="Dim IsClosingTopPage As Boolean = GetTopPage = pi"; -_isclosingtoppage = (_gettoppage()).equals(_pi); - //BA.debugLineNum = 220;BA.debugLine="ClosePageImpl(pi)"; -_closepageimpl(_pi); - //BA.debugLineNum = 221;BA.debugLine="If IsClosingTopPage Then"; -if (_isclosingtoppage) { - //BA.debugLineNum = 222;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - }; - //BA.debugLineNum = 224;BA.debugLine="If xui.IsB4A And mStackOfPageIds.Size = 1 Then Re"; -if (_xui.getIsB4A() && _mstackofpageids._getsize /*int*/ ()==1) { -if (true) return "";}; - //BA.debugLineNum = 225;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 226;BA.debugLine="If IsClosingTopPage Then"; -if (_isclosingtoppage) { - //BA.debugLineNum = 227;BA.debugLine="If xui.IsB4A Then ShowPageImpl(GetTopPage)"; -if (_xui.getIsB4A()) { -_showpageimpl(_gettoppage());}; - //BA.debugLineNum = 228;BA.debugLine="TopPageAppear"; -_toppageappear(); - }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return ""; -} -public String _closepageimpl(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 315;BA.debugLine="Private Sub ClosePageImpl (pi As B4XPageInfo) 'ign"; - //BA.debugLineNum = 317;BA.debugLine="If mStackOfPageIds.Size = 1 Then"; -if (_mstackofpageids._getsize /*int*/ ()==1) { - //BA.debugLineNum = 318;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 319;BA.debugLine="i.Initialize(i.ACTION_MAIN, \"\")"; -_i.Initialize(_i.ACTION_MAIN,""); - //BA.debugLineNum = 320;BA.debugLine="i.AddCategory(\"android.intent.category.HOME\")"; -_i.AddCategory("android.intent.category.HOME"); - //BA.debugLineNum = 321;BA.debugLine="i.Flags = 0x10000000"; -_i.setFlags(((int)0x10000000)); - //BA.debugLineNum = 322;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); - }else { - //BA.debugLineNum = 324;BA.debugLine="pi.Root.RemoveViewFromParent"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); - }; - //BA.debugLineNum = 331;BA.debugLine="End Sub"; -return ""; -} -public boolean _closerequestexists(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub CloseRequestExists (pi As B4XPageInfo)"; - //BA.debugLineNum = 535;BA.debugLine="Return xui.SubExists(pi.B4XPage, \"B4XPage_CloseRe"; -if (true) return _xui.SubExists(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest",(int) (0)); - //BA.debugLineNum = 536;BA.debugLine="End Sub"; -return false; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _createb4xpageinfo(Object _b4xpage,String _id,boolean _created,Object _title) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _t1 = null; - //BA.debugLineNum = 420;BA.debugLine="Private Sub CreateB4XPageInfo (B4XPage As Object,"; - //BA.debugLineNum = 421;BA.debugLine="Dim t1 As B4XPageInfo"; -_t1 = new adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo(); - //BA.debugLineNum = 422;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 423;BA.debugLine="t1.B4XPage = B4XPage"; -_t1.B4XPage /*Object*/ = _b4xpage; - //BA.debugLineNum = 424;BA.debugLine="t1.Id = Id"; -_t1.Id /*String*/ = _id; - //BA.debugLineNum = 425;BA.debugLine="t1.Created = Created"; -_t1.Created /*boolean*/ = _created; - //BA.debugLineNum = 426;BA.debugLine="t1.Title = Title"; -_t1.Title /*Object*/ = _title; - //BA.debugLineNum = 427;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 428;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageparent _createb4xpageparent(Object _nativetype) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageparent _t1 = null; - //BA.debugLineNum = 598;BA.debugLine="Private Sub CreateB4XPageParent (NativeType As Obj"; - //BA.debugLineNum = 604;BA.debugLine="Dim t1 As B4XPageParent"; -_t1 = new adm.keymon.com.mx.b4xpagesmanager._b4xpageparent(); - //BA.debugLineNum = 605;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 606;BA.debugLine="t1.NativeType = NativeType"; -_t1.NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ = (anywheresoftware.b4a.objects.ActivityWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ActivityWrapper(), (anywheresoftware.b4a.BALayout)(_nativetype)); - //BA.debugLineNum = 607;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 608;BA.debugLine="End Sub"; -return null; -} -public String _createmenu(Object _menu) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -anywheresoftware.b4j.object.JavaObject _jo = null; -adm.keymon.com.mx.b4xpagesmanager._b4amenuitem _mi = null; -anywheresoftware.b4j.object.JavaObject _nativemenuitem = null; -anywheresoftware.b4a.objects.drawable.BitmapDrawable _bd = null; -anywheresoftware.b4j.object.JavaObject _listener = null; - //BA.debugLineNum = 494;BA.debugLine="Public Sub CreateMenu (Menu As Object)"; - //BA.debugLineNum = 495;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 496;BA.debugLine="If pi = Null Then Return"; -if (_pi== null) { -if (true) return "";}; - //BA.debugLineNum = 497;BA.debugLine="Dim jo As JavaObject = Menu"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_menu)); - //BA.debugLineNum = 498;BA.debugLine="For Each mi As B4AMenuItem In pi.Parent.MenuItems"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _pi.Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_mi = (adm.keymon.com.mx.b4xpagesmanager._b4amenuitem)(group4.Get(index4)); - //BA.debugLineNum = 499;BA.debugLine="Dim NativeMenuItem As JavaObject = jo.RunMethod("; -_nativemenuitem = new anywheresoftware.b4j.object.JavaObject(); -_nativemenuitem = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_jo.RunMethod("add",new Object[]{_mi.Title /*Object*/ }))); - //BA.debugLineNum = 500;BA.debugLine="If mi.Bitmap.IsInitialized Then"; -if (_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 501;BA.debugLine="Dim bd As BitmapDrawable"; -_bd = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 502;BA.debugLine="bd.Initialize(mi.Bitmap)"; -_bd.Initialize((android.graphics.Bitmap)(_mi.Bitmap /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .getObject())); - //BA.debugLineNum = 503;BA.debugLine="NativeMenuItem.RunMethod(\"setIcon\", Array(bd))"; -_nativemenuitem.RunMethod("setIcon",new Object[]{(Object)(_bd.getObject())}); - }; - //BA.debugLineNum = 505;BA.debugLine="If mi.AddToBar Then"; -if (_mi.AddToBar /*boolean*/ ) { - //BA.debugLineNum = 506;BA.debugLine="NativeMenuItem.RunMethod(\"setShowAsAction\", Arr"; -_nativemenuitem.RunMethod("setShowAsAction",new Object[]{(Object)(1)}); - }; - //BA.debugLineNum = 508;BA.debugLine="Dim listener As JavaObject"; -_listener = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="listener.InitializeNewInstance(Application.Packa"; -_listener.InitializeNewInstance(__c.Application.getPackageName()+".b4xpagesmanager$PagesMenuListener",new Object[]{_pi.B4XPage /*Object*/ ,(Object)(_mi.Tag /*String*/ )}); - //BA.debugLineNum = 510;BA.debugLine="NativeMenuItem.RunMethod(\"setOnMenuItemClickList"; -_nativemenuitem.RunMethod("setOnMenuItemClickListener",new Object[]{(Object)(_listener.getObject())}); - } -}; - //BA.debugLineNum = 512;BA.debugLine="End Sub"; -return ""; -} -public String _createpageifneeded(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 352;BA.debugLine="Private Sub CreatePageIfNeeded(pi As B4XPageInfo)"; - //BA.debugLineNum = 353;BA.debugLine="If pi.Created Then Return"; -if (_pi.Created /*boolean*/ ) { -if (true) return "";}; - //BA.debugLineNum = 354;BA.debugLine="pi.IsFirst = IdToB4XPage.Size = 1"; -_pi.IsFirst /*boolean*/ = _idtob4xpage._getsize /*int*/ ()==1; - //BA.debugLineNum = 355;BA.debugLine="CreatePageImpl (pi)"; -_createpageimpl(_pi); - //BA.debugLineNum = 356;BA.debugLine="pi.Created = True"; -_pi.Created /*boolean*/ = __c.True; - //BA.debugLineNum = 357;BA.debugLine="RootB4XToPage.Put(pi.Root, pi)"; -_rootb4xtopage._put /*String*/ ((Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(Object)(_pi)); - //BA.debugLineNum = 358;BA.debugLine="LogEvent(pi, \"B4XPage_Created\")"; -_logevent(_pi,"B4XPage_Created"); - //BA.debugLineNum = 359;BA.debugLine="CallSub2(pi.B4XPage, \"B4XPage_Created\", pi.root)"; -__c.CallSubNew2(ba,_pi.B4XPage /*Object*/ ,"B4XPage_Created",(Object)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ )); - //BA.debugLineNum = 361;BA.debugLine="End Sub"; -return ""; -} -public String _createpageimpl(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ - //BA.debugLineNum = 369;BA.debugLine="Private Sub CreatePageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 381;BA.debugLine="pi.Root = xui.CreatePanel(\"root\")"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ = _xui.CreatePanel(ba,"root"); - //BA.debugLineNum = 382;BA.debugLine="pi.root.SetLayoutAnimated(0, 0, 0, 100%x, 100%y)"; -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 383;BA.debugLine="pi.Parent = CreateB4XPageParent(mMainForm)"; -_pi.Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ = _createb4xpageparent((Object)(_mmainform.getObject())); - //BA.debugLineNum = 384;BA.debugLine="pi.Parent.MenuItems.Initialize"; -_pi.Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .MenuItems /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 392;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _findpifromb4xpage(Object _page) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 306;BA.debugLine="Public Sub FindPIFromB4XPage (Page As Object) As B"; - //BA.debugLineNum = 307;BA.debugLine="For Each pi As B4XPageInfo In IdToB4XPage.Values"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _idtob4xpage._getvalues /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_pi = (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(group1.Get(index1)); - //BA.debugLineNum = 308;BA.debugLine="If pi.B4XPage = Page Then"; -if ((_pi.B4XPage /*Object*/ ).equals(_page)) { - //BA.debugLineNum = 309;BA.debugLine="Return pi"; -if (true) return _pi; - }; - } -}; - //BA.debugLineNum = 312;BA.debugLine="Return Null"; -if (true) return (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null); - //BA.debugLineNum = 313;BA.debugLine="End Sub"; -return null; -} -public Object _getpage(String _id) throws Exception{ - //BA.debugLineNum = 394;BA.debugLine="Public Sub GetPage (Id As String) As Object"; - //BA.debugLineNum = 395;BA.debugLine="Return GetPageFromId(Id).B4XPage"; -if (true) return _getpagefromid(_id).B4XPage /*Object*/ ; - //BA.debugLineNum = 396;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpagefromid(String _id) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 398;BA.debugLine="Private Sub GetPageFromId (id As String) As B4XPag"; - //BA.debugLineNum = 399;BA.debugLine="Dim pi As B4XPageInfo = IdToB4XPage.Get(id.ToLowe"; -_pi = (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ ((Object)(_id.toLowerCase()))); - //BA.debugLineNum = 400;BA.debugLine="If pi = Null Then"; -if (_pi== null) { - //BA.debugLineNum = 401;BA.debugLine="Log(\"Error: page id not found: \" & id)"; -__c.LogImpl("910485763","Error: page id not found: "+_id,0); - //BA.debugLineNum = 402;BA.debugLine="Log(\"Ids: \" & IdToB4XPage.Keys) 'ignore"; -__c.LogImpl("910485764","Ids: "+BA.ObjectToString(_idtob4xpage._getkeys /*anywheresoftware.b4a.objects.collections.List*/ ()),0); - }; - //BA.debugLineNum = 404;BA.debugLine="Return pi"; -if (true) return _pi; - //BA.debugLineNum = 405;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _getpageinfofromroot(anywheresoftware.b4a.objects.B4XViewWrapper _root) throws Exception{ - //BA.debugLineNum = 407;BA.debugLine="Public Sub GetPageInfoFromRoot (Root As B4XView) A"; - //BA.debugLineNum = 408;BA.debugLine="Return RootB4XToPage.Get(Root)"; -if (true) return (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_rootb4xtopage._get /*Object*/ ((Object)(_root.getObject()))); - //BA.debugLineNum = 409;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _gettoppage() throws Exception{ - //BA.debugLineNum = 592;BA.debugLine="Public Sub GetTopPage As B4XPageInfo"; - //BA.debugLineNum = 593;BA.debugLine="If mStackOfPageIds.Size = 0 Then Return Null"; -if (_mstackofpageids._getsize /*int*/ ()==0) { -if (true) return (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(__c.Null);}; - //BA.debugLineNum = 594;BA.debugLine="Return IdToB4XPage.Get(mStackOfPageIds.AsList.Get"; -if (true) return (adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo)(_idtob4xpage._get /*Object*/ (_mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ ().Get((int) (_mstackofpageids._getsize /*int*/ ()-1)))); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; -return null; -} -public void _handlecloserequest(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -ResumableSub_HandleCloseRequest rsub = new ResumableSub_HandleCloseRequest(this,_pi); -rsub.resume(ba, null); -} -public static class ResumableSub_HandleCloseRequest extends BA.ResumableSub { -public ResumableSub_HandleCloseRequest(adm.keymon.com.mx.b4xpagesmanager parent,adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) { -this.parent = parent; -this._pi = _pi; -} -adm.keymon.com.mx.b4xpagesmanager parent; -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi; -anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _rs = null; -boolean _shouldclose = false; - -@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 = 539;BA.debugLine="LogEvent(pi, \"B4XPage_CloseRequest\")"; -parent._logevent(_pi,"B4XPage_CloseRequest"); - //BA.debugLineNum = 540;BA.debugLine="Dim rs As ResumableSub = CallSub(pi.B4XPage, \"B4X"; -_rs = new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(); -_rs = (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), (anywheresoftware.b4a.BA.ResumableSub)(parent.__c.CallSubNew(ba,_pi.B4XPage /*Object*/ ,"B4XPage_CloseRequest"))); - //BA.debugLineNum = 541;BA.debugLine="Wait For (rs) Complete (ShouldClose As Boolean)"; -parent.__c.WaitFor("complete", ba, this, _rs); -this.state = 5; -return; -case 5: -//C -this.state = 1; -_shouldclose = (Boolean) result[0]; -; - //BA.debugLineNum = 542;BA.debugLine="If ShouldClose Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (_shouldclose) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 543;BA.debugLine="ClosePage(pi.B4XPage)"; -parent._closepage(_pi.B4XPage /*Object*/ ); - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 545;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _complete(boolean _shouldclose) throws Exception{ -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ActivityWrapper _activity) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _module = null; -boolean _nonmainpagewasadded = false; - //BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize (Activity As Activity)"; - //BA.debugLineNum = 63;BA.debugLine="IdToB4XPage.Initialize"; -_idtob4xpage._initialize /*String*/ (ba); - //BA.debugLineNum = 64;BA.debugLine="RootB4XToPage.Initialize"; -_rootb4xtopage._initialize /*String*/ (ba); - //BA.debugLineNum = 65;BA.debugLine="mStackOfPageIds.Initialize"; -_mstackofpageids._initialize /*String*/ (ba); - //BA.debugLineNum = 69;BA.debugLine="Context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 70;BA.debugLine="mMainForm = Activity"; -_mmainform = _activity; - //BA.debugLineNum = 71;BA.debugLine="CheckMainActivityOrientations"; -_checkmainactivityorientations(); - //BA.debugLineNum = 72;BA.debugLine="Dim jo As JavaObject = Me"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 73;BA.debugLine="Dim module As JavaObject"; -_module = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 74;BA.debugLine="module.InitializeStatic(jo.RunMethodJO(\"getActivi"; -_module.InitializeStatic(BA.ObjectToString(_jo.RunMethodJO("getActivityBA",(Object[])(__c.Null)).GetField("className"))).SetField("dontPause",(Object)(__c.True)); - //BA.debugLineNum = 78;BA.debugLine="B4XPages.InternalSetPagesManager(Me)"; -_b4xpages._internalsetpagesmanager /*String*/ (ba,this); - //BA.debugLineNum = 79;BA.debugLine="MainPage.Initialize"; -_mainpage._initialize /*String*/ (ba); - //BA.debugLineNum = 80;BA.debugLine="Dim NonMainPageWasAdded As Boolean = IdToB4XPage."; -_nonmainpagewasadded = _idtob4xpage._getsize /*int*/ ()>0; - //BA.debugLineNum = 81;BA.debugLine="IdToB4XPage.Put(\"~~~~~temp~~~~\", CreateB4XPageInf"; -_idtob4xpage._put /*String*/ ((Object)("~~~~~temp~~~~"),(Object)(_createb4xpageinfo((Object)(_mainpage),"",__c.False,(Object)("")))); - //BA.debugLineNum = 82;BA.debugLine="BackgroundStateChanged(True)"; -_backgroundstatechanged(__c.True); - //BA.debugLineNum = 83;BA.debugLine="IdToB4XPage.Remove(\"~~~~~temp~~~~\")"; -_idtob4xpage._remove /*String*/ ((Object)("~~~~~temp~~~~")); - //BA.debugLineNum = 84;BA.debugLine="AddPageAndCreate(\"MainPage\", MainPage)"; -_addpageandcreate("MainPage",(Object)(_mainpage)); - //BA.debugLineNum = 85;BA.debugLine="If LogEvents = False Then"; -if (_logevents==__c.False) { - //BA.debugLineNum = 86;BA.debugLine="Log(\"Call B4XPages.GetManager.LogEvents = True t"; -__c.LogImpl("99371675","Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.",0); - }; - //BA.debugLineNum = 88;BA.debugLine="If NonMainPageWasAdded Then"; -if (_nonmainpagewasadded) { - //BA.debugLineNum = 89;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 90;BA.debugLine="RaiseEvent(GetTopPage, \"B4XPage_Appear\", Null)"; -_raiseevent(_gettoppage(),"B4XPage_Appear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _logevent(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi,String _ev) throws Exception{ -String _msg = ""; - //BA.debugLineNum = 640;BA.debugLine="Private Sub LogEvent (pi As B4XPageInfo, ev As Str"; - //BA.debugLineNum = 641;BA.debugLine="If LogEvents Then"; -if (_logevents) { - //BA.debugLineNum = 642;BA.debugLine="Dim msg As String = $\"*** ${pi.Id}: ${ev} ${Stac"; -_msg = ("*** "+__c.SmartStringFormatter("",(Object)(_pi.Id /*String*/ ))+": "+__c.SmartStringFormatter("",(Object)(_ev))+" "+__c.SmartStringFormatter("",(Object)(_stackstring))+""); - //BA.debugLineNum = 643;BA.debugLine="Log(msg)"; -__c.LogImpl("911599875",_msg,0); - }; - //BA.debugLineNum = 645;BA.debugLine="End Sub"; -return ""; -} -public String _mainform_resize(double _width,double _height) throws Exception{ -int _w = 0; -int _h = 0; - //BA.debugLineNum = 585;BA.debugLine="Public Sub MainForm_Resize(Width As Double, Height"; - //BA.debugLineNum = 586;BA.debugLine="Dim w As Int = Width"; -_w = (int) (_width); - //BA.debugLineNum = 587;BA.debugLine="Dim h As Int = Height"; -_h = (int) (_height); - //BA.debugLineNum = 588;BA.debugLine="RaiseEvent(GetPageInfoFromRoot(Sender), \"B4XPage_"; -_raiseevent(_getpageinfofromroot((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))),"B4XPage_Resize",new Object[]{(Object)(_w),(Object)(_h)}); - //BA.debugLineNum = 589;BA.debugLine="End Sub"; -return ""; -} -public String _raiseevent(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ -int _length = 0; - //BA.debugLineNum = 548;BA.debugLine="Public Sub RaiseEvent (TargetPage As B4XPageInfo,"; - //BA.debugLineNum = 549;BA.debugLine="If TargetPage = Null Then Return"; -if (_targetpage== null) { -if (true) return "";}; - //BA.debugLineNum = 550;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 551;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; -if (_params== null) { -_length = (int) (0);} -else { -_length = _params.length;}; - //BA.debugLineNum = 552;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 553;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 554;BA.debugLine="Select length"; -switch (_length) { -case 0: { - //BA.debugLineNum = 556;BA.debugLine="CallSubDelayed(TargetPage.B4XPage, SubName)"; -__c.CallSubDelayed(ba,_targetpage.B4XPage /*Object*/ ,_subname); - break; } -case 1: { - //BA.debugLineNum = 558;BA.debugLine="CallSubDelayed2(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 560;BA.debugLine="CallSubDelayed3(TargetPage.B4XPage, SubName, Pa"; -__c.CallSubDelayed3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); - break; } -default: { - //BA.debugLineNum = 562;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("911075598","Too many parameters",0); - break; } -} -; - //BA.debugLineNum = 564;BA.debugLine="End Sub"; -return ""; -} -public Object _raiseeventwithresult(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _targetpage,String _subname,Object[] _params) throws Exception{ -int _length = 0; - //BA.debugLineNum = 566;BA.debugLine="Public Sub RaiseEventWithResult (TargetPage As B4X"; - //BA.debugLineNum = 567;BA.debugLine="If TargetPage = Null Then Return Null"; -if (_targetpage== null) { -if (true) return __c.Null;}; - //BA.debugLineNum = 568;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 569;BA.debugLine="If Params = Null Then length = 0 Else length = Pa"; -if (_params== null) { -_length = (int) (0);} -else { -_length = _params.length;}; - //BA.debugLineNum = 570;BA.debugLine="LogEvent(TargetPage, SubName)"; -_logevent(_targetpage,_subname); - //BA.debugLineNum = 571;BA.debugLine="If xui.SubExists(TargetPage.B4XPage, SubName, len"; -if (_xui.SubExists(ba,_targetpage.B4XPage /*Object*/ ,_subname,_length)==__c.False) { -if (true) return __c.Null;}; - //BA.debugLineNum = 572;BA.debugLine="Select length"; -switch (_length) { -case 0: { - //BA.debugLineNum = 574;BA.debugLine="Return CallSub(TargetPage.B4XPage, SubName)"; -if (true) return __c.CallSubNew(ba,_targetpage.B4XPage /*Object*/ ,_subname); - break; } -case 1: { - //BA.debugLineNum = 576;BA.debugLine="Return CallSub2(TargetPage.B4XPage, SubName, Pa"; -if (true) return __c.CallSubNew2(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 578;BA.debugLine="Return CallSub3(TargetPage.B4XPage, SubName, Pa"; -if (true) return __c.CallSubNew3(ba,_targetpage.B4XPage /*Object*/ ,_subname,_params[(int) (0)],_params[(int) (1)]); - break; } -default: { - //BA.debugLineNum = 580;BA.debugLine="Log(\"Too many parameters\")"; -__c.LogImpl("911141134","Too many parameters",0); - break; } -} -; - //BA.debugLineNum = 582;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 583;BA.debugLine="End Sub"; -return null; -} -public String _settitle(Object _b4xpage,Object _title) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 363;BA.debugLine="Public Sub SetTitle (B4XPage As Object, Title As O"; - //BA.debugLineNum = 364;BA.debugLine="Dim pi As B4XPageInfo = FindPIFromB4XPage(B4XPage"; -_pi = _findpifromb4xpage(_b4xpage); - //BA.debugLineNum = 365;BA.debugLine="pi.Title = Title"; -_pi.Title /*Object*/ = _title; - //BA.debugLineNum = 366;BA.debugLine="pi.Parent.NativeType.Title = Title"; -_pi.Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_title)); - //BA.debugLineNum = 367;BA.debugLine="End Sub"; -return ""; -} -public String _showpage(String _id) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _top = null; - //BA.debugLineNum = 156;BA.debugLine="Public Sub ShowPage (Id As String)"; - //BA.debugLineNum = 157;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 158;BA.debugLine="If pi = GetTopPage Then Return"; -if ((_pi).equals(_gettoppage())) { -if (true) return "";}; - //BA.debugLineNum = 159;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 160;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 162;BA.debugLine="Dim Top As B4XPageInfo = GetTopPage"; -_top = _gettoppage(); - //BA.debugLineNum = 163;BA.debugLine="If Top <> Null Then"; -if (_top!= null) { - //BA.debugLineNum = 164;BA.debugLine="Top.Root.RemoveViewFromParent"; -_top.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); - }; - //BA.debugLineNum = 174;BA.debugLine="mStackOfPageIds.Remove(pi.Id)"; -_mstackofpageids._remove /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 175;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - //BA.debugLineNum = 176;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 177;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 178;BA.debugLine="End Sub"; -return ""; -} -public String _showpageandremovepreviouspages(String _id) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pagetoremove = null; - //BA.debugLineNum = 180;BA.debugLine="Public Sub ShowPageAndRemovePreviousPages (Id As S"; - //BA.debugLineNum = 181;BA.debugLine="If GetTopPage = Null Then"; -if (_gettoppage()== null) { - //BA.debugLineNum = 182;BA.debugLine="ShowPage(Id)"; -_showpage(_id); - //BA.debugLineNum = 183;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 185;BA.debugLine="Dim pi As B4XPageInfo = GetPageFromId(Id)"; -_pi = _getpagefromid(_id); - //BA.debugLineNum = 186;BA.debugLine="CreatePageIfNeeded(pi)"; -_createpageifneeded(_pi); - //BA.debugLineNum = 187;BA.debugLine="TopPageDisappear"; -_toppagedisappear(); - //BA.debugLineNum = 191;BA.debugLine="For Each Id As String In mStackOfPageIds.AsList"; -{ -final anywheresoftware.b4a.BA.IterableList group8 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen8 = group8.getSize() -;int index8 = 0; -; -for (; index8 < groupLen8;index8++){ -_id = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 192;BA.debugLine="Dim PageToRemove As B4XPageInfo = GetPageFromId("; -_pagetoremove = _getpagefromid(_id); - //BA.debugLineNum = 194;BA.debugLine="PageToRemove.Root.RemoveViewFromParent"; -_pagetoremove.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent(); - } -}; - //BA.debugLineNum = 201;BA.debugLine="mStackOfPageIds.Clear"; -_mstackofpageids._clear /*String*/ (); - //BA.debugLineNum = 202;BA.debugLine="mStackOfPageIds.Add(pi.Id)"; -_mstackofpageids._add /*String*/ ((Object)(_pi.Id /*String*/ )); - //BA.debugLineNum = 203;BA.debugLine="If xui.IsB4A Or xui.IsB4J Then"; -if (_xui.getIsB4A() || _xui.getIsB4J()) { - //BA.debugLineNum = 204;BA.debugLine="ShowPageImpl(pi)"; -_showpageimpl(_pi); - }; - //BA.debugLineNum = 206;BA.debugLine="TopPageAppear"; -_toppageappear(); - //BA.debugLineNum = 207;BA.debugLine="End Sub"; -return ""; -} -public String _showpageimpl(adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi) throws Exception{ -anywheresoftware.b4a.objects.PanelWrapper _pnl = null; - //BA.debugLineNum = 333;BA.debugLine="Private Sub ShowPageImpl (pi As B4XPageInfo)"; - //BA.debugLineNum = 339;BA.debugLine="If pi.Root.Parent.IsInitialized Then pi.Root.Remo"; -if (_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getParent().IsInitialized()) { -_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveViewFromParent();}; - //BA.debugLineNum = 340;BA.debugLine="Dim pnl As Panel = pi.Root"; -_pnl = new anywheresoftware.b4a.objects.PanelWrapper(); -_pnl = (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_pi.Root /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject())); - //BA.debugLineNum = 341;BA.debugLine="If TransitionAnimationDuration > 0 Then"; -if (_transitionanimationduration>0) { - //BA.debugLineNum = 342;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 20dip, 20dip)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20))); - //BA.debugLineNum = 343;BA.debugLine="pnl.SetLayoutAnimated(TransitionAnimationDuratio"; -_pnl.SetLayoutAnimated(_transitionanimationduration,(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - }else { - //BA.debugLineNum = 345;BA.debugLine="mMainForm.AddView(pnl, 0, 0, 100%x, 100%y)"; -_mmainform.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - }; - //BA.debugLineNum = 350;BA.debugLine="End Sub"; -return ""; -} -public String _toppageappear() throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 288;BA.debugLine="Private Sub TopPageAppear"; - //BA.debugLineNum = 289;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 290;BA.debugLine="If pi = Null Then Return"; -if (_pi== null) { -if (true) return "";}; - //BA.debugLineNum = 291;BA.debugLine="pi.Parent.NativeType.Title = pi.Title"; -_pi.Parent /*adm.keymon.com.mx.b4xpagesmanager._b4xpageparent*/ .NativeType /*anywheresoftware.b4a.objects.ActivityWrapper*/ .setTitle(BA.ObjectToCharSequence(_pi.Title /*Object*/ )); - //BA.debugLineNum = 292;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 293;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 294;BA.debugLine="RaiseEvent(pi, \"B4XPage_Appear\", Null)"; -_raiseevent(_pi,"B4XPage_Appear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 298;BA.debugLine="If ShowUpIndicator And ActionBar.IsInitialized Th"; -if (_showupindicator && _actionbar.IsInitialized()) { - //BA.debugLineNum = 299;BA.debugLine="ActionBar.RunMethod(\"setDisplayHomeAsUpEnabled\","; -_actionbar.RunMethod("setDisplayHomeAsUpEnabled",new Object[]{(Object)(_mstackofpageids._getsize /*int*/ ()>1)}); - }; - //BA.debugLineNum = 301;BA.debugLine="UpdateMenuItems"; -_updatemenuitems(); - //BA.debugLineNum = 303;BA.debugLine="UpdateStackString"; -_updatestackstring(); - //BA.debugLineNum = 304;BA.debugLine="End Sub"; -return ""; -} -public String _toppagedisappear() throws Exception{ -adm.keymon.com.mx.b4xpagesmanager._b4xpageinfo _pi = null; - //BA.debugLineNum = 277;BA.debugLine="Private Sub TopPageDisappear"; - //BA.debugLineNum = 278;BA.debugLine="If xui.IsB4J Then Return"; -if (_xui.getIsB4J()) { -if (true) return "";}; - //BA.debugLineNum = 279;BA.debugLine="Dim pi As B4XPageInfo = GetTopPage"; -_pi = _gettoppage(); - //BA.debugLineNum = 280;BA.debugLine="If pi = Null Then Return"; -if (_pi== null) { -if (true) return "";}; - //BA.debugLineNum = 281;BA.debugLine="If Not(xui.IsB4i) Then"; -if (__c.Not(_xui.getIsB4i())) { - //BA.debugLineNum = 282;BA.debugLine="If IsForeground Then"; -if (_isforeground) { - //BA.debugLineNum = 283;BA.debugLine="RaiseEventWithResult(pi, \"B4XPage_Disappear\", N"; -_raiseeventwithresult(_pi,"B4XPage_Disappear",(Object[])(__c.Null)); - }; - }; - //BA.debugLineNum = 286;BA.debugLine="End Sub"; -return ""; -} -public String _updatemenuitems() throws Exception{ - //BA.debugLineNum = 490;BA.debugLine="Private Sub UpdateMenuItems"; - //BA.debugLineNum = 491;BA.debugLine="Context.RunMethod(\"invalidateOptionsMenu\", Null)"; -_context.RunMethod("invalidateOptionsMenu",(Object[])(__c.Null)); - //BA.debugLineNum = 492;BA.debugLine="End Sub"; -return ""; -} -public String _updatestackstring() throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -String _id = ""; - //BA.debugLineNum = 647;BA.debugLine="Public Sub UpdateStackString"; - //BA.debugLineNum = 648;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 649;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 650;BA.debugLine="sb.Append(\"[\")"; -_sb.Append("["); - //BA.debugLineNum = 651;BA.debugLine="If mStackOfPageIds.Size > 0 Then"; -if (_mstackofpageids._getsize /*int*/ ()>0) { - //BA.debugLineNum = 652;BA.debugLine="For Each id As String In mStackOfPageIds.AsList"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _mstackofpageids._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_id = BA.ObjectToString(group5.Get(index5)); - //BA.debugLineNum = 653;BA.debugLine="sb.Append(id).Append(\", \")"; -_sb.Append(_id).Append(", "); - } -}; - //BA.debugLineNum = 655;BA.debugLine="sb.Remove(sb.Length - 2, sb.Length)"; -_sb.Remove((int) (_sb.getLength()-2),_sb.getLength()); - }; - //BA.debugLineNum = 657;BA.debugLine="sb.Append(\"]\")"; -_sb.Append("]"); - //BA.debugLineNum = 658;BA.debugLine="StackString = sb.ToString"; -_stackstring = _sb.ToString(); - //BA.debugLineNum = 659;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -public boolean checkIfAppCompat(android.app.Activity act) { - return act.getClass().getSuperclass().getName().equals("androidx.appcompat.app.AppCompatActivity"); -} -public static class PagesMenuListener implements android.view.MenuItem.OnMenuItemClickListener { - private B4AClass target; - private String tag; - public PagesMenuListener(B4AClass target, String tag) { - this.target = target; - this.tag = tag; - } - public boolean onMenuItemClick(android.view.MenuItem item) { - target.getBA().raiseEventFromUI(null, "b4xpage_menuclick", tag); - return true; - } -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xplusminus.java b/B4A/Objects/src/adm/keymon/com/mx/b4xplusminus.java deleted file mode 100644 index 58c63dc..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xplusminus.java +++ /dev/null @@ -1,591 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xplusminus extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xplusminus"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xplusminus.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public Object _tag = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnlplus = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnlminus = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblplus = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblminus = null; -public String _formation = ""; -public boolean _mcyclic = false; -public boolean _mrapid = false; -public anywheresoftware.b4a.objects.B4XViewWrapper _mainlabel = null; -public int _arrowssize = 0; -public anywheresoftware.b4a.objects.collections.List _mstringitems = null; -public double _mstartrange = 0; -public double _minterval = 0; -public double _mendrange = 0; -public int _mselectedindex = 0; -public int _loopindex = 0; -public int _rapidperiod1 = 0; -public int _rapidperiod2 = 0; -public adm.keymon.com.mx.b4xformatter _formatter = null; -public boolean _stringmode = false; -public int _size = 0; -public boolean _mhaptic = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 84;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 85;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, 0, ArrowsSize,"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 86;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width - ArrowsSize,"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width-_arrowssize),(int) (0),_arrowssize,(int) (_height)); - //BA.debugLineNum = 87;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - }else if((_formation).equals("Vertical")) { - //BA.debugLineNum = 89;BA.debugLine="pnlPlus.SetLayoutAnimated(0, 0, 0, Width, Arrows"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),_arrowssize); - //BA.debugLineNum = 90;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width),_arrowssize); - //BA.debugLineNum = 91;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - }else { - //BA.debugLineNum = 93;BA.debugLine="pnlMinus.SetLayoutAnimated(0, 0, Height - Arrows"; -_pnlminus.SetLayoutAnimated((int) (0),(int) (0),(int) (_height-_arrowssize),(int) (_width/(double)2),_arrowssize); - //BA.debugLineNum = 94;BA.debugLine="pnlPlus.SetLayoutAnimated(0, Width / 2, pnlMinus"; -_pnlplus.SetLayoutAnimated((int) (0),(int) (_width/(double)2),_pnlminus.getTop(),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 95;BA.debugLine="MainLabel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_mainlabel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height-_arrowssize+__c.DipToCurrent((int) (5)))); - }; - //BA.debugLineNum = 97;BA.debugLine="lblMinus.SetLayoutAnimated(0, 0, 0, pnlMinus.Widt"; -_lblminus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlminus.getWidth(),_pnlminus.getHeight()); - //BA.debugLineNum = 98;BA.debugLine="lblPlus.SetLayoutAnimated(0, 0, 0, pnlPlus.Width,"; -_lblplus.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnlplus.getWidth(),_pnlplus.getHeight()); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public pnlPlus, pnlMinus As B4XView"; -_pnlplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnlminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Public lblPlus, lblMinus As B4XView"; -_lblplus = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lblminus = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Public Formation As String"; -_formation = ""; - //BA.debugLineNum = 15;BA.debugLine="Public mCyclic As Boolean"; -_mcyclic = false; - //BA.debugLineNum = 16;BA.debugLine="Public mRapid As Boolean"; -_mrapid = false; - //BA.debugLineNum = 17;BA.debugLine="Public MainLabel As B4XView"; -_mainlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Public ArrowsSize As Int = 30dip"; -_arrowssize = __c.DipToCurrent((int) (30)); - //BA.debugLineNum = 19;BA.debugLine="Private mStringItems As List"; -_mstringitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 20;BA.debugLine="Private mStartRange, mInterval, mEndRange As Doub"; -_mstartrange = 0; -_minterval = 0; -_mendrange = 0; - //BA.debugLineNum = 21;BA.debugLine="Private mSelectedIndex As Int = -1"; -_mselectedindex = (int) (-1); - //BA.debugLineNum = 22;BA.debugLine="Private LoopIndex As Int"; -_loopindex = 0; - //BA.debugLineNum = 23;BA.debugLine="Public RapidPeriod1 As Int = 1000"; -_rapidperiod1 = (int) (1000); - //BA.debugLineNum = 24;BA.debugLine="Public RapidPeriod2 As Int = 30"; -_rapidperiod2 = (int) (30); - //BA.debugLineNum = 25;BA.debugLine="Public Formatter As B4XFormatter"; -_formatter = new adm.keymon.com.mx.b4xformatter(); - //BA.debugLineNum = 26;BA.debugLine="Private StringMode As Boolean"; -_stringmode = false; - //BA.debugLineNum = 27;BA.debugLine="Private Size As Int"; -_size = 0; - //BA.debugLineNum = 28;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 29;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(String _text) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; - //BA.debugLineNum = 247;BA.debugLine="Private Sub CreateLabel (text As String) As B4XVie"; - //BA.debugLineNum = 248;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 249;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 250;BA.debugLine="Dim xlbl As B4XView = lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 251;BA.debugLine="xlbl.Font = xui.CreateMaterialIcons(30)"; -_xlbl.setFont(_xui.CreateMaterialIcons((float) (30))); - //BA.debugLineNum = 252;BA.debugLine="xlbl.Text = text"; -_xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 253;BA.debugLine="xlbl.TextColor = MainLabel.TextColor"; -_xlbl.setTextColor(_mainlabel.getTextColor()); - //BA.debugLineNum = 254;BA.debugLine="Return xlbl"; -if (true) return _xlbl; - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return null; -} -public String _decrement() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub Decrement"; - //BA.debugLineNum = 183;BA.debugLine="If mSelectedIndex <= 0 Then"; -if (_mselectedindex<=0) { - //BA.debugLineNum = 184;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 185;BA.debugLine="mSelectedIndex = Size"; -_mselectedindex = _size; - }else { - //BA.debugLineNum = 187;BA.debugLine="mSelectedIndex = 0"; -_mselectedindex = (int) (0); - //BA.debugLineNum = 188;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 189;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 192;BA.debugLine="SetIndex(mSelectedIndex - 1, True)"; -_setindex((int) (_mselectedindex-1),__c.True); - //BA.debugLineNum = 193;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub DesignerCreateView (Base As Object, lbl"; - //BA.debugLineNum = 39;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 40;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 41;BA.debugLine="MainLabel = lbl"; -_mainlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 42;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 43;BA.debugLine="Dim pnl As B4XView = Props.Get(\"page\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_props.Get((Object)("page")))); - //BA.debugLineNum = 53;BA.debugLine="pnlPlus = xui.CreatePanel(\"pnlArrow\")"; -_pnlplus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 54;BA.debugLine="pnlMinus = xui.CreatePanel(\"pnlArrow\")"; -_pnlminus = _xui.CreatePanel(ba,"pnlArrow"); - //BA.debugLineNum = 56;BA.debugLine="pnlPlus.Tag = True"; -_pnlplus.setTag((Object)(__c.True)); - //BA.debugLineNum = 57;BA.debugLine="pnlMinus.Tag = False"; -_pnlminus.setTag((Object)(__c.False)); - //BA.debugLineNum = 58;BA.debugLine="Formation = Props.Get(\"Orientation\")"; -_formation = BA.ObjectToString(_props.Get((Object)("Orientation"))); - //BA.debugLineNum = 59;BA.debugLine="mCyclic = Props.Get(\"Cyclic\")"; -_mcyclic = BA.ObjectToBoolean(_props.Get((Object)("Cyclic"))); - //BA.debugLineNum = 60;BA.debugLine="mRapid = Props.Get(\"Rapid\")"; -_mrapid = BA.ObjectToBoolean(_props.Get((Object)("Rapid"))); - //BA.debugLineNum = 61;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 62;BA.debugLine="Formatter.GetDefaultFormat.FormatFont = MainLabel"; -_formatter._getdefaultformat /*adm.keymon.com.mx.b4xformatter._b4xformatdata*/ ().FormatFont /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ = _mainlabel.getFont(); - //BA.debugLineNum = 63;BA.debugLine="Formatter.GetDefaultFormat.TextColor = MainLabel."; -_formatter._getdefaultformat /*adm.keymon.com.mx.b4xformatter._b4xformatdata*/ ().TextColor /*int*/ = _mainlabel.getTextColor(); - //BA.debugLineNum = 64;BA.debugLine="If Formation = \"Horizontal\" Then"; -if ((_formation).equals("Horizontal")) { - //BA.debugLineNum = 65;BA.debugLine="lblPlus = CreateLabel(Chr(0xE315))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe315)))); - //BA.debugLineNum = 66;BA.debugLine="lblMinus = CreateLabel(Chr(0xE314))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe314)))); - }else { - //BA.debugLineNum = 68;BA.debugLine="lblPlus = CreateLabel(Chr(0xE316))"; -_lblplus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe316)))); - //BA.debugLineNum = 69;BA.debugLine="lblMinus = CreateLabel(Chr(0xE313))"; -_lblminus = _createlabel(BA.ObjectToString(__c.Chr(((int)0xe313)))); - }; - //BA.debugLineNum = 71;BA.debugLine="lblMinus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblminus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 72;BA.debugLine="lblPlus.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_lblplus.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 73;BA.debugLine="MainLabel.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_mainlabel.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 74;BA.debugLine="mBase.AddView(MainLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mainlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 75;BA.debugLine="mBase.AddView(pnlPlus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 76;BA.debugLine="mBase.AddView(pnlMinus, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnlminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 77;BA.debugLine="pnlPlus.AddView(lblPlus, 0, 0, 0, 0)"; -_pnlplus.AddView((android.view.View)(_lblplus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 78;BA.debugLine="pnlMinus.AddView(lblMinus, 0, 0, 0, 0)"; -_pnlminus.AddView((android.view.View)(_lblminus.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 79;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 80;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public Object _getselectedvalue() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub getSelectedValue As Object"; - //BA.debugLineNum = 118;BA.debugLine="Return GetValueImpl (mSelectedIndex)"; -if (true) return _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return null; -} -public Object _getvalueimpl(int _index) throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Private Sub GetValueImpl (Index As Int) As Object"; - //BA.debugLineNum = 131;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 132;BA.debugLine="Return mStringItems.Get(Index)"; -if (true) return _mstringitems.Get(_index); - }else { - //BA.debugLineNum = 134;BA.debugLine="If Index = Size - 1 Then"; -if (_index==_size-1) { - //BA.debugLineNum = 135;BA.debugLine="Return mEndRange"; -if (true) return (Object)(_mendrange); - }else { - //BA.debugLineNum = 137;BA.debugLine="Return mStartRange + Index * mInterval"; -if (true) return (Object)(_mstartrange+_index*_minterval); - }; - }; - //BA.debugLineNum = 140;BA.debugLine="End Sub"; -return null; -} -public String _increment() throws Exception{ -double _v1 = 0; -double _v2 = 0; - //BA.debugLineNum = 162;BA.debugLine="Public Sub Increment"; - //BA.debugLineNum = 163;BA.debugLine="If mSelectedIndex = Size - 3 And StringMode = Fal"; -if (_mselectedindex==_size-3 && _stringmode==__c.False) { - //BA.debugLineNum = 164;BA.debugLine="Dim v1 As Double = GetValueImpl(mSelectedIndex +"; -_v1 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+1)))); - //BA.debugLineNum = 165;BA.debugLine="Dim v2 As Double = GetValueImpl(mSelectedIndex +"; -_v2 = (double)(BA.ObjectToNumber(_getvalueimpl((int) (_mselectedindex+2)))); - //BA.debugLineNum = 166;BA.debugLine="If Formatter.Format(v1) = Formatter.Format(v2) T"; -if ((_formatter._format /*String*/ (_v1)).equals(_formatter._format /*String*/ (_v2))) { - //BA.debugLineNum = 167;BA.debugLine="mSelectedIndex = mSelectedIndex + 1"; -_mselectedindex = (int) (_mselectedindex+1); - }; - }; - //BA.debugLineNum = 170;BA.debugLine="If mSelectedIndex >= Size - 1 Then"; -if (_mselectedindex>=_size-1) { - //BA.debugLineNum = 171;BA.debugLine="If mCyclic Then"; -if (_mcyclic) { - //BA.debugLineNum = 172;BA.debugLine="mSelectedIndex = -1"; -_mselectedindex = (int) (-1); - }else { - //BA.debugLineNum = 174;BA.debugLine="mSelectedIndex = Size - 1"; -_mselectedindex = (int) (_size-1); - //BA.debugLineNum = 175;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - //BA.debugLineNum = 176;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 179;BA.debugLine="SetIndex(mSelectedIndex + 1, True)"; -_setindex((int) (_mselectedindex+1),__c.True); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 31;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 32;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 33;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 34;BA.debugLine="Formatter.Initialize"; -_formatter._initialize /*String*/ (ba); - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 257;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 259;BA.debugLine="xlbl.Text = Text"; -_xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 269;BA.debugLine="End Sub"; -return ""; -} -public String _pnlarrow_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Private Sub pnlArrow_Touch (Action As Int, X As Fl"; - //BA.debugLineNum = 196;BA.debugLine="Touch(Action = lblPlus.TOUCH_ACTION_DOWN, Action"; -_touch(_action==_lblplus.TOUCH_ACTION_DOWN,_action!=_lblplus.TOUCH_ACTION_MOVE,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 197;BA.debugLine="End Sub"; -return ""; -} -public String _setindex(int _i,boolean _raiseevent) throws Exception{ -Object _value = null; - //BA.debugLineNum = 142;BA.debugLine="Private Sub SetIndex(i As Int, RaiseEvent As Boole"; - //BA.debugLineNum = 143;BA.debugLine="If i >= Size Then i = -1"; -if (_i>=_size) { -_i = (int) (-1);}; - //BA.debugLineNum = 144;BA.debugLine="mSelectedIndex = i"; -_mselectedindex = _i; - //BA.debugLineNum = 145;BA.debugLine="If mSelectedIndex = -1 Then"; -if (_mselectedindex==-1) { - //BA.debugLineNum = 146;BA.debugLine="MainLabel.Text = \"\""; -_mainlabel.setText(BA.ObjectToCharSequence("")); - }else { - //BA.debugLineNum = 148;BA.debugLine="Dim value As Object = GetValueImpl (mSelectedInd"; -_value = _getvalueimpl(_mselectedindex); - //BA.debugLineNum = 149;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 150;BA.debugLine="InternalSetTextOrCSBuilderToLabel(MainLabel, va"; -_internalsettextorcsbuildertolabel(_mainlabel,_value); - }else { - //BA.debugLineNum = 152;BA.debugLine="MainLabel.Text = Formatter.Format(value)"; -_mainlabel.setText(BA.ObjectToCharSequence(_formatter._format /*String*/ ((double)(BA.ObjectToNumber(_value))))); - }; - //BA.debugLineNum = 154;BA.debugLine="If RaiseEvent And xui.SubExists(mCallBack, mEven"; -if (_raiseevent && _xui.SubExists(ba,_mcallback,_meventname+"_valuechanged",(int) (1))) { - //BA.debugLineNum = 155;BA.debugLine="CallSub2(mCallBack, mEventName & \"_valuechanged"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_valuechanged",_value); - }; - }; - //BA.debugLineNum = 158;BA.debugLine="lblPlus.Enabled = Size > 0 And (mCyclic Or mSelec"; -_lblplus.setEnabled(_size>0 && (_mcyclic || _mselectedindex<_size-1)); - //BA.debugLineNum = 159;BA.debugLine="lblMinus.Enabled = Size > 0 And (mCyclic Or mSele"; -_lblminus.setEnabled(_size>0 && (_mcyclic || _mselectedindex>0)); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; -return ""; -} -public String _setnumericrange(double _startrange,double _endrange,double _interval) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub SetNumericRange (StartRange As Double,"; - //BA.debugLineNum = 109;BA.debugLine="Size = Ceil((EndRange - StartRange) / Interval) +"; -_size = (int) (__c.Ceil((_endrange-_startrange)/(double)_interval)+1); - //BA.debugLineNum = 110;BA.debugLine="mStartRange = StartRange"; -_mstartrange = _startrange; - //BA.debugLineNum = 111;BA.debugLine="mEndRange = EndRange"; -_mendrange = _endrange; - //BA.debugLineNum = 112;BA.debugLine="mInterval = Interval"; -_minterval = _interval; - //BA.debugLineNum = 113;BA.debugLine="StringMode = False"; -_stringmode = __c.False; - //BA.debugLineNum = 114;BA.debugLine="SetIndex(0, False)"; -_setindex((int) (0),__c.False); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _setselectedvalue(Object _v) throws Exception{ -double _n = 0; - //BA.debugLineNum = 121;BA.debugLine="Public Sub setSelectedValue (v As Object)"; - //BA.debugLineNum = 122;BA.debugLine="If StringMode Then"; -if (_stringmode) { - //BA.debugLineNum = 123;BA.debugLine="SetIndex(mStringItems.IndexOf(v), False)"; -_setindex(_mstringitems.IndexOf(_v),__c.False); - }else { - //BA.debugLineNum = 125;BA.debugLine="Dim n As Double = v"; -_n = (double)(BA.ObjectToNumber(_v)); - //BA.debugLineNum = 126;BA.debugLine="SetIndex(Min(Size - 1, Max(0, Round((n - mStartR"; -_setindex((int) (__c.Min(_size-1,__c.Max(0,__c.Round((_n-_mstartrange)/(double)_minterval)))),__c.False); - }; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setstringitems(anywheresoftware.b4a.objects.collections.List _list) throws Exception{ - //BA.debugLineNum = 101;BA.debugLine="Public Sub SetStringItems (list As List)"; - //BA.debugLineNum = 102;BA.debugLine="mStringItems = list"; -_mstringitems = _list; - //BA.debugLineNum = 103;BA.debugLine="StringMode = True"; -_stringmode = __c.True; - //BA.debugLineNum = 104;BA.debugLine="Size = mStringItems.Size"; -_size = _mstringitems.getSize(); - //BA.debugLineNum = 105;BA.debugLine="SetIndex(-1, False)"; -_setindex((int) (-1),__c.False); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public void _startdownloop(boolean _up) throws Exception{ -ResumableSub_StartDownLoop rsub = new ResumableSub_StartDownLoop(this,_up); -rsub.resume(ba, null); -} -public static class ResumableSub_StartDownLoop extends BA.ResumableSub { -public ResumableSub_StartDownLoop(adm.keymon.com.mx.b4xplusminus parent,boolean _up) { -this.parent = parent; -this._up = _up; -} -adm.keymon.com.mx.b4xplusminus parent; -boolean _up; -int _myindex = 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 = 235;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 236;BA.debugLine="If mRapid = False Then Return"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent._mrapid==parent.__c.False) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -if (true) return ; -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 237;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 238;BA.debugLine="Sleep(RapidPeriod1)"; -parent.__c.Sleep(ba,this,parent._rapidperiod1); -this.state = 19; -return; -case 19: -//C -this.state = 7; -; - //BA.debugLineNum = 239;BA.debugLine="Do While MyIndex = LoopIndex"; -if (true) break; - -case 7: -//do while -this.state = 18; -while (_myindex==parent._loopindex) { -this.state = 9; -if (true) break; -} -if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 240;BA.debugLine="If Up Then Increment Else Decrement"; -if (true) break; - -case 10: -//if -this.state = 17; -if (_up) { -this.state = 12; -;} -else { -this.state = 14; -;}if (true) break; - -case 12: -//C -this.state = 17; -parent._increment(); -if (true) break; - -case 14: -//C -this.state = 17; -parent._decrement(); -if (true) break; - -case 17: -//C -this.state = 7; -; - //BA.debugLineNum = 241;BA.debugLine="Sleep(RapidPeriod2)"; -parent.__c.Sleep(ba,this,parent._rapidperiod2); -this.state = 20; -return; -case 20: -//C -this.state = 7; -; - if (true) break; - -case 18: -//C -this.state = -1; -; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _touch(boolean _start,boolean _stop,anywheresoftware.b4a.objects.B4XViewWrapper _pnl) throws Exception{ - //BA.debugLineNum = 199;BA.debugLine="Private Sub Touch (Start As Boolean, Stop As Boole"; - //BA.debugLineNum = 200;BA.debugLine="If pnl.GetView(0).Enabled = False Then Return"; -if (_pnl.GetView((int) (0)).getEnabled()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 201;BA.debugLine="If Start Then"; -if (_start) { - //BA.debugLineNum = 202;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_pnl);}; - //BA.debugLineNum = 203;BA.debugLine="If pnl.Tag = True Then"; -if ((_pnl.getTag()).equals((Object)(__c.True))) { - //BA.debugLineNum = 204;BA.debugLine="Increment"; -_increment(); - //BA.debugLineNum = 205;BA.debugLine="StartDownLoop(True)"; -_startdownloop(__c.True); - }else { - //BA.debugLineNum = 207;BA.debugLine="Decrement"; -_decrement(); - //BA.debugLineNum = 208;BA.debugLine="StartDownLoop(False)"; -_startdownloop(__c.False); - }; - }else if(_stop) { - //BA.debugLineNum = 211;BA.debugLine="LoopIndex = LoopIndex + 1"; -_loopindex = (int) (_loopindex+1); - }; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xradiobutton.java b/B4A/Objects/src/adm/keymon/com/mx/b4xradiobutton.java deleted file mode 100644 index d9b80d2..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xradiobutton.java +++ /dev/null @@ -1,613 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xradiobutton extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xradiobutton"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xradiobutton.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public int _oncolor = 0; -public int _offcolor = 0; -public b4a.example.bitmapcreator _bc = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _iv = null; -public boolean _mvalue = false; -public b4a.example.bcpath._bcbrush _transparent = null; -public int _loopindex = 0; -public Object _tag = null; -public b4a.example.bcpath._bcbrush _onbrush = null; -public b4a.example.bcpath._bcbrush _offbrush = null; -public boolean _menabled = false; -public boolean _mhaptic = false; -public int _size = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper _mlabel = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -public float _scale = 0f; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ -int _newsize = 0; -int _gap = 0; - //BA.debugLineNum = 59;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 60;BA.debugLine="Dim NewSize As Int = Max(5dip, Height1)"; -_newsize = (int) (__c.Max(__c.DipToCurrent((int) (5)),_height1)); - //BA.debugLineNum = 61;BA.debugLine="If NewSize = Size Then Return"; -if (_newsize==_size) { -if (true) return "";}; - //BA.debugLineNum = 62;BA.debugLine="Size = NewSize"; -_size = _newsize; - //BA.debugLineNum = 63;BA.debugLine="Dim gap As Int = 3dip"; -_gap = __c.DipToCurrent((int) (3)); - //BA.debugLineNum = 65;BA.debugLine="bc.Initialize(NewSize - 2 * gap, NewSize - 2 * ga"; -_bc._initialize(ba,(int) (_newsize-2*_gap),(int) (_newsize-2*_gap)); - //BA.debugLineNum = 66;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 71;BA.debugLine="iv.SetLayoutAnimated(0, gap, gap, Size - 2 * gap,"; -_iv.SetLayoutAnimated((int) (0),_gap,_gap,(int) (_size-2*_gap),(int) (_size-2*_gap)); - //BA.debugLineNum = 72;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width1, Height1)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width1),(int) (_height1)); - //BA.debugLineNum = 73;BA.debugLine="mLabel.SetLayoutAnimated(0, Size + gap, 0, Width1"; -_mlabel.SetLayoutAnimated((int) (0),(int) (_size+_gap),(int) (0),(int) (_width1-_size-_gap),(int) (_height1)); - //BA.debugLineNum = 74;BA.debugLine="OnBrush = bc.CreateBrushFromColor(OnColor)"; -_onbrush = _bc._createbrushfromcolor(_oncolor); - //BA.debugLineNum = 75;BA.debugLine="OffBrush = bc.CreateBrushFromColor(OffColor)"; -_offbrush = _bc._createbrushfromcolor(_offcolor); - //BA.debugLineNum = 76;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 77;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 78;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Public OnColor, OffColor As Int"; -_oncolor = 0; -_offcolor = 0; - //BA.debugLineNum = 12;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 13;BA.debugLine="Private iv As B4XView"; -_iv = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private mValue As Boolean"; -_mvalue = false; - //BA.debugLineNum = 15;BA.debugLine="Private transparent As BCBrush"; -_transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 16;BA.debugLine="Private LoopIndex As Int"; -_loopindex = 0; - //BA.debugLineNum = 17;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private OnBrush, OffBrush As BCBrush"; -_onbrush = new b4a.example.bcpath._bcbrush(); -_offbrush = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 19;BA.debugLine="Private mEnabled As Boolean = True"; -_menabled = __c.True; - //BA.debugLineNum = 20;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 21;BA.debugLine="Private Size As Int"; -_size = 0; - //BA.debugLineNum = 22;BA.debugLine="Public mLabel As B4XView"; -_mlabel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private Scale As Float 'ignore"; -_scale = 0f; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 37;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 38;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 39;BA.debugLine="Dim iiv As ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 40;BA.debugLine="iiv.Initialize(\"\")"; -_iiv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="iv = iiv"; -_iv = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iiv.getObject())); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(iv, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 43;BA.debugLine="mLabel = Lbl"; -_mlabel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="mLabel.SetTextAlignment(\"CENTER\", \"LEFT\")"; -_mlabel.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(mLabel, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_mlabel.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="OnColor = xui.PaintOrColorToColor(Props.Get(\"OnCo"; -_oncolor = _xui.PaintOrColorToColor(_props.Get((Object)("OnColor"))); - //BA.debugLineNum = 49;BA.debugLine="OffColor = xui.PaintOrColorToColor(Props.Get(\"Off"; -_offcolor = _xui.PaintOrColorToColor(_props.Get((Object)("OffColor"))); - //BA.debugLineNum = 50;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 52;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 53;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 54;BA.debugLine="mValue = Props.Get(\"Value\")"; -_mvalue = BA.ObjectToBoolean(_props.Get((Object)("Value"))); - //BA.debugLineNum = 55;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _draw(float _state) throws Exception{ -float _r = 0f; - //BA.debugLineNum = 153;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 154;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 155;BA.debugLine="Dim r As Float = Floor(bc.mHeight / 2)"; -_r = (float) (__c.Floor(_bc._mheight/(double)2)); - //BA.debugLineNum = 156;BA.debugLine="If State < 1 Then bc.DrawCircle2(r, r, r, OffBrus"; -if (_state<1) { -_bc._drawcircle2(_r,_r,_r,_offbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 157;BA.debugLine="If State > 0 Then bc.DrawCircle2(r, r, r * State,"; -if (_state>0) { -_bc._drawcircle2(_r,_r,(float) (_r*_state),_onbrush,__c.True,(int) (0));}; - //BA.debugLineNum = 158;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),_iv); - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public boolean _getchecked() throws Exception{ - //BA.debugLineNum = 140;BA.debugLine="Public Sub getChecked As Boolean"; - //BA.debugLineNum = 141;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return false; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 150;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return false; -} -public Object _gettext() throws Exception{ - //BA.debugLineNum = 165;BA.debugLine="Public Sub getText As Object"; - //BA.debugLineNum = 166;BA.debugLine="Return mLabel.Text"; -if (true) return (Object)(_mlabel.getText()); - //BA.debugLineNum = 167;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 88;BA.debugLine="If mValue Then Return"; -if (_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 89;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 90;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 91;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 92;BA.debugLine="If mValue And xui.SubExists(mCallBack, mEventNam"; -if (_mvalue && _xui.SubExists(ba,_mcallback,_meventname+"_Checked",(int) (0))) { - //BA.debugLineNum = 93;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Checke"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Checked"); - }; - }; - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _setchecked(boolean _b) throws Exception{ - //BA.debugLineNum = 135;BA.debugLine="Public Sub setChecked(b As Boolean)"; - //BA.debugLineNum = 136;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 137;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 138;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 144;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 145;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 146;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public String _settext(Object _t) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Public Sub setText (t As Object)"; - //BA.debugLineNum = 162;BA.debugLine="XUIViewsUtils.SetTextOrCSBuilderToLabel(mLabel, t"; -_xuiviewsutils._settextorcsbuildertolabel /*String*/ (ba,_mlabel,_t); - //BA.debugLineNum = 163;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); -rsub.resume(ba, null); -} -public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(adm.keymon.com.mx.b4xradiobutton parent,boolean _b,boolean _immediate) { -this.parent = parent; -this._b = _b; -this._immediate = _immediate; -} -adm.keymon.com.mx.b4xradiobutton parent; -boolean _b; -boolean _immediate; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _v = null; -adm.keymon.com.mx.b4xradiobutton _rb = null; -int _myindex = 0; -long _start = 0L; -int _duration = 0; -float _state1 = 0f; -int step3; -int limit3; - -@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 = 99;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 100;BA.debugLine="If b = True Then"; -if (true) break; - -case 1: -//if -this.state = 12; -if (_b==parent.__c.True) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 101;BA.debugLine="For i = 0 To mBase.Parent.NumberOfViews - 1"; -if (true) break; - -case 4: -//for -this.state = 11; -step3 = 1; -limit3 = (int) (parent._mbase.getParent().getNumberOfViews()-1); -_i = (int) (0) ; -this.state = 59; -if (true) break; - -case 59: -//C -this.state = 11; -if ((step3 > 0 && _i <= limit3) || (step3 < 0 && _i >= limit3)) this.state = 6; -if (true) break; - -case 60: -//C -this.state = 59; -_i = ((int)(0 + _i + step3)) ; -if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 102;BA.debugLine="Dim v As B4XView = mBase.Parent.GetView(i)"; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_v = parent._mbase.getParent().GetView(_i); - //BA.debugLineNum = 103;BA.debugLine="If v <> mBase And v.Tag Is B4XRadioButton Then"; -if (true) break; - -case 7: -//if -this.state = 10; -if ((_v).equals(parent._mbase) == false && _v.getTag() instanceof adm.keymon.com.mx.b4xradiobutton) { -this.state = 9; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 104;BA.debugLine="Dim rb As B4XRadioButton = v.Tag"; -_rb = (adm.keymon.com.mx.b4xradiobutton)(_v.getTag()); - //BA.debugLineNum = 105;BA.debugLine="rb.Checked = False"; -_rb._setchecked /*boolean*/ (parent.__c.False); - if (true) break; - -case 10: -//C -this.state = 60; -; - if (true) break; -if (true) break; - -case 11: -//C -this.state = 12; -; - if (true) break; - -case 12: -//C -this.state = 13; -; - //BA.debugLineNum = 109;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 110;BA.debugLine="If Immediate Then"; -if (true) break; - -case 13: -//if -this.state = 53; -if (_immediate) { -this.state = 15; -}else { -this.state = 25; -}if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 111;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; -if (true) break; - -case 16: -//if -this.state = 23; -if (parent._mvalue) { -this.state = 18; -;} -else { -this.state = 20; -;}if (true) break; - -case 18: -//C -this.state = 23; -parent._draw((float) (1)); -if (true) break; - -case 20: -//C -this.state = 23; -parent._draw((float) (0)); -if (true) break; - -case 23: -//C -this.state = 53; -; - if (true) break; - -case 25: -//C -this.state = 26; - //BA.debugLineNum = 113;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 114;BA.debugLine="Dim start As Long = DateTime.Now"; -_start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 115;BA.debugLine="Dim duration As Int = 200"; -_duration = (int) (200); - //BA.debugLineNum = 116;BA.debugLine="Do While DateTime.Now < start + duration"; -if (true) break; - -case 26: -//do while -this.state = 41; -while (parent.__c.DateTime.getNow()<_start+_duration) { -this.state = 28; -if (true) break; -} -if (true) break; - -case 28: -//C -this.state = 29; - //BA.debugLineNum = 117;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; -_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 118;BA.debugLine="If mValue = False Then state1 = 1 - state1"; -if (true) break; - -case 29: -//if -this.state = 34; -if (parent._mvalue==parent.__c.False) { -this.state = 31; -;}if (true) break; - -case 31: -//C -this.state = 34; -_state1 = (float) (1-_state1); -if (true) break; - -case 34: -//C -this.state = 35; -; - //BA.debugLineNum = 119;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 120;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); -this.state = 61; -return; -case 61: -//C -this.state = 35; -; - //BA.debugLineNum = 121;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; -if (true) break; - -case 35: -//if -this.state = 40; -if (_myindex!=parent._loopindex) { -this.state = 37; -;}if (true) break; - -case 37: -//C -this.state = 40; -this.state = 41; -if (true) break; -if (true) break; - -case 40: -//C -this.state = 26; -; - if (true) break; -; - //BA.debugLineNum = 123;BA.debugLine="If MyIndex = LoopIndex Then"; - -case 41: -//if -this.state = 52; -if (_myindex==parent._loopindex) { -this.state = 43; -}if (true) break; - -case 43: -//C -this.state = 44; - //BA.debugLineNum = 124;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; -if (true) break; - -case 44: -//if -this.state = 51; -if (parent._mvalue) { -this.state = 46; -;} -else { -this.state = 48; -;}if (true) break; - -case 46: -//C -this.state = 51; -parent._draw((float) (1)); -if (true) break; - -case 48: -//C -this.state = 51; -parent._draw((float) (0)); -if (true) break; - -case 51: -//C -this.state = 52; -; - if (true) break; - -case 52: -//C -this.state = 53; -; - if (true) break; -; - //BA.debugLineNum = 127;BA.debugLine="If mEnabled Then"; - -case 53: -//if -this.state = 58; -if (parent._menabled) { -this.state = 55; -}else { -this.state = 57; -}if (true) break; - -case 55: -//C -this.state = 58; - //BA.debugLineNum = 128;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); - if (true) break; - -case 57: -//C -this.state = 58; - //BA.debugLineNum = 130;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.4)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.4)); - if (true) break; - -case 58: -//C -this.state = -1; -; - //BA.debugLineNum = 133;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xsearchtemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xsearchtemplate.java deleted file mode 100644 index 37ecdcc..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xsearchtemplate.java +++ /dev/null @@ -1,524 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xsearchtemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xsearchtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xsearchtemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public b4a.example3.customlistview _customlistview1 = null; -public adm.keymon.com.mx.b4xdialog _xdialog = null; -public adm.keymon.com.mx.b4xfloattextfield _searchfield = null; -public anywheresoftware.b4a.objects.collections.Map _prefixlist = null; -public anywheresoftware.b4a.objects.collections.Map _substringlist = null; -public int _texthighlightcolor = 0; -public int _itemhightlightcolor = 0; -public int _max_limit = 0; -public int _maxnumberofitemstoshow = 0; -public anywheresoftware.b4a.objects.collections.List _itemscache = null; -public anywheresoftware.b4a.objects.collections.List _allitems = null; -public String _selecteditem = ""; -public String _lastterm = ""; -public anywheresoftware.b4a.objects.IME _ime = null; -public boolean _allowunlistedtext = false; -public boolean _prefixonly = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _additemstolist(anywheresoftware.b4a.objects.collections.List _li,String _full) throws Exception{ -int _i = 0; -String _item = ""; -int _x = 0; -int _pnlcolor = 0; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 128;BA.debugLine="Private Sub AddItemsToList(li As List, full As Str"; - //BA.debugLineNum = 129;BA.debugLine="If li.IsInitialized = False Then Return"; -if (_li.IsInitialized()==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 134;BA.debugLine="For i = 0 To li.Size - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_li.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 135;BA.debugLine="If CustomListView1.Size >= MaxNumberOfItemsToSho"; -if (_customlistview1._getsize()>=_maxnumberofitemstoshow) { -if (true) return "";}; - //BA.debugLineNum = 136;BA.debugLine="Dim item As String = li.Get(i)"; -_item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 137;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; -_x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 138;BA.debugLine="If x = -1 Then"; -if (_x==-1) { - //BA.debugLineNum = 139;BA.debugLine="Continue"; -if (true) continue; - }; - //BA.debugLineNum = 141;BA.debugLine="Dim pnlColor As Int"; -_pnlcolor = 0; - //BA.debugLineNum = 142;BA.debugLine="If CustomListView1.Size = 0 And full.Length > 0"; -if (_customlistview1._getsize()==0 && _full.length()>0 && _allowunlistedtext==__c.False) { - //BA.debugLineNum = 143;BA.debugLine="pnlColor = ItemHightlightColor"; -_pnlcolor = _itemhightlightcolor; - }else { - //BA.debugLineNum = 145;BA.debugLine="pnlColor = CustomListView1.DefaultTextBackgroun"; -_pnlcolor = _customlistview1._defaulttextbackgroundcolor; - }; - //BA.debugLineNum = 148;BA.debugLine="Dim cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 149;BA.debugLine="cs.Initialize.Append(item.SubString2(0, x)).Colo"; -_cs.Initialize().Append(BA.ObjectToCharSequence(_item.substring((int) (0),_x))).Color(_texthighlightcolor).Append(BA.ObjectToCharSequence(_item.substring(_x,(int) (_x+_full.length())))).Pop(); - //BA.debugLineNum = 150;BA.debugLine="cs.Append(item.SubString(x + full.Length))"; -_cs.Append(BA.ObjectToCharSequence(_item.substring((int) (_x+_full.length())))); - //BA.debugLineNum = 151;BA.debugLine="If ItemsCache.Size > 0 Then"; -if (_itemscache.getSize()>0) { - //BA.debugLineNum = 152;BA.debugLine="Dim p As B4XView = ItemsCache.Get(ItemsCache.Si"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_itemscache.Get((int) (_itemscache.getSize()-1)))); - //BA.debugLineNum = 153;BA.debugLine="ItemsCache.RemoveAt(ItemsCache.Size - 1)"; -_itemscache.RemoveAt((int) (_itemscache.getSize()-1)); - //BA.debugLineNum = 155;BA.debugLine="p.GetView(0).Text = cs"; -_p.GetView((int) (0)).setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 160;BA.debugLine="p.Color = pnlColor"; -_p.setColor(_pnlcolor); - //BA.debugLineNum = 161;BA.debugLine="CustomListView1.Add(p, item)"; -_customlistview1._add(_p,(Object)(_item)); - }else { - //BA.debugLineNum = 163;BA.debugLine="CustomListView1.AddTextItem(cs, item)"; -_customlistview1._addtextitem((Object)(_cs.getObject()),(Object)(_item)); - }; - } -}; - //BA.debugLineNum = 184;BA.debugLine="For i = 0 To li.Size - 1"; -{ -final int step28 = 1; -final int limit28 = (int) (_li.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit28 ;_i = _i + step28 ) { - //BA.debugLineNum = 185;BA.debugLine="Dim item As String = li.Get(i)"; -_item = BA.ObjectToString(_li.Get(_i)); - //BA.debugLineNum = 186;BA.debugLine="Dim x As Int = item.ToLowerCase.IndexOf(full)"; -_x = _item.toLowerCase().indexOf(_full); - //BA.debugLineNum = 187;BA.debugLine="If x = -1 Then"; -if (_x==-1) { - //BA.debugLineNum = 188;BA.debugLine="Continue"; -if (true) continue; - }; - } -}; - //BA.debugLineNum = 191;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Public CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 5;BA.debugLine="Private xDialog As B4XDialog"; -_xdialog = new adm.keymon.com.mx.b4xdialog(); - //BA.debugLineNum = 6;BA.debugLine="Public SearchField As B4XFloatTextField"; -_searchfield = new adm.keymon.com.mx.b4xfloattextfield(); - //BA.debugLineNum = 7;BA.debugLine="Private prefixList As Map"; -_prefixlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 8;BA.debugLine="Private substringList As Map"; -_substringlist = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 9;BA.debugLine="Public TextHighlightColor As Int = 0xFFFD5C5C"; -_texthighlightcolor = ((int)0xfffd5c5c); - //BA.debugLineNum = 10;BA.debugLine="Public ItemHightlightColor As Int = 0x7E008EFF"; -_itemhightlightcolor = ((int)0x7e008eff); - //BA.debugLineNum = 11;BA.debugLine="Private MAX_LIMIT = 4 As Int"; -_max_limit = (int) (4); - //BA.debugLineNum = 12;BA.debugLine="Public MaxNumberOfItemsToShow As Int = 100"; -_maxnumberofitemstoshow = (int) (100); - //BA.debugLineNum = 13;BA.debugLine="Private ItemsCache As List"; -_itemscache = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Private AllItems As List"; -_allitems = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 15;BA.debugLine="Public SelectedItem As String"; -_selecteditem = ""; - //BA.debugLineNum = 16;BA.debugLine="Private LastTerm As String"; -_lastterm = ""; - //BA.debugLineNum = 18;BA.debugLine="Private IME As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 20;BA.debugLine="Public AllowUnlistedText As Boolean"; -_allowunlistedtext = false; - //BA.debugLineNum = 21;BA.debugLine="Public PrefixOnly As Boolean"; -_prefixonly = false; - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _customlistview1_itemclick(int _index,Object _value) throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Private Sub CustomListView1_ItemClick (Index As In"; - //BA.debugLineNum = 123;BA.debugLine="If Value = \"\" Then Return"; -if ((_value).equals((Object)(""))) { -if (true) return "";}; - //BA.debugLineNum = 124;BA.debugLine="SelectedItem = Value"; -_selecteditem = BA.ObjectToString(_value); - //BA.debugLineNum = 125;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Private Sub DialogClosed(Result As Int) 'ignore"; - //BA.debugLineNum = 243;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 61;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 62;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 63;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -int _height = 0; -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 24;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 25;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 27;BA.debugLine="Dim height As Int"; -_height = 0; - //BA.debugLineNum = 28;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then height = 220dip El"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { -_height = __c.DipToCurrent((int) (220));} -else { -_height = __c.DipToCurrent((int) (300));}; - //BA.debugLineNum = 29;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),_height); - //BA.debugLineNum = 30;BA.debugLine="mBase.LoadLayout(\"SearchTemplate\")"; -_mbase.LoadLayout("SearchTemplate",ba); - //BA.debugLineNum = 31;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 32;BA.debugLine="CustomListView1.sv.SetColorAndBorder(xui.Color_Tr"; -_customlistview1._sv.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 33;BA.debugLine="CustomListView1.DefaultTextBackgroundColor = 0xFF"; -_customlistview1._defaulttextbackgroundcolor = ((int)0xff555555); - //BA.debugLineNum = 34;BA.debugLine="CustomListView1.DefaultTextColor = xui.Color_Whit"; -_customlistview1._defaulttextcolor = _xui.Color_White; - //BA.debugLineNum = 44;BA.debugLine="ItemsCache.Initialize"; -_itemscache.Initialize(); - //BA.debugLineNum = 45;BA.debugLine="prefixList.Initialize"; -_prefixlist.Initialize(); - //BA.debugLineNum = 46;BA.debugLine="substringList.Initialize"; -_substringlist.Initialize(); - //BA.debugLineNum = 48;BA.debugLine="IME.Initialize(\"\")"; -_ime.Initialize(""); - //BA.debugLineNum = 49;BA.debugLine="Dim jo As JavaObject = SearchField.TextField"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 50;BA.debugLine="jo.RunMethod(\"setImeOptions\", Array(Bit.Or(335544"; -_jo.RunMethod("setImeOptions",new Object[]{(Object)(__c.Bit.Or((int) (33554432),(int) (6)))}); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _c = null; - //BA.debugLineNum = 54;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 55;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 56;BA.debugLine="Dim c As B4XView = CustomListView1.AsView"; -_c = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_c = _customlistview1._asview(); - //BA.debugLineNum = 57;BA.debugLine="c.SetLayoutAnimated(0, 0, c.Top, Width, Height -"; -_c.SetLayoutAnimated((int) (0),(int) (0),_c.getTop(),_width,(int) (_height-_c.getTop())); - //BA.debugLineNum = 58;BA.debugLine="CustomListView1.Base_Resize(Width, c.Height)"; -_customlistview1._base_resize(_width,_c.getHeight()); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public String _searchfield_enterpressed() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Private Sub SearchField_EnterPressed"; - //BA.debugLineNum = 113;BA.debugLine="If AllowUnlistedText Then"; -if (_allowunlistedtext) { - //BA.debugLineNum = 114;BA.debugLine="SelectedItem = LastTerm"; -_selecteditem = _lastterm; - //BA.debugLineNum = 115;BA.debugLine="xDialog.Close(xui.DialogResponse_Positive)"; -_xdialog._close /*boolean*/ (_xui.DialogResponse_Positive); - }else if(_customlistview1._getsize()>0 && _lastterm.length()>0) { - //BA.debugLineNum = 117;BA.debugLine="CustomListView1_ItemClick(0, CustomListView1.Get"; -_customlistview1_itemclick((int) (0),_customlistview1._getvalue((int) (0))); - }; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return ""; -} -public String _searchfield_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Private Sub SearchField_TextChanged (Old As String"; - //BA.debugLineNum = 82;BA.debugLine="Update(New, False)"; -_update(_new,__c.False); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _setindex(Object _index) throws Exception{ -Object[] _obj = null; - //BA.debugLineNum = 233;BA.debugLine="Public Sub SetIndex(Index As Object)"; - //BA.debugLineNum = 234;BA.debugLine="Dim obj() As Object"; -_obj = new Object[(int) (0)]; -{ -int d0 = _obj.length; -for (int i0 = 0;i0 < d0;i0++) { -_obj[i0] = new Object(); -} -} -; - //BA.debugLineNum = 235;BA.debugLine="obj = Index"; -_obj = (Object[])(_index); - //BA.debugLineNum = 236;BA.debugLine="prefixList = obj(0)"; -_prefixlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (0)])); - //BA.debugLineNum = 237;BA.debugLine="substringList = obj(1)"; -_substringlist = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_obj[(int) (1)])); - //BA.debugLineNum = 238;BA.debugLine="Dim AllItems As List = obj(2)"; -_allitems = new anywheresoftware.b4a.objects.collections.List(); -_allitems = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_obj[(int) (2)])); - //BA.debugLineNum = 239;BA.debugLine="End Sub"; -return ""; -} -public Object _setitems(anywheresoftware.b4a.objects.collections.List _items) throws Exception{ -long _starttime = 0L; -anywheresoftware.b4a.objects.collections.Map _noduplicates = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.List _li = null; -int _i = 0; -String _itemnotlower = ""; -String _itemtolower = ""; -int _start = 0; -int _count = 0; -String _str = ""; - //BA.debugLineNum = 196;BA.debugLine="Public Sub SetItems(Items As List) As Object"; - //BA.debugLineNum = 197;BA.debugLine="Dim startTime As Long"; -_starttime = 0L; - //BA.debugLineNum = 198;BA.debugLine="startTime = DateTime.Now"; -_starttime = __c.DateTime.getNow(); - //BA.debugLineNum = 199;BA.debugLine="Dim noDuplicates As Map"; -_noduplicates = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 200;BA.debugLine="noDuplicates.Initialize"; -_noduplicates.Initialize(); - //BA.debugLineNum = 201;BA.debugLine="prefixList.Clear"; -_prefixlist.Clear(); - //BA.debugLineNum = 202;BA.debugLine="substringList.Clear"; -_substringlist.Clear(); - //BA.debugLineNum = 203;BA.debugLine="Dim m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 204;BA.debugLine="Dim li As List"; -_li = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 205;BA.debugLine="For i = 0 To Items.Size - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_items.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 206;BA.debugLine="Dim itemNotLower As String = Items.Get(i)"; -_itemnotlower = BA.ObjectToString(_items.Get(_i)); - //BA.debugLineNum = 207;BA.debugLine="Dim itemToLower As String = itemNotLower.ToLower"; -_itemtolower = _itemnotlower.toLowerCase(); - //BA.debugLineNum = 208;BA.debugLine="noDuplicates.Clear"; -_noduplicates.Clear(); - //BA.debugLineNum = 209;BA.debugLine="For start = 0 To IIf(PrefixOnly, 0, itemToLower."; -{ -final int step13 = 1; -final int limit13 = (int)(BA.ObjectToNumber(((_prefixonly) ? ((Object)(0)) : ((Object)(_itemtolower.length()-1))))); -_start = (int) (0) ; -for (;_start <= limit13 ;_start = _start + step13 ) { - //BA.debugLineNum = 210;BA.debugLine="Dim count As Int = 1"; -_count = (int) (1); - //BA.debugLineNum = 211;BA.debugLine="Do While count <= MAX_LIMIT And start + count <"; -while (_count<=_max_limit && _start+_count<=_itemtolower.length()) { - //BA.debugLineNum = 212;BA.debugLine="Dim str As String = itemToLower.SubString2(sta"; -_str = _itemtolower.substring(_start,(int) (_start+_count)); - //BA.debugLineNum = 213;BA.debugLine="If noDuplicates.ContainsKey(str) = False Then"; -if (_noduplicates.ContainsKey((Object)(_str))==__c.False) { - //BA.debugLineNum = 214;BA.debugLine="noDuplicates.Put(str, \"\")"; -_noduplicates.Put((Object)(_str),(Object)("")); - //BA.debugLineNum = 215;BA.debugLine="If start = 0 Then m = prefixList Else m = sub"; -if (_start==0) { -_m = _prefixlist;} -else { -_m = _substringlist;}; - //BA.debugLineNum = 216;BA.debugLine="li = m.Get(str)"; -_li = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_m.Get((Object)(_str)))); - //BA.debugLineNum = 217;BA.debugLine="If li.IsInitialized = False Then"; -if (_li.IsInitialized()==__c.False) { - //BA.debugLineNum = 218;BA.debugLine="li.Initialize"; -_li.Initialize(); - //BA.debugLineNum = 219;BA.debugLine="m.Put(str, li)"; -_m.Put((Object)(_str),(Object)(_li.getObject())); - }; - //BA.debugLineNum = 221;BA.debugLine="li.Add(itemNotLower)"; -_li.Add((Object)(_itemnotlower)); - }; - //BA.debugLineNum = 223;BA.debugLine="count = count + 1"; -_count = (int) (_count+1); - } -; - } -}; - } -}; - //BA.debugLineNum = 227;BA.debugLine="Log(\"Index time: \" & (DateTime.Now - startTime) &"; -__c.LogImpl("929556767","Index time: "+BA.NumberToString((__c.DateTime.getNow()-_starttime))+" ms ("+BA.NumberToString(_items.getSize())+" Items)",0); - //BA.debugLineNum = 228;BA.debugLine="AllItems = Items"; -_allitems = _items; - //BA.debugLineNum = 229;BA.debugLine="Return Array(prefixList, substringList, AllItems)"; -if (true) return (Object)(new Object[]{(Object)(_prefixlist.getObject()),(Object)(_substringlist.getObject()),(Object)(_allitems.getObject())}); - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return null; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xsearchtemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xsearchtemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; - -@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 = 66;BA.debugLine="xDialog = Dialog"; -parent._xdialog = _dialog; - //BA.debugLineNum = 67;BA.debugLine="xDialog.PutAtTop = xui.IsB4A Or xui.IsB4i"; -parent._xdialog._putattop /*boolean*/ = parent._xui.getIsB4A() || parent._xui.getIsB4i(); - //BA.debugLineNum = 68;BA.debugLine="CustomListView1.AsView.Color = xui.Color_Transpar"; -parent._customlistview1._asview().setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 69;BA.debugLine="CustomListView1.sv.Color = xui.Color_Transparent"; -parent._customlistview1._sv.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 70;BA.debugLine="mBase.Color = xui.Color_Transparent"; -parent._mbase.setColor(parent._xui.Color_Transparent); - //BA.debugLineNum = 71;BA.debugLine="Sleep(20)"; -parent.__c.Sleep(ba,this,(int) (20)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 72;BA.debugLine="Update(\"\", True)"; -parent._update("",parent.__c.True); - //BA.debugLineNum = 73;BA.debugLine="CustomListView1.JumpToItem(0)"; -parent._customlistview1._jumptoitem((int) (0)); - //BA.debugLineNum = 74;BA.debugLine="SearchField.Text = \"\""; -parent._searchfield._settext /*String*/ (""); - //BA.debugLineNum = 75;BA.debugLine="SearchField.TextField.RequestFocus"; -parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().RequestFocus(); - //BA.debugLineNum = 77;BA.debugLine="IME.ShowKeyboard(SearchField.TextField)"; -parent._ime.ShowKeyboard((android.view.View)(parent._searchfield._gettextfield /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ().getObject())); - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _update(String _term,boolean _force) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -String _str1 = ""; -String _str2 = ""; - //BA.debugLineNum = 85;BA.debugLine="Private Sub Update(Term As String, Force As Boolea"; - //BA.debugLineNum = 86;BA.debugLine="If Term = LastTerm And Force = False Then Return"; -if ((_term).equals(_lastterm) && _force==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 87;BA.debugLine="LastTerm = Term"; -_lastterm = _term; - //BA.debugLineNum = 88;BA.debugLine="If xui.IsB4J = False Then"; -if (_xui.getIsB4J()==__c.False) { - //BA.debugLineNum = 89;BA.debugLine="For i = 0 To CustomListView1.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_customlistview1._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 90;BA.debugLine="Dim p As B4XView = CustomListView1.GetPanel(i)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _customlistview1._getpanel(_i); - //BA.debugLineNum = 91;BA.debugLine="p.RemoveViewFromParent"; -_p.RemoveViewFromParent(); - //BA.debugLineNum = 92;BA.debugLine="ItemsCache.Add(p)"; -_itemscache.Add((Object)(_p.getObject())); - } -}; - }; - //BA.debugLineNum = 95;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 97;BA.debugLine="Dim str1, str2 As String"; -_str1 = ""; -_str2 = ""; - //BA.debugLineNum = 98;BA.debugLine="str1 = Term.ToLowerCase"; -_str1 = _term.toLowerCase(); - //BA.debugLineNum = 99;BA.debugLine="If Term = \"\" Then"; -if ((_term).equals("")) { - //BA.debugLineNum = 100;BA.debugLine="AddItemsToList(AllItems, str1)"; -_additemstolist(_allitems,_str1); - }else { - //BA.debugLineNum = 102;BA.debugLine="If str1.Length > MAX_LIMIT Then"; -if (_str1.length()>_max_limit) { - //BA.debugLineNum = 103;BA.debugLine="str2 = str1.SubString2(0, MAX_LIMIT)"; -_str2 = _str1.substring((int) (0),_max_limit); - }else { - //BA.debugLineNum = 105;BA.debugLine="str2 = str1"; -_str2 = _str1; - }; - //BA.debugLineNum = 107;BA.debugLine="AddItemsToList(prefixList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_prefixlist.Get((Object)(_str2)))),_str1); - //BA.debugLineNum = 108;BA.debugLine="AddItemsToList(substringList.Get(str2), str1)"; -_additemstolist((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_substringlist.Get((Object)(_str2)))),_str1); - }; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xseekbar.java b/B4A/Objects/src/adm/keymon/com/mx/b4xseekbar.java deleted file mode 100644 index 4642980..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xseekbar.java +++ /dev/null @@ -1,299 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xseekbar extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xseekbar"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xseekbar.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public int _color1 = 0; -public int _color2 = 0; -public int _thumbcolor = 0; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public Object _tag = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _touchpanel = null; -public int _mvalue = 0; -public int _minvalue = 0; -public int _maxvalue = 0; -public int _interval = 0; -public boolean _vertical = false; -public int _size1 = 0; -public int _size2 = 0; -public int _radius1 = 0; -public int _radius2 = 0; -public boolean _pressed = false; -public int _size = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub Base_Resize (Width As Double, Height As"; - //BA.debugLineNum = 53;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 54;BA.debugLine="TouchPanel.SetLayoutAnimated(0, 0, 0, Width, Heig"; -_touchpanel.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 55;BA.debugLine="Vertical = mBase.Height > mBase.Width"; -_vertical = _mbase.getHeight()>_mbase.getWidth(); - //BA.debugLineNum = 56;BA.debugLine="size = Max(mBase.Height, mBase.Width) - 2 * Radiu"; -_size = (int) (__c.Max(_mbase.getHeight(),_mbase.getWidth())-2*_radius2); - //BA.debugLineNum = 57;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 11;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 12;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 13;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 14;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 16;BA.debugLine="Public Color1, Color2, ThumbColor As Int"; -_color1 = 0; -_color2 = 0; -_thumbcolor = 0; - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 19;BA.debugLine="Private TouchPanel As B4XView"; -_touchpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private mValue As Int"; -_mvalue = 0; - //BA.debugLineNum = 21;BA.debugLine="Public MinValue, MaxValue As Int"; -_minvalue = 0; -_maxvalue = 0; - //BA.debugLineNum = 22;BA.debugLine="Public Interval As Int = 1"; -_interval = (int) (1); - //BA.debugLineNum = 23;BA.debugLine="Private Vertical As Boolean"; -_vertical = false; - //BA.debugLineNum = 24;BA.debugLine="Public Size1 = 4dip, Size2 = 2dip, Radius1 = 6dip"; -_size1 = __c.DipToCurrent((int) (4)); -_size2 = __c.DipToCurrent((int) (2)); -_radius1 = __c.DipToCurrent((int) (6)); -_radius2 = __c.DipToCurrent((int) (12)); - //BA.debugLineNum = 25;BA.debugLine="Private Pressed As Boolean"; -_pressed = false; - //BA.debugLineNum = 26;BA.debugLine="Private size As Int"; -_size = 0; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="Color1 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color1 = _xui.PaintOrColorToColor(_props.Get((Object)("Color1"))); - //BA.debugLineNum = 39;BA.debugLine="Color2 = xui.PaintOrColorToColor(Props.Get(\"Color"; -_color2 = _xui.PaintOrColorToColor(_props.Get((Object)("Color2"))); - //BA.debugLineNum = 40;BA.debugLine="ThumbColor = xui.PaintOrColorToColor(Props.Get(\"T"; -_thumbcolor = _xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor"))); - //BA.debugLineNum = 41;BA.debugLine="Interval = Max(1, Props.GetDefault(\"Interval\", 1)"; -_interval = (int) (__c.Max(1,(double)(BA.ObjectToNumber(_props.GetDefault((Object)("Interval"),(Object)(1)))))); - //BA.debugLineNum = 42;BA.debugLine="MinValue = Props.Get(\"Min\")"; -_minvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 43;BA.debugLine="MaxValue = Props.Get(\"Max\")"; -_maxvalue = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 44;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, Props.Get(\"V"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,(double)(BA.ObjectToNumber(_props.Get((Object)("Value"))))))); - //BA.debugLineNum = 45;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 46;BA.debugLine="TouchPanel = xui.CreatePanel(\"TouchPanel\")"; -_touchpanel = _xui.CreatePanel(ba,"TouchPanel"); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(TouchPanel, 0, 0, mBase.Width, mBas"; -_mbase.AddView((android.view.View)(_touchpanel.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 48;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then Radius2 = 20dip"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { -_radius2 = __c.DipToCurrent((int) (20));}; - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Then Base_Resize(mBase.Width, mBase."; -if (_xui.getIsB4A()) { -_base_resize(_mbase.getWidth(),_mbase.getHeight());}; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public int _getvalue() throws Exception{ - //BA.debugLineNum = 130;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 131;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 132;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return ""; -} -public String _raisetouchstateevent() throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Private Sub RaiseTouchStateEvent"; - //BA.debugLineNum = 103;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TouchS"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_TouchStateChanged",(int) (1))) { - //BA.debugLineNum = 104;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_TouchS"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_TouchStateChanged",(Object)(_pressed)); - }; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 125;BA.debugLine="Public Sub setValue(v As Int)"; - //BA.debugLineNum = 126;BA.debugLine="mValue = Max(MinValue, Min(MaxValue, v))"; -_mvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 127;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _setvaluebasedontouch(int _x,int _y) throws Exception{ -int _v = 0; -int _newvalue = 0; - //BA.debugLineNum = 108;BA.debugLine="Private Sub SetValueBasedOnTouch(x As Int, y As In"; - //BA.debugLineNum = 109;BA.debugLine="Dim v As Int"; -_v = 0; - //BA.debugLineNum = 110;BA.debugLine="If Vertical Then"; -if (_vertical) { - //BA.debugLineNum = 111;BA.debugLine="v = (mBase.Height - Radius2 - y) / size * (MaxVa"; -_v = (int) ((_mbase.getHeight()-_radius2-_y)/(double)_size*(_maxvalue-_minvalue)+_minvalue); - }else { - //BA.debugLineNum = 113;BA.debugLine="v = (x - Radius2) / size * (MaxValue - MinValue)"; -_v = (int) ((_x-_radius2)/(double)_size*(_maxvalue-_minvalue)+_minvalue); - }; - //BA.debugLineNum = 115;BA.debugLine="v = Round (v / Interval) * Interval"; -_v = (int) (__c.Round(_v/(double)_interval)*_interval); - //BA.debugLineNum = 116;BA.debugLine="Dim NewValue As Int = Max(MinValue, Min(MaxValue,"; -_newvalue = (int) (__c.Max(_minvalue,__c.Min(_maxvalue,_v))); - //BA.debugLineNum = 117;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 118;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; - //BA.debugLineNum = 119;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 120;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); - }; - }; - //BA.debugLineNum = 123;BA.debugLine="End Sub"; -return ""; -} -public String _touchpanel_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 88;BA.debugLine="Private Sub TouchPanel_Touch (Action As Int, X As"; - //BA.debugLineNum = 89;BA.debugLine="If Action = TouchPanel.TOUCH_ACTION_DOWN Then"; -if (_action==_touchpanel.TOUCH_ACTION_DOWN) { - //BA.debugLineNum = 90;BA.debugLine="Pressed = True"; -_pressed = __c.True; - //BA.debugLineNum = 91;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - //BA.debugLineNum = 92;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_MOVE) { - //BA.debugLineNum = 94;BA.debugLine="SetValueBasedOnTouch(X, Y)"; -_setvaluebasedontouch((int) (_x),(int) (_y)); - }else if(_action==_touchpanel.TOUCH_ACTION_UP) { - //BA.debugLineNum = 96;BA.debugLine="Pressed = False"; -_pressed = __c.False; - //BA.debugLineNum = 97;BA.debugLine="RaiseTouchStateEvent"; -_raisetouchstateevent(); - }; - //BA.debugLineNum = 99;BA.debugLine="Update"; -_update(); - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ -int _s1 = 0; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 61;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 63;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 64;BA.debugLine="If size > 0 Then"; -if (_size>0) { - //BA.debugLineNum = 65;BA.debugLine="If Vertical = False Then"; -if (_vertical==__c.False) { - //BA.debugLineNum = 66;BA.debugLine="Dim s1 As Int = Radius2 + (mValue - MinValue) /"; -_s1 = (int) (_radius2+(_mvalue-_minvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 67;BA.debugLine="Dim y As Int = mBase.Height / 2"; -_y = (int) (_mbase.getHeight()/(double)2); - //BA.debugLineNum = 68;BA.debugLine="cvs.DrawLine(Radius2, y, s1, y, Color1, Size1)"; -_cvs.DrawLine((float) (_radius2),(float) (_y),(float) (_s1),(float) (_y),_color1,(float) (_size1)); - //BA.debugLineNum = 69;BA.debugLine="cvs.DrawLine(s1, y, mBase.Width - Radius2, y, C"; -_cvs.DrawLine((float) (_s1),(float) (_y),(float) (_mbase.getWidth()-_radius2),(float) (_y),_color2,(float) (_size2)); - //BA.debugLineNum = 70;BA.debugLine="cvs.DrawCircle(s1, y, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 71;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 72;BA.debugLine="cvs.DrawCircle(s1, y, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_s1),(float) (_y),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }else { - //BA.debugLineNum = 75;BA.debugLine="Dim s1 As Int = Radius2 + (MaxValue - mValue) /"; -_s1 = (int) (_radius2+(_maxvalue-_mvalue)/(double)(_maxvalue-_minvalue)*_size); - //BA.debugLineNum = 76;BA.debugLine="Dim x As Int = mBase.Width / 2"; -_x = (int) (_mbase.getWidth()/(double)2); - //BA.debugLineNum = 77;BA.debugLine="cvs.DrawLine(x, Radius2, x, s1, Color2, Size2)"; -_cvs.DrawLine((float) (_x),(float) (_radius2),(float) (_x),(float) (_s1),_color2,(float) (_size2)); - //BA.debugLineNum = 78;BA.debugLine="cvs.DrawLine(x, s1, x, mBase.Height - Radius2,"; -_cvs.DrawLine((float) (_x),(float) (_s1),(float) (_x),(float) (_mbase.getHeight()-_radius2),_color1,(float) (_size1)); - //BA.debugLineNum = 79;BA.debugLine="cvs.DrawCircle(x, s1, Radius1, Color1, True, 0)"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius1),_color1,__c.True,(float) (0)); - //BA.debugLineNum = 80;BA.debugLine="If Pressed Then"; -if (_pressed) { - //BA.debugLineNum = 81;BA.debugLine="cvs.DrawCircle(x, s1, Radius2, ThumbColor, Tru"; -_cvs.DrawCircle((float) (_x),(float) (_s1),(float) (_radius2),_thumbcolor,__c.True,(float) (0)); - }; - }; - }; - //BA.debugLineNum = 85;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xset.java b/B4A/Objects/src/adm/keymon/com/mx/b4xset.java deleted file mode 100644 index b72bd2c..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xset.java +++ /dev/null @@ -1,103 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xset extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xset"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xset.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public adm.keymon.com.mx.b4xorderedmap _map = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _add(Object _value) throws Exception{ - //BA.debugLineNum = 9;BA.debugLine="Public Sub Add(Value As Object)"; - //BA.debugLineNum = 10;BA.debugLine="map.Put(Value, \"\")"; -_map._put /*String*/ (_value,(Object)("")); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.collections.List _aslist() throws Exception{ - //BA.debugLineNum = 29;BA.debugLine="Public Sub AsList As List"; - //BA.debugLineNum = 30;BA.debugLine="Return map.Keys"; -if (true) return _map._getkeys /*anywheresoftware.b4a.objects.collections.List*/ (); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private map As B4XOrderedMap"; -_map = new adm.keymon.com.mx.b4xorderedmap(); - //BA.debugLineNum = 3;BA.debugLine="End Sub"; -return ""; -} -public String _clear() throws Exception{ - //BA.debugLineNum = 25;BA.debugLine="Public Sub Clear"; - //BA.debugLineNum = 26;BA.debugLine="map.Clear"; -_map._clear /*String*/ (); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public boolean _contains(Object _value) throws Exception{ - //BA.debugLineNum = 17;BA.debugLine="Public Sub Contains (Value As Object) As Boolean"; - //BA.debugLineNum = 18;BA.debugLine="Return map.ContainsKey(Value)"; -if (true) return _map._containskey /*boolean*/ (_value); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return false; -} -public int _getsize() throws Exception{ - //BA.debugLineNum = 21;BA.debugLine="Public Sub getSize As Int"; - //BA.debugLineNum = 22;BA.debugLine="Return map.Size"; -if (true) return _map._getsize /*int*/ (); - //BA.debugLineNum = 23;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 5;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 6;BA.debugLine="map.Initialize"; -_map._initialize /*String*/ (ba); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; -return ""; -} -public String _remove(Object _value) throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Public Sub Remove(Value As Object)"; - //BA.debugLineNum = 14;BA.debugLine="map.Remove(Value)"; -_map._remove /*String*/ (_value); - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xsignaturetemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xsignaturetemplate.java deleted file mode 100644 index 54b2678..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xsignaturetemplate.java +++ /dev/null @@ -1,182 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xsignaturetemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xsignaturetemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xsignaturetemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public float _lastx = 0f; -public float _lasty = 0f; -public float _strokewidth = 0f; -public int _strokecolor = 0; -public int _textcolor = 0; -public int _backgroundcolor = 0; -public boolean _adddateandtime = false; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _textfont = null; -public int _numberofpoints = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 5;BA.debugLine="Private LastX, LastY As Float"; -_lastx = 0f; -_lasty = 0f; - //BA.debugLineNum = 6;BA.debugLine="Public StrokeWidth As Float = 2dip"; -_strokewidth = (float) (__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 7;BA.debugLine="Public StrokeColor As Int = xui.Color_Black"; -_strokecolor = _xui.Color_Black; - //BA.debugLineNum = 8;BA.debugLine="Public TextColor As Int = 0xFFFF8800"; -_textcolor = ((int)0xffff8800); - //BA.debugLineNum = 9;BA.debugLine="Public BackgroundColor As Int = xui.Color_White"; -_backgroundcolor = _xui.Color_White; - //BA.debugLineNum = 10;BA.debugLine="Public AddDateAndTime As Boolean = True"; -_adddateandtime = __c.True; - //BA.debugLineNum = 11;BA.debugLine="Public TextFont As B4XFont"; -_textfont = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 12;BA.debugLine="Public NumberOfPoints As Int"; -_numberofpoints = 0; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -int _baseline = 0; - //BA.debugLineNum = 56;BA.debugLine="Private Sub DialogClosed (Result As Int)"; - //BA.debugLineNum = 57;BA.debugLine="If Result = xui.DialogResponse_Positive And AddDa"; -if (_result==_xui.DialogResponse_Positive && _adddateandtime) { - //BA.debugLineNum = 58;BA.debugLine="Dim r As B4XRect = cvs.MeasureText(\"M\", TextFont"; -_r = _cvs.MeasureText("M",_textfont); - //BA.debugLineNum = 59;BA.debugLine="Dim Baseline As Int = cvs.TargetRect.Bottom - r."; -_baseline = (int) (_cvs.getTargetRect().getBottom()-_r.getHeight()-_r.getTop()-__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 60;BA.debugLine="cvs.DrawText($\"$DateTime{DateTime.Now}\"$, 2dip,"; -_cvs.DrawText(ba,(""+__c.SmartStringFormatter("datetime",(Object)(__c.DateTime.getNow()))+""),(float) (__c.DipToCurrent((int) (2))),(float) (_baseline),_textfont,_textcolor,BA.getEnumFromString(android.graphics.Paint.Align.class,"LEFT")); - }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _getbitmap() throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Public Sub getBitmap As B4XBitmap"; - //BA.debugLineNum = 53;BA.debugLine="Return cvs.CreateBitmap"; -if (true) return _cvs.CreateBitmap(); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 28;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 29;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 15;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 16;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 17;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, 300dip, 200dip)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (300)),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 18;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 19;BA.debugLine="TextFont = xui.CreateDefaultFont(14)"; -_textfont = _xui.CreateDefaultFont((float) (14)); - //BA.debugLineNum = 20;BA.debugLine="End Sub"; -return ""; -} -public String _mbase_touch(int _action,float _x,float _y) throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Private Sub mBase_Touch (Action As Int, X As Float"; - //BA.debugLineNum = 39;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE)) { -case 0: { - //BA.debugLineNum = 41;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 42;BA.debugLine="LastY = Y"; -_lasty = _y; - break; } -case 1: { - //BA.debugLineNum = 44;BA.debugLine="cvs.DrawLine(LastX, LastY, X, Y, StrokeColor, S"; -_cvs.DrawLine(_lastx,_lasty,_x,_y,_strokecolor,_strokewidth); - //BA.debugLineNum = 45;BA.debugLine="LastX = X"; -_lastx = _x; - //BA.debugLineNum = 46;BA.debugLine="LastY = Y"; -_lasty = _y; - //BA.debugLineNum = 47;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 48;BA.debugLine="NumberOfPoints = NumberOfPoints + 1"; -_numberofpoints = (int) (_numberofpoints+1); - break; } -} -; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public String _resize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 22;BA.debugLine="Public Sub Resize(Width As Int, Height As Int)"; - //BA.debugLineNum = 23;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 24;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ - //BA.debugLineNum = 32;BA.debugLine="Private Sub Show (Dialog As B4XDialog) 'ignore"; - //BA.debugLineNum = 33;BA.debugLine="cvs.DrawRect(cvs.TargetRect, BackgroundColor, Tru"; -_cvs.DrawRect(_cvs.getTargetRect(),_backgroundcolor,__c.True,(float) (0)); - //BA.debugLineNum = 34;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 35;BA.debugLine="NumberOfPoints = 0"; -_numberofpoints = (int) (0); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -if (BA.fastSubCompare(sub, "SHOW")) - return _show((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xswitch.java b/B4A/Objects/src/adm/keymon/com/mx/b4xswitch.java deleted file mode 100644 index 2959815..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xswitch.java +++ /dev/null @@ -1,507 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xswitch extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xswitch"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xswitch.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.bcpath._bcbrush _oncolor = null; -public b4a.example.bcpath._bcbrush _offcolor = null; -public b4a.example.bitmapcreator _bc = null; -public int _width = 0; -public int _height = 0; -public b4a.example.bcpath._bcbrush _thumbcolor = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _iv = null; -public boolean _mvalue = false; -public b4a.example.bcpath._bcbrush _transparent = null; -public int _loopindex = 0; -public Object _tag = null; -public float _scale = 0f; -public boolean _menabled = false; -public boolean _mhaptic = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width1,double _height1) throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Private Sub Base_Resize (Width1 As Double, Height1"; - //BA.debugLineNum = 150;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 9;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 10;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 12;BA.debugLine="Private OnColor, OffColor As BCBrush"; -_oncolor = new b4a.example.bcpath._bcbrush(); -_offcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 13;BA.debugLine="Private bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 14;BA.debugLine="Private Width As Int = 55dip"; -_width = __c.DipToCurrent((int) (55)); - //BA.debugLineNum = 15;BA.debugLine="Private Height As Int = 31dip"; -_height = __c.DipToCurrent((int) (31)); - //BA.debugLineNum = 16;BA.debugLine="Private ThumbColor As BCBrush"; -_thumbcolor = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 17;BA.debugLine="Private iv As ImageView"; -_iv = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Private mValue As Boolean"; -_mvalue = false; - //BA.debugLineNum = 19;BA.debugLine="Private transparent As BCBrush"; -_transparent = new b4a.example.bcpath._bcbrush(); - //BA.debugLineNum = 20;BA.debugLine="Private LoopIndex As Int"; -_loopindex = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private Scale As Float"; -_scale = 0f; - //BA.debugLineNum = 23;BA.debugLine="Private mEnabled As Boolean = True"; -_menabled = __c.True; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 33;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 34;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 35;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 36;BA.debugLine="mBase.SetLayoutAnimated(0, mBase.Left, mBase.Top,"; -_mbase.SetLayoutAnimated((int) (0),_mbase.getLeft(),_mbase.getTop(),_width,_height); - //BA.debugLineNum = 37;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0,"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 38;BA.debugLine="Dim pnl As B4XView = xui.CreatePanel(\"pnl\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 39;BA.debugLine="pnl.Color = xui.Color_Transparent"; -_pnl.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 40;BA.debugLine="iv.Initialize(\"\")"; -_iv.Initialize(ba,""); - //BA.debugLineNum = 41;BA.debugLine="mBase.AddView(iv, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_iv.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 42;BA.debugLine="mBase.AddView(pnl, 0, 0, Width, Height)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 44;BA.debugLine="bc.Initialize(Width, Height)"; -_bc._initialize(ba,_width,_height); - //BA.debugLineNum = 45;BA.debugLine="Scale = xui.Scale"; -_scale = _xui.getScale(); - //BA.debugLineNum = 50;BA.debugLine="OnColor = bc.CreateBrushFromColor(xui.PaintOrColo"; -_oncolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OnColor")))); - //BA.debugLineNum = 51;BA.debugLine="OffColor = bc.CreateBrushFromColor(xui.PaintOrCol"; -_offcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("OffColor")))); - //BA.debugLineNum = 52;BA.debugLine="ThumbColor = bc.CreateBrushFromColor(xui.PaintOrC"; -_thumbcolor = _bc._createbrushfromcolor(_xui.PaintOrColorToColor(_props.Get((Object)("ThumbColor")))); - //BA.debugLineNum = 53;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 54;BA.debugLine="transparent = bc.CreateBrushFromColor(xui.Color_T"; -_transparent = _bc._createbrushfromcolor(_xui.Color_Transparent); - //BA.debugLineNum = 55;BA.debugLine="mEnabled = mBase.Enabled"; -_menabled = _mbase.getEnabled(); - //BA.debugLineNum = 56;BA.debugLine="mBase.Enabled = True"; -_mbase.setEnabled(__c.True); - //BA.debugLineNum = 57;BA.debugLine="SetValueImpl(Props.Get(\"Value\"), True)"; -_setvalueimpl(BA.ObjectToBoolean(_props.Get((Object)("Value"))),__c.True); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -public String _draw(float _state) throws Exception{ -float _r = 0f; -float _cx = 0f; -int _cy = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _smallrect = null; -float _w = 0f; -float _h = 0f; - //BA.debugLineNum = 126;BA.debugLine="Private Sub Draw (State As Float)"; - //BA.debugLineNum = 127;BA.debugLine="bc.DrawRect2(bc.TargetRect, transparent, True, 0)"; -_bc._drawrect2(_bc._targetrect,_transparent,__c.True,(int) (0)); - //BA.debugLineNum = 128;BA.debugLine="Dim r As Float = Round(bc.mHeight / 2)"; -_r = (float) (__c.Round(_bc._mheight/(double)2)); - //BA.debugLineNum = 129;BA.debugLine="Dim cx As Float = r - 1 * Scale + (bc.mWidth - 2"; -_cx = (float) (_r-1*_scale+(_bc._mwidth-2*_r)*_state); - //BA.debugLineNum = 130;BA.debugLine="If State = 0 Then"; -if (_state==0) { - //BA.debugLineNum = 131;BA.debugLine="cx = r"; -_cx = _r; - }else if(_state==1) { - //BA.debugLineNum = 133;BA.debugLine="cx = Round(bc.mWidth - 1 * Scale - r)"; -_cx = (float) (__c.Round(_bc._mwidth-1*_scale-_r)); - }; - //BA.debugLineNum = 135;BA.debugLine="Dim cy As Int = bc.mHeight / 2"; -_cy = (int) (_bc._mheight/(double)2); - //BA.debugLineNum = 136;BA.debugLine="Dim smallrect As B4XRect"; -_smallrect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 137;BA.debugLine="Dim w As Float = State * bc.mWidth"; -_w = (float) (_state*_bc._mwidth); - //BA.debugLineNum = 138;BA.debugLine="Dim h As Float = State * bc.mHeight"; -_h = (float) (_state*_bc._mheight); - //BA.debugLineNum = 139;BA.debugLine="If State < 1 Then bc.DrawRectRounded2(bc.TargetRe"; -if (_state<1) { -_bc._drawrectrounded2(_bc._targetrect,_offcolor,__c.True,(int) (2*_scale),(int) (_r));}; - //BA.debugLineNum = 140;BA.debugLine="smallrect.Initialize(bc.mWidth / 2 - w / 2, cy -"; -_smallrect.Initialize((float) (_bc._mwidth/(double)2-_w/(double)2),(float) (_cy-_h/(double)2),(float) (_bc._mwidth/(double)2+_w/(double)2),(float) (_cy+_h/(double)2)); - //BA.debugLineNum = 141;BA.debugLine="If State > 0 Then bc.DrawRectRounded2(smallrect,"; -if (_state>0) { -_bc._drawrectrounded2(_smallrect,_oncolor,__c.True,(int) (2*_scale),(int) (_smallrect.getHeight()/(double)2));}; - //BA.debugLineNum = 142;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 143;BA.debugLine="bc.DrawCircle2(cx, cy, r - 2 * Scale, ThumbColor"; -_bc._drawcircle2(_cx,(float) (_cy),(float) (_r-2*_scale),_thumbcolor,__c.True,(int) (0)); - }; - //BA.debugLineNum = 145;BA.debugLine="bc.SetBitmapToImageView(bc.Bitmap, iv)"; -_bc._setbitmaptoimageview(_bc._getbitmap(),(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject()))); - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 122;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 123;BA.debugLine="Return mEnabled"; -if (true) return _menabled; - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return false; -} -public boolean _getvalue() throws Exception{ - //BA.debugLineNum = 113;BA.debugLine="Public Sub getValue As Boolean"; - //BA.debugLineNum = 114;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_click() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Private Sub pnl_Click"; - //BA.debugLineNum = 72;BA.debugLine="If mEnabled Then"; -if (_menabled) { - //BA.debugLineNum = 73;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFeedb"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 74;BA.debugLine="SetValueImpl(Not(mValue), False)"; -_setvalueimpl(__c.Not(_mvalue),__c.False); - //BA.debugLineNum = 75;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Value"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 76;BA.debugLine="CallSubDelayed2(mCallBack, mEventName & \"_Value"; -__c.CallSubDelayed2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); - }; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub setEnabled (b As Boolean)"; - //BA.debugLineNum = 118;BA.debugLine="mEnabled = b"; -_menabled = _b; - //BA.debugLineNum = 119;BA.debugLine="SetValueImpl(mValue, True)"; -_setvalueimpl(_mvalue,__c.True); - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(boolean _b) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub setValue(b As Boolean)"; - //BA.debugLineNum = 109;BA.debugLine="If b = mValue Then Return"; -if (_b==_mvalue) { -if (true) return "";}; - //BA.debugLineNum = 110;BA.debugLine="SetValueImpl(b, False)"; -_setvalueimpl(_b,__c.False); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public void _setvalueimpl(boolean _b,boolean _immediate) throws Exception{ -ResumableSub_SetValueImpl rsub = new ResumableSub_SetValueImpl(this,_b,_immediate); -rsub.resume(ba, null); -} -public static class ResumableSub_SetValueImpl extends BA.ResumableSub { -public ResumableSub_SetValueImpl(adm.keymon.com.mx.b4xswitch parent,boolean _b,boolean _immediate) { -this.parent = parent; -this._b = _b; -this._immediate = _immediate; -} -adm.keymon.com.mx.b4xswitch parent; -boolean _b; -boolean _immediate; -int _myindex = 0; -long _start = 0L; -int _duration = 0; -float _state1 = 0f; - -@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 = 82;BA.debugLine="mValue = b"; -parent._mvalue = _b; - //BA.debugLineNum = 83;BA.debugLine="LoopIndex = LoopIndex + 1"; -parent._loopindex = (int) (parent._loopindex+1); - //BA.debugLineNum = 84;BA.debugLine="If Immediate Then"; -if (true) break; - -case 1: -//if -this.state = 41; -if (_immediate) { -this.state = 3; -}else { -this.state = 13; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 85;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; -if (true) break; - -case 4: -//if -this.state = 11; -if (parent._mvalue) { -this.state = 6; -;} -else { -this.state = 8; -;}if (true) break; - -case 6: -//C -this.state = 11; -parent._draw((float) (1)); -if (true) break; - -case 8: -//C -this.state = 11; -parent._draw((float) (0)); -if (true) break; - -case 11: -//C -this.state = 41; -; - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 87;BA.debugLine="Dim MyIndex As Int = LoopIndex"; -_myindex = parent._loopindex; - //BA.debugLineNum = 88;BA.debugLine="Dim start As Long = DateTime.Now"; -_start = parent.__c.DateTime.getNow(); - //BA.debugLineNum = 89;BA.debugLine="Dim duration As Int = 200"; -_duration = (int) (200); - //BA.debugLineNum = 90;BA.debugLine="Do While DateTime.Now < start + duration"; -if (true) break; - -case 14: -//do while -this.state = 29; -while (parent.__c.DateTime.getNow()<_start+_duration) { -this.state = 16; -if (true) break; -} -if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 91;BA.debugLine="Dim state1 As Float = (DateTime.Now - start) /"; -_state1 = (float) ((parent.__c.DateTime.getNow()-_start)/(double)_duration); - //BA.debugLineNum = 92;BA.debugLine="If mValue = False Then state1 = 1 - state1"; -if (true) break; - -case 17: -//if -this.state = 22; -if (parent._mvalue==parent.__c.False) { -this.state = 19; -;}if (true) break; - -case 19: -//C -this.state = 22; -_state1 = (float) (1-_state1); -if (true) break; - -case 22: -//C -this.state = 23; -; - //BA.debugLineNum = 93;BA.debugLine="Draw(state1)"; -parent._draw(_state1); - //BA.debugLineNum = 94;BA.debugLine="Sleep(16)"; -parent.__c.Sleep(ba,this,(int) (16)); -this.state = 47; -return; -case 47: -//C -this.state = 23; -; - //BA.debugLineNum = 95;BA.debugLine="If MyIndex <> LoopIndex Then Exit"; -if (true) break; - -case 23: -//if -this.state = 28; -if (_myindex!=parent._loopindex) { -this.state = 25; -;}if (true) break; - -case 25: -//C -this.state = 28; -this.state = 29; -if (true) break; -if (true) break; - -case 28: -//C -this.state = 14; -; - if (true) break; -; - //BA.debugLineNum = 97;BA.debugLine="If MyIndex = LoopIndex Then"; - -case 29: -//if -this.state = 40; -if (_myindex==parent._loopindex) { -this.state = 31; -}if (true) break; - -case 31: -//C -this.state = 32; - //BA.debugLineNum = 98;BA.debugLine="If mValue Then Draw(1) Else Draw(0)"; -if (true) break; - -case 32: -//if -this.state = 39; -if (parent._mvalue) { -this.state = 34; -;} -else { -this.state = 36; -;}if (true) break; - -case 34: -//C -this.state = 39; -parent._draw((float) (1)); -if (true) break; - -case 36: -//C -this.state = 39; -parent._draw((float) (0)); -if (true) break; - -case 39: -//C -this.state = 40; -; - if (true) break; - -case 40: -//C -this.state = 41; -; - if (true) break; -; - //BA.debugLineNum = 101;BA.debugLine="If mEnabled Then"; - -case 41: -//if -this.state = 46; -if (parent._menabled) { -this.state = 43; -}else { -this.state = 45; -}if (true) break; - -case 43: -//C -this.state = 46; - //BA.debugLineNum = 102;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 1)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (1)); - if (true) break; - -case 45: -//C -this.state = 46; - //BA.debugLineNum = 104;BA.debugLine="XUIViewsUtils.SetAlpha(mBase, 0.6)"; -parent._xuiviewsutils._setalpha /*String*/ (ba,parent._mbase,(float) (0.6)); - if (true) break; - -case 46: -//C -this.state = -1; -; - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/b4xtimedtemplate.java b/B4A/Objects/src/adm/keymon/com/mx/b4xtimedtemplate.java deleted file mode 100644 index 338dcf2..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/b4xtimedtemplate.java +++ /dev/null @@ -1,188 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class b4xtimedtemplate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.b4xtimedtemplate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.b4xtimedtemplate.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.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public adm.keymon.com.mx.anotherprogressbar _anotherprogressbar1 = null; -public Object _mtemplate = null; -public int _timeoutmilliseconds = 0; -public int _index = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 3;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private AnotherProgressBar1 As AnotherProgressBar"; -_anotherprogressbar1 = new adm.keymon.com.mx.anotherprogressbar(); - //BA.debugLineNum = 5;BA.debugLine="Private mTemplate As Object"; -_mtemplate = new Object(); - //BA.debugLineNum = 6;BA.debugLine="Public TimeoutMilliseconds As Int = 10000"; -_timeoutmilliseconds = (int) (10000); - //BA.debugLineNum = 7;BA.debugLine="Private Index As Int"; -_index = 0; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public String _dialogclosed(int _result) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Private Sub DialogClosed(Result As Int)"; - //BA.debugLineNum = 42;BA.debugLine="Index = Index + 1"; -_index = (int) (_index+1); - //BA.debugLineNum = 43;BA.debugLine="CallSub2(mTemplate, \"DialogClosed\", Result)"; -__c.CallSubNew2(ba,_mtemplate,"DialogClosed",(Object)(_result)); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _innerpanel = null; - //BA.debugLineNum = 16;BA.debugLine="Public Sub GetPanel (Dialog As B4XDialog) As B4XVi"; - //BA.debugLineNum = 17;BA.debugLine="If mBase.NumberOfViews = 0 Then"; -if (_mbase.getNumberOfViews()==0) { - //BA.debugLineNum = 18;BA.debugLine="Dim InnerPanel As B4XView = CallSub2(mTemplate,"; -_innerpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_innerpanel = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.CallSubNew2(ba,_mtemplate,"GetPanel",(Object)(_dialog)))); - //BA.debugLineNum = 19;BA.debugLine="If InnerPanel.Parent.IsInitialized Then InnerPan"; -if (_innerpanel.getParent().IsInitialized()) { -_innerpanel.RemoveViewFromParent();}; - //BA.debugLineNum = 20;BA.debugLine="mBase.SetLayoutAnimated(0, 0, 0, InnerPanel.Widt"; -_mbase.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_innerpanel.getWidth(),(int) (_innerpanel.getHeight()+__c.DipToCurrent((int) (19)))); - //BA.debugLineNum = 21;BA.debugLine="mBase.LoadLayout(\"TimedDialogTemplate\")"; -_mbase.LoadLayout("TimedDialogTemplate",ba); - //BA.debugLineNum = 22;BA.debugLine="mBase.SetColorAndBorder(xui.Color_Transparent, 0"; -_mbase.SetColorAndBorder(_xui.Color_Transparent,(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 23;BA.debugLine="mBase.AddView(InnerPanel, 0, 19dip, InnerPanel.W"; -_mbase.AddView((android.view.View)(_innerpanel.getObject()),(int) (0),__c.DipToCurrent((int) (19)),_innerpanel.getWidth(),_innerpanel.getHeight()); - }; - //BA.debugLineNum = 25;BA.debugLine="Return mBase"; -if (true) return _mbase; - //BA.debugLineNum = 26;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _innertemplate) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 10;BA.debugLine="Public Sub Initialize (InnerTemplate As Object)"; - //BA.debugLineNum = 11;BA.debugLine="mBase = xui.CreatePanel(\"mBase\")"; -_mbase = _xui.CreatePanel(ba,"mBase"); - //BA.debugLineNum = 12;BA.debugLine="mTemplate = InnerTemplate"; -_mtemplate = _innertemplate; - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public void _show(adm.keymon.com.mx.b4xdialog _dialog) throws Exception{ -ResumableSub_Show rsub = new ResumableSub_Show(this,_dialog); -rsub.resume(ba, null); -} -public static class ResumableSub_Show extends BA.ResumableSub { -public ResumableSub_Show(adm.keymon.com.mx.b4xtimedtemplate parent,adm.keymon.com.mx.b4xdialog _dialog) { -this.parent = parent; -this._dialog = _dialog; -} -adm.keymon.com.mx.b4xtimedtemplate parent; -adm.keymon.com.mx.b4xdialog _dialog; -int _myindex = 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 = 29;BA.debugLine="CallSub2(mTemplate, \"Show\", Dialog)"; -parent.__c.CallSubNew2(ba,parent._mtemplate,"Show",(Object)(_dialog)); - //BA.debugLineNum = 30;BA.debugLine="AnotherProgressBar1.SetValueNoAnimation(0)"; -parent._anotherprogressbar1._setvaluenoanimation /*String*/ ((int) (0)); - //BA.debugLineNum = 31;BA.debugLine="AnotherProgressBar1.ValueChangePerSecond = 100 /"; -parent._anotherprogressbar1._valuechangepersecond /*float*/ = (float) (100/(double)(parent._timeoutmilliseconds/(double)1000)); - //BA.debugLineNum = 32;BA.debugLine="AnotherProgressBar1.Value = 100"; -parent._anotherprogressbar1._setvalue /*int*/ ((int) (100)); - //BA.debugLineNum = 33;BA.debugLine="Index = Index + 1"; -parent._index = (int) (parent._index+1); - //BA.debugLineNum = 34;BA.debugLine="Dim MyIndex As Int = Index"; -_myindex = parent._index; - //BA.debugLineNum = 35;BA.debugLine="Sleep(TimeoutMilliseconds)"; -parent.__c.Sleep(ba,this,parent._timeoutmilliseconds); -this.state = 5; -return; -case 5: -//C -this.state = 1; -; - //BA.debugLineNum = 36;BA.debugLine="If MyIndex = Index Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (_myindex==parent._index) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 37;BA.debugLine="Dialog.Close(xui.DialogResponse_Cancel)"; -_dialog._close /*boolean*/ (parent._xui.DialogResponse_Cancel); - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "DIALOGCLOSED")) - return _dialogclosed(((Number)args[0]).intValue()); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel((adm.keymon.com.mx.b4xdialog) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/batteryutilities.java b/B4A/Objects/src/adm/keymon/com/mx/batteryutilities.java deleted file mode 100644 index 7f9d383..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/batteryutilities.java +++ /dev/null @@ -1,165 +0,0 @@ -package adm.keymon.com.mx; - -import android.os.BatteryManager; -import android.os.Bundle; -import android.app.Activity; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class batteryutilities extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.batteryutilities"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.batteryutilities.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public anywheresoftware.b4j.object.JavaObject _nativeme = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private nativeMe As JavaObject"; -_nativeme = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 5;BA.debugLine="End Sub"; -return ""; -} -public int[] _getbatteryinformation() throws Exception{ -int[] _batteryinfo = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub getBatteryInformation () As Int()"; - //BA.debugLineNum = 24;BA.debugLine="Dim batteryInfo(11) As Int"; -_batteryinfo = new int[(int) (11)]; -; - //BA.debugLineNum = 25;BA.debugLine="batteryInfo = nativeMe.RunMethod(\"getBatteryInfor"; -_batteryinfo = (int[])(_nativeme.RunMethod("getBatteryInformation",(Object[])(__c.Null))); - //BA.debugLineNum = 26;BA.debugLine="Return batteryInfo"; -if (true) return _batteryinfo; - //BA.debugLineNum = 28;BA.debugLine="End Sub"; -return null; -} -public String _getbatterytechnolgy() throws Exception{ -String _batterytech = ""; - //BA.debugLineNum = 30;BA.debugLine="Public Sub getBatteryTechnolgy() As String"; - //BA.debugLineNum = 32;BA.debugLine="Dim batterytech As String"; -_batterytech = ""; - //BA.debugLineNum = 33;BA.debugLine="batterytech = nativeMe.RunMethod(\"getBatteryTechn"; -_batterytech = BA.ObjectToString(_nativeme.RunMethod("getBatteryTechnology",(Object[])(__c.Null))); - //BA.debugLineNum = 34;BA.debugLine="Return batterytech"; -if (true) return _batterytech; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 8;BA.debugLine="nativeMe = Me"; -_nativeme = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} - - - public int[] getBatteryInformation() { - - int[] mybat = new int[11]; - - Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); - - int level = batteryIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); - mybat[0] = level; - int scale = batteryIntent.getIntExtra(BatteryManager.EXTRA_SCALE, -1); - mybat[1] = scale; - int health = batteryIntent.getIntExtra(BatteryManager.EXTRA_HEALTH,-1); - mybat[2] = health; - int icon_small = batteryIntent.getIntExtra(BatteryManager.EXTRA_ICON_SMALL,-1); - mybat[3] = icon_small; - int plugged = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED,-1); - mybat[4] = plugged; -// boolean present = batteryIntent.getExtras().getBoolean(BatteryManager.EXTRA_PRESENT); - int status = batteryIntent.getIntExtra(BatteryManager.EXTRA_STATUS,-1); - mybat[5] = status; -// String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); -// BA.Log("Technology = " + technology); - int temperature = batteryIntent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE,-1); - mybat[6] = temperature; - int voltage = batteryIntent.getIntExtra(BatteryManager.EXTRA_VOLTAGE,-1); - mybat[7] = voltage; -// int ac = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_AC); -// mybat[8] = ac; -// int usb = batteryIntent.getIntExtra("plugged",BatteryManager.BATTERY_PLUGGED_USB); -// mybat[9] = usb; - - boolean isCharging = status == BatteryManager.BATTERY_STATUS_CHARGING || - status == BatteryManager.BATTERY_STATUS_FULL; - mybat[8] = 0; - if (isCharging == true) { - mybat[8] = 1; - } - - // How are we charging? - mybat[9] = 0; - mybat[10] = 0; - int chargePlug = batteryIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); - boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; - if (usbCharge == true) { - mybat[9] = 2; - } - - boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC; - if (acCharge == true) { - mybat[10] = 1; - } - - return mybat; - } - - - public String getBatteryTechnology() { - - Intent batteryIntent = ba.context.getApplicationContext().registerReceiver(null, new IntentFilter(Intent.ACTION_BATTERY_CHANGED)); - - String technology = batteryIntent.getExtras().getString(BatteryManager.EXTRA_TECHNOLOGY); - - return technology; - } - - - - - - - -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_cliente.java b/B4A/Objects/src/adm/keymon/com/mx/c_cliente.java deleted file mode 100644 index 7a788e2..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_cliente.java +++ /dev/null @@ -1,6784 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_cliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_cliente"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_cliente.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_cliente = null; -public adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -public anywheresoftware.b4a.objects.IME _ime = null; -public adm.keymon.com.mx.fileprovider _provider = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _ruta = ""; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public String _clie_id = ""; -public String _sdate = ""; -public String _stime = ""; -public String _usuario = ""; -public String _total_cliente = ""; -public String _m_lat = ""; -public String _m_lon = ""; -public anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; -public anywheresoftware.b4a.objects.Serial _cmp20 = null; -public anywheresoftware.b4a.objects.streams.File.TextWriterWrapper _printer = null; -public anywheresoftware.b4a.objects.collections.Map _paireddevices = null; -public anywheresoftware.b4a.objects.collections.List _l = null; -public int _tamano = 0; -public int _espacio = 0; -public String _blanco = ""; -public String _cuenta = ""; -public String _tipo_venta = ""; -public String _mac_impresora = ""; -public adm.keymon.com.mx.escposprinter _printer1 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _dd = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_cuenta = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_nombre = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_calle = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_numero = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_nint = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_edo = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_pob = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_col = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_cp = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_zona = null; -public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_saldotot = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_saldooper = null; -public boolean _impresoraconectada = false; -public anywheresoftware.b4a.objects.ButtonWrapper _tels = null; -public anywheresoftware.b4a.objects.LabelWrapper _label10 = null; -public anywheresoftware.b4a.objects.LabelWrapper _label11 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _tar = null; -public int _errorimpresora = 0; -public anywheresoftware.b4a.objects.LabelWrapper _la_comm = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_actdte = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_usuario = null; -public anywheresoftware.b4a.objects.LabelWrapper _la_resultado = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_entre1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_entre2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_atiende = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_atiende2 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _datos = null; -public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _nuevo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s2 = null; -public String _res = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _credi = null; -public anywheresoftware.b4a.objects.ButtonWrapper _hist = null; -public String _monto_compra = ""; -public String _meta = ""; -public String _meta2 = ""; -public String _verifica = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_qr = null; -public anywheresoftware.b4a.objects.ButtonWrapper _bt_qr = null; -public String _codigo = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_mapa = null; -public String _cuantos = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_imp = null; -public com.rootsoft.togglelibrary.ToggleLibrary _toggla = null; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public float _pre_act = 0f; -public anywheresoftware.b4a.objects.PanelWrapper _panel1 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _i_compra = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_guarda_c = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_venta = null; -public String _almacen = ""; -public anywheresoftware.b4a.objects.LabelWrapper _la_gps = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_e_next = null; -public anywheresoftware.b4a.objects.EditTextWrapper _e_res_e = null; -public anywheresoftware.b4a.objects.LabelWrapper _t_tenc = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel2 = null; -public String _contador_e = ""; -public String _hr_res1 = ""; -public String _hr_res2 = ""; -public String _hr_res3 = ""; -public String _existe = ""; -public String _telefono = ""; -public anywheresoftware.b4a.objects.Timer _t1 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb1 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb2 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb3 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb4 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb5 = null; -public String _stay_hh = ""; -public String _stay_mi = ""; -public String _stay_ss = ""; -public anywheresoftware.b4a.objects.LabelWrapper _la_geo = null; -public int _result = 0; -public String _cercavalor = ""; -public String _la_ruta = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_like = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_gps = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _cb_factura = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_cbfactura = null; -public boolean _venimosdeticketsdia = false; -public anywheresoftware.b4a.objects.PanelWrapper _p_abono = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_abono = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_abono = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cancelar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_abono1 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cxc = null; -public b4a.example3.customlistview _clv_abonos = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_folio = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_saldo = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_montoabonostotal = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _j = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; -public long _distance = 0L; -public adm.keymon.com.mx.c_cuestionario _cuest = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_ventaabordo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_factura = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_limite = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_montoacredito = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cancred = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_acred = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_credito = null; -public int _banderaimp = 0; -public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_foto_inci = null; -public adm.keymon.com.mx.cameraexclass _camex = null; -public boolean _frontcamera = false; -public String _fototomada = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_tipopago = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_efectivo = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_tranfe = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_tarjetadebito = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _rb_tarjetacredito = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_com_tp = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_cancel_tp = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_acept_tp = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper _chb_impreso = null; -public String _nombrepdf = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public void _b_abono_click() throws Exception{ -ResumableSub_b_abono_Click rsub = new ResumableSub_b_abono_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_abono_Click extends BA.ResumableSub { -public ResumableSub_b_abono_Click(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -int _resultado = 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 = 2627;BA.debugLine="p_abono.Visible = False"; -parent._p_abono.setVisible(parent.__c.False); - //BA.debugLineNum = 2628;BA.debugLine="If et_abono.text > l_montoabonostotal.text Then"; -if (true) break; - -case 1: -//if -this.state = 14; -if ((double)(Double.parseDouble(parent._et_abono.getText()))>(double)(Double.parseDouble(parent._l_montoabonostotal.getText()))) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 14; - //BA.debugLineNum = 2629;BA.debugLine="MsgboxAsync(\"El monto a abonar no puede ser mayo"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("El monto a abonar no puede ser mayor que el monto total"),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 2631;BA.debugLine="If et_abono.Text <> \"\" Then"; -if (true) break; - -case 6: -//if -this.state = 13; -if ((parent._et_abono.getText()).equals("") == false) { -this.state = 8; -}if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 2632;BA.debugLine="Msgbox2Async($\"¿Seguro que quieres realizar un a"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence(("¿Seguro que quieres realizar un abono de $"+parent.__c.SmartStringFormatter("",(Object)(parent._et_abono.getText()))+" para este cliente?")),BA.ObjectToCharSequence("Guardar Abono"),"Guardar","Cancelar","",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.True); - //BA.debugLineNum = 2633;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 15; -return; -case 15: -//C -this.state = 9; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 2634;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 9: -//if -this.state = 12; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 11; -}if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 2635;BA.debugLine="skmt.ExecNonQuery($\"INSERT INTO ABONOS(a_usuari"; -parent._skmt.ExecNonQuery(("INSERT INTO ABONOS(a_usuario, a_ruta, a_cliente, a_abono, a_fecha) VALUES ('"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeusuariodebd /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traeruta /*String*/ (ba)))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._traecliente /*String*/ (ba)))+"' ,'"+parent.__c.SmartStringFormatter("",(Object)(parent._et_abono.getText()))+"', '"+parent.__c.SmartStringFormatter("",(Object)(parent._subs._fechakmt /*String*/ (ba,BA.NumberToString(parent.__c.DateTime.getNow()))))+"')")); - //BA.debugLineNum = 2636;BA.debugLine="ToastMessageShow(\"Abono guardado\", False)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Abono guardado"),parent.__c.False); - if (true) break; - -case 12: -//C -this.state = 13; -; - if (true) break; - -case 13: -//C -this.state = 14; -; - if (true) break; - -case 14: -//C -this.state = -1; -; - //BA.debugLineNum = 2640;BA.debugLine="et_abono.Text = \"\""; -parent._et_abono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2641;BA.debugLine="ime.HideKeyboard"; -parent._ime.HideKeyboard(ba); - //BA.debugLineNum = 2642;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _msgbox_result(int _resultado) throws Exception{ -} -public String _b_abono1_click() throws Exception{ - //BA.debugLineNum = 2650;BA.debugLine="Private Sub b_abono1_Click"; - //BA.debugLineNum = 2651;BA.debugLine="p_abono.Visible = True"; -_p_abono.setVisible(__c.True); - //BA.debugLineNum = 2652;BA.debugLine="End Sub"; -return ""; -} -public void _b_acept_tp_click() throws Exception{ -ResumableSub_b_acept_tp_Click rsub = new ResumableSub_b_acept_tp_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_b_acept_tp_Click extends BA.ResumableSub { -public ResumableSub_b_acept_tp_Click(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -String _metopago = ""; -String _pdffilename = ""; -anywheresoftware.b4a.phone.Phone.Email _email = null; -anywheresoftware.b4a.objects.IntentWrapper _in = 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 = 3136;BA.debugLine="If rb_efectivo.Checked Or rb_tranfe.Checked Or rb"; -if (true) break; - -case 1: -//if -this.state = 28; -if (parent._rb_efectivo.getChecked() || parent._rb_tranfe.getChecked() || parent._rb_tarjetacredito.getChecked() || parent._rb_tarjetadebito.getChecked()) { -this.state = 3; -}else { -this.state = 27; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 3138;BA.debugLine="Dim metopago As String"; -_metopago = ""; - //BA.debugLineNum = 3139;BA.debugLine="If rb_efectivo.Checked Then"; -if (true) break; - -case 4: -//if -this.state = 13; -if (parent._rb_efectivo.getChecked()) { -this.state = 6; -}else if(parent._rb_tranfe.getChecked()) { -this.state = 8; -}else if(parent._rb_tarjetadebito.getChecked()) { -this.state = 10; -}else if(parent._rb_tarjetacredito.getChecked()) { -this.state = 12; -}if (true) break; - -case 6: -//C -this.state = 13; - //BA.debugLineNum = 3140;BA.debugLine="metopago = \"EFECTIVO\""; -_metopago = "EFECTIVO"; - if (true) break; - -case 8: -//C -this.state = 13; - //BA.debugLineNum = 3142;BA.debugLine="metopago = \"TRANSFERENCIA\""; -_metopago = "TRANSFERENCIA"; - if (true) break; - -case 10: -//C -this.state = 13; - //BA.debugLineNum = 3144;BA.debugLine="metopago = \"TARJETA DE DEBITO\""; -_metopago = "TARJETA DE DEBITO"; - if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 3146;BA.debugLine="metopago = \"TARJETA DE CREDITO\""; -_metopago = "TARJETA DE CREDITO"; - if (true) break; - -case 13: -//C -this.state = 14; -; - //BA.debugLineNum = 3149;BA.debugLine="Guardar.Enabled = True"; -parent._guardar.setEnabled(parent.__c.True); - //BA.debugLineNum = 3150;BA.debugLine="gest.Enabled = True"; -parent._gest.setEnabled(parent.__c.True); - //BA.debugLineNum = 3151;BA.debugLine="b_cxc.Enabled = True"; -parent._b_cxc.setEnabled(parent.__c.True); - //BA.debugLineNum = 3152;BA.debugLine="Tar.Enabled = True"; -parent._tar.setEnabled(parent.__c.True); - //BA.debugLineNum = 3153;BA.debugLine="Tels.Enabled = True"; -parent._tels.setEnabled(parent.__c.True); - //BA.debugLineNum = 3154;BA.debugLine="b_ventaabordo.Enabled = True"; -parent._b_ventaabordo.setEnabled(parent.__c.True); - //BA.debugLineNum = 3155;BA.debugLine="HIST.Enabled = True"; -parent._hist.setEnabled(parent.__c.True); - //BA.debugLineNum = 3156;BA.debugLine="banderaimp = 1"; -parent._banderaimp = (int) (1); - //BA.debugLineNum = 3158;BA.debugLine="If chb_impreso.Checked Then"; -if (true) break; - -case 14: -//if -this.state = 25; -if (parent._chb_impreso.getChecked()) { -this.state = 16; -}else { -this.state = 24; -}if (true) break; - -case 16: -//C -this.state = 17; - //BA.debugLineNum = 3160;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PE"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO set PE_TIPOPAGO = ?, PE_COMENTARIO = ?, PE_TICKET = ? where PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_metopago,parent._et_com_tp.getText(),"CORREO"})); - //BA.debugLineNum = 3164;BA.debugLine="PDFGENERAR"; -parent._pdfgenerar(); - //BA.debugLineNum = 3167;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 29; -return; -case 29: -//C -this.state = 17; -; - //BA.debugLineNum = 3170;BA.debugLine="Dim pdfFileName As String =nombrepdf"; -_pdffilename = parent._nombrepdf; - //BA.debugLineNum = 3173;BA.debugLine="Log(xui.DefaultFolder)"; -parent.__c.LogImpl("345154342",parent._xui.getDefaultFolder(),0); - //BA.debugLineNum = 3174;BA.debugLine="Log(nombrepdf)"; -parent.__c.LogImpl("345154343",parent._nombrepdf,0); - //BA.debugLineNum = 3175;BA.debugLine="If File.Exists(Starter.fFileProvider.SharedFold"; -if (true) break; - -case 17: -//if -this.state = 22; -if (parent.__c.File.Exists(parent._starter._ffileprovider /*adm.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ,_pdffilename)) { -this.state = 19; -}else { -this.state = 21; -}if (true) break; - -case 19: -//C -this.state = 22; - //BA.debugLineNum = 3177;BA.debugLine="Dim email As Email"; -_email = new anywheresoftware.b4a.phone.Phone.Email(); - //BA.debugLineNum = 3179;BA.debugLine="email.Subject = \"Adjunto encontrará el ticket"; -_email.Subject = "Adjunto encontrará el ticket de venta"; - //BA.debugLineNum = 3180;BA.debugLine="email.Attachments.Add(Provider.GetFileUri(pdfF"; -_email.Attachments.Add(parent._provider._getfileuri /*Object*/ (_pdffilename)); - //BA.debugLineNum = 3182;BA.debugLine="Dim in As Intent = email.GetIntent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); -_in = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_email.GetIntent())); - //BA.debugLineNum = 3183;BA.debugLine="in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION"; -_in.setFlags((int) (1)); - //BA.debugLineNum = 3184;BA.debugLine="StartActivity(in)"; -parent.__c.StartActivity(ba,(Object)(_in.getObject())); - if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 3187;BA.debugLine="ToastMessageShow(\"No se encontró el archivo PD"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No se encontró el archivo PDF para enviar"),parent.__c.True); - if (true) break; - -case 22: -//C -this.state = 25; -; - if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 3191;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PE"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO set PE_TIPOPAGO = ?, PE_COMENTARIO = ?, PE_TICKET = ? where PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_metopago,parent._et_com_tp.getText(),"IMPRESO"})); - //BA.debugLineNum = 3193;BA.debugLine="PDFGENERAR"; -parent._pdfgenerar(); - if (true) break; - -case 25: -//C -this.state = 28; -; - //BA.debugLineNum = 3197;BA.debugLine="rb_efectivo.Checked = False"; -parent._rb_efectivo.setChecked(parent.__c.False); - //BA.debugLineNum = 3198;BA.debugLine="rb_tranfe.Checked = False"; -parent._rb_tranfe.setChecked(parent.__c.False); - //BA.debugLineNum = 3199;BA.debugLine="rb_tarjetadebito.Checked = False"; -parent._rb_tarjetadebito.setChecked(parent.__c.False); - //BA.debugLineNum = 3200;BA.debugLine="rb_tarjetacredito.Checked = False"; -parent._rb_tarjetacredito.setChecked(parent.__c.False); - //BA.debugLineNum = 3201;BA.debugLine="et_com_tp.Text = \"\""; -parent._et_com_tp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 3202;BA.debugLine="p_tipopago.Visible = False"; -parent._p_tipopago.setVisible(parent.__c.False); - if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 3204;BA.debugLine="MsgboxAsync(\"Selecciona un metodo de pago.\", \"At"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Selecciona un metodo de pago."),BA.ObjectToCharSequence("Atención"),ba); - if (true) break; - -case 28: -//C -this.state = -1; -; - //BA.debugLineNum = 3206;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b_acred_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _limitcred = null; - //BA.debugLineNum = 744;BA.debugLine="Private Sub b_acred_Click"; - //BA.debugLineNum = 745;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 746;BA.debugLine="c2.Position=0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 747;BA.debugLine="usuario = c2.GetString(\"USUARIO\")"; -_usuario = _c2.GetString("USUARIO"); - //BA.debugLineNum = 748;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 749;BA.debugLine="Dim limitcred As Cursor"; -_limitcred = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 750;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 751;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 752;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 753;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 754;BA.debugLine="limitcred = B4XPages.MainPage.skmt.ExecQuery(\"SEL"; -_limitcred = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 755;BA.debugLine="limitcred.Position = 0"; -_limitcred.setPosition((int) (0)); - //BA.debugLineNum = 756;BA.debugLine="l_limite.Text = \"Limite de credito: $\" & limitcre"; -_l_limite.setText(BA.ObjectToCharSequence("Limite de credito: $"+_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - //BA.debugLineNum = 757;BA.debugLine="If Subs.traeTotalClientepreventaparacredito >= l"; -if (_subs._traetotalclientepreventaparacredito /*double*/ (ba)>=(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { - //BA.debugLineNum = 759;BA.debugLine="If et_montoacredito.Text > limitcred.GetString(\""; -if ((double)(Double.parseDouble(_et_montoacredito.getText()))>(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { - //BA.debugLineNum = 760;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; -__c.MsgboxAsync(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor al limite del credito"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 761;BA.debugLine="et_montoacredito.Text = limitcred.GetString(\"CA"; -_et_montoacredito.setText(BA.ObjectToCharSequence(_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - }else { - //BA.debugLineNum = 763;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 764;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 765;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; -if ((_c.GetString("REGISTRADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 767;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_la_ruta),(Object)((_sdate+" "+_stime)),(Object)((_sdate+" "+_stime)),(Object)(_et_montoacredito.getText()),(Object)(_usuario),(Object)(_la_cuenta.getText())})); - //BA.debugLineNum = 768;BA.debugLine="GuardaVenta"; -_guardaventa(); - //BA.debugLineNum = 769;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - }else { - //BA.debugLineNum = 772;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((_sdate+" "+_stime)),(Object)((_sdate+" "+_stime)),(Object)(_et_montoacredito.getText())})); - //BA.debugLineNum = 773;BA.debugLine="GuardaVenta"; -_guardaventa(); - //BA.debugLineNum = 774;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - }; - }; - }else if(_subs._traetotalclientepreventaparacredito /*double*/ (ba)<(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { - //BA.debugLineNum = 778;BA.debugLine="If et_montoacredito.Text > Subs.traeTotalCliente"; -if ((double)(Double.parseDouble(_et_montoacredito.getText()))>_subs._traetotalclientepreventaparacredito /*double*/ (ba)) { - //BA.debugLineNum = 779;BA.debugLine="MsgboxAsync(\"El monto del pagare no puede ser m"; -__c.MsgboxAsync(BA.ObjectToCharSequence("El monto del pagare no puede ser mayor a la preventa registrada"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 780;BA.debugLine="et_montoacredito.Text = Subs.traeTotalClientepr"; -_et_montoacredito.setText(BA.ObjectToCharSequence(_subs._traetotalclientepreventaparacredito /*double*/ (ba))); - }else { - //BA.debugLineNum = 782;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) As REGISTRADO FROM PAGARES WHERE PA_CLIENTE IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 783;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 784;BA.debugLine="If c.GetString(\"REGISTRADO\") = 0 Then"; -if ((_c.GetString("REGISTRADO")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 786;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PAGARES (PA_ALMACEN, PA_RUTA, PA_FECHA, PA_CAPTURA, PA_MONTO, PA_USUARIO, PA_CLIENTE) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_la_ruta),(Object)((_sdate+" "+_stime)),(Object)((_sdate+" "+_stime)),(Object)(_et_montoacredito.getText()),(Object)(_usuario),(Object)(_la_cuenta.getText())})); - //BA.debugLineNum = 787;BA.debugLine="GuardaVenta"; -_guardaventa(); - //BA.debugLineNum = 788;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - }else { - //BA.debugLineNum = 791;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PAGARES set PA_FECHA = ?, PA_CAPTURA = ?, PA_MONTO = ? where PA_CLIENTE In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((_sdate+" "+_stime)),(Object)((_sdate+" "+_stime)),(Object)(_et_montoacredito.getText())})); - //BA.debugLineNum = 792;BA.debugLine="GuardaVenta"; -_guardaventa(); - //BA.debugLineNum = 793;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - }; - }; - }; - //BA.debugLineNum = 797;BA.debugLine="limitcred.Close"; -_limitcred.Close(); - //BA.debugLineNum = 798;BA.debugLine="End Sub"; -return ""; -} -public String _b_cancel_tp_click() throws Exception{ - //BA.debugLineNum = 2991;BA.debugLine="Private Sub b_cancel_tp_Click"; - //BA.debugLineNum = 2992;BA.debugLine="p_tipopago.Visible = False"; -_p_tipopago.setVisible(__c.False); - //BA.debugLineNum = 2993;BA.debugLine="rb_efectivo.Checked = False"; -_rb_efectivo.setChecked(__c.False); - //BA.debugLineNum = 2994;BA.debugLine="rb_tranfe.Checked = False"; -_rb_tranfe.setChecked(__c.False); - //BA.debugLineNum = 2995;BA.debugLine="rb_tarjetadebito.Checked = False"; -_rb_tarjetadebito.setChecked(__c.False); - //BA.debugLineNum = 2996;BA.debugLine="rb_tarjetacredito.Checked = False"; -_rb_tarjetacredito.setChecked(__c.False); - //BA.debugLineNum = 2997;BA.debugLine="et_com_tp.Text = \"\""; -_et_com_tp.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2998;BA.debugLine="End Sub"; -return ""; -} -public String _b_cancelar_click() throws Exception{ - //BA.debugLineNum = 2644;BA.debugLine="Private Sub b_cancelar_Click"; - //BA.debugLineNum = 2645;BA.debugLine="et_abono.Text = \"\""; -_et_abono.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2646;BA.debugLine="p_abono.Visible = False"; -_p_abono.setVisible(__c.False); - //BA.debugLineNum = 2647;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 2648;BA.debugLine="End Sub"; -return ""; -} -public String _b_cancred_click() throws Exception{ - //BA.debugLineNum = 800;BA.debugLine="Private Sub b_cancred_Click"; - //BA.debugLineNum = 801;BA.debugLine="p_credito.Visible = False"; -_p_credito.setVisible(__c.False); - //BA.debugLineNum = 802;BA.debugLine="End Sub"; -return ""; -} -public String _b_cxc_click() throws Exception{ -String _total = ""; -int _i = 0; - //BA.debugLineNum = 2654;BA.debugLine="Private Sub b_cxc_Click"; - //BA.debugLineNum = 2656;BA.debugLine="h = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUEN"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA from CUENTAA"))); - //BA.debugLineNum = 2657;BA.debugLine="h.Position = 0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 2658;BA.debugLine="Log(h.GetString(\"CUENTA\"))"; -__c.LogImpl("344302340",_h.GetString("CUENTA"),0); - //BA.debugLineNum = 2659;BA.debugLine="j = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT a_a"; -_j = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT a_abono AS CUANTOS FROM ABONOS WHERE a_cliente = ?",new String[]{_h.GetString("CUENTA")}))); - //BA.debugLineNum = 2660;BA.debugLine="j.position = 0"; -_j.setPosition((int) (0)); - //BA.debugLineNum = 2661;BA.debugLine="Log(j.RowCount)"; -__c.LogImpl("344302343",BA.NumberToString(_j.getRowCount()),0); - //BA.debugLineNum = 2662;BA.debugLine="If j.RowCount = 0 Then"; -if (_j.getRowCount()==0) { - //BA.debugLineNum = 2664;BA.debugLine="p_abono.Visible = True"; -_p_abono.setVisible(__c.True); - //BA.debugLineNum = 2665;BA.debugLine="Dim total As String = 0"; -_total = BA.NumberToString(0); - //BA.debugLineNum = 2666;BA.debugLine="f = B4XPages.MainPage.skmt.ExecQuery(\"SELECT CUE"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CUENTA FROM CUENTAA"))); - //BA.debugLineNum = 2667;BA.debugLine="f.Position = 0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 2669;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT NO"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT NOTA, SALDO_PENDIENTE FROM ABONOSP WHERE CLIENTE = ? ",new String[]{_f.GetString("CUENTA")}))); - //BA.debugLineNum = 2670;BA.debugLine="clv_abonos.Clear"; -_clv_abonos._clear(); - //BA.debugLineNum = 2671;BA.debugLine="For i = 0 To d.RowCount - 1"; -{ -final int step14 = 1; -final int limit14 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit14 ;_i = _i + step14 ) { - //BA.debugLineNum = 2672;BA.debugLine="d.Position = i"; -_d.setPosition(_i); - //BA.debugLineNum = 2673;BA.debugLine="clv_abonos.Add(CreateListItem(d.GetString(\"NOTA"; -_clv_abonos._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_d.GetString("NOTA"),"$ "+_d.GetString("SALDO_PENDIENTE")).getObject())),(Object)(_i)); - //BA.debugLineNum = 2674;BA.debugLine="Log(d.GetString(\"NOTA\"))"; -__c.LogImpl("344302356",_d.GetString("NOTA"),0); - //BA.debugLineNum = 2675;BA.debugLine="Log(d.GetString(\"SALDO_PENDIENTE\"))"; -__c.LogImpl("344302357",_d.GetString("SALDO_PENDIENTE"),0); - //BA.debugLineNum = 2676;BA.debugLine="total = total + d.GetString(\"SALDO_PENDIENTE\")"; -_total = BA.NumberToString((double)(Double.parseDouble(_total))+(double)(Double.parseDouble(_d.GetString("SALDO_PENDIENTE")))); - //BA.debugLineNum = 2677;BA.debugLine="Log(total)"; -__c.LogImpl("344302359",_total,0); - } -}; - //BA.debugLineNum = 2679;BA.debugLine="l_montoabonostotal.Text = total"; -_l_montoabonostotal.setText(BA.ObjectToCharSequence(_total)); - //BA.debugLineNum = 2680;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2681;BA.debugLine="f.Close"; -_f.Close(); - }else if(_j.getRowCount()>0) { - //BA.debugLineNum = 2684;BA.debugLine="MsgboxAsync(\"Este cliente ya tiene un pago captu"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Este cliente ya tiene un pago capturado"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 2686;BA.debugLine="h.Close"; -_h.Close(); - //BA.debugLineNum = 2687;BA.debugLine="j.Close"; -_j.Close(); - //BA.debugLineNum = 2690;BA.debugLine="End Sub"; -return ""; -} -public String _b_e_next_click() throws Exception{ - //BA.debugLineNum = 2164;BA.debugLine="Sub B_E_NEXT_Click"; - //BA.debugLineNum = 2165;BA.debugLine="If E_RES_E.Text <> \"\" Then"; -if ((_e_res_e.getText()).equals("") == false) { - //BA.debugLineNum = 2166;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_ENCUESTA(HE_CLIE, HE_RES, HE_FECHA, HE_TIPO) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_e_res_e.getText()),(Object)(_sdate+_stime),(Object)("DONDE")})); - //BA.debugLineNum = 2167;BA.debugLine="Panel2.Visible = False"; -_panel2.setVisible(__c.False); - //BA.debugLineNum = 2168;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else { - //BA.debugLineNum = 2170;BA.debugLine="Msgbox(\"SIN RESPUESTA\",\"AVISO\") 'Ignore"; -__c.Msgbox(BA.ObjectToCharSequence("SIN RESPUESTA"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 2172;BA.debugLine="End Sub"; -return ""; -} -public String _b_foto_inci_click() throws Exception{ - //BA.debugLineNum = 2826;BA.debugLine="Private Sub b_foto_inci_Click"; - //BA.debugLineNum = 2827;BA.debugLine="camEx.TakePicture"; -_camex._takepicture /*String*/ (); - //BA.debugLineNum = 2828;BA.debugLine="End Sub"; -return ""; -} -public String _b_guarda_c_click() throws Exception{ - //BA.debugLineNum = 2108;BA.debugLine="Sub B_GUARDA_C_Click"; - //BA.debugLineNum = 2109;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2110;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2111;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2112;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 2113;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2114;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 2115;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2116;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUARI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 2117;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2118;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 2119;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2120;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("4"),(Object)(.01),(Object)(.01),(Object)(2),(Object)("KNORR RINDE MAS 70 GR"),(Object)("GUNA2"),(Object)(_la_cuenta.getText()),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_la_ruta)})); - //BA.debugLineNum = 2121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_FACE(HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN) VALUES (?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_cuenta.getText()),(Object)(_i_compra.getText()),(Object)(_la_ruta),(Object)(_almacen)})); - //BA.debugLineNum = 2122;BA.debugLine="Panel1.Visible = False"; -_panel1.setVisible(__c.False); - //BA.debugLineNum = 2124;BA.debugLine="Tar.Visible = True"; -_tar.setVisible(__c.True); - //BA.debugLineNum = 2128;BA.debugLine="Guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 2129;BA.debugLine="End Sub"; -return ""; -} -public String _b_imp_click() throws Exception{ - //BA.debugLineNum = 1027;BA.debugLine="Sub B_IMP_Click"; - //BA.debugLineNum = 1029;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"VENTA"}))); - //BA.debugLineNum = 1030;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1031;BA.debugLine="imprime_venta"; -_imprime_venta(); - //BA.debugLineNum = 1032;BA.debugLine="t1.Initialize(\"T1\", 5000) ' 1000 = 1 second"; -_t1.Initialize(ba,"T1",(long) (5000)); - //BA.debugLineNum = 1033;BA.debugLine="t1.Enabled = True"; -_t1.setEnabled(__c.True); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 1035;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1036;BA.debugLine="If s.RowCount > 0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1037;BA.debugLine="imprime_preventa"; -_imprime_preventa(); - }; - }; - //BA.debugLineNum = 1041;BA.debugLine="End Sub"; -return ""; -} -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 1023;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 1024;BA.debugLine="B4XPages.ShowPage(\"mapas\")"; -_b4xpages._showpage /*String*/ (ba,"mapas"); - //BA.debugLineNum = 1025;BA.debugLine="End Sub"; -return ""; -} -public String _b_venta_click() throws Exception{ - //BA.debugLineNum = 2131;BA.debugLine="Sub b_venta_Click"; - //BA.debugLineNum = 2132;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2133;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2134;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2162;BA.debugLine="End Sub"; -return ""; -} -public String _b_ventaabordo_click() throws Exception{ - //BA.debugLineNum = 2773;BA.debugLine="Private Sub b_ventaabordo_Click"; - //BA.debugLineNum = 2775;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select * Fro"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select * From CAT_GUNAPROD2 where cat_gp_tipo <> ? ",new String[]{"PROMOS"}))); - //BA.debugLineNum = 2776;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2780;BA.debugLine="B4XPages.MainPage.tipo_venta = \"VENTA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "VENTA"; - //BA.debugLineNum = 2815;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - }else if(_c.getRowCount()==0) { - //BA.debugLineNum = 2820;BA.debugLine="MsgboxAsync(\"No puedes hacer venta porque no tie"; -__c.MsgboxAsync(BA.ObjectToCharSequence("No puedes hacer venta porque no tienes inventario abordo"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 2824;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -String _cabonos = ""; -String _factura = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _credi2 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _credi3 = null; - //BA.debugLineNum = 256;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 257;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 258;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 259;BA.debugLine="b_ventaabordo.Visible = False"; -_b_ventaabordo.setVisible(__c.False); - //BA.debugLineNum = 260;BA.debugLine="p_camara.Height = Root.Height"; -_p_camara.setHeight(_root.getHeight()); - //BA.debugLineNum = 261;BA.debugLine="p_camara.Width = Root.Width"; -_p_camara.setWidth(_root.getWidth()); - //BA.debugLineNum = 262;BA.debugLine="p_tipopago.Height = Root.Height"; -_p_tipopago.setHeight(_root.getHeight()); - //BA.debugLineNum = 263;BA.debugLine="p_tipopago.Width = Root.Width"; -_p_tipopago.setWidth(_root.getWidth()); - //BA.debugLineNum = 264;BA.debugLine="banderaimp = 0"; -_banderaimp = (int) (0); - //BA.debugLineNum = 265;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; -_reqmanager._initialize /*String*/ (ba,this,_starter._dbreqserver /*String*/ ); - //BA.debugLineNum = 266;BA.debugLine="LA_GPS.TextColor = Colors.Red"; -_la_gps.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 267;BA.debugLine="LA_GPS.Text = \"SIN UBICACION GPS\""; -_la_gps.setText(BA.ObjectToCharSequence("SIN UBICACION GPS")); - //BA.debugLineNum = 268;BA.debugLine="cercavalor = 0"; -_cercavalor = BA.NumberToString(0); - //BA.debugLineNum = 269;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 270;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 271;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 274;BA.debugLine="cb_factura.Checked = False"; -_cb_factura.setChecked(__c.False); - //BA.debugLineNum = 275;BA.debugLine="p_abono.Visible = False"; -_p_abono.setVisible(__c.False); - //BA.debugLineNum = 276;BA.debugLine="Subs.centraPanel(p_abono, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_abono,_root.getWidth()); - //BA.debugLineNum = 277;BA.debugLine="Subs.centraPanel(p_credito, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_credito,_root.getWidth()); - //BA.debugLineNum = 278;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 279;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa) UNION ALL select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO from kmt_info2 where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 280;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM(PE"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM(PE_COSTO_TOT) As TOTAL_CLIE, SUM(PE_CANT) As CANT_CLIE, PC_FACTURA FROM PEDIDO_CLIENTE INNER JOIN PEDIDO ON PEDIDO_CLIENTE.PC_CLIENTE = PEDIDO.PE_CLIENTE WHERE (PE_CLIENTE IN (Select cuenta from cuentaa))"))); - //BA.debugLineNum = 281;BA.debugLine="b = B4XPages.MainPage.skmt.ExecQuery(\"select COUN"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 282;BA.debugLine="b.Position = 0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 283;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; -_cabonos = _b.GetString("CLIENTE"); - //BA.debugLineNum = 284;BA.debugLine="If cabonos = 0 Then"; -if ((_cabonos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 285;BA.debugLine="b_cxc.Visible = False"; -_b_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 287;BA.debugLine="b_cxc.Visible = True"; -_b_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 290;BA.debugLine="If la_cuenta.Text = \"0\" Or la_cuenta.Text = \"1\" T"; -if ((_la_cuenta.getText()).equals("0") || (_la_cuenta.getText()).equals("1")) { - //BA.debugLineNum = 291;BA.debugLine="p_cbFactura.Visible = False"; -_p_cbfactura.setVisible(__c.False); - //BA.debugLineNum = 292;BA.debugLine="l_factura.Visible = False"; -_l_factura.setVisible(__c.False); - //BA.debugLineNum = 293;BA.debugLine="b_ventaabordo.Visible = False"; -_b_ventaabordo.setVisible(__c.False); - }else { - //BA.debugLineNum = 295;BA.debugLine="p_cbFactura.Visible = False"; -_p_cbfactura.setVisible(__c.False); - //BA.debugLineNum = 296;BA.debugLine="l_factura.Visible = False"; -_l_factura.setVisible(__c.False); - //BA.debugLineNum = 297;BA.debugLine="b_ventaabordo.Visible = False"; -_b_ventaabordo.setVisible(__c.False); - }; - //BA.debugLineNum = 299;BA.debugLine="chb_impreso.Checked = False"; -_chb_impreso.setChecked(__c.False); - //BA.debugLineNum = 300;BA.debugLine="s.Position=0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 301;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 302;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 303;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -_la_cuenta.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 304;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -_la_nombre.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 305;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & \""; -_la_calle.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE")+" "+_c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 306;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -_la_col.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 307;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -_la_edo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 308;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -_l_entre1.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 309;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -_l_entre2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 310;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -_l_atiende.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENDE1"))); - //BA.debugLineNum = 311;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -_l_atiende2.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 312;BA.debugLine="TELEFONO = c.GetString(\"CAT_CL_TELEFONO\")"; -_telefono = _c.GetString("CAT_CL_TELEFONO"); - //BA.debugLineNum = 313;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; -_l_total.setText(BA.ObjectToCharSequence(_s.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 314;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; -_total_cliente = _s.GetString("TOTAL_CLIE"); - //BA.debugLineNum = 315;BA.debugLine="Private factura As String = 0"; -_factura = BA.NumberToString(0); - //BA.debugLineNum = 316;BA.debugLine="If s.GetString(\"PC_FACTURA\") <> Null And IsNumbe"; -if (_s.GetString("PC_FACTURA")!= null && __c.IsNumber(_s.GetString("PC_FACTURA"))) { -_factura = _s.GetString("PC_FACTURA");}; - //BA.debugLineNum = 317;BA.debugLine="If factura = \"1\" Then cb_factura.Checked = True"; -if ((_factura).equals("1")) { -_cb_factura.setChecked(__c.True);}; - //BA.debugLineNum = 318;BA.debugLine="m_lat = \"0\""; -_m_lat = "0"; - //BA.debugLineNum = 319;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then m_lat =c"; -if ((_c.GetString("CAT_CL_LAT")).equals("") == false) { -_m_lat = _c.GetString("CAT_CL_LAT");}; - //BA.debugLineNum = 320;BA.debugLine="If m_lat.Length < 5 Then m_lat = \"0\""; -if (_m_lat.length()<5) { -_m_lat = "0";}; - //BA.debugLineNum = 321;BA.debugLine="m_lon = \"0\""; -_m_lon = "0"; - //BA.debugLineNum = 322;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then m_lon ="; -if ((_c.GetString("CAT_CL_LONG")).equals("") == false) { -_m_lon = _c.GetString("CAT_CL_LONG");}; - //BA.debugLineNum = 323;BA.debugLine="If m_lon.Length < 5 Then m_lon = \"0\""; -if (_m_lon.length()<5) { -_m_lon = "0";}; - //BA.debugLineNum = 324;BA.debugLine="LA_RUTA = c.GetString(\"CAT_CL_RUTA\")"; -_la_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 326;BA.debugLine="If c.GetString(\"CAT_CL_NUM_SERIEFISICO\") = \"0\""; -if ((_c.GetString("CAT_CL_NUM_SERIEFISICO")).equals("0")) { - //BA.debugLineNum = 327;BA.debugLine="L_QR.TEXT = \"SIN CODIGO\""; -_l_qr.setText(BA.ObjectToCharSequence("SIN CODIGO")); - //BA.debugLineNum = 328;BA.debugLine="L_QR.TextColor = Colors.Red"; -_l_qr.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 329;BA.debugLine="gest.VISIBLE = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 330;BA.debugLine="BT_QR.Visible = True"; -_bt_qr.setVisible(__c.True); - }else { - //BA.debugLineNum = 332;BA.debugLine="L_QR.TEXT = c.GetString(\"CAT_CL_NUM_SERIEFISICO"; -_l_qr.setText(BA.ObjectToCharSequence(_c.GetString("CAT_CL_NUM_SERIEFISICO"))); - //BA.debugLineNum = 333;BA.debugLine="L_QR.TextColor = Colors.Blue"; -_l_qr.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 334;BA.debugLine="BT_QR.Visible = False"; -_bt_qr.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 337;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 338;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 339;BA.debugLine="S2=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_s2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) AS CUANTOS from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 340;BA.debugLine="S2.Position =0"; -_s2.setPosition((int) (0)); - //BA.debugLineNum = 341;BA.debugLine="CUANTOS = S2.GetString(\"CUANTOS\")"; -_cuantos = _s2.GetString("CUANTOS"); - //BA.debugLineNum = 342;BA.debugLine="S2.Close"; -_s2.Close(); - //BA.debugLineNum = 343;BA.debugLine="If CUANTOS > 0 Then"; -if ((double)(Double.parseDouble(_cuantos))>0) { - //BA.debugLineNum = 344;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(HVD_COSTO_TOT) AS TOTAL from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 345;BA.debugLine="c2.Position =0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 346;BA.debugLine="MONTO_COMPRA = c2.GetString(\"TOTAL\")"; -_monto_compra = _c2.GetString("TOTAL"); - //BA.debugLineNum = 347;BA.debugLine="c2.Close"; -_c2.Close(); - }else { - //BA.debugLineNum = 349;BA.debugLine="MONTO_COMPRA = \"0\""; -_monto_compra = "0"; - }; - //BA.debugLineNum = 352;BA.debugLine="la_saldotot.Text = MONTO_COMPRA"; -_la_saldotot.setText(BA.ObjectToCharSequence(_monto_compra)); - //BA.debugLineNum = 353;BA.debugLine="If MONTO_COMPRA <> \"0\" Then"; -if ((_monto_compra).equals("0") == false) { - //BA.debugLineNum = 354;BA.debugLine="META2 = 300 - MONTO_COMPRA"; -_meta2 = BA.NumberToString(300-(double)(Double.parseDouble(_monto_compra))); - }else { - //BA.debugLineNum = 356;BA.debugLine="META2 = 300"; -_meta2 = BA.NumberToString(300); - }; - //BA.debugLineNum = 358;BA.debugLine="If META2 < 1 Then"; -if ((double)(Double.parseDouble(_meta2))<1) { - //BA.debugLineNum = 359;BA.debugLine="META2 = \"CUBIERTO\""; -_meta2 = "CUBIERTO"; - }; - //BA.debugLineNum = 361;BA.debugLine="la_saldooper.Text = META2"; -_la_saldooper.setText(BA.ObjectToCharSequence(_meta2)); - //BA.debugLineNum = 362;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_ALM"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 363;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 364;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 365;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - }; - //BA.debugLineNum = 367;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 373;BA.debugLine="If ALMACEN = \"4\" Then"; -if ((_almacen).equals("4")) { - //BA.debugLineNum = 375;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); - //BA.debugLineNum = 376;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 377;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; -if ((_dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 378;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PRONOMBRE =?",new String[]{"KNORR RINDE MAS 70 GR"}))); - //BA.debugLineNum = 379;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 385;BA.debugLine="c.Close"; -_c.Close(); - }else { - }; - //BA.debugLineNum = 389;BA.debugLine="DD.Close"; -_dd.Close(); - }else { - }; - //BA.debugLineNum = 397;BA.debugLine="CallSubDelayed(Tracker, \"Track\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"Track"); - //BA.debugLineNum = 398;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 399;BA.debugLine="If Tracker.FLP.IsInitialized And Tracker.FLP.GetL"; -if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 400;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); - //BA.debugLineNum = 401;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); - //BA.debugLineNum = 403;BA.debugLine="GPS_LocationChanged(Tracker.FLP.GetLastKnownLoca"; -_gps_locationchanged(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation()); - }; - //BA.debugLineNum = 430;BA.debugLine="c = skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"MACIMP"}))); - //BA.debugLineNum = 431;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 432;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 433;BA.debugLine="Starter.MAC_IMPRESORA = c.GetString(\"CAT_VA_VALO"; -_starter._mac_impresora /*String*/ = _c.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 435;BA.debugLine="If Starter.MAC_IMPRESORA = \"\" Then Starter.MAC_IM"; -if ((_starter._mac_impresora /*String*/ ).equals("")) { -_starter._mac_impresora /*String*/ = "0";}; - //BA.debugLineNum = 437;BA.debugLine="Printer1.Initialize(Me, \"Printer1\")"; -_printer1._initialize /*String*/ (ba,this,"Printer1"); - //BA.debugLineNum = 439;BA.debugLine="If Printer1.IsConnected = False Then"; -if (_printer1._isconnected /*boolean*/ ()==__c.False) { - }else { - //BA.debugLineNum = 443;BA.debugLine="Printer1.DisConnect"; -_printer1._disconnect /*String*/ (); - //BA.debugLineNum = 444;BA.debugLine="Printer1.Connect"; -_printer1._connect /*boolean*/ (); - //BA.debugLineNum = 445;BA.debugLine="Log(\"2\")"; -__c.LogImpl("341025725","2",0); - }; - //BA.debugLineNum = 450;BA.debugLine="pre_act = Subs.traeTotalClientepreventaparacredit"; -_pre_act = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); - //BA.debugLineNum = 454;BA.debugLine="Private credi2 As Cursor = B4XPages.MainPage.skmt"; -_credi2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_credi2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE FROM KMT_INFO INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, CAT_CL_CODIGO, Ifnull(SALDO_PENDIENTE,0) As SALDO_PENDIENTE FROM KMT_INFO2 INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 455;BA.debugLine="If credi2.RowCount > 0 Then"; -if (_credi2.getRowCount()>0) { - //BA.debugLineNum = 456;BA.debugLine="credi2.Position = 0"; -_credi2.setPosition((int) (0)); - //BA.debugLineNum = 457;BA.debugLine="If credi2.GetString (\"CAT_CL_BCREDITO\") = \"1\" Th"; -if ((_credi2.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 458;BA.debugLine="Log(2)"; -__c.LogImpl("341025738",BA.NumberToString(2),0); - //BA.debugLineNum = 459;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.sk"; -_credi3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_credi3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 460;BA.debugLine="If credi3.RowCount > 0 Then"; -if (_credi3.getRowCount()>0) { - //BA.debugLineNum = 461;BA.debugLine="credi3.Position = 0"; -_credi3.setPosition((int) (0)); - //BA.debugLineNum = 462;BA.debugLine="If credi2.GetString (\"SALDO_PENDIENTE\") <> cre"; -if ((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono")) == false) { - //BA.debugLineNum = 463;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porque"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare en menor al total de la deuda."),BA.ObjectToCharSequence("Atención"),ba); - }else if((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono"))) { - }; - }else { - //BA.debugLineNum = 467;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por que"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 469;BA.debugLine="credi3.Close"; -_credi3.Close(); - }else { - //BA.debugLineNum = 471;BA.debugLine="Log(1)"; -__c.LogImpl("341025751",BA.NumberToString(1),0); - //BA.debugLineNum = 472;BA.debugLine="Private credi3 As Cursor = B4XPages.MainPage.sk"; -_credi3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_credi3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT a_abono, CAT_CL_CODIGO FROM KMT_INFO2 INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 473;BA.debugLine="If credi3.RowCount > 0 Then"; -if (_credi3.getRowCount()>0) { - //BA.debugLineNum = 474;BA.debugLine="credi3.Position = 0"; -_credi3.setPosition((int) (0)); - //BA.debugLineNum = 475;BA.debugLine="If credi2.GetString (\"SALDO_PENDIENTE\") <> cre"; -if ((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono")) == false) { - //BA.debugLineNum = 476;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo porque"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo porque el pago del pagare en menor al total de la deuda."),BA.ObjectToCharSequence("Atención"),ba); - }else if((_credi2.GetString("SALDO_PENDIENTE")).equals(_credi3.GetString("a_abono"))) { - }; - }else { - //BA.debugLineNum = 480;BA.debugLine="MsgboxAsync(\"La venta sera en efectivo por que"; -__c.MsgboxAsync(BA.ObjectToCharSequence("La venta sera en efectivo por que hay un pagare pendiente de pago"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 482;BA.debugLine="credi3.Close"; -_credi3.Close(); - }; - }; - //BA.debugLineNum = 485;BA.debugLine="credi2.Close"; -_credi2.Close(); - //BA.debugLineNum = 486;BA.debugLine="If la_cuenta.Text = \"0\" Then"; -if ((_la_cuenta.getText()).equals("0")) { - //BA.debugLineNum = 487;BA.debugLine="gest.Text = \"Abordo\""; -_gest.setText(BA.ObjectToCharSequence("Abordo")); - //BA.debugLineNum = 488;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; - }else if((_la_cuenta.getText()).equals("1")) { - //BA.debugLineNum = 490;BA.debugLine="gest.Text = \"Recarga\""; -_gest.setText(BA.ObjectToCharSequence("Recarga")); - //BA.debugLineNum = 491;BA.debugLine="B4XPages.MainPage.recarga = \"1\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "1"; - }else { - //BA.debugLineNum = 493;BA.debugLine="gest.Text = \"Pre-venta\""; -_gest.setText(BA.ObjectToCharSequence("Pre-venta")); - //BA.debugLineNum = 494;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; - }; - //BA.debugLineNum = 496;BA.debugLine="LogColor(B4XPages.MainPage.recarga,Colors.Blue)"; -__c.LogImpl("341025776",_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,__c.Colors.Blue); - //BA.debugLineNum = 498;BA.debugLine="If camEx.IsInitialized Then"; -if (_camex.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 499;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - }; - //BA.debugLineNum = 501;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 502;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -int _resultado1 = 0; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 606;BA.debugLine="If Starter.pre_viejo = pre_act Then"; -if (true) break; - -case 1: -//if -this.state = 32; -if (parent._starter._pre_viejo /*float*/ ==parent._pre_act) { -this.state = 3; -}else { -this.state = 27; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 607;BA.debugLine="If (la_cuenta.Text <> \"0\" And la_cuenta.Text <>"; -if (true) break; - -case 4: -//if -this.state = 25; -if (((parent._la_cuenta.getText()).equals("0") == false && (parent._la_cuenta.getText()).equals("1") == false)) { -this.state = 6; -}else { -this.state = 24; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 608;BA.debugLine="If banderaimp = 1 Then"; -if (true) break; - -case 7: -//if -this.state = 22; -if (parent._banderaimp==1) { -this.state = 9; -}else { -this.state = 11; -}if (true) break; - -case 9: -//C -this.state = 22; - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 610;BA.debugLine="cuest.encuestaIniciada = False"; -parent._cuest._encuestainiciada /*boolean*/ = parent.__c.False; - //BA.debugLineNum = 611;BA.debugLine="cuest.ocultPanelPregunta"; -parent._cuest._ocultpanelpregunta /*String*/ (); - //BA.debugLineNum = 612;BA.debugLine="If IsNumber(l_total.text) And Not(Subs.pedidoG"; -if (true) break; - -case 12: -//if -this.state = 21; -if (parent.__c.IsNumber(parent._l_total.getText()) && parent.__c.Not(parent._subs._pedidoguardado /*boolean*/ (ba))) { -this.state = 14; -}if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 613;BA.debugLine="LogColor(\"Hay Venta\", Colors.Red)"; -parent.__c.LogImpl("341353227","Hay Venta",parent.__c.Colors.Red); - //BA.debugLineNum = 614;BA.debugLine="Private resultado1 As Int = Msgbox2($\"Va sali"; -_resultado1 = parent.__c.Msgbox2(BA.ObjectToCharSequence(("Va salir sin haber guardado la venta, si continua, la venta se BORRARA."+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+"¿Esta seguro que desea continuar?")),BA.ObjectToCharSequence("SE VA A BORRAR LA VENTA"),"Borrar Venta","Guardar Venta","",(android.graphics.Bitmap)(parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png").getObject()),ba); - //BA.debugLineNum = 615;BA.debugLine="If resultado1 = DialogResponse.POSITIVE Then"; -if (true) break; - -case 15: -//if -this.state = 20; -if (_resultado1==parent.__c.DialogResponse.POSITIVE) { -this.state = 17; -}else if(_resultado1==parent.__c.DialogResponse.CANCEL) { -this.state = 19; -}if (true) break; - -case 17: -//C -this.state = 20; - //BA.debugLineNum = 616;BA.debugLine="Log(\"Borrra venta\")"; -parent.__c.LogImpl("341353230","Borrra venta",0); - //BA.debugLineNum = 617;BA.debugLine="Subs.borraPedidoClienteActual"; -parent._subs._borrapedidoclienteactual /*String*/ (ba); - //BA.debugLineNum = 618;BA.debugLine="ToastMessageShow(\"Venta Borrada\", False)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Venta Borrada"),parent.__c.False); - //BA.debugLineNum = 620;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - if (true) break; - -case 19: -//C -this.state = 20; - //BA.debugLineNum = 622;BA.debugLine="Log(\"Pedido guardado\")"; -parent.__c.LogImpl("341353236","Pedido guardado",0); - //BA.debugLineNum = 623;BA.debugLine="Guardar_Click"; -parent._guardar_click(); - //BA.debugLineNum = 624;BA.debugLine="ToastMessageShow(\"Venta Guardada\", False)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Venta Guardada"),parent.__c.False); - if (true) break; - -case 20: -//C -this.state = 21; -; - if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 628;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -parent._b4xpages._showpage /*String*/ (ba,"Clientes"); - if (true) break; - -case 22: -//C -this.state = 25; -; - if (true) break; - -case 24: -//C -this.state = 25; - if (true) break; - -case 25: -//C -this.state = 32; -; - if (true) break; - -case 27: -//C -this.state = 28; - //BA.debugLineNum = 637;BA.debugLine="If B4XPages.MainPage.recarga = \"1\" Then"; -if (true) break; - -case 28: -//if -this.state = 31; -if ((parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("1")) { -this.state = 30; -}if (true) break; - -case 30: -//C -this.state = 31; - //BA.debugLineNum = 638;BA.debugLine="B4XPages.ShowPage(\"login\")"; -parent._b4xpages._showpage /*String*/ (ba,"login"); - if (true) break; - -case 31: -//C -this.state = 32; -; - if (true) break; - -case 32: -//C -this.state = -1; -; - //BA.debugLineNum = 643;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 644;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,_root1); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { -public ResumableSub_B4XPage_Created(adm.keymon.com.mx.c_cliente parent,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { -this.parent = parent; -this._root1 = _root1; -} -adm.keymon.com.mx.c_cliente parent; -anywheresoftware.b4a.objects.B4XViewWrapper _root1; -String _cabonos = ""; -String _permission = ""; -boolean _resultc = false; - -@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 = 185;BA.debugLine="Root = Root1"; -parent._root = _root1; - //BA.debugLineNum = 188;BA.debugLine="Root.LoadLayout(\"cliente\")"; -parent._root.LoadLayout("cliente",ba); - //BA.debugLineNum = 189;BA.debugLine="cuest.Initialize(Me, \"cuest\", Root, Starter.skmt)"; -parent._cuest._initialize /*Object*/ (ba,parent,"cuest",parent._root,parent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ ); - //BA.debugLineNum = 190;BA.debugLine="ruta = File.DirInternal"; -parent._ruta = parent.__c.File.getDirInternal(); - //BA.debugLineNum = 191;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (parent.__c.File.Exists(parent._ruta,"kmt.db")==parent.__c.False) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 192;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 194;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -parent._skmt.Initialize(parent._ruta,"kmt.db",parent.__c.True); - //BA.debugLineNum = 195;BA.debugLine="c = skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_R"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 196;BA.debugLine="s = skmt.ExecQuery(\"select sum(pe_costo_tot) as T"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 197;BA.debugLine="b = skmt.ExecQuery(\"select COUNT(*) AS CLIENTE FR"; -parent._b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select COUNT(*) AS CLIENTE FROM ABONOSP WHERE CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 198;BA.debugLine="b.Position = 0"; -parent._b.setPosition((int) (0)); - //BA.debugLineNum = 199;BA.debugLine="Dim cabonos As String = b.GetString(\"CLIENTE\")"; -_cabonos = parent._b.GetString("CLIENTE"); - //BA.debugLineNum = 200;BA.debugLine="If cabonos = 0 Then"; -if (true) break; - -case 5: -//if -this.state = 10; -if ((_cabonos).equals(BA.NumberToString(0))) { -this.state = 7; -}else { -this.state = 9; -}if (true) break; - -case 7: -//C -this.state = 10; - //BA.debugLineNum = 201;BA.debugLine="b_cxc.Visible = False"; -parent._b_cxc.setVisible(parent.__c.False); - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 203;BA.debugLine="b_cxc.Visible = True"; -parent._b_cxc.setVisible(parent.__c.True); - if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 205;BA.debugLine="xui.SetDataFolder(\"B4Xpdf\")"; -parent._xui.SetDataFolder("B4Xpdf"); - //BA.debugLineNum = 206;BA.debugLine="File.Copy(File.DirAssets,\"intmex_logo_192x192.jpg"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"intmex_logo_192x192.jpg",parent._xui.getDefaultFolder(),"intmex_logo_192x192.jpg"); - //BA.debugLineNum = 207;BA.debugLine="File.Copy(File.DirAssets,\"mariana1.jpg\",xui.Defau"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"mariana1.jpg",parent._xui.getDefaultFolder(),"mariana1.jpg"); - //BA.debugLineNum = 208;BA.debugLine="Provider.Initialize"; -parent._provider._initialize /*String*/ (ba); - //BA.debugLineNum = 209;BA.debugLine="s.Position=0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 210;BA.debugLine="If c.RowCount>0 Then"; -if (true) break; - -case 11: -//if -this.state = 14; -if (parent._c.getRowCount()>0) { -this.state = 13; -}if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 211;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 212;BA.debugLine="la_cuenta.Text = c.GetString(\"CAT_CL_CODIGO\")"; -parent._la_cuenta.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CODIGO"))); - //BA.debugLineNum = 213;BA.debugLine="cuenta = c.GetString(\"CAT_CL_CODIGO\")"; -parent._cuenta = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 214;BA.debugLine="La_nombre.Text = c.GetString(\"CAT_CL_NOMBRE\")"; -parent._la_nombre.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_NOMBRE"))); - //BA.debugLineNum = 215;BA.debugLine="la_Calle.Text = c.GetString(\"CAT_CL_CALLE\") & c."; -parent._la_calle.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE")+parent._c.GetString("CAT_CL_NOEXT"))); - //BA.debugLineNum = 216;BA.debugLine="la_col.Text = c.GetString(\"CAT_CL_COLONIA\")"; -parent._la_col.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_COLONIA"))); - //BA.debugLineNum = 217;BA.debugLine="la_edo.Text = c.GetString(\"CAT_CL_EDO\")"; -parent._la_edo.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EDO"))); - //BA.debugLineNum = 219;BA.debugLine="l_entre1.Text = c.GetString(\"CAT_CL_CALLE1\")"; -parent._l_entre1.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE1"))); - //BA.debugLineNum = 220;BA.debugLine="l_entre2.Text = c.GetString(\"CAT_CL_CALLE2\")"; -parent._l_entre2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_CALLE2"))); - //BA.debugLineNum = 221;BA.debugLine="l_atiende.Text = c.GetString(\"CAT_CL_ATIENDE1\")"; -parent._l_atiende.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENDE1"))); - //BA.debugLineNum = 222;BA.debugLine="l_atiende2.Text = c.GetString(\"CAT_CL_ATIENTE2\")"; -parent._l_atiende2.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_ATIENTE2"))); - //BA.debugLineNum = 223;BA.debugLine="la_saldotot.Text = c.GetString(\"CAT_CL_TELEFONO\""; -parent._la_saldotot.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_TELEFONO"))); - //BA.debugLineNum = 224;BA.debugLine="la_saldooper.Text = c.GetString(\"CAT_CL_EMAIL\")"; -parent._la_saldooper.setText(BA.ObjectToCharSequence(parent._c.GetString("CAT_CL_EMAIL"))); - //BA.debugLineNum = 225;BA.debugLine="l_total.Text = s.GetString(\"TOTAL_CLIE\")"; -parent._l_total.setText(BA.ObjectToCharSequence(parent._s.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 226;BA.debugLine="total_cliente = s.GetString(\"TOTAL_CLIE\")"; -parent._total_cliente = parent._s.GetString("TOTAL_CLIE"); - //BA.debugLineNum = 227;BA.debugLine="MONTO_COMPRA = c.GetString(\"CAT_CL_MTOCOMPRA\")"; -parent._monto_compra = parent._c.GetString("CAT_CL_MTOCOMPRA"); - if (true) break; - -case 14: -//C -this.state = -1; -; - //BA.debugLineNum = 229;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 230;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 231;BA.debugLine="btAdmin.Initialize(\"BlueTeeth\")"; -parent._btadmin.Initialize(ba,"BlueTeeth"); - //BA.debugLineNum = 232;BA.debugLine="cmp20.Initialize(\"Printer\")"; -parent._cmp20.Initialize("Printer"); - //BA.debugLineNum = 233;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 234;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 15; -return; -case 15: -//C -this.state = -1; -_permission = (String) result[0]; -_resultc = (Boolean) result[1]; -; - //BA.debugLineNum = 235;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 236;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 16; -return; -case 16: -//C -this.state = -1; -_permission = (String) result[0]; -_resultc = (Boolean) result[1]; -; - //BA.debugLineNum = 252;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_permissionresult(String _permission,boolean _resultc) throws Exception{ -} -public String _bt_qr_click() throws Exception{ - //BA.debugLineNum = 965;BA.debugLine="Sub BT_QR_Click"; - //BA.debugLineNum = 973;BA.debugLine="End Sub"; -return ""; -} -public String _calc_ean_checksum(String _number) throws Exception{ -int _i = 0; -char _co = '\0'; -int _soma = 0; -int _n = 0; -float _digit = 0f; - //BA.debugLineNum = 1008;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; - //BA.debugLineNum = 1009;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 1010;BA.debugLine="Dim cO As Char"; -_co = '\0'; - //BA.debugLineNum = 1011;BA.debugLine="Dim soma As Int"; -_soma = 0; - //BA.debugLineNum = 1012;BA.debugLine="Dim n As Int"; -_n = 0; - //BA.debugLineNum = 1013;BA.debugLine="Dim digit As Float"; -_digit = 0f; - //BA.debugLineNum = 1014;BA.debugLine="soma = 0"; -_soma = (int) (0); - //BA.debugLineNum = 1015;BA.debugLine="For i=0 To number.Length - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_number.length()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 1016;BA.debugLine="digit = number.SubString2(i,i+1)"; -_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); - //BA.debugLineNum = 1017;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; -_n = (int) (_digit*((_i%2)*2+1)); - //BA.debugLineNum = 1018;BA.debugLine="soma=soma+n"; -_soma = (int) (_soma+_n); - } -}; - //BA.debugLineNum = 1020;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; -if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); - //BA.debugLineNum = 1021;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_picturetaken(byte[] _data) throws Exception{ -String _filename = ""; -String _dir = ""; -String _dirp = ""; -String _dir2 = ""; -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 2854;BA.debugLine="Sub Camera1_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 2856;BA.debugLine="If b_foto_inci.Text = \"Foto tienda\" Then"; -if ((_b_foto_inci.getText()).equals("Foto tienda")) { - //BA.debugLineNum = 2858;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 2859;BA.debugLine="fototomada = DateTime.Now & \"_cliente.jpg\""; -_fototomada = BA.NumberToString(__c.DateTime.getNow())+"_cliente.jpg"; - //BA.debugLineNum = 2860;BA.debugLine="Dim filename As String = fototomada"; -_filename = _fototomada; - //BA.debugLineNum = 2861;BA.debugLine="Dim dir As String = File.DirInternal"; -_dir = __c.File.getDirInternal(); - //BA.debugLineNum = 2862;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 2863;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 2864;BA.debugLine="ToastMessageShow(\"Picture saved.\" & CRLF & \"Fil"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))),__c.True); - //BA.debugLineNum = 2866;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 2867;BA.debugLine="Dim dir As String"; -_dir = ""; - //BA.debugLineNum = 2868;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 2869;BA.debugLine="Try"; -try { //BA.debugLineNum = 2870;BA.debugLine="File.MakeDir(Dirp,\"/adm\")"; -__c.File.MakeDir(_dirp,"/adm"); - //BA.debugLineNum = 2871;BA.debugLine="dir = \"/amd\""; -_dir = "/amd"; - //BA.debugLineNum = 2872;BA.debugLine="Log(\"creado en promotoria \" & Dirp & dir)"; -__c.LogImpl("344761106","creado en promotoria "+_dirp+_dir,0); - } - catch (Exception e17) { - ba.setLastException(e17); //BA.debugLineNum = 2874;BA.debugLine="dir = \"\""; -_dir = ""; - //BA.debugLineNum = 2875;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("344761109","creado en raiz",0); - }; - //BA.debugLineNum = 2878;BA.debugLine="Try"; -try { //BA.debugLineNum = 2879;BA.debugLine="File.MakeDir(Dirp & dir,\"/reduccion\")"; -__c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 2880;BA.debugLine="Dir2 = \"/reduccion\""; -_dir2 = "/reduccion"; - //BA.debugLineNum = 2881;BA.debugLine="Log(\"creado en promotoria \" & Dirp & dir & Dir2"; -__c.LogImpl("344761115","creado en promotoria "+_dirp+_dir+_dir2,0); - } - catch (Exception e25) { - ba.setLastException(e25); //BA.debugLineNum = 2883;BA.debugLine="dir = \"\""; -_dir = ""; - //BA.debugLineNum = 2884;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("344761118","creado en raiz",0); - }; - //BA.debugLineNum = 2887;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2888;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 2889;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2890;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2892;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&dir, filename"; -_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename); - //BA.debugLineNum = 2893;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 2894;BA.debugLine="ToastMessageShow(\"Picture saved.\" & CRLF & \"Fil"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename),__c.True); - //BA.debugLineNum = 2895;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & F"; -__c.LogImpl("344761129","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); - //BA.debugLineNum = 2897;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; -_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 2898;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 2899;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; -_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 2900;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 2902;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO FOTOINIC"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO FOTOINICIAL (RUTAA, ALMACEN, LATITUD, LONGITUD, FECHAHORA, FOTO, USUARIO) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_la_ruta),(Object)(_almacen),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_sdate+" "+_stime),(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_fototomada)),(Object)(_subs._traeusuariodebd /*String*/ (ba))})); - //BA.debugLineNum = 2903;BA.debugLine="b_foto_inci.Text = \"Foto usuario\""; -_b_foto_inci.setText(BA.ObjectToCharSequence("Foto usuario")); - //BA.debugLineNum = 2904;BA.debugLine="ChangeCamera_Click"; -_changecamera_click(); - }else if((_b_foto_inci.getText()).equals("Foto usuario")) { - //BA.debugLineNum = 2906;BA.debugLine="DateTime.DateFormat=\"ddMMyyyyHHmmss\""; -__c.DateTime.setDateFormat("ddMMyyyyHHmmss"); - //BA.debugLineNum = 2907;BA.debugLine="fototomada = DateTime.Now & \"_cliente.jpg\""; -_fototomada = BA.NumberToString(__c.DateTime.getNow())+"_cliente.jpg"; - //BA.debugLineNum = 2908;BA.debugLine="Dim filename As String = fototomada"; -_filename = _fototomada; - //BA.debugLineNum = 2909;BA.debugLine="Dim dir As String = File.DirInternal"; -_dir = __c.File.getDirInternal(); - //BA.debugLineNum = 2910;BA.debugLine="camEx.SavePictureToFile(Data, dir, filename)"; -_camex._savepicturetofile /*String*/ (_data,_dir,_filename); - //BA.debugLineNum = 2911;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 2912;BA.debugLine="ToastMessageShow(\"Picture saved.\" & CRLF & \"Fil"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))),__c.True); - //BA.debugLineNum = 2914;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 2915;BA.debugLine="Dim dir As String"; -_dir = ""; - //BA.debugLineNum = 2916;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 2917;BA.debugLine="Try"; -try { //BA.debugLineNum = 2918;BA.debugLine="File.MakeDir(Dirp,\"/adm\")"; -__c.File.MakeDir(_dirp,"/adm"); - //BA.debugLineNum = 2919;BA.debugLine="dir = \"/amd\""; -_dir = "/amd"; - //BA.debugLineNum = 2920;BA.debugLine="Log(\"creado en promotoria \" & Dirp & dir)"; -__c.LogImpl("344761154","creado en promotoria "+_dirp+_dir,0); - } - catch (Exception e59) { - ba.setLastException(e59); //BA.debugLineNum = 2922;BA.debugLine="dir = \"\""; -_dir = ""; - //BA.debugLineNum = 2923;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("344761157","creado en raiz",0); - }; - //BA.debugLineNum = 2926;BA.debugLine="Try"; -try { //BA.debugLineNum = 2927;BA.debugLine="File.MakeDir(Dirp & dir,\"/reduccion\")"; -__c.File.MakeDir(_dirp+_dir,"/reduccion"); - //BA.debugLineNum = 2928;BA.debugLine="Dir2 = \"/reduccion\""; -_dir2 = "/reduccion"; - //BA.debugLineNum = 2929;BA.debugLine="Log(\"creado en promotoria \" & Dirp & dir & Dir2"; -__c.LogImpl("344761163","creado en promotoria "+_dirp+_dir+_dir2,0); - } - catch (Exception e67) { - ba.setLastException(e67); //BA.debugLineNum = 2931;BA.debugLine="dir = \"\""; -_dir = ""; - //BA.debugLineNum = 2932;BA.debugLine="Log(\"creado en raiz\")"; -__c.LogImpl("344761166","creado en raiz",0); - }; - //BA.debugLineNum = 2935;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2936;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 2937;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2938;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2940;BA.debugLine="camEx.SavePictureToFile(Data, Dirp&dir, filename"; -_camex._savepicturetofile /*String*/ (_data,_dirp+_dir,_filename); - //BA.debugLineNum = 2941;BA.debugLine="camEx.StartPreview 'restart preview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 2942;BA.debugLine="ToastMessageShow(\"Picture saved.\" & CRLF & \"Fil"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename),__c.True); - //BA.debugLineNum = 2943;BA.debugLine="Log(\"Picture saved.\" & CRLF & \"File size: \" & F"; -__c.LogImpl("344761177","Picture saved."+__c.CRLF+"File size: "+BA.NumberToString(__c.File.Size(_dir,_filename))+_dir+","+_filename,0); - //BA.debugLineNum = 2945;BA.debugLine="Dim img As B4XBitmap = xui.LoadBitmapResize(File"; -_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); -_img = _xui.LoadBitmapResize(__c.File.getDirInternal()+_dir,_filename,(int) (450),(int) (600),__c.True); - //BA.debugLineNum = 2946;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.D"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(__c.File.getDirInternal()+_dir+_dir2,_filename,__c.False); - //BA.debugLineNum = 2947;BA.debugLine="img.WriteToStream(out, 100, \"PNG\")"; -_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 2948;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 2951;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE FOT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE FOTOINICIAL set FOTO2 = ? where USUARIO = ? and RUTAA = ? and ALMACEN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.File.ReadBytes(__c.File.getDirInternal()+_dir+_dir2,_fototomada)),(Object)(_subs._traeusuariodebd /*String*/ (ba)),(Object)(_la_ruta),(Object)(_almacen)})); - //BA.debugLineNum = 2952;BA.debugLine="b_foto_inci.Text = \"Foto tienda\""; -_b_foto_inci.setText(BA.ObjectToCharSequence("Foto tienda")); - //BA.debugLineNum = 2953;BA.debugLine="ChangeCamera_Click"; -_changecamera_click(); - //BA.debugLineNum = 2954;BA.debugLine="p_camara.Visible = False"; -_p_camara.setVisible(__c.False); - //BA.debugLineNum = 2955;BA.debugLine="StopCamera"; -_stopcamera(); - //BA.debugLineNum = 2956;BA.debugLine="If la_cuenta.Text = \"0\" Then"; -if ((_la_cuenta.getText()).equals("0")) { - //BA.debugLineNum = 2957;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; - }else if((_la_cuenta.getText()).equals("1")) { - //BA.debugLineNum = 2959;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; - }else { - //BA.debugLineNum = 2961;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA"; - }; - //BA.debugLineNum = 2963;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - }; - //BA.debugLineNum = 2966;BA.debugLine="End Sub"; -return ""; -} -public String _camera1_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 2841;BA.debugLine="Sub Camera1_Ready (Success As Boolean)"; - //BA.debugLineNum = 2842;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 2843;BA.debugLine="camEx.SetJpegQuality(90)"; -_camex._setjpegquality /*String*/ ((int) (90)); - //BA.debugLineNum = 2844;BA.debugLine="camEx.SetContinuousAutoFocus"; -_camex._setcontinuousautofocus /*String*/ (); - //BA.debugLineNum = 2845;BA.debugLine="camEx.CommitParameters"; -_camex._commitparameters /*String*/ (); - //BA.debugLineNum = 2846;BA.debugLine="camEx.StartPreview"; -_camex._startpreview /*String*/ (); - //BA.debugLineNum = 2847;BA.debugLine="Log(camEx.GetPreviewSize)"; -__c.LogImpl("344695558",BA.ObjectToString(_camex._getpreviewsize /*adm.keymon.com.mx.cameraexclass._camerasize*/ ()),0); - }else { - //BA.debugLineNum = 2849;BA.debugLine="ToastMessageShow(\"Cannot open camera.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Cannot open camera."),__c.True); - }; - //BA.debugLineNum = 2851;BA.debugLine="End Sub"; -return ""; -} -public String _cb_factura_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 2221;BA.debugLine="Private Sub cb_factura_CheckedChange(Checked As Bo"; - //BA.debugLineNum = 2223;BA.debugLine="If Checked Then p_cbFactura.Color = Colors.Green"; -if (_checked) { -_p_cbfactura.setColor(__c.Colors.Green);} -else { -_p_cbfactura.setColor(__c.Colors.Red);}; - //BA.debugLineNum = 2224;BA.debugLine="End Sub"; -return ""; -} -public String _changecamera_click() throws Exception{ - //BA.debugLineNum = 2969;BA.debugLine="Sub ChangeCamera_Click"; - //BA.debugLineNum = 2970;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - //BA.debugLineNum = 2971;BA.debugLine="frontCamera = Not(frontCamera)"; -_frontcamera = __c.Not(_frontcamera); - //BA.debugLineNum = 2972;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 2973;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 8;BA.debugLine="Private p_cliente As Panel"; -_p_cliente = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 10;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 11;BA.debugLine="Dim ime As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 12;BA.debugLine="Dim Provider As FileProvider"; -_provider = new adm.keymon.com.mx.fileprovider(); - //BA.debugLineNum = 13;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 14;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 16;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim total_cliente As String"; -_total_cliente = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim m_lat, m_lon As String"; -_m_lat = ""; -_m_lon = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim btAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 22;BA.debugLine="Dim cmp20 As Serial"; -_cmp20 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 23;BA.debugLine="Dim printer As TextWriter"; -_printer = new anywheresoftware.b4a.objects.streams.File.TextWriterWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 25;BA.debugLine="Dim L As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 26;BA.debugLine="Dim TAMANO As Int"; -_tamano = 0; - //BA.debugLineNum = 27;BA.debugLine="Dim ESPACIO As Int"; -_espacio = 0; - //BA.debugLineNum = 28;BA.debugLine="Dim BLANCO As String"; -_blanco = ""; - //BA.debugLineNum = 29;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 30;BA.debugLine="Dim tipo_venta As String = \"PREVENTA\""; -_tipo_venta = "PREVENTA"; - //BA.debugLineNum = 31;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 32;BA.debugLine="Dim Printer1 As EscPosPrinter"; -_printer1 = new adm.keymon.com.mx.escposprinter(); - //BA.debugLineNum = 33;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim DD As Cursor"; -_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim la_cuenta As Label"; -_la_cuenta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim La_nombre As Label"; -_la_nombre = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim la_Calle As Label"; -_la_calle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim la_numero As Label"; -_la_numero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim la_nint As Label"; -_la_nint = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim la_edo As Label"; -_la_edo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim la_pob As Label"; -_la_pob = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim la_col As Label"; -_la_col = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim la_cp As Label"; -_la_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Dim la_zona As Label"; -_la_zona = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim gest As Button"; -_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Dim la_saldotot As Label"; -_la_saldotot = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Dim la_saldooper As Label"; -_la_saldooper = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Dim impresoraConectada As Boolean = False"; -_impresoraconectada = __c.False; - //BA.debugLineNum = 52;BA.debugLine="Dim Tels As Button"; -_tels = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Dim Label10 As Label"; -_label10 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Dim Label11 As Label"; -_label11 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Dim btAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 56;BA.debugLine="Dim Tar As Button"; -_tar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Dim errorImpresora As Int = 0"; -_errorimpresora = (int) (0); - //BA.debugLineNum = 58;BA.debugLine="Dim la_comm As Label"; -_la_comm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 59;BA.debugLine="Dim la_actdte As Label"; -_la_actdte = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 60;BA.debugLine="Dim la_usuario As Label"; -_la_usuario = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Dim la_resultado As Label"; -_la_resultado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Dim l_entre1 As Label"; -_l_entre1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 63;BA.debugLine="Dim l_entre2 As Label"; -_l_entre2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 64;BA.debugLine="Dim l_atiende As Label"; -_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 65;BA.debugLine="Dim l_atiende2 As Label"; -_l_atiende2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Dim DATOS As Button"; -_datos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Dim Guardar As Button"; -_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Dim NUEVO As Button"; -_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 73;BA.debugLine="Dim S2 As Cursor"; -_s2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Dim res As String"; -_res = ""; - //BA.debugLineNum = 76;BA.debugLine="Dim Credi As Cursor"; -_credi = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private HIST As Button"; -_hist = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private MONTO_COMPRA As String"; -_monto_compra = ""; - //BA.debugLineNum = 79;BA.debugLine="Private META As String"; -_meta = ""; - //BA.debugLineNum = 80;BA.debugLine="Private META2 As String"; -_meta2 = ""; - //BA.debugLineNum = 81;BA.debugLine="Private VERIFICA As String"; -_verifica = ""; - //BA.debugLineNum = 82;BA.debugLine="Private L_QR As Label"; -_l_qr = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private BT_QR As Button"; -_bt_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim CODIGO As String"; -_codigo = ""; - //BA.debugLineNum = 87;BA.debugLine="Private b_mapa As Button"; -_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Dim CUANTOS As String"; -_cuantos = ""; - //BA.debugLineNum = 89;BA.debugLine="Private B_IMP As Button"; -_b_imp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Dim Toggla As Toggle"; -_toggla = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 91;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 92;BA.debugLine="Dim pre_act As Float"; -_pre_act = 0f; - //BA.debugLineNum = 94;BA.debugLine="Private Panel1 As Panel"; -_panel1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private I_COMPRA As EditText"; -_i_compra = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 96;BA.debugLine="Private B_GUARDA_C As Button"; -_b_guarda_c = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private b_venta As Button"; -_b_venta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 99;BA.debugLine="Private LA_GPS As Label"; -_la_gps = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Private B_E_NEXT As Button"; -_b_e_next = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private E_RES_E As EditText"; -_e_res_e = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private t_tenc As Label"; -_t_tenc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Private Panel2 As Panel"; -_panel2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 104;BA.debugLine="Private CONTADOR_E As String"; -_contador_e = ""; - //BA.debugLineNum = 105;BA.debugLine="Private HR_RES1 As String"; -_hr_res1 = ""; - //BA.debugLineNum = 106;BA.debugLine="Private HR_RES2 As String"; -_hr_res2 = ""; - //BA.debugLineNum = 107;BA.debugLine="Private HR_RES3 As String"; -_hr_res3 = ""; - //BA.debugLineNum = 108;BA.debugLine="Private EXISTE As String"; -_existe = ""; - //BA.debugLineNum = 109;BA.debugLine="Private TELEFONO As String"; -_telefono = ""; - //BA.debugLineNum = 110;BA.debugLine="Dim t1 As Timer"; -_t1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 111;BA.debugLine="Private RB1 As RadioButton"; -_rb1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 112;BA.debugLine="Private RB2 As RadioButton"; -_rb2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 113;BA.debugLine="Private RB3 As RadioButton"; -_rb3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 114;BA.debugLine="Private RB4 As RadioButton"; -_rb4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 115;BA.debugLine="Private RB5 As RadioButton"; -_rb5 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 117;BA.debugLine="Private stay_hh As String"; -_stay_hh = ""; - //BA.debugLineNum = 118;BA.debugLine="Private stay_mi As String"; -_stay_mi = ""; - //BA.debugLineNum = 119;BA.debugLine="Private stay_ss As String"; -_stay_ss = ""; - //BA.debugLineNum = 121;BA.debugLine="Private LA_GEO As Label"; -_la_geo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 122;BA.debugLine="Dim result As Int"; -_result = 0; - //BA.debugLineNum = 123;BA.debugLine="Private cercavalor As String"; -_cercavalor = ""; - //BA.debugLineNum = 124;BA.debugLine="Private LA_RUTA As String"; -_la_ruta = ""; - //BA.debugLineNum = 126;BA.debugLine="Private b_like As Button"; -_b_like = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 127;BA.debugLine="Private B_GPS As Button"; -_b_gps = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 129;BA.debugLine="Dim CODIGO As String"; -_codigo = ""; - //BA.debugLineNum = 130;BA.debugLine="Private cb_factura As CheckBox"; -_cb_factura = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 131;BA.debugLine="Private p_cbFactura As Panel"; -_p_cbfactura = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 132;BA.debugLine="Dim venimosDeTicketsDia As Boolean = False"; -_venimosdeticketsdia = __c.False; - //BA.debugLineNum = 133;BA.debugLine="Private p_abono As Panel"; -_p_abono = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 134;BA.debugLine="Private et_abono As EditText"; -_et_abono = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 135;BA.debugLine="Private b_abono As Button"; -_b_abono = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 136;BA.debugLine="Private b_cancelar As Button"; -_b_cancelar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 137;BA.debugLine="Private b_abono1 As Button"; -_b_abono1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 138;BA.debugLine="Dim b As Cursor"; -_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 139;BA.debugLine="Private b_cxc As Button"; -_b_cxc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 140;BA.debugLine="Private clv_abonos As CustomListView"; -_clv_abonos = new b4a.example3.customlistview(); - //BA.debugLineNum = 141;BA.debugLine="Private l_folio As Label"; -_l_folio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 142;BA.debugLine="Private l_saldo As Label"; -_l_saldo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 143;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 144;BA.debugLine="Dim f As Cursor"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 145;BA.debugLine="Private l_montoabonostotal As Label"; -_l_montoabonostotal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 146;BA.debugLine="Dim j As Cursor"; -_j = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 147;BA.debugLine="Dim h As Cursor"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 148;BA.debugLine="Dim distance As Long"; -_distance = 0L; - //BA.debugLineNum = 149;BA.debugLine="Dim cuest As C_Cuestionario"; -_cuest = new adm.keymon.com.mx.c_cuestionario(); - //BA.debugLineNum = 150;BA.debugLine="Private b_ventaabordo As Button"; -_b_ventaabordo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 151;BA.debugLine="Private l_factura As Label"; -_l_factura = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 152;BA.debugLine="Private l_limite As Label"; -_l_limite = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 153;BA.debugLine="Private et_montoacredito As EditText"; -_et_montoacredito = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 154;BA.debugLine="Private b_cancred As Button"; -_b_cancred = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 155;BA.debugLine="Private b_acred As Button"; -_b_acred = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 156;BA.debugLine="Private p_credito As Panel"; -_p_credito = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 157;BA.debugLine="Dim banderaimp As Int = 0"; -_banderaimp = (int) (0); - //BA.debugLineNum = 158;BA.debugLine="Private p_camara As Panel"; -_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 159;BA.debugLine="Private p_cam As Panel"; -_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 162;BA.debugLine="Private b_foto_inci As Button"; -_b_foto_inci = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 163;BA.debugLine="Private camEx As CameraExClass"; -_camex = new adm.keymon.com.mx.cameraexclass(); - //BA.debugLineNum = 164;BA.debugLine="Private frontCamera As Boolean = False"; -_frontcamera = __c.False; - //BA.debugLineNum = 165;BA.debugLine="Dim fototomada As String = \"0\""; -_fototomada = "0"; - //BA.debugLineNum = 166;BA.debugLine="Private p_tipopago As Panel"; -_p_tipopago = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 167;BA.debugLine="Private rb_efectivo As RadioButton"; -_rb_efectivo = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 168;BA.debugLine="Private rb_tranfe As RadioButton"; -_rb_tranfe = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 169;BA.debugLine="Private rb_tarjetadebito As RadioButton"; -_rb_tarjetadebito = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 170;BA.debugLine="Private rb_tarjetacredito As RadioButton"; -_rb_tarjetacredito = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 171;BA.debugLine="Private et_com_tp As EditText"; -_et_com_tp = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 172;BA.debugLine="Private b_cancel_tp As Button"; -_b_cancel_tp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 173;BA.debugLine="Private b_acept_tp As Button"; -_b_acept_tp = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 174;BA.debugLine="Private chb_impreso As CheckBox"; -_chb_impreso = new anywheresoftware.b4a.objects.CompoundButtonWrapper.CheckBoxWrapper(); - //BA.debugLineNum = 175;BA.debugLine="Dim nombrepdf As String"; -_nombrepdf = ""; - //BA.debugLineNum = 176;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _mostrar,String _mostrar1) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 2692;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; - //BA.debugLineNum = 2693;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 2694;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 10)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (10)); - //BA.debugLineNum = 2695;BA.debugLine="p.LoadLayout(\"folioabono\")"; -_p.LoadLayout("folioabono",ba); - //BA.debugLineNum = 2696;BA.debugLine="p.Height= 32dip"; -_p.setHeight(__c.DipToCurrent((int) (32))); - //BA.debugLineNum = 2697;BA.debugLine="p.Width = 80dip"; -_p.setWidth(__c.DipToCurrent((int) (80))); - //BA.debugLineNum = 2699;BA.debugLine="l_folio.Text = mostrar"; -_l_folio.setText(BA.ObjectToCharSequence(_mostrar)); - //BA.debugLineNum = 2700;BA.debugLine="l_saldo.Text = mostrar1"; -_l_saldo.setText(BA.ObjectToCharSequence(_mostrar1)); - //BA.debugLineNum = 2703;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 2704;BA.debugLine="End Sub"; -return null; -} -public String _cuest_preguntacontestada(anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ - //BA.debugLineNum = 2706;BA.debugLine="Sub cuest_preguntaContestada(m As Map)"; - //BA.debugLineNum = 2708;BA.debugLine="Log(m)"; -__c.LogImpl("344433410",BA.ObjectToString(_m),0); - //BA.debugLineNum = 2711;BA.debugLine="m.Get(\"panel\").As(Panel).RemoveView 'Quitamos le"; -((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_m.Get((Object)("panel"))))).RemoveView(); - //BA.debugLineNum = 2712;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 2713;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 2714;BA.debugLine="Starter.skmt.ExecNonQuery($\"delete from CUESTIONA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"' and Q_IDPREGUNTA = '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"'")); - //BA.debugLineNum = 2715;BA.debugLine="Starter.skmt.ExecNonQuery($\"insert into CUESTIONA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("insert into CUESTIONARIO (Q_RUTA, Q_ALMACEN, Q_IDCLIENTE, Q_IDPREGUNTA, Q_PREGUNTA, Q_IDRESPUESTA, Q_RESPUESTA, Q_FECHA) values ('"+__c.SmartStringFormatter("",(Object)(_subs._traeruta /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",(Object)(_subs._traecliente /*String*/ (ba)))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idPregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("pregunta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("idRespuesta")))+"', '"+__c.SmartStringFormatter("",_m.Get((Object)("respuesta")))+"', '"+__c.SmartStringFormatter("",(Object)(__c.DateTime.Date(__c.DateTime.getNow())))+" "+__c.SmartStringFormatter("",(Object)(__c.DateTime.Time(__c.DateTime.getNow())))+"')")); - //BA.debugLineNum = 2716;BA.debugLine="Select Case m.Get(\"idPregunta\")"; -switch (BA.switchObjectToInt(_m.Get((Object)("idPregunta")),(Object)("1"),(Object)("2"),(Object)("3"),(Object)("4"),(Object)("5"),(Object)("6"))) { -case 0: { - //BA.debugLineNum = 2718;BA.debugLine="If m.Get(\"respuesta\") = \"No, está enrejado o no"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("No, está enrejado o no se tiene acceso"))) { - //BA.debugLineNum = 2719;BA.debugLine="Log(\"Tiendajon / Ventana / Kiosko\")"; -__c.LogImpl("344433421","Tiendajon / Ventana / Kiosko",0); - //BA.debugLineNum = 2720;BA.debugLine="ToastMessageShow(\"Tiendajon / Ventana / Kiosko"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Tiendajon / Ventana / Kiosko"),__c.False); - //BA.debugLineNum = 2721;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; -_cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); - }else if((_m.Get((Object)("respuesta"))).equals((Object)("Si se pude acceder"))) { - //BA.debugLineNum = 2723;BA.debugLine="cuest.agregaPregunta(\"2\", \"¿Tiene al menos 2 p"; -_cuest._agregapregunta /*String*/ ("2","¿Tiene al menos 2 pasillos con acceso directo a la mercancía?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si tiene al menos 2 pasillos con acceso directo a la mercancía","No tiene pasillos o solo uno central"})); - }; - break; } -case 1: { - //BA.debugLineNum = 2726;BA.debugLine="If m.Get(\"respuesta\") = \"Si tiene al menos 2 pa"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("Si tiene al menos 2 pasillos con acceso directo a la mercancía"))) { - //BA.debugLineNum = 2727;BA.debugLine="Log(\"Mini-Super\")"; -__c.LogImpl("344433429","Mini-Super",0); - //BA.debugLineNum = 2728;BA.debugLine="ToastMessageShow(\"Mini-Super\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Mini-Super"),__c.False); - //BA.debugLineNum = 2729;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; -_cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); - }else if((_m.Get((Object)("respuesta"))).equals((Object)("No tiene pasillos o solo uno central"))) { - //BA.debugLineNum = 2731;BA.debugLine="cuest.agregaPregunta(\"3\", \"¿Cuenta con enfriad"; -_cuest._agregapregunta /*String*/ ("3","¿Cuenta con enfriador horizontal para venta de perecederos como queso, jamon, crema, etc.?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si","No tiene enfriador horizontal."})); - }; - break; } -case 2: { - //BA.debugLineNum = 2734;BA.debugLine="Log(\"|\"&m.Get(\"respuesta\")&\"|\")"; -__c.LogImpl("344433436","|"+BA.ObjectToString(_m.Get((Object)("respuesta")))+"|",0); - //BA.debugLineNum = 2735;BA.debugLine="If m.Get(\"respuesta\") = \"Si\" Then"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("Si"))) { - //BA.debugLineNum = 2736;BA.debugLine="Log(\"Miscelanea\")"; -__c.LogImpl("344433438","Miscelanea",0); - //BA.debugLineNum = 2737;BA.debugLine="ToastMessageShow(\"Miscelanea\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Miscelanea"),__c.False); - //BA.debugLineNum = 2738;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; -_cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); - }else if((_m.Get((Object)("respuesta"))).equals((Object)("No tiene enfriador horizontal."))) { - //BA.debugLineNum = 2740;BA.debugLine="cuest.agregaPregunta(\"4\", \"¿El local esta enfo"; -_cuest._agregapregunta /*String*/ ("4","¿El local esta enfocado a venta especializada?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"No","Si"})); - }; - break; } -case 3: { - //BA.debugLineNum = 2743;BA.debugLine="If m.Get(\"respuesta\") = \"No\" Then"; -if ((_m.Get((Object)("respuesta"))).equals((Object)("No"))) { - //BA.debugLineNum = 2744;BA.debugLine="Log(\"Abarrotera\")"; -__c.LogImpl("344433446","Abarrotera",0); - //BA.debugLineNum = 2745;BA.debugLine="ToastMessageShow(\"Abarrotera\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Abarrotera"),__c.False); - //BA.debugLineNum = 2746;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; -_cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); - }else if((_m.Get((Object)("respuesta"))).equals((Object)("Si"))) { - //BA.debugLineNum = 2748;BA.debugLine="cuest.agregaPregunta(\"5\", \"¿Cual venta especia"; -_cuest._agregapregunta /*String*/ ("5","¿Cual venta especializada?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Carnicería / Pollería","Cremería","Depósito / Vinateria","Dulcería","Farmacia","Fonda / Restaurante / Cafetería","Verdulería"})); - }; - break; } -case 4: { - //BA.debugLineNum = 2751;BA.debugLine="Log(m.Get(\"respuesta\"))"; -__c.LogImpl("344433453",BA.ObjectToString(_m.Get((Object)("respuesta"))),0); - //BA.debugLineNum = 2752;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); - //BA.debugLineNum = 2757;BA.debugLine="cuest.agregaPregunta(\"6\", \"¿Cuenta con caja de"; -_cuest._agregapregunta /*String*/ ("6","¿Cuenta con caja de salida para cobro con sistema de computo?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{"Si, tiene sistema de computo para cobro","No"})); - break; } -case 5: { - //BA.debugLineNum = 2760;BA.debugLine="Log(m.Get(\"respuesta\"))"; -__c.LogImpl("344433462",BA.ObjectToString(_m.Get((Object)("respuesta"))),0); - //BA.debugLineNum = 2761;BA.debugLine="ToastMessageShow(m.Get(\"respuesta\"), False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_m.Get((Object)("respuesta"))),__c.False); - //BA.debugLineNum = 2762;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; -__c.LogImpl("344433464",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0); - //BA.debugLineNum = 2763;BA.debugLine="cuest.encuestaIniciada = False"; -_cuest._encuestainiciada /*boolean*/ = __c.False; - //BA.debugLineNum = 2764;BA.debugLine="Log(\">>>>>>>>>> \" & cuest.encuestaIniciada)"; -__c.LogImpl("344433466",">>>>>>>>>> "+BA.ObjectToString(_cuest._encuestainiciada /*boolean*/ ),0); - //BA.debugLineNum = 2767;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - break; } -} -; - //BA.debugLineNum = 2770;BA.debugLine="End Sub"; -return ""; -} -public String _datos_click() throws Exception{ - //BA.debugLineNum = 654;BA.debugLine="Sub DATOS_Click"; - //BA.debugLineNum = 655;BA.debugLine="B4XPages.ShowPage(\"telefonos\")"; -_b4xpages._showpage /*String*/ (ba,"telefonos"); - //BA.debugLineNum = 656;BA.debugLine="End Sub"; -return ""; -} -public String _gest_click() throws Exception{ - //BA.debugLineNum = 547;BA.debugLine="Sub gest_Click"; - //BA.debugLineNum = 549;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT * FROM FOTOINI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM FOTOINICIAL"))); - //BA.debugLineNum = 550;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 551;BA.debugLine="p_camara.Visible = True"; -_p_camara.setVisible(__c.True); - //BA.debugLineNum = 552;BA.debugLine="InitializeCamera"; -_initializecamera(); - //BA.debugLineNum = 553;BA.debugLine="Subs.panelVisible(p_camara, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_camara,(int) (0),(int) (0)); - //BA.debugLineNum = 554;BA.debugLine="b_foto_inci.Text = \"Foto tienda\""; -_b_foto_inci.setText(BA.ObjectToCharSequence("Foto tienda")); - }else { - //BA.debugLineNum = 557;BA.debugLine="If la_cuenta.Text = \"0\" Then"; -if ((_la_cuenta.getText()).equals("0")) { - //BA.debugLineNum = 558;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; - }else if((_la_cuenta.getText()).equals("1")) { - //BA.debugLineNum = 560;BA.debugLine="B4XPages.MainPage.tipo_venta = \"RECARGA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "RECARGA"; - }else { - //BA.debugLineNum = 562;BA.debugLine="B4XPages.MainPage.tipo_venta = \"PREVENTA\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "PREVENTA"; - }; - //BA.debugLineNum = 594;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - }; - //BA.debugLineNum = 596;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -anywheresoftware.b4a.gps.LocationWrapper _l1 = null; -anywheresoftware.b4a.gps.LocationWrapper _l2 = null; - //BA.debugLineNum = 504;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 506;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialized"; -if (_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && _tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()!=0) { - //BA.debugLineNum = 507;BA.debugLine="B4XPages.MainPage.lat_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()); - //BA.debugLineNum = 508;BA.debugLine="B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastK"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ = BA.NumberToString(_tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()); - }; - //BA.debugLineNum = 514;BA.debugLine="Dim l1, l2 As Location"; -_l1 = new anywheresoftware.b4a.gps.LocationWrapper(); -_l2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 515;BA.debugLine="l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPage"; -_l1.Initialize2(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ,_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ); - //BA.debugLineNum = 517;BA.debugLine="l2.Initialize2(m_lat, m_lon)"; -_l2.Initialize2(_m_lat,_m_lon); - //BA.debugLineNum = 519;BA.debugLine="BT_QR.Enabled = True"; -_bt_qr.setEnabled(__c.True); - //BA.debugLineNum = 520;BA.debugLine="LA_GPS.TextColor = Colors.Blue"; -_la_gps.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 521;BA.debugLine="LA_GPS.Text = \"CON UBICACION GPS\""; -_la_gps.setText(BA.ObjectToCharSequence("CON UBICACION GPS")); - //BA.debugLineNum = 524;BA.debugLine="distance = l1.DistanceTo(l2) 'the result is i"; -_distance = (long) (_l1.DistanceTo((android.location.Location)(_l2.getObject()))); - //BA.debugLineNum = 526;BA.debugLine="If distance < 100000000000000000000000000000000 T"; -if (_distance<100000000000000000000000000000000d) { - //BA.debugLineNum = 527;BA.debugLine="LA_GEO.TextColor = Colors.Blue"; -_la_geo.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 528;BA.debugLine="Tels.Visible = True"; -_tels.setVisible(__c.True); - //BA.debugLineNum = 529;BA.debugLine="gest.Visible = True"; -_gest.setVisible(__c.True); - //BA.debugLineNum = 530;BA.debugLine="b_ventaabordo.Visible = True"; -_b_ventaabordo.setVisible(__c.True); - }else { - //BA.debugLineNum = 532;BA.debugLine="Tels.Visible = False"; -_tels.setVisible(__c.False); - //BA.debugLineNum = 533;BA.debugLine="gest.Visible = False"; -_gest.setVisible(__c.False); - //BA.debugLineNum = 534;BA.debugLine="b_ventaabordo.Visible = False"; -_b_ventaabordo.setVisible(__c.False); - //BA.debugLineNum = 535;BA.debugLine="LA_GEO.TextColor = Colors.Red"; -_la_geo.setTextColor(__c.Colors.Red); - }; - //BA.debugLineNum = 537;BA.debugLine="LA_GEO.Text= $\"$1.2{distance/1000} kms\"$"; -_la_geo.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.2",(Object)(_distance/(double)1000))+" kms"))); - //BA.debugLineNum = 538;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 539;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 540;BA.debugLine="CallSubDelayed(Tracker, \"CreateLocationRequest\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"CreateLocationRequest"); - //BA.debugLineNum = 541;BA.debugLine="End Sub"; -return ""; -} -public String _guadaventa2() throws Exception{ -int _cbfactura = 0; - //BA.debugLineNum = 826;BA.debugLine="Sub GUADAVENTA2"; - //BA.debugLineNum = 827;BA.debugLine="Log(B4XPages.MainPage.recarga)"; -__c.LogImpl("341811969",_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ,0); - //BA.debugLineNum = 828;BA.debugLine="If B4XPages.MainPage.recarga = \"0\" Then"; -if ((_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("0")) { - //BA.debugLineNum = 829;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 830;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 831;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 832;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 833;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 834;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 835;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 836;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 837;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 838;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 839;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 840;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 841;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 843;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 844;BA.debugLine="Private cbFactura As Int = 0"; -_cbfactura = (int) (0); - //BA.debugLineNum = 845;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; -if (_cb_factura.getChecked()) { -_cbfactura = (int) (1);}; - //BA.debugLineNum = 846;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 847;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 848;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(0),(Object)(_cbfactura)})); - //BA.debugLineNum = 849;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 850;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info2 set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - }; - //BA.debugLineNum = 852;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 853;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 854;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 855;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 857;BA.debugLine="Try"; -try { //BA.debugLineNum = 858;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (su"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); - //BA.debugLineNum = 864;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 865;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 6"; -_stay_hh = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HORAS_TOTALES")))*60*60); - //BA.debugLineNum = 866;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; -_stay_mi = BA.NumberToString((double)(Double.parseDouble(_c.GetString("MINUTOS_TOTALES")))*60); - //BA.debugLineNum = 867;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; -_stay_ss = _c.GetString("SEGUNDOS_TOTALES"); - //BA.debugLineNum = 868;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(_stay_hh))+(double)(Double.parseDouble(_stay_mi))+(double)(Double.parseDouble(_stay_ss)))})); - //BA.debugLineNum = 869;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 870;BA.debugLine="c.Close"; -_c.Close(); - } - catch (Exception e39) { - ba.setLastException(e39); //BA.debugLineNum = 872;BA.debugLine="ToastMessageShow(\".\",True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("."),__c.True); - }; - //BA.debugLineNum = 875;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; -_skmt.ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(_la_cuenta.getText())})); - //BA.debugLineNum = 877;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; -_subs._actualizatet /*String*/ (ba,_la_cuenta.getText()); - //BA.debugLineNum = 878;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 880;BA.debugLine="mandaPendientes 'LO COMENTAMOS PARA PRUEBAS, ACT"; -_mandapendientes(); - //BA.debugLineNum = 881;BA.debugLine="mandapiezas"; -_mandapiezas(); - //BA.debugLineNum = 882;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._reiniciarlistaprods /*boolean*/ = __c.True; - //BA.debugLineNum = 883;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 884;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._promos /*adm.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 885;BA.debugLine="Guardar.Enabled = True"; -_guardar.setEnabled(__c.True); - //BA.debugLineNum = 886;BA.debugLine="gest.Enabled = True"; -_gest.setEnabled(__c.True); - //BA.debugLineNum = 887;BA.debugLine="b_cxc.Enabled = True"; -_b_cxc.setEnabled(__c.True); - //BA.debugLineNum = 888;BA.debugLine="Tar.Enabled = True"; -_tar.setEnabled(__c.True); - //BA.debugLineNum = 889;BA.debugLine="Tels.Enabled = True"; -_tels.setEnabled(__c.True); - //BA.debugLineNum = 890;BA.debugLine="b_ventaabordo.Enabled = True"; -_b_ventaabordo.setEnabled(__c.True); - //BA.debugLineNum = 891;BA.debugLine="HIST.Enabled = True"; -_hist.setEnabled(__c.True); - //BA.debugLineNum = 892;BA.debugLine="banderaimp = 0"; -_banderaimp = (int) (0); - //BA.debugLineNum = 893;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - }else if((_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ ).equals("1")) { - //BA.debugLineNum = 895;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 896;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 897;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 898;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 899;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 900;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 901;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 902;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 903;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 904;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 905;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 906;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 907;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 909;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 910;BA.debugLine="Private cbFactura As Int = 0"; -_cbfactura = (int) (0); - //BA.debugLineNum = 911;BA.debugLine="If cb_factura.Checked Then cbFactura = 1"; -if (_cb_factura.getChecked()) { -_cbfactura = (int) (1);}; - //BA.debugLineNum = 912;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from NOVENTA where NV_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 913;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 914;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO, PC_LON, PC_LAT, PC_ENVIO_OK, PC_FACTURA) VALUES (?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(0),(Object)(_cbfactura)})); - //BA.debugLineNum = 915;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - }; - //BA.debugLineNum = 917;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 918;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 919;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 920;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_OUT = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 940;BA.debugLine="skmt.ExecNonQuery2(\"update PEDIDO_INICIO_FINAL s"; -_skmt.ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(_la_cuenta.getText())})); - //BA.debugLineNum = 942;BA.debugLine="Subs.actualizaTET(la_cuenta.text)"; -_subs._actualizatet /*String*/ (ba,_la_cuenta.getText()); - //BA.debugLineNum = 943;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 947;BA.debugLine="mandaPendientesrecarga"; -_mandapendientesrecarga(); - //BA.debugLineNum = 948;BA.debugLine="mandapiezasrecarga"; -_mandapiezasrecarga(); - //BA.debugLineNum = 949;BA.debugLine="B4XPages.MainPage.productos.reiniciarlistaProds"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._reiniciarlistaprods /*boolean*/ = __c.True; - //BA.debugLineNum = 950;BA.debugLine="B4XPages.MainPage.productos.prodsMap.Initialize"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._prodsmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 951;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._promos /*adm.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 952;BA.debugLine="B4XPages.ShowPage(\"login\")"; -_b4xpages._showpage /*String*/ (ba,"login"); - //BA.debugLineNum = 953;BA.debugLine="B4XPages.MainPage.recarga = \"0\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._recarga /*String*/ = "0"; - }; - //BA.debugLineNum = 955;BA.debugLine="End Sub"; -return ""; -} -public void _guardar_click() throws Exception{ -ResumableSub_Guardar_Click rsub = new ResumableSub_Guardar_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_Guardar_Click extends BA.ResumableSub { -public ResumableSub_Guardar_Click(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -int _resultado = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _limitcred = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _credi2 = 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 = 660;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COU"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA) and PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 661;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 662;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if (true) break; - -case 1: -//if -this.state = 70; -if ((double)(Double.parseDouble(parent._c.GetString("CUANTOS")))>0) { -this.state = 3; -}else if((parent._c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { -this.state = 69; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 663;BA.debugLine="If la_cuenta.Text <> 0 Then"; -if (true) break; - -case 4: -//if -this.state = 67; -if ((parent._la_cuenta.getText()).equals(BA.NumberToString(0)) == false) { -this.state = 6; -}else if((parent._la_cuenta.getText()).equals(BA.NumberToString(0))) { -this.state = 66; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 664;BA.debugLine="Credi = B4XPages.MainPage.skmt.ExecQuery(\"Selec"; -parent._credi = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP) UNION Select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info2 Where CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) and CAT_CL_CODIGO NOT IN (SELECT CLIENTE FROM ABONOSP)"))); - //BA.debugLineNum = 666;BA.debugLine="If Credi.RowCount > 0 Then"; -if (true) break; - -case 7: -//if -this.state = 64; -if (parent._credi.getRowCount()>0) { -this.state = 9; -}else { -this.state = 35; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 667;BA.debugLine="Credi.Position = 0"; -parent._credi.setPosition((int) (0)); - //BA.debugLineNum = 668;BA.debugLine="If Credi.GetString(\"CAT_CL_BCREDITO\") = \"1\" Th"; -if (true) break; - -case 10: -//if -this.state = 33; -if ((parent._credi.GetString("CAT_CL_BCREDITO")).equals("1")) { -this.state = 12; -}else if((parent._credi.GetString("CAT_CL_BCREDITO")).equals("0")) { -this.state = 32; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 672;BA.debugLine="If pre_act <> Starter.pre_viejo Then"; -if (true) break; - -case 13: -//if -this.state = 30; -if (parent._pre_act!=parent._starter._pre_viejo /*float*/ ) { -this.state = 15; -}else if(parent._pre_act==parent._starter._pre_viejo /*float*/ ) { -this.state = 29; -}if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 675;BA.debugLine="Msgbox2Async(\"La venta es a credito?\", \"ATEN"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La venta es a credito?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 676;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 71; -return; -case 71: -//C -this.state = 16; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 677;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 16: -//if -this.state = 27; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 18; -}else { -this.state = 26; -}if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 678;BA.debugLine="p_credito.Visible = True"; -parent._p_credito.setVisible(parent.__c.True); - //BA.debugLineNum = 679;BA.debugLine="Dim limitcred As Cursor"; -_limitcred = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 680;BA.debugLine="limitcred = B4XPages.MainPage.skmt.ExecQuer"; -_limitcred = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 681;BA.debugLine="limitcred.Position = 0"; -_limitcred.setPosition((int) (0)); - //BA.debugLineNum = 682;BA.debugLine="l_limite.Text = \"Limite de credito: $\" & li"; -parent._l_limite.setText(BA.ObjectToCharSequence("Limite de credito: $"+_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - //BA.debugLineNum = 683;BA.debugLine="If Subs.traeTotalClientepreventaparacredito"; -if (true) break; - -case 19: -//if -this.state = 24; -if (parent._subs._traetotalclientepreventaparacredito /*double*/ (ba)>=(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { -this.state = 21; -}else { -this.state = 23; -}if (true) break; - -case 21: -//C -this.state = 24; - //BA.debugLineNum = 684;BA.debugLine="et_montoacredito.Text = limitcred.GetStrin"; -parent._et_montoacredito.setText(BA.ObjectToCharSequence(_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - if (true) break; - -case 23: -//C -this.state = 24; - //BA.debugLineNum = 686;BA.debugLine="et_montoacredito.Text = Subs.traeTotalClie"; -parent._et_montoacredito.setText(BA.ObjectToCharSequence(parent._subs._traetotalclientepreventaparacredito /*double*/ (ba))); - if (true) break; - -case 24: -//C -this.state = 27; -; - //BA.debugLineNum = 688;BA.debugLine="limitcred.Close"; -_limitcred.Close(); - if (true) break; - -case 26: -//C -this.state = 27; - //BA.debugLineNum = 690;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 27: -//C -this.state = 30; -; - if (true) break; - -case 29: -//C -this.state = 30; - //BA.debugLineNum = 694;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 30: -//C -this.state = 33; -; - if (true) break; - -case 32: -//C -this.state = 33; - //BA.debugLineNum = 699;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 33: -//C -this.state = 64; -; - if (true) break; - -case 35: -//C -this.state = 36; - //BA.debugLineNum = 702;BA.debugLine="Private credi2 As Cursor = B4XPages.MainPage.s"; -_credi2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_credi2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_BCREDITO, a_abono, SALDO_PENDIENTE FROM KMT_INFO INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_BCREDITO, a_abono, SALDO_PENDIENTE FROM KMT_INFO2 INNER JOIN ABONOSP ON CAT_CL_CODIGO = CLIENTE INNER JOIN ABONOS ON CAT_CL_CODIGO = a_cliente WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 703;BA.debugLine="If credi2.RowCount > 0 Then"; -if (true) break; - -case 36: -//if -this.state = 63; -if (_credi2.getRowCount()>0) { -this.state = 38; -}if (true) break; - -case 38: -//C -this.state = 39; - //BA.debugLineNum = 704;BA.debugLine="credi2.Position = 0"; -_credi2.setPosition((int) (0)); - //BA.debugLineNum = 705;BA.debugLine="If credi2.GetString (\"CAT_CL_BCREDITO\") = \"1\""; -if (true) break; - -case 39: -//if -this.state = 62; -if ((_credi2.GetString("CAT_CL_BCREDITO")).equals("1") && (_credi2.GetString("a_abono")).equals(_credi2.GetString("SALDO_PENDIENTE"))) { -this.state = 41; -}else { -this.state = 61; -}if (true) break; - -case 41: -//C -this.state = 42; - //BA.debugLineNum = 706;BA.debugLine="If pre_act <> Starter.pre_viejo Then"; -if (true) break; - -case 42: -//if -this.state = 59; -if (parent._pre_act!=parent._starter._pre_viejo /*float*/ ) { -this.state = 44; -}else if(parent._pre_act==parent._starter._pre_viejo /*float*/ ) { -this.state = 58; -}if (true) break; - -case 44: -//C -this.state = 45; - //BA.debugLineNum = 708;BA.debugLine="Msgbox2Async(\"La venta es a credito?\", \"ATE"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("La venta es a credito?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 709;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 72; -return; -case 72: -//C -this.state = 45; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 710;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 45: -//if -this.state = 56; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 47; -}else { -this.state = 55; -}if (true) break; - -case 47: -//C -this.state = 48; - //BA.debugLineNum = 711;BA.debugLine="p_credito.Visible = True"; -parent._p_credito.setVisible(parent.__c.True); - //BA.debugLineNum = 712;BA.debugLine="Dim limitcred As Cursor"; -_limitcred = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 713;BA.debugLine="limitcred = B4XPages.MainPage.skmt.ExecQue"; -_limitcred = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_LIMITECREDITO FROM kmt_info WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA) UNION SELECT CAT_CL_LIMITECREDITO FROM kmt_info2 WHERE CAT_CL_CODIGO IN (SELECT CUENTA FROM CUENTAA)"))); - //BA.debugLineNum = 714;BA.debugLine="limitcred.Position = 0"; -_limitcred.setPosition((int) (0)); - //BA.debugLineNum = 715;BA.debugLine="l_limite.Text = \"Limite de credito: $\" & l"; -parent._l_limite.setText(BA.ObjectToCharSequence("Limite de credito: $"+_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - //BA.debugLineNum = 716;BA.debugLine="If Subs.traeTotalClientepreventaparacredit"; -if (true) break; - -case 48: -//if -this.state = 53; -if (parent._subs._traetotalclientepreventaparacredito /*double*/ (ba)>=(double)(Double.parseDouble(_limitcred.GetString("CAT_CL_LIMITECREDITO")))) { -this.state = 50; -}else { -this.state = 52; -}if (true) break; - -case 50: -//C -this.state = 53; - //BA.debugLineNum = 717;BA.debugLine="et_montoacredito.Text = limitcred.GetStri"; -parent._et_montoacredito.setText(BA.ObjectToCharSequence(_limitcred.GetString("CAT_CL_LIMITECREDITO"))); - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 719;BA.debugLine="et_montoacredito.Text = Subs.traeTotalCli"; -parent._et_montoacredito.setText(BA.ObjectToCharSequence(parent._subs._traetotalclientepreventaparacredito /*double*/ (ba))); - if (true) break; - -case 53: -//C -this.state = 56; -; - //BA.debugLineNum = 721;BA.debugLine="limitcred.Close"; -_limitcred.Close(); - if (true) break; - -case 55: -//C -this.state = 56; - //BA.debugLineNum = 723;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 56: -//C -this.state = 59; -; - if (true) break; - -case 58: -//C -this.state = 59; - //BA.debugLineNum = 727;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 59: -//C -this.state = 62; -; - if (true) break; - -case 61: -//C -this.state = 62; - //BA.debugLineNum = 730;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 62: -//C -this.state = 63; -; - if (true) break; - -case 63: -//C -this.state = 64; -; - if (true) break; - -case 64: -//C -this.state = 67; -; - if (true) break; - -case 66: -//C -this.state = 67; - //BA.debugLineNum = 736;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 67: -//C -this.state = 70; -; - if (true) break; - -case 69: -//C -this.state = 70; - //BA.debugLineNum = 739;BA.debugLine="GuardaVenta"; -parent._guardaventa(); - if (true) break; - -case 70: -//C -this.state = -1; -; - //BA.debugLineNum = 742;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _guardaventa() throws Exception{ - //BA.debugLineNum = 804;BA.debugLine="Sub GuardaVenta"; - //BA.debugLineNum = 805;BA.debugLine="If pre_act <> Starter.pre_viejo Then"; -if (_pre_act!=_starter._pre_viejo /*float*/ ) { - //BA.debugLineNum = 806;BA.debugLine="p_tipopago.Visible = True"; -_p_tipopago.setVisible(__c.True); - //BA.debugLineNum = 807;BA.debugLine="rb_efectivo.Checked = False"; -_rb_efectivo.setChecked(__c.False); - //BA.debugLineNum = 808;BA.debugLine="rb_tranfe.Checked = False"; -_rb_tranfe.setChecked(__c.False); - //BA.debugLineNum = 809;BA.debugLine="rb_tarjetadebito.Checked = False"; -_rb_tarjetadebito.setChecked(__c.False); - //BA.debugLineNum = 810;BA.debugLine="rb_tarjetacredito.Checked = False"; -_rb_tarjetacredito.setChecked(__c.False); - //BA.debugLineNum = 811;BA.debugLine="et_com_tp.Text = \"\""; -_et_com_tp.setText(BA.ObjectToCharSequence("")); - }else if(_pre_act==_starter._pre_viejo /*float*/ ) { - //BA.debugLineNum = 822;BA.debugLine="GUADAVENTA2"; -_guadaventa2(); - }; - //BA.debugLineNum = 824;BA.debugLine="End Sub"; -return ""; -} -public String _hist_click() throws Exception{ - //BA.debugLineNum = 961;BA.debugLine="Sub HIST_Click"; - //BA.debugLineNum = 962;BA.debugLine="B4XPages.ShowPage(\"Historico\")"; -_b4xpages._showpage /*String*/ (ba,"Historico"); - //BA.debugLineNum = 963;BA.debugLine="End Sub"; -return ""; -} -public void _imprime_preventa() throws Exception{ -ResumableSub_imprime_preventa rsub = new ResumableSub_imprime_preventa(this); -rsub.resume(ba, null); -} -public static class ResumableSub_imprime_preventa extends BA.ResumableSub { -public ResumableSub_imprime_preventa(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -int _cont = 0; -int _i = 0; -int _e = 0; -int _resultado = 0; -int step56; -int limit56; -int step89; -int limit89; -int step113; -int limit113; -int step144; -int limit144; - -@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 = 1052;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1053;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1054;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 1055;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1056;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1057;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1058;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1064;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 1065;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 1066;BA.debugLine="If Not(Printer1.IsConnected) Then"; -if (true) break; - -case 1: -//if -this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 3; -}else { -this.state = 21; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 1067;BA.debugLine="Log(\"Conectando a impresora ...\")"; -parent.__c.LogImpl("342532880","Conectando a impresora ...",0); - //BA.debugLineNum = 1068;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 1069;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1070;BA.debugLine="Do While Not(impresoraConectada)"; -if (true) break; - -case 4: -//do while -this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { -this.state = 6; -if (true) break; -} -if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 1071;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 131; -return; -case 131: -//C -this.state = 7; -; - //BA.debugLineNum = 1072;BA.debugLine="Log(\"++++++ \" & cont)"; -parent.__c.LogImpl("342532885","++++++ "+BA.NumberToString(_cont),0); - //BA.debugLineNum = 1073;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 1074;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; -if (true) break; - -case 7: -//if -this.state = 12; -if (_cont==2) { -this.state = 9; -;}if (true) break; - -case 9: -//C -this.state = 12; -parent._printer1._connect /*boolean*/ (); -if (true) break; - -case 12: -//C -this.state = 13; -; - //BA.debugLineNum = 1075;BA.debugLine="If cont > 3 Then impresoraConectada = True"; -if (true) break; - -case 13: -//if -this.state = 18; -if (_cont>3) { -this.state = 15; -;}if (true) break; - -case 15: -//C -this.state = 18; -parent._impresoraconectada = parent.__c.True; -if (true) break; - -case 18: -//C -this.state = 4; -; - if (true) break; - -case 19: -//C -this.state = 38; -; - //BA.debugLineNum = 1077;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 132; -return; -case 132: -//C -this.state = 38; -; - //BA.debugLineNum = 1078;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 1080;BA.debugLine="Log(\"conectando 2\")"; -parent.__c.LogImpl("342532893","conectando 2",0); - //BA.debugLineNum = 1081;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 1082;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1083;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; -if (true) break; - -case 22: -//do while -this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 24; -if (true) break; -} -if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 1084;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 133; -return; -case 133: -//C -this.state = 25; -; - //BA.debugLineNum = 1085;BA.debugLine="Log(\"****** \" & cont)"; -parent.__c.LogImpl("342532898","****** "+BA.NumberToString(_cont),0); - //BA.debugLineNum = 1086;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 1087;BA.debugLine="If cont = 2 Then Printer1.Connect"; -if (true) break; - -case 25: -//if -this.state = 30; -if (_cont==2) { -this.state = 27; -;}if (true) break; - -case 27: -//C -this.state = 30; -parent._printer1._connect /*boolean*/ (); -if (true) break; - -case 30: -//C -this.state = 31; -; - //BA.debugLineNum = 1088;BA.debugLine="If cont > 3 Then impresoraConectada = True"; -if (true) break; - -case 31: -//if -this.state = 36; -if (_cont>3) { -this.state = 33; -;}if (true) break; - -case 33: -//C -this.state = 36; -parent._impresoraconectada = parent.__c.True; -if (true) break; - -case 36: -//C -this.state = 22; -; - if (true) break; - -case 37: -//C -this.state = 38; -; - //BA.debugLineNum = 1090;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 134; -return; -case 134: -//C -this.state = 38; -; - //BA.debugLineNum = 1091;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 38: -//C -this.state = 39; -; - //BA.debugLineNum = 1094;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1095;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1096;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 1113;BA.debugLine="Printer1.WriteString(\"ADM Distribuciones\" & CRLF"; -parent._printer1._writestring /*String*/ ("ADM Distribuciones"+parent.__c.CRLF); - //BA.debugLineNum = 1115;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; -parent._printer1._writestring /*String*/ (parent._sdate+parent.__c.CRLF); - //BA.debugLineNum = 1116;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; -parent._printer1._writestring /*String*/ (parent._stime+parent.__c.CRLF); - //BA.debugLineNum = 1117;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+parent.__c.CRLF); - //BA.debugLineNum = 1118;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1119;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1120;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1121;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1125;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1126;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1127;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 39: -//if -this.state = 124; -if (parent._c.getRowCount()>0) { -this.state = 41; -}if (true) break; - -case 41: -//C -this.state = 42; - //BA.debugLineNum = 1128;BA.debugLine="Printer1.WriteString(\"-----------PREVENTA-------"; -parent._printer1._writestring /*String*/ ("-----------PREVENTA-----------"+parent.__c.CRLF); - //BA.debugLineNum = 1131;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; -parent._printer1._writestring /*String*/ ("Cant. Precio Importe"+parent.__c.CRLF); - //BA.debugLineNum = 1133;BA.debugLine="Printer1.WriteString(\"--------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1135;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1136;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 42: -//if -this.state = 82; -if (parent._s.getRowCount()>0) { -this.state = 44; -}if (true) break; - -case 44: -//C -this.state = 45; - //BA.debugLineNum = 1137;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 45: -//for -this.state = 81; -step56 = 1; -limit56 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 135; -if (true) break; - -case 135: -//C -this.state = 81; -if ((step56 > 0 && _i <= limit56) || (step56 < 0 && _i >= limit56)) this.state = 47; -if (true) break; - -case 136: -//C -this.state = 135; -_i = ((int)(0 + _i + step56)) ; -if (true) break; - -case 47: -//C -this.state = 48; - //BA.debugLineNum = 1138;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 1139;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if (true) break; - -case 48: -//if -this.state = 80; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 50; -}else { -this.state = 52; -}if (true) break; - -case 50: -//C -this.state = 80; - //BA.debugLineNum = 1140;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 1144;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - //BA.debugLineNum = 1145;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -parent.__c.LogImpl("342532958",BA.NumberToString(parent._s.GetLong("L_CANT")),parent.__c.Colors.Magenta); - //BA.debugLineNum = 1146;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -parent.__c.LogImpl("342532959",BA.NumberToString(parent._s.GetLong("L_COSTOU")),parent.__c.Colors.Magenta); - //BA.debugLineNum = 1147;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -parent.__c.LogImpl("342532960",BA.NumberToString(parent._s.GetLong("L_COSTO_TOT")),parent.__c.Colors.Magenta); - //BA.debugLineNum = 1148;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 1150;BA.debugLine="If s.GetLong(\"L_COSTOU\") = 1 Then"; -if (true) break; - -case 53: -//if -this.state = 64; -if (parent._s.GetLong("L_COSTOU")==1) { -this.state = 55; -}else if(parent._s.GetLong("L_COSTOU")==2) { -this.state = 57; -}else if(parent._s.GetLong("L_COSTOU")==3) { -this.state = 59; -}else if(parent._s.GetLong("L_COSTOU")==4) { -this.state = 61; -}else { -this.state = 63; -}if (true) break; - -case 55: -//C -this.state = 64; - //BA.debugLineNum = 1151;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 4"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+4); - if (true) break; - -case 57: -//C -this.state = 64; - //BA.debugLineNum = 1153;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 59: -//C -this.state = 64; - //BA.debugLineNum = 1155;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 2"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+2); - if (true) break; - -case 61: -//C -this.state = 64; - //BA.debugLineNum = 1157;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 1"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+1); - if (true) break; - -case 63: -//C -this.state = 64; - //BA.debugLineNum = 1159;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - if (true) break; -; - //BA.debugLineNum = 1186;BA.debugLine="If s.GetLong(\"L_COSTO_TOT\") = 1 Then"; - -case 64: -//if -this.state = 75; -if (parent._s.GetLong("L_COSTO_TOT")==1) { -this.state = 66; -}else if(parent._s.GetLong("L_COSTO_TOT")==2) { -this.state = 68; -}else if(parent._s.GetLong("L_COSTO_TOT")==3) { -this.state = 70; -}else if(parent._s.GetLong("L_COSTO_TOT")==4) { -this.state = 72; -}else { -this.state = 74; -}if (true) break; - -case 66: -//C -this.state = 75; - //BA.debugLineNum = 1187;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+4); - if (true) break; - -case 68: -//C -this.state = 75; - //BA.debugLineNum = 1189;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 70: -//C -this.state = 75; - //BA.debugLineNum = 1191;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+2); - if (true) break; - -case 72: -//C -this.state = 75; - //BA.debugLineNum = 1193;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+1); - if (true) break; - -case 74: -//C -this.state = 75; - //BA.debugLineNum = 1195;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - if (true) break; - -case 75: -//C -this.state = 76; -; - //BA.debugLineNum = 1198;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 1200;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 76: -//for -this.state = 79; -step89 = 1; -limit89 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 137; -if (true) break; - -case 137: -//C -this.state = 79; -if ((step89 > 0 && _e <= limit89) || (step89 < 0 && _e >= limit89)) this.state = 78; -if (true) break; - -case 138: -//C -this.state = 137; -_e = ((int)(0 + _e + step89)) ; -if (true) break; - -case 78: -//C -this.state = 138; - //BA.debugLineNum = 1201;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 79: -//C -this.state = 80; -; - //BA.debugLineNum = 1203;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1204;BA.debugLine="Printer1.WriteString( s.GETSTRING(\"PE_CANT\")&"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+parent._blanco); - //BA.debugLineNum = 1205;BA.debugLine="Printer1.Justify = 1"; -parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 1206;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTOU\")"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTOU")+parent._blanco); - //BA.debugLineNum = 1207;BA.debugLine="Printer1.Justify = 2"; -parent._printer1._setjustify((int) (2)); - //BA.debugLineNum = 1208;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTO_TO"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTO_TOT")+parent.__c.CRLF); - //BA.debugLineNum = 1209;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1210;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1211;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 1212;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - if (true) break; - -case 80: -//C -this.state = 136; -; - if (true) break; -if (true) break; - -case 81: -//C -this.state = 82; -; - if (true) break; - -case 82: -//C -this.state = 83; -; - //BA.debugLineNum = 1216;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1217;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1218;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1219;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1220;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 83: -//if -this.state = 123; -if (parent._s.getRowCount()>0) { -this.state = 85; -}if (true) break; - -case 85: -//C -this.state = 86; - //BA.debugLineNum = 1221;BA.debugLine="Printer1.WriteString(\"-------PROMOS PREVENTA---"; -parent._printer1._writestring /*String*/ ("-------PROMOS PREVENTA--------"+parent.__c.CRLF); - //BA.debugLineNum = 1222;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; -parent._printer1._writestring /*String*/ ("Cant. Precio Importe"+parent.__c.CRLF); - //BA.debugLineNum = 1223;BA.debugLine="Printer1.WriteString(\"-------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1224;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 86: -//for -this.state = 122; -step113 = 1; -limit113 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 139; -if (true) break; - -case 139: -//C -this.state = 122; -if ((step113 > 0 && _i <= limit113) || (step113 < 0 && _i >= limit113)) this.state = 88; -if (true) break; - -case 140: -//C -this.state = 139; -_i = ((int)(0 + _i + step113)) ; -if (true) break; - -case 88: -//C -this.state = 89; - //BA.debugLineNum = 1225;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 1226;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if (true) break; - -case 89: -//if -this.state = 121; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 91; -}else { -this.state = 93; -}if (true) break; - -case 91: -//C -this.state = 121; - //BA.debugLineNum = 1227;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - if (true) break; - -case 93: -//C -this.state = 94; - //BA.debugLineNum = 1230;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1231;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - //BA.debugLineNum = 1232;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 1233;BA.debugLine="If s.GetLong(\"L_COSTOU\") = 1 Then"; -if (true) break; - -case 94: -//if -this.state = 105; -if (parent._s.GetLong("L_COSTOU")==1) { -this.state = 96; -}else if(parent._s.GetLong("L_COSTOU")==2) { -this.state = 98; -}else if(parent._s.GetLong("L_COSTOU")==3) { -this.state = 100; -}else if(parent._s.GetLong("L_COSTOU")==4) { -this.state = 102; -}else { -this.state = 104; -}if (true) break; - -case 96: -//C -this.state = 105; - //BA.debugLineNum = 1234;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 98: -//C -this.state = 105; - //BA.debugLineNum = 1236;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 100: -//C -this.state = 105; - //BA.debugLineNum = 1238;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 2"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+2); - if (true) break; - -case 102: -//C -this.state = 105; - //BA.debugLineNum = 1240;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 1"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+1); - if (true) break; - -case 104: -//C -this.state = 105; - //BA.debugLineNum = 1242;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - if (true) break; -; - //BA.debugLineNum = 1245;BA.debugLine="If s.GetLong(\"L_COSTO_TOT\") = 1 Then"; - -case 105: -//if -this.state = 116; -if (parent._s.GetLong("L_COSTO_TOT")==1) { -this.state = 107; -}else if(parent._s.GetLong("L_COSTO_TOT")==2) { -this.state = 109; -}else if(parent._s.GetLong("L_COSTO_TOT")==3) { -this.state = 111; -}else if(parent._s.GetLong("L_COSTO_TOT")==4) { -this.state = 113; -}else { -this.state = 115; -}if (true) break; - -case 107: -//C -this.state = 116; - //BA.debugLineNum = 1246;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 109: -//C -this.state = 116; - //BA.debugLineNum = 1248;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 111: -//C -this.state = 116; - //BA.debugLineNum = 1250;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+2); - if (true) break; - -case 113: -//C -this.state = 116; - //BA.debugLineNum = 1252;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+1); - if (true) break; - -case 115: -//C -this.state = 116; - //BA.debugLineNum = 1254;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - if (true) break; - -case 116: -//C -this.state = 117; -; - //BA.debugLineNum = 1257;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 1259;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 117: -//for -this.state = 120; -step144 = 1; -limit144 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 141; -if (true) break; - -case 141: -//C -this.state = 120; -if ((step144 > 0 && _e <= limit144) || (step144 < 0 && _e >= limit144)) this.state = 119; -if (true) break; - -case 142: -//C -this.state = 141; -_e = ((int)(0 + _e + step144)) ; -if (true) break; - -case 119: -//C -this.state = 142; - //BA.debugLineNum = 1260;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 120: -//C -this.state = 121; -; - //BA.debugLineNum = 1263;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1264;BA.debugLine="Printer1.WriteString( s.GETSTRING(\"PE_CANT\")&"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+parent._blanco); - //BA.debugLineNum = 1265;BA.debugLine="Printer1.Justify = 1"; -parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 1266;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTOU\")"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTOU")+parent._blanco); - //BA.debugLineNum = 1267;BA.debugLine="Printer1.Justify = 2"; -parent._printer1._setjustify((int) (2)); - //BA.debugLineNum = 1268;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTO_TO"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTO_TOT")+parent.__c.CRLF); - //BA.debugLineNum = 1269;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1270;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1271;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 1272;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - if (true) break; - -case 121: -//C -this.state = 140; -; - if (true) break; -if (true) break; - -case 122: -//C -this.state = 123; -; - //BA.debugLineNum = 1275;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - if (true) break; - -case 123: -//C -this.state = 124; -; - //BA.debugLineNum = 1277;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1278;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1279;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1280;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1284;BA.debugLine="Printer1.WriteString(\"Total preventa: $\" & s.G"; -parent._printer1._writestring /*String*/ ("Total preventa: $"+parent._s.GetString("TOTAL")+parent.__c.CRLF); - //BA.debugLineNum = 1285;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1286;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1287;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1288;BA.debugLine="Printer1.WriteString(\"Total articulos preventa:"; -parent._printer1._writestring /*String*/ ("Total articulos preventa: "+parent._c.GetString("PC_NOART")+parent.__c.CRLF); - //BA.debugLineNum = 1289;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 124: -//C -this.state = 125; -; - //BA.debugLineNum = 1310;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1311;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1314;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; -parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+parent.__c.CRLF); - //BA.debugLineNum = 1315;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; -parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+parent.__c.CRLF); - //BA.debugLineNum = 1316;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; -parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+parent.__c.CRLF); - //BA.debugLineNum = 1317;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1318;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1319;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1320;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1321;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 143; -return; -case 143: -//C -this.state = 125; -; - //BA.debugLineNum = 1322;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 1324;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 1327;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket?"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 1328;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 144; -return; -case 144: -//C -this.state = 125; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 1329;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 125: -//if -this.state = 130; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 127; -}else { -this.state = 129; -}if (true) break; - -case 127: -//C -this.state = 130; - //BA.debugLineNum = 1330;BA.debugLine="B_IMP_Click"; -parent._b_imp_click(); - if (true) break; - -case 129: -//C -this.state = 130; - //BA.debugLineNum = 1332;BA.debugLine="GUADAVENTA2"; -parent._guadaventa2(); - if (true) break; - -case 130: -//C -this.state = -1; -; - //BA.debugLineNum = 1337;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _imprime_venta() throws Exception{ -ResumableSub_imprime_venta rsub = new ResumableSub_imprime_venta(this); -rsub.resume(ba, null); -} -public static class ResumableSub_imprime_venta extends BA.ResumableSub { -public ResumableSub_imprime_venta(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -int _cont = 0; -int _i = 0; -int _e = 0; -int _resultado = 0; -int step56; -int limit56; -int step86; -int limit86; -int step109; -int limit109; -int step139; -int limit139; - -@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 = 1780;BA.debugLine="c=skmt.ExecQuery(\"select USUARIO from usuarioa\")"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1781;BA.debugLine="c.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1782;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -parent._usuario = parent._c.GetString("USUARIO"); - //BA.debugLineNum = 1783;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -parent.__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1784;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -parent._sdate = parent.__c.DateTime.Date(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1785;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -parent._stime = parent.__c.DateTime.Time(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 1786;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 1792;BA.debugLine="ProgressDialogShow(\"Imprimiendo, un momento ...\")"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Imprimiendo, un momento ...")); - //BA.debugLineNum = 1793;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 1794;BA.debugLine="If Not(Printer1.IsConnected) Then"; -if (true) break; - -case 1: -//if -this.state = 38; -if (parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 3; -}else { -this.state = 21; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 1795;BA.debugLine="Log(\"Conectando a impresora ...\")"; -parent.__c.LogImpl("342860560","Conectando a impresora ...",0); - //BA.debugLineNum = 1796;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 1797;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1798;BA.debugLine="Do While Not(impresoraConectada)"; -if (true) break; - -case 4: -//do while -this.state = 19; -while (parent.__c.Not(parent._impresoraconectada)) { -this.state = 6; -if (true) break; -} -if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 1799;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 135; -return; -case 135: -//C -this.state = 7; -; - //BA.debugLineNum = 1800;BA.debugLine="Log(\"++++++ \" & cont)"; -parent.__c.LogImpl("342860565","++++++ "+BA.NumberToString(_cont),0); - //BA.debugLineNum = 1801;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 1802;BA.debugLine="If cont = 2 Then Printer1.Connect 'Tratamos de"; -if (true) break; - -case 7: -//if -this.state = 12; -if (_cont==2) { -this.state = 9; -;}if (true) break; - -case 9: -//C -this.state = 12; -parent._printer1._connect /*boolean*/ (); -if (true) break; - -case 12: -//C -this.state = 13; -; - //BA.debugLineNum = 1803;BA.debugLine="If cont > 3 Then impresoraConectada = True"; -if (true) break; - -case 13: -//if -this.state = 18; -if (_cont>3) { -this.state = 15; -;}if (true) break; - -case 15: -//C -this.state = 18; -parent._impresoraconectada = parent.__c.True; -if (true) break; - -case 18: -//C -this.state = 4; -; - if (true) break; - -case 19: -//C -this.state = 38; -; - //BA.debugLineNum = 1805;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 136; -return; -case 136: -//C -this.state = 38; -; - //BA.debugLineNum = 1806;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 1808;BA.debugLine="Log(\"conectando 2\")"; -parent.__c.LogImpl("342860573","conectando 2",0); - //BA.debugLineNum = 1809;BA.debugLine="Printer1.Connect"; -parent._printer1._connect /*boolean*/ (); - //BA.debugLineNum = 1810;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1811;BA.debugLine="Do While Not(impresoraConectada) Or Not(Printer1"; -if (true) break; - -case 22: -//do while -this.state = 37; -while (parent.__c.Not(parent._impresoraconectada) || parent.__c.Not(parent._printer1._isconnected /*boolean*/ ())) { -this.state = 24; -if (true) break; -} -if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 1812;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 137; -return; -case 137: -//C -this.state = 25; -; - //BA.debugLineNum = 1813;BA.debugLine="Log(\"****** \" & cont)"; -parent.__c.LogImpl("342860578","****** "+BA.NumberToString(_cont),0); - //BA.debugLineNum = 1814;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 1815;BA.debugLine="If cont = 2 Then Printer1.Connect"; -if (true) break; - -case 25: -//if -this.state = 30; -if (_cont==2) { -this.state = 27; -;}if (true) break; - -case 27: -//C -this.state = 30; -parent._printer1._connect /*boolean*/ (); -if (true) break; - -case 30: -//C -this.state = 31; -; - //BA.debugLineNum = 1816;BA.debugLine="If cont > 3 Then impresoraConectada = True"; -if (true) break; - -case 31: -//if -this.state = 36; -if (_cont>3) { -this.state = 33; -;}if (true) break; - -case 33: -//C -this.state = 36; -parent._impresoraconectada = parent.__c.True; -if (true) break; - -case 36: -//C -this.state = 22; -; - if (true) break; - -case 37: -//C -this.state = 38; -; - //BA.debugLineNum = 1818;BA.debugLine="Sleep(500)"; -parent.__c.Sleep(ba,this,(int) (500)); -this.state = 138; -return; -case 138: -//C -this.state = 38; -; - //BA.debugLineNum = 1819;BA.debugLine="impresoraConectada = False"; -parent._impresoraconectada = parent.__c.False; - if (true) break; - -case 38: -//C -this.state = 39; -; - //BA.debugLineNum = 1822;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1823;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1824;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - //BA.debugLineNum = 1841;BA.debugLine="Printer1.WriteString(\"ADM Distribuciones\" & CRLF"; -parent._printer1._writestring /*String*/ ("ADM Distribuciones"+parent.__c.CRLF); - //BA.debugLineNum = 1843;BA.debugLine="Printer1.WriteString(sDate & CRLF)"; -parent._printer1._writestring /*String*/ (parent._sdate+parent.__c.CRLF); - //BA.debugLineNum = 1844;BA.debugLine="Printer1.WriteString(sTime & CRLF)"; -parent._printer1._writestring /*String*/ (parent._stime+parent.__c.CRLF); - //BA.debugLineNum = 1845;BA.debugLine="Printer1.WriteString(\"Vendedor:\" & usuario & CRL"; -parent._printer1._writestring /*String*/ ("Vendedor:"+parent._usuario+parent.__c.CRLF); - //BA.debugLineNum = 1846;BA.debugLine="Printer1.WriteString(\"Tienda: \" & La_nombre.Text"; -parent._printer1._writestring /*String*/ ("Tienda: "+parent._la_nombre.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1847;BA.debugLine="Printer1.WriteString(\"ID.Cliente: \" & la_cuenta."; -parent._printer1._writestring /*String*/ ("ID.Cliente: "+parent._la_cuenta.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1848;BA.debugLine="Printer1.WriteString(\"Calle: \" & la_Calle.Text &"; -parent._printer1._writestring /*String*/ ("Calle: "+parent._la_calle.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1849;BA.debugLine="Printer1.WriteString(\"Colonia: \" & la_col.Text &"; -parent._printer1._writestring /*String*/ ("Colonia: "+parent._la_col.getText()+parent.__c.CRLF); - //BA.debugLineNum = 1853;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1854;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"VENTA"}))); - //BA.debugLineNum = 1855;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 39: -//if -this.state = 124; -if (parent._c.getRowCount()>0) { -this.state = 41; -}if (true) break; - -case 41: -//C -this.state = 42; - //BA.debugLineNum = 1856;BA.debugLine="Printer1.WriteString(\"-----------VENTA----------"; -parent._printer1._writestring /*String*/ ("-----------VENTA-----------"+parent.__c.CRLF); - //BA.debugLineNum = 1859;BA.debugLine="Printer1.WriteString(\"Cant. Precio I"; -parent._printer1._writestring /*String*/ ("Cant. Precio Importe"+parent.__c.CRLF); - //BA.debugLineNum = 1861;BA.debugLine="Printer1.WriteString(\"--------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1863;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"VENTA"}))); - //BA.debugLineNum = 1864;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 42: -//if -this.state = 82; -if (parent._s.getRowCount()>0) { -this.state = 44; -}if (true) break; - -case 44: -//C -this.state = 45; - //BA.debugLineNum = 1865;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 45: -//for -this.state = 81; -step56 = 1; -limit56 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 139; -if (true) break; - -case 139: -//C -this.state = 81; -if ((step56 > 0 && _i <= limit56) || (step56 < 0 && _i >= limit56)) this.state = 47; -if (true) break; - -case 140: -//C -this.state = 139; -_i = ((int)(0 + _i + step56)) ; -if (true) break; - -case 47: -//C -this.state = 48; - //BA.debugLineNum = 1866;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 1867;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if (true) break; - -case 48: -//if -this.state = 80; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 50; -}else { -this.state = 52; -}if (true) break; - -case 50: -//C -this.state = 80; - //BA.debugLineNum = 1868;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 1872;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - //BA.debugLineNum = 1873;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 1874;BA.debugLine="If s.GetLong(\"L_COSTOU\") = 1 Then"; -if (true) break; - -case 53: -//if -this.state = 64; -if (parent._s.GetLong("L_COSTOU")==1) { -this.state = 55; -}else if(parent._s.GetLong("L_COSTOU")==2) { -this.state = 57; -}else if(parent._s.GetLong("L_COSTOU")==3) { -this.state = 59; -}else if(parent._s.GetLong("L_COSTOU")==4) { -this.state = 61; -}else { -this.state = 63; -}if (true) break; - -case 55: -//C -this.state = 64; - //BA.debugLineNum = 1875;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 4"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+4); - if (true) break; - -case 57: -//C -this.state = 64; - //BA.debugLineNum = 1877;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 59: -//C -this.state = 64; - //BA.debugLineNum = 1879;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 2"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+2); - if (true) break; - -case 61: -//C -this.state = 64; - //BA.debugLineNum = 1881;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 1"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+1); - if (true) break; - -case 63: -//C -this.state = 64; - //BA.debugLineNum = 1883;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - if (true) break; -; - //BA.debugLineNum = 1886;BA.debugLine="If s.GetLong(\"L_COSTO_TOT\") = 1 Then"; - -case 64: -//if -this.state = 75; -if (parent._s.GetLong("L_COSTO_TOT")==1) { -this.state = 66; -}else if(parent._s.GetLong("L_COSTO_TOT")==2) { -this.state = 68; -}else if(parent._s.GetLong("L_COSTO_TOT")==3) { -this.state = 70; -}else if(parent._s.GetLong("L_COSTO_TOT")==4) { -this.state = 72; -}else { -this.state = 74; -}if (true) break; - -case 66: -//C -this.state = 75; - //BA.debugLineNum = 1887;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+4); - if (true) break; - -case 68: -//C -this.state = 75; - //BA.debugLineNum = 1889;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 70: -//C -this.state = 75; - //BA.debugLineNum = 1891;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+2); - if (true) break; - -case 72: -//C -this.state = 75; - //BA.debugLineNum = 1893;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+1); - if (true) break; - -case 74: -//C -this.state = 75; - //BA.debugLineNum = 1895;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - if (true) break; - -case 75: -//C -this.state = 76; -; - //BA.debugLineNum = 1898;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 1900;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 76: -//for -this.state = 79; -step86 = 1; -limit86 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 141; -if (true) break; - -case 141: -//C -this.state = 79; -if ((step86 > 0 && _e <= limit86) || (step86 < 0 && _e >= limit86)) this.state = 78; -if (true) break; - -case 142: -//C -this.state = 141; -_e = ((int)(0 + _e + step86)) ; -if (true) break; - -case 78: -//C -this.state = 142; - //BA.debugLineNum = 1901;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 79: -//C -this.state = 80; -; - //BA.debugLineNum = 1903;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1904;BA.debugLine="Printer1.WriteString( s.GETSTRING(\"PE_CANT\")&"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+parent._blanco); - //BA.debugLineNum = 1905;BA.debugLine="Printer1.Justify = 1"; -parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 1906;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTOU\")"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTOU")+parent._blanco); - //BA.debugLineNum = 1907;BA.debugLine="Printer1.Justify = 2"; -parent._printer1._setjustify((int) (2)); - //BA.debugLineNum = 1908;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTO_TO"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTO_TOT")+parent.__c.CRLF); - //BA.debugLineNum = 1909;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1910;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1911;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 80: -//C -this.state = 140; -; - if (true) break; -if (true) break; - -case 81: -//C -this.state = 82; -; - if (true) break; - -case 82: -//C -this.state = 83; -; - //BA.debugLineNum = 1915;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1916;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1917;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 1918;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"VENTA"}))); - //BA.debugLineNum = 1919;BA.debugLine="If S.RowCount>0 Then"; -if (true) break; - -case 83: -//if -this.state = 123; -if (parent._s.getRowCount()>0) { -this.state = 85; -}if (true) break; - -case 85: -//C -this.state = 86; - //BA.debugLineNum = 1920;BA.debugLine="Printer1.WriteString(\"-------PROMOS VENTA------"; -parent._printer1._writestring /*String*/ ("-------PROMOS VENTA--------"+parent.__c.CRLF); - //BA.debugLineNum = 1921;BA.debugLine="Printer1.WriteString(\"Cant. Precio"; -parent._printer1._writestring /*String*/ ("Cant. Precio Importe"+parent.__c.CRLF); - //BA.debugLineNum = 1922;BA.debugLine="Printer1.WriteString(\"-------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 1923;BA.debugLine="For i=0 To S.RowCount -1"; -if (true) break; - -case 86: -//for -this.state = 122; -step109 = 1; -limit109 = (int) (parent._s.getRowCount()-1); -_i = (int) (0) ; -this.state = 143; -if (true) break; - -case 143: -//C -this.state = 122; -if ((step109 > 0 && _i <= limit109) || (step109 < 0 && _i >= limit109)) this.state = 88; -if (true) break; - -case 144: -//C -this.state = 143; -_i = ((int)(0 + _i + step109)) ; -if (true) break; - -case 88: -//C -this.state = 89; - //BA.debugLineNum = 1924;BA.debugLine="S.Position=i"; -parent._s.setPosition(_i); - //BA.debugLineNum = 1925;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if (true) break; - -case 89: -//if -this.state = 121; -if ((parent._s.GetString("PE_CEDIS")).equals(parent._s.GetString("PE_PROID"))) { -this.state = 91; -}else { -this.state = 93; -}if (true) break; - -case 91: -//C -this.state = 121; - //BA.debugLineNum = 1926;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - if (true) break; - -case 93: -//C -this.state = 94; - //BA.debugLineNum = 1930;BA.debugLine="Printer1.WriteString(s.GetString(\"PE_PRONOMBR"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_PRONOMBRE")+parent.__c.CRLF); - //BA.debugLineNum = 1931;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_CANT")+parent._tamano); - //BA.debugLineNum = 1932;BA.debugLine="If s.GetLong(\"L_COSTOU\") = 1 Then"; -if (true) break; - -case 94: -//if -this.state = 105; -if (parent._s.GetLong("L_COSTOU")==1) { -this.state = 96; -}else if(parent._s.GetLong("L_COSTOU")==2) { -this.state = 98; -}else if(parent._s.GetLong("L_COSTOU")==3) { -this.state = 100; -}else if(parent._s.GetLong("L_COSTOU")==4) { -this.state = 102; -}else { -this.state = 104; -}if (true) break; - -case 96: -//C -this.state = 105; - //BA.debugLineNum = 1933;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 98: -//C -this.state = 105; - //BA.debugLineNum = 1935;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 3"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+3); - if (true) break; - -case 100: -//C -this.state = 105; - //BA.debugLineNum = 1937;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 2"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+2); - if (true) break; - -case 102: -//C -this.state = 105; - //BA.debugLineNum = 1939;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO + 1"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano+1); - if (true) break; - -case 104: -//C -this.state = 105; - //BA.debugLineNum = 1941;BA.debugLine="TAMANO = s.GetLong(\"L_COSTOU\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTOU")+parent._tamano); - if (true) break; -; - //BA.debugLineNum = 1944;BA.debugLine="If s.GetLong(\"L_COSTO_TOT\") = 1 Then"; - -case 105: -//if -this.state = 116; -if (parent._s.GetLong("L_COSTO_TOT")==1) { -this.state = 107; -}else if(parent._s.GetLong("L_COSTO_TOT")==2) { -this.state = 109; -}else if(parent._s.GetLong("L_COSTO_TOT")==3) { -this.state = 111; -}else if(parent._s.GetLong("L_COSTO_TOT")==4) { -this.state = 113; -}else { -this.state = 115; -}if (true) break; - -case 107: -//C -this.state = 116; - //BA.debugLineNum = 1945;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 109: -//C -this.state = 116; - //BA.debugLineNum = 1947;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+3); - if (true) break; - -case 111: -//C -this.state = 116; - //BA.debugLineNum = 1949;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+2); - if (true) break; - -case 113: -//C -this.state = 116; - //BA.debugLineNum = 1951;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO +"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano+1); - if (true) break; - -case 115: -//C -this.state = 116; - //BA.debugLineNum = 1953;BA.debugLine="TAMANO = s.GetLong(\"L_COSTO_TOT\") + TAMANO"; -parent._tamano = (int) (parent._s.GetLong("L_COSTO_TOT")+parent._tamano); - if (true) break; - -case 116: -//C -this.state = 117; -; - //BA.debugLineNum = 1956;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -parent._espacio = (int) (parent._espacio-parent._tamano); - //BA.debugLineNum = 1958;BA.debugLine="For E=0 To ESPACIO -1"; -if (true) break; - -case 117: -//for -this.state = 120; -step139 = 1; -limit139 = (int) (parent._espacio-1); -_e = (int) (0) ; -this.state = 145; -if (true) break; - -case 145: -//C -this.state = 120; -if ((step139 > 0 && _e <= limit139) || (step139 < 0 && _e >= limit139)) this.state = 119; -if (true) break; - -case 146: -//C -this.state = 145; -_e = ((int)(0 + _e + step139)) ; -if (true) break; - -case 119: -//C -this.state = 146; - //BA.debugLineNum = 1959;BA.debugLine="BLANCO = \" \" & BLANCO"; -parent._blanco = " "+parent._blanco; - if (true) break; -if (true) break; - -case 120: -//C -this.state = 121; -; - //BA.debugLineNum = 1962;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1963;BA.debugLine="Printer1.WriteString( s.GETSTRING(\"PE_CANT\")&"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_CANT")+parent._blanco); - //BA.debugLineNum = 1964;BA.debugLine="Printer1.Justify = 1"; -parent._printer1._setjustify((int) (1)); - //BA.debugLineNum = 1965;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTOU\")"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTOU")+parent._blanco); - //BA.debugLineNum = 1966;BA.debugLine="Printer1.Justify = 2"; -parent._printer1._setjustify((int) (2)); - //BA.debugLineNum = 1967;BA.debugLine="Printer1.WriteString(s.GETSTRING(\"PE_COSTO_TO"; -parent._printer1._writestring /*String*/ (parent._s.GetString("PE_COSTO_TOT")+parent.__c.CRLF); - //BA.debugLineNum = 1968;BA.debugLine="TAMANO = 0"; -parent._tamano = (int) (0); - //BA.debugLineNum = 1969;BA.debugLine="ESPACIO = 22"; -parent._espacio = (int) (22); - //BA.debugLineNum = 1970;BA.debugLine="BLANCO = \" \""; -parent._blanco = " "; - if (true) break; - -case 121: -//C -this.state = 144; -; - if (true) break; -if (true) break; - -case 122: -//C -this.state = 123; -; - //BA.debugLineNum = 1973;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - if (true) break; - -case 123: -//C -this.state = 124; -; - //BA.debugLineNum = 1975;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1976;BA.debugLine="Printer1.Justify = 0"; -parent._printer1._setjustify((int) (0)); - //BA.debugLineNum = 1977;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"VENTA"}))); - //BA.debugLineNum = 1978;BA.debugLine="s.Position =0"; -parent._s.setPosition((int) (0)); - //BA.debugLineNum = 1982;BA.debugLine="Printer1.WriteString(\"Total venta: $\" & s.GetS"; -parent._printer1._writestring /*String*/ ("Total venta: $"+parent._s.GetString("TOTAL")+parent.__c.CRLF); - //BA.debugLineNum = 1983;BA.debugLine="s.Close"; -parent._s.Close(); - //BA.debugLineNum = 1984;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"VENTA"}))); - //BA.debugLineNum = 1985;BA.debugLine="C.Position=0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 1986;BA.debugLine="Printer1.WriteString(\"Total articulos venta: \""; -parent._printer1._writestring /*String*/ ("Total articulos venta: "+parent._c.GetString("PC_NOART")+parent.__c.CRLF); - //BA.debugLineNum = 1987;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 124: -//C -this.state = 125; -; - //BA.debugLineNum = 2008;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 2009;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 2012;BA.debugLine="Printer1.WriteString(\"----ESTE TICKET NO ES UN --"; -parent._printer1._writestring /*String*/ ("----ESTE TICKET NO ES UN -----"+parent.__c.CRLF); - //BA.debugLineNum = 2013;BA.debugLine="Printer1.WriteString(\"--COMPROBANTE FISCAL, SOLO"; -parent._printer1._writestring /*String*/ ("--COMPROBANTE FISCAL, SOLO ES-"+parent.__c.CRLF); - //BA.debugLineNum = 2014;BA.debugLine="Printer1.WriteString(\"--------INFORMATIVO--------"; -parent._printer1._writestring /*String*/ ("--------INFORMATIVO-----------"+parent.__c.CRLF); - //BA.debugLineNum = 2015;BA.debugLine="Printer1.WriteString(\"---------------------------"; -parent._printer1._writestring /*String*/ ("------------------------------"+parent.__c.CRLF); - //BA.debugLineNum = 2016;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 2017;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 2018;BA.debugLine="Printer1.WriteString(\" \" & CRLF)"; -parent._printer1._writestring /*String*/ (" "+parent.__c.CRLF); - //BA.debugLineNum = 2019;BA.debugLine="Sleep(1000)"; -parent.__c.Sleep(ba,this,(int) (1000)); -this.state = 147; -return; -case 147: -//C -this.state = 125; -; - //BA.debugLineNum = 2020;BA.debugLine="Printer1.DisConnect"; -parent._printer1._disconnect /*String*/ (); - //BA.debugLineNum = 2022;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 2024;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -parent._s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 2025;BA.debugLine="If s.RowCount = 0 Then"; -if (true) break; - -case 125: -//if -this.state = 134; -if (parent._s.getRowCount()==0) { -this.state = 127; -}if (true) break; - -case 127: -//C -this.state = 128; - //BA.debugLineNum = 2026;BA.debugLine="Msgbox2Async(\"Deseas imprimir de nuevo el ticket"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("Deseas imprimir de nuevo el ticket?"),BA.ObjectToCharSequence("ATENCION"),"SI","","NO",parent.__c.LoadBitmap(parent.__c.File.getDirAssets(),"alert2.png"),ba,parent.__c.False); - //BA.debugLineNum = 2027;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 148; -return; -case 148: -//C -this.state = 128; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 2028;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 128: -//if -this.state = 133; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 130; -}else { -this.state = 132; -}if (true) break; - -case 130: -//C -this.state = 133; - //BA.debugLineNum = 2029;BA.debugLine="B_IMP_Click"; -parent._b_imp_click(); - if (true) break; - -case 132: -//C -this.state = 133; - //BA.debugLineNum = 2031;BA.debugLine="GUADAVENTA2"; -parent._guadaventa2(); - if (true) break; - -case 133: -//C -this.state = 134; -; - if (true) break; - -case 134: -//C -this.state = -1; -; - //BA.debugLineNum = 2037;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 179;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 180;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 181;BA.debugLine="End Sub"; -return null; -} -public void _initializecamera() throws Exception{ -ResumableSub_InitializeCamera rsub = new ResumableSub_InitializeCamera(this); -rsub.resume(ba, null); -} -public static class ResumableSub_InitializeCamera extends BA.ResumableSub { -public ResumableSub_InitializeCamera(adm.keymon.com.mx.c_cliente parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_cliente parent; -String _permission = ""; -boolean _resulta = false; - -@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 = 2831;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_CAMERA); - //BA.debugLineNum = 2832;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 7; -return; -case 7: -//C -this.state = 1; -_permission = (String) result[0]; -_resulta = (Boolean) result[1]; -; - //BA.debugLineNum = 2833;BA.debugLine="If resulta Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_resulta) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 2834;BA.debugLine="camEx.Initialize(p_cam, frontCamera, Me, \"Camera"; -parent._camex._initialize /*String*/ (ba,parent._p_cam,parent._frontcamera,parent,"Camera1"); - //BA.debugLineNum = 2835;BA.debugLine="frontCamera = camEx.Front"; -parent._frontcamera = parent._camex._front /*boolean*/ ; - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 2837;BA.debugLine="ToastMessageShow(\"No permission!!!\", True)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("No permission!!!"),parent.__c.True); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 2839;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _jobdone(adm.keymon.com.mx.httpjob _job) throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; -String _cliente = ""; -Object[] _records = null; -String[] _pars = null; -int _piezasexiste = 0; -String _pcnoarts = ""; -String _pcmonto = ""; -String _k = ""; -String _idpreg = ""; -String _idresp = ""; - //BA.debugLineNum = 2416;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 2418;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - }else { - //BA.debugLineNum = 2421;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("343974661","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 2422;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2423;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2424;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_pedido"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_pedidosPendientes_head_")>-1) { - //BA.debugLineNum = 2425;BA.debugLine="Subs.logJobDoneResultados(resultado)"; -_subs._logjobdoneresultados /*String*/ (ba,_resultado); - //BA.debugLineNum = 2426;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 2427;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+24)); - //BA.debugLineNum = 2429;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group10 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen10 = group10.getSize() -;int index10 = 0; -; -for (; index10 < groupLen10;index10++){ -_records = (Object[])(group10.Get(index10)); - //BA.debugLineNum = 2430;BA.debugLine="If records(resultado.Columns.Get(\"AffectedRow"; -if (((int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("AffectedRows"))))])))==1) { - //BA.debugLineNum = 2432;BA.debugLine="Private pars() As String = Regex.Split(\"_\","; -_pars = __c.Regex.Split("_",BA.ObjectToString(_resultado.Tag /*Object*/ )); - //BA.debugLineNum = 2433;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO_CLIENTE set PC_ENVIO_OK = 1 where PC_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+"'")); - }; - } -}; - }; - }; - //BA.debugLineNum = 2443;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2444;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2445;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; -if ((_resultado.Tag /*Object*/ ).equals((Object)("piezas"))) { - //BA.debugLineNum = 2447;BA.debugLine="Dim piezasexiste As Int"; -_piezasexiste = 0; - //BA.debugLineNum = 2449;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group22 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen22 = group22.getSize() -;int index22 = 0; -; -for (; index22 < groupLen22;index22++){ -_records = (Object[])(group22.Get(index22)); - //BA.debugLineNum = 2451;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; -_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); - //BA.debugLineNum = 2452;BA.debugLine="Log(piezasexiste)"; -__c.LogImpl("343974692",BA.NumberToString(_piezasexiste),0); - //BA.debugLineNum = 2453;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2454;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 2455;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2456;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2457;BA.debugLine="If piezasexiste = 0 Then"; -if (_piezasexiste==0) { - //BA.debugLineNum = 2459;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2460;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2461;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{_la_cuenta.getText()}))); - //BA.debugLineNum = 2463;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2464;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2465;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2466;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - }; - //BA.debugLineNum = 2469;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2470;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2471;BA.debugLine="cmd.Name = \"insert_HVC_ADM\""; -_cmd.Name /*String*/ = "insert_HVC_ADM"; - //BA.debugLineNum = 2472;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)((_sdate+" "+_stime)),(Object)(_la_cuenta.getText()),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2473;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("insert_hvc")); - }else if(_piezasexiste==1) { - //BA.debugLineNum = 2477;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2478;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2479;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{_la_cuenta.getText()}))); - //BA.debugLineNum = 2481;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2482;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2483;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2484;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - }; - //BA.debugLineNum = 2486;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2487;BA.debugLine="cmd.Name = \"update_HVC_ADM\""; -_cmd.Name /*String*/ = "update_HVC_ADM"; - //BA.debugLineNum = 2488;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)((_sdate+" "+_stime)),(Object)(_la_cuenta.getText()),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(_almacen),(Object)(_la_ruta),(Object)(_la_cuenta.getText()),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2489;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvc")); - }; - } -}; - }; - }; - //BA.debugLineNum = 2498;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2499;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2500;BA.debugLine="If resultado.Tag = \"piezasrecarga\" Then 'query"; -if ((_resultado.Tag /*Object*/ ).equals((Object)("piezasrecarga"))) { - //BA.debugLineNum = 2502;BA.debugLine="Dim piezasexiste As Int"; -_piezasexiste = 0; - //BA.debugLineNum = 2503;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group64 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen64 = group64.getSize() -;int index64 = 0; -; -for (; index64 < groupLen64;index64++){ -_records = (Object[])(group64.Get(index64)); - //BA.debugLineNum = 2504;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; -_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); - //BA.debugLineNum = 2505;BA.debugLine="Log(piezasexiste)"; -__c.LogImpl("343974745",BA.NumberToString(_piezasexiste),0); - //BA.debugLineNum = 2506;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 2507;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 2508;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 2509;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 2510;BA.debugLine="If piezasexiste = 0 Then"; -if (_piezasexiste==0) { - //BA.debugLineNum = 2511;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2512;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2513;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); - //BA.debugLineNum = 2514;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2515;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2516;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2517;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - }; - //BA.debugLineNum = 2519;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2520;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2521;BA.debugLine="cmd.Name = \"insert_HVC_ADM\""; -_cmd.Name /*String*/ = "insert_HVC_ADM"; - //BA.debugLineNum = 2522;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)((_sdate+" "+_stime)),(Object)("0"),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2523;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("insert_hvc")); - }else if(_piezasexiste==1) { - //BA.debugLineNum = 2526;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2527;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2528;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); - //BA.debugLineNum = 2529;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2530;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2531;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2532;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - }; - //BA.debugLineNum = 2534;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2535;BA.debugLine="cmd.Name = \"update_HVC_ADM\""; -_cmd.Name /*String*/ = "update_HVC_ADM"; - //BA.debugLineNum = 2536;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)((_sdate+" "+_stime)),(Object)("0"),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(_almacen),(Object)(_la_ruta),(Object)(_la_cuenta.getText()),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2537;BA.debugLine="reqManager.ExecuteCommand(cmd, \"update_hvc\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_hvc")); - }; - } -}; - }; - }; - //BA.debugLineNum = 2543;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2544;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2545;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_pedido"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_pedidosPendientes_prods_")>-1) { - //BA.debugLineNum = 2546;BA.debugLine="Subs.logJobDoneResultados(resultado)"; -_subs._logjobdoneresultados /*String*/ (ba,_resultado); - //BA.debugLineNum = 2547;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 2548;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+25)); - //BA.debugLineNum = 2549;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; -__c.LogImpl("343974789",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 2550;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group109 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen109 = group109.getSize() -;int index109 = 0; -; -for (; index109 < groupLen109;index109++){ -_records = (Object[])(group109.Get(index109)); - //BA.debugLineNum = 2552;BA.debugLine="Private pars() As String = Regex.Split(\"_\", r"; -_pars = __c.Regex.Split("_",BA.ObjectToString(_resultado.Tag /*Object*/ )); - //BA.debugLineNum = 2553;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update PEDIDO set PE_ENVIO_OK = 1 where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+"' and PE_PROID = '"+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+"' and PE_ENVIO_OK = 0")); - } -}; - }; - }; - //BA.debugLineNum = 2563;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2564;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2565;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"ins_abonos"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("ins_abonosPendientes_")>-1) { - //BA.debugLineNum = 2566;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 2567;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+18)); - //BA.debugLineNum = 2568;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; -__c.LogImpl("343974808",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 2569;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group121 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen121 = group121.getSize() -;int index121 = 0; -; -for (; index121 < groupLen121;index121++){ -_records = (Object[])(group121.Get(index121)); - //BA.debugLineNum = 2570;BA.debugLine="For Each k As String In resultado.Columns.Key"; -{ -final anywheresoftware.b4a.BA.IterableList group122 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen122 = group122.getSize() -;int index122 = 0; -; -for (; index122 < groupLen122;index122++){ -_k = BA.ObjectToString(group122.Get(index122)); - //BA.debugLineNum = 2571;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("343974811",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - //BA.debugLineNum = 2574;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE A"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE ABONOS set a_enviado = 1 where a_cliente = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); - }; - }; - //BA.debugLineNum = 2579;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2580;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2581;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cli"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_cliente_")>-1) { - //BA.debugLineNum = 2582;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 2583;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_"; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9)); - //BA.debugLineNum = 2584;BA.debugLine="Log($\"Cliente2:${cliente}\"$)"; -__c.LogImpl("343974824",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 2585;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group135 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen135 = group135.getSize() -;int index135 = 0; -; -for (; index135 < groupLen135;index135++){ -_records = (Object[])(group135.Get(index135)); - //BA.debugLineNum = 2586;BA.debugLine="For Each k As String In resultado.Columns.Key"; -{ -final anywheresoftware.b4a.BA.IterableList group136 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen136 = group136.getSize() -;int index136 = 0; -; -for (; index136 < groupLen136;index136++){ -_k = BA.ObjectToString(group136.Get(index136)); - //BA.debugLineNum = 2587;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("343974827",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - //BA.debugLineNum = 2590;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CLIENTE_NUEVO set CN_enviado = 1 where CN_ID_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); - }; - }; - //BA.debugLineNum = 2595;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 2596;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2597;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_cue"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_cuestionario_")>-1) { - //BA.debugLineNum = 2598;BA.debugLine="Private pars() As String = Regex.Split(\"_\", re"; -_pars = __c.Regex.Split("_",(BA.ObjectToString(_resultado.Tag /*Object*/ ))); - //BA.debugLineNum = 2599;BA.debugLine="Log($\"${resultado.tag}|${pars(0)}\"$)"; -__c.LogImpl("343974839",(""+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+"|"+__c.SmartStringFormatter("",(Object)(_pars[(int) (0)]))+""),0); - //BA.debugLineNum = 2600;BA.debugLine="Log($\"${pars(1)}\"$)"; -__c.LogImpl("343974840",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (1)]))+""),0); - //BA.debugLineNum = 2601;BA.debugLine="Log($\"${pars(2)}\"$)"; -__c.LogImpl("343974841",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (2)]))+""),0); - //BA.debugLineNum = 2602;BA.debugLine="Log($\"${pars(3)}\"$)"; -__c.LogImpl("343974842",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (3)]))+""),0); - //BA.debugLineNum = 2603;BA.debugLine="Log($\"${pars(4)}\"$)"; -__c.LogImpl("343974843",(""+__c.SmartStringFormatter("",(Object)(_pars[(int) (4)]))+""),0); - //BA.debugLineNum = 2604;BA.debugLine="Private cliente As String = pars(2)"; -_cliente = _pars[(int) (2)]; - //BA.debugLineNum = 2605;BA.debugLine="Private idPreg As String = pars(3)"; -_idpreg = _pars[(int) (3)]; - //BA.debugLineNum = 2606;BA.debugLine="Private idResp As String = pars(4)"; -_idresp = _pars[(int) (4)]; - //BA.debugLineNum = 2607;BA.debugLine="Log($\"Cliente2:${cliente}, preg:${idPreg}, res"; -__c.LogImpl("343974847",("Cliente2:"+__c.SmartStringFormatter("",(Object)(_cliente))+", preg:"+__c.SmartStringFormatter("",(Object)(_idpreg))+", res:"+__c.SmartStringFormatter("",(Object)(_idresp))+""),0); - //BA.debugLineNum = 2608;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group156 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen156 = group156.getSize() -;int index156 = 0; -; -for (; index156 < groupLen156;index156++){ -_records = (Object[])(group156.Get(index156)); - //BA.debugLineNum = 2609;BA.debugLine="For Each k As String In resultado.Columns.Key"; -{ -final anywheresoftware.b4a.BA.IterableList group157 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen157 = group157.getSize() -;int index157 = 0; -; -for (; index157 < groupLen157;index157++){ -_k = BA.ObjectToString(group157.Get(index157)); - //BA.debugLineNum = 2610;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("343974850",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - //BA.debugLineNum = 2613;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"UPDATE C"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("UPDATE CUESTIONARIO set Q_ENVIO_OK = 1 where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"' and Q_IDPREGUNTA='"+__c.SmartStringFormatter("",(Object)(_idpreg))+"' and Q_IDRESPUESTA='"+__c.SmartStringFormatter("",(Object)(_idresp))+"'")); - }; - }; - //BA.debugLineNum = 2617;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 2620;BA.debugLine="End Sub"; -return ""; -} -public String _label20_longclick() throws Exception{ -adm.keymon.com.mx.cpdf _pdf = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; -double _pagina = 0; -int _multiplicador = 0; -int _i = 0; -int _e = 0; - //BA.debugLineNum = 1339;BA.debugLine="Private Sub Label20_LongClick"; - //BA.debugLineNum = 1340;BA.debugLine="xui.SetDataFolder(\"B4Xpdf\")"; -_xui.SetDataFolder("B4Xpdf"); - //BA.debugLineNum = 1341;BA.debugLine="File.Copy(File.DirAssets,\"intmex_logo_192x192.jpg"; -__c.File.Copy(__c.File.getDirAssets(),"intmex_logo_192x192.jpg",_xui.getDefaultFolder(),"intmex_logo_192x192.jpg"); - //BA.debugLineNum = 1342;BA.debugLine="File.Copy(File.DirAssets,\"mariana1.jpg\",xui.Defau"; -__c.File.Copy(__c.File.getDirAssets(),"mariana1.jpg",_xui.getDefaultFolder(),"mariana1.jpg"); - //BA.debugLineNum = 1343;BA.debugLine="File.Copy(File.DirAssets,\"guna-fondo.jpg\",xui.Def"; -__c.File.Copy(__c.File.getDirAssets(),"guna-fondo.jpg",_xui.getDefaultFolder(),"guna-fondo.jpg"); - //BA.debugLineNum = 1344;BA.debugLine="ESPACIO = 0"; -_espacio = (int) (0); - //BA.debugLineNum = 1345;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1346;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1347;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1348;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1349;BA.debugLine="Dim PDF As cPDF"; -_pdf = new adm.keymon.com.mx.cpdf(); - //BA.debugLineNum = 1351;BA.debugLine="PDF.Initialize(\"mm\")"; -_pdf._initialize /*adm.keymon.com.mx.cpdf*/ (ba,"mm"); - //BA.debugLineNum = 1354;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; -_pdf._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); - //BA.debugLineNum = 1358;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; -_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1359;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; -_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1362;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; -_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2)+2)*(6))+22; - //BA.debugLineNum = 1363;BA.debugLine="Dim multiplicador As Int = 0"; -_multiplicador = (int) (0); - //BA.debugLineNum = 1365;BA.debugLine="PDF.pageAdd(-300,pagina)"; -_pdf._pageadd /*adm.keymon.com.mx.cpdf*/ (-300,_pagina); - //BA.debugLineNum = 1367;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1369;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"mariana1.jpg\",1,p"; -_pdf._outimage /*adm.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"mariana1.jpg",1,_pagina-55,70,0); - //BA.debugLineNum = 1370;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1371;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ADM Distrib"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ADM Distribuciones"); - //BA.debugLineNum = 1373;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1374;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime); - //BA.debugLineNum = 1376;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1377;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); - //BA.debugLineNum = 1379;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1380;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText()); - //BA.debugLineNum = 1382;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1383;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText()); - //BA.debugLineNum = 1385;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1386;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText()); - //BA.debugLineNum = 1388;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1389;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText()); - //BA.debugLineNum = 1391;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1392;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1394;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1395;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1397;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1398;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1400;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1401;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1402;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1403;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); - //BA.debugLineNum = 1404;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1405;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 1406;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1407;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1408;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step48 = 1; -final int limit48 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit48 ;_i = _i + step48 ) { - //BA.debugLineNum = 1409;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 1410;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 1411;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1412;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 1415;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1416;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1417;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 1418;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("342598479",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 1419;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -__c.LogImpl("342598480",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 1420;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -__c.LogImpl("342598481",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 1422;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 1423;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 1424;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 1425;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 1426;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 1427;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step65 = 1; -final int limit65 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit65 ;_e = _e + step65 ) { - //BA.debugLineNum = 1428;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 1430;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1431;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1432;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - //BA.debugLineNum = 1437;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1438;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,108-9*6," "); - //BA.debugLineNum = 1439;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1440;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1441;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1442;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); - //BA.debugLineNum = 1443;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1444;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 1445;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1446;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1447;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step84 = 1; -final int limit84 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit84 ;_i = _i + step84 ) { - //BA.debugLineNum = 1448;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 1449;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 1451;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1452;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 1456;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1457;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1458;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 1459;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("342598520",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 1460;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -__c.LogImpl("342598521",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 1461;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -__c.LogImpl("342598522",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 1463;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 1464;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 1465;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 1466;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 1467;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 1468;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step101 = 1; -final int limit101 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit101 ;_e = _e + step101 ) { - //BA.debugLineNum = 1469;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 1471;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1472;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1473;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - //BA.debugLineNum = 1478;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1480;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1481;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1482;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1483;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1485;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1486;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 1487;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1488;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total preventa: $"+_s.GetString("TOTAL")); - //BA.debugLineNum = 1489;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1490;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1491;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1492;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1493;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART")); - //BA.debugLineNum = 1494;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1497;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1498;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1499;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1500;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); - //BA.debugLineNum = 1501;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1502;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); - //BA.debugLineNum = 1503;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1504;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); - //BA.debugLineNum = 1505;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1506;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1507;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1508;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1509;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1510;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1512;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; -__c.DateTime.setDateFormat("ddmmyyyy"); - //BA.debugLineNum = 1513;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 1514;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1515;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1517;BA.debugLine="savePDF(PDF,sDate&sTime&\".pdf\",PDF.CompressAlways"; -_savepdf(_pdf,_sdate+_stime+".pdf",_pdf._compressalways /*int*/ ); - //BA.debugLineNum = 1520;BA.debugLine="openPDF(sDate&sTime&\".pdf\")"; -_openpdf(_sdate+_stime+".pdf"); - //BA.debugLineNum = 1521;BA.debugLine="End Sub"; -return ""; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 543;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 545;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientes() throws Exception{ -String _pcnoarts = ""; -String _pcmonto = ""; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ab = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _bb = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cb = null; - //BA.debugLineNum = 2226;BA.debugLine="Sub mandaPendientes"; - //BA.debugLineNum = 2228;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; -__c.LogImpl("343712514",">>>>>>> MANDA PENDIENTES",0); - //BA.debugLineNum = 2229;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2230;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2231;BA.debugLine="If usuario <> \"KMTS1\" Then"; -if ((_usuario).equals("KMTS1") == false) { - //BA.debugLineNum = 2232;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0"))); - //BA.debugLineNum = 2233;BA.debugLine="Log($\"Pedido_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("343712519",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 2234;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2235;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step8 = 1; -final int limit8 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 2236;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2237;BA.debugLine="Log($\"${c.GetString(\"PC_CLIENTE\")}|${c.GetStri"; -__c.LogImpl("343712523",(""+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_FECHA")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_ENVIO_OK")))+"|"),0); - //BA.debugLineNum = 2238;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2239;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2240;BA.debugLine="cmd.Name = \"insert_pedidos_ADM\""; -_cmd.Name /*String*/ = "insert_pedidos_ADM"; - //BA.debugLineNum = 2241;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._principal /*adm.keymon.com.mx.c_principal*/ ._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))}; - //BA.debugLineNum = 2242;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2243;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - //BA.debugLineNum = 2245;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 2250;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery(("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS, PE_TIPOPAGO, PE_COMENTARIO FROM PEDIDO where PE_ENVIO_OK <> 1")))); - //BA.debugLineNum = 2251;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("343712537",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 2252;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2253;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step23 = 1; -final int limit23 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit23 ;_i = _i + step23 ) { - //BA.debugLineNum = 2254;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2255;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2256;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2257;BA.debugLine="cmd.Name = \"insert_pedido2_ADM\""; -_cmd.Name /*String*/ = "insert_pedido2_ADM"; - //BA.debugLineNum = 2258;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO")),(Object)(_c.GetString("PE_CANTC")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("PE_TIPOPAGO")),(Object)(_c.GetString("PE_COMENTARIO"))}; - //BA.debugLineNum = 2259;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+""))); - //BA.debugLineNum = 2260;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; -__c.LogImpl("343712546",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(_almacen))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0); - } -}; - }; - //BA.debugLineNum = 2267;BA.debugLine="Dim ab As Cursor = B4XPages.MainPage.skmt.ExecQu"; -_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from ABONOS where a_enviado is null")))); - //BA.debugLineNum = 2268;BA.debugLine="Log(ab.RowCount)"; -__c.LogImpl("343712554",BA.NumberToString(_ab.getRowCount()),0); - //BA.debugLineNum = 2269;BA.debugLine="If ab.RowCount > 0 Then"; -if (_ab.getRowCount()>0) { - //BA.debugLineNum = 2270;BA.debugLine="For i=0 To ab.RowCount -1"; -{ -final int step36 = 1; -final int limit36 = (int) (_ab.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit36 ;_i = _i + step36 ) { - //BA.debugLineNum = 2271;BA.debugLine="ab.Position = i"; -_ab.setPosition(_i); - //BA.debugLineNum = 2272;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2273;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2274;BA.debugLine="cmd.Name = \"insert_abono_ADM\""; -_cmd.Name /*String*/ = "insert_abono_ADM"; - //BA.debugLineNum = 2275;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha")),(Object)(_almacen)}; - //BA.debugLineNum = 2276;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); - //BA.debugLineNum = 2277;BA.debugLine="Log($\"ins_abonosPendientes_${ab.GetString(\"a_c"; -__c.LogImpl("343712563",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0); - } -}; - }; - //BA.debugLineNum = 2280;BA.debugLine="ab.Close"; -_ab.Close(); - //BA.debugLineNum = 2283;BA.debugLine="Dim bb As Cursor = B4XPages.MainPage.skmt.ExecQu"; -_bb = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_bb = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT * from CLIENTE_NUEVO where CN_enviado is null")))); - //BA.debugLineNum = 2284;BA.debugLine="Dim cb As Cursor = B4XPages.MainPage.skmt.ExecQu"; -_cb = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cb = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 2285;BA.debugLine="cb.Position = 0"; -_cb.setPosition((int) (0)); - //BA.debugLineNum = 2286;BA.debugLine="If bb.RowCount > 0 Then"; -if (_bb.getRowCount()>0) { - //BA.debugLineNum = 2287;BA.debugLine="For i=0 To bb.RowCount -1"; -{ -final int step51 = 1; -final int limit51 = (int) (_bb.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 2288;BA.debugLine="bb.Position = i"; -_bb.setPosition(_i); - //BA.debugLineNum = 2289;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2290;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2291;BA.debugLine="cmd.Name = \"insert_cliente_ADM\""; -_cmd.Name /*String*/ = "insert_cliente_ADM"; - //BA.debugLineNum = 2292;BA.debugLine="cmd.Parameters = Array As Object( bb.GetString"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_bb.GetString("CN_ID_CLIENTE")),(Object)(_bb.GetString("CN_NOMBRE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._principal /*adm.keymon.com.mx.c_principal*/ ._l_ruta /*anywheresoftware.b4a.objects.LabelWrapper*/ .getText()),(Object)(_cb.GetString("ID_ALMACEN"))}; - //BA.debugLineNum = 2293;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_clien"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("insert_cliente_"+__c.SmartStringFormatter("",(Object)(_bb.GetString("CN_ID_CLIENTE")))+""))); - //BA.debugLineNum = 2294;BA.debugLine="Log($\"insert_cliente_${bb.GetString(\"CN_ID_CLI"; -__c.LogImpl("343712580",("insert_cliente_"+__c.SmartStringFormatter("",(Object)(_bb.GetString("CN_ID_CLIENTE")))+""),0); - } -}; - //BA.debugLineNum = 2296;BA.debugLine="Log(\"si lo hice\")"; -__c.LogImpl("343712582","si lo hice",0); - }; - //BA.debugLineNum = 2298;BA.debugLine="bb.Close"; -_bb.Close(); - //BA.debugLineNum = 2299;BA.debugLine="cb.Close"; -_cb.Close(); - }; - //BA.debugLineNum = 2334;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientesrecarga() throws Exception{ -String _pcnoarts = ""; -String _pcmonto = ""; -int _i = 0; - //BA.debugLineNum = 2336;BA.debugLine="Sub mandaPendientesrecarga"; - //BA.debugLineNum = 2338;BA.debugLine="Log(\">>>>>>> MANDA PENDIENTES\")"; -__c.LogImpl("343778050",">>>>>>> MANDA PENDIENTES",0); - //BA.debugLineNum = 2339;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2340;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2341;BA.debugLine="If usuario <> \"KMTS1\" Then"; -if ((_usuario).equals("KMTS1") == false) { - //BA.debugLineNum = 2342;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 2343;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 2344;BA.debugLine="d = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1"))); - //BA.debugLineNum = 2345;BA.debugLine="c = skmt.ExecQuery(\"SELECT * FROM PEDIDO_CLIENTE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery("SELECT * FROM PEDIDO_CLIENTE where PC_ENVIO_OK = 0 AND PC_CLIENTE = 1"))); - //BA.debugLineNum = 2346;BA.debugLine="Log($\"Pedido_Cliente PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("343778058",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 2347;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2348;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step11 = 1; -final int limit11 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 2349;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 2350;BA.debugLine="Log($\"${c.GetString(\"PC_CLIENTE\")}|${c.GetStri"; -__c.LogImpl("343778062",(""+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_FECHA")))+"|"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_ENVIO_OK")))+"|"),0); - //BA.debugLineNum = 2351;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2352;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2353;BA.debugLine="cmd.Name = \"insert_pedidos_ADM\""; -_cmd.Name /*String*/ = "insert_pedidos_ADM"; - //BA.debugLineNum = 2354;BA.debugLine="cmd.Parameters = Array As Object(\"0\", c.GetStr"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)("0"),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_f.GetString("CAT_CL_RUTA")),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))}; - //BA.debugLineNum = 2355;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 2356;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - //BA.debugLineNum = 2358;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 2361;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 2363;BA.debugLine="c = skmt.ExecQuery($\"SELECT PE_ENVIO_OK, PE_CEDI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery(("SELECT PE_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO where PE_ENVIO_OK <> 1 AND PE_FOLIO = 'RECARGA'")))); - //BA.debugLineNum = 2364;BA.debugLine="Log($\"Pedido PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("343778076",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 2365;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2366;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step27 = 1; -final int limit27 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 2367;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2368;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2369;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2370;BA.debugLine="cmd.Name = \"insert_pedido3_ADM\""; -_cmd.Name /*String*/ = "insert_pedido3_ADM"; - //BA.debugLineNum = 2371;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)("0"),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_c.GetString("PE_RUTA")),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)("ABORDO"),(Object)(_c.GetString("PE_CANTC")),(Object)(_c.GetString("PE_BCAJAS")),(Object)("RECARGA")}; - //BA.debugLineNum = 2372;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+""))); - //BA.debugLineNum = 2373;BA.debugLine="Log($\">>>> INS_PEDIDO= ${C.GetString(\"PE_CEDI"; -__c.LogImpl("343778085",(">>>> INS_PEDIDO= "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CEDIS")))+","+__c.SmartStringFormatter("",(Object)(_almacen))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_TOT")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTOU")))+","+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PRONOMBRE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FECHA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_USUARIO")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_RUTA")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_COSTO_SIN")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_DESC")))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_FOLIO")))+", "+__c.SmartStringFormatter("",(Object)(_pcnoarts))+", "+__c.SmartStringFormatter("",(Object)(_pcmonto))+""),0); - } -}; - }; - }; - //BA.debugLineNum = 2379;BA.debugLine="End Sub"; -return ""; -} -public String _mandapiezas() throws Exception{ -String _pcnoarts = ""; -String _pcmonto = ""; - //BA.debugLineNum = 2398;BA.debugLine="Sub mandapiezas"; - //BA.debugLineNum = 2399;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; -if (_l_total.getText()!= null || (_l_total.getText()).equals("null") == false) { - //BA.debugLineNum = 2400;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2401;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2402;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{_la_cuenta.getText()}))); - //BA.debugLineNum = 2403;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2404;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2405;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; -__c.LogImpl("343909127",_la_cuenta.getText()+", "+_almacen+", "+_la_ruta,0); - //BA.debugLineNum = 2406;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2407;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2408;BA.debugLine="cmd.Name = \"select_piezas_ADM\""; -_cmd.Name /*String*/ = "select_piezas_ADM"; - //BA.debugLineNum = 2409;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_la_cuenta.getText()),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2410;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezas\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("piezas")); - }; - }; - //BA.debugLineNum = 2414;BA.debugLine="End Sub"; -return ""; -} -public String _mandapiezasrecarga() throws Exception{ -String _pcnoarts = ""; -String _pcmonto = ""; - //BA.debugLineNum = 2381;BA.debugLine="Sub mandapiezasrecarga"; - //BA.debugLineNum = 2382;BA.debugLine="If l_total.Text <> Null Or l_total.Text <> \"null"; -if (_l_total.getText()!= null || (_l_total.getText()).equals("null") == false) { - //BA.debugLineNum = 2383;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 2384;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 2385;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO_CLIENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ?",new String[]{"1"}))); - //BA.debugLineNum = 2386;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2387;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2388;BA.debugLine="Log(la_cuenta.Text&\", \"& ALMACEN&\", \"& LA_RUTA)"; -__c.LogImpl("343843591",_la_cuenta.getText()+", "+_almacen+", "+_la_ruta,0); - //BA.debugLineNum = 2389;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2390;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2391;BA.debugLine="cmd.Name = \"select_piezas_ADM\""; -_cmd.Name /*String*/ = "select_piezas_ADM"; - //BA.debugLineNum = 2392;BA.debugLine="cmd.Parameters = Array As Object(la_cuenta.Text"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_la_cuenta.getText()),(Object)(_almacen),(Object)(_la_ruta)}; - //BA.debugLineNum = 2393;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezasrecarga"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("piezasrecarga")); - }; - }; - //BA.debugLineNum = 2396;BA.debugLine="End Sub"; -return ""; -} -public String _mods() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub MODS 'ignore"; - //BA.debugLineNum = 3;BA.debugLine="End Sub"; -return ""; -} -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 957;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 958;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; -_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 959;BA.debugLine="End Sub"; -return ""; -} -public String _openpdf(String _afile) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _in = null; - //BA.debugLineNum = 1761;BA.debugLine="private Sub openPDF(afile As String)"; - //BA.debugLineNum = 1766;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 1767;BA.debugLine="in.Initialize(in.ACTION_VIEW, \"\")"; -_in.Initialize(_in.ACTION_VIEW,""); - //BA.debugLineNum = 1768;BA.debugLine="Starter.ffileProvider.SetFileUriAsIntentData(in,"; -_starter._ffileprovider /*adm.keymon.com.mx.fileprovider*/ ._setfileuriasintentdata /*String*/ (_in,_afile); - //BA.debugLineNum = 1769;BA.debugLine="in.SetComponent(\"android/com.android.internal.app"; -_in.SetComponent("android/com.android.internal.app.ResolverActivity"); - //BA.debugLineNum = 1770;BA.debugLine="in.SetType(\"application/pdf\")"; -_in.SetType("application/pdf"); - //BA.debugLineNum = 1771;BA.debugLine="StartActivity(in)"; -__c.StartActivity(ba,(Object)(_in.getObject())); - //BA.debugLineNum = 1776;BA.debugLine="End Sub"; -return ""; -} -public String _p_abono_click() throws Exception{ - //BA.debugLineNum = 2622;BA.debugLine="Private Sub p_abono_Click"; - //BA.debugLineNum = 2624;BA.debugLine="End Sub"; -return ""; -} -public String _p_camara_click() throws Exception{ - //BA.debugLineNum = 2983;BA.debugLine="Private Sub p_camara_Click"; - //BA.debugLineNum = 2985;BA.debugLine="End Sub"; -return ""; -} -public String _p_cliente_click() throws Exception{ - //BA.debugLineNum = 2217;BA.debugLine="Private Sub p_cliente_Click"; - //BA.debugLineNum = 2219;BA.debugLine="End Sub"; -return ""; -} -public String _p_tipopago_click() throws Exception{ - //BA.debugLineNum = 2987;BA.debugLine="Private Sub p_tipopago_Click"; - //BA.debugLineNum = 2989;BA.debugLine="End Sub"; -return ""; -} -public String _pdfgenerar() throws Exception{ -adm.keymon.com.mx.cpdf _pdf = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s56 = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _s57 = null; -double _pagina = 0; -int _multiplicador = 0; -int _i = 0; -int _e = 0; - //BA.debugLineNum = 1523;BA.debugLine="Private Sub PDFGENERAR"; - //BA.debugLineNum = 1526;BA.debugLine="ESPACIO = 0"; -_espacio = (int) (0); - //BA.debugLineNum = 1527;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1528;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1529;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1530;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1531;BA.debugLine="Dim PDF As cPDF"; -_pdf = new adm.keymon.com.mx.cpdf(); - //BA.debugLineNum = 1533;BA.debugLine="PDF.Initialize(\"mm\")"; -_pdf._initialize /*adm.keymon.com.mx.cpdf*/ (ba,"mm"); - //BA.debugLineNum = 1536;BA.debugLine="PDF.sProperty(PDF.PropertyAuthor,\"Keymonsoft\"). _"; -_pdf._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertyauthor /*String*/ ,"Keymonsoft")._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertytitle /*String*/ ,"Ticket")._sproperty /*adm.keymon.com.mx.cpdf*/ (_pdf._propertykeywords /*String*/ ,"B4X,PDF,Cross platform"); - //BA.debugLineNum = 1542;BA.debugLine="Dim s56 As Cursor=skmt.ExecQuery2(\"select PE_PRON"; -_s56 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s56 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1543;BA.debugLine="Dim s57 As Cursor = skmt.ExecQuery2(\"select PE_PR"; -_s57 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_s57 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1545;BA.debugLine="Dim pagina As Double = ((18 + (s56.RowCount*2) +"; -_pagina = ((18+(_s56.getRowCount()*2)+(_s57.getRowCount()*2))*(6))+18; - //BA.debugLineNum = 1547;BA.debugLine="Dim multiplicador As Int = 0"; -_multiplicador = (int) (0); - //BA.debugLineNum = 1548;BA.debugLine="PDF.pageAdd(-300,pagina)"; -_pdf._pageadd /*adm.keymon.com.mx.cpdf*/ (-300,_pagina); - //BA.debugLineNum = 1551;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBlack)"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1553;BA.debugLine="PDF.outImage(xui.DefaultFolder,\"mariana1.jpg\",1,p"; -_pdf._outimage /*adm.keymon.com.mx.cpdf*/ (_xui.getDefaultFolder(),"mariana1.jpg",1,_pagina-55,70,0); - //BA.debugLineNum = 1554;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1555;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ADM Distrib"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ADM Distribuciones"); - //BA.debugLineNum = 1557;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1558;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,sDate& \" \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_sdate+" "+_stime); - //BA.debugLineNum = 1560;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1561;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Vendedor:\""; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Vendedor:"+_subs._traeusuariodebd /*String*/ (ba)); - //BA.debugLineNum = 1563;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1564;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Tienda: \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Tienda: "+_la_nombre.getText()); - //BA.debugLineNum = 1566;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1567;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"ID.Cliente:"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"ID.Cliente: "+_la_cuenta.getText()); - //BA.debugLineNum = 1569;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1570;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Calle: \" &"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Calle: "+_la_calle.getText()); - //BA.debugLineNum = 1572;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1573;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Colonia: \""; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Colonia: "+_la_col.getText()); - //BA.debugLineNum = 1575;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1576;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1578;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1579;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \")"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1581;BA.debugLine="c = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1582;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1584;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1585;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"------------------------------------PREVENTA-----------------------------------------"); - //BA.debugLineNum = 1586;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1587;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 1588;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1589;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1592;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) < 4 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PROID",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1593;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1594;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step44 = 1; -final int limit44 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit44 ;_i = _i + step44 ) { - //BA.debugLineNum = 1595;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 1596;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 1597;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1598;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 1601;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1602;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1603;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 1604;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("342664017",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 1605;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -__c.LogImpl("342664018",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 1606;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -__c.LogImpl("342664019",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 1608;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 1609;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 1610;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 1611;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 1612;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 1613;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step61 = 1; -final int limit61 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit61 ;_e = _e + step61 ) { - //BA.debugLineNum = 1614;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 1616;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1617;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1618;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - //BA.debugLineNum = 1629;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1630;BA.debugLine="PDF.outtext(1,108-9*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,108-9*6," "); - //BA.debugLineNum = 1631;BA.debugLine="s=skmt.ExecQuery2(\"select PE_PRONOMBRE, PE_CANT,"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select PE_PRONOMBRE, PE_CANT, length(pe_cant) as L_CANT, PE_COSTOU, length(PE_COSTOU) as L_COSTOU,PE_CANT * PE_COSTOU AS PE_COSTO_TOT, length(PE_CANT * PE_COSTOU) as L_COSTO_TOT,PE_PROID, PE_CEDIS FROM PEDIDO WHERE PE_FOLIO = ? AND LENGTH(PE_CEDIS) > 3 AND PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_COSTOU",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1632;BA.debugLine="If S.RowCount>0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1633;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1634;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------PROMOS PREVENTA-------------------------------------"); - //BA.debugLineNum = 1635;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1636;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Cant."; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Cant. Precio Importe"); - //BA.debugLineNum = 1637;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1638;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"---------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1639;BA.debugLine="For i=0 To S.RowCount -1"; -{ -final int step80 = 1; -final int limit80 = (int) (_s.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit80 ;_i = _i + step80 ) { - //BA.debugLineNum = 1640;BA.debugLine="S.Position=i"; -_s.setPosition(_i); - //BA.debugLineNum = 1641;BA.debugLine="If s.GetString(\"PE_CEDIS\") = s.GetString(\"PE_P"; -if ((_s.GetString("PE_CEDIS")).equals(_s.GetString("PE_PROID"))) { - //BA.debugLineNum = 1642;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1643;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - }else { - //BA.debugLineNum = 1647;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,7,PDF.colorBlac"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),7,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1648;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1649;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,s.GetStr"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_PRONOMBRE")); - //BA.debugLineNum = 1650;BA.debugLine="LogColor(s.GetLong(\"L_CANT\"),Colors.Magenta)"; -__c.LogImpl("342664063",BA.NumberToString(_s.GetLong("L_CANT")),__c.Colors.Magenta); - //BA.debugLineNum = 1651;BA.debugLine="LogColor(s.GetLong(\"L_COSTOU\"),Colors.Magenta"; -__c.LogImpl("342664064",BA.NumberToString(_s.GetLong("L_COSTOU")),__c.Colors.Magenta); - //BA.debugLineNum = 1652;BA.debugLine="LogColor(s.GetLong(\"L_COSTO_TOT\"),Colors.Mage"; -__c.LogImpl("342664065",BA.NumberToString(_s.GetLong("L_COSTO_TOT")),__c.Colors.Magenta); - //BA.debugLineNum = 1654;BA.debugLine="TAMANO = s.GetLong(\"L_CANT\") + s.GetLong(\"L_C"; -_tamano = (int) (_s.GetLong("L_CANT")+_s.GetLong("L_COSTOU")+_s.GetLong("L_COSTO_TOT")); - //BA.debugLineNum = 1655;BA.debugLine="ESPACIO = 92"; -_espacio = (int) (92); - //BA.debugLineNum = 1656;BA.debugLine="BLANCO = \" \""; -_blanco = " "; - //BA.debugLineNum = 1657;BA.debugLine="ESPACIO = ESPACIO - TAMANO"; -_espacio = (int) (_espacio-_tamano); - //BA.debugLineNum = 1658;BA.debugLine="ESPACIO = ESPACIO / 2"; -_espacio = (int) (_espacio/(double)2); - //BA.debugLineNum = 1659;BA.debugLine="For E=0 To ESPACIO -1"; -{ -final int step97 = 1; -final int limit97 = (int) (_espacio-1); -_e = (int) (0) ; -for (;_e <= limit97 ;_e = _e + step97 ) { - //BA.debugLineNum = 1660;BA.debugLine="BLANCO = \" \" & BLANCO"; -_blanco = " "+_blanco; - } -}; - //BA.debugLineNum = 1662;BA.debugLine="PDF.sFont(PDF.fontHelvetica,0,10,PDF.colorBla"; -_pdf._sfont /*adm.keymon.com.mx.cpdf*/ (_pdf._fonthelvetica /*String*/ ,(int) (0),10,_pdf._colorblack /*double[]*/ ); - //BA.debugLineNum = 1663;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1664;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6, s.GETST"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,_s.GetString("PE_CANT")+_blanco+_s.GetString("PE_COSTOU")+_blanco+_s.GetString("PE_COSTO_TOT")); - }; - } -}; - }; - //BA.debugLineNum = 1669;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1673;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1674;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1675;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1676;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1678;BA.debugLine="s=skmt.ExecQuery2(\"select SUM(PE_COSTO_TOT) AS T"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select SUM(PE_COSTO_TOT) AS TOTAL FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1679;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 1680;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1681;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total prev"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total preventa: $"+_s.GetString("TOTAL")); - //BA.debugLineNum = 1682;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 1683;BA.debugLine="c= skmt.ExecQuery2(\"select sum(PE_CANT) as PC_NO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) AND PE_FOLIO = ?",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1684;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1685;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1686;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"Total arti"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"Total articulos preventa: "+_c.GetString("PC_NOART")); - //BA.debugLineNum = 1687;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 1692;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1693;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1694;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1695;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"--------------------------ESTE TICKET NO ES UN ---------------------------"); - //BA.debugLineNum = 1696;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1697;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-------------------COMPROBANTE FISCAL, SOLO ES--------------------"); - //BA.debugLineNum = 1698;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1699;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"---------------------------------INFORMATIVO-----------------------------------"); - //BA.debugLineNum = 1700;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1701;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\"-----------"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6,"-----------------------------------------------------------------------------------------"); - //BA.debugLineNum = 1702;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1703;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1704;BA.debugLine="multiplicador = multiplicador +1"; -_multiplicador = (int) (_multiplicador+1); - //BA.debugLineNum = 1705;BA.debugLine="PDF.outtext(1,pagina-multiplicador*6,\" \" )"; -_pdf._outtext /*adm.keymon.com.mx.cpdf*/ (1,_pagina-_multiplicador*6," "); - //BA.debugLineNum = 1715;BA.debugLine="DateTime.DateFormat = \"ddmmyyyy\""; -__c.DateTime.setDateFormat("ddmmyyyy"); - //BA.debugLineNum = 1716;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 1717;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1718;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1720;BA.debugLine="savePDF(PDF,sDate&sTime&\".pdf\",PDF.CompressAlways"; -_savepdf(_pdf,_sdate+_stime+".pdf",_pdf._compressalways /*int*/ ); - //BA.debugLineNum = 1723;BA.debugLine="If chb_impreso.Checked = False Then"; -if (_chb_impreso.getChecked()==__c.False) { - //BA.debugLineNum = 1724;BA.debugLine="openPDF(sDate&sTime&\".pdf\")"; -_openpdf(_sdate+_stime+".pdf"); - }; - //BA.debugLineNum = 1726;BA.debugLine="nombrepdf =sDate&sTime&\".pdf\""; -_nombrepdf = _sdate+_stime+".pdf"; - //BA.debugLineNum = 1727;BA.debugLine="GUADAVENTA2"; -_guadaventa2(); - //BA.debugLineNum = 1728;BA.debugLine="End Sub"; -return ""; -} -public String _printer_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 2060;BA.debugLine="Sub Printer_Connected (Success As Boolean)"; - //BA.debugLineNum = 2061;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 2062;BA.debugLine="B_IMP.Enabled = True"; -_b_imp.setEnabled(__c.True); - }else { - //BA.debugLineNum = 2064;BA.debugLine="B_IMP.Enabled = False"; -_b_imp.setEnabled(__c.False); - //BA.debugLineNum = 2065;BA.debugLine="If Msgbox2(\"\", \"Printer Error\",\"Reprint\",\"Cancel"; -if (__c.Msgbox2(BA.ObjectToCharSequence(""),BA.ObjectToCharSequence("Printer Error"),"Reprint","Cancel","",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 2066;BA.debugLine="StartPrinter"; -_startprinter(); - }; - }; - //BA.debugLineNum = 2069;BA.debugLine="End Sub"; -return ""; -} -public String _printer1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 2039;BA.debugLine="Sub Printer1_Connected (Success As Boolean)"; - //BA.debugLineNum = 2041;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 2042;BA.debugLine="ToastMessageShow(\"Impresora conectada\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Impresora conectada"),__c.False); - //BA.debugLineNum = 2043;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES wh"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP")})); - //BA.debugLineNum = 2044;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CA"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("MACIMP"),(Object)(_starter._mac_impresora /*String*/ )})); - //BA.debugLineNum = 2045;BA.debugLine="LogColor(\"Impresora conectada\", Colors.Green)"; -__c.LogImpl("342926086","Impresora conectada",__c.Colors.Green); - //BA.debugLineNum = 2047;BA.debugLine="impresoraConectada = True"; -_impresoraconectada = __c.True; - }else { - //BA.debugLineNum = 2051;BA.debugLine="LogColor(\"Error conectando la impresora\", Colors"; -__c.LogImpl("342926092","Error conectando la impresora",__c.Colors.Red); - //BA.debugLineNum = 2052;BA.debugLine="errorImpresora = errorImpresora + 1"; -_errorimpresora = (int) (_errorimpresora+1); - //BA.debugLineNum = 2053;BA.debugLine="If errorImpresora > 1 Then"; -if (_errorimpresora>1) { - //BA.debugLineNum = 2054;BA.debugLine="Starter.MAC_IMPRESORA = \"0\""; -_starter._mac_impresora /*String*/ = "0"; - //BA.debugLineNum = 2055;BA.debugLine="errorImpresora = 0"; -_errorimpresora = (int) (0); - }; - }; - //BA.debugLineNum = 2058;BA.debugLine="End Sub"; -return ""; -} -public String _rb1_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 2174;BA.debugLine="Sub RB1_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 2175;BA.debugLine="If RB1.Checked = True Then"; -if (_rb1.getChecked()==__c.True) { - //BA.debugLineNum = 2176;BA.debugLine="E_RES_E.Text = \"CENTRAL DE ABASTOS\""; -_e_res_e.setText(BA.ObjectToCharSequence("CENTRAL DE ABASTOS")); - }; - //BA.debugLineNum = 2178;BA.debugLine="End Sub"; -return ""; -} -public String _rb2_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 2180;BA.debugLine="Sub RB2_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 2181;BA.debugLine="If RB2.Checked = True Then"; -if (_rb2.getChecked()==__c.True) { - //BA.debugLineNum = 2182;BA.debugLine="E_RES_E.Text = \"AUTOSERVICIO\""; -_e_res_e.setText(BA.ObjectToCharSequence("AUTOSERVICIO")); - }; - //BA.debugLineNum = 2184;BA.debugLine="End Sub"; -return ""; -} -public String _rb3_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 2186;BA.debugLine="Sub RB3_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 2187;BA.debugLine="If RB3.Checked = True Then"; -if (_rb3.getChecked()==__c.True) { - //BA.debugLineNum = 2188;BA.debugLine="E_RES_E.Text = \"CLUB DE PRECIO\""; -_e_res_e.setText(BA.ObjectToCharSequence("CLUB DE PRECIO")); - }; - //BA.debugLineNum = 2190;BA.debugLine="End Sub"; -return ""; -} -public String _rb4_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 2192;BA.debugLine="Sub RB4_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 2193;BA.debugLine="If RB4.Checked = True Then"; -if (_rb4.getChecked()==__c.True) { - //BA.debugLineNum = 2194;BA.debugLine="E_RES_E.Text = \"DIRECTO PEDEGREE\""; -_e_res_e.setText(BA.ObjectToCharSequence("DIRECTO PEDEGREE")); - }; - //BA.debugLineNum = 2196;BA.debugLine="End Sub"; -return ""; -} -public String _savepdf(adm.keymon.com.mx.cpdf _apdf,String _afile,int _acompress) throws Exception{ -String _folder = ""; - //BA.debugLineNum = 1730;BA.debugLine="private Sub savePDF(apdf As cPDF,afile As String,a"; - //BA.debugLineNum = 1743;BA.debugLine="Dim folder As String"; -_folder = ""; - //BA.debugLineNum = 1748;BA.debugLine="folder = Starter.fFileProvider.SharedFolder"; -_folder = _starter._ffileprovider /*adm.keymon.com.mx.fileprovider*/ ._sharedfolder /*String*/ ; - //BA.debugLineNum = 1755;BA.debugLine="apdf.saveToFile(folder, afile, acompress)"; -_apdf._savetofile /*adm.keymon.com.mx.cpdf*/ (_folder,_afile,_acompress); - //BA.debugLineNum = 1758;BA.debugLine="Log($\"PDF guardado en: ${File.Combine(folder, afi"; -__c.LogImpl("342729500",("PDF guardado en: "+__c.SmartStringFormatter("",(Object)(__c.File.Combine(_folder,_afile)))+""),0); - //BA.debugLineNum = 1759;BA.debugLine="End Sub"; -return ""; -} -public void _sc_result(String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ -ResumableSub_sc_result rsub = new ResumableSub_sc_result(this,_atype,_values,_image); -rsub.resume(ba, null); -} -public static class ResumableSub_sc_result extends BA.ResumableSub { -public ResumableSub_sc_result(adm.keymon.com.mx.c_cliente parent,String _atype,String _values,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) { -this.parent = parent; -this._atype = _atype; -this._values = _values; -this._image = _image; -} -adm.keymon.com.mx.c_cliente parent; -String _atype; -String _values; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image; -int _resultado = 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 = 978;BA.debugLine="CODIGO = Values"; -parent._codigo = _values; - //BA.debugLineNum = 979;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; -parent._dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM kmt_info WHERE CAT_CL_NUM_SERIEFISICO = ?",new String[]{parent._codigo}))); - //BA.debugLineNum = 980;BA.debugLine="DD.Position =0"; -parent._dd.setPosition((int) (0)); - //BA.debugLineNum = 981;BA.debugLine="If DD.GetString(\"CUANTOS\") > 0 Then"; -if (true) break; - -case 1: -//if -this.state = 16; -if ((double)(Double.parseDouble(parent._dd.GetString("CUANTOS")))>0) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 16; - //BA.debugLineNum = 982;BA.debugLine="MsgboxAsync(\"Código ya asignado\", \"AVISO\")"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código ya asignado"),BA.ObjectToCharSequence("AVISO"),ba); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 984;BA.debugLine="If CODIGO.Length = 7 Then"; -if (true) break; - -case 6: -//if -this.state = 15; -if (parent._codigo.length()==7) { -this.state = 8; -}else { -this.state = 14; -}if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 985;BA.debugLine="Msgbox2Async(\"El código \"& CODIGO & \" es correc"; -parent.__c.Msgbox2Async(BA.ObjectToCharSequence("El código "+parent._codigo+" es correcto?"),BA.ObjectToCharSequence("Title"),"Yes","Cancel","No",(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(parent.__c.Null)),ba,parent.__c.False); - //BA.debugLineNum = 986;BA.debugLine="Wait For Msgbox_Result (resultado As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 17; -return; -case 17: -//C -this.state = 9; -_resultado = (Integer) result[0]; -; - //BA.debugLineNum = 987;BA.debugLine="If resultado = DialogResponse.POSITIVE Then"; -if (true) break; - -case 9: -//if -this.state = 12; -if (_resultado==parent.__c.DialogResponse.POSITIVE) { -this.state = 11; -}if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 988;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE k"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE kmt_info set CAT_CL_NUM_SERIEFISICO = ?, CAT_CL_LONG = ?, CAT_CL_LAT =? where CAT_CL_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 989;BA.debugLine="L_QR.TEXT =CODIGO"; -parent._l_qr.setText(BA.ObjectToCharSequence(parent._codigo)); - //BA.debugLineNum = 990;BA.debugLine="L_QR.TextColor = Colors.Blue"; -parent._l_qr.setTextColor(parent.__c.Colors.Blue); - //BA.debugLineNum = 991;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into HIST_CODIGO_BARRAS(CODIGOKMTS, CODIGOB, LAT, LON) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(parent._la_cuenta.getText()),(Object)(parent._codigo),(Object)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - if (true) break; - -case 12: -//C -this.state = 15; -; - if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 994;BA.debugLine="MsgboxAsync(\"Código No Valido\", \"AVISO\")"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence("Código No Valido"),BA.ObjectToCharSequence("AVISO"),ba); - if (true) break; - -case 15: -//C -this.state = 16; -; - if (true) break; - -case 16: -//C -this.state = -1; -; - //BA.debugLineNum = 997;BA.debugLine="DD.Close"; -parent._dd.Close(); - //BA.debugLineNum = 998;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _sc_timedout(boolean _timedout) throws Exception{ - //BA.debugLineNum = 1000;BA.debugLine="Sub sc_timedout(timedOut As Boolean)"; - //BA.debugLineNum = 1001;BA.debugLine="Log(\"timedOut \" & timedOut)"; -__c.LogImpl("342139649","timedOut "+BA.ObjectToString(_timedout),0); - //BA.debugLineNum = 1002;BA.debugLine="End Sub"; -return ""; -} -public String _sc_usercancelled(boolean _usercancelled) throws Exception{ - //BA.debugLineNum = 1004;BA.debugLine="Sub sc_usercancelled(userCancelled As Boolean)"; - //BA.debugLineNum = 1005;BA.debugLine="Log(\"userCancelled \" & userCancelled)"; -__c.LogImpl("342205185","userCancelled "+BA.ObjectToString(_usercancelled),0); - //BA.debugLineNum = 1006;BA.debugLine="End Sub"; -return ""; -} -public String _startprinter() throws Exception{ -int _resimp = 0; -int _i = 0; - //BA.debugLineNum = 2071;BA.debugLine="Sub StartPrinter"; - //BA.debugLineNum = 2072;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 2073;BA.debugLine="Dim L As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 2074;BA.debugLine="Dim resimp As Int"; -_resimp = 0; - //BA.debugLineNum = 2075;BA.debugLine="ToastMessageShow(\"Printing.....\",True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Printing....."),__c.True); - //BA.debugLineNum = 2076;BA.debugLine="PairedDevices.Initialize"; -_paireddevices.Initialize(); - //BA.debugLineNum = 2077;BA.debugLine="Try"; -try { //BA.debugLineNum = 2078;BA.debugLine="PairedDevices = cmp20.GetPairedDevices"; -_paireddevices = _cmp20.GetPairedDevices(); - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 2080;BA.debugLine="Msgbox(\"Getting Paired Devices\",\"Printer Error\")"; -__c.Msgbox(BA.ObjectToCharSequence("Getting Paired Devices"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 2081;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 2082;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - //BA.debugLineNum = 2084;BA.debugLine="If PairedDevices.Size = 0 Then"; -if (_paireddevices.getSize()==0) { - //BA.debugLineNum = 2085;BA.debugLine="Msgbox(\"Error Connecting to Printer - Printer No"; -__c.Msgbox(BA.ObjectToCharSequence("Error Connecting to Printer - Printer Not Found"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 2086;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 2088;BA.debugLine="If PairedDevices.Size = 1 Then"; -if (_paireddevices.getSize()==1) { - //BA.debugLineNum = 2089;BA.debugLine="Try"; -try { //BA.debugLineNum = 2090;BA.debugLine="cmp20.ConnectInsecure(btAdmin,PairedDevices.Get"; -_cmp20.ConnectInsecure(ba,_btadmin,BA.ObjectToString(_paireddevices.Get(_paireddevices.GetKeyAt((int) (0)))),(int) (1)); - } - catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 2092;BA.debugLine="Msgbox(\"Connecting\",\"Printer Error\") 'Ignore"; -__c.Msgbox(BA.ObjectToCharSequence("Connecting"),BA.ObjectToCharSequence("Printer Error"),ba); - //BA.debugLineNum = 2093;BA.debugLine="printer.Close"; -_printer.Close(); - //BA.debugLineNum = 2094;BA.debugLine="cmp20.Disconnect"; -_cmp20.Disconnect(); - }; - }else { - //BA.debugLineNum = 2097;BA.debugLine="L.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 2098;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; -{ -final int step27 = 1; -final int limit27 = (int) (_paireddevices.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 2099;BA.debugLine="L.Add(PairedDevices.GetKeyAt(i))"; -_l.Add(_paireddevices.GetKeyAt(_i)); - } -}; - //BA.debugLineNum = 2101;BA.debugLine="resimp = InputList(L, \"Choose device\", -1) 'Igno"; -_resimp = __c.InputList(_l,BA.ObjectToCharSequence("Choose device"),(int) (-1),ba); - //BA.debugLineNum = 2102;BA.debugLine="If resimp <> DialogResponse.CANCEL Then"; -if (_resimp!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 2103;BA.debugLine="cmp20.Connect(PairedDevices.Get(L.Get(resimp)))"; -_cmp20.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_resimp)))); - }; - }; - //BA.debugLineNum = 2106;BA.debugLine="End Sub"; -return ""; -} -public String _stopcamera() throws Exception{ - //BA.debugLineNum = 2975;BA.debugLine="Private Sub StopCamera"; - //BA.debugLineNum = 2977;BA.debugLine="If camEx.IsInitialized Then"; -if (_camex.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 2978;BA.debugLine="camEx.Release"; -_camex._release /*String*/ (); - }; - //BA.debugLineNum = 2980;BA.debugLine="End Sub"; -return ""; -} -public String _t1_tick() throws Exception{ - //BA.debugLineNum = 1043;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 1044;BA.debugLine="s = skmt.ExecQuery2(\"SELECT * FROM PEDIDO WHERE P"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_skmt.ExecQuery2("SELECT * FROM PEDIDO WHERE PE_FOLIO = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 1045;BA.debugLine="If s.RowCount > 0 Then"; -if (_s.getRowCount()>0) { - //BA.debugLineNum = 1046;BA.debugLine="imprime_preventa"; -_imprime_preventa(); - }; - //BA.debugLineNum = 1048;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 1049;BA.debugLine="End Sub"; -return ""; -} -public String _tar_click() throws Exception{ - //BA.debugLineNum = 646;BA.debugLine="Sub Tar_Click"; - //BA.debugLineNum = 647;BA.debugLine="B4XPages.ShowPage(\"Nota\")"; -_b4xpages._showpage /*String*/ (ba,"Nota"); - //BA.debugLineNum = 648;BA.debugLine="End Sub"; -return ""; -} -public String _tels_click() throws Exception{ - //BA.debugLineNum = 598;BA.debugLine="Sub Tels_Click"; - //BA.debugLineNum = 599;BA.debugLine="B4XPages.ShowPage(\"NoVenta\")"; -_b4xpages._showpage /*String*/ (ba,"NoVenta"); - //BA.debugLineNum = 600;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((adm.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_clientes.java b/B4A/Objects/src/adm/keymon/com/mx/c_clientes.java deleted file mode 100644 index 29f8fab..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_clientes.java +++ /dev/null @@ -1,1007 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_clientes extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_clientes"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_clientes.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public String _entro = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; -public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; -public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; -public String _colonia = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_qr = null; -public com.inforpires.baQRCode.baQRCode _qr = null; -public String _codigo = ""; -public String _stime = ""; -public String _ruta = ""; -public String _q_buscar = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_clientes = null; -public b4a.example3.customlistview _customlistview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _numerocliente = null; -public anywheresoftware.b4a.objects.LabelWrapper _nombrecliente = null; -public anywheresoftware.b4a.objects.LabelWrapper _direccion = null; -public anywheresoftware.b4a.objects.LabelWrapper _cxc = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_datosclie = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_buscar = null; -public int _check = 0; -public anywheresoftware.b4a.objects.LabelWrapper _l_baseodia = null; -public anywheresoftware.b4a.objects.LabelWrapper _credito = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_buscar_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 401;BA.debugLine="Private Sub b_buscar_Click"; - //BA.debugLineNum = 402;BA.debugLine="Log(CHECK)"; -__c.LogImpl("346137345",BA.NumberToString(_check),0); - //BA.debugLineNum = 403;BA.debugLine="If CHECK = 0 Then"; -if (_check==0) { - //BA.debugLineNum = 404;BA.debugLine="l_baseodia.Text = \"Clientes de base de datos\""; -_l_baseodia.setText(BA.ObjectToCharSequence("Clientes de base de datos")); - //BA.debugLineNum = 405;BA.debugLine="CHECK = 1"; -_check = (int) (1); - //BA.debugLineNum = 406;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 407;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 408;BA.debugLine="colonia = 0"; -_colonia = BA.NumberToString(0); - //BA.debugLineNum = 409;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAT_CL_CODIGO")))); - //BA.debugLineNum = 410;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 411;BA.debugLine="lfila.Text = \"NOMBRE\""; -_lfila.setText(BA.ObjectToCharSequence("NOMBRE")); - //BA.debugLineNum = 412;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 413;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 414;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step13 = 1; -final int limit13 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit13 ;_i = _i + step13 ) { - //BA.debugLineNum = 415;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 416;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("CAT_CL_NOMBRE"),_c.GetString("CAT_CL_CALLE"),_c.GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); - //BA.debugLineNum = 417;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 418;BA.debugLine="If d.RowCount = 0 Then"; -if (_d.getRowCount()==0) { - //BA.debugLineNum = 419;BA.debugLine="cxc.Visible = False"; -_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 421;BA.debugLine="cxc.Visible = True"; -_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 424;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 426;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 427;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 428;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; -__c.LogImpl("346137371",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); - //BA.debugLineNum = 429;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; -if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 430;BA.debugLine="CREDITO.Visible = True"; -_credito.setVisible(__c.True); - }else { - //BA.debugLineNum = 432;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - //BA.debugLineNum = 434;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 436;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - } -}; - //BA.debugLineNum = 439;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 440;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step37 = 1; -final int limit37 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit37 ;_i = _i + step37 ) { - //BA.debugLineNum = 441;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 442;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 443;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 444;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 445;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 446;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 447;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 448;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 449;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 450;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - } -}; - }; - //BA.debugLineNum = 453;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 454;BA.debugLine="entro = \"4\""; -_entro = "4"; - }else if(_check==1) { - //BA.debugLineNum = 457;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; -_l_baseodia.setText(BA.ObjectToCharSequence("Clientes del día de visita")); - //BA.debugLineNum = 458;BA.debugLine="CHECK = 0"; -_check = (int) (0); - //BA.debugLineNum = 459;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 460;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 461;BA.debugLine="colonia = 0"; -_colonia = BA.NumberToString(0); - //BA.debugLineNum = 462;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAT_CL_CODIGO")))); - //BA.debugLineNum = 463;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 464;BA.debugLine="lfila.Text = \"NOMBRE\""; -_lfila.setText(BA.ObjectToCharSequence("NOMBRE")); - //BA.debugLineNum = 465;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 466;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 467;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step63 = 1; -final int limit63 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit63 ;_i = _i + step63 ) { - //BA.debugLineNum = 468;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 469;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString("; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("CAT_CL_NOMBRE"),_c.GetString("CAT_CL_CALLE"),_c.GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); - //BA.debugLineNum = 470;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 471;BA.debugLine="If d.RowCount = 0 Then"; -if (_d.getRowCount()==0) { - //BA.debugLineNum = 472;BA.debugLine="cxc.Visible = False"; -_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 474;BA.debugLine="cxc.Visible = True"; -_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 477;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 479;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 480;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 481;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; -__c.LogImpl("346137424",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); - //BA.debugLineNum = 482;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; -if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 483;BA.debugLine="CREDITO.Visible = True"; -_credito.setVisible(__c.True); - }else { - //BA.debugLineNum = 485;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - //BA.debugLineNum = 487;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 489;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - } -}; - //BA.debugLineNum = 492;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 493;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step87 = 1; -final int limit87 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit87 ;_i = _i + step87 ) { - //BA.debugLineNum = 494;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 495;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 496;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 497;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 498;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 499;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 500;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 501;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 502;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 503;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODI"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - } -}; - }; - //BA.debugLineNum = 506;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 507;BA.debugLine="entro = \"4\""; -_entro = "4"; - }; - //BA.debugLineNum = 510;BA.debugLine="End Sub"; -return ""; -} -public String _b_qr_click() throws Exception{ -int _scan_width = 0; -int _scan_height = 0; - //BA.debugLineNum = 300;BA.debugLine="Sub b_qr_Click"; - //BA.debugLineNum = 301;BA.debugLine="Dim scan_width As Int"; -_scan_width = 0; - //BA.debugLineNum = 302;BA.debugLine="Dim scan_height As Int"; -_scan_height = 0; - //BA.debugLineNum = 303;BA.debugLine="scan_width = 400"; -_scan_width = (int) (400); - //BA.debugLineNum = 304;BA.debugLine="scan_height = 400"; -_scan_height = (int) (400); - //BA.debugLineNum = 305;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 67;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 68;BA.debugLine="l_baseodia.Text = \"Clientes del día de visita\""; -_l_baseodia.setText(BA.ObjectToCharSequence("Clientes del día de visita")); - //BA.debugLineNum = 69;BA.debugLine="CHECK = 0"; -_check = (int) (0); - //BA.debugLineNum = 70;BA.debugLine="busca.Text = \"\""; -_busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 71;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 72;BA.debugLine="colonia = 0"; -_colonia = BA.NumberToString(0); - //BA.debugLineNum = 73;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" ORDER BY CAST(CAT_CL_NUM_SERIEFISICO AS INTEGER) ASC")))); - //BA.debugLineNum = 74;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 75;BA.debugLine="lfila.Text = \"NOMBRE\""; -_lfila.setText(BA.ObjectToCharSequence("NOMBRE")); - //BA.debugLineNum = 77;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 78;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step10 = 1; -final int limit10 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 79;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 80;BA.debugLine="CustomListView1.Add(CreateListItem(c.GetString(\""; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c.GetString("CAT_CL_NOMBRE"),_c.GetString("CAT_CL_CALLE"),_c.GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); - //BA.debugLineNum = 81;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select CL"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 82;BA.debugLine="If d.RowCount = 0 Then"; -if (_d.getRowCount()==0) { - //BA.debugLineNum = 83;BA.debugLine="cxc.Visible = False"; -_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 85;BA.debugLine="cxc.Visible = True"; -_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 89;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select IF"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 91;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 92;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 93;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; -if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 94;BA.debugLine="CREDITO.Visible = True"; -_credito.setVisible(__c.True); - }else { - //BA.debugLineNum = 96;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - //BA.debugLineNum = 98;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 100;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - } -}; - //BA.debugLineNum = 103;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 104;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step33 = 1; -final int limit33 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit33 ;_i = _i + step33 ) { - //BA.debugLineNum = 105;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 106;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 107;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 108;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 109;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 110;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 111;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 112;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 113;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 114;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"CAT_CL_CODIG"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c.GetString("CAT_CL_NOMBRE"))); - } -}; - }; - //BA.debugLineNum = 117;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 118;BA.debugLine="entro = \"4\""; -_entro = "4"; - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_clientes parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_clientes parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 193;BA.debugLine="Return True"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - //BA.debugLineNum = 194;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 44;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 45;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 47;BA.debugLine="Root.LoadLayout(\"clientes\")"; -_root.LoadLayout("clientes",ba); - //BA.debugLineNum = 49;BA.debugLine="entro =\"2\""; -_entro = "2"; - //BA.debugLineNum = 54;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 61;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 64;BA.debugLine="qr.initialize"; -_qr.initialize(); - //BA.debugLineNum = 65;BA.debugLine="End Sub"; -return ""; -} -public String _busca_textchanged(String _old,String _new) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 196;BA.debugLine="Sub BUSCA_TextChanged (Old As String, New As Strin"; - //BA.debugLineNum = 197;BA.debugLine="If CHECK = 0 Then"; -if (_check==0) { - //BA.debugLineNum = 198;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; -_q_buscar = "%"+_busca.getText()+"%"; - //BA.debugLineNum = 199;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("0"))+" AND CAT_CL_CODIGO <> "+__c.SmartStringFormatter("",(Object)("1"))+" order by CAT_CL_NOMBRE "),new String[]{_q_buscar,_q_buscar,_q_buscar}))); - //BA.debugLineNum = 200;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 201;BA.debugLine="lfila.text = \"Nombre y Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 203;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 204;BA.debugLine="For i = 0 To c2.RowCount - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 205;BA.debugLine="c2.Position = i"; -_c2.setPosition(_i); - //BA.debugLineNum = 206;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c2.GetString("CAT_CL_NOMBRE"),_c2.GetString("CAT_CL_CALLE"),_c2.GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); - //BA.debugLineNum = 207;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 208;BA.debugLine="If d.RowCount = 0 Then"; -if (_d.getRowCount()==0) { - //BA.debugLineNum = 209;BA.debugLine="cxc.Visible = False"; -_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 211;BA.debugLine="cxc.Visible = True"; -_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 215;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 217;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 218;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 220;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; -if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 221;BA.debugLine="CREDITO.Visible = True"; -_credito.setVisible(__c.True); - }else { - //BA.debugLineNum = 223;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - //BA.debugLineNum = 225;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 227;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - } -}; - //BA.debugLineNum = 232;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 233;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step30 = 1; -final int limit30 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit30 ;_i = _i + step30 ) { - //BA.debugLineNum = 234;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 235;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 236;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 237;BA.debugLine="label1.TextSize = 9"; -_label1.setTextSize((float) (9)); - //BA.debugLineNum = 238;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 239;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 240;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 241;BA.debugLine="label2.TextSize = 17"; -_label2.setTextSize((float) (17)); - //BA.debugLineNum = 242;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 243;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE")+" CALLE: "+_c2.GetString("CAT_CL_CALLE"))); - } -}; - }; - //BA.debugLineNum = 246;BA.debugLine="entro = \"4\""; -_entro = "4"; - //BA.debugLineNum = 247;BA.debugLine="c2.Close"; -_c2.Close(); - }else if(_check==1) { - //BA.debugLineNum = 249;BA.debugLine="q_buscar = \"%\" & busca.Text & \"%\""; -_q_buscar = "%"+_busca.getText()+"%"; - //BA.debugLineNum = 250;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info2 where (CAT_CL_NOMBRE like ? OR CAT_CL_CODIGO LIKE ? OR CAT_CL_CALLE LIKE ?)and gestion = 0 order by CAT_CL_NOMBRE ",new String[]{_q_buscar,_q_buscar,_q_buscar}))); - //BA.debugLineNum = 251;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 252;BA.debugLine="lfila.text = \"Nombre y Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre y Calle")); - //BA.debugLineNum = 254;BA.debugLine="CustomListView1.Clear"; -_customlistview1._clear(); - //BA.debugLineNum = 255;BA.debugLine="For i = 0 To c2.RowCount - 1"; -{ -final int step51 = 1; -final int limit51 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 256;BA.debugLine="c2.Position = i"; -_c2.setPosition(_i); - //BA.debugLineNum = 257;BA.debugLine="CustomListView1.Add(CreateListItem(c2.GetString"; -_customlistview1._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_c2.GetString("CAT_CL_NOMBRE"),_c2.GetString("CAT_CL_CALLE"),_c2.GetString("CAT_CL_CODIGO")).getObject())),(Object)(_i)); - //BA.debugLineNum = 258;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select C"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CLIENTE FROM ABONOSP WHERE CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 259;BA.debugLine="If d.RowCount = 0 Then"; -if (_d.getRowCount()==0) { - //BA.debugLineNum = 260;BA.debugLine="cxc.Visible = False"; -_cxc.setVisible(__c.False); - }else { - //BA.debugLineNum = 262;BA.debugLine="cxc.Visible = True"; -_cxc.setVisible(__c.True); - }; - //BA.debugLineNum = 264;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery($\"select I"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select IFNULL(CAT_CL_BCREDITO,0) AS CAT_CL_BCREDITO FROM kmt_info WHERE CAT_CL_CODIGO = '"+__c.SmartStringFormatter("",(Object)(_c2.GetString("CAT_CL_CODIGO")))+"'")))); - //BA.debugLineNum = 266;BA.debugLine="If d.RowCount > 0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 267;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 268;BA.debugLine="LogColor(d.GetString(\"CAT_CL_BCREDITO\"),Colors"; -__c.LogImpl("345678664",_d.GetString("CAT_CL_BCREDITO"),__c.Colors.Blue); - //BA.debugLineNum = 269;BA.debugLine="If d.GetString(\"CAT_CL_BCREDITO\") = \"1\" Then"; -if ((_d.GetString("CAT_CL_BCREDITO")).equals("1")) { - //BA.debugLineNum = 270;BA.debugLine="CREDITO.Visible = True"; -_credito.setVisible(__c.True); - }else { - //BA.debugLineNum = 272;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - //BA.debugLineNum = 274;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 276;BA.debugLine="CREDITO.Visible = False"; -_credito.setVisible(__c.False); - }; - } -}; - //BA.debugLineNum = 281;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 282;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step75 = 1; -final int limit75 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit75 ;_i = _i + step75 ) { - //BA.debugLineNum = 283;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 284;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 285;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 286;BA.debugLine="label1.TextSize = 9"; -_label1.setTextSize((float) (9)); - //BA.debugLineNum = 287;BA.debugLine="label1.TextColor = Colors.White"; -_label1.setTextColor(__c.Colors.White); - //BA.debugLineNum = 288;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 289;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 290;BA.debugLine="label2.TextSize = 17"; -_label2.setTextSize((float) (17)); - //BA.debugLineNum = 291;BA.debugLine="label2.TextColor = Colors.White"; -_label2.setTextColor(__c.Colors.White); - //BA.debugLineNum = 292;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE")+" CALLE: "+_c2.GetString("CAT_CL_CALLE"))); - } -}; - }; - //BA.debugLineNum = 295;BA.debugLine="entro = \"4\""; -_entro = "4"; - //BA.debugLineNum = 296;BA.debugLine="c2.Close"; -_c2.Close(); - }; - //BA.debugLineNum = 298;BA.debugLine="End Sub"; -return ""; -} -public String _calc_ean_checksum(String _number) throws Exception{ -int _i = 0; -char _co = '\0'; -int _soma = 0; -int _n = 0; -float _digit = 0f; - //BA.debugLineNum = 328;BA.debugLine="Sub calc_ean_checksum(number As String) As String"; - //BA.debugLineNum = 329;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 330;BA.debugLine="Dim cO As Char"; -_co = '\0'; - //BA.debugLineNum = 331;BA.debugLine="Dim soma As Int"; -_soma = 0; - //BA.debugLineNum = 332;BA.debugLine="Dim n As Int"; -_n = 0; - //BA.debugLineNum = 333;BA.debugLine="Dim digit As Float"; -_digit = 0f; - //BA.debugLineNum = 334;BA.debugLine="soma = 0"; -_soma = (int) (0); - //BA.debugLineNum = 335;BA.debugLine="For i=0 To number.Length - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_number.length()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 336;BA.debugLine="digit = number.SubString2(i,i+1)"; -_digit = (float)(Double.parseDouble(_number.substring(_i,(int) (_i+1)))); - //BA.debugLineNum = 337;BA.debugLine="n= digit * ((i Mod 2) * 2 + 1)"; -_n = (int) (_digit*((_i%2)*2+1)); - //BA.debugLineNum = 338;BA.debugLine="soma=soma+n"; -_soma = (int) (_soma+_n); - } -}; - //BA.debugLineNum = 340;BA.debugLine="Return number & ( ( 10 - ( soma Mod 10 )) Mod 10"; -if (true) return _number+BA.NumberToString(((10-(_soma%10))%10)); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim entro As String"; -_entro = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim gest As Button"; -_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim lfila As Label"; -_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim busca As EditText"; -_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim colonia As String"; -_colonia = ""; - //BA.debugLineNum = 16;BA.debugLine="Private b_qr As Button"; -_b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private qr As QRCode"; -_qr = new com.inforpires.baQRCode.baQRCode(); - //BA.debugLineNum = 19;BA.debugLine="Dim CODIGO As String"; -_codigo = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim STIME As String"; -_stime = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 24;BA.debugLine="Private p_clientes As Panel"; -_p_clientes = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private CustomListView1 As CustomListView"; -_customlistview1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 26;BA.debugLine="Private numerocliente As Label"; -_numerocliente = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private nombrecliente As Label"; -_nombrecliente = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private direccion As Label"; -_direccion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private cxc As Label"; -_cxc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private p_datosclie As Panel"; -_p_datosclie = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private b_buscar As Button"; -_b_buscar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private CHECK As Int"; -_check = 0; - //BA.debugLineNum = 33;BA.debugLine="Private l_baseodia As Label"; -_l_baseodia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private CREDITO As Label"; -_credito = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _mostrar,String _mostrar1,String _mostrar2) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 122;BA.debugLine="Sub CreateListItem(mostrar As String, mostrar1 As"; - //BA.debugLineNum = 123;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 124;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 1, 220)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (1),(int) (220)); - //BA.debugLineNum = 125;BA.debugLine="p.LoadLayout(\"datoscliente\")"; -_p.LoadLayout("datoscliente",ba); - //BA.debugLineNum = 126;BA.debugLine="p.Height= 60dip"; -_p.setHeight(__c.DipToCurrent((int) (60))); - //BA.debugLineNum = 128;BA.debugLine="nombrecliente.Text = mostrar"; -_nombrecliente.setText(BA.ObjectToCharSequence(_mostrar)); - //BA.debugLineNum = 129;BA.debugLine="direccion.Text = mostrar1"; -_direccion.setText(BA.ObjectToCharSequence(_mostrar1)); - //BA.debugLineNum = 130;BA.debugLine="numerocliente.Text = mostrar2"; -_numerocliente.setText(BA.ObjectToCharSequence(_mostrar2)); - //BA.debugLineNum = 131;BA.debugLine="p_datosclie.Tag = mostrar2"; -_p_datosclie.setTag((Object)(_mostrar2)); - //BA.debugLineNum = 134;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return null; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 39;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 40;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ -int _i = 0; - //BA.debugLineNum = 137;BA.debugLine="Sub ListView1_ItemClick (Position As Int, value As"; - //BA.debugLineNum = 138;BA.debugLine="If colonia = 0 Then"; -if ((_colonia).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 139;BA.debugLine="colonia = value"; -_colonia = BA.ObjectToString(_value); - }; - //BA.debugLineNum = 141;BA.debugLine="If entro = \"2\" Then"; -if ((_entro).equals("2")) { - //BA.debugLineNum = 142;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 143;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 144;BA.debugLine="lfila.text = \"Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Calle")); - //BA.debugLineNum = 145;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 146;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step9 = 1; -final int limit9 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 147;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 148;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(_c2.GetString("cuantos"))); - } -}; - }; - //BA.debugLineNum = 151;BA.debugLine="entro = \"3\""; -_entro = "3"; - }else if((_entro).equals("3")) { - //BA.debugLineNum = 153;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(_value),_colonia}))); - //BA.debugLineNum = 154;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 155;BA.debugLine="lfila.text = \"Nombre\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre")); - //BA.debugLineNum = 156;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 157;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 158;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 159;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE"))); - } -}; - }; - //BA.debugLineNum = 162;BA.debugLine="entro = \"4\""; -_entro = "4"; - }else if((_entro).equals("4")) { - //BA.debugLineNum = 164;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 166;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 167;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 168;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClienteprevent"; -_starter._pre_viejo /*float*/ = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); - //BA.debugLineNum = 169;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); - //BA.debugLineNum = 170;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 171;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; -if ((_s.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 172;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }else { - //BA.debugLineNum = 174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }; - //BA.debugLineNum = 177;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 178;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 180;BA.debugLine="Subs.guardaClienteHoraInicio(value)"; -_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(_value)); - //BA.debugLineNum = 182;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; -return ""; -} -public String _p_clientes_click() throws Exception{ - //BA.debugLineNum = 345;BA.debugLine="Private Sub p_clientes_Click"; - //BA.debugLineNum = 347;BA.debugLine="End Sub"; -return ""; -} -public String _p_datosclie_click() throws Exception{ -int _i = 0; - //BA.debugLineNum = 349;BA.debugLine="Private Sub p_datosclie_Click"; - //BA.debugLineNum = 350;BA.debugLine="If colonia = 0 Then"; -if ((_colonia).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 351;BA.debugLine="colonia = Sender.As(Panel).tag"; -_colonia = BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()); - }; - //BA.debugLineNum = 353;BA.debugLine="If entro = \"2\" Then"; -if ((_entro).equals("2")) { - //BA.debugLineNum = 354;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CALLE, CAT_CL_COLONIA, count(*) as cuantos from kmt_info where gestion = 0 and CAT_CL_COLONIA = ? GROUP BY CAT_CL_CALLE, CAT_CL_COLONIA order by CAT_CL_CALLE ",new String[]{BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag())}))); - //BA.debugLineNum = 355;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 356;BA.debugLine="lfila.text = \"Calle\""; -_lfila.setText(BA.ObjectToCharSequence("Calle")); - //BA.debugLineNum = 357;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 358;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step9 = 1; -final int limit9 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 359;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 360;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_CAL"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CALLE")),BA.ObjectToCharSequence(_c2.GetString("cuantos"))); - } -}; - }; - //BA.debugLineNum = 363;BA.debugLine="entro = \"3\""; -_entro = "3"; - }else if((_entro).equals("3")) { - //BA.debugLineNum = 365;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_NOMBRE, CAT_CL_CALLE, CAT_CL_CODIGO from kmt_info where gestion = 0 and CAT_CL_CALLE = ? AND CAT_CL_COLONIA = ? order by CAT_CL_NOMBRE ",new String[]{BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()),_colonia}))); - //BA.debugLineNum = 366;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 367;BA.debugLine="lfila.text = \"Nombre\""; -_lfila.setText(BA.ObjectToCharSequence("Nombre")); - //BA.debugLineNum = 368;BA.debugLine="If c2.RowCount>0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 369;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 370;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 371;BA.debugLine="ListView1.AddTwoLines(c2.GetString(\"CAT_CL_COD"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_CL_CODIGO")),BA.ObjectToCharSequence(_c2.GetString("CAT_CL_NOMBRE"))); - } -}; - }; - //BA.debugLineNum = 374;BA.debugLine="entro = \"4\""; -_entro = "4"; - }else if((_entro).equals("4")) { - //BA.debugLineNum = 376;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 377;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()})); - //BA.debugLineNum = 378;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 379;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 381;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT COUN"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = ? AND HSS_CODIGO In (select cuenta from cuentaa)",new String[]{"0"}))); - //BA.debugLineNum = 382;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 383;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; -if ((_s.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 384;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }else { - //BA.debugLineNum = 386;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag()})); - //BA.debugLineNum = 387;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }; - //BA.debugLineNum = 389;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_INI = ? where HSO_INI = 0 ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 390;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 392;BA.debugLine="Subs.guardaClienteHoraInicio(Sender.As(Panel).ta"; -_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(((anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(__c.Sender(ba)))).getTag())); - //BA.debugLineNum = 394;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 399;BA.debugLine="End Sub"; -return ""; -} -public String _sc_noscan() throws Exception{ - //BA.debugLineNum = 324;BA.debugLine="Sub sc_noScan"; - //BA.debugLineNum = 325;BA.debugLine="Log(\"nothing returned from the scan !!!!!\")"; -__c.LogImpl("345875201","nothing returned from the scan !!!!!",0); - //BA.debugLineNum = 326;BA.debugLine="End Sub"; -return ""; -} -public String _sc_result(String _atype,String _values) throws Exception{ - //BA.debugLineNum = 307;BA.debugLine="Sub sc_result(atype As String,Values As String)"; - //BA.debugLineNum = 308;BA.debugLine="CODIGO = Values"; -_codigo = _values; - //BA.debugLineNum = 309;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS ENCONTRADO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{_codigo}))); - //BA.debugLineNum = 310;BA.debugLine="c2.Position =0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 311;BA.debugLine="If c2.GetString(\"ENCONTRADO\") > 0 Then"; -if ((double)(Double.parseDouble(_c2.GetString("ENCONTRADO")))>0) { - //BA.debugLineNum = 312;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_CL_CODIGO from kmt_info where CAT_CL_NUM_SERIEFISICO = ? order by CAT_CL_NOMBRE ",new String[]{_codigo}))); - //BA.debugLineNum = 313;BA.debugLine="s.Position =0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 314;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 315;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_s.GetString("CAT_CL_CODIGO"))})); - //BA.debugLineNum = 316;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 318;BA.debugLine="B4XPages.ShowPage(\"clientes\")"; -_b4xpages._showpage /*String*/ (ba,"clientes"); - }else { - //BA.debugLineNum = 320;BA.debugLine="Msgbox(\"CODIGO \" & CODIGO & \" NO ENCONTRADO\",\"AV"; -__c.Msgbox(BA.ObjectToCharSequence("CODIGO "+_codigo+" NO ENCONTRADO"),BA.ObjectToCharSequence("AVISO"),ba); - }; - //BA.debugLineNum = 322;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_cuestionario.java b/B4A/Objects/src/adm/keymon/com/mx/c_cuestionario.java deleted file mode 100644 index 3597e36..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_cuestionario.java +++ /dev/null @@ -1,326 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_cuestionario extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_cuestionario"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_cuestionario.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.ButtonWrapper _baceptarpregunta = null; -public boolean _encuestainiciada = false; -public anywheresoftware.b4a.objects.B4XViewWrapper _root2 = null; -public String _eventname = ""; -public Object _callback = null; -public String _vpreguntaactual = ""; -public anywheresoftware.b4a.sql.SQL _db = null; -public anywheresoftware.b4a.objects.PanelWrapper _panelsombra = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregacolumna(String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 157;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 158;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 159;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 160;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 161;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 162;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 163;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("346923782",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 166;BA.debugLine="Try"; -try { //BA.debugLineNum = 167;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 168;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("346923787",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 170;BA.debugLine="Log(LastException)"; -__c.LogImpl("346923789",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public String _agregapregunta(String _id,String _pregunta,anywheresoftware.b4a.objects.collections.List _respuestas) throws Exception{ -anywheresoftware.b4a.objects.StringUtils _su = null; -anywheresoftware.b4a.objects.drawable.ColorDrawable _cd = null; -anywheresoftware.b4a.objects.PanelWrapper _panelx = null; -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[] _r = null; -int _p = 0; -int _newtop = 0; - //BA.debugLineNum = 61;BA.debugLine="Sub agregaPregunta(id As String, pregunta As Strin"; - //BA.debugLineNum = 62;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 63;BA.debugLine="vPreguntaActual = id"; -_vpreguntaactual = _id; - //BA.debugLineNum = 64;BA.debugLine="bAceptarPregunta.Initialize(\"bAceptarPregunta\")"; -_baceptarpregunta.Initialize(ba,"bAceptarPregunta"); - //BA.debugLineNum = 66;BA.debugLine="Private su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 67;BA.debugLine="panelSombra.Initialize(\"pSombra\")"; -_panelsombra.Initialize(ba,"pSombra"); - //BA.debugLineNum = 68;BA.debugLine="Private cd As ColorDrawable"; -_cd = new anywheresoftware.b4a.objects.drawable.ColorDrawable(); - //BA.debugLineNum = 69;BA.debugLine="cd.Initialize(Colors.ARGB(125, 98, 98, 98), 0)"; -_cd.Initialize(__c.Colors.ARGB((int) (125),(int) (98),(int) (98),(int) (98)),(int) (0)); - //BA.debugLineNum = 70;BA.debugLine="panelSombra.Background = cd"; -_panelsombra.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 71;BA.debugLine="Private panelX As Panel 'Panel de la pregunta."; -_panelx = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="panelX.Initialize(\"pQuest\")"; -_panelx.Initialize(ba,"pQuest"); - //BA.debugLineNum = 73;BA.debugLine="Private lbl As Label 'Etiqueta de la pregunta."; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 74;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 75;BA.debugLine="lbl.Text = pregunta"; -_lbl.setText(BA.ObjectToCharSequence(_pregunta)); - //BA.debugLineNum = 76;BA.debugLine="lbl.TextSize = 16"; -_lbl.setTextSize((float) (16)); - //BA.debugLineNum = 77;BA.debugLine="lbl.TextColor = Colors.Black"; -_lbl.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 78;BA.debugLine="cd.Initialize2(Colors.white, 20, 1, Colors.Gray)"; -_cd.Initialize2(__c.Colors.White,(int) (20),(int) (1),__c.Colors.Gray); - //BA.debugLineNum = 79;BA.debugLine="panelX.Background = cd"; -_panelx.setBackground((android.graphics.drawable.Drawable)(_cd.getObject())); - //BA.debugLineNum = 80;BA.debugLine="panelSombra.AddView(panelX, 10dip, 0dip, 80%x, 20"; -_panelsombra.AddView((android.view.View)(_panelx.getObject()),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (0)),__c.PerXToCurrent((float) (80),ba),__c.DipToCurrent((int) (200))); - //BA.debugLineNum = 81;BA.debugLine="Root2.AddView(panelSombra, 0, 0, 100%x, 100%y) 'a"; -_root2.AddView((android.view.View)(_panelsombra.getObject()),(int) (0),(int) (0),__c.PerXToCurrent((float) (100),ba),__c.PerYToCurrent((float) (100),ba)); - //BA.debugLineNum = 82;BA.debugLine="panelX.AddView(lbl, 20dip, 20dip, (panelX.Width *"; -_panelx.AddView((android.view.View)(_lbl.getObject()),__c.DipToCurrent((int) (20)),__c.DipToCurrent((int) (20)),(int) ((_panelx.getWidth()*0.9)),__c.DipToCurrent((int) (40))); - //BA.debugLineNum = 83;BA.debugLine="lbl.Height = su.MeasureMultilineTextHeight(lbl, l"; -_lbl.setHeight(_su.MeasureMultilineTextHeight((android.widget.TextView)(_lbl.getObject()),BA.ObjectToCharSequence(_lbl.getText()))); - //BA.debugLineNum = 84;BA.debugLine="Private r(respuestas.Size) As RadioButton"; -_r = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper[_respuestas.getSize()]; -{ -int d0 = _r.length; -for (int i0 = 0;i0 < d0;i0++) { -_r[i0] = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); -} -} -; - //BA.debugLineNum = 85;BA.debugLine="For p = 0 To respuestas.Size - 1"; -{ -final int step23 = 1; -final int limit23 = (int) (_respuestas.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit23 ;_p = _p + step23 ) { - //BA.debugLineNum = 86;BA.debugLine="r(p).Initialize(\"r\")"; -_r[_p].Initialize(ba,"r"); - //BA.debugLineNum = 87;BA.debugLine="r(p).Text = respuestas.Get(p)"; -_r[_p].setText(BA.ObjectToCharSequence(_respuestas.Get(_p))); - //BA.debugLineNum = 88;BA.debugLine="r(p).Tag = CreateMap(\"id\":id, \"pregunta\":pregunt"; -_r[_p].setTag((Object)(__c.createMap(new Object[] {(Object)("id"),(Object)(_id),(Object)("pregunta"),(Object)(_pregunta),(Object)("panel"),(Object)(_panelsombra.getObject()),(Object)("idRespuesta"),(Object)(_p+1)}).getObject())); - //BA.debugLineNum = 89;BA.debugLine="panelX.AddView(r(p), 10dip, (70 * (p + 1)), (pan"; -_panelx.AddView((android.view.View)(_r[_p].getObject()),__c.DipToCurrent((int) (10)),(int) ((70*(_p+1))),(int) ((_panelx.getWidth()*0.9)),(int) (10)); - //BA.debugLineNum = 90;BA.debugLine="r(p).Height = su.MeasureMultilineTextHeight(r(p)"; -_r[_p].setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_r[_p].getObject()),BA.ObjectToCharSequence(_r[_p].getText()))+25)); - //BA.debugLineNum = 91;BA.debugLine="Private newTop As Int = lbl.top + lbl.Height + 1"; -_newtop = (int) (_lbl.getTop()+_lbl.getHeight()+10); - //BA.debugLineNum = 92;BA.debugLine="If p <> 0 Then newTop = r(p - 1).Top + r(p - 1)."; -if (_p!=0) { -_newtop = (int) (_r[(int) (_p-1)].getTop()+_r[(int) (_p-1)].getHeight()+5);}; - //BA.debugLineNum = 93;BA.debugLine="r(p).Top = newTop"; -_r[_p].setTop(_newtop); - } -}; - //BA.debugLineNum = 95;BA.debugLine="r(0).Checked = True"; -_r[(int) (0)].setChecked(__c.True); - //BA.debugLineNum = 96;BA.debugLine="bAceptarPregunta.Text = \"Continuar\""; -_baceptarpregunta.setText(BA.ObjectToCharSequence("Continuar")); - //BA.debugLineNum = 97;BA.debugLine="panelX.AddView(bAceptarPregunta, 10, newTop + r(r"; -_panelx.AddView((android.view.View)(_baceptarpregunta.getObject()),(int) (10),(int) (_newtop+_r[(int) (_respuestas.getSize()-1)].getHeight()+20),__c.DipToCurrent((int) (150)),__c.DipToCurrent((int) (50))); - //BA.debugLineNum = 98;BA.debugLine="bAceptarPregunta.Left = (panelX.Width / 2) - (bAc"; -_baceptarpregunta.setLeft((int) ((_panelx.getWidth()/(double)2)-(_baceptarpregunta.getWidth()/(double)2))); - //BA.debugLineNum = 99;BA.debugLine="panelX.Height = bAceptarPregunta.Top + bAceptarPr"; -_panelx.setHeight((int) (_baceptarpregunta.getTop()+_baceptarpregunta.getHeight()+__c.DipToCurrent((int) (15)))); - //BA.debugLineNum = 100;BA.debugLine="panelX.left = (Root2.Width / 2) - (panelX.Width /"; -_panelx.setLeft((int) ((_root2.getWidth()/(double)2)-(_panelx.getWidth()/(double)2))); - //BA.debugLineNum = 101;BA.debugLine="panelX.top = (Root2.Height / 3) - (panelX.Height"; -_panelx.setTop((int) ((_root2.getHeight()/(double)3)-(_panelx.getHeight()/(double)2))); - //BA.debugLineNum = 102;BA.debugLine="panelSombra.Width = Root2.Width"; -_panelsombra.setWidth(_root2.getWidth()); - //BA.debugLineNum = 103;BA.debugLine="panelSombra.Height = Root2.Height"; -_panelsombra.setHeight(_root2.getHeight()); - //BA.debugLineNum = 104;BA.debugLine="panelSombra.Elevation = 100"; -_panelsombra.setElevation((float) (100)); - //BA.debugLineNum = 105;BA.debugLine="panelSombra.BringToFront"; -_panelsombra.BringToFront(); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 31;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 33;BA.debugLine="End Sub"; -return ""; -} -public String _baceptarpregunta_click() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 122;BA.debugLine="Private Sub bAceptarPregunta_Click"; - //BA.debugLineNum = 123;BA.debugLine="encuestaIniciada = True"; -_encuestainiciada = __c.True; - //BA.debugLineNum = 124;BA.debugLine="Private m As Map = Sender.As(Button).tag.As(Map)"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.ButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ButtonWrapper(), (android.widget.Button)(__c.Sender(ba)))).getTag()))); - //BA.debugLineNum = 125;BA.debugLine="preguntaContestada(m)"; -_preguntacontestada(_m); - //BA.debugLineNum = 138;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private bAceptarPregunta As Button"; -_baceptarpregunta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Dim encuestaIniciada As Boolean = False"; -_encuestainiciada = __c.False; - //BA.debugLineNum = 6;BA.debugLine="Private Root2 As B4XView"; -_root2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; -_eventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; -_callback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Private vPreguntaActual As String"; -_vpreguntaactual = ""; - //BA.debugLineNum = 10;BA.debugLine="Private db As SQL"; -_db = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim panelSombra As Panel 'Panel de sombra."; -_panelsombra = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return ""; -} -public boolean _clienteconcuestionario(String _idcliente) throws Exception{ -boolean _r = false; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 141;BA.debugLine="Sub clienteConCuestionario(idCliente As String) As"; - //BA.debugLineNum = 142;BA.debugLine="Private r As Boolean = False"; -_r = __c.False; - //BA.debugLineNum = 143;BA.debugLine="Private c As Cursor = db.ExecQuery($\"select count"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("select count(*) as q from CUESTIONARIO where Q_IDCLIENTE = '"+__c.SmartStringFormatter("",(Object)(_idcliente))+"'")))); - //BA.debugLineNum = 144;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 145;BA.debugLine="If c.GetInt(\"q\") > 0 Then r = True"; -if (_c.GetInt("q")>0) { -_r = __c.True;}; - //BA.debugLineNum = 146;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return false; -} -public Object _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname,anywheresoftware.b4a.objects.B4XViewWrapper _vroot,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; - //BA.debugLineNum = 17;BA.debugLine="Root2 = vRoot"; -_root2 = _vroot; - //BA.debugLineNum = 18;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 19;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 20;BA.debugLine="db = skmt"; -_db = _skmt; - //BA.debugLineNum = 21;BA.debugLine="vPreguntaActual = 0"; -_vpreguntaactual = BA.NumberToString(0); - //BA.debugLineNum = 22;BA.debugLine="db.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CUEST"; -_db.ExecNonQuery("CREATE TABLE IF NOT EXISTS CUESTIONARIO (Q_RUTA TEXT, Q_ALMACEN TEXT, Q_IDCLIENTE TEXT, Q_IDPREGUNTA TEXT, Q_PREGUNTA TEXT, Q_IDRESPUESTA TEXT, Q_RESPUESTA TEXT, Q_FECHA TEXT, Q_ENVIO_OK INTEGER DEFAULT 0)"); - //BA.debugLineNum = 23;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ENVIO_OK\", \"TEXT"; -_agregacolumna("CUESTIONARIO","Q_ENVIO_OK","TEXT"); - //BA.debugLineNum = 24;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_RUTA\", \"TEXT\")"; -_agregacolumna("CUESTIONARIO","Q_RUTA","TEXT"); - //BA.debugLineNum = 25;BA.debugLine="agregaColumna(\"CUESTIONARIO\", \"Q_ALMACEN\", \"TEXT\""; -_agregacolumna("CUESTIONARIO","Q_ALMACEN","TEXT"); - //BA.debugLineNum = 26;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return null; -} -public String _ocultpanelpregunta() throws Exception{ - //BA.debugLineNum = 150;BA.debugLine="Sub ocultPanelPregunta"; - //BA.debugLineNum = 151;BA.debugLine="If panelSombra.IsInitialized Then panelSombra.Rem"; -if (_panelsombra.IsInitialized()) { -_panelsombra.RemoveView();}; - //BA.debugLineNum = 152;BA.debugLine="End Sub"; -return ""; -} -public String _preguntaactual() throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Sub preguntaActual As String 'ignore"; - //BA.debugLineNum = 42;BA.debugLine="Return vPreguntaActual"; -if (true) return _vpreguntaactual; - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public String _preguntacontestada(anywheresoftware.b4a.objects.collections.Map _success) throws Exception{ - //BA.debugLineNum = 109;BA.debugLine="private Sub preguntaContestada(Success As Map) 'ig"; - //BA.debugLineNum = 110;BA.debugLine="If SubExists(CallBack, EventName & \"_preguntaCont"; -if (__c.SubExists(ba,_callback,_eventname+"_preguntaContestada")) { - //BA.debugLineNum = 111;BA.debugLine="CallSubDelayed2(CallBack, EventName & \"_pregunta"; -__c.CallSubDelayed2(ba,_callback,_eventname+"_preguntaContestada",(Object)(_success)); - }; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; -return ""; -} -public String _psombra_click() throws Exception{ - //BA.debugLineNum = 115;BA.debugLine="private Sub pSombra_Click"; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public String _r_checkedchange(boolean _checked) throws Exception{ - //BA.debugLineNum = 118;BA.debugLine="private Sub r_CheckedChange(Checked As Boolean)"; - //BA.debugLineNum = 119;BA.debugLine="bAceptarPregunta.tag = CreateMap(\"idPregunta\":Sen"; -_baceptarpregunta.setTag((Object)(__c.createMap(new Object[] {(Object)("idPregunta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("id"))))),(Object)("pregunta"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("pregunta")),(Object)("idRespuesta"),(Object)((BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("idRespuesta"))))),(Object)("respuesta"),(Object)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getText()),(Object)("panel"),((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(((anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(), (android.widget.RadioButton)(__c.Sender(ba)))).getTag()))).Get((Object)("panel"))}).getObject())); - //BA.debugLineNum = 120;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_historico.java b/B4A/Objects/src/adm/keymon/com/mx/c_historico.java deleted file mode 100644 index c6f5d95..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_historico.java +++ /dev/null @@ -1,300 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_historico extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_historico"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_historico.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _clie_id = ""; -public String _sdate = ""; -public String _stime = ""; -public String _usuario = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public String _ruta = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _regresar = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public anywheresoftware.b4a.objects.ButtonWrapper _borra = null; -public String _existe = ""; -public String _result = ""; -public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_desc = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview2 = null; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 51;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 52;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 53;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 54;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 56;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 57;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 58;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 59;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 60;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 61;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 62;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HVD_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT from HIST_VENTAS WHERE HVD_CLIENTE IN (Select CUENTA from cuentaa) order by HVD_PRONOMBRE asc"))); - //BA.debugLineNum = 63;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 64;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 65;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step14 = 1; -final int limit14 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit14 ;_i = _i + step14 ) { - //BA.debugLineNum = 66;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 67;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 68;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 69;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 70;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 71;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 72;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 73;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 74;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 75;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"HVD_PRONOMBR"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("HVD_PRONOMBRE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("HVD_CANT")+" SubTotal $"+_c.GetString("HVD_COSTO_TOT"))); - } -}; - }; - //BA.debugLineNum = 78;BA.debugLine="If Existe <> 0 Then"; -if ((_existe).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 79;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(H"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(HVD_CANT) AS PC_NOART, SUM(HVD_COSTO_TOT) AS PC_MONTO from HIST_VENTAS where HVD_CLIENTE in (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 80;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 81;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 82;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; -_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); - }; - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_historico parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_historico parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 98;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent._b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 99;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 100;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 36;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 38;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 39;BA.debugLine="Root.LoadLayout(\"nota\")"; -_root.LoadLayout("nota",ba); - //BA.debugLineNum = 40;BA.debugLine="borra.Visible = False"; -_borra.setVisible(__c.False); - //BA.debugLineNum = 41;BA.debugLine="Titulo.Text = \"Acumulado\""; -_titulo.setText(BA.ObjectToCharSequence("Acumulado")); - //BA.debugLineNum = 42;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - //BA.debugLineNum = 43;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 44;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim Regresar As Button"; -_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; -_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 23;BA.debugLine="Private Titulo As Label"; -_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private b_desc As Button"; -_b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private ListView2 As ListView"; -_listview2 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 31;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemclick(int _position,Object _value) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _i = 0; - //BA.debugLineNum = 107;BA.debugLine="Sub ListView1_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 108;BA.debugLine="ListView2.Visible = True"; -_listview2.setVisible(__c.True); - //BA.debugLineNum = 109;BA.debugLine="ListView1.Visible = False"; -_listview1.setVisible(__c.False); - //BA.debugLineNum = 110;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 111;BA.debugLine="For i=0 To 20"; -{ -final int step4 = 1; -final int limit4 = (int) (20); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 112;BA.debugLine="label1 = ListView2.SingleLineLayout.Label"; -_label1 = _listview2.getSingleLineLayout().Label; - //BA.debugLineNum = 113;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 114;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 115;BA.debugLine="ListView2.AddSingleLine(i)"; -_listview2.AddSingleLine(BA.ObjectToCharSequence(_i)); - } -}; - //BA.debugLineNum = 117;BA.debugLine="End Sub"; -return ""; -} -public String _listview2_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Sub ListView2_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 103;BA.debugLine="ListView2.Visible = False"; -_listview2.setVisible(__c.False); - //BA.debugLineNum = 104;BA.debugLine="ListView1.Visible = True"; -_listview1.setVisible(__c.True); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return ""; -} -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 92;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_mapas.java b/B4A/Objects/src/adm/keymon/com/mx/c_mapas.java deleted file mode 100644 index 89576aa..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_mapas.java +++ /dev/null @@ -1,73 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_mapas extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_mapas"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_mapas.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_nota.java b/B4A/Objects/src/adm/keymon/com/mx/c_nota.java deleted file mode 100644 index 8df8243..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_nota.java +++ /dev/null @@ -1,591 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_nota extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_nota"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_nota.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _clie_id = ""; -public String _sdate = ""; -public String _stime = ""; -public String _usuario = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public String _ruta = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _regresar = null; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public anywheresoftware.b4a.objects.ButtonWrapper _borra = null; -public String _existe = ""; -public String _result = ""; -public String _desc = ""; -public anywheresoftware.b4a.objects.LabelWrapper _titulo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_desc = null; -public String _descuento = ""; -public String _folio = ""; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public String _almacen = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_nota = null; -public anywheresoftware.b4a.objects.collections.List _vamoaver = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _j3 = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 128;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _b_desc_click() throws Exception{ - //BA.debugLineNum = 241;BA.debugLine="Sub b_desc_Click"; - //BA.debugLineNum = 242;BA.debugLine="If DESCUENTO = \"MENOS\" Then"; -if ((_descuento).equals("MENOS")) { - //BA.debugLineNum = 243;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 244;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 245;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 246;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 247;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 248;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 249;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 250;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 251;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 252;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 253;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 254;BA.debugLine="result = Msgbox2(\"Seguro que desea dar descuent"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea dar descuento del 5%?"),BA.ObjectToCharSequence("Dar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 255;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 256;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT * .95, PE_DESC = 5 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 257;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 258;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 259;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 260;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 261;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 262;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else if((_descuento).equals("MAS")) { - //BA.debugLineNum = 265;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 266;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 267;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 268;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 269;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 270;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 271;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 272;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 273;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 274;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 275;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 276;BA.debugLine="result = Msgbox2(\"Seguro que desea CANCELAR el"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea CANCELAR el descuento?"),BA.ObjectToCharSequence("Cancelar descuento"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 277;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 278;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE ped"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE pedido SET PE_COSTO_TOT = PE_COSTO_TOT / .95, PE_DESC = 0 WHERE PE_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 279;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 280;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 281;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert in"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 283;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 284;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }; - //BA.debugLineNum = 287;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.CSBuilder _cs = null; -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _textcolor = 0; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 58;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 59;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 60;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 61;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 63;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 64;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 65;BA.debugLine="almacen = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 66;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 67;BA.debugLine="L_CANT.Text =\"\""; -_l_cant.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 68;BA.debugLine="L_TOTAL.Text=\"\""; -_l_total.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 69;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as EXISTE from pedido_cliente WHERE pc_cliente IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 70;BA.debugLine="C.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 71;BA.debugLine="Existe = C.GetString(\"EXISTE\")"; -_existe = _c.GetString("EXISTE"); - //BA.debugLineNum = 72;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 73;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE"))); - //BA.debugLineNum = 74;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 75;BA.debugLine="vamoaver.Initialize"; -_vamoaver.Initialize(); - //BA.debugLineNum = 76;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 77;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 78;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 79;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 80;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 81;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 82;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 83;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 84;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 85;BA.debugLine="label1.color = Colors.White"; -_label1.setColor(__c.Colors.White); - //BA.debugLineNum = 86;BA.debugLine="Private textColor As Int = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 87;BA.debugLine="If c.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; -if ((_c.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 88;BA.debugLine="textColor = Colors.RGB(48,3,195)"; -_textcolor = __c.Colors.RGB((int) (48),(int) (3),(int) (195)); - }else if((_c.GetString("PE_FOLIO")).equals("PREVENTA") || (_c.GetString("PE_FOLIO")).equals("ABORDO") || (_c.GetString("PE_FOLIO")).equals("RECARGA")) { - //BA.debugLineNum = 90;BA.debugLine="textColor = Colors.RGB(166,0,0)"; -_textcolor = __c.Colors.RGB((int) (166),(int) (0),(int) (0)); - }; - //BA.debugLineNum = 92;BA.debugLine="If Not(IsNumber(c.GetString(\"PE_CEDIS\"))) And c"; -if (__c.Not(__c.IsNumber(_c.GetString("PE_CEDIS"))) && (_c.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 93;BA.debugLine="textColor = Colors.RGB(154,131,231) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (154),(int) (131),(int) (231)); - }else if(__c.Not(__c.IsNumber(_c.GetString("PE_CEDIS"))) && (_c.GetString("PE_FOLIO")).equals("PREVENTA")) { - //BA.debugLineNum = 95;BA.debugLine="textColor = Colors.RGB(255,111,111) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (255),(int) (111),(int) (111)); - }; - //BA.debugLineNum = 97;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 98;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 99;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 100;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 101;BA.debugLine="ListView1.AddTwoLines(cs.Color(textColor).appen"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(_textcolor).Append(BA.ObjectToCharSequence(_c.GetString("PE_PRONOMBRE"))).Pop().getObject()),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("PE_CANT")+" SubTotal $"+_c.GetString("PE_COSTO_TOT")+" Folio "+_c.GetString("PE_FOLIO"))); - //BA.debugLineNum = 102;BA.debugLine="folio = c.GetString(\"PE_FOLIO\")"; -_folio = _c.GetString("PE_FOLIO"); - //BA.debugLineNum = 103;BA.debugLine="vamoaver.Add(c.GetString(\"PE_FOLIO\"))"; -_vamoaver.Add((Object)(_c.GetString("PE_FOLIO"))); - } -}; - }; - //BA.debugLineNum = 106;BA.debugLine="Log($\"EXISTE: ${Existe}\"$)"; -__c.LogImpl("347972400",("EXISTE: "+__c.SmartStringFormatter("",(Object)(_existe))+""),0); - //BA.debugLineNum = 109;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP ) "))); - //BA.debugLineNum = 110;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 111;BA.debugLine="C.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 112;BA.debugLine="Log($\"registros: ${c.RowCount}, arts: ${c.GetStr"; -__c.LogImpl("347972406",("registros: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+", arts: "+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_NOART")))+", monto:"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_MONTO")))+""),0); - //BA.debugLineNum = 113;BA.debugLine="L_CANT.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 114;BA.debugLine="L_TOTAL.Text = c.GetString(\"PC_MONTO\")"; -_l_total.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 115;BA.debugLine="If L_CANT.Text = Null Or L_CANT.Text = \"null\" Or"; -if (_l_cant.getText()== null || (_l_cant.getText()).equals("null") || (_l_cant.getText()).equals("")) { -_l_cant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 116;BA.debugLine="If L_TOTAL.Text = Null Or L_TOTAL.Text = \"null\""; -if (_l_total.getText()== null || (_l_total.getText()).equals("null") || (_l_total.getText()).equals("")) { -_l_total.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 117;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 118;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM(I"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(IFNULL(PE_DESC,0)) AS DESCUENTO FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 119;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 120;BA.debugLine="DESC = c.GetString(\"DESCUENTO\")"; -_desc = _c.GetString("DESCUENTO"); - //BA.debugLineNum = 121;BA.debugLine="b_desc.Visible = False"; -_b_desc.setVisible(__c.False); - }; - //BA.debugLineNum = 125;BA.debugLine="If Subs.pedidoGuardado Then borra.Enabled = False"; -if (_subs._pedidoguardado /*boolean*/ (ba)) { -_borra.setEnabled(__c.False);} -else { -_borra.setEnabled(__c.True);}; - //BA.debugLineNum = 126;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_nota parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_nota parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 144;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 145;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 43;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 44;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 45;BA.debugLine="Root.LoadLayout(\"nota\")"; -_root.LoadLayout("nota",ba); - //BA.debugLineNum = 46;BA.debugLine="borra.Visible = True"; -_borra.setVisible(__c.True); - //BA.debugLineNum = 47;BA.debugLine="Titulo.Text = \"Pedido Actual\""; -_titulo.setText(BA.ObjectToCharSequence("Pedido Actual")); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _borra_click() throws Exception{ - //BA.debugLineNum = 148;BA.debugLine="Sub borra_Click"; - //BA.debugLineNum = 150;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar el pe"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar el pedido?"),BA.ObjectToCharSequence("Cancelar pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 151;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 163;BA.debugLine="Subs.borraPedidoClienteActual"; -_subs._borrapedidoclienteactual /*String*/ (ba); - //BA.debugLineNum = 164;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 165;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); - }; - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 6;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 7;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim Regresar As Button"; -_regresar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim L_CANT As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim L_TOTAL As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim borra As Button"; -_borra = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim Existe As String"; -_existe = ""; - //BA.debugLineNum = 20;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim DESC As String"; -_desc = ""; - //BA.debugLineNum = 24;BA.debugLine="Private Titulo As Label"; -_titulo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private b_desc As Button"; -_b_desc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim DESCUENTO As String"; -_descuento = ""; - //BA.debugLineNum = 27;BA.debugLine="Dim folio As String"; -_folio = ""; - //BA.debugLineNum = 28;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 29;BA.debugLine="Private almacen As String"; -_almacen = ""; - //BA.debugLineNum = 30;BA.debugLine="Private p_nota As Panel"; -_p_nota = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim vamoaver As List"; -_vamoaver = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 32;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Dim j3 As Cursor"; -_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 37;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 38;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ -int _i = 0; - //BA.debugLineNum = 172;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 173;BA.debugLine="Log(Value)"; -__c.LogImpl("348365569",BA.ObjectToString(_value),0); - //BA.debugLineNum = 174;BA.debugLine="If Not(Subs.pedidoGuardado) Then"; -if (__c.Not(_subs._pedidoguardado /*boolean*/ (ba))) { - //BA.debugLineNum = 175;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 176;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 177;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 178;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 179;BA.debugLine="Log(vamoaver.Get(Position))"; -__c.LogImpl("348365575",BA.ObjectToString(_vamoaver.Get(_position)),0); - //BA.debugLineNum = 180;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then"; -if ((_vamoaver.Get(_position)).equals((Object)("VENTA"))) { - //BA.debugLineNum = 181;BA.debugLine="Log(\"CAT_GUNAPROD2\")"; -__c.LogImpl("348365577","CAT_GUNAPROD2",0); - //BA.debugLineNum = 182;BA.debugLine="Log(Position)"; -__c.LogImpl("348365578",BA.NumberToString(_position),0); - //BA.debugLineNum = 183;BA.debugLine="Log(Value)"; -__c.LogImpl("348365579",BA.ObjectToString(_value),0); - //BA.debugLineNum = 184;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; -_starter._tabla /*String*/ = "CAT_GUNAPROD2"; - }else { - //BA.debugLineNum = 186;BA.debugLine="Log(\"CAT_GUNAPROD\")"; -__c.LogImpl("348365582","CAT_GUNAPROD",0); - //BA.debugLineNum = 187;BA.debugLine="Log(Position)"; -__c.LogImpl("348365583",BA.NumberToString(_position),0); - //BA.debugLineNum = 188;BA.debugLine="Log(Value)"; -__c.LogImpl("348365584",BA.ObjectToString(_value),0); - //BA.debugLineNum = 189;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; -_starter._tabla /*String*/ = "CAT_GUNAPROD"; - }; - //BA.debugLineNum = 192;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 193;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select c"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select count(*) AS CUANTOS from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID in (select pe_cedis from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa)) and CAT_GP_CLASIF = 'PROMOS' AND CAT_GP_TIPO = 'PROMOS' AND CAT_GP_SUBTIPO = 'PROMOS'"),new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 194;BA.debugLine="c2.Position=0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 195;BA.debugLine="Log(c2.GetString(\"CUANTOS\"))"; -__c.LogImpl("348365591",_c2.GetString("CUANTOS"),0); - //BA.debugLineNum = 196;BA.debugLine="If c2.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c2.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 197;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ?)",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 198;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("348365594",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 199;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 200;BA.debugLine="Log(\"estoy aqui\")"; -__c.LogImpl("348365596","estoy aqui",0); - //BA.debugLineNum = 201;BA.debugLine="For i = 0 To j3.RowCount -1"; -{ -final int step28 = 1; -final int limit28 = (int) (_j3.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit28 ;_i = _i + step28 ) { - //BA.debugLineNum = 202;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("348365598","aqui tronare?",0); - //BA.debugLineNum = 203;BA.debugLine="j3.Position = i"; -_j3.setPosition(_i); - //BA.debugLineNum = 204;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 205;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_FOLIO"))})); - } -}; - }; - //BA.debugLineNum = 208;BA.debugLine="j3.Close"; -_j3.Close(); - }else { - //BA.debugLineNum = 210;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update $"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 211;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value,(Object)(_c.GetString("PE_FOLIO"))})); - }; - //BA.debugLineNum = 213;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 214;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 215;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 216;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 217;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 218;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUEN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 219;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 220;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 221;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 222;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 223;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 224;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 225;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 226;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 227;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 228;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 229;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - }else { - //BA.debugLineNum = 231;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 232;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - }; - //BA.debugLineNum = 234;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - }else { - //BA.debugLineNum = 237;BA.debugLine="ToastMessageShow(\"Pedido guardado, NO se puede e"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Pedido guardado, NO se puede editar."),__c.False); - }; - //BA.debugLineNum = 239;BA.debugLine="End Sub"; -return ""; -} -public String _p_nota_click() throws Exception{ - //BA.debugLineNum = 289;BA.debugLine="Private Sub p_nota_Click"; - //BA.debugLineNum = 291;BA.debugLine="End Sub"; -return ""; -} -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 138;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_noventa.java b/B4A/Objects/src/adm/keymon/com/mx/c_noventa.java deleted file mode 100644 index 0fe9987..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_noventa.java +++ /dev/null @@ -1,370 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_noventa extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_noventa"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_noventa.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _ruta = ""; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.objects.ButtonWrapper _cancela = null; -public anywheresoftware.b4a.objects.ButtonWrapper _guarda = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_1 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_2 = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_3 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _e_comm = null; -public String _motivo = ""; -public String _cuenta = ""; -public String _usuario = ""; -public String _sdate = ""; -public String _stime = ""; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; -public adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public String _stay_hh = ""; -public String _stay_mi = ""; -public String _stay_ss = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 51;BA.debugLine="e_comm.Text=\"\""; -_e_comm.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 52;BA.debugLine="tgl.Initialize"; -_tgl.Initialize(ba); - //BA.debugLineNum = 53;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 54;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 55;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 57;BA.debugLine="r_1.Checked = False"; -_r_1.setChecked(__c.False); - //BA.debugLineNum = 58;BA.debugLine="r_2.Checked = False"; -_r_2.setChecked(__c.False); - //BA.debugLineNum = 59;BA.debugLine="r_3.Checked = False"; -_r_3.setChecked(__c.False); - //BA.debugLineNum = 60;BA.debugLine="r_4.Checked = False"; -_r_4.setChecked(__c.False); - //BA.debugLineNum = 61;BA.debugLine="e_comm.Text = \"\""; -_e_comm.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 36;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 38;BA.debugLine="Root.LoadLayout(\"noventa\")"; -_root.LoadLayout("noventa",ba); - //BA.debugLineNum = 39;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 41;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 42;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 44;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; -_reqmanager._initialize /*String*/ (ba,this,_starter._dbreqserver /*String*/ ); - //BA.debugLineNum = 46;BA.debugLine="End Sub"; -return ""; -} -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 69;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 70;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 71;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim CANCELA As Button"; -_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim GUARDA As Button"; -_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim r_1 As RadioButton"; -_r_1 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim r_2 As RadioButton"; -_r_2 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim r_3 As RadioButton"; -_r_3 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim e_comm As EditText"; -_e_comm = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim motivo As String"; -_motivo = ""; - //BA.debugLineNum = 17;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 21;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 22;BA.debugLine="Dim r_4 As RadioButton"; -_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 24;BA.debugLine="Private stay_hh As String"; -_stay_hh = ""; - //BA.debugLineNum = 25;BA.debugLine="Private stay_mi As String"; -_stay_mi = ""; - //BA.debugLineNum = 26;BA.debugLine="Private stay_ss As String"; -_stay_ss = ""; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return ""; -} -public String _guarda_click() throws Exception{ -int _i = 0; - //BA.debugLineNum = 72;BA.debugLine="Sub GUARDA_Click"; - //BA.debugLineNum = 73;BA.debugLine="If r_1.Checked Then"; -if (_r_1.getChecked()) { - //BA.debugLineNum = 74;BA.debugLine="motivo = \"CERRADO\""; -_motivo = "CERRADO"; - }else if(_r_2.getChecked()) { - //BA.debugLineNum = 76;BA.debugLine="motivo = \"NO COMPRA\""; -_motivo = "NO COMPRA"; - }else if(_r_3.getChecked()) { - //BA.debugLineNum = 78;BA.debugLine="motivo = \"CON PRODUCTO\""; -_motivo = "CON PRODUCTO"; - }else { - //BA.debugLineNum = 80;BA.debugLine="motivo = \"NO ESTA EL ENCARGADO\""; -_motivo = "NO ESTA EL ENCARGADO"; - }; - //BA.debugLineNum = 82;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 83;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 84;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 85;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CUENTA from cuentaa"))); - //BA.debugLineNum = 86;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 87;BA.debugLine="cuenta = c.GetString(\"CUENTA\")"; -_cuenta = _c.GetString("CUENTA"); - //BA.debugLineNum = 88;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 89;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 90;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 91;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PE_PRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID,PE_CANT FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); - //BA.debugLineNum = 92;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 93;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step21 = 1; -final int limit21 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit21 ;_i = _i + step21 ) { - //BA.debugLineNum = 94;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update ca"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen + ? where cat_gp_id = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PROID"))})); - } -}; - }; - //BA.debugLineNum = 103;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO NOVENTA (NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON) VALUES(?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cuenta),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_motivo),(Object)(_e_comm.getText()),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ )})); - //BA.debugLineNum = 104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 3 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 105;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 106;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 107;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_OUT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 110;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\" Select (subs"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(" Select (substr(HSS_OUT,1,2) - substr(HSS_IN,1,2)) - Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then 1 Else 0 end HORAS_TOTALES, "+"Case when (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) < 0 Then (substr(HSS_OUT,3,2) + 60 - substr(HSS_IN,3,2)) "+" Else (substr(HSS_OUT,3,2) - substr(HSS_IN,3,2)) End - Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then 1 Else 0 end MINUTOS_TOTALES, "+"Case when (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) < 0 Then (substr(HSS_OUT,5,2) + 60 - substr(HSS_IN,5,2)) "+" Else (substr(HSS_OUT,5,2) - substr(HSS_IN,5,2)) end SEGUNDOS_TOTALES "+" from HIST_STAY_STORE where HSS_CODIGO In (Select cuenta from cuentaa) "))); - //BA.debugLineNum = 116;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 117;BA.debugLine="stay_hh = c.GetString(\"HORAS_TOTALES\") * 60 * 60"; -_stay_hh = BA.NumberToString((double)(Double.parseDouble(_c.GetString("HORAS_TOTALES")))*60*60); - //BA.debugLineNum = 118;BA.debugLine="stay_mi = c.GetString(\"MINUTOS_TOTALES\") * 60"; -_stay_mi = BA.NumberToString((double)(Double.parseDouble(_c.GetString("MINUTOS_TOTALES")))*60); - //BA.debugLineNum = 119;BA.debugLine="stay_ss = c.GetString(\"SEGUNDOS_TOTALES\")"; -_stay_ss = _c.GetString("SEGUNDOS_TOTALES"); - //BA.debugLineNum = 121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_TOT = ? where HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)((double)(Double.parseDouble(_stay_hh))+(double)(Double.parseDouble(_stay_mi))+(double)(Double.parseDouble(_stay_ss)))})); - //BA.debugLineNum = 122;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIST"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_OUT set HSO_FIN = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - //BA.debugLineNum = 123;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 125;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PEDI"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_INICIO_FINAL set PIF_HORA_FINAL = ? where PIF_CLIENTE = ? and PIF_HORA_FINAL = 0",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(__c.DateTime.getNow()),(Object)(_cuenta)})); - //BA.debugLineNum = 126;BA.debugLine="LogColor($\"actualizamos \"${cuenta}, hora_final=$"; -__c.LogImpl("348955446",("actualizamos \""+__c.SmartStringFormatter("",(Object)(_cuenta))+", hora_final="+__c.SmartStringFormatter("",(Object)(__c.DateTime.getNow()))+""),__c.Colors.Red); - //BA.debugLineNum = 128;BA.debugLine="mandaPendientesnoventa"; -_mandapendientesnoventa(); - //BA.debugLineNum = 129;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 30;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 31;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return null; -} -public String _jobdone(adm.keymon.com.mx.httpjob _job) throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; -String _cliente = ""; -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 150;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 151;BA.debugLine="Log(Job.Success)"; -__c.LogImpl("349086465",BA.ObjectToString(_job._success /*boolean*/ ),0); - //BA.debugLineNum = 152;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 153;BA.debugLine="ToastMessageShow(\"Error: \" & Job.ErrorMessage, Tr"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_job._errormessage /*String*/ ),__c.True); - }else { - //BA.debugLineNum = 155;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job)"; -__c.LogImpl("349086469","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.Green); - //BA.debugLineNum = 156;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 157;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJob"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 158;BA.debugLine="If resultado.Tag.As(String).IndexOf(\"insert_nov"; -if ((BA.ObjectToString(_resultado.Tag /*Object*/ )).indexOf("insert_noventa_")>-1) { - //BA.debugLineNum = 159;BA.debugLine="Private cliente As String= resultado.Tag"; -_cliente = BA.ObjectToString(_resultado.Tag /*Object*/ ); - //BA.debugLineNum = 160;BA.debugLine="cliente = cliente.SubString(cliente.IndexOf(\"_\""; -_cliente = _cliente.substring((int) (_cliente.indexOf("_")+9)); - //BA.debugLineNum = 161;BA.debugLine="Log($\"Cliente1:${cliente}\"$)"; -__c.LogImpl("349086475",("Cliente1:"+__c.SmartStringFormatter("",(Object)(_cliente))+""),0); - //BA.debugLineNum = 162;BA.debugLine="Starter.skmt.ExecNonQuery($\"update NOVENTA set"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update NOVENTA set NV_ENVIO_OK = '1' where NV_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_cliente))+"'")); - //BA.debugLineNum = 163;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen13 = group13.getSize() -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_records = (Object[])(group13.Get(index13)); - //BA.debugLineNum = 164;BA.debugLine="For Each k As String In resultado.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group14 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen14 = group14.getSize() -;int index14 = 0; -; -for (; index14 < groupLen14;index14++){ -_k = BA.ObjectToString(group14.Get(index14)); - //BA.debugLineNum = 165;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & records"; -__c.LogImpl("349086479",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - }; - }; - //BA.debugLineNum = 170;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - }; - //BA.debugLineNum = 172;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientesnoventa() throws Exception{ -int _i = 0; -adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 132;BA.debugLine="Sub mandaPendientesnoventa"; - //BA.debugLineNum = 135;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM NOVENTA where ifnull(NV_ENVIO_OK, 0) <> 1"))); - //BA.debugLineNum = 136;BA.debugLine="Log($\"NO VENTA PENDIENTE: ${c.RowCount}\"$)"; -__c.LogImpl("349020932",("NO VENTA PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0); - //BA.debugLineNum = 137;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 138;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step4 = 1; -final int limit4 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 139;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 140;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 141;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 142;BA.debugLine="cmd.Name = \"insert_noventa_ADM\""; -_cmd.Name /*String*/ = "insert_noventa_ADM"; - //BA.debugLineNum = 143;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"N"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_subs._traeruta /*String*/ (ba))}; - //BA.debugLineNum = 144;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"insert_novent"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("insert_noventa_"+__c.SmartStringFormatter("",(Object)(_c.GetString("NV_CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 148;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((adm.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_nuevocliente.java b/B4A/Objects/src/adm/keymon/com/mx/c_nuevocliente.java deleted file mode 100644 index cfe2ed6..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_nuevocliente.java +++ /dev/null @@ -1,569 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_nuevocliente extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_nuevocliente"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_nuevocliente.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _ruta = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.objects.ButtonWrapper _cancela = null; -public anywheresoftware.b4a.objects.ButtonWrapper _guarda = null; -public String _cuenta = ""; -public String _usuario = ""; -public String _sdate = ""; -public String _stime = ""; -public String _sdate2 = ""; -public String _stime2 = ""; -public String _no_cliente = ""; -public String _no_ruta = ""; -public anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper _r_4 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _e_nombre = null; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_sinubicacion = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_nuevocliente = null; -public anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botones = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_cam = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_camara = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_foto_inci = null; -public boolean _frontcamera = false; -public String _fototomada = ""; -public String _almacen = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _et_direccion = null; -public anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -public double _lat = 0; -public double _lon = 0; -public anywheresoftware.b4a.objects.LabelWrapper _b_ubicacion = null; -public anywheresoftware.b4a.objects.LabelWrapper _label3 = null; -public adm.keymon.com.mx.b4xcombobox _cb_giro = null; -public String _giros = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_atiende = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_atiende = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.collections.List _items = null; -int _i = 0; - //BA.debugLineNum = 90;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 91;BA.debugLine="et_direccion.Text = \"\""; -_et_direccion.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 92;BA.debugLine="E_NOMBRE.Text = \"\""; -_e_nombre.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 93;BA.debugLine="ET_Atiende.Text = \"\""; -_et_atiende.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 94;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 95;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 96;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 98;BA.debugLine="GUARDA.Visible = False"; -_guarda.setVisible(__c.False); - //BA.debugLineNum = 99;BA.debugLine="Subs.panelVisible(p_nuevoCliente, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_nuevocliente,(int) (0),(int) (0)); - //BA.debugLineNum = 100;BA.debugLine="p_nuevoCliente.Height = Root.Height"; -_p_nuevocliente.setHeight(_root.getHeight()); - //BA.debugLineNum = 101;BA.debugLine="p_nuevoCliente.Width = Root.Width"; -_p_nuevocliente.setWidth(_root.getWidth()); - //BA.debugLineNum = 102;BA.debugLine="Subs.centraEtiqueta(Label1, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label1,_root.getWidth()); - //BA.debugLineNum = 103;BA.debugLine="Subs.centraEtiqueta(Label2, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label2,_root.getWidth()); - //BA.debugLineNum = 104;BA.debugLine="Subs.centraEtiqueta(Label3, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_label3,_root.getWidth()); - //BA.debugLineNum = 105;BA.debugLine="Subs.centraEtiqueta(l_sinUbicacion, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_l_sinubicacion,_root.getWidth()); - //BA.debugLineNum = 106;BA.debugLine="Subs.centraEtiqueta(b_ubicacion, Root.Width)"; -_subs._centraetiqueta /*String*/ (ba,_b_ubicacion,_root.getWidth()); - //BA.debugLineNum = 107;BA.debugLine="Subs.centraPanel(p_botones, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_botones,_root.getWidth()); - //BA.debugLineNum = 108;BA.debugLine="E_NOMBRE.Left = Round(Root.Width/2)-(E_NOMBRE.Wid"; -_e_nombre.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_e_nombre.getWidth()/(double)2))); - //BA.debugLineNum = 109;BA.debugLine="et_direccion.Left = Round(Root.Width/2)-(E_NOMBRE"; -_et_direccion.setLeft((int) (__c.Round(_root.getWidth()/(double)2)-(_e_nombre.getWidth()/(double)2))); - //BA.debugLineNum = 110;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; -if ((_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { - //BA.debugLineNum = 111;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; -_guarda.setVisible(__c.True); - //BA.debugLineNum = 112;BA.debugLine="l_sinUbicacion.Visible = True"; -_l_sinubicacion.setVisible(__c.True); - }; - //BA.debugLineNum = 115;BA.debugLine="If Not(Starter.GPS.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 116;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equipo"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),__c.True); - //BA.debugLineNum = 117;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }else { - //BA.debugLineNum = 119;BA.debugLine="Starter.GPS.Start(0, 0)"; -_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(ba,(long) (0),(float) (0)); - }; - //BA.debugLineNum = 122;BA.debugLine="CallSubDelayed(Tracker, \"StartFLPSmall\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLPSmall"); - //BA.debugLineNum = 124;BA.debugLine="c = Starter.skmt.ExecQuery(\"SELECT GIRO FROM CAT_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT GIRO FROM CAT_GIRO order by 1"))); - //BA.debugLineNum = 125;BA.debugLine="Dim Items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 126;BA.debugLine="Items.Initialize"; -_items.Initialize(); - //BA.debugLineNum = 127;BA.debugLine="Items.Add(\"SELECCIONA UNA OPCIÓN\")"; -_items.Add((Object)("SELECCIONA UNA OPCIÓN")); - //BA.debugLineNum = 128;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 129;BA.debugLine="For i = 0 To c.RowCount-1"; -{ -final int step36 = 1; -final int limit36 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit36 ;_i = _i + step36 ) { - //BA.debugLineNum = 130;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 131;BA.debugLine="Items.Add(c.GetString(\"GIRO\"))"; -_items.Add((Object)(_c.GetString("GIRO"))); - } -}; - //BA.debugLineNum = 133;BA.debugLine="cb_giro.SetItems(Items)"; -_cb_giro._setitems /*String*/ (_items); - }; - //BA.debugLineNum = 135;BA.debugLine="giros = \"SELECCIONA UNA OPCIÓN\""; -_giros = "SELECCIONA UNA OPCIÓN"; - //BA.debugLineNum = 136;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 137;BA.debugLine="End Sub"; -return ""; -} -public void _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -ResumableSub_B4XPage_Created rsub = new ResumableSub_B4XPage_Created(this,_root1); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Created extends BA.ResumableSub { -public ResumableSub_B4XPage_Created(adm.keymon.com.mx.c_nuevocliente parent,anywheresoftware.b4a.objects.B4XViewWrapper _root1) { -this.parent = parent; -this._root1 = _root1; -} -adm.keymon.com.mx.c_nuevocliente parent; -anywheresoftware.b4a.objects.B4XViewWrapper _root1; -String _permission = ""; -boolean _result = false; - -@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 = 52;BA.debugLine="Root = Root1"; -parent._root = _root1; - //BA.debugLineNum = 54;BA.debugLine="Root.LoadLayout(\"nuevocliente\")"; -parent._root.LoadLayout("nuevocliente",ba); - //BA.debugLineNum = 55;BA.debugLine="ruta = File.DirInternal"; -parent._ruta = parent.__c.File.getDirInternal(); - //BA.debugLineNum = 56;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (parent.__c.File.Exists(parent._ruta,"kmt.db")==parent.__c.False) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 57;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -parent.__c.File.Copy(parent.__c.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 71;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_WRITE_EXTERNAL_STORAGE); - //BA.debugLineNum = 72;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 17; -return; -case 17: -//C -this.state = 5; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 73;BA.debugLine="If Result Then"; -if (true) break; - -case 5: -//if -this.state = 10; -if (_result) { -this.state = 7; -}else { -this.state = 9; -}if (true) break; - -case 7: -//C -this.state = 10; - //BA.debugLineNum = 74;BA.debugLine="Log(\"Con permisos para escritura\")"; -parent.__c.LogImpl("351773464","Con permisos para escritura",0); - if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 76;BA.debugLine="ToastMessageShow(\"Sin permisos de escritura!!!\","; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de escritura!!!"),parent.__c.True); - if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 79;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(ba,parent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_READ_EXTERNAL_STORAGE); - //BA.debugLineNum = 80;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 18; -return; -case 18: -//C -this.state = 11; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 81;BA.debugLine="If Result Then"; -if (true) break; - -case 11: -//if -this.state = 16; -if (_result) { -this.state = 13; -}else { -this.state = 15; -}if (true) break; - -case 13: -//C -this.state = 16; - //BA.debugLineNum = 82;BA.debugLine="Log(\"Con permisos para escritura\")"; -parent.__c.LogImpl("351773472","Con permisos para escritura",0); - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Sin permisos de lectura!!!\", T"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos de lectura!!!"),parent.__c.True); - if (true) break; - -case 16: -//C -this.state = -1; -; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public String _cancela_click() throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Sub CANCELA_Click"; - //BA.debugLineNum = 158;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -_b4xpages._showpage /*String*/ (ba,"Principal"); - //BA.debugLineNum = 159;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 160;BA.debugLine="End Sub"; -return ""; -} -public String _cb_giro_selectedindexchanged(int _index) throws Exception{ - //BA.debugLineNum = 334;BA.debugLine="Private Sub cb_giro_SelectedIndexChanged (Index As"; - //BA.debugLineNum = 335;BA.debugLine="giros = cb_giro.SelectedItem"; -_giros = _cb_giro._getselecteditem /*String*/ (); - //BA.debugLineNum = 336;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim CANCELA As Button"; -_cancela = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim GUARDA As Button"; -_guarda = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim cuenta As String"; -_cuenta = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 14;BA.debugLine="Dim sDate2,sTime2 As String"; -_sdate2 = ""; -_stime2 = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim no_cliente As String"; -_no_cliente = ""; - //BA.debugLineNum = 16;BA.debugLine="Dim no_ruta As String"; -_no_ruta = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim r_4 As RadioButton"; -_r_4 = new anywheresoftware.b4a.objects.CompoundButtonWrapper.RadioButtonWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim E_NOMBRE As EditText"; -_e_nombre = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 21;BA.debugLine="Private l_sinUbicacion As Label"; -_l_sinubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private p_nuevoCliente As Panel"; -_p_nuevocliente = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Private Label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Private p_botones As Panel"; -_p_botones = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Private p_cam As Panel"; -_p_cam = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Private p_camara As Panel"; -_p_camara = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Private b_foto_inci As Button"; -_b_foto_inci = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim frontCamera As Boolean = False"; -_frontcamera = __c.False; - //BA.debugLineNum = 30;BA.debugLine="Dim fototomada As String = \"0\""; -_fototomada = "0"; - //BA.debugLineNum = 31;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 32;BA.debugLine="Private et_direccion As EditText"; -_et_direccion = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private Label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Dim lat As Double = 0"; -_lat = 0; - //BA.debugLineNum = 35;BA.debugLine="Dim lon As Double = 0"; -_lon = 0; - //BA.debugLineNum = 36;BA.debugLine="Private b_ubicacion As Label"; -_b_ubicacion = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private Label3 As Label"; -_label3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private cb_giro As B4XComboBox"; -_cb_giro = new adm.keymon.com.mx.b4xcombobox(); - //BA.debugLineNum = 39;BA.debugLine="Dim giros As String"; -_giros = ""; - //BA.debugLineNum = 40;BA.debugLine="Private L_Atiende As Label"; -_l_atiende = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private ET_Atiende As EditText"; -_et_atiende = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 139;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 140;BA.debugLine="If B4XPages.MainPage.lat_gps <> \"0.0\" Then"; -if ((_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ).equals("0.0") == false) { - //BA.debugLineNum = 141;BA.debugLine="GUARDA.Visible = True 'Si hay ubicaccion, mostra"; -_guarda.setVisible(__c.True); - //BA.debugLineNum = 142;BA.debugLine="l_sinUbicacion.Visible = True"; -_l_sinubicacion.setVisible(__c.True); - //BA.debugLineNum = 143;BA.debugLine="lat = Location1.Latitude"; -_lat = _location1.getLatitude(); - //BA.debugLineNum = 144;BA.debugLine="lon = Location1.Longitude"; -_lon = _location1.getLongitude(); - //BA.debugLineNum = 145;BA.debugLine="l_sinUbicacion.Text = (\"Latitud: \" & lat & \", Lo"; -_l_sinubicacion.setText(BA.ObjectToCharSequence(("Latitud: "+BA.NumberToString(_lat)+", Longotud: "+BA.NumberToString(_lon)))); - }; - //BA.debugLineNum = 148;BA.debugLine="b_ubicacion.TextSize = 13"; -_b_ubicacion.setTextSize((float) (13)); - //BA.debugLineNum = 149;BA.debugLine="b_ubicacion.Text = $\"Precisión GPS $1.0{Location1"; -_b_ubicacion.setText(BA.ObjectToCharSequence(("Precisión GPS "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); - //BA.debugLineNum = 150;BA.debugLine="If Location1.Accuracy > 200 Then"; -if (_location1.getAccuracy()>200) { - //BA.debugLineNum = 151;BA.debugLine="b_ubicacion.TextColor = Colors.Red"; -_b_ubicacion.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 152;BA.debugLine="b_ubicacion.TextSize = 16"; -_b_ubicacion.setTextSize((float) (16)); - //BA.debugLineNum = 153;BA.debugLine="b_ubicacion.Text = $\"Mala señal $1.0{Location1.A"; -_b_ubicacion.setText(BA.ObjectToCharSequence(("Mala señal "+__c.SmartStringFormatter("1.0",(Object)(_location1.getAccuracy()))+" m"))); - }; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public String _guarda_click() throws Exception{ -String _hora = ""; -String _mins = ""; -String _segs = ""; - //BA.debugLineNum = 162;BA.debugLine="Sub GUARDA_Click"; - //BA.debugLineNum = 164;BA.debugLine="If E_NOMBRE.Text = \"\" Then"; -if ((_e_nombre.getText()).equals("")) { - //BA.debugLineNum = 165;BA.debugLine="MsgboxAsync(\"Por favor captura el nombre de la T"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el nombre de la Tienda"),BA.ObjectToCharSequence("Atención"),ba); - }else if(_et_direccion.getText().length()>3) { - //BA.debugLineNum = 169;BA.debugLine="If lat <> 0 Then"; -if (_lat!=0) { - //BA.debugLineNum = 171;BA.debugLine="If giros <> \"SELECCIONA UNA OPCIÓN\" Or cb_giro."; -if ((_giros).equals("SELECCIONA UNA OPCIÓN") == false || (_cb_giro._getselecteditem /*String*/ ()).equals("SELECCIONA UNA OPCIÓN") == false) { - //BA.debugLineNum = 173;BA.debugLine="If ET_Atiende.Text <> \"\" Then"; -if ((_et_atiende.getText()).equals("") == false) { - //BA.debugLineNum = 174;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 175;BA.debugLine="DateTime.Timeformat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 176;BA.debugLine="sDate = DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 177;BA.debugLine="sTime = DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 178;BA.debugLine="Log($\" //////////// Date: ${sDate} - Time:"; -__c.LogImpl("352035600",(" //////////// Date: "+__c.SmartStringFormatter("",(Object)(_sdate))+" - Time: "+__c.SmartStringFormatter("",(Object)(_stime))+" ////////////////"),0); - //BA.debugLineNum = 180;BA.debugLine="Private hora As String = sTime.SubString2(0,2"; -_hora = _stime.substring((int) (0),(int) (2)); - //BA.debugLineNum = 181;BA.debugLine="Private mins As String = sTime.SubString2(2,4"; -_mins = _stime.substring((int) (2),(int) (4)); - //BA.debugLineNum = 182;BA.debugLine="Private segs As String = sTime.SubString(4)"; -_segs = _stime.substring((int) (4)); - //BA.debugLineNum = 183;BA.debugLine="sTime = hora & \":\" & mins & \":\" & segs"; -_stime = _hora+":"+_mins+":"+_segs; - //BA.debugLineNum = 184;BA.debugLine="Log(\"////////////// sTime: \"&sTime&\" ////////"; -__c.LogImpl("352035606","////////////// sTime: "+_stime+" ////////////////",0); - //BA.debugLineNum = 185;BA.debugLine="c = Starter.skmt.ExecQuery(\"select CAT_CL_RUT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA FROM kmt_info"))); - //BA.debugLineNum = 186;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 187;BA.debugLine="no_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_no_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 188;BA.debugLine="no_cliente = \"N\" & sTime & no_ruta"; -_no_cliente = "N"+_stime+_no_ruta; - //BA.debugLineNum = 189;BA.debugLine="Log(\"++ ++ no_cliente = \"&no_cliente)"; -__c.LogImpl("352035611","++ ++ no_cliente = "+_no_cliente,0); - //BA.debugLineNum = 190;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 191;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_i"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_GIRO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente),(Object)(_no_ruta),(Object)(_e_nombre.getText()),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_cb_giro._getselecteditem /*String*/ ())})); - //BA.debugLineNum = 192;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente)})); - //BA.debugLineNum = 193;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTA"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 194;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENT"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_no_cliente)})); - //BA.debugLineNum = 195;BA.debugLine="c = Starter.skmt.ExecQuery(\"select ID_ALMACEN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 196;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 197;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 198;BA.debugLine="ALMACEN = c.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - }; - //BA.debugLineNum = 200;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 201;BA.debugLine="c = Starter.skmt.ExecQuery(\"select usuario fr"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 202;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 203;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 204;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 208;BA.debugLine="DateTime.DateFormat = \"dd/MM/yyyy\""; -__c.DateTime.setDateFormat("dd/MM/yyyy"); - //BA.debugLineNum = 209;BA.debugLine="DateTime.Timeformat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 210;BA.debugLine="sDate2 = DateTime.Date(DateTime.Now)"; -_sdate2 = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 211;BA.debugLine="sTime2 = DateTime.Time(DateTime.Now)"; -_stime2 = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 213;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CLIEN"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CLIENTES_NUEVOS(CN_ID, CN_FECHA, CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_RUTA, CN_GIRO, CN_SOLICITA) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_no_cliente,_sdate2+" "+_stime2,_usuario,BA.NumberToString(_lat),BA.NumberToString(_lon),_e_nombre.getText(),_et_direccion.getText(),_almacen,_no_ruta,_cb_giro._getselecteditem /*String*/ (),_et_atiende.getText()})); - //BA.debugLineNum = 215;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 216;BA.debugLine="CallSubDelayed(Tracker, \"StartFLP\")"; -__c.CallSubDelayed(ba,(Object)(_tracker.getObject()),"StartFLP"); - }else { - //BA.debugLineNum = 219;BA.debugLine="MsgboxAsync(\"Por favor, debe capturar al enca"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor, debe capturar al encargado que atiende el negocio."),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 222;BA.debugLine="MsgboxAsync(\"Por favor captura el giro del cli"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura el giro del cliente"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 225;BA.debugLine="MsgboxAsync(\"Por favor revisa que tengas señal"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor revisa que tengas señal GPS"),BA.ObjectToCharSequence("Atención"),ba); - }; - }else { - //BA.debugLineNum = 228;BA.debugLine="MsgboxAsync(\"Por favor captura la dirección del"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Por favor captura la dirección del cliente"),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 230;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 45;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 46;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return null; -} -public String _p_nuevocliente_click() throws Exception{ - //BA.debugLineNum = 235;BA.debugLine="Private Sub p_nuevoCliente_Click"; - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_pedidos.java b/B4A/Objects/src/adm/keymon/com/mx/c_pedidos.java deleted file mode 100644 index 171bc1e..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_pedidos.java +++ /dev/null @@ -1,1189 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_pedidos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_pedidos"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_pedidos.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public String _ruta = ""; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public anywheresoftware.b4a.objects.Timer _t3 = null; -public anywheresoftware.b4a.phone.Phone _p = null; -public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _cc = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _dd = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_tipo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_sub = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_marca = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_desc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_precio = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_bodega = null; -public anywheresoftware.b4a.objects.EditTextWrapper _cantidad = null; -public anywheresoftware.b4a.objects.ButtonWrapper _guardar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _terminar = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _img_prod = null; -public byte[] _img_paso = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_proid = null; -public String _clie_id = ""; -public String _sdate = ""; -public String _stime = ""; -public String _usuario = ""; -public anywheresoftware.b4a.objects.LabelWrapper _t_venta = null; -public String _promo_c = ""; -public anywheresoftware.b4a.objects.ImageViewWrapper _i_fotol = null; -public anywheresoftware.b4a.objects.ButtonWrapper _desc_promo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _nopromo = null; -public String _tot_art_promo = ""; -public String _cambio = ""; -public String _costo_tot = ""; -public String _almacen = ""; -public String _preciosin = ""; -public String _cl_ruta = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public String _tot_art_promor = ""; -public String _promo_cr = ""; -public String _total_promo = ""; -public String _hccp_cant = ""; -public com.rootsoft.togglelibrary.ToggleLibrary _tgl = null; -public String _precio_cero = ""; -public String _bonsabor = ""; -public String _bonsabor2 = ""; -public adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_pedido = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 79;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 80;BA.debugLine="tgl.Initialize"; -_tgl.Initialize(ba); - //BA.debugLineNum = 81;BA.debugLine="BONSABOR = 0"; -_bonsabor = BA.NumberToString(0); - //BA.debugLineNum = 82;BA.debugLine="BONSABOR2 = 0"; -_bonsabor2 = BA.NumberToString(0); - //BA.debugLineNum = 83;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 84;BA.debugLine="ToastMessageShow(\"Es necesario tener el GPS ence"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True); - //BA.debugLineNum = 85;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 87;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 88;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 89;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 90;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 91;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 92;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 93;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 94;BA.debugLine="p.Shell(\"ping -c1 -W1 177.244.63.54\",Null, sb,Nul"; -_p.Shell("ping -c1 -W1 177.244.63.54",(String[])(__c.Null),(java.lang.StringBuilder)(_sb.getObject()),(java.lang.StringBuilder)(__c.Null)); - //BA.debugLineNum = 95;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -_skmt.Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 96;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_GP"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_DEV from CAT_GUNAPROD where CAT_GP_NOMBRE In (Select PDESC from PROID)"))); - //BA.debugLineNum = 97;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 98;BA.debugLine="L_PROID.Text = c.GetString(\"CAT_GP_ID\")"; -_l_proid.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_ID"))); - //BA.debugLineNum = 99;BA.debugLine="l_tipo.Text = c.GetString(\"CAT_GP_TIPO\")"; -_l_tipo.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO"))); - //BA.debugLineNum = 100;BA.debugLine="l_sub.Text = c.GetString(\"CAT_GP_SUBTIPO\")"; -_l_sub.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_SUBTIPO"))); - //BA.debugLineNum = 101;BA.debugLine="l_marca.Text = c.GetString(\"CAT_GP_CLASIF\")"; -_l_marca.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_CLASIF"))); - //BA.debugLineNum = 102;BA.debugLine="l_desc.Text = c.GetString(\"CAT_GP_NOMBRE\")"; -_l_desc.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_NOMBRE"))); - //BA.debugLineNum = 103;BA.debugLine="l_precio.Text = c.GetDouble(\"CAT_GP_PRECIO\")"; -_l_precio.setText(BA.ObjectToCharSequence(_c.GetDouble("CAT_GP_PRECIO"))); - //BA.debugLineNum = 104;BA.debugLine="l_bodega.Text = c.GetString(\"CAT_GP_ALMACEN\")"; -_l_bodega.setText(BA.ObjectToCharSequence(_c.GetString("CAT_GP_ALMACEN"))); - //BA.debugLineNum = 105;BA.debugLine="IMG_PASO = c.GetBlob(\"CAT_GP_IMG\")"; -_img_paso = _c.GetBlob("CAT_GP_IMG"); - //BA.debugLineNum = 106;BA.debugLine="PROMO_C = c.GetString(\"CAT_GP_STS\")"; -_promo_c = _c.GetString("CAT_GP_STS"); - //BA.debugLineNum = 107;BA.debugLine="cambio = c.GetString(\"CAT_GP_DEV\")"; -_cambio = _c.GetString("CAT_GP_DEV"); - //BA.debugLineNum = 108;BA.debugLine="preciosin = c.GetString(\"CAT_GP_IMP2\")"; -_preciosin = _c.GetString("CAT_GP_IMP2"); - //BA.debugLineNum = 109;BA.debugLine="PROMO_CR = c.GetString(\"CAT_GP_IMP1\")"; -_promo_cr = _c.GetString("CAT_GP_IMP1"); - //BA.debugLineNum = 110;BA.debugLine="cambio = \"0\""; -_cambio = "0"; - //BA.debugLineNum = 112;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM pedido WHERE PE_CEDIS = ? AND PE_CLIENTE IN (Select cuenta from cuentaa) ",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 113;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 114;BA.debugLine="If e.GetString(\"CUANTOS\") = 0 Then"; -if ((_e.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 115;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; -if ((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS")) { - //BA.debugLineNum = 116;BA.debugLine="DESC_PROMO.Visible = True"; -_desc_promo.setVisible(__c.True); - //BA.debugLineNum = 117;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select co"; -_cc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 118;BA.debugLine="CC.Position =0"; -_cc.setPosition((int) (0)); - //BA.debugLineNum = 119;BA.debugLine="If CC.GetString(\"CUANTOS\") = 0 Then"; -if ((_cc.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 120;BA.debugLine="l_bodega.Text = \"0\" ' se modifica a cero para"; -_l_bodega.setText(BA.ObjectToCharSequence("0")); - }else { - //BA.debugLineNum = 122;BA.debugLine="CC.Close"; -_cc.Close(); - //BA.debugLineNum = 123;BA.debugLine="CC=B4XPages.MainPage.skmt.ExecQuery2(\"select C"; -_cc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE FROM PROMOS_COMP WHERE CAT_PA_ID = ?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 124;BA.debugLine="CC.Position =0"; -_cc.setPosition((int) (0)); - //BA.debugLineNum = 126;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 127;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 128;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; -if ((_dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 129;BA.debugLine="HCCP_CANT = 0"; -_hccp_cant = BA.NumberToString(0); - }else { - //BA.debugLineNum = 131;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 132;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT HCCP_CANT FROM HIST_CLIENTE_CANT_PROMOS WHERE HCCP_CLIENTE IN (Select cuenta from cuentaa) AND HCCP_PROMO =?",new String[]{_c.GetString("CAT_GP_ID")}))); - //BA.debugLineNum = 133;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 134;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; -_hccp_cant = _dd.GetString("HCCP_CANT"); - //BA.debugLineNum = 135;BA.debugLine="DD.Close"; -_dd.Close(); - }; - //BA.debugLineNum = 137;BA.debugLine="BONSABOR = HCCP_CANT"; -_bonsabor = _hccp_cant; - //BA.debugLineNum = 138;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT C"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT COUNT(*) AS CUANTOS FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 139;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 140;BA.debugLine="If DD.GetString(\"CUANTOS\") = 0 Then"; -if ((_dd.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 141;BA.debugLine="HCCP_CANT = 0"; -_hccp_cant = BA.NumberToString(0); - }else { - //BA.debugLineNum = 143;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 144;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT SUM(HVD_CANT) AS HCCP_CANT FROM HIST_VENTAS WHERE HVD_CLIENTE IN (Select cuenta from cuentaa) AND HVD_PRONOMBRE =?",new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 145;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 146;BA.debugLine="HCCP_CANT = DD.GetString(\"HCCP_CANT\")"; -_hccp_cant = _dd.GetString("HCCP_CANT"); - //BA.debugLineNum = 147;BA.debugLine="DD.Close"; -_dd.Close(); - }; - //BA.debugLineNum = 149;BA.debugLine="DD=B4XPages.MainPage.skmt.ExecQuery2(\"Select C"; -_dd = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) AND PE_PROID IN (select CAT_GP_ID from CAT_GUNAPROD where CAT_GP_CLASIF = ?) ",new String[]{_c.GetString("CAT_GP_NOMBRE")}))); - //BA.debugLineNum = 150;BA.debugLine="DD.Position =0"; -_dd.setPosition((int) (0)); - //BA.debugLineNum = 151;BA.debugLine="BONSABOR2 = DD.GetString(\"CUANTOS\")"; -_bonsabor2 = _dd.GetString("CUANTOS"); - //BA.debugLineNum = 152;BA.debugLine="DD.Close"; -_dd.Close(); - //BA.debugLineNum = 153;BA.debugLine="TOTAL_PROMO = CC.GetString(\"CAT_PA_MAXPROMCLIE"; -_total_promo = BA.NumberToString((double)(Double.parseDouble(_cc.GetString("CAT_PA_MAXPROMCLIE")))-(double)(Double.parseDouble(_hccp_cant))); - //BA.debugLineNum = 154;BA.debugLine="If HCCP_CANT = 0 Then"; -if ((_hccp_cant).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 155;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM\""; -_l_bodega.setText(BA.ObjectToCharSequence(_cc.GetString("CAT_PA_MAXPROM"))); - }else if((double)(Double.parseDouble(_total_promo))>(double)(Double.parseDouble(_cc.GetString("CAT_PA_MAXPROMREC")))) { - //BA.debugLineNum = 157;BA.debugLine="l_bodega.Text = CC.GetString(\"CAT_PA_MAXPROM"; -_l_bodega.setText(BA.ObjectToCharSequence(_cc.GetString("CAT_PA_MAXPROMREC"))); - }else { - //BA.debugLineNum = 159;BA.debugLine="l_bodega.Text = TOTAL_PROMO"; -_l_bodega.setText(BA.ObjectToCharSequence(_total_promo)); - }; - }; - }else { - //BA.debugLineNum = 163;BA.debugLine="DESC_PROMO.Visible = False"; -_desc_promo.setVisible(__c.False); - }; - //BA.debugLineNum = 165;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 166;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CASE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CASE WHEN pe_costo_tot is null then 0 else sum( pe_costo_tot ) end as TOTAL_CLIE FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 167;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 168;BA.debugLine="t_venta.Text = c.GetString(\"TOTAL_CLIE\")"; -_t_venta.setText(BA.ObjectToCharSequence(_c.GetString("TOTAL_CLIE"))); - //BA.debugLineNum = 169;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 170;BA.debugLine="Terminar.Visible = True"; -_terminar.setVisible(__c.True); - //BA.debugLineNum = 171;BA.debugLine="guardar.Visible = True"; -_guardar.setVisible(__c.True); - //BA.debugLineNum = 172;BA.debugLine="cantidad.Visible = True"; -_cantidad.setVisible(__c.True); - //BA.debugLineNum = 173;BA.debugLine="If cambio = \"1\" Then"; -if ((_cambio).equals("1")) { - //BA.debugLineNum = 174;BA.debugLine="nopromo.Visible = True"; -_nopromo.setVisible(__c.True); - }else { - //BA.debugLineNum = 176;BA.debugLine="nopromo.Visible = False"; -_nopromo.setVisible(__c.False); - }; - //BA.debugLineNum = 178;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 179;BA.debugLine="out = File.OpenOutput(ruta, \"1.jpg\", False)"; -_out = __c.File.OpenOutput(_ruta,"1.jpg",__c.False); - //BA.debugLineNum = 180;BA.debugLine="out.WriteBytes(IMG_PASO, 0, IMG_PASO.Length)"; -_out.WriteBytes(_img_paso,(int) (0),_img_paso.length); - //BA.debugLineNum = 181;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 182;BA.debugLine="img_prod.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; -_img_prod.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(_ruta,"1.jpg").getObject())); - //BA.debugLineNum = 183;BA.debugLine="TOT_ART_PROMO = \"0\""; -_tot_art_promo = "0"; - //BA.debugLineNum = 184;BA.debugLine="TOT_ART_PROMOR = \"0\""; -_tot_art_promor = "0"; - //BA.debugLineNum = 185;BA.debugLine="If l_marca.text = \"PROMOS\" And l_tipo.Text =\"PRO"; -if ((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_l_bodega.getText()).equals("0")) { - //BA.debugLineNum = 186;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); - //BA.debugLineNum = 187;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_l_proid.getText()).equals("PROUNI1") && (_bonsabor).equals("1") == false && (_bonsabor2).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 189;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE NO PUEDE TENER ESTA"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE NO PUEDE TENER ESTA PROMOCION"),ba); - //BA.debugLineNum = 190;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - }else { - //BA.debugLineNum = 193;BA.debugLine="Msgbox(\"ALERTA\",\"EL CLIENTE YA COMPRO ESTE PRODU"; -__c.Msgbox(BA.ObjectToCharSequence("ALERTA"),BA.ObjectToCharSequence("EL CLIENTE YA COMPRO ESTE PRODUCTO REVISAR NOTA"),ba); - //BA.debugLineNum = 194;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 196;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_pedidos parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_pedidos parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = -1; - //BA.debugLineNum = 534;BA.debugLine="Msgbox(\"Presione Boton Terminar.\",\"ADVERTENCIA\")"; -parent.__c.Msgbox(BA.ObjectToCharSequence("Presione Boton Terminar."),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - //BA.debugLineNum = 535;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 536;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 65;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 67;BA.debugLine="Root.LoadLayout(\"pedido\")"; -_root.LoadLayout("pedido",ba); - //BA.debugLineNum = 68;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 70;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 71;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 72;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 5;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 6;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Private t3 As Timer"; -_t3 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim e As Cursor"; -_e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim f As Cursor"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim h As Cursor"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim CC As Cursor"; -_cc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim DD As Cursor"; -_dd = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim l_tipo As Label"; -_l_tipo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim l_sub As Label"; -_l_sub = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim l_marca As Label"; -_l_marca = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim l_desc As Label"; -_l_desc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim l_precio As Label"; -_l_precio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim l_bodega As Label"; -_l_bodega = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim cantidad As EditText"; -_cantidad = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim guardar As Button"; -_guardar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim Terminar As Button"; -_terminar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 27;BA.debugLine="Dim img_prod As ImageView"; -_img_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim IMG_PASO() As Byte"; -_img_paso = new byte[(int) (0)]; -; - //BA.debugLineNum = 29;BA.debugLine="Dim L_PROID As Label"; -_l_proid = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim clie_id As String"; -_clie_id = ""; - //BA.debugLineNum = 31;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 32;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 34;BA.debugLine="Dim t_venta As Label"; -_t_venta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim PROMO_C As String"; -_promo_c = ""; - //BA.debugLineNum = 36;BA.debugLine="Dim i_fotol As ImageView"; -_i_fotol = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private DESC_PROMO As Button"; -_desc_promo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private nopromo As Button"; -_nopromo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim TOT_ART_PROMO As String"; -_tot_art_promo = ""; - //BA.debugLineNum = 40;BA.debugLine="Dim cambio As String"; -_cambio = ""; - //BA.debugLineNum = 41;BA.debugLine="Dim COSTO_TOT As String"; -_costo_tot = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim preciosin As String"; -_preciosin = ""; - //BA.debugLineNum = 44;BA.debugLine="Dim cl_ruta As String"; -_cl_ruta = ""; - //BA.debugLineNum = 45;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim TOT_ART_PROMOR As String"; -_tot_art_promor = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim PROMO_CR As String"; -_promo_cr = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim TOTAL_PROMO As String"; -_total_promo = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim HCCP_CANT As String"; -_hccp_cant = ""; - //BA.debugLineNum = 50;BA.debugLine="Dim tgl As Toggle"; -_tgl = new com.rootsoft.togglelibrary.ToggleLibrary(); - //BA.debugLineNum = 51;BA.debugLine="Dim precio_Cero As String"; -_precio_cero = ""; - //BA.debugLineNum = 52;BA.debugLine="Private BONSABOR As String"; -_bonsabor = ""; - //BA.debugLineNum = 53;BA.debugLine="Private BONSABOR2 As String"; -_bonsabor2 = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 55;BA.debugLine="Private p_pedido As Panel"; -_p_pedido = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _desc_promo_click() throws Exception{ - //BA.debugLineNum = 548;BA.debugLine="Sub DESC_PROMO_Click"; - //BA.debugLineNum = 549;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 550;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 551;BA.debugLine="B4XPages.ShowPage(\"detalle_promo\")"; -_b4xpages._showpage /*String*/ (ba,"detalle_promo"); - //BA.debugLineNum = 552;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 359;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 362;BA.debugLine="End Sub"; -return ""; -} -public String _guardar_click() throws Exception{ -int _i = 0; - //BA.debugLineNum = 198;BA.debugLine="Sub guardar_Click"; - //BA.debugLineNum = 199;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 200;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 202;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; -__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (double)(Double.parseDouble(_promo_c))>0 && (double)(Double.parseDouble(_cantidad.getText()))>0) { - //BA.debugLineNum = 204;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 205;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 206;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 207;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 208;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 209;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; -__c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else { - //BA.debugLineNum = 211;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); - //BA.debugLineNum = 212;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 213;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promo = _c.GetString("TOT_ART_PROMO"); - //BA.debugLineNum = 214;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; -_costo_tot = _c.GetString("COSTO_TOT"); - //BA.debugLineNum = 215;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 216;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 217;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 218;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 219;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; -_tot_art_promor = "0"; - }else { - //BA.debugLineNum = 221;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 222;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 223;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promor = _c.GetString("TOT_ART_PROMO"); - }; - //BA.debugLineNum = 225;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 226;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; -_promo_c = BA.NumberToString((double)(Double.parseDouble(_promo_c))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 227;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; -_promo_cr = BA.NumberToString((double)(Double.parseDouble(_promo_cr))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 228;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; -if ((_tot_art_promo).equals(_promo_c) && (_tot_art_promor).equals(_promo_cr)) { - //BA.debugLineNum = 229;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 230;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); - //BA.debugLineNum = 231;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 232;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step34 = 1; -final int limit34 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit34 ;_i = _i + step34 ) { - //BA.debugLineNum = 233;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 234;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); - } -}; - }; - //BA.debugLineNum = 237;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 238;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); - //BA.debugLineNum = 239;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 240;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step42 = 1; -final int limit42 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit42 ;_i = _i + step42 ) { - //BA.debugLineNum = 241;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 242;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); - } -}; - }; - //BA.debugLineNum = 245;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 246;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 247;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 248;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 249;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 250;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 251;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 252;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 253;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 254;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 255;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 256;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 257;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 258;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 259;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 260;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 262;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 263;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 264;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 267;BA.debugLine="If f.RowCount>0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 268;BA.debugLine="For i=0 To f.RowCount -1"; -{ -final int step67 = 1; -final int limit67 = (int) (_f.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit67 ;_i = _i + step67 ) { - //BA.debugLineNum = 269;BA.debugLine="f.Position=i"; -_f.setPosition(_i); - //BA.debugLineNum = 270;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; -_precio_cero = _f.GetString("CAT_DP_PRECIO"); - //BA.debugLineNum = 271;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 272;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 274;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta)})); - //BA.debugLineNum = 275;BA.debugLine="h.Close"; -_h.Close(); - } -}; - }; - //BA.debugLineNum = 278;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 280;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 281;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 282;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - }else { - //BA.debugLineNum = 284;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; -__c.Msgbox(BA.ObjectToCharSequence("Tiene "+_tot_art_promo+" "+_tot_art_promor+" y necesita "+_promo_c+" "+_promo_cr+" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }; - }; - //BA.debugLineNum = 287;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 288;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_promo_c).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 290;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 291;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 292;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 293;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 294;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 295;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 296;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 297;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 298;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 299;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 300;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 301;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 302;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 303;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 304;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 305;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 308;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); - //BA.debugLineNum = 309;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 310;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 311;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 312;BA.debugLine="For i =0 To f.RowCount -1"; -{ -final int step108 = 1; -final int limit108 = (int) (_f.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit108 ;_i = _i + step108 ) { - //BA.debugLineNum = 313;BA.debugLine="F.Position =i"; -_f.setPosition(_i); - //BA.debugLineNum = 314;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 315;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 316;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 317;BA.debugLine="h.Close"; -_h.Close(); - } -}; - //BA.debugLineNum = 319;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 321;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 323;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 324;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 325;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 326;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 327;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 328;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 329;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 330;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 331;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }else { - //BA.debugLineNum = 333;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 334;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 335;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 336;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 337;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 338;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 339;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 340;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 341;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 342;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 343;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 344;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 345;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 346;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 347;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN, PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 348;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 349;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 350;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 351;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 352;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 353;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 354;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_l_proid.getText()),(Object)(_cantidad.getText())})); - //BA.debugLineNum = 355;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 357;BA.debugLine="End Sub"; -return ""; -} -public String _i_fotol_click() throws Exception{ - //BA.debugLineNum = 543;BA.debugLine="Sub i_fotol_Click"; - //BA.debugLineNum = 544;BA.debugLine="i_fotol.Visible = False"; -_i_fotol.setVisible(__c.False); - //BA.debugLineNum = 546;BA.debugLine="End Sub"; -return ""; -} -public String _img_prod_click() throws Exception{ - //BA.debugLineNum = 538;BA.debugLine="Sub img_prod_Click"; - //BA.debugLineNum = 539;BA.debugLine="i_fotol.Visible = True"; -_i_fotol.setVisible(__c.True); - //BA.debugLineNum = 540;BA.debugLine="i_fotol.Bitmap = LoadBitmap(ruta,\"1.jpg\")"; -_i_fotol.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(_ruta,"1.jpg").getObject())); - //BA.debugLineNum = 542;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 59;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 60;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 61;BA.debugLine="End Sub"; -return null; -} -public String _nopromo_click() throws Exception{ - //BA.debugLineNum = 554;BA.debugLine="Sub nopromo_Click"; - //BA.debugLineNum = 555;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 556;BA.debugLine="Msgbox(\"Cantidad no puede ser 0\",\"Cantidad\") 'ig"; -__c.Msgbox(BA.ObjectToCharSequence("Cantidad no puede ser 0"),BA.ObjectToCharSequence("Cantidad"),ba); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 558;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; -__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else { - //BA.debugLineNum = 560;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 561;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 562;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 563;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 564;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 565;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 566;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 567;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 568;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 569;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COACALCO"),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 570;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 571;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 572;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - }; - //BA.debugLineNum = 574;BA.debugLine="End Sub"; -return ""; -} -public String _p_pedido_click() throws Exception{ - //BA.debugLineNum = 576;BA.debugLine="Private Sub p_pedido_Click"; - //BA.debugLineNum = 578;BA.debugLine="End Sub"; -return ""; -} -public String _terminar_click() throws Exception{ -int _i = 0; - //BA.debugLineNum = 364;BA.debugLine="Sub Terminar_Click"; - //BA.debugLineNum = 365;BA.debugLine="If cantidad.Text = \"\" Then"; -if ((_cantidad.getText()).equals("")) { - //BA.debugLineNum = 366;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }else if((double)(Double.parseDouble(_cantidad.getText()))>(double)(Double.parseDouble(_l_bodega.getText()))) { - //BA.debugLineNum = 368;BA.debugLine="Msgbox(\"Exede la existencia\", \"ADVERTENCIA\") 'ig"; -__c.Msgbox(BA.ObjectToCharSequence("Exede la existencia"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (double)(Double.parseDouble(_promo_c))>0 && (double)(Double.parseDouble(_cantidad.getText()))>0) { - //BA.debugLineNum = 370;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 371;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 372;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 373;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 374;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 375;BA.debugLine="Msgbox(\"No tiene venta el cliente para la promo"; -__c.Msgbox(BA.ObjectToCharSequence("No tiene venta el cliente para la promo"),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }else { - //BA.debugLineNum = 377;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1)"))); - //BA.debugLineNum = 378;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 379;BA.debugLine="TOT_ART_PROMO = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promo = _c.GetString("TOT_ART_PROMO"); - //BA.debugLineNum = 380;BA.debugLine="COSTO_TOT = C.GetString(\"COSTO_TOT\")"; -_costo_tot = _c.GetString("COSTO_TOT"); - //BA.debugLineNum = 381;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 382;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOSD from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 383;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 384;BA.debugLine="If c.GetString(\"CUANTOSD\") = 0 Then"; -if ((_c.GetString("CUANTOSD")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 385;BA.debugLine="TOT_ART_PROMOR = \"0\" 'Msgbox(\"No tiene venta e"; -_tot_art_promor = "0"; - }else { - //BA.debugLineNum = 387;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) As TOT_ART_PROMO, sum(PE_COSTO_TOT) as COSTO_TOT from pedido where PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1)"))); - //BA.debugLineNum = 388;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 389;BA.debugLine="TOT_ART_PROMOR = C.GetString(\"TOT_ART_PROMO\")"; -_tot_art_promor = _c.GetString("TOT_ART_PROMO"); - }; - //BA.debugLineNum = 391;BA.debugLine="C.Close"; -_c.Close(); - //BA.debugLineNum = 392;BA.debugLine="PROMO_C = PROMO_C * cantidad.Text"; -_promo_c = BA.NumberToString((double)(Double.parseDouble(_promo_c))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 393;BA.debugLine="PROMO_CR = PROMO_CR * cantidad.Text"; -_promo_cr = BA.NumberToString((double)(Double.parseDouble(_promo_cr))*(double)(Double.parseDouble(_cantidad.getText()))); - //BA.debugLineNum = 394;BA.debugLine="If TOT_ART_PROMO = PROMO_C And TOT_ART_PROMOR"; -if ((_tot_art_promo).equals(_promo_c) && (_tot_art_promor).equals(_promo_cr)) { - //BA.debugLineNum = 398;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE P"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_CEDIS = (?) WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) and pe_proid In (Select cat_dp_idprod from CAT_DETALLES_PAQ WHERE CAT_DP_ID In (Select PROIDID from PROIDID))",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 399;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND CAT_DP_PRECIO > 1"))); - //BA.debugLineNum = 400;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 401;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step34 = 1; -final int limit34 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit34 ;_i = _i + step34 ) { - //BA.debugLineNum = 402;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 403;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); - } -}; - }; - //BA.debugLineNum = 406;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 407;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_ID, CAT_DP_PRECIO, CAT_DP_PRECIO_SIMPTOS, CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) AND (CAT_DP_PRECIO = 0.01 or CAT_DP_PRECIO = 1 OR CAT_DP_PRECIO = 0) AND CAT_DP_TIPO = 1"))); - //BA.debugLineNum = 408;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 409;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step42 = 1; -final int limit42 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit42 ;_i = _i + step42 ) { - //BA.debugLineNum = 410;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 411;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE PEDIDO SET PE_COSTOU = (?), PE_COSTO_TOT = PE_CANT * (?) , PE_COSTO_SIN = (?) WHERE PE_PROID = (?) And PE_CEDIS In (Select PROIDID from PROIDID) AND PE_CLIENTE IN (Select CUENTA from cuentaa) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO")),(Object)(_d.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)(_d.GetString("CAT_DP_IDPROD"))})); - } -}; - }; - //BA.debugLineNum = 414;BA.debugLine="D.Close"; -_d.Close(); - //BA.debugLineNum = 415;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 416;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 417;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 418;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 419;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 420;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 421;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 422;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 423;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 424;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 425;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 426;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 427;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 428;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 430;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select cou"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 432;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 433;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 434;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CA"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS,CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) and CAT_DP_TIPO = 0 "))); - //BA.debugLineNum = 437;BA.debugLine="If f.RowCount>0 Then"; -if (_f.getRowCount()>0) { - //BA.debugLineNum = 438;BA.debugLine="For i=0 To f.RowCount -1"; -{ -final int step67 = 1; -final int limit67 = (int) (_f.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit67 ;_i = _i + step67 ) { - //BA.debugLineNum = 439;BA.debugLine="f.Position=i"; -_f.setPosition(_i); - //BA.debugLineNum = 440;BA.debugLine="precio_Cero = f.GetString(\"CAT_DP_PRECIO\")"; -_precio_cero = _f.GetString("CAT_DP_PRECIO"); - //BA.debugLineNum = 441;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 442;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 443;BA.debugLine="Log(111)"; -__c.LogImpl("352625487",BA.NumberToString(111),0); - //BA.debugLineNum = 444;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSER"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_precio_cero))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_precio_cero),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 445;BA.debugLine="h.Close"; -_h.Close(); - } -}; - }; - //BA.debugLineNum = 448;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 450;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 451;BA.debugLine="Log(222)"; -__c.LogImpl("352625495",BA.NumberToString(222),0); - //BA.debugLineNum = 452;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 453;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update c"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - }else { - //BA.debugLineNum = 455;BA.debugLine="Msgbox(\"Tiene \" & TOT_ART_PROMO & \" \" & TOT_AR"; -__c.Msgbox(BA.ObjectToCharSequence("Tiene "+_tot_art_promo+" "+_tot_art_promor+" y necesita "+_promo_c+" "+_promo_cr+" Para la Promo. "),BA.ObjectToCharSequence("ADVERTENCIA"),ba); - }; - }; - //BA.debugLineNum = 458;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 459;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }else if((_l_marca.getText()).equals("PROMOS") && (_l_tipo.getText()).equals("PROMOS") && (_promo_c).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 461;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROIDID"); - //BA.debugLineNum = 462;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROIDID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText())})); - //BA.debugLineNum = 463;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 464;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 465;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 466;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 467;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 468;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 469;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 470;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 471;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 472;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 473;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 474;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 475;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 476;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 478;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID) "))); - //BA.debugLineNum = 479;BA.debugLine="e.Position =0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 480;BA.debugLine="If e.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_e.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 481;BA.debugLine="F=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_DP_IDPROD, CAT_DP_PZAS, CAT_DP_PRECIO FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID IN (Select PROIDID from PROIDID)"))); - //BA.debugLineNum = 482;BA.debugLine="For i =0 To f.RowCount -1"; -{ -final int step110 = 1; -final int limit110 = (int) (_f.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit110 ;_i = _i + step110 ) { - //BA.debugLineNum = 483;BA.debugLine="F.Position =i"; -_f.setPosition(_i); - //BA.debugLineNum = 484;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2(\"select CA"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_GP_NOMBRE from CAT_GUNAPROD where CAT_GP_ID = ? ",new String[]{_f.GetString("CAT_DP_IDPROD")}))); - //BA.debugLineNum = 485;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 486;BA.debugLine="Log(333)"; -__c.LogImpl("352625530",BA.NumberToString(333),0); - //BA.debugLineNum = 487;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT I"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PRECIO")))*(double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))),(Object)(_f.GetString("CAT_DP_PRECIO")),(Object)((double)(Double.parseDouble(_f.GetString("CAT_DP_PZAS")))*(double)(Double.parseDouble(_cantidad.getText()))),(Object)(_h.GetString("CAT_GP_NOMBRE")),(Object)(_f.GetString("CAT_DP_IDPROD")),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 488;BA.debugLine="h.Close"; -_h.Close(); - } -}; - //BA.debugLineNum = 490;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 492;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 493;BA.debugLine="Log(444)"; -__c.LogImpl("352625537",BA.NumberToString(444),0); - //BA.debugLineNum = 494;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_l_proid.getText()),(Object)(0),(Object)(0),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 495;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 496;BA.debugLine="cantidad.Text = \"\""; -_cantidad.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 497;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 498;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 499;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 500;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 501;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 502;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }else { - //BA.debugLineNum = 504;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 505;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 506;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 507;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 508;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 509;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 510;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 511;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 512;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 513;BA.debugLine="cl_ruta = c.GetString(\"CAT_CL_RUTA\")"; -_cl_ruta = _c.GetString("CAT_CL_RUTA"); - //BA.debugLineNum = 514;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 515;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUAR"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 516;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 517;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 518;BA.debugLine="Log(555)"; -__c.LogImpl("352625562",BA.NumberToString(555),0); - //BA.debugLineNum = 519;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)((double)(Double.parseDouble(_cantidad.getText()))*(double)(Double.parseDouble(_l_precio.getText()))),(Object)(_l_precio.getText()),(Object)(_cantidad.getText()),(Object)(_l_desc.getText()),(Object)(_l_proid.getText()),(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_cl_ruta),(Object)(_preciosin),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ )})); - //BA.debugLineNum = 520;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update cat"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update cat_gunaprod set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cantidad.getText()),(Object)(_l_proid.getText())})); - //BA.debugLineNum = 521;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(p"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 522;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 523;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 524;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert int"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ ),(Object)(_almacen),(Object)(_cl_ruta),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 525;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 526;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_almacen),(Object)(_l_proid.getText()),(Object)(_cantidad.getText())})); - //BA.debugLineNum = 527;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 529;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_principal.java b/B4A/Objects/src/adm/keymon/com/mx/c_principal.java deleted file mode 100644 index b2d6d40..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_principal.java +++ /dev/null @@ -1,5315 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_principal extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_principal"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_principal.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.RuntimePermissions _rp = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public adm.keymon.com.mx.c_respaldodiario _rd = null; -public adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public String _conectado = ""; -public anywheresoftware.b4a.objects.IME _ime = null; -public anywheresoftware.b4a.objects.Timer _t1 = null; -public anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -public anywheresoftware.b4a.phone.Phone _phone = null; -public anywheresoftware.b4a.gps.GPS _g = null; -public anywheresoftware.b4a.objects.ButtonWrapper _trabajar = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _b = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _e = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _f = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _d2 = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv = null; -public anywheresoftware.b4a.objects.ButtonWrapper _cargar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _pendiente = null; -public byte[] _foto1 = null; -public byte[] _foto2 = null; -public String _usuario = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _connecta = null; -public String _conn = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _subir = null; -public adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -public int _tope = 0; -public int _count_clie = 0; -public String _fecha = ""; -public double _drop = 0; -public double _efectiva = 0; -public anywheresoftware.b4a.objects.LabelWrapper _l_montod = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_drop = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_efectiva = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ctast = null; -public anywheresoftware.b4a.objects.ButtonWrapper _busca = null; -public String _cuantos = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_cuantosn = null; -public anywheresoftware.b4a.objects.EditTextWrapper _e_ruta = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_porvisitar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_mapa = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ruta = null; -public String _almacen = ""; -public anywheresoftware.b4a.objects.ImageViewWrapper _img2 = null; -public String _listo1 = ""; -public String _listo2 = ""; -public String _listo3 = ""; -public String _listo4 = ""; -public String _listo5 = ""; -public String _ejecutando = ""; -public String _res = ""; -public String _inve = ""; -public String _cuantos_pedidosc = ""; -public String _cuantos_pedido = ""; -public String _cuantos_noventa = ""; -public String _datos_iguales = ""; -public anywheresoftware.b4a.phone.Phone.PhoneId _p = null; -public String _imei = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _inv = null; -public anywheresoftware.b4a.objects.PanelWrapper _p1 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _clave = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_pas = null; -public String _paso = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _usuario1 = null; -public double _connecta1 = 0; -public String _armafolio = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _nuevo = null; -public anywheresoftware.b4a.objects.LabelWrapper _s_cc = null; -public anywheresoftware.b4a.objects.LabelWrapper _s_cp = null; -public anywheresoftware.b4a.objects.LabelWrapper _s_ch = null; -public anywheresoftware.b4a.objects.ProgressBarWrapper _pb2 = null; -public anywheresoftware.b4a.objects.ProgressBarWrapper _pb1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_p_1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_p_2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_p_3 = null; -public String _carga = ""; -public String _porcentaje = ""; -public anywheresoftware.b4a.objects.PanelWrapper _p_resumen = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_res = null; -public anywheresoftware.b4a.objects.ButtonWrapper _resumen = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cuantost = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _img3 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview3 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview5 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_tickprom = null; -public anywheresoftware.b4a.objects.ListViewWrapper _l_marcas = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview9 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _e_ruta2 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _resdia = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _hacer_ped = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _nvo_cliente = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _tickets_dia = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_ks = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_kp = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_k = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_monto_c3 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_encuesta = null; -public batteryprogressviewwrapper.batteryprogressviewWrapper _bpv1 = null; -public int[] _batterystatus = null; -public adm.keymon.com.mx.batteryutilities _bu = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_nes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_real = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_alcance = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vplan = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vreal = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_efec_vis = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_visitcc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_efec_pv = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_efec_pura = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cte_promo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_reden_promo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_lin_tick = null; -public anywheresoftware.b4a.objects.ScrollViewWrapper _scroll_resdia = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_acumulado = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_unilever = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rechazop = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rechazom = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vta_3mes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vta_2mes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vta_1mes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_mes_py = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_frec_de_creal = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_frec_de_cobj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cob_visit = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_visit_real = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_visit_plan = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_eco = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cob_ccc = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ctes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vpo_vta = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vpo_obj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ds_vta = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ds_obj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_dra_vta = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_dra_obj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_alcancem = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_tendencia = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_vta_acum = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_obj_mes = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ds_objd = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ds_vtad = null; -public String _lpt = ""; -public String _steyin = ""; -public String _steyout = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_prio = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_secund = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_comp = null; -public String _stay_hh = ""; -public String _stay_mi = ""; -public String _stay_ss = ""; -public String _sdate = ""; -public String _stime = ""; -public String _horaingreso = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_quala = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_ferrero = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_sanmarcos = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_campari = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_iberia = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_bepensa = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_scj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_medj = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_duracell = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_guna = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_kimb = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_tresm = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_redb = null; -public anywheresoftware.b4a.objects.ButtonWrapper _btn_ubicar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_comm = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_mm = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_vive = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_guna = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_ba = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_comis = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_mm_1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_vive_1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_guna_1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_ba_1 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total_comis_1 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_comiss = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel_c = null; -public int _titleheight = 0; -public int _title2height = 0; -public int _dividerheight = 0; -public b4a.example3.customlistview _clv1 = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnltitle = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_marcas = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel5 = null; -public anywheresoftware.b4a.objects.LabelWrapper _lbltitle = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_ok_panel5 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_principal = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_mandainfo = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -public anywheresoftware.b4a.objects.LabelWrapper _label22 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_rutasuplencia = null; -public String _userpiezas = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_abordo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_abordo = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_venta = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_preventa = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_abordo = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel11 = null; -public b4a.example3.customlistview _clv_pick_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_pick_ciego = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pick_ciego = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pick_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_ciego = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel4 = null; -public String _q_buscar = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _et_buspc = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _titledata{ -public boolean IsInitialized; -public String Title; -public void Initialize() { -IsInitialized = true; -Title = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _addtitle(String _title) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p_marcas = null; -adm.keymon.com.mx.c_principal._titledata _td = null; - //BA.debugLineNum = 2707;BA.debugLine="Sub AddTitle (Title As String)"; - //BA.debugLineNum = 2708;BA.debugLine="Dim p_MARCAS As B4XView = xui.CreatePanel(\"\")"; -_p_marcas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p_marcas = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 2709;BA.debugLine="p_MARCAS.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; -_p_marcas.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv1._asview().getWidth(),_titleheight); - //BA.debugLineNum = 2710;BA.debugLine="p_MARCAS.LoadLayout(\"CellTitle\")"; -_p_marcas.LoadLayout("CellTitle",ba); - //BA.debugLineNum = 2711;BA.debugLine="lblTitle.Text = Title"; -_lbltitle.setText(BA.ObjectToCharSequence(_title)); - //BA.debugLineNum = 2712;BA.debugLine="Dim td As TitleData"; -_td = new adm.keymon.com.mx.c_principal._titledata(); - //BA.debugLineNum = 2713;BA.debugLine="td.Title = Title"; -_td.Title /*String*/ = _title; - //BA.debugLineNum = 2714;BA.debugLine="CLV1.Add(p_MARCAS, td)"; -_clv1._add(_p_marcas,(Object)(_td)); - //BA.debugLineNum = 2715;BA.debugLine="End Sub"; -return ""; -} -public String _b_comm_click() throws Exception{ - //BA.debugLineNum = 2577;BA.debugLine="Sub B_COMM_Click"; - //BA.debugLineNum = 2578;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 2579;BA.debugLine="SCROLL_RESDIA.Visible = True"; -_scroll_resdia.setVisible(__c.True); - //BA.debugLineNum = 2580;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"COMIS\")"; -_scroll_resdia.getPanel().LoadLayout("COMIS",ba); - //BA.debugLineNum = 2581;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel_C.Height"; -_scroll_resdia.getPanel().setHeight(_panel_c.getHeight()); - //BA.debugLineNum = 2582;BA.debugLine="Panel4.Visible = False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 2583;BA.debugLine="Panel_C.Visible = True"; -_panel_c.setVisible(__c.True); - //BA.debugLineNum = 2586;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 2587;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2588;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2589;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 2590;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 2591;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 2593;BA.debugLine="If l_ruta.Text <> 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0)) == false) { - //BA.debugLineNum = 2594;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HCM_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB from HIST_COMISIONES_MOVIL "))); - //BA.debugLineNum = 2595;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2596;BA.debugLine="L_TOTAL_BA.Text = c.GetString(\"HCM_TOTAL_BEB\")"; -_l_total_ba.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_BEB"))); - //BA.debugLineNum = 2597;BA.debugLine="L_TOTAL_GUNA.Text = c.GetString(\"HCM_TOTAL_GUNA\""; -_l_total_guna.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_GUNA"))); - //BA.debugLineNum = 2598;BA.debugLine="L_TOTAL_MM.Text = c.GetString(\"HCM_TOTAL_V\")"; -_l_total_mm.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_V"))); - //BA.debugLineNum = 2599;BA.debugLine="L_TOTAL_VIVE.Text = c.GetString(\"HCM_TOTAL_VIVE\""; -_l_total_vive.setText(BA.ObjectToCharSequence(_c.GetString("HCM_TOTAL_VIVE"))); - //BA.debugLineNum = 2600;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2601;BA.debugLine="L_TOTAL_COMIS.Text = 0"; -_l_total_comis.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 2603;BA.debugLine="L_TOTAL_BA.Text = 0"; -_l_total_ba.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 2604;BA.debugLine="L_TOTAL_GUNA.Text = 0"; -_l_total_guna.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 2605;BA.debugLine="L_TOTAL_MM.Text = 0"; -_l_total_mm.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 2606;BA.debugLine="L_TOTAL_VIVE.Text = 0"; -_l_total_vive.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 2607;BA.debugLine="L_TOTAL_COMIS.Text = 0"; -_l_total_comis.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 2609;BA.debugLine="End Sub"; -return ""; -} -public String _b_mapa_click() throws Exception{ - //BA.debugLineNum = 2109;BA.debugLine="Sub b_mapa_Click"; - //BA.debugLineNum = 2110;BA.debugLine="Log(\"mapClic\")"; -__c.LogImpl("350003969","mapClic",0); - //BA.debugLineNum = 2111;BA.debugLine="B4XPages.GetPage(\"Mapas\")"; -_b4xpages._getpage /*Object*/ (ba,"Mapas"); - //BA.debugLineNum = 2112;BA.debugLine="End Sub"; -return ""; -} -public String _b_marcas_click() throws Exception{ -int _i = 0; - //BA.debugLineNum = 2623;BA.debugLine="Sub B_MARCAS_Click"; - //BA.debugLineNum = 2648;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 2649;BA.debugLine="Panel5.Visible = True"; -_panel5.setVisible(__c.True); - //BA.debugLineNum = 2650;BA.debugLine="pnlTitle.Visible = False"; -_pnltitle.setVisible(__c.False); - //BA.debugLineNum = 2651;BA.debugLine="pnlTitle.SetLayoutAnimated(0, 0, 0, CLV1.AsView.W"; -_pnltitle.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv1._asview().getWidth(),(int) (_titleheight+_dividerheight)); - //BA.debugLineNum = 2652;BA.debugLine="pnlTitle.LoadLayout(\"CellTitle\")"; -_pnltitle.LoadLayout("CellTitle",ba); - //BA.debugLineNum = 2653;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CAT_GP"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CAT_GP_CLASIF, SUM(TOTAL) AS TOTAL FROM TOTAL_MARCAS GROUP BY CAT_GP_CLASIF"))); - //BA.debugLineNum = 2654;BA.debugLine="CLV1.Clear"; -_clv1._clear(); - //BA.debugLineNum = 2655;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2656;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step9 = 1; -final int limit9 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 2657;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2658;BA.debugLine="AddTitle(c.GetString(\"CAT_GP_CLASIF\"))"; -_addtitle(_c.GetString("CAT_GP_CLASIF")); - //BA.debugLineNum = 2659;BA.debugLine="If c.GetString(\"CAT_GP_CLASIF\") = \"PROMOS\" Then"; -if ((_c.GetString("CAT_GP_CLASIF")).equals("PROMOS")) { - //BA.debugLineNum = 2660;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"SELECT SUM"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT SUM(PE_CANT) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID"))); - //BA.debugLineNum = 2661;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2662;BA.debugLine="CLV1.AddTextItem(\"CANTIDAD DE PROMOS = \" & d.G"; -_clv1._addtextitem((Object)("CANTIDAD DE PROMOS = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 2663;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 2665;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery2(\"select CO"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 2666;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 2667;BA.debugLine="If f.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_f.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 2668;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery2(\"select H"; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA = ?",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 2669;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 2670;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT count(distinct(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 2671;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2672;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; -_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1")); - //BA.debugLineNum = 2673;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & e.GetString"; -_clv1._addtextitem((Object)("M E T A = $"+_e.GetString("HMC_TOTAL")),(Object)("1")); - //BA.debugLineNum = 2674;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (e.GetString("; -_clv1._addtextitem((Object)("FALTA = $"+BA.NumberToString(((double)(Double.parseDouble(_e.GetString("HMC_TOTAL")))-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1")); - //BA.debugLineNum = 2675;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; -_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 2676;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2677;BA.debugLine="e.Close"; -_e.Close(); - }else { - //BA.debugLineNum = 2679;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"SELECT c"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT count(distinct(pe_cliente)) AS CUANTOS FROM PEDIDO WHERE PE_PROID in (select CAT_GP_ID from cat_gunaprod WHERE CAT_GP_CLASIF =?)",new String[]{_c.GetString("CAT_GP_CLASIF")}))); - //BA.debugLineNum = 2680;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2681;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $\" & c.Ge"; -_clv1._addtextitem((Object)("TOTAL PREVENTA = $"+_c.GetString("TOTAL")),(Object)("1")); - //BA.debugLineNum = 2682;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & \"1000\",\"1\")"; -_clv1._addtextitem((Object)("M E T A = $"+"1000"),(Object)("1")); - //BA.debugLineNum = 2683;BA.debugLine="CLV1.AddTextItem(\"FALTA = $\" & (1000 - c.Get"; -_clv1._addtextitem((Object)("FALTA = $"+BA.NumberToString((1000-(double)(Double.parseDouble(_c.GetString("TOTAL")))))),(Object)("1")); - //BA.debugLineNum = 2684;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = \" & d.GetString"; -_clv1._addtextitem((Object)("CLIENTES = "+_d.GetString("CUANTOS")),(Object)("1")); - //BA.debugLineNum = 2685;BA.debugLine="d.Close"; -_d.Close(); - }; - //BA.debugLineNum = 2687;BA.debugLine="f.Close"; -_f.Close(); - }; - } -}; - }; - //BA.debugLineNum = 2691;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2692;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HMC_MA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HMC_MARCA, HMC_TOTAL from HIST_MARCAS_CUOTAS where HMC_MARCA not in (SELECT CAT_GP_CLASIF FROM TOTAL_MARCAS )"))); - //BA.debugLineNum = 2693;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2694;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step47 = 1; -final int limit47 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit47 ;_i = _i + step47 ) { - //BA.debugLineNum = 2695;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 2696;BA.debugLine="AddTitle(c.GetString(\"HMC_MARCA\"))"; -_addtitle(_c.GetString("HMC_MARCA")); - //BA.debugLineNum = 2697;BA.debugLine="CLV1.AddTextItem(\"TOTAL PREVENTA = $ 0.00\",\"1\""; -_clv1._addtextitem((Object)("TOTAL PREVENTA = $ 0.00"),(Object)("1")); - //BA.debugLineNum = 2698;BA.debugLine="CLV1.AddTextItem(\"M E T A = $\" & C.GetString(\""; -_clv1._addtextitem((Object)("M E T A = $"+_c.GetString("HMC_TOTAL")),(Object)("1")); - //BA.debugLineNum = 2699;BA.debugLine="CLV1.AddTextItem(\"CLIENTES = 0\",\"1\")"; -_clv1._addtextitem((Object)("CLIENTES = 0"),(Object)("1")); - } -}; - }; - //BA.debugLineNum = 2702;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2705;BA.debugLine="End Sub"; -return ""; -} -public String _b_ok_comiss_click() throws Exception{ - //BA.debugLineNum = 2611;BA.debugLine="Sub B_OK_COMISS_Click"; - //BA.debugLineNum = 2612;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2613;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2614;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2615;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2616;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 2617;BA.debugLine="Panel_C.Visible = False"; -_panel_c.setVisible(__c.False); - //BA.debugLineNum = 2618;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 2619;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 2620;BA.debugLine="End Sub"; -return ""; -} -public String _b_ok_panel5_click() throws Exception{ - //BA.debugLineNum = 2717;BA.debugLine="Sub B_OK_PANEL5_Click"; - //BA.debugLineNum = 2718;BA.debugLine="Panel5.Visible = False"; -_panel5.setVisible(__c.False); - //BA.debugLineNum = 2719;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2720;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2721;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2722;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2723;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 2724;BA.debugLine="Panel4.Visible=False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 2725;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 2726;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 2727;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 2729;BA.debugLine="End Sub"; -return ""; -} -public String _b_ok_pas_click() throws Exception{ - //BA.debugLineNum = 2225;BA.debugLine="Sub B_OK_PAS_Click"; - //BA.debugLineNum = 2226;BA.debugLine="If CARGA = \"SUBIR\" And S_CP.Text = \"INFO OK\" Then"; -if ((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK")) { - //BA.debugLineNum = 2227;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 2228;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - //BA.debugLineNum = 2229;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 2231;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2232;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2233;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2234;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2235;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2236;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_principal,(int) (0),(int) (0)); - }else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("ERROR")) { - //BA.debugLineNum = 2238;BA.debugLine="Msgbox(\"Tiene que subir de nuevo la información\""; -__c.Msgbox(BA.ObjectToCharSequence("Tiene que subir de nuevo la información"),BA.ObjectToCharSequence("Atención"),ba); - //BA.debugLineNum = 2239;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 2240;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - //BA.debugLineNum = 2242;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2243;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2244;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2245;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2246;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2247;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_principal,(int) (0),(int) (0)); - }else if((_carga).equals("SUBIR") && (_s_cp.getText()).equals("INFO OK") == false) { - //BA.debugLineNum = 2249;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 2250;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 2251;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 2253;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2254;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2255;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2256;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2257;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2258;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_principal,(int) (0),(int) (0)); - //BA.debugLineNum = 2259;BA.debugLine="ExitApplication"; -__c.ExitApplication(); - }; - }; - //BA.debugLineNum = 2262;BA.debugLine="If CARGA = \"CARGAR\" And S_CP.Text = \"LISTO\" And S"; -if ((_carga).equals("CARGAR") && (_s_cp.getText()).equals("LISTO") && (_s_cc.getText()).equals("LISTO") && (_s_ch.getText()).equals("LISTO")) { - //BA.debugLineNum = 2263;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 2264;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - //BA.debugLineNum = 2265;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - //BA.debugLineNum = 2266;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 2268;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2269;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2270;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2271;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2272;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2273;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_principal,(int) (0),(int) (0)); - //BA.debugLineNum = 2274;BA.debugLine="If E_RUTA2.Text <> \"\" Then"; -if ((_e_ruta2.getText()).equals("") == false) { - //BA.debugLineNum = 2276;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_SUPLENCIA(RS_RUTA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_e_ruta2.getText()})); - }; - //BA.debugLineNum = 2278;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTAA(RUTAA) VALUES(?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{_e_ruta.getText()})); - //BA.debugLineNum = 2279;BA.debugLine="checaPedido"; -_checapedido(); - //BA.debugLineNum = 2280;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_carga).equals("CARGAR") && ((_s_cp.getText()).equals("LISTO") == false || (_s_cc.getText()).equals("LISTO") == false || (_s_ch.getText()).equals("LISTO") == false)) { - //BA.debugLineNum = 2282;BA.debugLine="RES = Msgbox2(\"Seguro que desea abortar el proc"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea abortar el proceso"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 2283;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 2284;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 2285;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - //BA.debugLineNum = 2287;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2288;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2289;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2290;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2291;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2292;BA.debugLine="Subs.panelVisible(p_principal, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p_principal,(int) (0),(int) (0)); - //BA.debugLineNum = 2293;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 2294;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 2295;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 2296;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2297;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 2298;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2299;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 2300;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 2301;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); - //BA.debugLineNum = 2302;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); - //BA.debugLineNum = 2303;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); - //BA.debugLineNum = 2304;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); - //BA.debugLineNum = 2305;BA.debugLine="ExitApplication"; -__c.ExitApplication(); - }; - }; - //BA.debugLineNum = 2308;BA.debugLine="End Sub"; -return ""; -} -public String _b_ok_res_click() throws Exception{ - //BA.debugLineNum = 2314;BA.debugLine="Sub B_OK_RES_Click"; - //BA.debugLineNum = 2316;BA.debugLine="NUEVO.Visible =True"; -_nuevo.setVisible(__c.True); - //BA.debugLineNum = 2317;BA.debugLine="BUSCA.Visible=True"; -_busca.setVisible(__c.True); - //BA.debugLineNum = 2318;BA.debugLine="connecta.Visible=True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2319;BA.debugLine="Resumen.Visible= True"; -_resumen.setVisible(__c.True); - //BA.debugLineNum = 2320;BA.debugLine="P_RESUMEN.Visible=False"; -_p_resumen.setVisible(__c.False); - //BA.debugLineNum = 2321;BA.debugLine="Panel4.Visible = False"; -_panel4.setVisible(__c.False); - //BA.debugLineNum = 2322;BA.debugLine="SCROLL_RESDIA.Visible = False"; -_scroll_resdia.setVisible(__c.False); - //BA.debugLineNum = 2323;BA.debugLine="Btn_Ubicar.Visible=True"; -_btn_ubicar.setVisible(__c.True); - //BA.debugLineNum = 2324;BA.debugLine="p_principal.Visible = True"; -_p_principal.setVisible(__c.True); - //BA.debugLineNum = 2325;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ - //BA.debugLineNum = 360;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 361;BA.debugLine="rd.respaldaPedido"; -_rd._respaldapedido /*String*/ (); - //BA.debugLineNum = 362;BA.debugLine="rd.respaldaInventarios"; -_rd._respaldainventarios /*String*/ (); - //BA.debugLineNum = 363;BA.debugLine="rd.respaldaPaquetes"; -_rd._respaldapaquetes /*String*/ (); - //BA.debugLineNum = 364;BA.debugLine="HORAINGRESO =\"000000\""; -_horaingreso = "000000"; - //BA.debugLineNum = 365;BA.debugLine="Btn_Ubicar.Left = (Root.Width/2) - (Btn_Ubicar.Wi"; -_btn_ubicar.setLeft((int) ((_root.getWidth()/(double)2)-(_btn_ubicar.getWidth()/(double)2))); - //BA.debugLineNum = 366;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; -_reqmanager._initialize /*String*/ (ba,this,_starter._dbreqserver /*String*/ ); - //BA.debugLineNum = 367;BA.debugLine="Log(Starter.DBReqServer)"; -__c.LogImpl("349545223",_starter._dbreqserver /*String*/ ,0); - //BA.debugLineNum = 368;BA.debugLine="PASO =0"; -_paso = BA.NumberToString(0); - //BA.debugLineNum = 369;BA.debugLine="If Not(Starter.gps.GPSEnabled) Then"; -if (__c.Not(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled())) { - //BA.debugLineNum = 370;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Es necesario tener el GPS encendido"),__c.True);}; - //BA.debugLineNum = 371;BA.debugLine="StartActivity(Starter.gps.LocationSettingsIntent"; -__c.StartActivity(ba,(Object)(_starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - }; - //BA.debugLineNum = 373;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(*) as CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 374;BA.debugLine="c.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 375;BA.debugLine="If c.GetString(\"CUANTOS\") = 0 Then"; -if ((_c.GetString("CUANTOS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 376;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 377;BA.debugLine="cmd.Name = \"select_fecha\""; -_cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 378;BA.debugLine="Log( Starter.DBReqServer)"; -__c.LogImpl("349545234",_starter._dbreqserver /*String*/ ,0); - //BA.debugLineNum = 379;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 380;BA.debugLine="Msgbox(\"AJUSTAR FECHA\",\"AVISO\") 'ignore"; -__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR FECHA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 381;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else { - //BA.debugLineNum = 383;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select CAT_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"FECHA"}))); - //BA.debugLineNum = 384;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 385;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 386;BA.debugLine="DateTime.DateFormat = \"yyyyMMdd\""; -__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 387;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 388;BA.debugLine="If c.GetString(\"CAT_VA_VALOR\") > sDate Then"; -if ((double)(Double.parseDouble(_c.GetString("CAT_VA_VALOR")))>(double)(Double.parseDouble(_sdate))) { - //BA.debugLineNum = 389;BA.debugLine="Msgbox(\"AJUSTAR LA FECHA YA QUE ES MENOR AL SIS"; -__c.Msgbox(BA.ObjectToCharSequence("AJUSTAR LA FECHA YA QUE ES MENOR AL SISTEMA"),BA.ObjectToCharSequence("AVISO"),ba); - //BA.debugLineNum = 390;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 391;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 393;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 395;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 396;BA.debugLine="If EJECUTANDO =0 Then"; -if ((_ejecutando).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 397;BA.debugLine="Listo1 = 0"; -_listo1 = BA.NumberToString(0); - //BA.debugLineNum = 398;BA.debugLine="Listo2 = 0"; -_listo2 = BA.NumberToString(0); - //BA.debugLineNum = 399;BA.debugLine="Listo3 = 0"; -_listo3 = BA.NumberToString(0); - //BA.debugLineNum = 400;BA.debugLine="Listo4 = 0"; -_listo4 = BA.NumberToString(0); - //BA.debugLineNum = 401;BA.debugLine="Listo5 = 0"; -_listo5 = BA.NumberToString(0); - //BA.debugLineNum = 402;BA.debugLine="inve = 0"; -_inve = BA.NumberToString(0); - //BA.debugLineNum = 403;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - }; - //BA.debugLineNum = 405;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 406;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 407;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente WHERE PC_CLIENTE <> 0 AND PC_CLIENTE <> 1"))); - //BA.debugLineNum = 408;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 409;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 410;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 412;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))); - //BA.debugLineNum = 413;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 414;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))); - //BA.debugLineNum = 415;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 416;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info WHERE CAT_CL_CODIGO <>0 OR CAT_CL_CODIGO <>1 "))); - //BA.debugLineNum = 417;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 418;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 419;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 420;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 421;BA.debugLine="l_ruta.Text =0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 423;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 424;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 425;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 426;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 428;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 429;BA.debugLine="L_MONTOD.Text =0"; -_l_montod.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 430;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 431;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 432;BA.debugLine="L_CUANTOST.Text = 0"; -_l_cuantost.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 433;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 434;BA.debugLine="l_drop.Text = 0"; -_l_drop.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 435;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 436;BA.debugLine="l_efectiva.text =0"; -_l_efectiva.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 437;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 438;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 439;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 440;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 441;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); - //BA.debugLineNum = 442;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 443;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 444;BA.debugLine="b.close"; -_b.Close(); - }else { - //BA.debugLineNum = 446;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select SUM("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select SUM(PE_COSTO_TOT) as MONTO_DIA, COUNT(DISTINCT(PE_CLIENTE)) AS CLIENTES_DIA from PEDIDO WHERE PE_CLIENTE <> 0"))); - //BA.debugLineNum = 447;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); - //BA.debugLineNum = 448;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 449;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 450;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; -_l_montod.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 451;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; -_l_cuantosc.setText(BA.ObjectToCharSequence(_c.GetString("CLIENTES_DIA"))); - //BA.debugLineNum = 453;BA.debugLine="D2=B4XPages.MainPage.skmt.ExecQuery(\"select COU"; -_d2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select COUNT(*) AS CUANTOS from PEDIDO "))); - //BA.debugLineNum = 454;BA.debugLine="D2.Position = 0"; -_d2.setPosition((int) (0)); - //BA.debugLineNum = 455;BA.debugLine="LPT = D2.GetString(\"CUANTOS\") / l_cuantosc.Text"; -_lpt = BA.NumberToString((double)(Double.parseDouble(_d2.GetString("CUANTOS")))/(double)(double)(Double.parseDouble(_l_cuantosc.getText()))); - //BA.debugLineNum = 456;BA.debugLine="D2.Close"; -_d2.Close(); - //BA.debugLineNum = 458;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 459;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; -_efectiva = (double)(Double.parseDouble(_c.GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 460;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; -_l_efectiva.setText(BA.ObjectToCharSequence(__c.Round2(_efectiva*100,(int) (2)))); - //BA.debugLineNum = 461;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 462;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 463;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 464;BA.debugLine="L_CUANTOST.Text = l_cuantosc.Text + l_cuantosn.T"; -_l_cuantost.setText(BA.ObjectToCharSequence((double)(Double.parseDouble(_l_cuantosc.getText()))+(double)(Double.parseDouble(_l_cuantosn.getText())))); - //BA.debugLineNum = 465;BA.debugLine="drop = L_CUANTOST.Text / l_porvisitar.Text"; -_drop = (double)(Double.parseDouble(_l_cuantost.getText()))/(double)(double)(Double.parseDouble(_l_porvisitar.getText())); - //BA.debugLineNum = 466;BA.debugLine="l_drop.Text = Round(drop * 100)"; -_l_drop.setText(BA.ObjectToCharSequence(__c.Round(_drop*100))); - //BA.debugLineNum = 467;BA.debugLine="If L_CUANTOST.Text < 40 Then"; -if ((double)(Double.parseDouble(_l_cuantost.getText()))<40) { - //BA.debugLineNum = 468;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"tache_rojo.png").getObject())); - }else if((double)(Double.parseDouble(_l_cuantost.getText()))>=40 && (double)(Double.parseDouble(_l_cuantost.getText()))<50) { - //BA.debugLineNum = 470;BA.debugLine="ImageView3.bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alerta_amarilla.png").getObject())); - }else { - //BA.debugLineNum = 472;BA.debugLine="ImageView3.Bitmap = LoadBitmap(File.DirAssets,"; -_imageview3.setBitmap((android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"palomita_verde.png").getObject())); - }; - //BA.debugLineNum = 482;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 483;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 485;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 486;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 487;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 488;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 489;BA.debugLine="C.Position =0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 490;BA.debugLine="ALMACEN = C.GetString(\"ID_ALMACEN\")"; -_almacen = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 491;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 492;BA.debugLine="bu.Initialize"; -_bu._initialize /*String*/ (ba); - //BA.debugLineNum = 493;BA.debugLine="batterystatus = bu.BatteryInformation"; -_batterystatus = _bu._getbatteryinformation /*int[]*/ (); - //BA.debugLineNum = 496;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 497;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 498;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 499;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 500;BA.debugLine="B4XPages.MainPage.batt = batterystatus(0)"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._batt /*int*/ = _batterystatus[(int) (0)]; - //BA.debugLineNum = 501;BA.debugLine="B4XPages.MainPage.montoActual = L_MONTOD.Text"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._montoactual /*String*/ = _l_montod.getText(); - //BA.debugLineNum = 502;BA.debugLine="B4XPages.MainPage.clientestotal = L_CUANTOST.Text"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._clientestotal /*String*/ = _l_cuantost.getText(); - //BA.debugLineNum = 503;BA.debugLine="B4XPages.MainPage.clientesventa = l_cuantosc.Tex"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._clientesventa /*String*/ = _l_cuantosc.getText(); - //BA.debugLineNum = 504;BA.debugLine="B4XPages.MainPage.clientesvisitados = l_porvisita"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._clientesvisitados /*String*/ = _l_porvisitar.getText(); - //BA.debugLineNum = 505;BA.debugLine="B4XPages.MainPage.ALMACEN = ALMACEN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._almacen /*String*/ = _almacen; - //BA.debugLineNum = 506;BA.debugLine="B4XPages.MainPage.rutapreventa = l_ruta.text"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._rutapreventa /*String*/ = _l_ruta.getText(); - //BA.debugLineNum = 509;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 510;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 511;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 512;BA.debugLine="B4XPages.MainPage.usuario = usuario"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._usuario /*String*/ = _usuario; - //BA.debugLineNum = 513;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 515;BA.debugLine="CallSub(Starter, \"ENVIA_ULTIMA_GPS\")"; -__c.CallSubNew(ba,(Object)(_starter.getObject()),"ENVIA_ULTIMA_GPS"); - //BA.debugLineNum = 518;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA"))); - //BA.debugLineNum = 519;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 520;BA.debugLine="If s.RowCount = 0 Then"; -if (_s.getRowCount()==0) { - //BA.debugLineNum = 522;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 523;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - //BA.debugLineNum = 524;BA.debugLine="l_rutasuplencia.Text = \"\""; -_l_rutasuplencia.setText(BA.ObjectToCharSequence("")); - }else if(_s.getRowCount()>0) { - //BA.debugLineNum = 528;BA.debugLine="Label22.Visible = True"; -_label22.setVisible(__c.True); - //BA.debugLineNum = 529;BA.debugLine="l_rutasuplencia.Visible = True"; -_l_rutasuplencia.setVisible(__c.True); - //BA.debugLineNum = 530;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; -_l_rutasuplencia.setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); - }; - //BA.debugLineNum = 533;BA.debugLine="s.Close"; -_s.Close(); - //BA.debugLineNum = 535;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RUTA"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RUTAA FROM RUTAA"))); - //BA.debugLineNum = 536;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 537;BA.debugLine="If s.RowCount = 0 Then"; -if (_s.getRowCount()==0) { - //BA.debugLineNum = 540;BA.debugLine="l_ruta.Text = 0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - }else if(_s.getRowCount()>0) { - //BA.debugLineNum = 544;BA.debugLine="l_ruta.Text = s.GetString(\"RUTAA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_s.GetString("RUTAA"))); - }; - //BA.debugLineNum = 548;BA.debugLine="If l_ruta.Text = \"0\" Then"; -if ((_l_ruta.getText()).equals("0")) { - //BA.debugLineNum = 549;BA.debugLine="p_abordo.Visible = False"; -_p_abordo.setVisible(__c.False); - }else { - //BA.debugLineNum = 551;BA.debugLine="p_abordo.Visible = False"; -_p_abordo.setVisible(__c.False); - }; - //BA.debugLineNum = 564;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_principal parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_principal parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 2027;BA.debugLine="If SCROLL_RESDIA.Visible Then"; -if (true) break; - -case 1: -//if -this.state = 8; -if (parent._scroll_resdia.getVisible()) { -this.state = 3; -}else if(parent._panel5.getVisible()) { -this.state = 5; -}else { -this.state = 7; -}if (true) break; - -case 3: -//C -this.state = 8; - //BA.debugLineNum = 2028;BA.debugLine="SCROLL_RESDIA.Visible = False"; -parent._scroll_resdia.setVisible(parent.__c.False); - //BA.debugLineNum = 2029;BA.debugLine="B_OK_RES_Click"; -parent._b_ok_res_click(); - //BA.debugLineNum = 2030;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 5: -//C -this.state = 8; - //BA.debugLineNum = 2032;BA.debugLine="B_OK_PANEL5_Click"; -parent._b_ok_panel5_click(); - //BA.debugLineNum = 2033;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 2035;BA.debugLine="B4XPages.ShowPage(\"login\")"; -parent._b4xpages._showpage /*String*/ (ba,"login"); - if (true) break; - -case 8: -//C -this.state = -1; -; - //BA.debugLineNum = 2037;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 2038;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -String _ruta = ""; - //BA.debugLineNum = 227;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 228;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 230;BA.debugLine="Root.LoadLayout(\"principal\")"; -_root.LoadLayout("principal",ba); - //BA.debugLineNum = 231;BA.debugLine="rd.Initialize"; -_rd._initialize /*Object*/ (ba); - //BA.debugLineNum = 232;BA.debugLine="rd.vacuum"; -_rd._vacuum /*String*/ (); - //BA.debugLineNum = 233;BA.debugLine="EJECUTANDO=1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 234;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 235;BA.debugLine="img2.Visible =False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 236;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 237;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 238;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 240;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 241;BA.debugLine="fecha=DateTime.Date(DateTime.Now)"; -_fecha = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 242;BA.debugLine="B4XPages.MainPage.skmt.Initialize(ruta,\"kmt.db\","; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(_ruta,"kmt.db",__c.True); - //BA.debugLineNum = 243;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"Select count("; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from pedido_cliente"))); - //BA.debugLineNum = 244;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 245;BA.debugLine="Cuantos = b.GetString(\"CUANTOS\")"; -_cuantos = _b.GetString("CUANTOS"); - //BA.debugLineNum = 246;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 247;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as TOTAL_VISITAR from kmt_info where gestion = 0"))); - //BA.debugLineNum = 248;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 249;BA.debugLine="e=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_e = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as POR_VISITAR from kmt_info"))); - //BA.debugLineNum = 250;BA.debugLine="e.Position=0"; -_e.setPosition((int) (0)); - //BA.debugLineNum = 251;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select count("; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 252;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 253;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 254;BA.debugLine="f.Close"; -_f.Close(); - //BA.debugLineNum = 255;BA.debugLine="If l_ruta.Text = 0 Then"; -if ((_l_ruta.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 256;BA.debugLine="l_ruta.Text =0"; -_l_ruta.setText(BA.ObjectToCharSequence(0)); - }else { - //BA.debugLineNum = 258;BA.debugLine="f=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_C"; -_f = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info"))); - //BA.debugLineNum = 259;BA.debugLine="f.Position=0"; -_f.setPosition((int) (0)); - //BA.debugLineNum = 260;BA.debugLine="l_ruta.Text = f.GetString(\"CAT_CL_RUTA\")"; -_l_ruta.setText(BA.ObjectToCharSequence(_f.GetString("CAT_CL_RUTA"))); - //BA.debugLineNum = 261;BA.debugLine="f.Close"; -_f.Close(); - }; - //BA.debugLineNum = 263;BA.debugLine="If Cuantos = 0 Then"; -if ((_cuantos).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 264;BA.debugLine="L_MONTOD.Text =0"; -_l_montod.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 265;BA.debugLine="l_cuantosc.Text = 0"; -_l_cuantosc.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 266;BA.debugLine="l_cuantosn.Text = 0"; -_l_cuantosn.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 267;BA.debugLine="drop = 0"; -_drop = 0; - //BA.debugLineNum = 268;BA.debugLine="l_drop.Text = 0"; -_l_drop.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 269;BA.debugLine="efectiva = 0"; -_efectiva = 0; - //BA.debugLineNum = 270;BA.debugLine="l_efectiva.text =0"; -_l_efectiva.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 271;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 272;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - }else { - //BA.debugLineNum = 274;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pc_monto) as MONTO_DIA, count(pc_cliente) AS CLIENTES_DIA from pedido_cliente where PC_CLIENTE <> 0 AND PC_CLIENTE <> 1"))); - //BA.debugLineNum = 275;BA.debugLine="b=B4XPages.MainPage.skmt.ExecQuery(\"select count"; -_b = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(*) as CUANTOS from noventa"))); - //BA.debugLineNum = 277;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 278;BA.debugLine="b.Position=0"; -_b.setPosition((int) (0)); - //BA.debugLineNum = 279;BA.debugLine="L_MONTOD.Text = c.GetString(\"MONTO_DIA\")"; -_l_montod.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 280;BA.debugLine="l_cuantosc.Text = c.GetString(\"CLIENTES_DIA\")"; -_l_cuantosc.setText(BA.ObjectToCharSequence(_c.GetString("CLIENTES_DIA"))); - //BA.debugLineNum = 281;BA.debugLine="l_cuantosn.Text = b.GetString(\"CUANTOS\")"; -_l_cuantosn.setText(BA.ObjectToCharSequence(_b.GetString("CUANTOS"))); - //BA.debugLineNum = 283;BA.debugLine="l_drop.Text = Round2(drop,2)"; -_l_drop.setText(BA.ObjectToCharSequence(__c.Round2(_drop,(int) (2)))); - //BA.debugLineNum = 284;BA.debugLine="efectiva = c.GetString(\"CLIENTES_DIA\") / e.GetSt"; -_efectiva = (double)(Double.parseDouble(_c.GetString("CLIENTES_DIA")))/(double)(double)(Double.parseDouble(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 285;BA.debugLine="l_efectiva.text = Round2(efectiva*100,2)"; -_l_efectiva.setText(BA.ObjectToCharSequence(__c.Round2(_efectiva*100,(int) (2)))); - //BA.debugLineNum = 286;BA.debugLine="l_ctast.Text = d.GetString(\"TOTAL_VISITAR\")"; -_l_ctast.setText(BA.ObjectToCharSequence(_d.GetString("TOTAL_VISITAR"))); - //BA.debugLineNum = 287;BA.debugLine="l_porvisitar.Text = e.GetString(\"POR_VISITAR\")"; -_l_porvisitar.setText(BA.ObjectToCharSequence(_e.GetString("POR_VISITAR"))); - //BA.debugLineNum = 288;BA.debugLine="b.Close"; -_b.Close(); - //BA.debugLineNum = 289;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 291;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 292;BA.debugLine="e.Close"; -_e.Close(); - //BA.debugLineNum = 294;BA.debugLine="s = B4XPages.MainPage.skmt.ExecQuery(\"select RS_R"; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select RS_RUTA FROM RUTA_SUPLENCIA"))); - //BA.debugLineNum = 295;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 296;BA.debugLine="If s.RowCount = 0 Then"; -if (_s.getRowCount()==0) { - //BA.debugLineNum = 297;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 298;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - }else if(_s.getRowCount()>0) { - //BA.debugLineNum = 300;BA.debugLine="Label22.Visible = True"; -_label22.setVisible(__c.True); - //BA.debugLineNum = 301;BA.debugLine="l_rutasuplencia.Visible = True"; -_l_rutasuplencia.setVisible(__c.True); - //BA.debugLineNum = 302;BA.debugLine="l_rutasuplencia.Text = s.GetString(\"RS_RUTA\")"; -_l_rutasuplencia.setText(BA.ObjectToCharSequence(_s.GetString("RS_RUTA"))); - }; - //BA.debugLineNum = 304;BA.debugLine="Starter.Skmt.ExecNonQuery($\"create table if not e"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("create table if not exists kmt_info2 ("+__c.SmartStringFormatter("",(Object)(_gettablecolumnlist(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ ,"kmt_info")))+")")); - //BA.debugLineNum = 305;BA.debugLine="End Sub"; -return ""; -} -public void _btn_ubicar_click() throws Exception{ -ResumableSub_Btn_Ubicar_Click rsub = new ResumableSub_Btn_Ubicar_Click(this); -rsub.resume(ba, null); -} -public static class ResumableSub_Btn_Ubicar_Click extends BA.ResumableSub { -public ResumableSub_Btn_Ubicar_Click(adm.keymon.com.mx.c_principal parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_principal parent; -String _permission = ""; -boolean _result = false; - -@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 = 2553;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; -parent._rp.CheckAndRequest(ba,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 2554;BA.debugLine="Wait For B4XPage_PermissionResult (Permission As"; -parent.__c.WaitFor("b4xpage_permissionresult", ba, this, null); -this.state = 5; -return; -case 5: -//C -this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 2555;BA.debugLine="If Result Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (_result) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 2556;BA.debugLine="StartActivity(MAPA_RUTAS)"; -parent.__c.StartActivity(ba,(Object)(parent._mapa_rutas.getObject())); - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 2558;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _b4xpage_permissionresult(String _permission,boolean _result) throws Exception{ -} -public String _busca_click() throws Exception{ - //BA.debugLineNum = 2105;BA.debugLine="Sub BUSCA_Click"; - //BA.debugLineNum = 2106;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; -_b4xpages._showpage /*String*/ (ba,"TicketsDia"); - //BA.debugLineNum = 2107;BA.debugLine="End Sub"; -return ""; -} -public String _carga_click() throws Exception{ - //BA.debugLineNum = 2342;BA.debugLine="Sub CARGA_Click"; - //BA.debugLineNum = 2343;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 2344;BA.debugLine="End Sub"; -return ""; -} -public String _cargar_click() throws Exception{ -boolean _pedidodiaanterior = false; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cp = null; -String[] _fecha2 = null; -String _dia = ""; -String _dia2 = ""; - //BA.debugLineNum = 875;BA.debugLine="Sub cargar_Click"; - //BA.debugLineNum = 876;BA.debugLine="Dim pedidodiaanterior As Boolean = False"; -_pedidodiaanterior = __c.False; - //BA.debugLineNum = 877;BA.debugLine="Dim cp As Cursor = B4XPages.MainPage.skmt.ExecQue"; -_cp = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cp = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select * from PEDIDO"))); - //BA.debugLineNum = 878;BA.debugLine="If cp.RowCount > 0 Then"; -if (_cp.getRowCount()>0) { - //BA.debugLineNum = 879;BA.debugLine="cp.Position = 0"; -_cp.setPosition((int) (0)); - //BA.debugLineNum = 880;BA.debugLine="Private fecha As String = cp.GetString(\"PE_FECHA"; -_fecha = _cp.GetString("PE_FECHA"); - //BA.debugLineNum = 881;BA.debugLine="Dim fecha2() As String = Regex.Split(\"/\",fecha)"; -_fecha2 = __c.Regex.Split("/",_fecha); - //BA.debugLineNum = 882;BA.debugLine="Dim dia As String = fecha2(1)"; -_dia = _fecha2[(int) (1)]; - //BA.debugLineNum = 883;BA.debugLine="Log(dia)"; -__c.LogImpl("349676296",_dia,0); - //BA.debugLineNum = 884;BA.debugLine="Dim dia2 As String = DateTime.GetDayOfMonth(Date"; -_dia2 = BA.NumberToString(__c.DateTime.GetDayOfMonth(__c.DateTime.getNow())); - //BA.debugLineNum = 885;BA.debugLine="Log(dia & \" , \" & dia2)"; -__c.LogImpl("349676298",_dia+" , "+_dia2,0); - //BA.debugLineNum = 886;BA.debugLine="If dia < dia2 Then"; -if ((double)(Double.parseDouble(_dia))<(double)(Double.parseDouble(_dia2))) { - //BA.debugLineNum = 887;BA.debugLine="pedidodiaanterior = True"; -_pedidodiaanterior = __c.True; - }; - }; - //BA.debugLineNum = 890;BA.debugLine="If Not (pedidodiaanterior) Then"; -if (__c.Not(_pedidodiaanterior)) { - //BA.debugLineNum = 891;BA.debugLine="CARGA = \"CARGAR\""; -_carga = "CARGAR"; - //BA.debugLineNum = 892;BA.debugLine="p_mandaInfo.Width = Root.Width"; -_p_mandainfo.setWidth(_root.getWidth()); - //BA.debugLineNum = 893;BA.debugLine="p_mandaInfo.Height = Root.Height"; -_p_mandainfo.setHeight(_root.getHeight()); - //BA.debugLineNum = 894;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; -_p1.setLeft((int) ((_p_mandainfo.getWidth()/(double)2)-(_p1.getWidth()/(double)2))); - //BA.debugLineNum = 895;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; -_p1.setTop((int) ((_p_mandainfo.getHeight()/(double)2)-(_p1.getHeight()/(double)2))); - //BA.debugLineNum = 896;BA.debugLine="img2.Visible =True"; -_img2.setVisible(__c.True); - //BA.debugLineNum = 897;BA.debugLine="L_P_1.Visible = True"; -_l_p_1.setVisible(__c.True); - //BA.debugLineNum = 898;BA.debugLine="S_CC.Visible = True"; -_s_cc.setVisible(__c.True); - //BA.debugLineNum = 899;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 900;BA.debugLine="P1.Visible = True"; -_p1.setVisible(__c.True); - //BA.debugLineNum = 901;BA.debugLine="p_mandaInfo.Visible = True"; -_p_mandainfo.setVisible(__c.True); - //BA.debugLineNum = 902;BA.debugLine="p_principal.Visible = False"; -_p_principal.setVisible(__c.False); - //BA.debugLineNum = 903;BA.debugLine="Subs.panelVisible(P1, 0, 0)"; -_subs._panelvisible /*String*/ (ba,_p1,(int) (0),(int) (0)); - //BA.debugLineNum = 904;BA.debugLine="Subs.centraPanel(P1, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p1,_root.getWidth()); - //BA.debugLineNum = 905;BA.debugLine="Subs.centraPanelV(P1, Root.Height)"; -_subs._centrapanelv /*String*/ (ba,_p1,_root.getHeight()); - //BA.debugLineNum = 907;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 908;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 909;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 910;BA.debugLine="L_P_3.Visible = True"; -_l_p_3.setVisible(__c.True); - //BA.debugLineNum = 911;BA.debugLine="S_CH.Visible = True"; -_s_ch.setVisible(__c.True); - //BA.debugLineNum = 912;BA.debugLine="PB1.Visible = True"; -_pb1.setVisible(__c.True); - //BA.debugLineNum = 913;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 915;BA.debugLine="L_P_1.Text = \"Catalogo de Clientes\""; -_l_p_1.setText(BA.ObjectToCharSequence("Catalogo de Clientes")); - //BA.debugLineNum = 916;BA.debugLine="L_P_2.Text = \"Catalogos de Productos\""; -_l_p_2.setText(BA.ObjectToCharSequence("Catalogos de Productos")); - //BA.debugLineNum = 917;BA.debugLine="L_P_3.Text = \"Catalogos Historicos\""; -_l_p_3.setText(BA.ObjectToCharSequence("Catalogos Historicos")); - //BA.debugLineNum = 918;BA.debugLine="S_CC.Text = \"EN PROCESO\""; -_s_cc.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 919;BA.debugLine="S_CH.Text = \"EN PROCESO\""; -_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 920;BA.debugLine="S_CP.Text = \"EN PROCESO\""; -_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 921;BA.debugLine="PB1.Progress = 0"; -_pb1.setProgress((int) (0)); - //BA.debugLineNum = 922;BA.debugLine="PB2.Progress = 0"; -_pb2.setProgress((int) (0)); - //BA.debugLineNum = 923;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 926;BA.debugLine="TOPE = 0"; -_tope = (int) (0); - //BA.debugLineNum = 928;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA"); - //BA.debugLineNum = 929;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 930;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CLIENTE_NUEVO"); - //BA.debugLineNum = 931;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 932;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info2"); - //BA.debugLineNum = 933;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cod_result"); - //BA.debugLineNum = 934;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from hist_gest"); - //BA.debugLineNum = 935;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 936;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 937;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 938;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from telefonos"); - //BA.debugLineNum = 939;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 940;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_PROMOS"); - //BA.debugLineNum = 941;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CLIENTE_CANT_PROMOS"); - //BA.debugLineNum = 942;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROMOS_COMP"); - //BA.debugLineNum = 943;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_VERIFICACION"); - //BA.debugLineNum = 944;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO\""; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO"); - //BA.debugLineNum = 945;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM MARCAS_RUTAS"); - //BA.debugLineNum = 946;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_STORE"); - //BA.debugLineNum = 947;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GEOCERCA"); - //BA.debugLineNum = 948;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_MARCAS_CUOTAS"); - //BA.debugLineNum = 949;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_AVANCE"); - //BA.debugLineNum = 950;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 952;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"select co"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select count(CAT_VA_DESCRIPCION) as HoraIngreso from cat_variables where CAT_VA_DESCRIPCION = ? ",new String[]{"HoraIngreso"}))); - //BA.debugLineNum = 953;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 954;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 956;BA.debugLine="If c.GetString(\"HoraIngreso\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("HoraIngreso")))>0) { - //BA.debugLineNum = 957;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"Update ca"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); - }else { - //BA.debugLineNum = 959;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_VALOR,CAT_VA_DESCRIPCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{__c.DateTime.Time(__c.DateTime.getNow()),"HoraIngreso"})); - }; - //BA.debugLineNum = 961;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 962;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 963;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 964;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 965;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 966;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 968;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 969;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 970;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 971;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 973;BA.debugLine="Dim P As PhoneId"; -_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 975;BA.debugLine="imei = \"xxxx\""; -_imei = "xxxx"; - //BA.debugLineNum = 976;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 977;BA.debugLine="cmd.Name =\"insert_drop_ADM\""; -_cmd.Name /*String*/ = "insert_drop_ADM"; - //BA.debugLineNum = 978;BA.debugLine="cmd.Parameters = Array As Object(usuario,e_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_e_ruta.getText()),(Object)(_sdate),(Object)(_imei),(Object)(_stime),(Object)(""),(Object)(""),(Object)(""),(Object)(""),(Object)("CARGA"),(Object)(_almacen)}; - //BA.debugLineNum = 979;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - //BA.debugLineNum = 981;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 982;BA.debugLine="cmd.Name = \"select_cat_gunaprod_ADM\""; -_cmd.Name /*String*/ = "select_cat_gunaprod_ADM"; - //BA.debugLineNum = 983;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 984;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 991;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 992;BA.debugLine="cmd.Name = \"select_cat_GIRO_ADM\""; -_cmd.Name /*String*/ = "select_cat_GIRO_ADM"; - //BA.debugLineNum = 993;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"giro\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("giro")); - //BA.debugLineNum = 1000;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1001;BA.debugLine="cmd.Name = \"select_cat_paquetes_ADM\""; -_cmd.Name /*String*/ = "select_cat_paquetes_ADM"; - //BA.debugLineNum = 1002;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1003;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 1006;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1007;BA.debugLine="cmd.Name = \"select_cat_paquetess_ADM\""; -_cmd.Name /*String*/ = "select_cat_paquetess_ADM"; - //BA.debugLineNum = 1008;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1009;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 1011;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1012;BA.debugLine="cmd.Name = \"select_cat_detallepa_ADM\""; -_cmd.Name /*String*/ = "select_cat_detallepa_ADM"; - //BA.debugLineNum = 1013;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1014;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq")); - //BA.debugLineNum = 1016;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1017;BA.debugLine="cmd.Name = \"select_cat_clientes_ADM\""; -_cmd.Name /*String*/ = "select_cat_clientes_ADM"; - //BA.debugLineNum = 1018;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1019;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1021;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1022;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_ADM\""; -_cmd.Name /*String*/ = "select_cat_clientes_todos_ADM"; - //BA.debugLineNum = 1023;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1024;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_todo"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos_todos")); - //BA.debugLineNum = 1026;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1027;BA.debugLine="cmd.Name = \"select_hist_datos_ADM\""; -_cmd.Name /*String*/ = "select_hist_datos_ADM"; - //BA.debugLineNum = 1028;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen),(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1029;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1031;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1032;BA.debugLine="cmd.Name = \"select_hist_promos_ADM\""; -_cmd.Name /*String*/ = "select_hist_promos_ADM"; - //BA.debugLineNum = 1033;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1034;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos")); - //BA.debugLineNum = 1041;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1042;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_ADM\""; -_cmd.Name /*String*/ = "select_hist_cliente_promos_ADM"; - //BA.debugLineNum = 1043;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1044;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_p"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos")); - //BA.debugLineNum = 1052;BA.debugLine="If E_RUTA2.text <> \"\" Then"; -if ((_e_ruta2.getText()).equals("") == false) { - //BA.debugLineNum = 1056;BA.debugLine="E_RUTA2.Visible = False"; -_e_ruta2.setVisible(__c.False); - //BA.debugLineNum = 1057;BA.debugLine="Panel11.Visible = False"; -_panel11.setVisible(__c.False); - //BA.debugLineNum = 1059;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1060;BA.debugLine="cmd.Name = \"select_cat_clientes_ADM\""; -_cmd.Name /*String*/ = "select_cat_clientes_ADM"; - //BA.debugLineNum = 1061;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1062;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos")); - //BA.debugLineNum = 1064;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1065;BA.debugLine="cmd.Name = \"select_cat_clientes_todos_ADM\""; -_cmd.Name /*String*/ = "select_cat_clientes_todos_ADM"; - //BA.debugLineNum = 1066;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1067;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"kmt_datos_tod"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("kmt_datos_todos")); - //BA.debugLineNum = 1069;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1070;BA.debugLine="cmd.Name = \"select_hist_datos_ADM\""; -_cmd.Name /*String*/ = "select_hist_datos_ADM"; - //BA.debugLineNum = 1071;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1072;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_datos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_datos")); - //BA.debugLineNum = 1074;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1075;BA.debugLine="cmd.Name = \"select_hist_promos_ADM\""; -_cmd.Name /*String*/ = "select_hist_promos_ADM"; - //BA.debugLineNum = 1076;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1077;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_promos\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_promos")); - //BA.debugLineNum = 1079;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1080;BA.debugLine="cmd.Name = \"select_hist_cliente_promos_ADM\""; -_cmd.Name /*String*/ = "select_hist_cliente_promos_ADM"; - //BA.debugLineNum = 1081;BA.debugLine="cmd.Parameters = Array As Object(E_RUTA2.text,"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta2.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1082;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_cliente_"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_cliente_promos")); - }; - //BA.debugLineNum = 1085;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1086;BA.debugLine="cmd.Name = \"select_promo_comp_ADM\""; -_cmd.Name /*String*/ = "select_promo_comp_ADM"; - //BA.debugLineNum = 1087;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 1088;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_comp_prom"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_comp_promos")); - //BA.debugLineNum = 1095;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1096;BA.debugLine="cmd.Name = \"select_fecha\""; -_cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 1097;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1098;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"fecha\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("fecha")); - //BA.debugLineNum = 1100;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1101;BA.debugLine="cmd.Name = \"select_folio_ADM\""; -_cmd.Name /*String*/ = "select_folio_ADM"; - //BA.debugLineNum = 1102;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1103;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"folio\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("folio")); - //BA.debugLineNum = 1105;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1106;BA.debugLine="cmd.Name = \"select_abonosp_ADM\""; -_cmd.Name /*String*/ = "select_abonosp_ADM"; - //BA.debugLineNum = 1107;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1108;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"select_abonosp"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("select_abonosp")); - //BA.debugLineNum = 1110;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1111;BA.debugLine="cmd.Name = \"select_marcas_rutas_ADM\""; -_cmd.Name /*String*/ = "select_marcas_rutas_ADM"; - //BA.debugLineNum = 1112;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1113;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"marcas_rutas\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("marcas_rutas")); - //BA.debugLineNum = 1125;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1126;BA.debugLine="cmd.Name = \"select_comis_cedex_ADM\""; -_cmd.Name /*String*/ = "select_comis_cedex_ADM"; - //BA.debugLineNum = 1127;BA.debugLine="cmd.Parameters = Array As Object( ALMACEN, e_rut"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 1128;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"COMISIONES\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("COMISIONES")); - //BA.debugLineNum = 1130;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1131;BA.debugLine="cmd.Name = \"select_hist_avance_ADM\" 'select * fr"; -_cmd.Name /*String*/ = "select_hist_avance_ADM"; - //BA.debugLineNum = 1132;BA.debugLine="cmd.Parameters = Array As Object(e_ruta.text, AL"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_e_ruta.getText()),(Object)(_almacen)}; - //BA.debugLineNum = 1133;BA.debugLine="LogColor($\"HIST_AVANCE Ruta=|${e_ruta.text}|, al"; -__c.LogImpl("349676546",("HIST_AVANCE Ruta=|"+__c.SmartStringFormatter("",(Object)(_e_ruta.getText()))+"|, almacen=|"+__c.SmartStringFormatter("",(Object)(_almacen))+"|"),__c.Colors.Red); - //BA.debugLineNum = 1134;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"hist_avance\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("hist_avance")); - //BA.debugLineNum = 1136;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1137;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1138;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1139;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True);}; - }else { - //BA.debugLineNum = 1141;BA.debugLine="Log(\"XXXX\")"; -__c.LogImpl("349676554","XXXX",0); - //BA.debugLineNum = 1142;BA.debugLine="MsgboxAsync(\"Para poder cargar día no puedes ten"; -__c.MsgboxAsync(BA.ObjectToCharSequence("Para poder cargar día no puedes tener venta del día anterior. Por favor haz FIN DIA e intenta nuevamente."),BA.ObjectToCharSequence("Atención"),ba); - }; - //BA.debugLineNum = 1144;BA.debugLine="End Sub"; -return ""; -} -public String _checapedido() throws Exception{ - //BA.debugLineNum = 2746;BA.debugLine="Sub checaPedido"; - //BA.debugLineNum = 2747;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE FROM PEDIDO_CLIENTE"))); - //BA.debugLineNum = 2748;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2749;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 2 WHERE CAT_CL_CODIGO IN (SELECT PC_CLIENTE FROM PEDIDO_CLIENTE)"); - }; - //BA.debugLineNum = 2751;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery(\"SEL"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE FROM NOVENTA"))); - //BA.debugLineNum = 2752;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2753;BA.debugLine="Starter.skmt.ExecNonQuery(\"Update kmt_info set g"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("Update kmt_info set gestion = 3 WHERE CAT_CL_CODIGO IN (SELECT NV_CLIENTE FROM NOVENTA)"); - }; - //BA.debugLineNum = 2755;BA.debugLine="End Sub"; -return ""; -} -public boolean _chkiftableexists(anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ -boolean _t = false; - //BA.debugLineNum = 307;BA.debugLine="Sub chkIfTableExists(db As SQL, table As String) A"; - //BA.debugLineNum = 308;BA.debugLine="Private t As Boolean = False 'ignore"; -_t = __c.False; - //BA.debugLineNum = 309;BA.debugLine="If db.IsInitialized Then"; -if (_db.IsInitialized()) { - //BA.debugLineNum = 310;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"S"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT name FROM sqlite_master WHERE type='table' AND name='"+__c.SmartStringFormatter("",(Object)(_table))+"'")))); - //BA.debugLineNum = 311;BA.debugLine="If c.RowCount > 0 Then t = True"; -if (_c.getRowCount()>0) { -_t = __c.True;}; - //BA.debugLineNum = 312;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 314;BA.debugLine="Return t"; -if (true) return _t; - //BA.debugLineNum = 315;BA.debugLine="End Sub"; -return false; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 3;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 4;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Dim rd As C_RespaldoDiario"; -_rd = new adm.keymon.com.mx.c_respaldodiario(); - //BA.debugLineNum = 7;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 8;BA.debugLine="Dim conectado As String"; -_conectado = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim ime As IME"; -_ime = new anywheresoftware.b4a.objects.IME(); - //BA.debugLineNum = 10;BA.debugLine="Dim t1 As Timer"; -_t1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 11;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim PHONE As Phone"; -_phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 13;BA.debugLine="Dim g As GPS"; -_g = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 14;BA.debugLine="Dim trabajar As Button"; -_trabajar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim d As Cursor"; -_d = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 18;BA.debugLine="Dim b As Cursor"; -_b = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Dim e As Cursor"; -_e = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Dim f As Cursor"; -_f = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim D2 As Cursor"; -_d2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Dim lv As ListView"; -_lv = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 23;BA.debugLine="Dim cargar As Button"; -_cargar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 24;BA.debugLine="Dim pendiente As Button"; -_pendiente = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim foto1(), foto2() As Byte"; -_foto1 = new byte[(int) (0)]; -; -_foto2 = new byte[(int) (0)]; -; - //BA.debugLineNum = 26;BA.debugLine="Dim usuario As String"; -_usuario = ""; - //BA.debugLineNum = 27;BA.debugLine="Dim connecta As Button"; -_connecta = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim conn As String"; -_conn = ""; - //BA.debugLineNum = 29;BA.debugLine="Dim Subir As Button"; -_subir = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 31;BA.debugLine="Dim TOPE As Int"; -_tope = 0; - //BA.debugLineNum = 32;BA.debugLine="Dim COUNT_CLIE As Int"; -_count_clie = 0; - //BA.debugLineNum = 33;BA.debugLine="Dim fecha As String"; -_fecha = ""; - //BA.debugLineNum = 34;BA.debugLine="Dim drop As Double"; -_drop = 0; - //BA.debugLineNum = 35;BA.debugLine="Dim efectiva As Double"; -_efectiva = 0; - //BA.debugLineNum = 36;BA.debugLine="Dim L_MONTOD As Label"; -_l_montod = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Dim l_cuantosc As Label"; -_l_cuantosc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Dim l_drop As Label"; -_l_drop = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim l_efectiva As Label"; -_l_efectiva = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim l_ctast As Label"; -_l_ctast = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Dim BUSCA As Button"; -_busca = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim Cuantos As String"; -_cuantos = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim l_cuantosn As Label"; -_l_cuantosn = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim e_ruta As EditText"; -_e_ruta = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim l_porvisitar As Label"; -_l_porvisitar = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 46;BA.debugLine="Dim b_mapa As Button"; -_b_mapa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Dim l_ruta As Label"; -_l_ruta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Dim ALMACEN As String"; -_almacen = ""; - //BA.debugLineNum = 49;BA.debugLine="Private img2 As ImageView"; -_img2 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Dim Listo1 As String"; -_listo1 = ""; - //BA.debugLineNum = 51;BA.debugLine="Dim Listo2 As String"; -_listo2 = ""; - //BA.debugLineNum = 52;BA.debugLine="Dim Listo3 As String"; -_listo3 = ""; - //BA.debugLineNum = 53;BA.debugLine="Dim Listo4 As String"; -_listo4 = ""; - //BA.debugLineNum = 54;BA.debugLine="Dim Listo5 As String"; -_listo5 = ""; - //BA.debugLineNum = 55;BA.debugLine="Dim EJECUTANDO As String"; -_ejecutando = ""; - //BA.debugLineNum = 56;BA.debugLine="Dim RES As String"; -_res = ""; - //BA.debugLineNum = 57;BA.debugLine="Dim inve As String"; -_inve = ""; - //BA.debugLineNum = 58;BA.debugLine="Dim cuantos_pedidosc As String"; -_cuantos_pedidosc = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim cuantos_pedido As String"; -_cuantos_pedido = ""; - //BA.debugLineNum = 60;BA.debugLine="Dim cuantos_noventa As String"; -_cuantos_noventa = ""; - //BA.debugLineNum = 61;BA.debugLine="Dim datos_iguales As String"; -_datos_iguales = ""; - //BA.debugLineNum = 62;BA.debugLine="Dim p As PhoneId"; -_p = new anywheresoftware.b4a.phone.Phone.PhoneId(); - //BA.debugLineNum = 63;BA.debugLine="Dim imei As String"; -_imei = ""; - //BA.debugLineNum = 65;BA.debugLine="Private inv As Button"; -_inv = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 66;BA.debugLine="Private P1 As Panel"; -_p1 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="Private CLAVE As EditText"; -_clave = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 68;BA.debugLine="Private B_OK_PAS As Button"; -_b_ok_pas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 69;BA.debugLine="Dim PASO As String"; -_paso = ""; - //BA.debugLineNum = 70;BA.debugLine="Private USUARIO1 As EditText"; -_usuario1 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim connecta1 As Double"; -_connecta1 = 0; - //BA.debugLineNum = 72;BA.debugLine="Dim armafolio As String"; -_armafolio = ""; - //BA.debugLineNum = 73;BA.debugLine="Private NUEVO As Button"; -_nuevo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 74;BA.debugLine="Private S_CC As Label"; -_s_cc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 75;BA.debugLine="Private S_CP As Label"; -_s_cp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 76;BA.debugLine="Private S_CH As Label"; -_s_ch = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 77;BA.debugLine="Private PB2 As ProgressBar"; -_pb2 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); - //BA.debugLineNum = 78;BA.debugLine="Private PB1 As ProgressBar"; -_pb1 = new anywheresoftware.b4a.objects.ProgressBarWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Private L_P_1 As Label"; -_l_p_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="Private L_P_2 As Label"; -_l_p_2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 81;BA.debugLine="Private L_P_3 As Label"; -_l_p_3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 82;BA.debugLine="Private CARGA As String"; -_carga = ""; - //BA.debugLineNum = 83;BA.debugLine="Private PORCENTAJE As String"; -_porcentaje = ""; - //BA.debugLineNum = 84;BA.debugLine="Private P_RESUMEN As Panel"; -_p_resumen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Private B_OK_RES As Button"; -_b_ok_res = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 86;BA.debugLine="Private Resumen As Button"; -_resumen = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 87;BA.debugLine="Private L_CUANTOST As Label"; -_l_cuantost = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 88;BA.debugLine="Private img3 As ImageView"; -_img3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 89;BA.debugLine="Private ImageView3 As ImageView"; -_imageview3 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 90;BA.debugLine="Private ImageView5 As ImageView"; -_imageview5 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 91;BA.debugLine="Private L_TICKPROM As Label"; -_l_tickprom = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 92;BA.debugLine="Private L_MARCAS As ListView"; -_l_marcas = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 93;BA.debugLine="Private ImageView9 As ImageView"; -_imageview9 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 94;BA.debugLine="Private E_RUTA2 As EditText"; -_e_ruta2 = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 95;BA.debugLine="Private resdia As ImageView"; -_resdia = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 96;BA.debugLine="Private hacer_ped As ImageView"; -_hacer_ped = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 97;BA.debugLine="Private nvo_cliente As ImageView"; -_nvo_cliente = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 98;BA.debugLine="Private tickets_dia As ImageView"; -_tickets_dia = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 99;BA.debugLine="Private l_monto_ks As Label"; -_l_monto_ks = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 100;BA.debugLine="Private l_monto_kp As Label"; -_l_monto_kp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 101;BA.debugLine="Private l_monto_k As Label"; -_l_monto_k = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 102;BA.debugLine="Private l_monto_c1 As Label"; -_l_monto_c1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 103;BA.debugLine="Private l_monto_c2 As Label"; -_l_monto_c2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 104;BA.debugLine="Private l_monto_c3 As Label"; -_l_monto_c3 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 105;BA.debugLine="Private l_encuesta As Label"; -_l_encuesta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 106;BA.debugLine="Private bpv1 As BatteryProgressView"; -_bpv1 = new batteryprogressviewwrapper.batteryprogressviewWrapper(); - //BA.debugLineNum = 107;BA.debugLine="Dim batterystatus(11) As Int"; -_batterystatus = new int[(int) (11)]; -; - //BA.debugLineNum = 108;BA.debugLine="Private bu As BatteryUtilities"; -_bu = new adm.keymon.com.mx.batteryutilities(); - //BA.debugLineNum = 109;BA.debugLine="Private L_NES As Label"; -_l_nes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 110;BA.debugLine="Private L_REAL As Label"; -_l_real = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 111;BA.debugLine="Private L_ALCANCE As Label"; -_l_alcance = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 112;BA.debugLine="Private L_VPLAN As Label"; -_l_vplan = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 113;BA.debugLine="Private L_VREAL As Label"; -_l_vreal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 114;BA.debugLine="Private L_EFEC_VIS As Label"; -_l_efec_vis = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 115;BA.debugLine="Private L_VISITCC As Label"; -_l_visitcc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 116;BA.debugLine="Private L_EFEC_PV As Label"; -_l_efec_pv = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 117;BA.debugLine="Private L_EFEC_PURA As Label"; -_l_efec_pura = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 118;BA.debugLine="Private L_CTE_PROMO As Label"; -_l_cte_promo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 119;BA.debugLine="Private L_REDEN_PROMO As Label"; -_l_reden_promo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 120;BA.debugLine="Private L_LIN_TICK As Label"; -_l_lin_tick = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 121;BA.debugLine="Private SCROLL_RESDIA As ScrollView"; -_scroll_resdia = new anywheresoftware.b4a.objects.ScrollViewWrapper(); - //BA.debugLineNum = 122;BA.debugLine="Private L_ACUMULADO As Label"; -_l_acumulado = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 123;BA.debugLine="Private L_UNILEVER As Label"; -_l_unilever = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 124;BA.debugLine="Private L_RECHAZOP As Label"; -_l_rechazop = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 125;BA.debugLine="Private L_RECHAZOM As Label"; -_l_rechazom = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 126;BA.debugLine="Private L_VTA_3MES As Label"; -_l_vta_3mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 127;BA.debugLine="Private L_VTA_2MES As Label"; -_l_vta_2mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 128;BA.debugLine="Private L_VTA_1MES As Label"; -_l_vta_1mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 129;BA.debugLine="Private L_MES_PY As Label"; -_l_mes_py = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 130;BA.debugLine="Private L_FREC_DE_CREAL As Label"; -_l_frec_de_creal = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 131;BA.debugLine="Private L_FREC_DE_COBJ As Label"; -_l_frec_de_cobj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 132;BA.debugLine="Private L_COB_VISIT As Label"; -_l_cob_visit = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 133;BA.debugLine="Private L_VISIT_REAL As Label"; -_l_visit_real = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 134;BA.debugLine="Private L_VISIT_PLAN As Label"; -_l_visit_plan = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 135;BA.debugLine="Private L_ECO As Label"; -_l_eco = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 136;BA.debugLine="Private L_COB_CCC As Label"; -_l_cob_ccc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 137;BA.debugLine="Private L_CTES As Label"; -_l_ctes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 138;BA.debugLine="Private L_VPO_VTA As Label"; -_l_vpo_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 139;BA.debugLine="Private L_VPO_OBJ As Label"; -_l_vpo_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 140;BA.debugLine="Private L_DS_VTA As Label"; -_l_ds_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 141;BA.debugLine="Private L_DS_OBJ As Label"; -_l_ds_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 142;BA.debugLine="Private L_DRA_VTA As Label"; -_l_dra_vta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 143;BA.debugLine="Private L_DRA_OBJ As Label"; -_l_dra_obj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 144;BA.debugLine="Private L_ALCANCEM As Label"; -_l_alcancem = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 145;BA.debugLine="Private L_TENDENCIA As Label"; -_l_tendencia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 146;BA.debugLine="Private L_VTA_ACUM As Label"; -_l_vta_acum = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 147;BA.debugLine="Private L_OBJ_MES As Label"; -_l_obj_mes = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 148;BA.debugLine="Private L_DS_OBJD As Label"; -_l_ds_objd = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 149;BA.debugLine="Private L_DS_VTAD As Label"; -_l_ds_vtad = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 150;BA.debugLine="Private LPT As String"; -_lpt = ""; - //BA.debugLineNum = 151;BA.debugLine="Private STEYIN As String"; -_steyin = ""; - //BA.debugLineNum = 152;BA.debugLine="Private STEYOUT As String"; -_steyout = ""; - //BA.debugLineNum = 153;BA.debugLine="Private L_PRIO As Label"; -_l_prio = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 154;BA.debugLine="Private L_SECUND As Label"; -_l_secund = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 155;BA.debugLine="Private L_COMP As Label"; -_l_comp = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 156;BA.debugLine="Private stay_hh As String"; -_stay_hh = ""; - //BA.debugLineNum = 157;BA.debugLine="Private stay_mi As String"; -_stay_mi = ""; - //BA.debugLineNum = 158;BA.debugLine="Private stay_ss As String"; -_stay_ss = ""; - //BA.debugLineNum = 159;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 160;BA.debugLine="Dim HORAINGRESO As String"; -_horaingreso = ""; - //BA.debugLineNum = 161;BA.debugLine="Private L_QUALA As Label"; -_l_quala = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 162;BA.debugLine="Private L_FERRERO As Label"; -_l_ferrero = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 163;BA.debugLine="Private L_SANMARCOS As Label"; -_l_sanmarcos = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 164;BA.debugLine="Private L_CAMPARI As Label"; -_l_campari = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 165;BA.debugLine="Private L_IBERIA As Label"; -_l_iberia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 166;BA.debugLine="Private L_BEPENSA As Label"; -_l_bepensa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 167;BA.debugLine="Private L_SCJ As Label"; -_l_scj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 168;BA.debugLine="Private L_MEDJ As Label"; -_l_medj = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 169;BA.debugLine="Private L_DURACELL As Label"; -_l_duracell = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 170;BA.debugLine="Private L_GUNA As Label"; -_l_guna = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 171;BA.debugLine="Private L_KIMB As Label"; -_l_kimb = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 172;BA.debugLine="Private L_TRESM As Label"; -_l_tresm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 173;BA.debugLine="Private L_REDB As Label"; -_l_redb = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 174;BA.debugLine="Private Btn_Ubicar As Button"; -_btn_ubicar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 175;BA.debugLine="Private B_COMM As Button"; -_b_comm = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 176;BA.debugLine="Private L_TOTAL_MM As Label"; -_l_total_mm = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 177;BA.debugLine="Private L_TOTAL_VIVE As Label"; -_l_total_vive = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 178;BA.debugLine="Private L_TOTAL_GUNA As Label"; -_l_total_guna = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 179;BA.debugLine="Private L_TOTAL_BA As Label"; -_l_total_ba = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 180;BA.debugLine="Private L_TOTAL_COMIS As Label"; -_l_total_comis = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 181;BA.debugLine="Private L_TOTAL_MM_1 As Label"; -_l_total_mm_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 182;BA.debugLine="Private L_TOTAL_VIVE_1 As Label"; -_l_total_vive_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 183;BA.debugLine="Private L_TOTAL_GUNA_1 As Label"; -_l_total_guna_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 184;BA.debugLine="Private L_TOTAL_BA_1 As Label"; -_l_total_ba_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 185;BA.debugLine="Private L_TOTAL_COMIS_1 As Label"; -_l_total_comis_1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 186;BA.debugLine="Private B_OK_COMISS As Button"; -_b_ok_comiss = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 187;BA.debugLine="Private Panel_C As Panel"; -_panel_c = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 188;BA.debugLine="Private TitleHeight As Int = 50dip"; -_titleheight = __c.DipToCurrent((int) (50)); - //BA.debugLineNum = 189;BA.debugLine="Private Title2Height As Int = 100dip"; -_title2height = __c.DipToCurrent((int) (100)); - //BA.debugLineNum = 190;BA.debugLine="Private DividerHeight As Int = 5dip"; -_dividerheight = __c.DipToCurrent((int) (5)); - //BA.debugLineNum = 191;BA.debugLine="Private CLV1 As CustomListView"; -_clv1 = new b4a.example3.customlistview(); - //BA.debugLineNum = 192;BA.debugLine="Private pnlTitle As B4XView"; -_pnltitle = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 193;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 194;BA.debugLine="Type TitleData (Title As String)"; -; - //BA.debugLineNum = 195;BA.debugLine="Private B_MARCAS As Button"; -_b_marcas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 196;BA.debugLine="Private Panel5 As Panel"; -_panel5 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 197;BA.debugLine="Private lblTitle As Label"; -_lbltitle = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 198;BA.debugLine="Private B_OK_PANEL5 As Button"; -_b_ok_panel5 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 199;BA.debugLine="Private p_principal As Panel"; -_p_principal = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 200;BA.debugLine="Private p_mandaInfo As Panel"; -_p_mandainfo = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 201;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 202;BA.debugLine="Private Label22 As Label"; -_label22 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 203;BA.debugLine="Private l_rutasuplencia As Label"; -_l_rutasuplencia = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 204;BA.debugLine="Dim userpiezas As String"; -_userpiezas = ""; - //BA.debugLineNum = 205;BA.debugLine="Private b_abordo As Button"; -_b_abordo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 206;BA.debugLine="Private L_ABORDO As Label"; -_l_abordo = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 207;BA.debugLine="Private L_VENTA As Label"; -_l_venta = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 208;BA.debugLine="Private L_PREVENTA As Label"; -_l_preventa = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 209;BA.debugLine="Private p_abordo As Panel"; -_p_abordo = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 210;BA.debugLine="Private Panel11 As Panel"; -_panel11 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 211;BA.debugLine="Private CLV_PICK_CIEGO As CustomListView"; -_clv_pick_ciego = new b4a.example3.customlistview(); - //BA.debugLineNum = 212;BA.debugLine="Private P_PICK_CIEGO As Panel"; -_p_pick_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 213;BA.debugLine="Dim ET_PICK_CIEGO As EditText"; -_et_pick_ciego = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 214;BA.debugLine="Private L_PICK_CIEGO As Label"; -_l_pick_ciego = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 215;BA.debugLine="Private P_CIEGO As Panel"; -_p_ciego = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 216;BA.debugLine="Dim Panel4 As Panel"; -_panel4 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 217;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 218;BA.debugLine="Private et_buspc As EditText"; -_et_buspc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 219;BA.debugLine="End Sub"; -return ""; -} -public String _connecta_click() throws Exception{ - //BA.debugLineNum = 2040;BA.debugLine="Sub connecta_Click"; - //BA.debugLineNum = 2041;BA.debugLine="Log( Starter.DBReqServer)"; -__c.LogImpl("349872897",_starter._dbreqserver /*String*/ ,0); - //BA.debugLineNum = 2042;BA.debugLine="reqManager.Initialize(Me, Starter.DBReqServer)"; -_reqmanager._initialize /*String*/ (ba,this,_starter._dbreqserver /*String*/ ); - //BA.debugLineNum = 2043;BA.debugLine="ime.HideKeyboard"; -_ime.HideKeyboard(ba); - //BA.debugLineNum = 2044;BA.debugLine="connecta1 = connecta1 + 1"; -_connecta1 = _connecta1+1; - //BA.debugLineNum = 2046;BA.debugLine="imei = \"xxxx\""; -_imei = "xxxx"; - //BA.debugLineNum = 2047;BA.debugLine="conn = \"1\""; -_conn = "1"; - //BA.debugLineNum = 2067;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 2068;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2070;BA.debugLine="cmd.Name = \"select_ruta_ADM6\""; -_cmd.Name /*String*/ = "select_ruta_ADM6"; - //BA.debugLineNum = 2071;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN, e_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_e_ruta.getText())}; - //BA.debugLineNum = 2073;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"ruta\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("ruta")); - //BA.debugLineNum = 2075;BA.debugLine="If e_ruta.Text = \"KMTS1\" Then"; -if ((_e_ruta.getText()).equals("KMTS1")) { - //BA.debugLineNum = 2076;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 2077;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - //BA.debugLineNum = 2078;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 2081;BA.debugLine="If e_ruta.Text = \"BERNA1\" Then"; -if ((_e_ruta.getText()).equals("BERNA1")) { - //BA.debugLineNum = 2082;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 2083;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - //BA.debugLineNum = 2084;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 2087;BA.debugLine="ToastMessageShow(\"Validando Conexión.\" , True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Validando Conexión."),__c.True); - //BA.debugLineNum = 2103;BA.debugLine="End Sub"; -return ""; -} -public String _e_ruta_enterpressed() throws Exception{ - //BA.debugLineNum = 2114;BA.debugLine="Sub e_ruta_EnterPressed"; - //BA.debugLineNum = 2115;BA.debugLine="If e_ruta.Text = \"FIN DIA\" Then"; -if ((_e_ruta.getText()).equals("FIN DIA")) { - //BA.debugLineNum = 2116;BA.debugLine="RES = Msgbox2(\"Seguro que desea hacer el cierre"; -_res = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea hacer el cierre todos los datos se borraran?"),BA.ObjectToCharSequence("Cierre"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 2117;BA.debugLine="If RES = DialogResponse.POSITIVE Then"; -if ((_res).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 2118;BA.debugLine="e_ruta.Text = \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 2119;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CAT_GIRO"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_GIRO"); - //BA.debugLineNum = 2120;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CLIENTE_NUEVO"); - //BA.debugLineNum = 2121;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from FOTOINICIAL"); - //BA.debugLineNum = 2122;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PICKCIEGO_HECHO"); - //BA.debugLineNum = 2123;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente"); - //BA.debugLineNum = 2124;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido"); - //BA.debugLineNum = 2125;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PAGARES"); - //BA.debugLineNum = 2126;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from noventa"); - //BA.debugLineNum = 2127;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from clie_act"); - //BA.debugLineNum = 2128;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info"); - //BA.debugLineNum = 2129;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from kmt_info2"); - //BA.debugLineNum = 2130;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2131;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 2132;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2133;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VENTAS"); - //BA.debugLineNum = 2134;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_VERIFICACION"); - //BA.debugLineNum = 2135;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_ENCUESTA"); - //BA.debugLineNum = 2136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_STAY_OUT"); - //BA.debugLineNum = 2137;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - //BA.debugLineNum = 2138;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_FACE"); - //BA.debugLineNum = 2139;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("INSERT INTO HIST_STAY_OUT(HSO_INI, HSO_FIN) VALUES (0,0)"); - //BA.debugLineNum = 2140;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_CODIGO_BARRAS"); - //BA.debugLineNum = 2141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOSP"); - //BA.debugLineNum = 2142;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ABONOS"); - //BA.debugLineNum = 2143;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM PICK_CIEGO"); - //BA.debugLineNum = 2144;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTA_SUPLENCIA"); - //BA.debugLineNum = 2145;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM RUTAA"); - //BA.debugLineNum = 2146;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM CLIENTES_NUEVOS"); - //BA.debugLineNum = 2147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FRO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM ENV_MONTO_LIQ"); - //BA.debugLineNum = 2148;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 2149;BA.debugLine="l_rutasuplencia.Visible = False"; -_l_rutasuplencia.setVisible(__c.False); - //BA.debugLineNum = 2150;BA.debugLine="Label22.Visible = False"; -_label22.setVisible(__c.False); - //BA.debugLineNum = 2151;BA.debugLine="l_rutasuplencia.Text = \"\""; -_l_rutasuplencia.setText(BA.ObjectToCharSequence("")); - }; - }; - //BA.debugLineNum = 2154;BA.debugLine="If e_ruta.Text = \"IWL\" Then"; -if ((_e_ruta.getText()).equals("IWL")) { - //BA.debugLineNum = 2156;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 2157;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2158;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2159;BA.debugLine="img3.Visible =True"; -_img3.setVisible(__c.True); - //BA.debugLineNum = 2160;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - }; - //BA.debugLineNum = 2162;BA.debugLine="If e_ruta.Text = \"SUPLENCIA\" Then"; -if ((_e_ruta.getText()).equals("SUPLENCIA")) { - //BA.debugLineNum = 2163;BA.debugLine="E_RUTA2.Visible = True"; -_e_ruta2.setVisible(__c.True); - //BA.debugLineNum = 2164;BA.debugLine="Panel11.Visible = True"; -_panel11.setVisible(__c.True); - //BA.debugLineNum = 2166;BA.debugLine="e_ruta.Text= \"\""; -_e_ruta.setText(BA.ObjectToCharSequence("")); - }; - //BA.debugLineNum = 2168;BA.debugLine="End Sub"; -return ""; -} -public String _e_ruta_textchanged(String _old,String _new) throws Exception{ -String _validchars = ""; - //BA.debugLineNum = 2561;BA.debugLine="Sub e_ruta_TextChanged (Old As String, New As Stri"; - //BA.debugLineNum = 2562;BA.debugLine="Dim validChars As String =\"ABCDEFGHIJKLMNOPQRSTUV"; -_validchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 "; - //BA.debugLineNum = 2564;BA.debugLine="If Old <> \"KMTS1\" Then"; -if ((_old).equals("KMTS1") == false) { - //BA.debugLineNum = 2566;BA.debugLine="Try"; -try { //BA.debugLineNum = 2567;BA.debugLine="If validChars.Contains(New.SubString(New.Length"; -if (_validchars.contains(_new.substring((int) (_new.length()-1)))==__c.False) { - //BA.debugLineNum = 2568;BA.debugLine="e_ruta.Text = New.SubString2(0, New.Length-1)"; -_e_ruta.setText(BA.ObjectToCharSequence(_new.substring((int) (0),(int) (_new.length()-1)))); - //BA.debugLineNum = 2569;BA.debugLine="e_ruta.SelectionStart = e_ruta.Text.Length"; -_e_ruta.setSelectionStart(_e_ruta.getText().length()); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 2572;BA.debugLine="Log(LastException)"; -__c.LogImpl("351052555",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 2575;BA.debugLine="End Sub"; -return ""; -} -public String _gettablecolumnlist(anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ -String _l = ""; -int _i = 0; - //BA.debugLineNum = 339;BA.debugLine="Sub getTableColumnList(db As SQL, table As String)"; - //BA.debugLineNum = 340;BA.debugLine="Private l As String = \"\""; -_l = ""; - //BA.debugLineNum = 341;BA.debugLine="If chkIfTableExists(db, table) Then"; -if (_chkiftableexists(_db,_table)) { - //BA.debugLineNum = 342;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("pragma table_info("+__c.SmartStringFormatter("",(Object)(_table))+")")))); - //BA.debugLineNum = 343;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 344;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 345;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 346;BA.debugLine="If l.Length = 0 Then"; -if (_l.length()==0) { - //BA.debugLineNum = 347;BA.debugLine="l = $\"${c.GetString(\"name\")} ${c.GetString(\"t"; -_l = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("name")))+" "+__c.SmartStringFormatter("",(Object)(_c.GetString("type")))+""); - }else { - //BA.debugLineNum = 349;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")} ${c.GetStr"; -_l = (""+__c.SmartStringFormatter("",(Object)(_l))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("name")))+" "+__c.SmartStringFormatter("",(Object)(_c.GetString("type")))+""); - }; - } -}; - }; - }else { - //BA.debugLineNum = 354;BA.debugLine="Return \"No existe la tabla.\""; -if (true) return "No existe la tabla."; - }; - //BA.debugLineNum = 356;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 357;BA.debugLine="Return l"; -if (true) return _l; - //BA.debugLineNum = 358;BA.debugLine="End Sub"; -return ""; -} -public String _gettablecolumnlistname(anywheresoftware.b4a.sql.SQL _db,String _table) throws Exception{ -String _l = ""; -int _i = 0; - //BA.debugLineNum = 318;BA.debugLine="Sub getTableColumnListName(db As SQL, table As Str"; - //BA.debugLineNum = 319;BA.debugLine="Private l As String = \"\""; -_l = ""; - //BA.debugLineNum = 320;BA.debugLine="If chkIfTableExists(db, table) Then"; -if (_chkiftableexists(_db,_table)) { - //BA.debugLineNum = 321;BA.debugLine="Private c As Cursor = Starter.skmt.ExecQuery($\"p"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("pragma table_info("+__c.SmartStringFormatter("",(Object)(_table))+")")))); - //BA.debugLineNum = 322;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 323;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 324;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 325;BA.debugLine="If l.Length = 0 Then"; -if (_l.length()==0) { - //BA.debugLineNum = 326;BA.debugLine="l = $\"${c.GetString(\"name\")}\"$"; -_l = (""+__c.SmartStringFormatter("",(Object)(_c.GetString("name")))+""); - }else { - //BA.debugLineNum = 328;BA.debugLine="l = $\"${l}, ${c.GetString(\"name\")}\"$"; -_l = (""+__c.SmartStringFormatter("",(Object)(_l))+", "+__c.SmartStringFormatter("",(Object)(_c.GetString("name")))+""); - }; - } -}; - }; - }else { - //BA.debugLineNum = 333;BA.debugLine="Return \"No existe la tabla.\""; -if (true) return "No existe la tabla."; - }; - //BA.debugLineNum = 335;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 336;BA.debugLine="Return l"; -if (true) return _l; - //BA.debugLineNum = 337;BA.debugLine="End Sub"; -return ""; -} -public String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 2548;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 2550;BA.debugLine="End Sub"; -return ""; -} -public String _hacer_ped_click() throws Exception{ - //BA.debugLineNum = 2536;BA.debugLine="Sub hacer_ped_Click"; - //BA.debugLineNum = 2537;BA.debugLine="B4XPages.ShowPage(\"Clientes\")"; -_b4xpages._showpage /*String*/ (ba,"Clientes"); - //BA.debugLineNum = 2538;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 222;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 223;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 224;BA.debugLine="End Sub"; -return null; -} -public String _inv_click() throws Exception{ - //BA.debugLineNum = 2170;BA.debugLine="Sub inv_Click"; - //BA.debugLineNum = 2171;BA.debugLine="img2.Visible =True"; -_img2.setVisible(__c.True); - //BA.debugLineNum = 2172;BA.debugLine="EJECUTANDO = 1"; -_ejecutando = BA.NumberToString(1); - //BA.debugLineNum = 2173;BA.debugLine="inve = 1"; -_inve = BA.NumberToString(1); - //BA.debugLineNum = 2174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod"); - //BA.debugLineNum = 2175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from cat_gunaprod2"); - //BA.debugLineNum = 2176;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CAT_DETALLES_PAQ"); - //BA.debugLineNum = 2177;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuari"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 2178;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2179;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 2180;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2181;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2182;BA.debugLine="cmd.Name = \"select_cat_gunaprod_ADM\""; -_cmd.Name /*String*/ = "select_cat_gunaprod_ADM"; - //BA.debugLineNum = 2183;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 2184;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprod\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprod")); - //BA.debugLineNum = 2185;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2186;BA.debugLine="cmd.Name = \"select_cat_paquetes_ADM\""; -_cmd.Name /*String*/ = "select_cat_paquetes_ADM"; - //BA.debugLineNum = 2187;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 2188;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"gunaprodp\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("gunaprodp")); - //BA.debugLineNum = 2190;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2191;BA.debugLine="cmd.Name = \"select_cat_detallepa_ADM\""; -_cmd.Name /*String*/ = "select_cat_detallepa_ADM"; - //BA.debugLineNum = 2192;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN)"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen)}; - //BA.debugLineNum = 2193;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"detallepaq\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("detallepaq")); - //BA.debugLineNum = 2195;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 2196;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 2197;BA.debugLine="connecta.Visible = True"; -_connecta.setVisible(__c.True); - //BA.debugLineNum = 2198;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 2199;BA.debugLine="ToastMessageShow(\"Se Actualizaran los datos, Este"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias"),__c.True); - //BA.debugLineNum = 2200;BA.debugLine="End Sub"; -return ""; -} -public String _iv_abordo_click() throws Exception{ - //BA.debugLineNum = 2739;BA.debugLine="Private Sub iv_abordo_Click"; - //BA.debugLineNum = 2740;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 2741;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CUENTAA V"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0")})); - //BA.debugLineNum = 2742;BA.debugLine="B4XPages.MainPage.tipo_venta = \"ABORDO\""; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ = "ABORDO"; - //BA.debugLineNum = 2743;BA.debugLine="B4XPages.ShowPage(\"Productos\")"; -_b4xpages._showpage /*String*/ (ba,"Productos"); - //BA.debugLineNum = 2744;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(adm.keymon.com.mx.httpjob _job) throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbresult _result = null; -Object[] _records = null; -String _k = ""; -String _n = ""; -String _giro = ""; -String _cat_cl_codigo = ""; -String _cat_cl_ruta = ""; -String _cat_cl_nombre = ""; -String _cat_cl_atiende1 = ""; -String _cat_cl_atiente2 = ""; -String _cat_cl_telefono = ""; -String _cat_cl_email = ""; -String _cat_cl_calle = ""; -String _cat_cl_noext = ""; -String _cat_cl_noint = ""; -String _cat_cl_calle1 = ""; -String _cat_cl_calle2 = ""; -String _cat_cl_colonia = ""; -String _cat_cl_muni = ""; -String _cat_cl_edo = ""; -String _cat_cl_cp = ""; -String _cat_cl_long = ""; -String _cat_cl_lat = ""; -String _cat_cl_mtocompra = ""; -String _cat_cl_num_seriefisico = ""; -String _cat_cl_bcredito = ""; -String _cat_cl_limitecredito = ""; -adm.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; -int _piezasexiste = 0; -String _pcnoarts = ""; -String _pcmonto = ""; -String _cat_cl_dias_visita = ""; -String _hist_ra_objmes = ""; -String _hist_ra_venta = ""; -String _hist_ra_tendencia = ""; -String _hist_ra_alcance = ""; -String _hisr_ra_draobj = ""; -String _hist_ra_dravta = ""; -String _hist_ra_dsobj = ""; -String _hist_ra_dsvta = ""; -String _hist_ra_vpoobj = ""; -String _hist_ra_vpovta = ""; -String _hist_ra_ctes = ""; -String _hist_ra_cobccc = ""; -String _hist_ra_eco = ""; -String _hist_ra_visitplan = ""; -String _hist_ra_visireal = ""; -String _hist_ra_cobvisit = ""; -String _hist_ra_freccompobj = ""; -String _hist_ra_freccomreal = ""; -String _hist_ra_ventames1 = ""; -String _hist_ra_ventames2 = ""; -String _hist_ra_ventames3 = ""; -String _hist_ra_ventames4 = ""; -String _hist_ra_rechazo = ""; -String _hist_ra_rechazoporcen = ""; -String _hist_ra_semana1 = ""; -String _hist_ra_semana1_dias = ""; -String _hist_ra_semana1_dra = ""; -String _hist_ra_semana2 = ""; -String _hist_ra_semana2_dias = ""; -String _hist_ra_semana2_dra = ""; -String _hist_ra_semana3 = ""; -String _hist_ra_semana3_dias = ""; -String _hist_ra_semana3_dra = ""; -String _hist_ra_semana4 = ""; -String _hist_ra_semana4_dias = ""; -String _hist_ra_semana4_dra = ""; -String _hist_ra_semana5 = ""; -String _hist_ra_semana5_dias = ""; -String _hist_ra_semana5_dra = ""; -String _hist_ra_semana1_lpt = ""; -String _hist_ra_semana2_lpt = ""; -String _hist_ra_semana3_lpt = ""; -String _hist_ra_semana4_lpt = ""; -String _hist_ra_semana5_lpt = ""; -String _hist_ra_ruta = ""; -String _hist_ra_idalmacen = ""; -String _hp_cliente = ""; -String _hp_codigo_promocion = ""; -String _hccp_cliente = ""; -String _hccp_promo = ""; -String _hccp_cant = ""; -String _hmc_marca = ""; -String _hmc_total = ""; -String _cat_pa_id = ""; -String _cat_pa_maxprom = ""; -String _cat_pa_maxpromrec = ""; -String _cat_pa_maxpromclie = ""; -String _cat_ve_idprod = ""; -String _cat_ve_nombre = ""; -String _cat_ve_orden = ""; -String _hvd_marca = ""; -String _clientes = ""; -String _hc_ruta = ""; -String _hc_cuota1 = ""; -String _hc_cuota2 = ""; -String _hc_cuota3 = ""; -String _hc_cuota4 = ""; -String _hc_cuota5 = ""; -String _hc_cuota6 = ""; -String _hc_meta1 = ""; -String _hc_meta2 = ""; -String _hc_meta3 = ""; -String _hc_meta4 = ""; -String _hc_meta5 = ""; -String _hc_meta6 = ""; -String _hcm_total_v = ""; -String _hcm_total_vive = ""; -String _hcm_total_guna = ""; -String _hcm_total_beb = ""; -String _cat_gp_id = ""; -String _cat_gp_nombre = ""; -String _cat_gp_imp1 = ""; -String _cat_gp_imp2 = ""; -String _cat_gp_precio = ""; -String _cat_gp_clasif = ""; -String _cat_gp_sts = ""; -String _cat_gp_tipo = ""; -String _cat_gp_subtipo = ""; -byte[] _cat_gp_img = null; -int _cat_gp_almacen = 0; -int _cat_gp_tipoprod = 0; -int _cat_gp_iniciativa = 0; -int _cat_dp_precio4 = 0; -int _cat_dp_conversion1 = 0; -String _cat_dp_almacen = ""; -String _cat_dp_id = ""; -String _cat_dp_idprod = ""; -String _cat_dp_tipo = ""; -String _cat_dp_pzas = ""; -String _cat_dp_usuario = ""; -String _cat_dp_fecha = ""; -String _cat_dp_regalo = ""; -String _cat_dp_clasif = ""; -String _cat_dp_precio = ""; -String _cat_dp_precio_simptos = ""; -String _hvd_cliente = ""; -String _hvd_pronombre = ""; -String _hvd_cant = ""; -String _hvd_costo_tot = ""; -String _cat_va_descripcion = ""; -String _cat_va_valor = ""; -int _cuantosp = 0; -int _cuantosc = 0; -int _cuantosn = 0; -String _cat_ve_version = ""; -String _valido = ""; -String _name2 = ""; -String _fecha_hoy = ""; -String _folio = ""; -String _marca = ""; -String _avance = ""; -String _objetivo = ""; -String _porcentaje1 = ""; -String _nota = ""; -String _cliente = ""; -String _saldo_pendiente = ""; -String _idcliente = ""; - //BA.debugLineNum = 1146;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 1147;BA.debugLine="Log(\"JOBDONE PRINCIPAL\")"; -__c.LogImpl("349741825","JOBDONE PRINCIPAL",0); - //BA.debugLineNum = 1148;BA.debugLine="If reqManager.reqsList.IsInitialized Then 'Si ten"; -if (_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IsInitialized()) { - //BA.debugLineNum = 1149;BA.debugLine="If reqManager.reqsList.IndexOf(Job.tag) <> -1 Th"; -if (_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )!=-1) { - //BA.debugLineNum = 1150;BA.debugLine="reqManager.reqsList.RemoveAt(reqManager.reqsLis"; -_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .RemoveAt(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .IndexOf(_job._tag /*Object*/ )); - //BA.debugLineNum = 1151;BA.debugLine="LogColor($\">>>>>> Quitamos ${Job.tag}\"$, Colors"; -__c.LogImpl("349741829",(">>>>>> Quitamos "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),__c.Colors.Blue); - }; - //BA.debugLineNum = 1153;BA.debugLine="LogColor(\">>>>>> \" & reqManager.reqsList.Size &"; -__c.LogImpl("349741831",">>>>>> "+BA.NumberToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ .getSize())+" - "+BA.ObjectToString(_reqmanager._reqslist /*anywheresoftware.b4a.objects.collections.List*/ ),__c.Colors.Blue); - }; - //BA.debugLineNum = 1155;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 1156;BA.debugLine="Log(\"ERROR\")"; -__c.LogImpl("349741834","ERROR",0); - //BA.debugLineNum = 1157;BA.debugLine="LogColor(\"Error: \" & reqManager.HandleJob(Job).t"; -__c.LogImpl("349741835","Error: "+BA.ObjectToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+" : "+_job._errormessage /*String*/ ,__c.Colors.Red); - //BA.debugLineNum = 1158;BA.debugLine="Log(\"ex\")"; -__c.LogImpl("349741836","ex",0); - //BA.debugLineNum = 1159;BA.debugLine="Log(2)"; -__c.LogImpl("349741837",BA.NumberToString(2),0); - }else { - //BA.debugLineNum = 1162;BA.debugLine="Log(3)"; -__c.LogImpl("349741840",BA.NumberToString(3),0); - //BA.debugLineNum = 1163;BA.debugLine="LogColor(\"JobDone: '\" & reqManager.HandleJob(Job"; -__c.LogImpl("349741841","JobDone: '"+BA.ObjectToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Tag /*Object*/ )+"' - Registros: "+BA.NumberToString(_reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job).Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),__c.Colors.RGB((int) (0),(int) (160),(int) (0))); - //BA.debugLineNum = 1165;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1166;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1167;BA.debugLine="If RESULT.Tag = \"update_gps\" Then"; -if ((_result.Tag /*Object*/ ).equals((Object)("update_gps"))) { - //BA.debugLineNum = 1168;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group20 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen20 = group20.getSize() -;int index20 = 0; -; -for (; index20 < groupLen20;index20++){ -_records = (Object[])(group20.Get(index20)); - //BA.debugLineNum = 1169;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; -__c.LogImpl("349741847","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0); - //BA.debugLineNum = 1170;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group22 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen22 = group22.getSize() -;int index22 = 0; -; -for (; index22 < groupLen22;index22++){ -_k = BA.ObjectToString(group22.Get(index22)); - //BA.debugLineNum = 1171;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; -__c.LogImpl("349741849",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - }; - //BA.debugLineNum = 1175;BA.debugLine="If RESULT.Tag = \"ins_pedidos\" Then"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedidos"))) { - //BA.debugLineNum = 1176;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group28 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen28 = group28.getSize() -;int index28 = 0; -; -for (; index28 < groupLen28;index28++){ -_records = (Object[])(group28.Get(index28)); - //BA.debugLineNum = 1177;BA.debugLine="Log(\"==========================REGISTROS=\"&RE"; -__c.LogImpl("349741855","==========================REGISTROS="+BA.ObjectToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ),0); - //BA.debugLineNum = 1178;BA.debugLine="For Each k As String In RESULT.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group30 = _result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen30 = group30.getSize() -;int index30 = 0; -; -for (; index30 < groupLen30;index30++){ -_k = BA.ObjectToString(group30.Get(index30)); - //BA.debugLineNum = 1179;BA.debugLine="Log(RESULT.Tag & \": \" & k & \": \" & records(R"; -__c.LogImpl("349741857",BA.ObjectToString(_result.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - }; - //BA.debugLineNum = 1183;BA.debugLine="If RESULT.Tag = \"usuarioA\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuarioA"))) { - //BA.debugLineNum = 1184;BA.debugLine="Private n As String = \"Sin Usuario\""; -_n = "Sin Usuario"; - //BA.debugLineNum = 1185;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group37 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen37 = group37.getSize() -;int index37 = 0; -; -for (; index37 < groupLen37;index37++){ -_records = (Object[])(group37.Get(index37)); - //BA.debugLineNum = 1186;BA.debugLine="n = records(RESULT.Columns.Get(\"USUARIO\"))"; -_n = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("USUARIO"))))]); - } -}; - //BA.debugLineNum = 1188;BA.debugLine="LogColor(\"**************************\"&n, Color"; -__c.LogImpl("349741866","**************************"+_n,__c.Colors.Green); - //BA.debugLineNum = 1189;BA.debugLine="If n = \"OKActivo\" Then"; -if ((_n).equals("OKActivo")) { - //BA.debugLineNum = 1190;BA.debugLine="Log(\"Usuario guardado en BD es 'Valido'\")"; -__c.LogImpl("349741868","Usuario guardado en BD es 'Valido'",0); - }else if((_n).equals("OKExpirado")) { - //BA.debugLineNum = 1192;BA.debugLine="Msgbox(\"Usuario Expirado llamar al administra"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Expirado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 1193;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; -_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); - }else if((_n).equals("OKCancelado")) { - //BA.debugLineNum = 1195;BA.debugLine="Msgbox(\"Usuario Cancelado llamar al administr"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario Cancelado llamar al administrador"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 1196;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; -_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); - }else { - //BA.debugLineNum = 1198;BA.debugLine="Msgbox(\"Usuario o password No validos\",\"\") 'i"; -__c.Msgbox(BA.ObjectToCharSequence("Usuario o password No validos"),BA.ObjectToCharSequence(""),ba); - //BA.debugLineNum = 1199;BA.debugLine="B4XPages.ShowPage(\"B4XMainPage\")"; -_b4xpages._showpage /*String*/ (ba,"B4XMainPage"); - }; - //BA.debugLineNum = 1201;BA.debugLine="Log(\"***************** \"&n)"; -__c.LogImpl("349741879","***************** "+_n,0); - }; - }; - //BA.debugLineNum = 1205;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1206;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1207;BA.debugLine="If RESULT.Tag = \"giro\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("giro"))) { - //BA.debugLineNum = 1208;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group59 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen59 = group59.getSize() -;int index59 = 0; -; -for (; index59 < groupLen59;index59++){ -_records = (Object[])(group59.Get(index59)); - //BA.debugLineNum = 1209;BA.debugLine="Dim giro As String = records(RESULT.Columns."; -_giro = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GR_DESC"))))]); - //BA.debugLineNum = 1211;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO CAT_G"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GIRO(GIRO) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_giro)})); - } -}; - //BA.debugLineNum = 1213;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1214;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1215;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1217;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1219;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1220;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1222;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1223;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1224;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1225;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1226;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1228;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1229;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1230;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1236;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1237;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1238;BA.debugLine="If RESULT.Tag = \"kmt_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos"))) { - //BA.debugLineNum = 1239;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; -_s_cc.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1240;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group88 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen88 = group88.getSize() -;int index88 = 0; -; -for (; index88 < groupLen88;index88++){ -_records = (Object[])(group88.Get(index88)); - //BA.debugLineNum = 1241;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; -_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1242;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; -_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1243;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; -_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1244;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; -_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1245;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; -_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1246;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; -_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1247;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; -_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1248;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; -_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1249;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; -_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1250;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; -_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1251;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; -_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1252;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; -_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1253;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; -_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1254;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; -_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1255;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; -_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1256;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; -_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1257;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; -_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1258;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; -_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1259;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; -_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); - //BA.debugLineNum = 1260;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; -_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); - //BA.debugLineNum = 1261;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; -_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1262;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; -_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); - //BA.debugLineNum = 1263;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_limitecredito)})); - //BA.debugLineNum = 1264;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); - } -}; - //BA.debugLineNum = 1266;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("0"),(Object)(_e_ruta.getText()),(Object)("VENTA ABORDO"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("NULL"),(Object)("null"),(Object)("NULL")})); - //BA.debugLineNum = 1267;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO kmt_in"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,0,0) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("1"),(Object)(_e_ruta.getText()),(Object)("VENTA RECARGA"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("null"),(Object)("NULL"),(Object)("null"),(Object)("NULL")})); - //BA.debugLineNum = 1268;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1269;BA.debugLine="S_CC.Text = \"LISTO\""; -_s_cc.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1270;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Clientes Actualizados."),__c.True);}; - //BA.debugLineNum = 1271;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1272;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1273;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1274;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1279;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1280;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1281;BA.debugLine="If resultado.Tag = \"piezas\" Then 'query tag"; -if ((_resultado.Tag /*Object*/ ).equals((Object)("piezas"))) { - //BA.debugLineNum = 1283;BA.debugLine="Dim piezasexiste As Int"; -_piezasexiste = 0; - //BA.debugLineNum = 1285;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group130 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen130 = group130.getSize() -;int index130 = 0; -; -for (; index130 < groupLen130;index130++){ -_records = (Object[])(group130.Get(index130)); - //BA.debugLineNum = 1287;BA.debugLine="piezasexiste = records(resultado.Columns.Get("; -_piezasexiste = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT(*)"))))])); - //BA.debugLineNum = 1288;BA.debugLine="Log(piezasexiste)"; -__c.LogImpl("349741966",BA.NumberToString(_piezasexiste),0); - //BA.debugLineNum = 1289;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1290;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 1291;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1292;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1294;BA.debugLine="If piezasexiste = 0 Then"; -if (_piezasexiste==0) { - //BA.debugLineNum = 1296;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 1297;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 1298;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2(\"SELEC"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE = ? AND PC_CLIENTE <> 1",new String[]{_userpiezas}))); - //BA.debugLineNum = 1300;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1301;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1302;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 1303;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - }; - //BA.debugLineNum = 1306;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 1307;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 1308;BA.debugLine="cmd.Name = \"insert_HVC_ADM\""; -_cmd.Name /*String*/ = "insert_HVC_ADM"; - //BA.debugLineNum = 1309;BA.debugLine="cmd.Parameters = Array As Object((sDate & \""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)((_sdate+" "+_stime)),(Object)(_userpiezas),(Object)(_pcnoarts),(Object)(_pcmonto),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 1310;BA.debugLine="reqManager.ExecuteCommand(cmd , \"insert_hvc\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("insert_hvc")); - }; - } -}; - }; - }; - //BA.debugLineNum = 1322;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1323;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1324;BA.debugLine="If RESULT.Tag = \"kmt_datos_todos\" Then 'query t"; -if ((_result.Tag /*Object*/ ).equals((Object)("kmt_datos_todos"))) { - //BA.debugLineNum = 1325;BA.debugLine="S_CC.TEXT = \"CARGANDO\""; -_s_cc.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1326;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group159 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen159 = group159.getSize() -;int index159 = 0; -; -for (; index159 < groupLen159;index159++){ -_records = (Object[])(group159.Get(index159)); - //BA.debugLineNum = 1327;BA.debugLine="Dim CAT_CL_CODIGO As String = records(RESULT."; -_cat_cl_codigo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CODIGO"))))]); - //BA.debugLineNum = 1328;BA.debugLine="Dim CAT_CL_RUTA As String = records(RESULT.Co"; -_cat_cl_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_RUTA"))))]); - //BA.debugLineNum = 1329;BA.debugLine="Dim CAT_CL_NOMBRE As String = records(RESULT."; -_cat_cl_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOMBRE"))))]); - //BA.debugLineNum = 1330;BA.debugLine="Dim CAT_CL_ATIENDE1 As String = records(RESUL"; -_cat_cl_atiende1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENDE1"))))]); - //BA.debugLineNum = 1331;BA.debugLine="Dim CAT_CL_ATIENTE2 As String = records(RESUL"; -_cat_cl_atiente2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_ATIENTE2"))))]); - //BA.debugLineNum = 1332;BA.debugLine="Dim CAT_CL_TELEFONO As String = records(RESUL"; -_cat_cl_telefono = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_TELEFONO"))))]); - //BA.debugLineNum = 1333;BA.debugLine="Dim CAT_CL_EMAIL As String = records(RESULT.C"; -_cat_cl_email = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EMAIL"))))]); - //BA.debugLineNum = 1334;BA.debugLine="Dim CAT_CL_CALLE As String = records(RESULT.C"; -_cat_cl_calle = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE"))))]); - //BA.debugLineNum = 1335;BA.debugLine="Dim CAT_CL_NOEXT As String = records(RESULT.C"; -_cat_cl_noext = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOEXT"))))]); - //BA.debugLineNum = 1336;BA.debugLine="Dim CAT_CL_NOINT As String = records(RESULT.C"; -_cat_cl_noint = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NOINT"))))]); - //BA.debugLineNum = 1337;BA.debugLine="Dim CAT_CL_CALLE1 As String = records(RESULT."; -_cat_cl_calle1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE1"))))]); - //BA.debugLineNum = 1338;BA.debugLine="Dim CAT_CL_CALLE2 As String = records(RESULT."; -_cat_cl_calle2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CALLE2"))))]); - //BA.debugLineNum = 1339;BA.debugLine="Dim CAT_CL_COLONIA As String = records(RESULT"; -_cat_cl_colonia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_COLONIA"))))]); - //BA.debugLineNum = 1340;BA.debugLine="Dim CAT_CL_MUNI As String = records(RESULT.Co"; -_cat_cl_muni = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MUNI"))))]); - //BA.debugLineNum = 1341;BA.debugLine="Dim CAT_CL_EDO As String = records(RESULT.Col"; -_cat_cl_edo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_EDO"))))]); - //BA.debugLineNum = 1342;BA.debugLine="Dim CAT_CL_CP As String = records(RESULT.Colu"; -_cat_cl_cp = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_CP"))))]); - //BA.debugLineNum = 1343;BA.debugLine="Dim CAT_CL_LONG As String = records(RESULT.Co"; -_cat_cl_long = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LONG"))))]); - //BA.debugLineNum = 1344;BA.debugLine="Dim CAT_CL_LAT As String = records(RESULT.Col"; -_cat_cl_lat = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LAT"))))]); - //BA.debugLineNum = 1345;BA.debugLine="Dim CAT_CL_MTOCOMPRA As String = records(RESU"; -_cat_cl_mtocompra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_MTOCOMPRA"))))]); - //BA.debugLineNum = 1346;BA.debugLine="Dim CAT_CL_NUM_SERIEFISICO As String = record"; -_cat_cl_num_seriefisico = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_NUM_SERIEFISICO"))))]); - //BA.debugLineNum = 1347;BA.debugLine="Dim CAT_CL_BCREDITO As String = records(RESUL"; -_cat_cl_bcredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_BCREDITO"))))]); - //BA.debugLineNum = 1348;BA.debugLine="Dim CAT_CL_LIMITECREDITO As String = records("; -_cat_cl_limitecredito = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_LIMITECREDITO"))))]); - //BA.debugLineNum = 1349;BA.debugLine="Dim CAT_CL_DIAS_VISITA As String = records(RE"; -_cat_cl_dias_visita = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_CL_DIAS_VISITA"))))]); - //BA.debugLineNum = 1350;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO kmt_info2(CAT_CL_CODIGO,CAT_CL_RUTA,CAT_CL_NOMBRE,CAT_CL_ATIENDE1,CAT_CL_ATIENTE2,CAT_CL_TELEFONO,CAT_CL_EMAIL,CAT_CL_CALLE,CAT_CL_NOEXT,CAT_CL_NOINT,CAT_CL_CALLE1,CAT_CL_CALLE2,CAT_CL_COLONIA,CAT_CL_MUNI,CAT_CL_EDO,CAT_CL_CP,CAT_CL_LONG,CAT_CL_LAT,CAT_CL_MTOCOMPRA,CAT_CL_NUM_SERIEFISICO, gestion, CAT_CL_DIAS_VISITA, CAT_CL_BCREDITO, CAT_CL_LIMITECREDITO) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0, ?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo),(Object)(_cat_cl_ruta),(Object)(_cat_cl_nombre),(Object)(_cat_cl_atiende1),(Object)(_cat_cl_atiente2),(Object)(_cat_cl_telefono),(Object)(_cat_cl_email),(Object)(_cat_cl_calle),(Object)(_cat_cl_noext),(Object)(_cat_cl_noint),(Object)(_cat_cl_calle1),(Object)(_cat_cl_calle2),(Object)(_cat_cl_colonia),(Object)(_cat_cl_muni),(Object)(_cat_cl_edo),(Object)(_cat_cl_cp),(Object)(_cat_cl_long),(Object)(_cat_cl_lat),(Object)(_cat_cl_mtocompra),(Object)(_cat_cl_num_seriefisico),(Object)(_cat_cl_dias_visita),(Object)(_cat_cl_bcredito),(Object)(_cat_cl_limitecredito)})); - //BA.debugLineNum = 1351;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_cl_codigo)})); - } -}; - //BA.debugLineNum = 1353;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1354;BA.debugLine="S_CC.Text = \"LISTO\""; -_s_cc.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1355;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Clientes Actualizados."),__c.True);}; - //BA.debugLineNum = 1356;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1357;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1358;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1359;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1364;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1365;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1366;BA.debugLine="If RESULT.Tag = \"resum_apk\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("resum_apk"))) { - //BA.debugLineNum = 1367;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group199 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen199 = group199.getSize() -;int index199 = 0; -; -for (; index199 < groupLen199;index199++){ -_records = (Object[])(group199.Get(index199)); - //BA.debugLineNum = 1368;BA.debugLine="Dim HIST_RA_OBJMES As String = records(RESULT"; -_hist_ra_objmes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_OBJMES"))))]); - //BA.debugLineNum = 1369;BA.debugLine="Dim HIST_RA_VENTA As String = records(RESULT."; -_hist_ra_venta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTA"))))]); - //BA.debugLineNum = 1370;BA.debugLine="Dim HIST_RA_TENDENCIA As String = records(RES"; -_hist_ra_tendencia = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_TENDENCIA"))))]); - //BA.debugLineNum = 1371;BA.debugLine="Dim HIST_RA_ALCANCE As String = records(RESUL"; -_hist_ra_alcance = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_ALCANCE"))))]); - //BA.debugLineNum = 1372;BA.debugLine="Dim HISR_RA_DRAOBJ As String = records(RESULT"; -_hisr_ra_draobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HISR_RA_DRAOBJ"))))]); - //BA.debugLineNum = 1373;BA.debugLine="Dim HIST_RA_DRAVTA As String = records(RESULT"; -_hist_ra_dravta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DRAVTA"))))]); - //BA.debugLineNum = 1374;BA.debugLine="Dim HIST_RA_DSOBJ As String = records(RESULT."; -_hist_ra_dsobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DSOBJ"))))]); - //BA.debugLineNum = 1375;BA.debugLine="Dim HIST_RA_DSVTA As String = records(RESULT."; -_hist_ra_dsvta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_DSVTA"))))]); - //BA.debugLineNum = 1376;BA.debugLine="Dim HIST_RA_VPOOBJ As String = records(RESULT"; -_hist_ra_vpoobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VPOOBJ"))))]); - //BA.debugLineNum = 1377;BA.debugLine="Dim HIST_RA_VPOVTA As String = records(RESULT"; -_hist_ra_vpovta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VPOVTA"))))]); - //BA.debugLineNum = 1378;BA.debugLine="Dim HIST_RA_CTES As String = records(RESULT.C"; -_hist_ra_ctes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_CTES"))))]); - //BA.debugLineNum = 1379;BA.debugLine="Dim HIST_RA_COBCCC As String = records(RESULT"; -_hist_ra_cobccc = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_COBCCC"))))]); - //BA.debugLineNum = 1380;BA.debugLine="Dim HIST_RA_ECO As String = records(RESULT.Co"; -_hist_ra_eco = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_ECO"))))]); - //BA.debugLineNum = 1381;BA.debugLine="Dim HIST_RA_VISITPLAN As String = records(RES"; -_hist_ra_visitplan = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VISITPLAN"))))]); - //BA.debugLineNum = 1382;BA.debugLine="Dim HIST_RA_VISIREAL As String = records(RESU"; -_hist_ra_visireal = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VISIREAL"))))]); - //BA.debugLineNum = 1383;BA.debugLine="Dim HIST_RA_COBVISIT As String = records(RESU"; -_hist_ra_cobvisit = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_COBVISIT"))))]); - //BA.debugLineNum = 1384;BA.debugLine="Dim HIST_RA_FRECCOMPOBJ As String = records(R"; -_hist_ra_freccompobj = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_FRECCOMPOBJ"))))]); - //BA.debugLineNum = 1385;BA.debugLine="Dim HIST_RA_FRECCOMREAL As String = records(R"; -_hist_ra_freccomreal = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_FRECCOMREAL"))))]); - //BA.debugLineNum = 1386;BA.debugLine="Dim HIST_RA_VENTAMES1 As String = records(RES"; -_hist_ra_ventames1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES1"))))]); - //BA.debugLineNum = 1387;BA.debugLine="Dim HIST_RA_VENTAMES2 As String = records(RES"; -_hist_ra_ventames2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES2"))))]); - //BA.debugLineNum = 1388;BA.debugLine="Dim HIST_RA_VENTAMES3 As String = records(RES"; -_hist_ra_ventames3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES3"))))]); - //BA.debugLineNum = 1389;BA.debugLine="Dim HIST_RA_VENTAMES4 As String = records(RES"; -_hist_ra_ventames4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_VENTAMES4"))))]); - //BA.debugLineNum = 1390;BA.debugLine="Dim HIST_RA_RECHAZO As String = records(RESUL"; -_hist_ra_rechazo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RECHAZO"))))]); - //BA.debugLineNum = 1391;BA.debugLine="Dim HIST_RA_RECHAZOPORCEN As String = records"; -_hist_ra_rechazoporcen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RECHAZOPORCEN"))))]); - //BA.debugLineNum = 1392;BA.debugLine="Dim HIST_RA_SEMANA1 As String = records(RESUL"; -_hist_ra_semana1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1"))))]); - //BA.debugLineNum = 1393;BA.debugLine="Dim HIST_RA_SEMANA1_DIAS As String = records("; -_hist_ra_semana1_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_DIAS"))))]); - //BA.debugLineNum = 1394;BA.debugLine="Dim HIST_RA_SEMANA1_DRA As String = records(R"; -_hist_ra_semana1_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_DRA"))))]); - //BA.debugLineNum = 1395;BA.debugLine="Dim HIST_RA_SEMANA2 As String = records(RESUL"; -_hist_ra_semana2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2"))))]); - //BA.debugLineNum = 1396;BA.debugLine="Dim HIST_RA_SEMANA2_DIAS As String = records("; -_hist_ra_semana2_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_DIAS"))))]); - //BA.debugLineNum = 1397;BA.debugLine="Dim HIST_RA_SEMANA2_DRA As String = records(R"; -_hist_ra_semana2_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_DRA"))))]); - //BA.debugLineNum = 1398;BA.debugLine="Dim HIST_RA_SEMANA3 As String = records(RESUL"; -_hist_ra_semana3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3"))))]); - //BA.debugLineNum = 1399;BA.debugLine="Dim HIST_RA_SEMANA3_DIAS As String = records("; -_hist_ra_semana3_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_DIAS"))))]); - //BA.debugLineNum = 1400;BA.debugLine="Dim HIST_RA_SEMANA3_DRA As String = records(R"; -_hist_ra_semana3_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_DRA"))))]); - //BA.debugLineNum = 1401;BA.debugLine="Dim HIST_RA_SEMANA4 As String = records(RESUL"; -_hist_ra_semana4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4"))))]); - //BA.debugLineNum = 1402;BA.debugLine="Dim HIST_RA_SEMANA4_DIAS As String = records("; -_hist_ra_semana4_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_DIAS"))))]); - //BA.debugLineNum = 1403;BA.debugLine="Dim HIST_RA_SEMANA4_DRA As String = records(R"; -_hist_ra_semana4_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_DRA"))))]); - //BA.debugLineNum = 1404;BA.debugLine="Dim HIST_RA_SEMANA5 As String = records(RESUL"; -_hist_ra_semana5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5"))))]); - //BA.debugLineNum = 1405;BA.debugLine="Dim HIST_RA_SEMANA5_DIAS As String = records("; -_hist_ra_semana5_dias = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_DIAS"))))]); - //BA.debugLineNum = 1406;BA.debugLine="Dim HIST_RA_SEMANA5_DRA As String = records(R"; -_hist_ra_semana5_dra = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_DRA"))))]); - //BA.debugLineNum = 1407;BA.debugLine="Dim HIST_RA_SEMANA1_LPT As String = records(R"; -_hist_ra_semana1_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA1_LPT"))))]); - //BA.debugLineNum = 1408;BA.debugLine="Dim HIST_RA_SEMANA2_LPT As String = records(R"; -_hist_ra_semana2_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA2_LPT"))))]); - //BA.debugLineNum = 1409;BA.debugLine="Dim HIST_RA_SEMANA3_LPT As String = records(R"; -_hist_ra_semana3_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA3_LPT"))))]); - //BA.debugLineNum = 1410;BA.debugLine="Dim HIST_RA_SEMANA4_LPT As String = records(R"; -_hist_ra_semana4_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA4_LPT"))))]); - //BA.debugLineNum = 1411;BA.debugLine="Dim HIST_RA_SEMANA5_LPT As String = records(R"; -_hist_ra_semana5_lpt = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_SEMANA5_LPT"))))]); - //BA.debugLineNum = 1412;BA.debugLine="Dim HIST_RA_RUTA As String = records(RESULT.C"; -_hist_ra_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_RUTA"))))]); - //BA.debugLineNum = 1413;BA.debugLine="Dim HIST_RA_IDALMACEN As String = records(RES"; -_hist_ra_idalmacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_RA_IDALMACEN"))))]); - //BA.debugLineNum = 1415;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_RESUM_APK(HIST_RA_OBJMES,HIST_RA_VENTA,HIST_RA_TENDENCIA,HIST_RA_ALCANCE,HISR_RA_DRAOBJ,HIST_RA_DRAVTA,HIST_RA_DSOBJ,HIST_RA_DSVTA,HIST_RA_VPOOBJ,HIST_RA_VPOVTA,HIST_RA_CTES,HIST_RA_COBCCC,HIST_RA_ECO,HIST_RA_VISITPLAN,HIST_RA_VISIREAL,HIST_RA_COBVISIT,HIST_RA_FRECCOMPOBJ,HIST_RA_FRECCOMREAL,HIST_RA_VENTAMES1,HIST_RA_VENTAMES2,HIST_RA_VENTAMES3,HIST_RA_VENTAMES4,HIST_RA_RECHAZO,HIST_RA_RECHAZOPORCEN,HIST_RA_SEMANA1,HIST_RA_SEMANA1_DIAS,HIST_RA_SEMANA1_DRA,HIST_RA_SEMANA2,HIST_RA_SEMANA2_DIAS,HIST_RA_SEMANA2_DRA,HIST_RA_SEMANA3,HIST_RA_SEMANA3_DIAS,HIST_RA_SEMANA3_DRA,HIST_RA_SEMANA4,HIST_RA_SEMANA4_DIAS,HIST_RA_SEMANA4_DRA,HIST_RA_SEMANA5,HIST_RA_SEMANA5_DIAS,HIST_RA_SEMANA5_DRA,HIST_RA_SEMANA1_LPT,HIST_RA_SEMANA2_LPT,HIST_RA_SEMANA3_LPT,HIST_RA_SEMANA4_LPT,HIST_RA_SEMANA5_LPT,HIST_RA_RUTA,HIST_RA_IDALMACEN) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hist_ra_objmes),(Object)(_hist_ra_venta),(Object)(_hist_ra_tendencia),(Object)(_hist_ra_alcance),(Object)(_hisr_ra_draobj),(Object)(_hist_ra_dravta),(Object)(_hist_ra_dsobj),(Object)(_hist_ra_dsvta),(Object)(_hist_ra_vpoobj),(Object)(_hist_ra_vpovta),(Object)(_hist_ra_ctes),(Object)(_hist_ra_cobccc),(Object)(_hist_ra_eco),(Object)(_hist_ra_visitplan),(Object)(_hist_ra_visireal),(Object)(_hist_ra_cobvisit),(Object)(_hist_ra_freccompobj),(Object)(_hist_ra_freccomreal),(Object)(_hist_ra_ventames1),(Object)(_hist_ra_ventames2),(Object)(_hist_ra_ventames3),(Object)(_hist_ra_ventames4),(Object)(_hist_ra_rechazo),(Object)(_hist_ra_rechazoporcen),(Object)(_hist_ra_semana1),(Object)(_hist_ra_semana1_dias),(Object)(_hist_ra_semana1_dra),(Object)(_hist_ra_semana2),(Object)(_hist_ra_semana2_dias),(Object)(_hist_ra_semana2_dra),(Object)(_hist_ra_semana3),(Object)(_hist_ra_semana3_dias),(Object)(_hist_ra_semana3_dra),(Object)(_hist_ra_semana4),(Object)(_hist_ra_semana4_dias),(Object)(_hist_ra_semana4_dra),(Object)(_hist_ra_semana5),(Object)(_hist_ra_semana5_dias),(Object)(_hist_ra_semana5_dra),(Object)(_hist_ra_semana1_lpt),(Object)(_hist_ra_semana2_lpt),(Object)(_hist_ra_semana3_lpt),(Object)(_hist_ra_semana4_lpt),(Object)(_hist_ra_semana5_lpt),(Object)(_hist_ra_ruta),(Object)(_hist_ra_idalmacen)})); - } -}; - //BA.debugLineNum = 1418;BA.debugLine="Listo1 = 1"; -_listo1 = BA.NumberToString(1); - //BA.debugLineNum = 1419;BA.debugLine="S_CC.Text = \"LISTO\""; -_s_cc.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1420;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Catalogo Resumen Actualizado."),__c.True);}; - }; - }; - //BA.debugLineNum = 1424;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1425;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1426;BA.debugLine="If RESULT.Tag = \"hist_promos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_promos"))) { - //BA.debugLineNum = 1427;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group256 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen256 = group256.getSize() -;int index256 = 0; -; -for (; index256 < groupLen256;index256++){ -_records = (Object[])(group256.Get(index256)); - //BA.debugLineNum = 1428;BA.debugLine="Dim HP_CLIENTE As String = records(RESULT.Col"; -_hp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CLIENTE"))))]); - //BA.debugLineNum = 1429;BA.debugLine="Dim HP_CODIGO_PROMOCION As String = records(R"; -_hp_codigo_promocion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HP_CODIGO_PROMOCION"))))]); - //BA.debugLineNum = 1430;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_PROMOS(HP_CLIENTE, HP_CODIGO_PROMOCION) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hp_cliente),(Object)(_hp_codigo_promocion)})); - } -}; - //BA.debugLineNum = 1432;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Historico Promociones Actualizado."),__c.True);}; - //BA.debugLineNum = 1433;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 1434;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 1435;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 1437;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 1439;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 1440;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - }; - }; - //BA.debugLineNum = 1445;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1446;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1447;BA.debugLine="If RESULT.Tag = \"hist_cliente_promos\" Then 'que"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_cliente_promos"))) { - //BA.debugLineNum = 1448;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group276 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen276 = group276.getSize() -;int index276 = 0; -; -for (; index276 < groupLen276;index276++){ -_records = (Object[])(group276.Get(index276)); - //BA.debugLineNum = 1449;BA.debugLine="Dim HCCP_CLIENTE As String = records(RESULT.C"; -_hccp_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CLIENTE"))))]); - //BA.debugLineNum = 1450;BA.debugLine="Dim HCCP_PROMO As String = records(RESULT.Col"; -_hccp_promo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_PROMO"))))]); - //BA.debugLineNum = 1451;BA.debugLine="Dim HCCP_CANT As String = records(RESULT.Colu"; -_hccp_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCCP_CANT"))))]); - //BA.debugLineNum = 1452;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CLIENTE_CANT_PROMOS(HCCP_CLIENTE, HCCP_PROMO, HCCP_CANT) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hccp_cliente),(Object)(_hccp_promo),(Object)(_hccp_cant)})); - } -}; - //BA.debugLineNum = 1454;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence(" Historico Clientes Promociones Actualizado."),__c.True);}; - }; - }; - //BA.debugLineNum = 1458;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1459;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1460;BA.debugLine="If RESULT.Tag = \"HIST_MARCAS_CUOTAS\" Then 'quer"; -if ((_result.Tag /*Object*/ ).equals((Object)("HIST_MARCAS_CUOTAS"))) { - //BA.debugLineNum = 1461;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group288 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen288 = group288.getSize() -;int index288 = 0; -; -for (; index288 < groupLen288;index288++){ -_records = (Object[])(group288.Get(index288)); - //BA.debugLineNum = 1462;BA.debugLine="Dim HMC_MARCA As String = records(RESULT.Colu"; -_hmc_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_MARCA"))))]); - //BA.debugLineNum = 1463;BA.debugLine="Dim HMC_TOTAL As String = records(RESULT.Colu"; -_hmc_total = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HMC_TOTAL"))))]); - //BA.debugLineNum = 1464;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_MARCAS_CUOTAS(HMC_MARCA, HMC_TOTAL) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hmc_marca),(Object)(_hmc_total)})); - } -}; - //BA.debugLineNum = 1466;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence(" Historico Marcas"),__c.True);}; - }; - }; - //BA.debugLineNum = 1470;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1471;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1472;BA.debugLine="If RESULT.Tag = \"hist_comp_promos\" Then 'query"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_comp_promos"))) { - //BA.debugLineNum = 1473;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group299 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen299 = group299.getSize() -;int index299 = 0; -; -for (; index299 < groupLen299;index299++){ -_records = (Object[])(group299.Get(index299)); - //BA.debugLineNum = 1474;BA.debugLine="Dim CAT_PA_ID As String = records(RESULT.Colu"; -_cat_pa_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_ID"))))]); - //BA.debugLineNum = 1475;BA.debugLine="Dim CAT_PA_MAXPROM As String = records(RESULT"; -_cat_pa_maxprom = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROM"))))]); - //BA.debugLineNum = 1476;BA.debugLine="Dim CAT_PA_MAXPROMREC As String = records(RES"; -_cat_pa_maxpromrec = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMREC"))))]); - //BA.debugLineNum = 1477;BA.debugLine="Dim CAT_PA_MAXPROMCLIE As String = records(RE"; -_cat_pa_maxpromclie = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PA_MAXPROMCLIE"))))]); - //BA.debugLineNum = 1478;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROMOS_COMP(CAT_PA_ID, CAT_PA_MAXPROM, CAT_PA_MAXPROMREC, CAT_PA_MAXPROMCLIE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_pa_id),(Object)(_cat_pa_maxprom),(Object)(_cat_pa_maxpromrec),(Object)(_cat_pa_maxpromclie)})); - } -}; - //BA.debugLineNum = 1480;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 1481;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 1482;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 1484;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 1486;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 1487;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - }; - }; - //BA.debugLineNum = 1492;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1493;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1494;BA.debugLine="If RESULT.Tag = \"cat_verificacion\" Then 'query"; -if ((_result.Tag /*Object*/ ).equals((Object)("cat_verificacion"))) { - //BA.debugLineNum = 1495;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group320 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen320 = group320.getSize() -;int index320 = 0; -; -for (; index320 < groupLen320;index320++){ -_records = (Object[])(group320.Get(index320)); - //BA.debugLineNum = 1496;BA.debugLine="Dim CAT_VE_IDPROD As String = records(RESULT."; -_cat_ve_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_IDPROD"))))]); - //BA.debugLineNum = 1497;BA.debugLine="Dim CAT_VE_NOMBRE As String = records(RESULT."; -_cat_ve_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_NOMBRE"))))]); - //BA.debugLineNum = 1498;BA.debugLine="Dim CAT_VE_ORDEN As String = records(RESULT.C"; -_cat_ve_orden = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_ORDEN"))))]); - //BA.debugLineNum = 1499;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VERIFICACION(CAT_VE_IDPROD, CAT_VE_NOMBRE,CAT_VE_ORDEN) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_idprod),(Object)(_cat_ve_nombre),(Object)(_cat_ve_orden)})); - } -}; - }; - }; - //BA.debugLineNum = 1504;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1505;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1506;BA.debugLine="If RESULT.Tag = \"marcas_rutas\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("marcas_rutas"))) { - //BA.debugLineNum = 1507;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group331 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen331 = group331.getSize() -;int index331 = 0; -; -for (; index331 < groupLen331;index331++){ -_records = (Object[])(group331.Get(index331)); - //BA.debugLineNum = 1508;BA.debugLine="Dim HVD_MARCA As String = records(RESULT.Colu"; -_hvd_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_MARCA"))))]); - //BA.debugLineNum = 1509;BA.debugLine="Dim CLIENTES As String = records(RESULT.Colum"; -_clientes = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTES"))))]); - //BA.debugLineNum = 1510;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO MARCAS_RUTAS(HVD_MARCA, CLIENTES) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_marca),(Object)(_clientes)})); - } -}; - }; - }; - //BA.debugLineNum = 1516;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1517;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1518;BA.debugLine="If RESULT.Tag = \"CUOTAS\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("CUOTAS"))) { - //BA.debugLineNum = 1519;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group341 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen341 = group341.getSize() -;int index341 = 0; -; -for (; index341 < groupLen341;index341++){ -_records = (Object[])(group341.Get(index341)); - //BA.debugLineNum = 1520;BA.debugLine="Dim HC_RUTA As String = records(RESULT.Column"; -_hc_ruta = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_RUTA"))))]); - //BA.debugLineNum = 1521;BA.debugLine="Dim HC_CUOTA1 As String = records(RESULT.Colu"; -_hc_cuota1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA1"))))]); - //BA.debugLineNum = 1522;BA.debugLine="Dim HC_CUOTA2 As String = records(RESULT.Colu"; -_hc_cuota2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA2"))))]); - //BA.debugLineNum = 1523;BA.debugLine="Dim HC_CUOTA3 As String = records(RESULT.Colu"; -_hc_cuota3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA3"))))]); - //BA.debugLineNum = 1524;BA.debugLine="Dim HC_CUOTA4 As String = records(RESULT.Colu"; -_hc_cuota4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA4"))))]); - //BA.debugLineNum = 1525;BA.debugLine="Dim HC_CUOTA5 As String = records(RESULT.Colu"; -_hc_cuota5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA5"))))]); - //BA.debugLineNum = 1526;BA.debugLine="Dim HC_CUOTA6 As String = records(RESULT.Colu"; -_hc_cuota6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CUOTA6"))))]); - //BA.debugLineNum = 1527;BA.debugLine="Dim HC_META1 As String = records(RESULT.Colum"; -_hc_meta1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META1"))))]); - //BA.debugLineNum = 1528;BA.debugLine="Dim HC_META2 As String = records(RESULT.Colum"; -_hc_meta2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META2"))))]); - //BA.debugLineNum = 1529;BA.debugLine="Dim HC_META3 As String = records(RESULT.Colum"; -_hc_meta3 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META3"))))]); - //BA.debugLineNum = 1530;BA.debugLine="Dim HC_META4 As String = records(RESULT.Colum"; -_hc_meta4 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META4"))))]); - //BA.debugLineNum = 1531;BA.debugLine="Dim HC_META5 As String = records(RESULT.Colum"; -_hc_meta5 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META5"))))]); - //BA.debugLineNum = 1532;BA.debugLine="Dim HC_META6 As String = records(RESULT.Colum"; -_hc_meta6 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_META6"))))]); - //BA.debugLineNum = 1533;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CUOTAS(HC_RUTA, HC_CUOTA1,HC_CUOTA2,HC_CUOTA3,HC_CUOTA4,HC_CUOTA5,HC_CUOTA6,HC_META1,HC_META2,HC_META3,HC_META4,HC_META5,HC_META6) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hc_ruta),(Object)(_hc_cuota1),(Object)(_hc_cuota2),(Object)(_hc_cuota3),(Object)(_hc_cuota4),(Object)(_hc_cuota5),(Object)(_hc_cuota6),(Object)(_hc_meta1),(Object)(_hc_meta2),(Object)(_hc_meta3),(Object)(_hc_meta4),(Object)(_hc_meta5),(Object)(_hc_meta6)})); - } -}; - }; - }; - //BA.debugLineNum = 1540;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1541;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1542;BA.debugLine="If RESULT.Tag = \"COMISIONES\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("COMISIONES"))) { - //BA.debugLineNum = 1543;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group362 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen362 = group362.getSize() -;int index362 = 0; -; -for (; index362 < groupLen362;index362++){ -_records = (Object[])(group362.Get(index362)); - //BA.debugLineNum = 1544;BA.debugLine="Dim HCM_TOTAL_V As String = records(RESULT.Co"; -_hcm_total_v = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_V"))))]); - //BA.debugLineNum = 1545;BA.debugLine="Dim HCM_TOTAL_VIVE As String = records(RESULT"; -_hcm_total_vive = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_VIVE"))))]); - //BA.debugLineNum = 1546;BA.debugLine="Dim HCM_TOTAL_GUNA As String = records(RESULT"; -_hcm_total_guna = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_GUNA"))))]); - //BA.debugLineNum = 1547;BA.debugLine="Dim HCM_TOTAL_BEB As String = records(RESULT."; -_hcm_total_beb = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HCM_TOTAL_BEB"))))]); - //BA.debugLineNum = 1548;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_COMISIONES_MOVIL (HCM_TOTAL_V , HCM_TOTAL_VIVE , HCM_TOTAL_GUNA , HCM_TOTAL_BEB) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hcm_total_v),(Object)(_hcm_total_vive),(Object)(_hcm_total_guna),(Object)(_hcm_total_beb)})); - } -}; - }; - }; - //BA.debugLineNum = 1553;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1554;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1555;BA.debugLine="If RESULT.Tag = \"gunaprod\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod"))) { - //BA.debugLineNum = 1556;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; -if (_pb2.getProgress()<30) { -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));}; - //BA.debugLineNum = 1557;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group375 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen375 = group375.getSize() -;int index375 = 0; -; -for (; index375 < groupLen375;index375++){ -_records = (Object[])(group375.Get(index375)); - //BA.debugLineNum = 1558;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; -_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1559;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; -_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1560;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; -_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1561;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; -_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1562;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; -_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1563;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; -_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1564;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; -_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1565;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; -_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1566;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; -_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1567;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; -_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1568;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; -_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1570;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; -_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1571;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; -_cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 1572;BA.debugLine="Dim CAT_DP_PRECIO4 As Int = records(RESULT.Co"; -_cat_dp_precio4 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); - //BA.debugLineNum = 1573;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(RESUL"; -_cat_dp_conversion1 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))])); - //BA.debugLineNum = 1576;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_dp_precio4),(Object)(_cat_dp_conversion1)})); - } -}; - //BA.debugLineNum = 1578;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1579;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1580;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1581;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1583;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1585;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1586;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1588;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Productos Actualizados."),__c.True);}; - //BA.debugLineNum = 1589;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1590;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1591;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1592;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1599;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1600;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1601;BA.debugLine="If RESULT.Tag = \"gunaprod2\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprod2"))) { - //BA.debugLineNum = 1602;BA.debugLine="If PB2.Progress < 30 Then S_CP.Text = \"CARGAND"; -if (_pb2.getProgress()<30) { -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO"));}; - //BA.debugLineNum = 1603;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group415 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen415 = group415.getSize() -;int index415 = 0; -; -for (; index415 < groupLen415;index415++){ -_records = (Object[])(group415.Get(index415)); - //BA.debugLineNum = 1604;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; -_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1605;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; -_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1606;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; -_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1607;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; -_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1608;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; -_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1609;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; -_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1610;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; -_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1611;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; -_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1612;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; -_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1613;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; -_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1614;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; -_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1616;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; -_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1617;BA.debugLine="Dim CAT_GP_INICIATIVA As Int = records(RESULT"; -_cat_gp_iniciativa = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_INICIATIVA"))))])); - //BA.debugLineNum = 1618;BA.debugLine="Dim CAT_DP_PRECIO4 As Int = records(RESULT.Co"; -_cat_dp_precio4 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_PRECIO4"))))])); - //BA.debugLineNum = 1619;BA.debugLine="Dim CAT_DP_CONVERSION1 As Int = records(RESUL"; -_cat_dp_conversion1 = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_DP_CONVERSION1"))))])); - //BA.debugLineNum = 1623;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD,CAT_GP_INICIATIVA,CAT_DP_PRECIO4,CAT_DP_CONVERSION1) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod),(Object)(_cat_gp_iniciativa),(Object)(_cat_dp_precio4),(Object)(_cat_dp_conversion1)})); - } -}; - //BA.debugLineNum = 1625;BA.debugLine="Listo2=1"; -_listo2 = BA.NumberToString(1); - //BA.debugLineNum = 1626;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1627;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1628;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1630;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1632;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1633;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1635;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Productos Actualizados."),__c.True);}; - //BA.debugLineNum = 1636;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1637;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1638;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1639;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1644;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1645;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1646;BA.debugLine="If RESULT.Tag = \"gunaprodp\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodp"))) { - //BA.debugLineNum = 1647;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group454 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen454 = group454.getSize() -;int index454 = 0; -; -for (; index454 < groupLen454;index454++){ -_records = (Object[])(group454.Get(index454)); - //BA.debugLineNum = 1648;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; -_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1649;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; -_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1650;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; -_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1651;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; -_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1652;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; -_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1653;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; -_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1654;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; -_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1655;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; -_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1656;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; -_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1657;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; -_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1658;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; -_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1659;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; -_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1660;BA.debugLine="CAT_GP_TIPOPROD = \"5\""; -_cat_gp_tipoprod = (int)(Double.parseDouble("5")); - //BA.debugLineNum = 1661;BA.debugLine="If CAT_GP_ID = \"PAQUNI003\" Then"; -if ((_cat_gp_id).equals("PAQUNI003")) { - //BA.debugLineNum = 1662;BA.debugLine="CAT_GP_ALMACEN = 60"; -_cat_gp_almacen = (int) (60); - }; - //BA.debugLineNum = 1665;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); - //BA.debugLineNum = 1666;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); - } -}; - //BA.debugLineNum = 1668;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1669;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1670;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1672;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1674;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1675;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1677;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Promociones Actualizados."),__c.True);}; - //BA.debugLineNum = 1678;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1679;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1680;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1681;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1682;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1684;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1685;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1686;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1691;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1692;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1693;BA.debugLine="If RESULT.Tag = \"gunaprodps\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("gunaprodps"))) { - //BA.debugLineNum = 1694;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group499 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen499 = group499.getSize() -;int index499 = 0; -; -for (; index499 < groupLen499;index499++){ -_records = (Object[])(group499.Get(index499)); - //BA.debugLineNum = 1696;BA.debugLine="Dim CAT_GP_ID As String = records(RESULT.Colu"; -_cat_gp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))]); - //BA.debugLineNum = 1697;BA.debugLine="Dim CAT_GP_NOMBRE As String = records(RESULT."; -_cat_gp_nombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_NOMBRE"))))]); - //BA.debugLineNum = 1698;BA.debugLine="Dim CAT_GP_IMP1 As String = records(RESULT.Co"; -_cat_gp_imp1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]); - //BA.debugLineNum = 1699;BA.debugLine="Dim CAT_GP_IMP2 As String = records(RESULT.Co"; -_cat_gp_imp2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP2"))))]); - //BA.debugLineNum = 1700;BA.debugLine="Dim CAT_GP_PRECIO As String = records(RESULT."; -_cat_gp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_PRECIO"))))]); - //BA.debugLineNum = 1701;BA.debugLine="Dim CAT_GP_CLASIF As String = records(RESULT."; -_cat_gp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_CLASIF"))))]); - //BA.debugLineNum = 1702;BA.debugLine="Dim CAT_GP_STS As String = records(RESULT.Col"; -_cat_gp_sts = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_STS"))))]); - //BA.debugLineNum = 1703;BA.debugLine="Dim CAT_GP_TIPO As String = records(RESULT.Co"; -_cat_gp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPO"))))]); - //BA.debugLineNum = 1704;BA.debugLine="Dim CAT_GP_SUBTIPO As String = records(RESULT"; -_cat_gp_subtipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_SUBTIPO"))))]); - //BA.debugLineNum = 1705;BA.debugLine="Dim CAT_GP_IMG() As Byte = records(RESULT.Col"; -_cat_gp_img = (byte[])(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMG"))))]); - //BA.debugLineNum = 1706;BA.debugLine="Dim CAT_GP_ALMACEN As Int = records(RESULT.Co"; -_cat_gp_almacen = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ALMACEN"))))])); - //BA.debugLineNum = 1707;BA.debugLine="Dim CAT_GP_TIPOPROD As Int = records(RESULT.C"; -_cat_gp_tipoprod = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_TIPOPROD"))))])); - //BA.debugLineNum = 1708;BA.debugLine="Log(\"XXXXXXXX gunaprodps XXXXXXXX \" & record"; -__c.LogImpl("349742386","XXXXXXXX gunaprodps XXXXXXXX "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_ID"))))])+"|"+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_GP_IMP1"))))]),0); - //BA.debugLineNum = 1709;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); - //BA.debugLineNum = 1710;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_GUNAPROD2(CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_IMP1,CAT_GP_IMP2,CAT_GP_PRECIO,CAT_GP_CLASIF,CAT_GP_STS,CAT_GP_TIPO,CAT_GP_SUBTIPO,CAT_GP_IMG,CAT_GP_ALMACEN,CAT_GP_TIPOPROD) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_gp_id),(Object)(_cat_gp_nombre),(Object)(_cat_gp_imp1),(Object)(_cat_gp_imp2),(Object)(_cat_gp_precio),(Object)(_cat_gp_clasif),(Object)(_cat_gp_sts),(Object)(_cat_gp_tipo),(Object)(_cat_gp_subtipo),(Object)(_cat_gp_img),(Object)(_cat_gp_almacen),(Object)(_cat_gp_tipoprod)})); - } -}; - //BA.debugLineNum = 1712;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1713;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1714;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - //BA.debugLineNum = 1715;BA.debugLine="Log(\"C4\")"; -__c.LogImpl("349742393","C4",0); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1717;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1719;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1720;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - //BA.debugLineNum = 1721;BA.debugLine="Log(\"3\")"; -__c.LogImpl("349742399","3",0); - }; - //BA.debugLineNum = 1723;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Promociones especiales Actualizados."),__c.True);}; - //BA.debugLineNum = 1725;BA.debugLine="Listo4=1"; -_listo4 = BA.NumberToString(1); - //BA.debugLineNum = 1726;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1727;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1728;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1729;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1731;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1732;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1733;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1738;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1739;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1740;BA.debugLine="If RESULT.Tag = \"detallepaq\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("detallepaq"))) { - //BA.debugLineNum = 1741;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group543 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen543 = group543.getSize() -;int index543 = 0; -; -for (; index543 < groupLen543;index543++){ -_records = (Object[])(group543.Get(index543)); - //BA.debugLineNum = 1742;BA.debugLine="Dim CAT_DP_ALMACEN As String = records(RESUL"; -_cat_dp_almacen = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_ALMACEN"))))]); - //BA.debugLineNum = 1743;BA.debugLine="Dim CAT_DP_ID As String = records(RESULT.Colu"; -_cat_dp_id = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_ID"))))]); - //BA.debugLineNum = 1744;BA.debugLine="Dim CAT_DP_IDPROD As String = records(RESULT."; -_cat_dp_idprod = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_IDPROD"))))]); - //BA.debugLineNum = 1745;BA.debugLine="Dim CAT_DP_TIPO As String = records(RESULT.Co"; -_cat_dp_tipo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_TIPO"))))]); - //BA.debugLineNum = 1746;BA.debugLine="Dim CAT_DP_PZAS As String = records(RESULT.Co"; -_cat_dp_pzas = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_PZAS"))))]); - //BA.debugLineNum = 1747;BA.debugLine="Dim CAT_DP_USUARIO As String = records(RESUL"; -_cat_dp_usuario = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_USUARIO"))))]); - //BA.debugLineNum = 1748;BA.debugLine="Dim CAT_DP_FECHA As String = records(RESULT.C"; -_cat_dp_fecha = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_FECHA"))))]); - //BA.debugLineNum = 1749;BA.debugLine="Dim CAT_DP_REGALO As String = records(RESULT"; -_cat_dp_regalo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_REGALO"))))]); - //BA.debugLineNum = 1750;BA.debugLine="Dim CAT_DP_CLASIF As String = records(RESULT"; -_cat_dp_clasif = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_CLASIF"))))]); - //BA.debugLineNum = 1751;BA.debugLine="Dim CAT_DP_PRECIO As String = records(RESULT."; -_cat_dp_precio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_PRECIO"))))]); - //BA.debugLineNum = 1752;BA.debugLine="Dim CAT_DP_PRECIO_SIMPTOS As String = records"; -_cat_dp_precio_simptos = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_PDP_PRECIO_SIMPTOS"))))]); - //BA.debugLineNum = 1753;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_DETALLES_PAQ(CAT_DP_ALMACEN,CAT_DP_ID,CAT_DP_IDPROD,CAT_DP_TIPO,CAT_DP_PZAS,CAT_DP_USUARIO,CAT_DP_FECHA,CAT_DP_REGALO,CAT_DP_CLASIF,CAT_DP_PRECIO,CAT_DP_PRECIO_SIMPTOS) VALUES (?,?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_dp_almacen),(Object)(_cat_dp_id),(Object)(_cat_dp_idprod),(Object)(_cat_dp_tipo),(Object)(_cat_dp_pzas),(Object)(_cat_dp_usuario),(Object)(_cat_dp_fecha),(Object)(_cat_dp_regalo),(Object)(_cat_dp_clasif),(Object)(_cat_dp_precio),(Object)(_cat_dp_precio_simptos)})); - } -}; - //BA.debugLineNum = 1755;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 1756;BA.debugLine="PB2.Progress = 30"; -_pb2.setProgress((int) (30)); - //BA.debugLineNum = 1757;BA.debugLine="S_CP.Text = \"CARGANDO\""; -_s_cp.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb2.getProgress()==30) { - //BA.debugLineNum = 1759;BA.debugLine="PB2.Progress = 60"; -_pb2.setProgress((int) (60)); - }else if(_pb2.getProgress()==60) { - //BA.debugLineNum = 1761;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1762;BA.debugLine="S_CP.Text = \"LISTO\""; -_s_cp.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1764;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1765;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1766;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1767;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1768;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }else if((_listo4).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_inve).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1770;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1771;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1772;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1778;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1779;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1780;BA.debugLine="If RESULT.Tag = \"hist_datos\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_datos"))) { - //BA.debugLineNum = 1781;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group581 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen581 = group581.getSize() -;int index581 = 0; -; -for (; index581 < groupLen581;index581++){ -_records = (Object[])(group581.Get(index581)); - //BA.debugLineNum = 1782;BA.debugLine="Dim HVD_CLIENTE As String = records(RESULT.Co"; -_hvd_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CLIENTE"))))]); - //BA.debugLineNum = 1783;BA.debugLine="Dim HVD_PRONOMBRE As String = records(RESULT."; -_hvd_pronombre = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_PRONOMBRE"))))]); - //BA.debugLineNum = 1784;BA.debugLine="Dim HVD_CANT As String = records(RESULT.Colum"; -_hvd_cant = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_CANT"))))]); - //BA.debugLineNum = 1785;BA.debugLine="Dim HVD_COSTO_TOT As String = records(RESULT."; -_hvd_costo_tot = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HVD_COSTO_TOT"))))]); - //BA.debugLineNum = 1786;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_VENTAS(HVD_CLIENTE,HVD_PRONOMBRE,HVD_CANT,HVD_COSTO_TOT) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_hvd_cliente),(Object)(_hvd_pronombre),(Object)(_hvd_cant),(Object)(_hvd_costo_tot)})); - } -}; - //BA.debugLineNum = 1788;BA.debugLine="Listo3 =1"; -_listo3 = BA.NumberToString(1); - //BA.debugLineNum = 1789;BA.debugLine="If PB1.Progress = 0 Then"; -if (_pb1.getProgress()==0) { - //BA.debugLineNum = 1790;BA.debugLine="PB1.Progress = 30"; -_pb1.setProgress((int) (30)); - //BA.debugLineNum = 1791;BA.debugLine="S_CH.Text = \"CARGANDO\""; -_s_ch.setText(BA.ObjectToCharSequence("CARGANDO")); - }else if(_pb1.getProgress()==30) { - //BA.debugLineNum = 1793;BA.debugLine="PB1.Progress = 60"; -_pb1.setProgress((int) (60)); - }else if(_pb1.getProgress()==60) { - //BA.debugLineNum = 1795;BA.debugLine="PB1.Progress = 100"; -_pb1.setProgress((int) (100)); - //BA.debugLineNum = 1796;BA.debugLine="S_CH.Text = \"LISTO\""; -_s_ch.setText(BA.ObjectToCharSequence("LISTO")); - }; - //BA.debugLineNum = 1798;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessag"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Venta historico Actualizado."),__c.True);}; - //BA.debugLineNum = 1799;BA.debugLine="If Listo1 =1 And Listo2 =1 And Listo3 = 1 And"; -if ((_listo1).equals(BA.NumberToString(1)) && (_listo2).equals(BA.NumberToString(1)) && (_listo3).equals(BA.NumberToString(1)) && (_listo4).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1800;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - //BA.debugLineNum = 1801;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 1802;BA.debugLine="EJECUTANDO=0"; -_ejecutando = BA.NumberToString(0); - }; - }; - }; - //BA.debugLineNum = 1807;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1808;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1809;BA.debugLine="If RESULT.Tag = \"variables\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("variables"))) { - //BA.debugLineNum = 1810;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group609 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen609 = group609.getSize() -;int index609 = 0; -; -for (; index609 < groupLen609;index609++){ -_records = (Object[])(group609.Get(index609)); - //BA.debugLineNum = 1811;BA.debugLine="Dim Cat_Va_Descripcion As String = records(RE"; -_cat_va_descripcion = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_DESCRIPCION"))))]); - //BA.debugLineNum = 1812;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; -_cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VA_VALOR"))))]); - //BA.debugLineNum = 1813;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_va_descripcion),(Object)(_cat_va_valor)})); - } -}; - }; - }; - //BA.debugLineNum = 1818;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1819;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1820;BA.debugLine="If RESULT.Tag = \"CUESTIONARIO\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("CUESTIONARIO"))) { - //BA.debugLineNum = 1821;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group619 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen619 = group619.getSize() -;int index619 = 0; -; -for (; index619 < groupLen619;index619++){ -_records = (Object[])(group619.Get(index619)); - //BA.debugLineNum = 1822;BA.debugLine="Dim Cat_Va_Valor As String = records(RESULT.C"; -_cat_va_valor = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VALOR"))))]); - //BA.debugLineNum = 1823;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"DELETE"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("DELETE FROM CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO")})); - //BA.debugLineNum = 1824;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CUESTIONARIO"),(Object)(_cat_va_valor)})); - } -}; - }; - }; - //BA.debugLineNum = 1829;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1830;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1831;BA.debugLine="If RESULT.Tag = \"valida_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedido"))) { - //BA.debugLineNum = 1832;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group629 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen629 = group629.getSize() -;int index629 = 0; -; -for (; index629 < groupLen629;index629++){ -_records = (Object[])(group629.Get(index629)); - //BA.debugLineNum = 1833;BA.debugLine="Dim CUANTOSP As Int = records(RESULT.Columns."; -_cuantosp = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSP"))))])); - //BA.debugLineNum = 1834;BA.debugLine="If cuantos_pedido <= CUANTOSP Then"; -if ((double)(Double.parseDouble(_cuantos_pedido))<=_cuantosp) { - //BA.debugLineNum = 1836;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - //BA.debugLineNum = 1837;BA.debugLine="S_CP.Text = \"INFO OK\""; -_s_cp.setText(BA.ObjectToCharSequence("INFO OK")); - }else { - //BA.debugLineNum = 1839;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info P. Sync Nuevamente"+BA.NumberToString(_cuantosp)+" "+_cuantos_pedido),__c.True);}; - //BA.debugLineNum = 1840;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-2)\""; -_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-2)")); - }; - } -}; - }; - }; - //BA.debugLineNum = 1846;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1847;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1848;BA.debugLine="If RESULT.Tag = \"valida_pedidoc\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_pedidoc"))) { - //BA.debugLineNum = 1849;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group644 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen644 = group644.getSize() -;int index644 = 0; -; -for (; index644 < groupLen644;index644++){ -_records = (Object[])(group644.Get(index644)); - //BA.debugLineNum = 1850;BA.debugLine="Dim CUANTOSC As Int = records(RESULT.Columns."; -_cuantosc = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSC"))))])); - //BA.debugLineNum = 1851;BA.debugLine="If cuantos_pedidosc = CUANTOSC Then"; -if ((_cuantos_pedidosc).equals(BA.NumberToString(_cuantosc))) { - //BA.debugLineNum = 1853;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1855;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info C. Sync Nuevamente"+BA.NumberToString(_cuantosc)+" "+_cuantos_pedidosc),__c.True);}; - }; - } -}; - }; - }; - //BA.debugLineNum = 1861;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1862;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1863;BA.debugLine="If RESULT.Tag = \"valida_noventa\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("valida_noventa"))) { - //BA.debugLineNum = 1864;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group657 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen657 = group657.getSize() -;int index657 = 0; -; -for (; index657 < groupLen657;index657++){ -_records = (Object[])(group657.Get(index657)); - //BA.debugLineNum = 1865;BA.debugLine="Dim CUANTOSN As Int = records(RESULT.Columns."; -_cuantosn = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CUANTOSN"))))])); - //BA.debugLineNum = 1866;BA.debugLine="If cuantos_noventa = CUANTOSN Then"; -if ((_cuantos_noventa).equals(BA.NumberToString(_cuantosn))) { - //BA.debugLineNum = 1868;BA.debugLine="datos_iguales = \"ok\""; -_datos_iguales = "ok"; - }else { - //BA.debugLineNum = 1870;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMess"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("No se cargo bien la info N. Sync Nuevamente"+BA.NumberToString(_cuantosn)+" "+_cuantos_noventa),__c.True);}; - }; - } -}; - }; - }; - //BA.debugLineNum = 1876;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1877;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1878;BA.debugLine="If RESULT.Tag = \"ins_pedido\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_pedido"))) { - //BA.debugLineNum = 1879;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group670 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen670 = group670.getSize() -;int index670 = 0; -; -for (; index670 < groupLen670;index670++){ -_records = (Object[])(group670.Get(index670)); - //BA.debugLineNum = 1880;BA.debugLine="PB2.Progress = PB2.Progress + 5"; -_pb2.setProgress((int) (_pb2.getProgress()+5)); - //BA.debugLineNum = 1881;BA.debugLine="S_CP.Text = \"SUBIENDO\""; -_s_cp.setText(BA.ObjectToCharSequence("SUBIENDO")); - } -}; - //BA.debugLineNum = 1883;BA.debugLine="PB2.Progress = 100"; -_pb2.setProgress((int) (100)); - //BA.debugLineNum = 1884;BA.debugLine="S_CP.Text = \"REVISANDO ...\""; -_s_cp.setText(BA.ObjectToCharSequence("REVISANDO ...")); - //BA.debugLineNum = 1885;BA.debugLine="Log(\"5\")"; -__c.LogImpl("349742563","5",0); - }; - }; - //BA.debugLineNum = 1889;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1890;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1891;BA.debugLine="If RESULT.Tag = \"version\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("version"))) { - //BA.debugLineNum = 1892;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group682 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen682 = group682.getSize() -;int index682 = 0; -; -for (; index682 < groupLen682;index682++){ -_records = (Object[])(group682.Get(index682)); - //BA.debugLineNum = 1893;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete f"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from VERSION"); - //BA.debugLineNum = 1894;BA.debugLine="Dim CAT_VE_VERSION As String = records(RESULT"; -_cat_ve_version = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CAT_VE_VERSION"))))]); - //BA.debugLineNum = 1895;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO VERSION(NOVERSION) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cat_ve_version)})); - } -}; - }; - }; - //BA.debugLineNum = 1900;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1901;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1902;BA.debugLine="If RESULT.Tag = \"count_cli\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("count_cli"))) { - //BA.debugLineNum = 1903;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group692 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen692 = group692.getSize() -;int index692 = 0; -; -for (; index692 < groupLen692;index692++){ -_records = (Object[])(group692.Get(index692)); - //BA.debugLineNum = 1904;BA.debugLine="COUNT_CLIE = records(RESULT.Columns.Get(\"COUN"; -_count_clie = (int)(BA.ObjectToNumber(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("COUNT_CLIE"))))])); - } -}; - }; - }; - //BA.debugLineNum = 1909;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1910;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1911;BA.debugLine="If RESULT.Tag = \"ruta\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("ruta"))) { - //BA.debugLineNum = 1912;BA.debugLine="Log(\"JOBDONE PRINCIPAL RUTA\")"; -__c.LogImpl("349742590","JOBDONE PRINCIPAL RUTA",0); - //BA.debugLineNum = 1913;BA.debugLine="Log(RESULT.Rows.Size)"; -__c.LogImpl("349742591",BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); - //BA.debugLineNum = 1914;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group702 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen702 = group702.getSize() -;int index702 = 0; -; -for (; index702 < groupLen702;index702++){ -_records = (Object[])(group702.Get(index702)); - //BA.debugLineNum = 1915;BA.debugLine="Dim VALIDO As String = records(RESULT.Columns"; -_valido = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - //BA.debugLineNum = 1916;BA.debugLine="Log(\"|\"&VALIDO)"; -__c.LogImpl("349742594","|"+_valido,0); - //BA.debugLineNum = 1917;BA.debugLine="If VALIDO = \"OK\" Then"; -if ((_valido).equals("OK")) { - //BA.debugLineNum = 1918;BA.debugLine="cargar.Visible = True"; -_cargar.setVisible(__c.True); - //BA.debugLineNum = 1919;BA.debugLine="Subir.Visible = True"; -_subir.setVisible(__c.True); - //BA.debugLineNum = 1920;BA.debugLine="inv.Visible = True"; -_inv.setVisible(__c.True); - //BA.debugLineNum = 1921;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1922;BA.debugLine="If conn = \"1\" Then"; -if ((_conn).equals("1")) { - //BA.debugLineNum = 1923;BA.debugLine="ToastMessageShow(\"Existe Conexión con el Se"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Existe Conexión con el Servidor."),__c.True); - }; - }else { - //BA.debugLineNum = 1926;BA.debugLine="cargar.Visible = False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 1927;BA.debugLine="Subir.Visible = False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 1928;BA.debugLine="inv.Visible = False"; -_inv.setVisible(__c.False); - //BA.debugLineNum = 1929;BA.debugLine="connecta.Visible = False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 1930;BA.debugLine="ToastMessageShow(\"Ruta invalida.\" , True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Ruta invalida."),__c.True); - }; - } -}; - }; - }; - //BA.debugLineNum = 1936;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1937;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1938;BA.debugLine="If RESULT.Tag = \"usuario\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("usuario"))) { - //BA.debugLineNum = 1939;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group726 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen726 = group726.getSize() -;int index726 = 0; -; -for (; index726 < groupLen726;index726++){ -_records = (Object[])(group726.Get(index726)); - //BA.debugLineNum = 1940;BA.debugLine="Dim name2 As String = records(RESULT.Columns."; -_name2 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("VALIDO"))))]); - } -}; - //BA.debugLineNum = 1942;BA.debugLine="If name2 = \"OK\" Then"; -if ((_name2).equals("OK")) { - //BA.debugLineNum = 1943;BA.debugLine="PASO = 1"; -_paso = BA.NumberToString(1); - }; - //BA.debugLineNum = 1945;BA.debugLine="P1.Visible = False"; -_p1.setVisible(__c.False); - //BA.debugLineNum = 1946;BA.debugLine="p_mandaInfo.Visible = False"; -_p_mandainfo.setVisible(__c.False); - }; - }; - //BA.debugLineNum = 1950;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1951;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1952;BA.debugLine="If RESULT.Tag = \"fecha\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("fecha"))) { - //BA.debugLineNum = 1953;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group739 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen739 = group739.getSize() -;int index739 = 0; -; -for (; index739 < groupLen739;index739++){ -_records = (Object[])(group739.Get(index739)); - //BA.debugLineNum = 1954;BA.debugLine="Dim FECHA_HOY As String = records(RESULT.Colu"; -_fecha_hoy = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FECHA"))))]); - //BA.debugLineNum = 1955;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA")})); - //BA.debugLineNum = 1956;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FECHA"),(Object)(_fecha_hoy)})); - } -}; - }; - }; - //BA.debugLineNum = 1961;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1962;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1963;BA.debugLine="If RESULT.Tag = \"folio\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("folio"))) { - //BA.debugLineNum = 1964;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group749 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen749 = group749.getSize() -;int index749 = 0; -; -for (; index749 < groupLen749;index749++){ -_records = (Object[])(group749.Get(index749)); - //BA.debugLineNum = 1965;BA.debugLine="Dim FOLIO As String = records(RESULT.Columns."; -_folio = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("FOLIO"))))]); - //BA.debugLineNum = 1966;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FOLIO")})); - //BA.debugLineNum = 1967;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("FOLIO"),(Object)(_folio)})); - } -}; - }; - }; - //BA.debugLineNum = 1972;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1973;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1974;BA.debugLine="If RESULT.Tag = \"hist_avance\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("hist_avance"))) { - //BA.debugLineNum = 1975;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group759 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen759 = group759.getSize() -;int index759 = 0; -; -for (; index759 < groupLen759;index759++){ -_records = (Object[])(group759.Get(index759)); - //BA.debugLineNum = 1976;BA.debugLine="Dim marca As String = records(RESULT.Columns."; -_marca = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_AM_MARCA"))))]); - //BA.debugLineNum = 1977;BA.debugLine="Dim avance As String = records(RESULT.Columns"; -_avance = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_AM_AVANCE"))))]); - //BA.debugLineNum = 1978;BA.debugLine="Dim objetivo As String = records(RESULT.Colum"; -_objetivo = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_AM_OBJETIVO"))))]); - //BA.debugLineNum = 1979;BA.debugLine="Dim porcentaje1 As String = records(RESULT.Co"; -_porcentaje1 = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HIST_AM_PORCENTAJE"))))]); - //BA.debugLineNum = 1980;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_AVANCE(HA_MARCA, HA_AVANCE, HA_OBJETIVO, HA_PORCENTAJE) VALUES (?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marca),(Object)(_avance),(Object)(_objetivo),(Object)(_porcentaje1)})); - } -}; - }; - }; - //BA.debugLineNum = 1985;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1986;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(J"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 1987;BA.debugLine="If RESULT.Tag = \"select_abonosp\" Then 'query ta"; -if ((_result.Tag /*Object*/ ).equals((Object)("select_abonosp"))) { - //BA.debugLineNum = 1988;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group771 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen771 = group771.getSize() -;int index771 = 0; -; -for (; index771 < groupLen771;index771++){ -_records = (Object[])(group771.Get(index771)); - //BA.debugLineNum = 1989;BA.debugLine="Dim NOTA As String = records(RESULT.Columns.G"; -_nota = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("NOTA"))))]); - //BA.debugLineNum = 1990;BA.debugLine="Dim CLIENTE As String = records(RESULT.Column"; -_cliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("CLIENTE"))))]); - //BA.debugLineNum = 1991;BA.debugLine="Dim SALDO_PENDIENTE As String = records(RESUL"; -_saldo_pendiente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("SALDO_PENDIENTE"))))]); - //BA.debugLineNum = 1992;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO ABONOSP(NOTA,CLIENTE,SALDO_PENDIENTE) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_nota),(Object)(_cliente),(Object)(_saldo_pendiente)})); - } -}; - }; - }; - }; - //BA.debugLineNum = 1998;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 1999;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2000;BA.debugLine="If RESULT.Tag = \"ins_cuestionario\" Then 'query t"; -if ((_result.Tag /*Object*/ ).equals((Object)("ins_cuestionario"))) { - //BA.debugLineNum = 2001;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; -_subs._logjobdoneresultados /*String*/ (ba,_result); - }; - //BA.debugLineNum = 2004;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2005;BA.debugLine="If RESULT.Tag = \"test\" Then 'query tag"; -if ((_result.Tag /*Object*/ ).equals((Object)("test"))) { - //BA.debugLineNum = 2006;BA.debugLine="Log(\">>>>>>>>>>>>> TEST\")"; -__c.LogImpl("349742684",">>>>>>>>>>>>> TEST",0); - //BA.debugLineNum = 2007;BA.debugLine="Subs.logJobDoneResultados(RESULT)"; -_subs._logjobdoneresultados /*String*/ (ba,_result); - }; - //BA.debugLineNum = 2010;BA.debugLine="Dim RESULT As DBResult = reqManager.HandleJob(Jo"; -_result = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 2011;BA.debugLine="If RESULT.Tag = \"clientes_cuestionario\" Then"; -if ((_result.Tag /*Object*/ ).equals((Object)("clientes_cuestionario"))) { - //BA.debugLineNum = 2012;BA.debugLine="Log(\"Entramos a clientes_cuestionario - Regs:\""; -__c.LogImpl("349742690","Entramos a clientes_cuestionario - Regs:"+BA.NumberToString(_result.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); - //BA.debugLineNum = 2013;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from HIST_CUE"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from HIST_CUESTIONARIO"); - //BA.debugLineNum = 2014;BA.debugLine="For Each records() As Object In RESULT.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group794 = _result.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen794 = group794.getSize() -;int index794 = 0; -; -for (; index794 < groupLen794;index794++){ -_records = (Object[])(group794.Get(index794)); - //BA.debugLineNum = 2015;BA.debugLine="Dim idCliente As String = records(RESULT.Colum"; -_idcliente = BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_result.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)("HC_CLIENTE"))))]); - //BA.debugLineNum = 2016;BA.debugLine="Starter.skmt.ExecNonQuery2(\"INSERT INTO HIST_C"; -_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_CUESTIONARIO(HC_CLIENTE) VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_idcliente)})); - } -}; - }; - }; - //BA.debugLineNum = 2020;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - //BA.debugLineNum = 2021;BA.debugLine="End Sub"; -return ""; -} -public String _nuevo_click() throws Exception{ - //BA.debugLineNum = 2310;BA.debugLine="Sub NUEVO_Click"; - //BA.debugLineNum = 2311;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; -_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 2312;BA.debugLine="End Sub"; -return ""; -} -public String _nvo_cliente_click() throws Exception{ - //BA.debugLineNum = 2540;BA.debugLine="Sub nvo_cliente_Click"; - //BA.debugLineNum = 2541;BA.debugLine="B4XPages.ShowPage(\"NuevoCliente\")"; -_b4xpages._showpage /*String*/ (ba,"NuevoCliente"); - //BA.debugLineNum = 2542;BA.debugLine="End Sub"; -return ""; -} -public String _p_mandainfo_click() throws Exception{ - //BA.debugLineNum = 2733;BA.debugLine="Private Sub p_mandaInfo_Click"; - //BA.debugLineNum = 2735;BA.debugLine="End Sub"; -return ""; -} -public String _p_resumen_click() throws Exception{ - //BA.debugLineNum = 2338;BA.debugLine="Sub P_RESUMEN_click"; - //BA.debugLineNum = 2340;BA.debugLine="End Sub"; -return ""; -} -public String _resdia_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -String _cuantos_obj = ""; - //BA.debugLineNum = 2346;BA.debugLine="Sub resdia_Click"; - //BA.debugLineNum = 2347;BA.debugLine="p_principal.Visible = False"; -_p_principal.setVisible(__c.False); - //BA.debugLineNum = 2348;BA.debugLine="Btn_Ubicar.Visible=False"; -_btn_ubicar.setVisible(__c.False); - //BA.debugLineNum = 2349;BA.debugLine="SCROLL_RESDIA.Visible = True"; -_scroll_resdia.setVisible(__c.True); - //BA.debugLineNum = 2350;BA.debugLine="SCROLL_RESDIA.Panel.LoadLayout(\"RESDIA\")"; -_scroll_resdia.getPanel().LoadLayout("RESDIA",ba); - //BA.debugLineNum = 2351;BA.debugLine="SCROLL_RESDIA.Panel.Height = Panel4.Height"; -_scroll_resdia.getPanel().setHeight(_panel4.getHeight()); - //BA.debugLineNum = 2352;BA.debugLine="Panel4.Visible = True"; -_panel4.setVisible(__c.True); - //BA.debugLineNum = 2354;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 2355;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 2356;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 2357;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 2358;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 2359;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 2361;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select COUNT(*) AS CUANTOS FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); - //BA.debugLineNum = 2362;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2363;BA.debugLine="l_encuesta.Text = d.GetString(\"CUANTOS\")"; -_l_encuesta.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS"))); - //BA.debugLineNum = 2364;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2366;BA.debugLine="L_MARCAS.CLEAR"; -_l_marcas.Clear(); - //BA.debugLineNum = 2367;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"select disti"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select distinct HE_CLIE AS CLIENTE FROM HIST_ENCUESTA WHERE HE_TIPO = ?",new String[]{"TELEFONO"}))); - //BA.debugLineNum = 2368;BA.debugLine="If D.RowCount>0 Then"; -if (_d.getRowCount()>0) { - //BA.debugLineNum = 2369;BA.debugLine="For i=0 To D.RowCount -1"; -{ -final int step20 = 1; -final int limit20 = (int) (_d.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 2370;BA.debugLine="D.Position=i"; -_d.setPosition(_i); - //BA.debugLineNum = 2371;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select HE"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select HE_RES from HIST_ENCUESTA where HE_CLIE = ? AND HE_TIPO = ?",new String[]{_d.GetString("CLIENTE"),"TELEFONO"}))); - //BA.debugLineNum = 2372;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2373;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2374;BA.debugLine="label1 = L_MARCAS.TwoLinesLayout.Label"; -_label1 = _l_marcas.getTwoLinesLayout().Label; - //BA.debugLineNum = 2375;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 2376;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2377;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 2378;BA.debugLine="label2 = L_MARCAS.TwoLinesLayout.SecondLabel"; -_label2 = _l_marcas.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 2379;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 2380;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 2381;BA.debugLine="L_MARCAS.AddTwoLines(d.GetString(\"CLIENTE\"),\"TE"; -_l_marcas.AddTwoLines(BA.ObjectToCharSequence(_d.GetString("CLIENTE")),BA.ObjectToCharSequence("TELEFONO :"+_c.GetString("HE_RES"))); - //BA.debugLineNum = 2382;BA.debugLine="c.Close"; -_c.Close(); - } -}; - }; - //BA.debugLineNum = 2385;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2387;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )",new String[]{"RTEC"}))); - //BA.debugLineNum = 2388;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2389;BA.debugLine="l_monto_k.Text = c.GetString(\"MONTO_DIA\")"; -_l_monto_k.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 2390;BA.debugLine="If l_monto_k.Text = \"null\" Then"; -if ((_l_monto_k.getText()).equals("null")) { - //BA.debugLineNum = 2391;BA.debugLine="l_monto_k.Text = \"0\""; -_l_monto_k.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 2393;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2395;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 and pe_proid in (Select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPO = ? )",new String[]{"PING"}))); - //BA.debugLineNum = 2396;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2397;BA.debugLine="l_monto_kp.Text = c.GetString(\"MONTO_DIA\")"; -_l_monto_kp.setText(BA.ObjectToCharSequence(_c.GetString("MONTO_DIA"))); - //BA.debugLineNum = 2398;BA.debugLine="If l_monto_kp.Text = \"null\" Then"; -if ((_l_monto_kp.getText()).equals("null")) { - //BA.debugLineNum = 2399;BA.debugLine="l_monto_kp.Text = \"0\""; -_l_monto_kp.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 2401;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2411;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select sum(P"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(PE_COSTO_TOT) As MONTO_DIA from pedido where PE_CLIENTE <> 0 "))); - //BA.debugLineNum = 2412;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2413;BA.debugLine="l_monto_ks.Text = Subs.traeTotalCliente"; -_l_monto_ks.setText(BA.ObjectToCharSequence(_subs._traetotalcliente /*double*/ (ba))); - //BA.debugLineNum = 2415;BA.debugLine="If l_monto_ks.Text = \"null\" Then"; -if ((_l_monto_ks.getText()).equals("null")) { - //BA.debugLineNum = 2416;BA.debugLine="l_monto_ks.Text = \"0\""; -_l_monto_ks.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 2418;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2419;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As PREVENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 2420;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2421;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2422;BA.debugLine="L_PREVENTA.Text = Subs.traeTotalClientepreventa"; -_l_preventa.setText(BA.ObjectToCharSequence(_subs._traetotalclientepreventa /*double*/ (ba))); - //BA.debugLineNum = 2423;BA.debugLine="If L_PREVENTA.TEXT = \"null\" Then"; -if ((_l_preventa.getText()).equals("null")) { - //BA.debugLineNum = 2424;BA.debugLine="L_PREVENTA.Text = \"0\""; -_l_preventa.setText(BA.ObjectToCharSequence("0")); - }; - }; - //BA.debugLineNum = 2427;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2428;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As VENTA from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"VENTA"}))); - //BA.debugLineNum = 2429;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2430;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2431;BA.debugLine="L_VENTA.Text = Subs.traeTotalClienteventa"; -_l_venta.setText(BA.ObjectToCharSequence(_subs._traetotalclienteventa /*double*/ (ba))); - //BA.debugLineNum = 2432;BA.debugLine="If L_VENTA.TEXT = \"null\" Then"; -if ((_l_venta.getText()).equals("null")) { - //BA.debugLineNum = 2433;BA.debugLine="L_VENTA.Text = \"0\""; -_l_venta.setText(BA.ObjectToCharSequence("0")); - }; - }; - //BA.debugLineNum = 2436;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2437;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) As ABORDO from pedido where PE_FOLIO = ? AND PE_CLIENTE = ?",new String[]{"ABORDO","0"}))); - //BA.debugLineNum = 2438;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 2439;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2440;BA.debugLine="L_ABORDO.Text = Subs.traeTotalClienteabordo"; -_l_abordo.setText(BA.ObjectToCharSequence(_subs._traetotalclienteabordo /*double*/ (ba))); - //BA.debugLineNum = 2441;BA.debugLine="If L_ABORDO.TEXT = \"null\" Then"; -if ((_l_abordo.getText()).equals("null")) { - //BA.debugLineNum = 2442;BA.debugLine="L_ABORDO.Text = \"0\""; -_l_abordo.setText(BA.ObjectToCharSequence("0")); - }; - }; - //BA.debugLineNum = 2445;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2446;BA.debugLine="Dim cuantos_obj As String"; -_cuantos_obj = ""; - //BA.debugLineNum = 2447;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) AS TOTAL from HIST_MARCAS_CUOTAS "))); - //BA.debugLineNum = 2448;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2449;BA.debugLine="cuantos_obj = c.GetString(\"TOTAL\")"; -_cuantos_obj = _c.GetString("TOTAL"); - //BA.debugLineNum = 2450;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2452;BA.debugLine="If cuantos_obj > 0 Then"; -if ((double)(Double.parseDouble(_cuantos_obj))>0) { - //BA.debugLineNum = 2453;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select SUM("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select SUM( HMC_TOTAL) AS TOTAL from HIST_MARCAS_CUOTAS "))); - //BA.debugLineNum = 2454;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2455;BA.debugLine="L_NES.Text = c.GetString(\"TOTAL\")"; -_l_nes.setText(BA.ObjectToCharSequence(_c.GetString("TOTAL"))); - //BA.debugLineNum = 2456;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 2458;BA.debugLine="L_REAL.Text = l_monto_ks.Text"; -_l_real.setText(BA.ObjectToCharSequence(_l_monto_ks.getText())); - //BA.debugLineNum = 2459;BA.debugLine="L_ALCANCE.Text = Round2((L_NES.Text / L_REAL.Text"; -_l_alcance.setText(BA.ObjectToCharSequence(__c.Round2(((double)(Double.parseDouble(_l_nes.getText()))/(double)(double)(Double.parseDouble(_l_real.getText()))+1),(int) (2)))); - //BA.debugLineNum = 2460;BA.debugLine="L_VPLAN.Text = l_porvisitar.Text"; -_l_vplan.setText(BA.ObjectToCharSequence(_l_porvisitar.getText())); - //BA.debugLineNum = 2461;BA.debugLine="L_VREAL.Text = L_CUANTOST.text"; -_l_vreal.setText(BA.ObjectToCharSequence(_l_cuantost.getText())); - //BA.debugLineNum = 2462;BA.debugLine="L_EFEC_VIS.Text = Round2(L_VREAL.text / L_VPLAN.T"; -_l_efec_vis.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_vreal.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2)))); - //BA.debugLineNum = 2463;BA.debugLine="L_VISITCC.Text = l_cuantosc.text"; -_l_visitcc.setText(BA.ObjectToCharSequence(_l_cuantosc.getText())); - //BA.debugLineNum = 2464;BA.debugLine="L_EFEC_PV.Text = Round2(L_VISITCC.Text / L_VREAL."; -_l_efec_pv.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vreal.getText())),(int) (2)))); - //BA.debugLineNum = 2465;BA.debugLine="L_EFEC_PURA.Text = Round2(L_VISITCC.Text / L_VPLA"; -_l_efec_pura.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_vplan.getText())),(int) (2)))); - //BA.debugLineNum = 2466;BA.debugLine="L_LIN_TICK.Text = LPT"; -_l_lin_tick.setText(BA.ObjectToCharSequence(_lpt)); - //BA.debugLineNum = 2467;BA.debugLine="If l_monto_ks.Text <> \"0\" Then"; -if ((_l_monto_ks.getText()).equals("0") == false) { - //BA.debugLineNum = 2469;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"Select COU"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select COUNT(DISTINCT(PE_CLIENTE)) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = ? ",new String[]{_almacen}))); - //BA.debugLineNum = 2470;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2471;BA.debugLine="L_CTE_PROMO.Text = c.GetString(\"CUANTOS\")"; -_l_cte_promo.setText(BA.ObjectToCharSequence(_c.GetString("CUANTOS"))); - //BA.debugLineNum = 2472;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2473;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"PRIORITARIO"}))); - //BA.debugLineNum = 2474;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2481;BA.debugLine="Log(\"|\"&d.GetString(\"MONTO_DIA\")&\"|\")"; -__c.LogImpl("350659463","|"+_d.GetString("MONTO_DIA")+"|",0); - //BA.debugLineNum = 2483;BA.debugLine="L_PRIO.Text = d.GetString(\"MONTO_DIA\")"; -_l_prio.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 2484;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2486;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"ESTRATEGICO"}))); - //BA.debugLineNum = 2487;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2488;BA.debugLine="L_SECUND.Text =d.GetString(\"MONTO_DIA\")"; -_l_secund.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 2489;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2491;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery2(\"Select sum("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select sum(PE_COSTO_TOT) AS MONTO_DIA FROM PEDIDO WHERE PE_PROID IN (select CAT_GP_ID from cat_gunaprod where CAT_GP_TIPOPROD = ?) ",new String[]{"COMPLEMENTARIO"}))); - //BA.debugLineNum = 2492;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2493;BA.debugLine="L_COMP.Text =d.GetString(\"MONTO_DIA\")"; -_l_comp.setText(BA.ObjectToCharSequence(_d.GetString("MONTO_DIA"))); - //BA.debugLineNum = 2494;BA.debugLine="d.Close"; -_d.Close(); - }else { - //BA.debugLineNum = 2496;BA.debugLine="L_PRIO.Text = \"0\""; -_l_prio.setText(BA.ObjectToCharSequence("0")); - //BA.debugLineNum = 2497;BA.debugLine="L_SECUND.Text = \"0\""; -_l_secund.setText(BA.ObjectToCharSequence("0")); - //BA.debugLineNum = 2498;BA.debugLine="L_COMP.Text = \"0\""; -_l_comp.setText(BA.ObjectToCharSequence("0")); - }; - //BA.debugLineNum = 2501;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); - //BA.debugLineNum = 2502;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 2503;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 2504;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select sum("; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select sum(pe_cant) AS CUANTOS FROM PEDIDO WHERE PE_CEDIS = PE_PROID "))); - //BA.debugLineNum = 2505;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2506;BA.debugLine="L_CTE_PROMO.Text = d.GetString(\"CUANTOS\")"; -_l_cte_promo.setText(BA.ObjectToCharSequence(_d.GetString("CUANTOS"))); - //BA.debugLineNum = 2507;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2508;BA.debugLine="L_REDEN_PROMO.TEXT = Round2(L_VISITCC.Text / L_C"; -_l_reden_promo.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_l_visitcc.getText()))/(double)(double)(Double.parseDouble(_l_cte_promo.getText())),(int) (2)))); - }else { - //BA.debugLineNum = 2510;BA.debugLine="L_CTE_PROMO.Text = 0"; -_l_cte_promo.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 2511;BA.debugLine="L_REDEN_PROMO.Text = 0"; -_l_reden_promo.setText(BA.ObjectToCharSequence(0)); - }; - //BA.debugLineNum = 2513;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 2514;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select COUNT"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select COUNT(*) AS CUANTOS FROM PEDIDO "))); - //BA.debugLineNum = 2515;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2516;BA.debugLine="L_LIN_TICK.Text = Round2(d.GetString(\"CUANTOS\") /"; -_l_lin_tick.setText(BA.ObjectToCharSequence(__c.Round2((double)(Double.parseDouble(_d.GetString("CUANTOS")))/(double)(double)(Double.parseDouble(_l_visitcc.getText())),(int) (2)))); - //BA.debugLineNum = 2517;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2519;BA.debugLine="d=B4XPages.MainPage.skmt.ExecQuery(\"Select count"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as CUANTOS from HIST_CUOTAS "))); - //BA.debugLineNum = 2520;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 2521;BA.debugLine="If d.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_d.GetString("CUANTOS")))>0) { - }else { - //BA.debugLineNum = 2529;BA.debugLine="l_monto_c1.Text = 4000"; -_l_monto_c1.setText(BA.ObjectToCharSequence(4000)); - //BA.debugLineNum = 2530;BA.debugLine="l_monto_c2.Text = 2000"; -_l_monto_c2.setText(BA.ObjectToCharSequence(2000)); - //BA.debugLineNum = 2531;BA.debugLine="l_monto_c3.Text = 1000"; -_l_monto_c3.setText(BA.ObjectToCharSequence(1000)); - }; - //BA.debugLineNum = 2533;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 2534;BA.debugLine="End Sub"; -return ""; -} -public String _resumen_click() throws Exception{ - //BA.debugLineNum = 2327;BA.debugLine="Sub Resumen_Click"; - //BA.debugLineNum = 2328;BA.debugLine="P_RESUMEN.Visible = True"; -_p_resumen.setVisible(__c.True); - //BA.debugLineNum = 2336;BA.debugLine="End Sub"; -return ""; -} -public String _subir_click() throws Exception{ -int _i = 0; -byte[] _fotocn = null; -String _dirp = ""; -String _dir = ""; -String _dir2 = ""; -int _dia = 0; -String _dialetra = ""; -String _pcnoarts = ""; -String _pcmonto = ""; - //BA.debugLineNum = 566;BA.debugLine="Sub Subir_Click"; - //BA.debugLineNum = 567;BA.debugLine="CARGA = \"SUBIR\""; -_carga = "SUBIR"; - //BA.debugLineNum = 568;BA.debugLine="p_mandaInfo.Width = Root.Width"; -_p_mandainfo.setWidth(_root.getWidth()); - //BA.debugLineNum = 569;BA.debugLine="p_mandaInfo.Height = Root.Height"; -_p_mandainfo.setHeight(_root.getHeight()); - //BA.debugLineNum = 570;BA.debugLine="P1.Visible = True"; -_p1.setVisible(__c.True); - //BA.debugLineNum = 571;BA.debugLine="P1.Left = (p_mandaInfo.Width/2) - (P1.Width/2)"; -_p1.setLeft((int) ((_p_mandainfo.getWidth()/(double)2)-(_p1.getWidth()/(double)2))); - //BA.debugLineNum = 572;BA.debugLine="P1.top = (p_mandaInfo.Height/2) - (P1.Height/2)"; -_p1.setTop((int) ((_p_mandainfo.getHeight()/(double)2)-(_p1.getHeight()/(double)2))); - //BA.debugLineNum = 573;BA.debugLine="p_mandaInfo.Visible = True"; -_p_mandainfo.setVisible(__c.True); - //BA.debugLineNum = 574;BA.debugLine="P1.BringToFront"; -_p1.BringToFront(); - //BA.debugLineNum = 575;BA.debugLine="p_mandaInfo.BringToFront"; -_p_mandainfo.BringToFront(); - //BA.debugLineNum = 577;BA.debugLine="NUEVO.Visible =False"; -_nuevo.setVisible(__c.False); - //BA.debugLineNum = 578;BA.debugLine="BUSCA.Visible=False"; -_busca.setVisible(__c.False); - //BA.debugLineNum = 579;BA.debugLine="connecta.Visible=False"; -_connecta.setVisible(__c.False); - //BA.debugLineNum = 580;BA.debugLine="Subir.Visible=False"; -_subir.setVisible(__c.False); - //BA.debugLineNum = 581;BA.debugLine="cargar.Visible=False"; -_cargar.setVisible(__c.False); - //BA.debugLineNum = 582;BA.debugLine="L_P_1.Visible = False"; -_l_p_1.setVisible(__c.False); - //BA.debugLineNum = 583;BA.debugLine="S_CC.Visible = False"; -_s_cc.setVisible(__c.False); - //BA.debugLineNum = 584;BA.debugLine="L_P_3.Visible = False"; -_l_p_3.setVisible(__c.False); - //BA.debugLineNum = 585;BA.debugLine="S_CH.Visible = False"; -_s_ch.setVisible(__c.False); - //BA.debugLineNum = 586;BA.debugLine="PB1.Visible = False"; -_pb1.setVisible(__c.False); - //BA.debugLineNum = 587;BA.debugLine="Resumen.Visible= False"; -_resumen.setVisible(__c.False); - //BA.debugLineNum = 588;BA.debugLine="L_P_2.Text = \"Envio de Pedidos\""; -_l_p_2.setText(BA.ObjectToCharSequence("Envio de Pedidos")); - //BA.debugLineNum = 589;BA.debugLine="L_P_3.Text = \"Envio de Pedidos\""; -_l_p_3.setText(BA.ObjectToCharSequence("Envio de Pedidos")); - //BA.debugLineNum = 590;BA.debugLine="S_CH.Text = \"EN PROCESO\""; -_s_ch.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 591;BA.debugLine="S_CP.Text = \"EN PROCESO\""; -_s_cp.setText(BA.ObjectToCharSequence("EN PROCESO")); - //BA.debugLineNum = 592;BA.debugLine="PB1.Progress = 0"; -_pb1.setProgress((int) (0)); - //BA.debugLineNum = 593;BA.debugLine="PB2.Progress = 0"; -_pb2.setProgress((int) (0)); - //BA.debugLineNum = 599;BA.debugLine="PASO = 1"; -_paso = BA.NumberToString(1); - //BA.debugLineNum = 601;BA.debugLine="If PASO = 1 Then"; -if ((_paso).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 602;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete fro"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); - //BA.debugLineNum = 603;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE not In (select PE_CLIENTE from pedido)"); - //BA.debugLineNum = 604;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select usuar"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select usuario from usuarioa"))); - //BA.debugLineNum = 605;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 606;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 607;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 608;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select HGDAT"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select HGDATE, HGLAT, HGLON from HIST_GPS"))); - //BA.debugLineNum = 609;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 610;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step37 = 1; -final int limit37 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit37 ;_i = _i + step37 ) { - //BA.debugLineNum = 611;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 612;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 613;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 614;BA.debugLine="cmd.Name = \"UPDATE_ADM_ACTUAL2_GPS\""; -_cmd.Name /*String*/ = "UPDATE_ADM_ACTUAL2_GPS"; - //BA.debugLineNum = 615;BA.debugLine="cmd.Parameters = Array As Object(L_MONTOD.Text"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_l_montod.getText()),(Object)(_l_cuantost.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_porvisitar.getText()),(Object)(_c.GetString("hglat")),(Object)(_c.GetString("hglon")),(Object)(_batterystatus[(int) (0)]),(Object)(_lpt),(Object)(_steyin),(Object)(_steyout),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 616;BA.debugLine="reqManager.ExecuteCommand(cmd , \"update_gps\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("update_gps")); - } -}; - }; - //BA.debugLineNum = 619;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 623;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CODIG"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CODIGOKMTS, CODIGOB, LAT, LON FROM HIST_CODIGO_BARRAS"))); - //BA.debugLineNum = 624;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 625;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step49 = 1; -final int limit49 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit49 ;_i = _i + step49 ) { - //BA.debugLineNum = 626;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 627;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 628;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 629;BA.debugLine="cmd.Name = \"insert_QR_2_ADM\""; -_cmd.Name /*String*/ = "insert_QR_2_ADM"; - //BA.debugLineNum = 630;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CODIGOKMTS")),(Object)(_c.GetString("CODIGOB")),(Object)(_c.GetString("LON")),(Object)(_c.GetString("LAT")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 631;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_QR\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_QR")); - } -}; - }; - //BA.debugLineNum = 634;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 636;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CAT_CL_NUM_SERIEFISICO, CAT_CL_CODIGO, CAT_CL_LONG, CAT_CL_LAT, CAT_CL_FOTO FROM kmt_info where CAT_CL_NUM_SERIEFISICO IS NOT NULL"))); - //BA.debugLineNum = 637;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 638;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step61 = 1; -final int limit61 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit61 ;_i = _i + step61 ) { - //BA.debugLineNum = 639;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 642;BA.debugLine="foto1 = c.GetBlob(\"CAT_CL_FOTO\")"; -_foto1 = _c.GetBlob("CAT_CL_FOTO"); - //BA.debugLineNum = 643;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 644;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 645;BA.debugLine="cmd.Name = \"insert_QR_ADM\""; -_cmd.Name /*String*/ = "insert_QR_ADM"; - //BA.debugLineNum = 646;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CAT_CL_NUM_SERIEFISICO")),(Object)(_c.GetString("CAT_CL_CODIGO")),(Object)(_c.GetString("CAT_CL_LONG")),(Object)(_c.GetString("CAT_CL_LAT")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 647;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_QR\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_QR")); - } -}; - }; - //BA.debugLineNum = 650;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 653;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PAGARES"))); - //BA.debugLineNum = 654;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 655;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step74 = 1; -final int limit74 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit74 ;_i = _i + step74 ) { - //BA.debugLineNum = 656;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 657;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 658;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 659;BA.debugLine="cmd.Name = \"insert_pagares_ADM\""; -_cmd.Name /*String*/ = "insert_pagares_ADM"; - //BA.debugLineNum = 660;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PA_ALMACEN")),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("PA_CLIENTE"))),(Object)(_c.GetString("PA_FECHA")),(Object)(_c.GetString("PA_CAPTURA")),(Object)(_c.GetString("PA_MONTO")),(Object)(_c.GetString("PA_USUARIO")),(Object)(_c.GetString("PA_CLIENTE"))}; - //BA.debugLineNum = 661;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pagares\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pagares")); - } -}; - }; - //BA.debugLineNum = 664;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 667;BA.debugLine="Dim fotocn() As Byte"; -_fotocn = new byte[(int) (0)]; -; - //BA.debugLineNum = 668;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 669;BA.debugLine="Dim Dir As String"; -_dir = ""; - //BA.debugLineNum = 670;BA.debugLine="Dim Dir2 As String"; -_dir2 = ""; - //BA.debugLineNum = 671;BA.debugLine="Dir = \"/promotoriakmts\""; -_dir = "/promotoriakmts"; - //BA.debugLineNum = 673;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT CN_ID, CN_FECHA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT CN_ID, CN_FECHA , CN_USER, CN_LAT, CN_LON, CN_NOMBRE, CN_DIRECCION, CN_FOTO, CN_ALMACEN, CN_RUTA, CN_GIRO, CN_SOLICITA FROM CLIENTES_NUEVOS"))); - //BA.debugLineNum = 674;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 675;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step91 = 1; -final int limit91 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit91 ;_i = _i + step91 ) { - //BA.debugLineNum = 676;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 677;BA.debugLine="Dim dia As Int = DateTime.GetDayOfWeek(DateTim"; -_dia = __c.DateTime.GetDayOfWeek(__c.DateTime.getNow()); - //BA.debugLineNum = 678;BA.debugLine="If dia = 2 Then"; -if (_dia==2) { - //BA.debugLineNum = 679;BA.debugLine="Dim dialetra As String = \"LUNES\""; -_dialetra = "LUNES"; - }else if(_dia==3) { - //BA.debugLineNum = 681;BA.debugLine="Dim dialetra As String = \"MARTES\""; -_dialetra = "MARTES"; - }else if(_dia==4) { - //BA.debugLineNum = 683;BA.debugLine="Dim dialetra As String = \"MIERCOLES\""; -_dialetra = "MIERCOLES"; - }else if(_dia==5) { - //BA.debugLineNum = 685;BA.debugLine="Dim dialetra As String = \"JUEVES\""; -_dialetra = "JUEVES"; - }else if(_dia==6) { - //BA.debugLineNum = 687;BA.debugLine="Dim dialetra As String = \"VIERNES\""; -_dialetra = "VIERNES"; - }else if(_dia==7) { - //BA.debugLineNum = 689;BA.debugLine="Dim dialetra As String = \"SABADO\""; -_dialetra = "SABADO"; - }; - //BA.debugLineNum = 691;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 692;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 693;BA.debugLine="cmd.Name = \"insert_clientesnuevos_ADM2\""; -_cmd.Name /*String*/ = "insert_clientesnuevos_ADM2"; - //BA.debugLineNum = 694;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("CN_ID")),(Object)(_c.GetString("CN_FECHA")),(Object)(_c.GetString("CN_USER")),(Object)(_c.GetString("CN_LAT")),(Object)(_c.GetString("CN_LON")),(Object)(_c.GetString("CN_NOMBRE")),(Object)(_c.GetString("CN_DIRECCION")),(Object)(_almacen),(Object)(_c.GetString("CN_RUTA")),(Object)("En espera"),(Object)(_c.GetString("CN_GIRO")),(Object)(_dialetra),(Object)(_c.GetString("CN_SOLICITA"))}; - //BA.debugLineNum = 695;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_clientes"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_clientesn")); - } -}; - }; - //BA.debugLineNum = 698;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 714;BA.debugLine="Dim PCNoArts As String"; -_pcnoarts = ""; - //BA.debugLineNum = 715;BA.debugLine="Dim PCMonto As String"; -_pcmonto = ""; - //BA.debugLineNum = 716;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PC_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> '1' "))); - //BA.debugLineNum = 717;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDOSC FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 1 "))); - //BA.debugLineNum = 718;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 719;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step120 = 1; -final int limit120 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit120 ;_i = _i + step120 ) { - //BA.debugLineNum = 720;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 721;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 722;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 723;BA.debugLine="cmd.Name = \"insert_pedidos_ADM\""; -_cmd.Name /*String*/ = "insert_pedidos_ADM"; - //BA.debugLineNum = 724;BA.debugLine="PCNoArts = c.GetString(\"PC_NOART\")"; -_pcnoarts = _c.GetString("PC_NOART"); - //BA.debugLineNum = 725;BA.debugLine="PCMonto = c.GetString(\"PC_MONTO\")"; -_pcmonto = _c.GetString("PC_MONTO"); - //BA.debugLineNum = 726;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("PC_CLIENTE"))),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))}; - //BA.debugLineNum = 727;BA.debugLine="reqManager.ExecuteCommand(cmd , \"ins_pedidos\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("ins_pedidos")); - //BA.debugLineNum = 728;BA.debugLine="Log(\">>>>>> INSERT PEDIDO_CLIENTE\")"; -__c.LogImpl("349610914",">>>>>> INSERT PEDIDO_CLIENTE",0); - } -}; - }; - //BA.debugLineNum = 731;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 732;BA.debugLine="d.Position = 0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 733;BA.debugLine="cuantos_pedidosc = d.GetString(\"CUANTOS_PEDIDOSC"; -_cuantos_pedidosc = _d.GetString("CUANTOS_PEDIDOSC"); - //BA.debugLineNum = 734;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 737;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT PE_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PE_TIPOPAGO, PE_COMENTARIO, PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO, PE_CANTC, PE_BCAJAS FROM PEDIDO WHERE PE_FOLIO <> 'RECARGA'"))); - //BA.debugLineNum = 738;BA.debugLine="d = B4XPages.MainPage.skmt.ExecQuery(\"SELECT COU"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) as CUANTOS_PEDIDO FROM PEDIDO"))); - //BA.debugLineNum = 739;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 740;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step139 = 1; -final int limit139 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit139 ;_i = _i + step139 ) { - //BA.debugLineNum = 741;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 742;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 743;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 744;BA.debugLine="cmd.Name = \"insert_pedido2_ADM\" 'CON TOTALES I"; -_cmd.Name /*String*/ = "insert_pedido2_ADM"; - //BA.debugLineNum = 745;BA.debugLine="Log(c.GetString(\"PE_CEDIS\")&\", \"&ALMACEN&\", \"&"; -__c.LogImpl("349610931",_c.GetString("PE_CEDIS")+", "+_almacen+", "+_c.GetString("PE_COSTO_TOT")+", "+_c.GetString("PE_COSTOU")+", "+_c.GetString("PE_CANT")+", "+_c.GetString("PE_PRONOMBRE")+", "+_c.GetString("PE_PROID")+", "+_c.GetString("PE_CLIENTE")+", "+_c.GetString("PE_FECHA")+", "+_c.GetString("PE_USUARIO")+", "+_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))+", "+_c.GetString("PE_COSTO_SIN")+", "+_c.GetString("PE_DESC")+", "+_c.GetString("PE_FOLIO")+", "+_almacen,0); - //BA.debugLineNum = 746;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("PE_CLIENTE"))),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO")),(Object)(_c.GetString("PE_CANTC")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("PE_TIPOPAGO")),(Object)(_c.GetString("PE_COMENTARIO"))}; - //BA.debugLineNum = 747;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosP"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+"_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+""))); - } -}; - }; - //BA.debugLineNum = 754;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 755;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 756;BA.debugLine="cuantos_pedido = D.GetString(\"CUANTOS_PEDIDO\")"; -_cuantos_pedido = _d.GetString("CUANTOS_PEDIDO"); - //BA.debugLineNum = 757;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 760;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT NV_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT NV_CLIENTE,NV_FECHA,NV_USER,NV_MOTIVO,NV_COMM,NV_LAT,NV_LON FROM NOVENTA"))); - //BA.debugLineNum = 761;BA.debugLine="D=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUN"; -_d = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS_NOVENTA FROM NOVENTA"))); - //BA.debugLineNum = 762;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 763;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step156 = 1; -final int limit156 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit156 ;_i = _i + step156 ) { - //BA.debugLineNum = 764;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 765;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 766;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 767;BA.debugLine="cmd.Name = \"insert_noventa_ADM\""; -_cmd.Name /*String*/ = "insert_noventa_ADM"; - //BA.debugLineNum = 768;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("NV_CLIENTE")),(Object)(_c.GetString("NV_FECHA")),(Object)(_c.GetString("NV_USER")),(Object)(_c.GetString("NV_MOTIVO")),(Object)(_c.GetString("NV_COMM")),(Object)(_c.GetString("NV_LAT")),(Object)(_c.GetString("NV_LON")),(Object)(_almacen),(Object)(_subs._traeruta2 /*String*/ (ba,_c.GetString("NV_CLIENTE")))}; - //BA.debugLineNum = 769;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - } -}; - }; - //BA.debugLineNum = 772;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 773;BA.debugLine="d.Position=0"; -_d.setPosition((int) (0)); - //BA.debugLineNum = 774;BA.debugLine="cuantos_noventa = D.GetString(\"CUANTOS_NOVENTA\")"; -_cuantos_noventa = _d.GetString("CUANTOS_NOVENTA"); - //BA.debugLineNum = 775;BA.debugLine="d.Close"; -_d.Close(); - //BA.debugLineNum = 778;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"SELECT * FRO"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM FOTOINICIAL"))); - //BA.debugLineNum = 779;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 780;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step171 = 1; -final int limit171 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit171 ;_i = _i + step171 ) { - //BA.debugLineNum = 781;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 782;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 783;BA.debugLine="foto1 = c.GetBlob(\"FOTO\")"; -_foto1 = _c.GetBlob("FOTO"); - //BA.debugLineNum = 784;BA.debugLine="foto2 = c.GetBlob(\"FOTO2\")"; -_foto2 = _c.GetBlob("FOTO2"); - //BA.debugLineNum = 785;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 786;BA.debugLine="cmd.Name = \"insert_foto_ADM\""; -_cmd.Name /*String*/ = "insert_foto_ADM"; - //BA.debugLineNum = 787;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("RUTAA")),(Object)(_c.GetString("USUARIO")),(Object)(_c.GetString("LONGITUD")),(Object)(_c.GetString("ALMACEN")),(Object)(_c.GetString("FECHAHORA")),(Object)(_c.GetString("LATITUD")),(Object)(_foto1),(Object)(_foto2)}; - //BA.debugLineNum = 788;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_FOTO\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_FOTO")); - } -}; - }; - //BA.debugLineNum = 791;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 798;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HGCLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HGCLIENTE, HGDATE, HGLAT, HGLON from HIST_GEOCERCA"))); - //BA.debugLineNum = 799;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 800;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step185 = 1; -final int limit185 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit185 ;_i = _i + step185 ) { - //BA.debugLineNum = 801;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 802;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 803;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 804;BA.debugLine="cmd.Name = \"insert_geocerca_ADM\""; -_cmd.Name /*String*/ = "insert_geocerca_ADM"; - //BA.debugLineNum = 805;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HGCLIENTE")),(Object)(_c.GetString("HGDATE")),(Object)(_c.GetString("HGLAT")),(Object)(_c.GetString("HGLON"))}; - //BA.debugLineNum = 806;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - } -}; - }; - //BA.debugLineNum = 809;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 812;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select HFCLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select HFCLIENTE, HFALIAS,HFRUTA,HFALMACEN from HIST_FACE"))); - //BA.debugLineNum = 813;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 814;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step197 = 1; -final int limit197 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit197 ;_i = _i + step197 ) { - //BA.debugLineNum = 815;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 816;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 817;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 818;BA.debugLine="cmd.Name = \"insert_face_like_ADM\""; -_cmd.Name /*String*/ = "insert_face_like_ADM"; - //BA.debugLineNum = 819;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("HFCLIENTE")),(Object)(_c.GetString("HFALIAS")),(Object)(_c.GetString("HFRUTA")),(Object)(_c.GetString("HFALMACEN"))}; - //BA.debugLineNum = 820;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\""; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - } -}; - }; - //BA.debugLineNum = 823;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 826;BA.debugLine="t1.Initialize(\"T1\", 30000) ' 1000 = 1 second"; -_t1.Initialize(ba,"T1",(long) (30000)); - //BA.debugLineNum = 827;BA.debugLine="t1.Enabled = True"; -_t1.setEnabled(__c.True); - //BA.debugLineNum = 828;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 829;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 830;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 831;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 832;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 833;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 834;BA.debugLine="cmd.Name =\"insert_drop_ADM\""; -_cmd.Name /*String*/ = "insert_drop_ADM"; - //BA.debugLineNum = 835;BA.debugLine="cmd.Parameters = Array As Object(usuario,l_ruta."; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_usuario),(Object)(_l_ruta.getText()),(Object)(_sdate+_stime),(Object)(_l_porvisitar.getText()),(Object)(_l_drop.getText()),(Object)(_l_efectiva.getText()),(Object)(_l_cuantosc.getText()),(Object)(_l_cuantosn.getText()),(Object)(_l_montod.getText()),(Object)("ENVIO"),(Object)(_almacen)}; - //BA.debugLineNum = 836;BA.debugLine="reqManager.ExecuteCommand(cmd , \"inst_noventa\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_noventa")); - //BA.debugLineNum = 837;BA.debugLine="img2.Visible =True"; -_img2.setVisible(__c.True); - //BA.debugLineNum = 838;BA.debugLine="PORCENTAJE = Round(100/ (cuantos_noventa + cuant"; -_porcentaje = BA.NumberToString(__c.Round(100/(double)((double)(Double.parseDouble(_cuantos_noventa))+(double)(Double.parseDouble(_cuantos_pedido))+(double)(Double.parseDouble(_cuantos_pedidosc))+1))); - //BA.debugLineNum = 839;BA.debugLine="If Starter.marcaCel <> \"Sony\" Then ToastMessageS"; -if ((_starter._marcacel /*String*/ ).equals("Sony") == false) { -__c.ToastMessageShow(BA.ObjectToCharSequence("Se Actualizaran los datos, Este proceso podria tardar hasta un minuto, gracias "+_l_ruta.getText()),__c.True);}; - //BA.debugLineNum = 857;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"SELECT * F"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT * FROM PEDIDO_CLIENTE WHERE PC_CLIENTE <> 01"))); - //BA.debugLineNum = 858;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 859;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step223 = 1; -final int limit223 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit223 ;_i = _i + step223 ) { - //BA.debugLineNum = 860;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 861;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 862;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 863;BA.debugLine="cmd.Name = \"select_piezas_ADM\""; -_cmd.Name /*String*/ = "select_piezas_ADM"; - //BA.debugLineNum = 864;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\""; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 865;BA.debugLine="userpiezas = c.GetString(\"PC_CLIENTE\")"; -_userpiezas = _c.GetString("PC_CLIENTE"); - //BA.debugLineNum = 866;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"piezas\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("piezas")); - } -}; - }; - }; - //BA.debugLineNum = 872;BA.debugLine="End Sub"; -return ""; -} -public String _t1_tick() throws Exception{ - //BA.debugLineNum = 2202;BA.debugLine="Sub t1_tick"; - //BA.debugLineNum = 2203;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2204;BA.debugLine="cmd.Name = \"select_cuantos_pedido_ADM\""; -_cmd.Name /*String*/ = "select_cuantos_pedido_ADM"; - //BA.debugLineNum = 2205;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2206;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedido\")"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedido")); - //BA.debugLineNum = 2208;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2209;BA.debugLine="cmd.Name = \"select_cuantos_noventa_ADM\""; -_cmd.Name /*String*/ = "select_cuantos_noventa_ADM"; - //BA.debugLineNum = 2210;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2211;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_noventa\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_noventa")); - //BA.debugLineNum = 2213;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 2214;BA.debugLine="cmd.Name = \"select_cuantos_pedidoc_ADM\""; -_cmd.Name /*String*/ = "select_cuantos_pedidoc_ADM"; - //BA.debugLineNum = 2215;BA.debugLine="cmd.Parameters = Array As Object(ALMACEN,l_ruta.t"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_almacen),(Object)(_l_ruta.getText())}; - //BA.debugLineNum = 2216;BA.debugLine="reqManager.ExecuteQuery(cmd , 0, \"valida_pedidoc\""; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)("valida_pedidoc")); - //BA.debugLineNum = 2218;BA.debugLine="If PB2.Progress = 0 Then"; -if (_pb2.getProgress()==0) { - //BA.debugLineNum = 2219;BA.debugLine="S_CP.Text = \"ENVIAR DATOS (K-1)\""; -_s_cp.setText(BA.ObjectToCharSequence("ENVIAR DATOS (K-1)")); - }; - //BA.debugLineNum = 2221;BA.debugLine="img2.Visible=False"; -_img2.setVisible(__c.False); - //BA.debugLineNum = 2222;BA.debugLine="t1.Enabled = False"; -_t1.setEnabled(__c.False); - //BA.debugLineNum = 2223;BA.debugLine="End Sub"; -return ""; -} -public String _tickets_dia_click() throws Exception{ - //BA.debugLineNum = 2544;BA.debugLine="Sub tickets_dia_Click"; - //BA.debugLineNum = 2545;BA.debugLine="B4XPages.ShowPage(\"TicketsDia\")"; -_b4xpages._showpage /*String*/ (ba,"TicketsDia"); - //BA.debugLineNum = 2546;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -if (BA.fastSubCompare(sub, "GPS_LOCATIONCHANGED")) - return _gps_locationchanged((anywheresoftware.b4a.gps.LocationWrapper) args[0]); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((adm.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_productos.java b/B4A/Objects/src/adm/keymon/com/mx/c_productos.java deleted file mode 100644 index a62e9eb..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_productos.java +++ /dev/null @@ -1,3232 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_productos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_productos"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_productos.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public String _ruta = ""; -public String _q_buscar = ""; -public boolean _forzarbusqueda = false; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_catalogos = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_promos = null; -public String _entro = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _gest = null; -public anywheresoftware.b4a.objects.LabelWrapper _lfila = null; -public String _marca = ""; -public String _tipo = ""; -public String _subtipo = ""; -public anywheresoftware.b4a.objects.EditTextWrapper _busca = null; -public String _ya_entro = ""; -public String _tiene_promos = ""; -public String _res = ""; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s1 = null; -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; -public String _ciclo = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_qr = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_productos = null; -public b4a.example3.customlistview _clv_productos = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _imageview1 = null; -public anywheresoftware.b4a.objects.PanelWrapper _panel3 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _i_prod = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_terminar1 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_continuar = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_totprods = null; -public int _totalprods = 0; -public float _totalcompra = 0f; -public boolean _etcanthasfocus = false; -public anywheresoftware.b4a.objects.collections.Map _prodsmap = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_cargando = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_info = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_buscar = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botonesventa = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_tipo = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_subtipo = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_vistapreviatrans = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_prodspedido = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_rechazar = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_aceptar = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_vistaprevia = null; -public String _folio = ""; -public String _result = ""; -public anywheresoftware.b4a.objects.LabelWrapper _l_cant = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total2 = null; -public String _prodspedidoactual = ""; -public String _montopedidoactual = ""; -public b4a.example3.customlistview _clv_prods_ll = null; -public adm.keymon.com.mx.preoptimizedclv _pclv = null; -public anywheresoftware.b4a.objects.collections.List _listaprods = null; -public anywheresoftware.b4a.objects.collections.Map _pedidomap = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmen = null; -public boolean _reiniciarlistaprods = false; -public anywheresoftware.b4a.objects.collections.List _listatiempos = null; -public String _clienteid = ""; -public String _rutausuario = ""; -public boolean _haypedido = false; -public anywheresoftware.b4a.objects.collections.List _listahints = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _r = null; -public anywheresoftware.b4a.objects.collections.List _vamoaver = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _j3 = null; -public int _invtotal = 0; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcantc = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenosc = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmasc = null; -public int _totalcajasmaspiezas = 0; -public int _cajas = 0; -public int _piezas = 0; -public anywheresoftware.b4a.objects.PanelWrapper _p_botmasmenc = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _b_aceptar_click() throws Exception{ - //BA.debugLineNum = 993;BA.debugLine="Private Sub b_aceptar_Click"; - //BA.debugLineNum = 994;BA.debugLine="p_vistaPreviaTrans.Visible=False"; -_p_vistapreviatrans.setVisible(__c.False); - //BA.debugLineNum = 995;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 996;BA.debugLine="End Sub"; -return ""; -} -public String _b_continuar_click() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 880;BA.debugLine="Private Sub b_continuar_Click"; - //BA.debugLineNum = 881;BA.debugLine="Log(\"b_continuar_Click\")"; -__c.LogImpl("354263809","b_continuar_Click",0); - //BA.debugLineNum = 882;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 884;BA.debugLine="Log($\"prodsMap=${prodsMap}\"$)"; -__c.LogImpl("354263812",("prodsMap="+__c.SmartStringFormatter("",(Object)(_prodsmap.getObject()))+""),0); - //BA.debugLineNum = 891;BA.debugLine="Log(\"promos-inv, prods-inv, cat-vis\")"; -__c.LogImpl("354263819","promos-inv, prods-inv, cat-vis",0); - //BA.debugLineNum = 892;BA.debugLine="lv_promos.Visible = False"; -_lv_promos.setVisible(__c.False); - //BA.debugLineNum = 893;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 894;BA.debugLine="lv_subtipo.Visible = False"; -_lv_subtipo.setVisible(__c.False); - //BA.debugLineNum = 895;BA.debugLine="lv_tipo.Visible = False"; -_lv_tipo.setVisible(__c.False); - //BA.debugLineNum = 896;BA.debugLine="lv_catalogos.Visible = True"; -_lv_catalogos.setVisible(__c.True); - //BA.debugLineNum = 897;BA.debugLine="Log(\"Continuar\")"; -__c.LogImpl("354263825","Continuar",0); - //BA.debugLineNum = 898;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 899;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -_prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 900;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -_montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 901;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmas_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -String _precio = ""; -String _inv = ""; -String _existencias = ""; -String _id = ""; -String _nombrex = ""; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas = 0; - //BA.debugLineNum = 607;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 608;BA.debugLine="totalcajasmaspiezas = 0"; -_totalcajasmaspiezas = (int) (0); - //BA.debugLineNum = 609;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 610;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 613;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 614;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 615;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 616;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 617;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 618;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 619;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 620;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 623;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 624;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 625;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; -_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 626;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; -__c.LogImpl("353936147",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); - //BA.debugLineNum = 627;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 628;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 645;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("353936166",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 647;BA.debugLine="If Subs.traeinventario(id) > 0 And (laCant.Text <"; -if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && ((double)(Double.parseDouble(_lacant.getText()))<=((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { - //BA.debugLineNum = 649;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace"; -((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-1))); - //BA.debugLineNum = 650;BA.debugLine="inv = inv - 1"; -_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-1); - //BA.debugLineNum = 652;BA.debugLine="laCant.Text = NumberFormat2((laCant.Text + 1), 1"; -_lacant.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); - }; - //BA.debugLineNum = 655;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 658;BA.debugLine="If laCant.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 659;BA.debugLine="panelcajas.Visible = False"; -_panelcajas.setVisible(__c.False); - }else if((_lacant.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 661;BA.debugLine="panelcajas.Visible = True"; -_panelcajas.setVisible(__c.True); - }; - //BA.debugLineNum = 664;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("353936185",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 670;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - //BA.debugLineNum = 671;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 673;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 674;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 675;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 676;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 677;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 678;BA.debugLine="If o.RowCount > 0 Then"; -if (_o.getRowCount()>0) { - //BA.debugLineNum = 679;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 680;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; -_invactualizado = _o.GetString("CAT_GP_ALMACEN"); - }; - //BA.debugLineNum = 682;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 683;BA.debugLine="Private maxcajas As Int = 0"; -_maxcajas = (int) (0); - //BA.debugLineNum = 684;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("353936205","cajas a 0",0); - }else { - //BA.debugLineNum = 686;BA.debugLine="Private maxcajas As Int = invActualizado/clv_pr"; -_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 687;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("353936208","cajas no a 0",0); - }; - //BA.debugLineNum = 689;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; -if (2==2) { -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));}; - }; - //BA.debugLineNum = 692;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 694;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmasc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -String _precio = ""; -String _inv = ""; -String _existencias = ""; -String _conversion = ""; -String _preciocaja = ""; -String _id = ""; -String _nombrex = ""; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas2 = 0; - //BA.debugLineNum = 1410;BA.debugLine="Sub b_prodMasc_Click"; - //BA.debugLineNum = 1411;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 1412;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 1415;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1416;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1417;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 1418;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1419;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 1420;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 1421;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 1422;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 1424;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 1425;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(index"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 1426;BA.debugLine="Private existencias As String = clv_prods_ll.GetV"; -_existencias = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 1427;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; -_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))); - //BA.debugLineNum = 1428;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; -_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja"))); - //BA.debugLineNum = 1429;BA.debugLine="Log(conversion)"; -__c.LogImpl("355377939",_conversion,0); - //BA.debugLineNum = 1430;BA.debugLine="Log($\"Existencias: ${existencias}\"$)"; -__c.LogImpl("355377940",("Existencias: "+__c.SmartStringFormatter("",(Object)(_existencias))+""),0); - //BA.debugLineNum = 1431;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; -if ((_lacant2.getText()).equals("")) { -_lacant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1432;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 1449;BA.debugLine="Log(Subs.traeinventario(id))"; -__c.LogImpl("355377959",_subs._traeinventario /*String*/ (ba,_id),0); - //BA.debugLineNum = 1450;BA.debugLine="Log((laCant2.Text * conversion) + conversion)"; -__c.LogImpl("355377960",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))),0); - //BA.debugLineNum = 1451;BA.debugLine="Log((laCant2.Text *conversion)+ Subs.traeinventar"; -__c.LogImpl("355377961",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))),0); - //BA.debugLineNum = 1452;BA.debugLine="If Subs.traeinventario(id) > 0 And ((laCant2.Text"; -if ((double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))>0 && (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_conversion))<=(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))))) { - //BA.debugLineNum = 1454;BA.debugLine="clv_prods_ll.GetValue(index).As(Map).Put(\"almace"; -((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Put((Object)("almacen"),(Object)(((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))))); - //BA.debugLineNum = 1455;BA.debugLine="inv = inv - conversion"; -_inv = BA.NumberToString((double)(Double.parseDouble(_inv))-(double)(Double.parseDouble(_conversion))); - //BA.debugLineNum = 1457;BA.debugLine="laCant2.Text = NumberFormat2((laCant2.Text + 1),"; -_lacant2.setText(BA.ObjectToCharSequence(__c.NumberFormat2(((double)(Double.parseDouble(_lacant2.getText()))+1),(int) (1),(int) (0),(int) (0),__c.False))); - //BA.debugLineNum = 1459;BA.debugLine="Log(\"cuando entro aqui?\")"; -__c.LogImpl("355377969","cuando entro aqui?",0); - }; - //BA.debugLineNum = 1461;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 1463;BA.debugLine="Log((laCant2.Text * conversion))"; -__c.LogImpl("355377973",BA.NumberToString(((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),0); - //BA.debugLineNum = 1464;BA.debugLine="If laCant2.Text > 0 Then"; -if ((double)(Double.parseDouble(_lacant2.getText()))>0) { - //BA.debugLineNum = 1465;BA.debugLine="panelpiezas.Visible = False"; -_panelpiezas.setVisible(__c.False); - }else if((_lacant2.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1467;BA.debugLine="panelpiezas.Visible = True"; -_panelpiezas.setVisible(__c.True); - }; - //BA.debugLineNum = 1478;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen,precioca"; -_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); - //BA.debugLineNum = 1479;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1481;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 1482;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1483;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 1484;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1485;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 1486;BA.debugLine="If o.RowCount > 0 Then"; -if (_o.getRowCount()>0) { - //BA.debugLineNum = 1487;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 1488;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; -_invactualizado = _o.GetString("CAT_GP_ALMACEN"); - }; - //BA.debugLineNum = 1490;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 1491;BA.debugLine="Private maxcajas2 As Int = 0"; -_maxcajas2 = (int) (0); - //BA.debugLineNum = 1492;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("355378002","cajas a 0",0); - }else { - //BA.debugLineNum = 1494;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_p"; -_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 1495;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("355378005","cajas no a 0",0); - }; - //BA.debugLineNum = 1497;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; -if (2==2) { -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));}; - }; - //BA.debugLineNum = 1500;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 1503;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelbotonesc = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -anywheresoftware.b4a.objects.collections.Map _tmpmap1 = null; -String _precio = ""; -String _id = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; -String _nombrex = ""; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas = 0; - //BA.debugLineNum = 520;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 521;BA.debugLine="totalcajasmaspiezas = 0"; -_totalcajasmaspiezas = (int) (0); - //BA.debugLineNum = 522;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 523;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 525;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 526;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 527;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 528;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 529;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 530;BA.debugLine="Dim panelbotonesc As B4XView = pnl.GetView(3)"; -_panelbotonesc = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelbotonesc = _pnl.GetView((int) (3)); - //BA.debugLineNum = 531;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 532;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 533;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 535;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 537;BA.debugLine="laCant.Text = $\"${NumberFormat2(laCant.Text-1,0,0"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_lacant.getText()))-1,(int) (0),(int) (0),(int) (0),__c.False)))+""))); - //BA.debugLineNum = 538;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 539;BA.debugLine="Private tmpMap1 As Map = clv_prods_ll.GetValue(in"; -_tmpmap1 = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap1 = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))); - //BA.debugLineNum = 540;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 541;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 542;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_subs._traealmacen /*String*/ (ba))}); - //BA.debugLineNum = 543;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 544;BA.debugLine="LogColor(tmpMap1,Colors.Magenta)"; -__c.LogImpl("353870616",BA.ObjectToString(_tmpmap1),__c.Colors.Magenta); - //BA.debugLineNum = 546;BA.debugLine="If laCant.Text = 0 Then prodsMap.Remove(id)"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_prodsmap.Remove((Object)(_id));}; - //BA.debugLineNum = 548;BA.debugLine="If laCant.Text = 0 Then"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 549;BA.debugLine="panelcajas.Visible = True"; -_panelcajas.setVisible(__c.True); - }else if((double)(Double.parseDouble(_lacant.getText()))>0) { - //BA.debugLineNum = 551;BA.debugLine="panelcajas.Visible = False"; -_panelcajas.setVisible(__c.False); - }; - //BA.debugLineNum = 558;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("353870630","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 560;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant.te"; -__c.LogImpl("353870632",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(_clienteid))+""),0); - //BA.debugLineNum = 561;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio,"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - //BA.debugLineNum = 562;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 563;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("353870635","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 564;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("353870636",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); - //BA.debugLineNum = 565;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 566;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 567;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 568;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 569;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 570;BA.debugLine="If o.RowCount > 0 Then"; -if (_o.getRowCount()>0) { - //BA.debugLineNum = 571;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 572;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; -_invactualizado = _o.GetString("CAT_GP_ALMACEN"); - }; - //BA.debugLineNum = 574;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 575;BA.debugLine="Private maxcajas As Int = 0"; -_maxcajas = (int) (0); - //BA.debugLineNum = 576;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("353870648","cajas a 0",0); - }else { - //BA.debugLineNum = 578;BA.debugLine="Private maxcajas As Int = invActualizado/clv_pr"; -_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 579;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("353870651","cajas no a 0",0); - }; - //BA.debugLineNum = 582;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; -if (2==2) { -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject()));}; - }; - //BA.debugLineNum = 585;BA.debugLine="If Subs.totalPedido < 1 Then laCant.Text = \"0\""; -if ((double)(Double.parseDouble(_subs._totalpedido /*String*/ (ba)))<1) { -_lacant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 586;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 588;BA.debugLine="If tmpMap1.Get(\"conversion\") = \"1\" Or tmpMap1.Get"; -if ((_tmpmap1.Get((Object)("conversion"))).equals((Object)("1")) || (_tmpmap1.Get((Object)("precio_caja"))).equals((Object)("0"))) { - //BA.debugLineNum = 589;BA.debugLine="Log(\"invisible\")"; -__c.LogImpl("353870661","invisible",0); - //BA.debugLineNum = 590;BA.debugLine="panelbotonesc.Visible = False"; -_panelbotonesc.setVisible(__c.False); - }; - //BA.debugLineNum = 593;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"alma"; -if ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))) { - //BA.debugLineNum = 594;BA.debugLine="Log(clv_prods_ll.GetValue(index).As(Map).Get(\"ca"; -__c.LogImpl("353870666",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("cant"))),0); - //BA.debugLineNum = 595;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"can"; -if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("cant")))))==0) { - //BA.debugLineNum = 596;BA.debugLine="Log(\"Aqui debemos ponerlo invisible\")"; -__c.LogImpl("353870668","Aqui debemos ponerlo invisible",0); - //BA.debugLineNum = 597;BA.debugLine="panelcajas.Visible = False"; -_panelcajas.setVisible(__c.False); - }else { - }; - }; - //BA.debugLineNum = 605;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenosc_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; -String _precio = ""; -String _id = ""; -String _nombrex = ""; -String _conversion = ""; -String _preciocaja = ""; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas2 = 0; - //BA.debugLineNum = 1338;BA.debugLine="Sub b_prodMenosc_Click"; - //BA.debugLineNum = 1339;BA.debugLine="totalcajasmaspiezas = 0"; -_totalcajasmaspiezas = (int) (0); - //BA.debugLineNum = 1340;BA.debugLine="etCantHasFocus = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 1341;BA.debugLine="Root.RequestFocus"; -_root.RequestFocus(); - //BA.debugLineNum = 1343;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1344;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1345;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 1346;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1347;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 1348;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 1349;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 1350;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 1352;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; -if ((_lacant2.getText()).equals("")) { -_lacant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1354;BA.debugLine="laCant2.Text = $\"${NumberFormat2(laCant2.Text-1,0"; -_lacant2.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_lacant2.getText()))-1,(int) (0),(int) (0),(int) (0),__c.False)))+""))); - //BA.debugLineNum = 1355;BA.debugLine="If laCant2.Text < 0 Then laCant2.Text = 0"; -if ((double)(Double.parseDouble(_lacant2.getText()))<0) { -_lacant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1356;BA.debugLine="Private tmpMap As Map = clv_prods_ll.GetValue(ind"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = ((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))); - //BA.debugLineNum = 1357;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(in"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 1358;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 1359;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant2.getText()),(Object)("almacen"),(Object)(_subs._traealmacen /*String*/ (ba))}); - //BA.debugLineNum = 1360;BA.debugLine="Private nombreX As String = Subs.traeProdNombre(i"; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 1361;BA.debugLine="Private conversion As String = clv_prods_ll.GetVa"; -_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))); - //BA.debugLineNum = 1362;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetVa"; -_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja"))); - //BA.debugLineNum = 1364;BA.debugLine="Log(tmpMap)"; -__c.LogImpl("355312410",BA.ObjectToString(_tmpmap),0); - //BA.debugLineNum = 1366;BA.debugLine="If laCant2.Text = 0 Then prodsMap.Remove(id)"; -if ((_lacant2.getText()).equals(BA.NumberToString(0))) { -_prodsmap.Remove((Object)(_id));}; - //BA.debugLineNum = 1367;BA.debugLine="If laCant2.Text = 0 Then"; -if ((_lacant2.getText()).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1368;BA.debugLine="panelpiezas.Visible = True"; -_panelpiezas.setVisible(__c.True); - }else if((double)(Double.parseDouble(_lacant2.getText()))>0 || (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))))) { - //BA.debugLineNum = 1370;BA.debugLine="panelpiezas.Visible = False"; -_panelpiezas.setVisible(__c.False); - }; - //BA.debugLineNum = 1377;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("355312423","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 1379;BA.debugLine="Log($\"${Subs.traeAlmacen}, ${precio}, ${laCant2.t"; -__c.LogImpl("355312425",(""+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+", "+__c.SmartStringFormatter("",(Object)(_precio))+", "+__c.SmartStringFormatter("",(Object)(_lacant2.getText()))+", "+__c.SmartStringFormatter("",(Object)(_subs._traeprodnombre /*String*/ (ba,_id)))+", "+__c.SmartStringFormatter("",(Object)(_id))+", "+__c.SmartStringFormatter("",(Object)(_clienteid))+""),0); - //BA.debugLineNum = 1381;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, precio"; -_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); - //BA.debugLineNum = 1382;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1383;BA.debugLine="LogColor(\"prodsMap=\"&prodsMap, Colors.blue)"; -__c.LogImpl("355312429","prodsMap="+BA.ObjectToString(_prodsmap),__c.Colors.Blue); - //BA.debugLineNum = 1384;BA.debugLine="Log($\"Total Prods: ${totalProds}, Total Compra: $"; -__c.LogImpl("355312430",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total Compra: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0); - //BA.debugLineNum = 1385;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 1386;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1387;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 1388;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\"s"; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1389;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 1390;BA.debugLine="If o.RowCount > 0 Then"; -if (_o.getRowCount()>0) { - //BA.debugLineNum = 1391;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 1392;BA.debugLine="invActualizado = o.GetString(\"CAT_GP_ALMACEN\")"; -_invactualizado = _o.GetString("CAT_GP_ALMACEN"); - }; - //BA.debugLineNum = 1394;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pre"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 1395;BA.debugLine="Private maxcajas2 As Int = 0"; -_maxcajas2 = (int) (0); - //BA.debugLineNum = 1396;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("355312442","cajas a 0",0); - }else { - //BA.debugLineNum = 1398;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_p"; -_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 1399;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("355312445","cajas no a 0",0); - }; - //BA.debugLineNum = 1401;BA.debugLine="If 2 = 2 Then lProdX.Text = cs.Color(Colors.red)"; -if (2==2) { -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+_invactualizado)).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject()));}; - }; - //BA.debugLineNum = 1404;BA.debugLine="If Subs.totalPedido < 1 Then laCant2.Text = \"0\""; -if ((double)(Double.parseDouble(_subs._totalpedido /*String*/ (ba)))<1) { -_lacant2.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 1405;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 1408;BA.debugLine="End Sub"; -return ""; -} -public String _b_qr_click() throws Exception{ - //BA.debugLineNum = 476;BA.debugLine="Sub b_QR_Click"; - //BA.debugLineNum = 477;BA.debugLine="If ciclo = 1 Then"; -if ((_ciclo).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 478;BA.debugLine="ciclo = 2"; -_ciclo = BA.NumberToString(2); - //BA.debugLineNum = 479;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 480;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(2))) { - //BA.debugLineNum = 482;BA.debugLine="ciclo = 3"; -_ciclo = BA.NumberToString(3); - //BA.debugLineNum = 483;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 484;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(3))) { - //BA.debugLineNum = 486;BA.debugLine="ciclo = 4"; -_ciclo = BA.NumberToString(4); - //BA.debugLineNum = 487;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 488;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(4))) { - //BA.debugLineNum = 490;BA.debugLine="ciclo = 5"; -_ciclo = BA.NumberToString(5); - //BA.debugLineNum = 491;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 492;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }else if((_ciclo).equals(BA.NumberToString(5))) { - //BA.debugLineNum = 494;BA.debugLine="ciclo = 1"; -_ciclo = BA.NumberToString(1); - //BA.debugLineNum = 495;BA.debugLine="ya_entro = \"0\""; -_ya_entro = "0"; - //BA.debugLineNum = 496;BA.debugLine="B4XPage_Appear"; -_b4xpage_appear(); - }; - //BA.debugLineNum = 498;BA.debugLine="End Sub"; -return ""; -} -public String _b_rechazar_click() throws Exception{ - //BA.debugLineNum = 970;BA.debugLine="Private Sub b_rechazar_Click"; - //BA.debugLineNum = 972;BA.debugLine="result = Msgbox2($\"Seguro que desea borrar el p"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence(("Seguro que desea borrar el pedido completo?"+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Haciendo clic largo sobre un producto se pueden borrar articulos independientes.")),BA.ObjectToCharSequence("Rechazar Pedido"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 973;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 974;BA.debugLine="Subs.borraPedidoClienteActual"; -_subs._borrapedidoclienteactual /*String*/ (ba); - //BA.debugLineNum = 975;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 976;BA.debugLine="B4XPages.MainPage.promos.promosMap.Initialize"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._promos /*adm.keymon.com.mx.c_promos*/ ._promosmap /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 979;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 980;BA.debugLine="Log(\"Positivo\")"; -__c.LogImpl("354722570","Positivo",0); - //BA.debugLineNum = 981;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }else { - //BA.debugLineNum = 983;BA.debugLine="Log(\"NO Positivo\")"; -__c.LogImpl("354722573","NO Positivo",0); - //BA.debugLineNum = 984;BA.debugLine="p_vistaPreviaTrans.Visible = False"; -_p_vistapreviatrans.setVisible(__c.False); - }; - //BA.debugLineNum = 989;BA.debugLine="p_vistaPreviaTrans.Visible=False"; -_p_vistapreviatrans.setVisible(__c.False); - //BA.debugLineNum = 990;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 991;BA.debugLine="End Sub"; -return ""; -} -public String _b_terminar1_click() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prods = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _textcolor = 0; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 815;BA.debugLine="Sub b_terminar1_Click"; - //BA.debugLineNum = 818;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from PEDIDO WHERE PE_PRONOMBRE = ? ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("N/A")})); - //BA.debugLineNum = 820;BA.debugLine="lv_promos.Visible = False"; -_lv_promos.setVisible(__c.False); - //BA.debugLineNum = 821;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 822;BA.debugLine="lv_catalogos.Visible = True"; -_lv_catalogos.setVisible(__c.True); - //BA.debugLineNum = 823;BA.debugLine="lv_prodsPedido.Clear"; -_lv_prodspedido.Clear(); - //BA.debugLineNum = 824;BA.debugLine="lv_prodsPedido.TwoLinesLayout.Label.Height = 35di"; -_lv_prodspedido.getTwoLinesLayout().Label.setHeight(__c.DipToCurrent((int) (35))); - //BA.debugLineNum = 825;BA.debugLine="lv_prodsPedido.TwoLinesLayout.SecondLabel.Height"; -_lv_prodspedido.getTwoLinesLayout().SecondLabel.setHeight(__c.DipToCurrent((int) (25))); - //BA.debugLineNum = 826;BA.debugLine="Private c_prods As Cursor=B4XPages.MainPage.skmt."; -_c_prods = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c_prods = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PRONOMBRE,PE_COSTO_TOT, PE_CANT, PE_FOLIO, PE_CEDIS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_CEDIS, PE_PRONOMBRE"))); - //BA.debugLineNum = 827;BA.debugLine="If c_prods.RowCount > 0 Then"; -if (_c_prods.getRowCount()>0) { - //BA.debugLineNum = 828;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 830;BA.debugLine="vamoaver.Initialize"; -_vamoaver.Initialize(); - //BA.debugLineNum = 831;BA.debugLine="For i=0 To c_prods.RowCount -1"; -{ -final int step12 = 1; -final int limit12 = (int) (_c_prods.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit12 ;_i = _i + step12 ) { - //BA.debugLineNum = 832;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 833;BA.debugLine="c_prods.Position=i"; -_c_prods.setPosition(_i); - //BA.debugLineNum = 834;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 835;BA.debugLine="label1 = lv_prodsPedido.TwoLinesLayout.Label"; -_label1 = _lv_prodspedido.getTwoLinesLayout().Label; - //BA.debugLineNum = 836;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 837;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 838;BA.debugLine="label1.color = Colors.White"; -_label1.setColor(__c.Colors.White); - //BA.debugLineNum = 839;BA.debugLine="Private textColor As Int = Colors.black"; -_textcolor = __c.Colors.Black; - //BA.debugLineNum = 841;BA.debugLine="If c_prods.GetString(\"PE_FOLIO\") = \"VENTA\" Then"; -if ((_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 842;BA.debugLine="textColor = Colors.RGB(48,3,195)"; -_textcolor = __c.Colors.RGB((int) (48),(int) (3),(int) (195)); - }else if((_c_prods.GetString("PE_FOLIO")).equals("PREVENTA") || (_c_prods.GetString("PE_FOLIO")).equals("ABORDO") || (_c_prods.GetString("PE_FOLIO")).equals("RECARGA")) { - //BA.debugLineNum = 844;BA.debugLine="textColor = Colors.RGB(166,0,0)"; -_textcolor = __c.Colors.RGB((int) (166),(int) (0),(int) (0)); - }; - //BA.debugLineNum = 846;BA.debugLine="If Not(IsNumber(c_prods.GetString(\"PE_CEDIS\")))"; -if (__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("VENTA")) { - //BA.debugLineNum = 847;BA.debugLine="textColor = Colors.RGB(154,131,231) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (154),(int) (131),(int) (231)); - }else if(__c.Not(__c.IsNumber(_c_prods.GetString("PE_CEDIS"))) && (_c_prods.GetString("PE_FOLIO")).equals("PREVENTA")) { - //BA.debugLineNum = 849;BA.debugLine="textColor = Colors.RGB(255,111,111) 'Si es pro"; -_textcolor = __c.Colors.RGB((int) (255),(int) (111),(int) (111)); - }; - //BA.debugLineNum = 851;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 852;BA.debugLine="label2 = lv_prodsPedido.TwoLinesLayout.SecondLa"; -_label2 = _lv_prodspedido.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 853;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 854;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 856;BA.debugLine="lv_prodsPedido.AddTwoLines(cs.Color(textColor)."; -_lv_prodspedido.AddTwoLines(BA.ObjectToCharSequence(_cs.Color(_textcolor).Append(BA.ObjectToCharSequence(_c_prods.GetString("PE_PRONOMBRE"))).Pop().getObject()),BA.ObjectToCharSequence("Cantidad #"+_c_prods.GetString("PE_CANT")+" SubTotal $"+_c_prods.GetString("PE_COSTO_TOT")+" Folio "+_c_prods.GetString("PE_FOLIO"))); - //BA.debugLineNum = 857;BA.debugLine="vamoaver.Add(c_prods.GetString(\"PE_FOLIO\"))"; -_vamoaver.Add((Object)(_c_prods.GetString("PE_FOLIO"))); - //BA.debugLineNum = 858;BA.debugLine="folio = c_prods.GetString(\"PE_FOLIO\")"; -_folio = _c_prods.GetString("PE_FOLIO"); - } -}; - //BA.debugLineNum = 862;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select sum"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 864;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 866;BA.debugLine="l_cant.Text = c.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_c.GetString("PC_NOART"))); - //BA.debugLineNum = 867;BA.debugLine="l_total2.Text = c.GetString(\"PC_MONTO\")"; -_l_total2.setText(BA.ObjectToCharSequence(_c.GetString("PC_MONTO"))); - //BA.debugLineNum = 868;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 871;BA.debugLine="c_prods.Close"; -_c_prods.Close(); - //BA.debugLineNum = 872;BA.debugLine="p_vistaPreviaTrans.Width = Root.Width"; -_p_vistapreviatrans.setWidth(_root.getWidth()); - //BA.debugLineNum = 873;BA.debugLine="p_vistaPreviaTrans.Height = Root.Height"; -_p_vistapreviatrans.setHeight(_root.getHeight()); - //BA.debugLineNum = 874;BA.debugLine="Subs.centraPanel(p_vistaPrevia, Root.Width)"; -_subs._centrapanel /*String*/ (ba,_p_vistaprevia,_root.getWidth()); - //BA.debugLineNum = 875;BA.debugLine="If Subs.pedidoGuardado Then b_rechazar.Enabled ="; -if (_subs._pedidoguardado /*boolean*/ (ba)) { -_b_rechazar.setEnabled(__c.False);} -else { -_b_rechazar.setEnabled(__c.True);}; - //BA.debugLineNum = 876;BA.debugLine="p_vistaPrevia.Visible=True"; -_p_vistaprevia.setVisible(__c.True); - //BA.debugLineNum = 877;BA.debugLine="p_vistaPreviaTrans.Visible=True"; -_p_vistapreviatrans.setVisible(__c.True); - //BA.debugLineNum = 878;BA.debugLine="End Sub"; -return ""; -} -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(adm.keymon.com.mx.c_productos parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_productos parent; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -boolean _haypromos = false; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _tm = null; -anywheresoftware.b4a.objects.collections.Map _m = null; -int step50; -int limit50; - -@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 = 140;BA.debugLine="If B4XPages.MainPage.tipo_venta = \"PREVENTA\" Or B"; -if (true) break; - -case 1: -//if -this.state = 6; -if ((parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("PREVENTA") || (parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("ABORDO") || (parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("RECARGA")) { -this.state = 3; -}else if((parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ).equals("VENTA")) { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 141;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; -parent._starter._tabla /*String*/ = "CAT_GUNAPROD"; - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 143;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; -parent._starter._tabla /*String*/ = "CAT_GUNAPROD2"; - if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 145;BA.debugLine="clienteId = Subs.traeCliente"; -parent._clienteid = parent._subs._traecliente /*String*/ (ba); - //BA.debugLineNum = 146;BA.debugLine="rutaUsuario = Subs.traeRuta"; -parent._rutausuario = parent._subs._traeruta /*String*/ (ba); - //BA.debugLineNum = 147;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PRIORITARIO"),(Object)("1")})); - //BA.debugLineNum = 148;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("ESTRATEGICO"),(Object)("2")})); - //BA.debugLineNum = 149;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("COMPLEMENTARIO"),(Object)("3")})); - //BA.debugLineNum = 150;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_TIPOPROD = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("CATALOGO REGULAR"),(Object)("0")})); - //BA.debugLineNum = 151;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE CAT_"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE CAT_GUNAPROD SET CAT_GP_TIPOPROD = (?) WHERE CAT_GP_CLASIF = (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("PROMOS"),(Object)("PROMOS")})); - //BA.debugLineNum = 152;BA.debugLine="clv_prods_ll.GetBase.SetLayoutAnimated(0, 5dip, 1"; -parent._clv_prods_ll._getbase().SetLayoutAnimated((int) (0),parent.__c.DipToCurrent((int) (5)),parent.__c.DipToCurrent((int) (130)),(int) (parent._root.getWidth()+10),(int) (parent._root.getHeight()*0.74)); - //BA.debugLineNum = 153;BA.debugLine="clv_prods_ll.Base_Resize(clv_prods_ll.GetBase.Wid"; -parent._clv_prods_ll._base_resize(parent._clv_prods_ll._getbase().getWidth(),parent._clv_prods_ll._getbase().getHeight()); - //BA.debugLineNum = 154;BA.debugLine="If B4XPages.MainPage.bTerminarClicked Then"; -if (true) break; - -case 7: -//if -this.state = 10; -if (parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ ) { -this.state = 9; -}if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 155;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 156;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 157;BA.debugLine="lv_tipo.Visible = False"; -parent._lv_tipo.setVisible(parent.__c.False); - //BA.debugLineNum = 158;BA.debugLine="lv_subtipo.Visible = False"; -parent._lv_subtipo.setVisible(parent.__c.False); - //BA.debugLineNum = 159;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 160;BA.debugLine="B4XPages.MainPage.bTerminarClicked = False"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = parent.__c.False; - if (true) break; -; - //BA.debugLineNum = 162;BA.debugLine="If ya_entro <> \"1\" Then"; - -case 10: -//if -this.state = 19; -if ((parent._ya_entro).equals("1") == false) { -this.state = 12; -}if (true) break; - -case 12: -//C -this.state = 13; - //BA.debugLineNum = 163;BA.debugLine="If BUSCA.Text <> \"\" Then BUSCA.Text =\"\""; -if (true) break; - -case 13: -//if -this.state = 18; -if ((parent._busca.getText()).equals("") == false) { -this.state = 15; -;}if (true) break; - -case 15: -//C -this.state = 18; -parent._busca.setText(BA.ObjectToCharSequence("")); -if (true) break; - -case 18: -//C -this.state = 19; -; - //BA.debugLineNum = 164;BA.debugLine="entro =\"3\""; -parent._entro = "3"; - //BA.debugLineNum = 165;BA.debugLine="lv_catalogos.Clear"; -parent._lv_catalogos.Clear(); - //BA.debugLineNum = 166;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); -this.state = 54; -return; -case 54: -//C -this.state = 19; -; - //BA.debugLineNum = 167;BA.debugLine="lfila.Text = \"CATALOGOS\""; -parent._lfila.setText(BA.ObjectToCharSequence("CATALOGOS")); - //BA.debugLineNum = 168;BA.debugLine="p_productos.Height = Root.Height"; -parent._p_productos.setHeight(parent._root.getHeight()); - //BA.debugLineNum = 169;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 170;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 171;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 172;BA.debugLine="p_botonesVenta.Top = clv_prods_ll.AsView.top + c"; -parent._p_botonesventa.setTop((int) (parent._clv_prods_ll._asview().getTop()+parent._clv_prods_ll._asview().getHeight()-10)); - //BA.debugLineNum = 173;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - if (true) break; - -case 19: -//C -this.state = 20; -; - //BA.debugLineNum = 175;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 176;BA.debugLine="label1 = lv_catalogos.SingleLineLayout.Label"; -_label1 = parent._lv_catalogos.getSingleLineLayout().Label; - //BA.debugLineNum = 177;BA.debugLine="label1.TextSize = 17"; -_label1.setTextSize((float) (17)); - //BA.debugLineNum = 178;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 179;BA.debugLine="lv_catalogos.Clear"; -parent._lv_catalogos.Clear(); - //BA.debugLineNum = 180;BA.debugLine="lv_catalogos.AddSingleLine(\"CATALOGO\")"; -parent._lv_catalogos.AddSingleLine(BA.ObjectToCharSequence("CATALOGO")); - //BA.debugLineNum = 182;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"select cou"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(*) as hayPromos from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_TIPO = 'PROMOS'")))); - //BA.debugLineNum = 183;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 186;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery($\"SELECT CUE"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT CUENTA FROM CUENTAA")))); - //BA.debugLineNum = 187;BA.debugLine="c.Position = 0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 188;BA.debugLine="If c.GetString(\"CUENTA\") <> \"0\" And c.GetString(\""; -if (true) break; - -case 20: -//if -this.state = 42; -if ((parent._c.GetString("CUENTA")).equals("0") == false && (parent._c.GetString("CUENTA")).equals("1") == false) { -this.state = 22; -}if (true) break; - -case 22: -//C -this.state = 23; - //BA.debugLineNum = 189;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"),new String[]{"PROMOS","PROMOS"}))); - //BA.debugLineNum = 191;BA.debugLine="Private hayPromos As Boolean = False"; -_haypromos = parent.__c.False; - //BA.debugLineNum = 192;BA.debugLine="If c2.RowCount > 0 Then"; -if (true) break; - -case 23: -//if -this.state = 41; -if (parent._c2.getRowCount()>0) { -this.state = 25; -}else { -this.state = 40; -}if (true) break; - -case 25: -//C -this.state = 26; - //BA.debugLineNum = 193;BA.debugLine="For i=0 To c2.RowCount -1"; -if (true) break; - -case 26: -//for -this.state = 33; -step50 = 1; -limit50 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 55; -if (true) break; - -case 55: -//C -this.state = 33; -if ((step50 > 0 && _i <= limit50) || (step50 < 0 && _i >= limit50)) this.state = 28; -if (true) break; - -case 56: -//C -this.state = 55; -_i = ((int)(0 + _i + step50)) ; -if (true) break; - -case 28: -//C -this.state = 29; - //BA.debugLineNum = 194;BA.debugLine="c2.Position=i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 195;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; -_tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid); - //BA.debugLineNum = 196;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; -if (true) break; - -case 29: -//if -this.state = 32; -if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { -this.state = 31; -}if (true) break; - -case 31: -//C -this.state = 32; - //BA.debugLineNum = 197;BA.debugLine="hayPromos = True"; -_haypromos = parent.__c.True; - if (true) break; - -case 32: -//C -this.state = 56; -; - if (true) break; -if (true) break; -; - //BA.debugLineNum = 200;BA.debugLine="If hayPromos Then lv_catalogos.AddSingleLine(\"P"; - -case 33: -//if -this.state = 38; -if (_haypromos) { -this.state = 35; -;}if (true) break; - -case 35: -//C -this.state = 38; -parent._lv_catalogos.AddSingleLine(BA.ObjectToCharSequence("PROMOS")); -if (true) break; - -case 38: -//C -this.state = 41; -; - if (true) break; - -case 40: -//C -this.state = 41; - //BA.debugLineNum = 202;BA.debugLine="Log(\"NO HAY PROMOS\")"; -parent.__c.LogImpl("353280831","NO HAY PROMOS",0); - if (true) break; - -case 41: -//C -this.state = 42; -; - //BA.debugLineNum = 204;BA.debugLine="c2.Close"; -parent._c2.Close(); - if (true) break; - -case 42: -//C -this.state = 43; -; - //BA.debugLineNum = 207;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); -this.state = 57; -return; -case 57: -//C -this.state = 43; -; - //BA.debugLineNum = 208;BA.debugLine="l_total.Visible = False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 209;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 210;BA.debugLine="l_total.Left = 5dip"; -parent._l_total.setLeft(parent.__c.DipToCurrent((int) (5))); - //BA.debugLineNum = 211;BA.debugLine="l_totProds.Width = Root.Width * 0.19"; -parent._l_totprods.setWidth((int) (parent._root.getWidth()*0.19)); - //BA.debugLineNum = 212;BA.debugLine="l_total.Left = l_totProds.Width + 20"; -parent._l_total.setLeft((int) (parent._l_totprods.getWidth()+20)); - //BA.debugLineNum = 213;BA.debugLine="l_total.Width = Root.Width * 0.25"; -parent._l_total.setWidth((int) (parent._root.getWidth()*0.25)); - //BA.debugLineNum = 215;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = parent._subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 216;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -parent._prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 217;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -parent._montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 218;BA.debugLine="hayPedido = Subs.hayPedido"; -parent._haypedido = parent._subs._haypedido /*boolean*/ (ba); - //BA.debugLineNum = 220;BA.debugLine="B4XPages.MainPage.productos.clv_prods_ll.Clear"; -parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._clv_prods_ll /*b4a.example3.customlistview*/ ._clear(); - //BA.debugLineNum = 221;BA.debugLine="If reiniciarlistaProds Then"; -if (true) break; - -case 43: -//if -this.state = 48; -if (parent._reiniciarlistaprods) { -this.state = 45; -}else if(parent._haypedido) { -this.state = 47; -}if (true) break; - -case 45: -//C -this.state = 48; - //BA.debugLineNum = 224;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); - if (true) break; - -case 47: -//C -this.state = 48; - //BA.debugLineNum = 229;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); - if (true) break; -; - //BA.debugLineNum = 231;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; - -case 48: -//if -this.state = 53; -if (parent._clv_prods_ll._getsize()==0) { -this.state = 50; -;}if (true) break; - -case 50: -//C -this.state = 53; -parent._llenaprodsll((anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent.__c.Null))); -if (true) break; - -case 53: -//C -this.state = -1; -; - //BA.debugLineNum = 232;BA.debugLine="clv_prods_ll.JumpToItem(0) 'Vamos al primer artíc"; -parent._clv_prods_ll._jumptoitem((int) (0)); - //BA.debugLineNum = 233;BA.debugLine="PCLV.lblHint.SetTextSizeAnimated(0,13)"; -parent._pclv._lblhint /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetTextSizeAnimated((int) (0),(float) (13)); - //BA.debugLineNum = 234;BA.debugLine="PCLV.B4XSeekBar1.Color1=Colors.DarkGray"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._color1 /*int*/ = parent.__c.Colors.DarkGray; - //BA.debugLineNum = 235;BA.debugLine="PCLV.B4XSeekBar1.Color2=Colors.DarkGray"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._color2 /*int*/ = parent.__c.Colors.DarkGray; - //BA.debugLineNum = 236;BA.debugLine="PCLV.B4XSeekBar1.ThumbColor=Colors.red"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._thumbcolor /*int*/ = parent.__c.Colors.Red; - //BA.debugLineNum = 237;BA.debugLine="PCLV.B4XSeekBar1.mBase.Left=Root.Width *0.91"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setLeft((int) (parent._root.getWidth()*0.91)); - //BA.debugLineNum = 239;BA.debugLine="PCLV.B4XSeekBar1.mBase.Height=clv_prods_ll.AsView"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(parent._clv_prods_ll._asview().getHeight()); - //BA.debugLineNum = 240;BA.debugLine="PCLV.pnlOverlay.Height = clv_prods_ll.AsView.Heig"; -parent._pclv._pnloverlay /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setHeight(parent._clv_prods_ll._asview().getHeight()); - //BA.debugLineNum = 241;BA.debugLine="PCLV.B4XSeekBar1.Update"; -parent._pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (); - //BA.debugLineNum = 245;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _b4xpage_closerequest() throws Exception{ -ResumableSub_B4XPage_CloseRequest rsub = new ResumableSub_B4XPage_CloseRequest(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_B4XPage_CloseRequest extends BA.ResumableSub { -public ResumableSub_B4XPage_CloseRequest(adm.keymon.com.mx.c_productos parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_productos parent; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 429;BA.debugLine="If l_info.Visible Then"; -if (true) break; - -case 1: -//if -this.state = 16; -if (parent._l_info.getVisible()) { -this.state = 3; -}else if(parent._p_vistapreviatrans.getVisible()) { -this.state = 5; -}else if(parent._lv_promos.getVisible()) { -this.state = 7; -}else if(parent._clv_prods_ll._asview().getVisible()) { -this.state = 9; -}else if((parent._entro).equals("4")) { -this.state = 11; -}else if((parent._entro).equals("3")) { -this.state = 13; -}else { -this.state = 15; -}if (true) break; - -case 3: -//C -this.state = 16; - //BA.debugLineNum = 430;BA.debugLine="l_info.Visible = False"; -parent._l_info.setVisible(parent.__c.False); - //BA.debugLineNum = 431;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 5: -//C -this.state = 16; - //BA.debugLineNum = 433;BA.debugLine="p_vistaPreviaTrans.Visible = False"; -parent._p_vistapreviatrans.setVisible(parent.__c.False); - //BA.debugLineNum = 434;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 7: -//C -this.state = 16; - //BA.debugLineNum = 436;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 437;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 438;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 439;BA.debugLine="l_total.Visible = False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 440;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 441;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 9: -//C -this.state = 16; - //BA.debugLineNum = 443;BA.debugLine="lfila.text = \"CATALOGO\""; -parent._lfila.setText(BA.ObjectToCharSequence("CATALOGO")); - //BA.debugLineNum = 444;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 445;BA.debugLine="lv_subtipo.Visible = False"; -parent._lv_subtipo.setVisible(parent.__c.False); - //BA.debugLineNum = 446;BA.debugLine="p_botonesVenta.Visible = False"; -parent._p_botonesventa.setVisible(parent.__c.False); - //BA.debugLineNum = 447;BA.debugLine="l_total.Visible = False"; -parent._l_total.setVisible(parent.__c.False); - //BA.debugLineNum = 448;BA.debugLine="l_totProds.Visible = False"; -parent._l_totprods.setVisible(parent.__c.False); - //BA.debugLineNum = 449;BA.debugLine="lv_catalogos.Visible = True"; -parent._lv_catalogos.setVisible(parent.__c.True); - //BA.debugLineNum = 450;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 11: -//C -this.state = 16; - //BA.debugLineNum = 462;BA.debugLine="entro = \"3\""; -parent._entro = "3"; - //BA.debugLineNum = 463;BA.debugLine="B4XPage_Appear"; -parent._b4xpage_appear(); - //BA.debugLineNum = 464;BA.debugLine="Return True"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - if (true) break; - -case 13: -//C -this.state = 16; - //BA.debugLineNum = 466;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 467;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 469;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - //BA.debugLineNum = 470;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - if (true) break; - -case 16: -//C -this.state = -1; -; - //BA.debugLineNum = 472;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -int _i = 0; - //BA.debugLineNum = 98;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 99;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 102;BA.debugLine="Root.LoadLayout(\"productos\")"; -_root.LoadLayout("productos",ba); - //BA.debugLineNum = 103;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 104;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 105;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 107;BA.debugLine="PCLV.Initialize(Me, \"PCLV\", clv_prods_ll)"; -_pclv._initialize /*String*/ (ba,this,"PCLV",_clv_prods_ll); - //BA.debugLineNum = 108;BA.debugLine="ciclo = 1"; -_ciclo = BA.NumberToString(1); - //BA.debugLineNum = 109;BA.debugLine="l_info.Width = Root.Width * 0.8"; -_l_info.setWidth((int) (_root.getWidth()*0.8)); - //BA.debugLineNum = 110;BA.debugLine="l_info.Left = (Root.Width/2) - (l_info.Width/2)"; -_l_info.setLeft((int) ((_root.getWidth()/(double)2)-(_l_info.getWidth()/(double)2))); - //BA.debugLineNum = 111;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select dist"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select distinct CAT_GP_TIPO from cat_gunaprod where CAT_GP_TIPO <> 'PROMOS' order by CAT_GP_TIPO"))); - //BA.debugLineNum = 112;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 113;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 114;BA.debugLine="label1 = lv_tipo.SingleLineLayout.Label"; -_label1 = _lv_tipo.getSingleLineLayout().Label; - //BA.debugLineNum = 115;BA.debugLine="label1.TextSize = 17"; -_label1.setTextSize((float) (17)); - //BA.debugLineNum = 116;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 117;BA.debugLine="lv_tipo.Clear"; -_lv_tipo.Clear(); - //BA.debugLineNum = 118;BA.debugLine="For i=0 To c.RowCount-1"; -{ -final int step18 = 1; -final int limit18 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit18 ;_i = _i + step18 ) { - //BA.debugLineNum = 119;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 120;BA.debugLine="Log(\"ENTRE AQUI EN PROMOS create\")"; -__c.LogImpl("353215254","ENTRE AQUI EN PROMOS create",0); - //BA.debugLineNum = 121;BA.debugLine="lv_tipo.AddSingleLine(c.GetString(\"CAT_GP_TIPO\""; -_lv_tipo.AddSingleLine(BA.ObjectToCharSequence(_c.GetString("CAT_GP_TIPO"))); - } -}; - }; - //BA.debugLineNum = 124;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 127;BA.debugLine="listaTiempos.Initialize"; -_listatiempos.Initialize(); - //BA.debugLineNum = 128;BA.debugLine="listaProds.Initialize"; -_listaprods.Initialize(); - //BA.debugLineNum = 129;BA.debugLine="pedidoMap.Initialize"; -_pedidomap.Initialize(); - //BA.debugLineNum = 130;BA.debugLine="listaHints.Initialize"; -_listahints.Initialize(); - //BA.debugLineNum = 133;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 134;BA.debugLine="prodsMap.Initialize"; -_prodsmap.Initialize(); - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return ""; -} -public void _busca_textchanged(String _old,String _new) throws Exception{ -ResumableSub_Busca_TextChanged rsub = new ResumableSub_Busca_TextChanged(this,_old,_new); -rsub.resume(ba, null); -} -public static class ResumableSub_Busca_TextChanged extends BA.ResumableSub { -public ResumableSub_Busca_TextChanged(adm.keymon.com.mx.c_productos parent,String _old,String _new) { -this.parent = parent; -this._old = _old; -this._new = _new; -} -adm.keymon.com.mx.c_productos parent; -String _old; -String _new; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p = 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 = 1208;BA.debugLine="If Not(clv_prods_ll.AsView.Visible) Then clv_prod"; -if (true) break; - -case 1: -//if -this.state = 6; -if (parent.__c.Not(parent._clv_prods_ll._asview().getVisible())) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -parent._clv_prods_ll._asview().setVisible(parent.__c.True); -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 1209;BA.debugLine="If (New.Length = 1 Or New.Length = 2) And Not(for"; -if (true) break; - -case 7: -//if -this.state = 12; -if ((_new.length()==1 || _new.length()==2) && parent.__c.Not(parent._forzarbusqueda)) { -this.state = 9; -;}if (true) break; - -case 9: -//C -this.state = 12; -if (true) return ; -if (true) break; - -case 12: -//C -this.state = -1; -; - //BA.debugLineNum = 1210;BA.debugLine="forzarBusqueda = False"; -parent._forzarbusqueda = parent.__c.False; - //BA.debugLineNum = 1211;BA.debugLine="clv_prods_ll.Clear"; -parent._clv_prods_ll._clear(); - //BA.debugLineNum = 1212;BA.debugLine="listaProds.Initialize"; -parent._listaprods.Initialize(); - //BA.debugLineNum = 1213;BA.debugLine="listaHints.Initialize"; -parent._listahints.Initialize(); - //BA.debugLineNum = 1214;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 13; -return; -case 13: -//C -this.state = -1; -; - //BA.debugLineNum = 1216;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.ExecQ"; -_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_NOMBRE like '%"+parent.__c.SmartStringFormatter("",(Object)(_new))+"%' AND CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2")))); - //BA.debugLineNum = 1217;BA.debugLine="Log(\"Llamamos LlenaProdsLL\")"; -parent.__c.LogImpl("355115787","Llamamos LlenaProdsLL",0); - //BA.debugLineNum = 1218;BA.debugLine="LlenaProdsLL(p)"; -parent._llenaprodsll(_p); - //BA.debugLineNum = 1237;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 5;BA.debugLine="Dim q_buscar As String"; -_q_buscar = ""; - //BA.debugLineNum = 6;BA.debugLine="Dim forzarBusqueda As Boolean = False"; -_forzarbusqueda = __c.False; - //BA.debugLineNum = 7;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 8;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim C3 As Cursor"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim s As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Dim lv_catalogos As ListView"; -_lv_catalogos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim lv_promos As ListView"; -_lv_promos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim entro As String"; -_entro = ""; - //BA.debugLineNum = 15;BA.debugLine="Dim gest As Button"; -_gest = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim lfila As Label"; -_lfila = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Dim marca As String"; -_marca = ""; - //BA.debugLineNum = 18;BA.debugLine="Dim tipo As String"; -_tipo = ""; - //BA.debugLineNum = 19;BA.debugLine="Dim subtipo As String"; -_subtipo = ""; - //BA.debugLineNum = 20;BA.debugLine="Private BUSCA As EditText"; -_busca = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim ya_entro As String"; -_ya_entro = ""; - //BA.debugLineNum = 22;BA.debugLine="Dim TIENE_PROMOS As String"; -_tiene_promos = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim RES As String"; -_res = ""; - //BA.debugLineNum = 24;BA.debugLine="Dim S1 As Cursor"; -_s1 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 25;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim ciclo As String"; -_ciclo = ""; - //BA.debugLineNum = 27;BA.debugLine="Private b_qr As Button"; -_b_qr = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Private p_productos As Panel"; -_p_productos = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Dim clv_productos As CustomListView"; -_clv_productos = new b4a.example3.customlistview(); - //BA.debugLineNum = 30;BA.debugLine="Private ImageView1 As ImageView"; -_imageview1 = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private Panel3 As Panel"; -_panel3 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private i_prod As ImageView"; -_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private b_prodMas As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_prodMenos As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Dim b_terminar1 As Button"; -_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim b_continuar As Button"; -_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 41;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Private l_totProds As Label"; -_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 44;BA.debugLine="Dim totalCompra As Float = 0"; -_totalcompra = (float) (0); - //BA.debugLineNum = 45;BA.debugLine="Dim etCantHasFocus As Boolean = False"; -_etcanthasfocus = __c.False; - //BA.debugLineNum = 46;BA.debugLine="Dim prodsMap As Map"; -_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 47;BA.debugLine="Private l_Cargando As Label"; -_l_cargando = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 48;BA.debugLine="Private l_info As Label"; -_l_info = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 49;BA.debugLine="Private b_buscar As Button"; -_b_buscar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 50;BA.debugLine="Private p_botonesVenta As Panel"; -_p_botonesventa = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 51;BA.debugLine="Private lv_tipo As ListView"; -_lv_tipo = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 52;BA.debugLine="Private lv_subtipo As ListView"; -_lv_subtipo = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 53;BA.debugLine="Private p_vistaPreviaTrans As Panel"; -_p_vistapreviatrans = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 54;BA.debugLine="Private lv_prodsPedido As ListView"; -_lv_prodspedido = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 55;BA.debugLine="Private b_rechazar As Button"; -_b_rechazar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 56;BA.debugLine="Private b_aceptar As Button"; -_b_aceptar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 57;BA.debugLine="Private p_vistaPrevia As Panel"; -_p_vistaprevia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 58;BA.debugLine="Dim folio As String"; -_folio = ""; - //BA.debugLineNum = 59;BA.debugLine="Dim result As String"; -_result = ""; - //BA.debugLineNum = 60;BA.debugLine="Private l_cant As Label"; -_l_cant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 61;BA.debugLine="Private l_total2 As Label"; -_l_total2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 62;BA.debugLine="Dim prodsPedidoActual As String"; -_prodspedidoactual = ""; - //BA.debugLineNum = 63;BA.debugLine="Dim montoPedidoActual As String"; -_montopedidoactual = ""; - //BA.debugLineNum = 65;BA.debugLine="Dim clv_prods_ll As CustomListView"; -_clv_prods_ll = new b4a.example3.customlistview(); - //BA.debugLineNum = 66;BA.debugLine="Private PCLV As PreoptimizedCLV"; -_pclv = new adm.keymon.com.mx.preoptimizedclv(); - //BA.debugLineNum = 67;BA.debugLine="Dim listaProds As List"; -_listaprods = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 69;BA.debugLine="Dim pedidoMap As Map"; -_pedidomap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 70;BA.debugLine="Private p_botMasMen As Panel"; -_p_botmasmen = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="Dim reiniciarlistaProds As Boolean= False"; -_reiniciarlistaprods = __c.False; - //BA.debugLineNum = 73;BA.debugLine="Dim listaTiempos As List"; -_listatiempos = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 74;BA.debugLine="Dim clienteId As String"; -_clienteid = ""; - //BA.debugLineNum = 75;BA.debugLine="Dim rutaUsuario As String"; -_rutausuario = ""; - //BA.debugLineNum = 76;BA.debugLine="Dim hayPedido As Boolean"; -_haypedido = false; - //BA.debugLineNum = 77;BA.debugLine="Dim listaHints As List"; -_listahints = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 78;BA.debugLine="Dim r As Cursor"; -_r = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 79;BA.debugLine="Dim vamoaver As List"; -_vamoaver = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 80;BA.debugLine="Dim j3 As Cursor"; -_j3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 81;BA.debugLine="Dim invTotal As Int"; -_invtotal = 0; - //BA.debugLineNum = 82;BA.debugLine="Private et_pCantc As EditText"; -_et_pcantc = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 83;BA.debugLine="Private b_prodMenosc As Button"; -_b_prodmenosc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 84;BA.debugLine="Private b_prodMasc As Button"; -_b_prodmasc = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 85;BA.debugLine="Dim totalcajasmaspiezas As Int"; -_totalcajasmaspiezas = 0; - //BA.debugLineNum = 86;BA.debugLine="Dim cajas As Int"; -_cajas = 0; - //BA.debugLineNum = 87;BA.debugLine="Dim piezas As Int"; -_piezas = 0; - //BA.debugLineNum = 89;BA.debugLine="Private p_botMasMenc As Panel"; -_p_botmasmenc = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 90;BA.debugLine="End Sub"; -return ""; -} -public String _clv_prods_ll_itemclick(int _index,Object _value) throws Exception{ - //BA.debugLineNum = 1080;BA.debugLine="Private Sub clv_prods_ll_ItemClick (Index As Int,"; - //BA.debugLineNum = 1082;BA.debugLine="End Sub"; -return ""; -} -public String _clv_prods_ll_visiblerangechanged(int _firstindex,int _lastindex) throws Exception{ -int _extrasize = 0; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -String _precio = ""; -int _maxcajas = 0; - //BA.debugLineNum = 1094;BA.debugLine="Private Sub clv_prods_ll_VisibleRangeChanged (Firs"; - //BA.debugLineNum = 1097;BA.debugLine="Dim ExtraSize As Int = 15 'List size"; -_extrasize = (int) (15); - //BA.debugLineNum = 1098;BA.debugLine="For i = Max(0, FirstIndex - ExtraSize) To Min(Las"; -{ -final int step2 = 1; -final int limit2 = (int) (__c.Min(_lastindex+_extrasize,_clv_prods_ll._getsize()-1)); -_i = (int) (__c.Max(0,_firstindex-_extrasize)) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 1099;BA.debugLine="Dim Pnl As B4XView = clv_prods_ll.GetPanel(i)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _clv_prods_ll._getpanel(_i); - //BA.debugLineNum = 1100;BA.debugLine="If i > FirstIndex - ExtraSize And i < LastIndex"; -if (_i>_firstindex-_extrasize && _i<_lastindex+_extrasize) { - //BA.debugLineNum = 1102;BA.debugLine="If Pnl.NumberOfViews = 0 Then 'Add each item/la"; -if (_pnl.getNumberOfViews()==0) { - //BA.debugLineNum = 1103;BA.debugLine="Pnl.LoadLayout(\"proditem\")"; -_pnl.LoadLayout("proditem",ba); - //BA.debugLineNum = 1105;BA.debugLine="p_prods.Width = Root.Width * 0.92"; -_p_prods.setWidth((int) (_root.getWidth()*0.92)); - //BA.debugLineNum = 1106;BA.debugLine="p_botMasMen.Left = p_prods.Width - (p_botMasMe"; -_p_botmasmen.setLeft((int) (_p_prods.getWidth()-(_p_botmasmen.getWidth()+5))); - //BA.debugLineNum = 1107;BA.debugLine="p_botMasMenc.Left = p_prods.Width - (p_botMasM"; -_p_botmasmenc.setLeft((int) (_p_prods.getWidth()-(_p_botmasmen.getWidth()+5))); - //BA.debugLineNum = 1108;BA.debugLine="p_prods.Height = 134dip"; -_p_prods.setHeight(__c.DipToCurrent((int) (134))); - //BA.debugLineNum = 1116;BA.debugLine="Pnl.SetLayoutAnimated(0,0,0,Pnl.Width,145dip)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_pnl.getWidth(),__c.DipToCurrent((int) (145))); - //BA.debugLineNum = 1117;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1118;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 1119;BA.debugLine="l_prodX.SetTextSizeAnimated(0, 13)"; -_l_prodx.SetTextSizeAnimated((int) (0),(float) (13)); - //BA.debugLineNum = 1120;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant\""; -if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null && (double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))))>0) { - //BA.debugLineNum = 1121;BA.debugLine="p_prods.Color=0xFFE2EEFF"; -_p_prods.setColor(((int)0xffe2eeff)); - //BA.debugLineNum = 1122;BA.debugLine="et_pCant.TextColor=Colors.Red"; -_et_pcant.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1123;BA.debugLine="et_pCantc.TextColor=Colors.Red"; -_et_pcantc.setTextColor(__c.Colors.Red); - //BA.debugLineNum = 1124;BA.debugLine="If Subs.pedidoGuardado Then"; -if (_subs._pedidoguardado /*boolean*/ (ba)) { - //BA.debugLineNum = 1126;BA.debugLine="et_pCant.Enabled = False"; -_et_pcant.setEnabled(__c.False); - //BA.debugLineNum = 1128;BA.debugLine="b_prodMenos.Enabled = False"; -_b_prodmenos.setEnabled(__c.False); - }; - }; - //BA.debugLineNum = 1133;BA.debugLine="Private precio As String=NumberFormat2(clv_pro"; -_precio = __c.NumberFormat2(((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("precio"))))),(int) (1),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 1136;BA.debugLine="c = Starter.skmt.ExecQuery2(\"SELECT PE_BCAJAS"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_BCAJAS FROM PEDIDO WHERE PE_PROID = ? AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("id")))}))); - //BA.debugLineNum = 1138;BA.debugLine="If c.RowCount = 0 Then"; -if (_c.getRowCount()==0) { - //BA.debugLineNum = 1139;BA.debugLine="p_botMasMen.Visible = True"; -_p_botmasmen.setVisible(__c.True); - //BA.debugLineNum = 1140;BA.debugLine="p_botMasMenc.Visible = True"; -_p_botmasmenc.setVisible(__c.True); - }else if(_c.getRowCount()>0) { - //BA.debugLineNum = 1142;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1143;BA.debugLine="If c.GetString(\"PE_BCAJAS\") = \"0\" Then"; -if ((_c.GetString("PE_BCAJAS")).equals("0")) { - //BA.debugLineNum = 1144;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"can"; -if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null) { -_et_pcant.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))));}; - //BA.debugLineNum = 1145;BA.debugLine="p_botMasMen.Visible = True"; -_p_botmasmen.setVisible(__c.True); - //BA.debugLineNum = 1146;BA.debugLine="p_botMasMenc.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - }else if((_c.GetString("PE_BCAJAS")).equals("1")) { - //BA.debugLineNum = 1148;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"can"; -if (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))!= null) { -_et_pcantc.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))));}; - //BA.debugLineNum = 1149;BA.debugLine="p_botMasMen.Visible = False"; -_p_botmasmen.setVisible(__c.False); - //BA.debugLineNum = 1150;BA.debugLine="p_botMasMenc.Visible = True"; -_p_botmasmenc.setVisible(__c.True); - }; - }; - //BA.debugLineNum = 1168;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"preci"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 1169;BA.debugLine="Private maxcajas As Int = 0"; -_maxcajas = (int) (0); - }else { - //BA.debugLineNum = 1172;BA.debugLine="Private maxcajas As Int = clv_prods_ll.GetVal"; -_maxcajas = (int) ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion"))))); - }; - //BA.debugLineNum = 1176;BA.debugLine="l_prodX.Text = cs.Color(Colors.red).append(clv"; -_l_prodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("prod")))).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(_precio))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject())); - //BA.debugLineNum = 1180;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"conve"; -if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion"))).equals((Object)("1")) || (((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("precio_caja"))).equals((Object)("0"))) { - //BA.debugLineNum = 1181;BA.debugLine="p_botMasMenc.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - }; - //BA.debugLineNum = 1183;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"almac"; -if ((double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("almacen"))))<(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("conversion"))))) { - //BA.debugLineNum = 1184;BA.debugLine="Log(clv_prods_ll.GetValue(i).As(Map).Get(\"can"; -__c.LogImpl("355050330",BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant"))),0); - //BA.debugLineNum = 1185;BA.debugLine="If clv_prods_ll.GetValue(i).As(Map).Get(\"cant"; -if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_i)))).Get((Object)("cant")))))==0) { - //BA.debugLineNum = 1186;BA.debugLine="Log(\"Aqui debemos ponerlo invisible\")"; -__c.LogImpl("355050332","Aqui debemos ponerlo invisible",0); - //BA.debugLineNum = 1187;BA.debugLine="p_botMasMenc.Visible = False"; -_p_botmasmenc.setVisible(__c.False); - }else { - }; - }; - }; - }else { - }; - //BA.debugLineNum = 1201;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size - Fir"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ ((int) (_clv_prods_ll._getsize()-_firstindex)); - } -}; - //BA.debugLineNum = 1204;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid,int _bc,int _tc) throws Exception{ - //BA.debugLineNum = 503;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 518;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods() throws Exception{ - //BA.debugLineNum = 801;BA.debugLine="Sub cuentaProds"; - //BA.debugLineNum = 803;BA.debugLine="Log(\"===========================\")"; -__c.LogImpl("354132738","===========================",0); - //BA.debugLineNum = 804;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total, sum(PE_CANT) as cant from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"'")))); - //BA.debugLineNum = 807;BA.debugLine="p_botonesVenta.Visible = True"; -_p_botonesventa.setVisible(__c.True); - //BA.debugLineNum = 808;BA.debugLine="p_botonesVenta.BringToFront"; -_p_botonesventa.BringToFront(); - //BA.debugLineNum = 809;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 811;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 813;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -String _id = ""; - //BA.debugLineNum = 696;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; - //BA.debugLineNum = 697;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; -__c.LogImpl("354001665",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); - //BA.debugLineNum = 698;BA.debugLine="If et_pCant.Text = \"\" Then et_pCant.Text = \"0\""; -if ((_et_pcant.getText()).equals("")) { -_et_pcant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 699;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 700;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 701;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 702;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 703;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 704;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 705;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = \"0\""; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 706;BA.debugLine="etCantHasFocus = HasFocus"; -_etcanthasfocus = _hasfocus; - //BA.debugLineNum = 707;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("354001675",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 708;BA.debugLine="If laCant2.IsInitialized Then"; -if (_lacant2.IsInitialized()) { - //BA.debugLineNum = 709;BA.debugLine="totalcajasmaspiezas = laCant.Text + laCant2.Text"; -_totalcajasmaspiezas = (int) ((double)(Double.parseDouble(_lacant.getText()))+(double)(Double.parseDouble(_lacant2.getText()))); - }else { - //BA.debugLineNum = 711;BA.debugLine="totalcajasmaspiezas = laCant.Text"; -_totalcajasmaspiezas = (int)(Double.parseDouble(_lacant.getText())); - }; - //BA.debugLineNum = 713;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 716;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 717;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcant_textchanged(String _old,String _new) throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -String _id = ""; -String _precio = ""; -String _inv = ""; -String _nombrex = ""; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas = 0; - //BA.debugLineNum = 719;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; - //BA.debugLineNum = 722;BA.debugLine="If etCantHasFocus = True Then"; -if (_etcanthasfocus==__c.True) { - //BA.debugLineNum = 723;BA.debugLine="LogColor($\"txt changed: ${Old}|${New}, hasfocus="; -__c.LogImpl("354067204",("txt changed: "+__c.SmartStringFormatter("",(Object)(_old))+"|"+__c.SmartStringFormatter("",(Object)(_new))+", hasfocus="+__c.SmartStringFormatter("",(Object)(_etcanthasfocus))+""),__c.Colors.Magenta); - //BA.debugLineNum = 724;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 725;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 726;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 727;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 728;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 729;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 730;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 731;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 732;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 733;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; -_inv = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 734;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 735;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 736;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 739;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; -if (((_new).equals("") || _new== null || (_new).equals("-"))) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 741;BA.debugLine="If(New > invTotal) Then"; -if (((double)(Double.parseDouble(_new))>_invtotal)) { - //BA.debugLineNum = 742;BA.debugLine="Sender.As(EditText).text = invTotal"; -((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(_invtotal)); - }; - //BA.debugLineNum = 746;BA.debugLine="If New = \"\" Then New = 0"; -if ((_new).equals("")) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 747;BA.debugLine="If laCant.Text = \"\" Then laCant.Text = 0"; -if ((_lacant.getText()).equals("")) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 748;BA.debugLine="LogColor(laCant.Text,Colors.Red)"; -__c.LogImpl("354067229",_lacant.getText(),__c.Colors.Red); - //BA.debugLineNum = 750;BA.debugLine="If New > 0 Then"; -if ((double)(Double.parseDouble(_new))>0) { - //BA.debugLineNum = 751;BA.debugLine="panelcajas.Visible = False"; -_panelcajas.setVisible(__c.False); - }else if((_new).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 753;BA.debugLine="panelcajas.Visible = True"; -_panelcajas.setVisible(__c.True); - }; - //BA.debugLineNum = 761;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant.Text <"; -if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant.getText()!= null && (_lacant.getText()).equals("") == false && _etcanthasfocus) { - //BA.debugLineNum = 762;BA.debugLine="Log(\"actualizamos producto\")"; -__c.LogImpl("354067243","actualizamos producto",0); - //BA.debugLineNum = 763;BA.debugLine="Subs.actualizaProducto(Subs.traeAlmacen, precio"; -_subs._actualizaproducto /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_precio,(int)(Double.parseDouble(_lacant.getText())),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - //BA.debugLineNum = 764;BA.debugLine="cuentaProds"; -_cuentaprods(); - }; - //BA.debugLineNum = 777;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 778;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 779;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 780;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 781;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 783;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 784;BA.debugLine="invActualizado = Subs.traeinventario(id)"; -_invactualizado = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 785;BA.debugLine="Log(Subs.traeinventario(id))"; -__c.LogImpl("354067266",_subs._traeinventario /*String*/ (ba,_id),0); - //BA.debugLineNum = 788;BA.debugLine="If New = \"\" Then New = 0"; -if ((_new).equals("")) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 789;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 790;BA.debugLine="Private maxcajas As Int = 0"; -_maxcajas = (int) (0); - //BA.debugLineNum = 791;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("354067272","cajas a 0",0); - }else { - //BA.debugLineNum = 793;BA.debugLine="Private maxcajas As Int = invActualizado/clv_p"; -_maxcajas = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 794;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("354067275","cajas no a 0",0); - }; - //BA.debugLineNum = 796;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas))+""))).PopAll().getObject())); - }; - }; - //BA.debugLineNum = 799;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcantc_focuschanged(boolean _hasfocus) throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -String _id = ""; - //BA.debugLineNum = 1505;BA.debugLine="Private Sub et_pCantc_FocusChanged (HasFocus As Bo"; - //BA.debugLineNum = 1506;BA.debugLine="LogColor($\"focus changed=${HasFocus}\"$, Colors.Ma"; -__c.LogImpl("355443457",("focus changed="+__c.SmartStringFormatter("",(Object)(_hasfocus))+""),__c.Colors.Magenta); - //BA.debugLineNum = 1507;BA.debugLine="If et_pCantc.Text = \"\" Then et_pCantc.Text = \"0\""; -if ((_et_pcantc.getText()).equals("")) { -_et_pcantc.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 1508;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1509;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(index"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1510;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 1511;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1512;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView(2"; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 1513;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index)"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 1514;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = \"0\""; -if ((_lacant2.getText()).equals("")) { -_lacant2.setText(BA.ObjectToCharSequence("0"));}; - //BA.debugLineNum = 1515;BA.debugLine="etCantHasFocus = HasFocus"; -_etcanthasfocus = _hasfocus; - //BA.debugLineNum = 1522;BA.debugLine="invTotal = totalcajasmaspiezas + Subs.traeinventa"; -_invtotal = (int) (_totalcajasmaspiezas+(double)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id)))); - //BA.debugLineNum = 1525;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 1526;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcantc_textchanged(String _old,String _new) throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant2 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lprodx = null; -String _id = ""; -String _precio = ""; -String _inv = ""; -String _nombrex = ""; -anywheresoftware.b4a.objects.B4XViewWrapper _panelcajas = null; -anywheresoftware.b4a.objects.B4XViewWrapper _panelpiezas = null; -String _conversion = ""; -String _preciocaja = ""; -int _totalcajaspermi = 0; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _o = null; -String _invactualizado = ""; -int _maxcajas2 = 0; - //BA.debugLineNum = 1528;BA.debugLine="Private Sub et_pCantc_TextChanged (Old As String,"; - //BA.debugLineNum = 1531;BA.debugLine="If etCantHasFocus = True Then"; -if (_etcanthasfocus==__c.True) { - //BA.debugLineNum = 1534;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView("; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1535;BA.debugLine="Dim pnl0 As B4XView = clv_prods_ll.GetPanel(inde"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1536;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 1537;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(2"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1538;BA.debugLine="Dim laCant2 As B4XView = pnl.GetView(3).GetView("; -_lacant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant2 = _pnl.GetView((int) (3)).GetView((int) (2)); - //BA.debugLineNum = 1539;BA.debugLine="Dim lProdX As B4XView = pnl.GetView(1)"; -_lprodx = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lprodx = _pnl.GetView((int) (1)); - //BA.debugLineNum = 1540;BA.debugLine="Private id As String=clv_prods_ll.GetValue(index"; -_id = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("id"))); - //BA.debugLineNum = 1541;BA.debugLine="Private precio As String=clv_prods_ll.GetValue(i"; -_precio = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio"))); - //BA.debugLineNum = 1542;BA.debugLine="Private inv As String=clv_prods_ll.GetValue(inde"; -_inv = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("almacen"))); - //BA.debugLineNum = 1543;BA.debugLine="Private inv As String=Subs.traeinventario(id)"; -_inv = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 1544;BA.debugLine="Private nombreX As String = Subs.traeProdNombre("; -_nombrex = _subs._traeprodnombre /*String*/ (ba,_id); - //BA.debugLineNum = 1545;BA.debugLine="Dim panelcajas As B4XView = pnl.GetView(3)"; -_panelcajas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelcajas = _pnl.GetView((int) (3)); - //BA.debugLineNum = 1546;BA.debugLine="Dim panelpiezas As B4XView = pnl.GetView(2)"; -_panelpiezas = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_panelpiezas = _pnl.GetView((int) (2)); - //BA.debugLineNum = 1547;BA.debugLine="Private conversion As String = clv_prods_ll.GetV"; -_conversion = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))); - //BA.debugLineNum = 1548;BA.debugLine="Private preciocaja As String = clv_prods_ll.GetV"; -_preciocaja = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja"))); - //BA.debugLineNum = 1550;BA.debugLine="invTotal = Subs.traeinventario(id)"; -_invtotal = (int)(Double.parseDouble(_subs._traeinventario /*String*/ (ba,_id))); - //BA.debugLineNum = 1551;BA.debugLine="Log(\"inventario total \"& invTotal)"; -__c.LogImpl("355509015","inventario total "+BA.NumberToString(_invtotal),0); - //BA.debugLineNum = 1552;BA.debugLine="If(New = \"\" Or New = Null Or New = \"-\") Then New"; -if (((_new).equals("") || _new== null || (_new).equals("-"))) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 1554;BA.debugLine="Log(($\"new*conversion ${New * conversion} > ${i"; -__c.LogImpl("355509018",(("new*conversion "+__c.SmartStringFormatter("",(Object)((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion))))+" > "+__c.SmartStringFormatter("",(Object)(_invtotal))+" = "+__c.SmartStringFormatter("",(Object)((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>_invtotal)))+"")),0); - //BA.debugLineNum = 1555;BA.debugLine="If((New * conversion) > invTotal) Then"; -if ((((double)(Double.parseDouble(_new))*(double)(Double.parseDouble(_conversion)))>_invtotal)) { - //BA.debugLineNum = 1557;BA.debugLine="Sender.As(EditText).text = 0"; -((anywheresoftware.b4a.objects.EditTextWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.EditTextWrapper(), (android.widget.EditText)(__c.Sender(ba)))).setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 1558;BA.debugLine="New = 0"; -_new = BA.NumberToString(0); - //BA.debugLineNum = 1560;BA.debugLine="pnl.GetView(2).Visible = True"; -_pnl.GetView((int) (2)).setVisible(__c.True); - //BA.debugLineNum = 1561;BA.debugLine="Log(\"ponemos en 0\")"; -__c.LogImpl("355509025","ponemos en 0",0); - }; - //BA.debugLineNum = 1565;BA.debugLine="Log(\"inventario total despues de max \"& invTotal"; -__c.LogImpl("355509029","inventario total despues de max "+BA.NumberToString(_invtotal),0); - //BA.debugLineNum = 1567;BA.debugLine="If New = \"\" Then New = 0"; -if ((_new).equals("")) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 1568;BA.debugLine="If laCant2.Text = \"\" Then laCant2.Text = 0"; -if ((_lacant2.getText()).equals("")) { -_lacant2.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 1571;BA.debugLine="If New > 0 Then"; -if ((double)(Double.parseDouble(_new))>0) { - //BA.debugLineNum = 1572;BA.debugLine="Log(\"lo ocultamos\")"; -__c.LogImpl("355509036","lo ocultamos",0); - //BA.debugLineNum = 1573;BA.debugLine="panelpiezas.Visible = False"; -_panelpiezas.setVisible(__c.False); - }else if((_new).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1575;BA.debugLine="panelpiezas.Visible = True"; -_panelpiezas.setVisible(__c.True); - }; - //BA.debugLineNum = 1583;BA.debugLine="Log(\"InvTotal: \" & invTotal)"; -__c.LogImpl("355509047","InvTotal: "+BA.NumberToString(_invtotal),0); - //BA.debugLineNum = 1585;BA.debugLine="If Not(Old = \"0\" And New = \"\") And laCant2.Text"; -if (__c.Not((_old).equals("0") && (_new).equals("")) && _lacant2.getText()!= null && (_lacant2.getText()).equals("") == false && _etcanthasfocus) { - //BA.debugLineNum = 1586;BA.debugLine="If invTotal - (laCant2.Text * conversion) >= 0"; -if (_invtotal-((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))>=0) { - //BA.debugLineNum = 1587;BA.debugLine="LogColor(\"validacion inventariio \" & (invTotal"; -__c.LogImpl("355509051","validacion inventariio "+BA.NumberToString((_invtotal-((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion))))),__c.Colors.Blue); - //BA.debugLineNum = 1588;BA.debugLine="Log(\"actualizamos producto\")"; -__c.LogImpl("355509052","actualizamos producto",0); - //BA.debugLineNum = 1589;BA.debugLine="Subs.actualizaProducto2(Subs.traeAlmacen, pre"; -_subs._actualizaproducto2 /*String*/ (ba,_subs._traealmacen /*String*/ (ba),_preciocaja,(int) (((double)(Double.parseDouble(_lacant2.getText()))*(double)(Double.parseDouble(_conversion)))),_subs._traeprodnombre /*String*/ (ba,_id),_id,_clienteid,_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_rutausuario,BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,_lacant2.getText(),BA.NumberToString(1)); - //BA.debugLineNum = 1590;BA.debugLine="cuentaProds"; -_cuentaprods(); - }else { - //BA.debugLineNum = 1592;BA.debugLine="Private totalcajaspermi As Int = invTotal / co"; -_totalcajaspermi = (int) (_invtotal/(double)(double)(Double.parseDouble(_conversion))); - //BA.debugLineNum = 1593;BA.debugLine="laCant2.Text = totalcajaspermi"; -_lacant2.setText(BA.ObjectToCharSequence(_totalcajaspermi)); - //BA.debugLineNum = 1594;BA.debugLine="Log(\"cajas permitidas total por guerra \"& tota"; -__c.LogImpl("355509058","cajas permitidas total por guerra "+BA.NumberToString(_totalcajaspermi),0); - }; - }; - //BA.debugLineNum = 1597;BA.debugLine="LogColor(\"la cant2 \" & laCant2.Text,Colors.Green"; -__c.LogImpl("355509061","la cant2 "+_lacant2.getText(),__c.Colors.Green); - //BA.debugLineNum = 1610;BA.debugLine="If 1 = 1 Then"; -if (1==1) { - //BA.debugLineNum = 1611;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 1612;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 1613;BA.debugLine="Private o As Cursor = Starter.skmt.ExecQuery($\""; -_o = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_o = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+__c.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1614;BA.debugLine="Private invActualizado As String = \"0\""; -_invactualizado = "0"; - //BA.debugLineNum = 1616;BA.debugLine="o.Position = 0"; -_o.setPosition((int) (0)); - //BA.debugLineNum = 1617;BA.debugLine="invActualizado = Subs.traeinventario(id)"; -_invactualizado = _subs._traeinventario /*String*/ (ba,_id); - //BA.debugLineNum = 1618;BA.debugLine="Log(Subs.traeinventario(id))"; -__c.LogImpl("355509082",_subs._traeinventario /*String*/ (ba,_id),0); - //BA.debugLineNum = 1621;BA.debugLine="If New = \"\" Then New = 0"; -if ((_new).equals("")) { -_new = BA.NumberToString(0);}; - //BA.debugLineNum = 1622;BA.debugLine="If clv_prods_ll.GetValue(index).As(Map).Get(\"pr"; -if (((float)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("precio_caja")))))==0 || ((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion")))))==1) { - //BA.debugLineNum = 1623;BA.debugLine="Private maxcajas2 As Int = 0"; -_maxcajas2 = (int) (0); - //BA.debugLineNum = 1624;BA.debugLine="Log(\"cajas a 0\")"; -__c.LogImpl("355509088","cajas a 0",0); - }else { - //BA.debugLineNum = 1626;BA.debugLine="Private maxcajas2 As Int = invActualizado/clv_"; -_maxcajas2 = (int) ((double)(Double.parseDouble(_invactualizado))/(double)(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_clv_prods_ll._getvalue(_index)))).Get((Object)("conversion"))))); - //BA.debugLineNum = 1627;BA.debugLine="Log(\"cajas no a 0\")"; -__c.LogImpl("355509091","cajas no a 0",0); - }; - //BA.debugLineNum = 1629;BA.debugLine="lProdX.Text = cs.Color(Colors.red).append(nombr"; -_lprodx.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.Red).Append(BA.ObjectToCharSequence(_nombrex)).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence("Existencias: "+(_subs._traeinventario /*String*/ (ba,_id)))).Color(((int)0xff017f01)).Append(BA.ObjectToCharSequence((" $"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_precio)),(int) (1),(int) (2),(int) (2),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+"Max. Cajas: "+__c.SmartStringFormatter("",(Object)(_maxcajas2))+""))).PopAll().getObject())); - }; - }; - //BA.debugLineNum = 1632;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 93;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 94;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return null; -} -public String _l_info_click() throws Exception{ - //BA.debugLineNum = 909;BA.debugLine="Private Sub l_info_Click"; - //BA.debugLineNum = 910;BA.debugLine="l_info.Visible = False"; -_l_info.setVisible(__c.False); - //BA.debugLineNum = 911;BA.debugLine="End Sub"; -return ""; -} -public String _l_prodx_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; - //BA.debugLineNum = 1084;BA.debugLine="Sub l_prodx_click"; - //BA.debugLineNum = 1085;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1086;BA.debugLine="Private p0 As B4XView = clv_prods_ll.GetPanel(ind"; -_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prods_ll._getpanel(_index); - //BA.debugLineNum = 1087;BA.debugLine="Private p As B4XView = p0.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _p0.GetView((int) (0)); - //BA.debugLineNum = 1088;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView(2"; -_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant1 = _p.GetView((int) (2)).GetView((int) (2)); - //BA.debugLineNum = 1089;BA.debugLine="Dim index As Int = clv_prods_ll.GetItemFromView(S"; -_index = _clv_prods_ll._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 1091;BA.debugLine="Log(cant1.Text)"; -__c.LogImpl("354984711",_cant1.getText(),0); - //BA.debugLineNum = 1092;BA.debugLine="End Sub"; -return ""; -} -public String _l_prodx_longclick() throws Exception{ - //BA.debugLineNum = 903;BA.debugLine="Private Sub l_prodX_LongClick"; - //BA.debugLineNum = 904;BA.debugLine="Log(\"longclic = \"&Sender.as(Label).tag)"; -__c.LogImpl("354329345","longclic = "+BA.ObjectToString(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag()),0); - //BA.debugLineNum = 905;BA.debugLine="l_info.Text = Sender.as(Label).tag"; -_l_info.setText(BA.ObjectToCharSequence(((anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(__c.Sender(ba)))).getTag())); - //BA.debugLineNum = 906;BA.debugLine="l_info.Visible = True"; -_l_info.setVisible(__c.True); - //BA.debugLineNum = 907;BA.debugLine="End Sub"; -return ""; -} -public String _llenacatalogo(String _subtipo1) throws Exception{ - //BA.debugLineNum = 401;BA.debugLine="Sub llenaCatalogo(subtipo1 As String)"; - //BA.debugLineNum = 424;BA.debugLine="End Sub"; -return ""; -} -public String _llenaprodsll(anywheresoftware.b4a.sql.SQL.ResultSetWrapper _p) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _cantsmap = null; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _pe = null; -int _cant = 0; -anywheresoftware.b4a.objects.collections.Map _tempmap = null; -anywheresoftware.b4a.objects.collections.List _listaprodsconcant = null; -anywheresoftware.b4a.objects.collections.List _listaprodsconcantindex = null; -int _q = 0; -int _cont = 0; -int _pr0 = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -int _pr = 0; - //BA.debugLineNum = 1239;BA.debugLine="Sub LlenaProdsLL(p As ResultSet)"; - //BA.debugLineNum = 1240;BA.debugLine="Log(\"Iniciamos LlenaProdsLL\")"; -__c.LogImpl("355181313","Iniciamos LlenaProdsLL",0); - //BA.debugLineNum = 1241;BA.debugLine="listaProds.Initialize"; -_listaprods.Initialize(); - //BA.debugLineNum = 1242;BA.debugLine="If hayPedido Then 'Si hay pedido obtenemos las ca"; -if (_haypedido) { - //BA.debugLineNum = 1243;BA.debugLine="Dim cantsMap As Map"; -_cantsmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1244;BA.debugLine="cantsMap.Initialize"; -_cantsmap.Initialize(); - //BA.debugLineNum = 1245;BA.debugLine="Dim pe As ResultSet = B4XPages.MainPage.skmt.Exe"; -_pe = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_pe = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_PROID, PE_CANT, PE_CANTC, PE_BCAJAS from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_clienteid))+"' and PE_CEDIS = '"+__c.SmartStringFormatter("",(Object)(_subs._traealmacen /*String*/ (ba)))+"' and PE_FOLIO = '"+__c.SmartStringFormatter("",(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ))+"'")))); - //BA.debugLineNum = 1247;BA.debugLine="Do While pe.NextRow"; -while (_pe.NextRow()) { - //BA.debugLineNum = 1248;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 1249;BA.debugLine="If pe.GetString(\"PE_BCAJAS\") = 0 Then"; -if ((_pe.GetString("PE_BCAJAS")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1250;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS"; -_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANT"))); - }else if((_pe.GetString("PE_BCAJAS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 1252;BA.debugLine="cantsMap.put(pe.GetString(\"PE_PROID\"), pe.GetS"; -_cantsmap.Put((Object)(_pe.GetString("PE_PROID")),(Object)(_pe.GetString("PE_CANTC"))); - }; - //BA.debugLineNum = 1254;BA.debugLine="Log(clienteId &\"|||||\"&pe.GetString(\"PE_PROID\")"; -__c.LogImpl("355181327",_clienteid+"|||||"+_pe.GetString("PE_PROID")+"|||||"+_pe.GetString("PE_CANT"),0); - } -; - //BA.debugLineNum = 1256;BA.debugLine="pe.Close"; -_pe.Close(); - }; - //BA.debugLineNum = 1259;BA.debugLine="If p.IsInitialized Then"; -if (_p.IsInitialized()) { - }else { - //BA.debugLineNum = 1263;BA.debugLine="LogColor(Starter.tabla,Colors.blue)"; -__c.LogImpl("355181336",_starter._tabla /*String*/ ,__c.Colors.Blue); - //BA.debugLineNum = 1266;BA.debugLine="Dim p As ResultSet = B4XPages.MainPage.skmt.Exec"; -_p = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_p = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select distinct CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4, PE_BCAJAS from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN > 0 And CAT_GP_CLASIF <> 'PROMOS' union all select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_ALMACEN, CAT_GP_PRECIO, CAT_GP_TIPOPROD, CAT_DP_CONVERSION1, CAT_DP_PRECIO4 , PE_BCAJAS from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" LEFT JOIN PEDIDO ON CAT_GP_ID = PE_PROID where CAT_GP_PRECIO > 0 And CAT_GP_ALMACEN = 0 And CAT_GP_CLASIF <> 'PROMOS' and cat_gp_id in (select pe_proid from pedido where pe_cliente in (select cuenta from cuentaa)) order by 2")))); - }; - //BA.debugLineNum = 1270;BA.debugLine="Do While p.NextRow"; -while (_p.NextRow()) { - //BA.debugLineNum = 1271;BA.debugLine="Private cant As Int = 0"; -_cant = (int) (0); - //BA.debugLineNum = 1272;BA.debugLine="If hayPedido And cantsMap.ContainsKey(p.GetStrin"; -if (_haypedido && _cantsmap.ContainsKey((Object)(_p.GetString("CAT_GP_ID")))) { - //BA.debugLineNum = 1273;BA.debugLine="Log(p.GetString(\"CAT_GP_ID\"))"; -__c.LogImpl("355181346",_p.GetString("CAT_GP_ID"),0); - //BA.debugLineNum = 1274;BA.debugLine="cant = cantsMap.Get(p.GetString(\"CAT_GP_ID\"))"; -_cant = (int)(BA.ObjectToNumber(_cantsmap.Get((Object)(_p.GetString("CAT_GP_ID"))))); - }; - //BA.debugLineNum = 1276;BA.debugLine="Dim tempMap As Map = CreateMap(\"prod\":p.GetStrin"; -_tempmap = new anywheresoftware.b4a.objects.collections.Map(); -_tempmap = __c.createMap(new Object[] {(Object)("prod"),(Object)(_p.GetString("CAT_GP_NOMBRE")),(Object)("precio"),(Object)(_p.GetString("CAT_GP_PRECIO")),(Object)("almacen"),(Object)(_p.GetString("CAT_GP_ALMACEN")),(Object)("id"),(Object)(_p.GetString("CAT_GP_ID")),(Object)("cant"),(Object)(_cant),(Object)("conversion"),(Object)(_p.GetString("CAT_DP_CONVERSION1")),(Object)("precio_caja"),(Object)(_p.GetString("CAT_DP_PRECIO4")),(Object)("b_caja"),(Object)(_p.GetString("PE_BCAJAS"))}); - //BA.debugLineNum = 1278;BA.debugLine="listaProds.Add(tempMap)"; -_listaprods.Add((Object)(_tempmap.getObject())); - } -; - //BA.debugLineNum = 1280;BA.debugLine="p.Close"; -_p.Close(); - //BA.debugLineNum = 1282;BA.debugLine="PCLV.Commit"; -_pclv._commit /*String*/ (); - //BA.debugLineNum = 1283;BA.debugLine="clv_prods_ll.Clear"; -_clv_prods_ll._clear(); - //BA.debugLineNum = 1284;BA.debugLine="Private listaProdsConCant, listaProdsConCantIndex"; -_listaprodsconcant = new anywheresoftware.b4a.objects.collections.List(); -_listaprodsconcantindex = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1285;BA.debugLine="listaProdsConCant.Initialize"; -_listaprodsconcant.Initialize(); - //BA.debugLineNum = 1286;BA.debugLine="listaProdsConCantIndex.Initialize"; -_listaprodsconcantindex.Initialize(); - //BA.debugLineNum = 1287;BA.debugLine="listaHints.Initialize"; -_listahints.Initialize(); - //BA.debugLineNum = 1288;BA.debugLine="For q=0 To listaProds.Size-1' Sacamos los product"; -{ -final int step39 = 1; -final int limit39 = (int) (_listaprods.getSize()-1); -_q = (int) (0) ; -for (;_q <= limit39 ;_q = _q + step39 ) { - //BA.debugLineNum = 1289;BA.debugLine="If listaProds.Get(q).As(Map).Get(\"cant\").As(Int)"; -if (((int)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_q)))).Get((Object)("cant")))))!=0) { - //BA.debugLineNum = 1291;BA.debugLine="listaProdsConCant.Add(listaProds.Get(q))"; -_listaprodsconcant.Add(_listaprods.Get(_q)); - //BA.debugLineNum = 1292;BA.debugLine="listaProdsConCantIndex.Add(q)"; -_listaprodsconcantindex.Add((Object)(_q)); - }; - } -}; - //BA.debugLineNum = 1296;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 1297;BA.debugLine="For pr0=0 To listaProdsConCant.Size - 1 'Agregamo"; -{ -final int step46 = 1; -final int limit46 = (int) (_listaprodsconcant.getSize()-1); -_pr0 = (int) (0) ; -for (;_pr0 <= limit46 ;_pr0 = _pr0 + step46 ) { - //BA.debugLineNum = 1298;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1300;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsVi"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (135))); - //BA.debugLineNum = 1301;BA.debugLine="clv_prods_ll.Add(Pnl, listaProdsConCant.Get(pr0)"; -_clv_prods_ll._add(_pnl,_listaprodsconcant.Get(_pr0)); - //BA.debugLineNum = 1302;BA.debugLine="listaHints.Add(listaProdsConCant.get(pr0).As(Map"; -_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprodsconcant.Get(_pr0)))).Get((Object)("prod"))); - //BA.debugLineNum = 1303;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - } -}; - //BA.debugLineNum = 1307;BA.debugLine="For pr=0 To listaProds.Size-1"; -{ -final int step53 = 1; -final int limit53 = (int) (_listaprods.getSize()-1); -_pr = (int) (0) ; -for (;_pr <= limit53 ;_pr = _pr + step53 ) { - //BA.debugLineNum = 1308;BA.debugLine="If listaProdsConCantIndex.IndexOf(pr) = -1 Then"; -if (_listaprodsconcantindex.IndexOf((Object)(_pr))==-1) { - //BA.debugLineNum = 1309;BA.debugLine="Private Pnl As B4XView = xui.CreatePanel(\"\")"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 1310;BA.debugLine="Pnl.SetLayoutAnimated(0, 0, 0, clv_prods_ll.AsV"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_clv_prods_ll._asview().getWidth(),__c.DipToCurrent((int) (135))); - //BA.debugLineNum = 1311;BA.debugLine="clv_prods_ll.Add(Pnl, listaProds.Get(pr))"; -_clv_prods_ll._add(_pnl,_listaprods.Get(_pr)); - //BA.debugLineNum = 1312;BA.debugLine="listaHints.Add(listaProds.get(pr).As(Map).Get(\""; -_listahints.Add(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_listaprods.Get(_pr)))).Get((Object)("prod"))); - //BA.debugLineNum = 1313;BA.debugLine="cont = cont + 1"; -_cont = (int) (_cont+1); - }; - } -}; - //BA.debugLineNum = 1320;BA.debugLine="PCLV.B4XSeekBar1.MaxValue = clv_prods_ll.Size"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._maxvalue /*int*/ = _clv_prods_ll._getsize(); - //BA.debugLineNum = 1321;BA.debugLine="PCLV.B4XSeekBar1.MinValue = 0"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._minvalue /*int*/ = (int) (0); - //BA.debugLineNum = 1322;BA.debugLine="PCLV.B4XSeekBar1.Interval = clv_prods_ll.Size/20"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._interval /*int*/ = (int) (_clv_prods_ll._getsize()/(double)20); - //BA.debugLineNum = 1323;BA.debugLine="PCLV.B4XSeekBar1.Value = clv_prods_ll.Size"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._setvalue /*int*/ (_clv_prods_ll._getsize()); - //BA.debugLineNum = 1324;BA.debugLine="PCLV.B4XSeekBar1.Update"; -_pclv._b4xseekbar1 /*adm.keymon.com.mx.b4xseekbar*/ ._update /*String*/ (); - //BA.debugLineNum = 1326;BA.debugLine="reiniciarlistaProds = False"; -_reiniciarlistaprods = __c.False; - //BA.debugLineNum = 1327;BA.debugLine="End Sub"; -return ""; -} -public String _lv_catalogos_itemclick(int _position,Object _value) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -anywheresoftware.b4a.objects.LabelWrapper _label13 = null; -anywheresoftware.b4a.objects.LabelWrapper _label14 = null; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _tm = null; - //BA.debugLineNum = 251;BA.debugLine="Sub lv_catalogos_ItemClick (Position As Int, Value"; - //BA.debugLineNum = 252;BA.debugLine="If Value = \"CATALOGO\" Then"; -if ((_value).equals((Object)("CATALOGO"))) { - //BA.debugLineNum = 254;BA.debugLine="lfila.text = \"PRODUCTOS\""; -_lfila.setText(BA.ObjectToCharSequence("PRODUCTOS")); - //BA.debugLineNum = 255;BA.debugLine="lv_catalogos.Visible = False"; -_lv_catalogos.setVisible(__c.False); - //BA.debugLineNum = 257;BA.debugLine="If clv_prods_ll.Size = 0 Then LlenaProdsLL(Null)"; -if (_clv_prods_ll._getsize()==0) { -_llenaprodsll((anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(__c.Null)));}; - //BA.debugLineNum = 258;BA.debugLine="clv_prods_ll.AsView.Visible = True"; -_clv_prods_ll._asview().setVisible(__c.True); - //BA.debugLineNum = 259;BA.debugLine="If hayPedido Then p_botonesVenta.Visible = True"; -if (_haypedido) { -_p_botonesventa.setVisible(__c.True);}; - }else { - //BA.debugLineNum = 261;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 262;BA.debugLine="lv_promos.Visible = True"; -_lv_promos.setVisible(__c.True); - //BA.debugLineNum = 263;BA.debugLine="lfila.text = \"PROMOCIONES\""; -_lfila.setText(BA.ObjectToCharSequence("PROMOCIONES")); - //BA.debugLineNum = 264;BA.debugLine="lv_catalogos.Visible = False"; -_lv_catalogos.setVisible(__c.False); - //BA.debugLineNum = 265;BA.debugLine="lv_promos.Clear"; -_lv_promos.Clear(); - //BA.debugLineNum = 266;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 267;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; -_label1 = _lv_promos.getTwoLinesLayout().Label; - //BA.debugLineNum = 268;BA.debugLine="label1.TextSize = 12"; -_label1.setTextSize((float) (12)); - //BA.debugLineNum = 269;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 270;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 271;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; -_label2 = _lv_promos.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 272;BA.debugLine="label2.TextSize = 12"; -_label2.setTextSize((float) (12)); - //BA.debugLineNum = 273;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 274;BA.debugLine="Dim label13 As Label"; -_label13 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 275;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; -_label13 = _lv_promos.getTwoLinesAndBitmap().Label; - //BA.debugLineNum = 276;BA.debugLine="label13.TextSize = 12"; -_label13.setTextSize((float) (12)); - //BA.debugLineNum = 277;BA.debugLine="label13.TextColor = Colors.Black"; -_label13.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 278;BA.debugLine="Dim label14 As Label"; -_label14 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 279;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; -_label14 = _lv_promos.getTwoLinesAndBitmap().SecondLabel; - //BA.debugLineNum = 280;BA.debugLine="label14.TextSize = 12"; -_label14.setTextSize((float) (12)); - //BA.debugLineNum = 281;BA.debugLine="label14.TextColor = Colors.Black"; -_label14.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 282;BA.debugLine="lfila.text = \"PROMOS\""; -_lfila.setText(BA.ObjectToCharSequence("PROMOS")); - //BA.debugLineNum = 287;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"),new String[]{BA.ObjectToString(_value),BA.ObjectToString(_value)}))); - //BA.debugLineNum = 289;BA.debugLine="If c2.RowCount > 0 Then"; -if (_c2.getRowCount()>0) { - //BA.debugLineNum = 290;BA.debugLine="For i=0 To c2.RowCount -1"; -{ -final int step32 = 1; -final int limit32 = (int) (_c2.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit32 ;_i = _i + step32 ) { - //BA.debugLineNum = 291;BA.debugLine="c2.Position=i"; -_c2.setPosition(_i); - //BA.debugLineNum = 292;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; -_tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = _subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_c2.GetString("CAT_GP_ID"),_clienteid); - //BA.debugLineNum = 293;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; -if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { - //BA.debugLineNum = 294;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; -_lv_promos.AddTwoLines(BA.ObjectToCharSequence(_c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+_c2.GetString("CAT_GP_ALMACEN")+" $ "+_c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); - }; - } -}; - }else { - //BA.debugLineNum = 298;BA.debugLine="ToastMessageShow(\"No hay promociones disponible"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No hay promociones disponibles."),__c.False); - }; - //BA.debugLineNum = 300;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 301;BA.debugLine="entro = \"4\""; -_entro = "4"; - }; - //BA.debugLineNum = 303;BA.debugLine="End Sub"; -return ""; -} -public void _lv_catalogos2_itemclick(int _position,Object _value) throws Exception{ -ResumableSub_lv_catalogos2_ItemClick rsub = new ResumableSub_lv_catalogos2_ItemClick(this,_position,_value); -rsub.resume(ba, null); -} -public static class ResumableSub_lv_catalogos2_ItemClick extends BA.ResumableSub { -public ResumableSub_lv_catalogos2_ItemClick(adm.keymon.com.mx.c_productos parent,int _position,Object _value) { -this.parent = parent; -this._position = _position; -this._value = _value; -} -adm.keymon.com.mx.c_productos parent; -int _position; -Object _value; -adm.keymon.com.mx.c_cliente _cliente = null; -String _iniciocontador = ""; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; -anywheresoftware.b4a.objects.LabelWrapper _label13 = null; -anywheresoftware.b4a.objects.LabelWrapper _label14 = null; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _tm = null; -int step57; -int limit57; - -@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 = 306;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 307;BA.debugLine="BUSCA.Text = \"\""; -parent._busca.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 308;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; -_cliente = (adm.keymon.com.mx.c_cliente)(parent._b4xpages._getpage /*Object*/ (ba,"Cliente")); - //BA.debugLineNum = 309;BA.debugLine="Log($\"value=${Value}\"$)"; -parent.__c.LogImpl("353477380",("value="+parent.__c.SmartStringFormatter("",_value)+""),0); - //BA.debugLineNum = 310;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; -if (true) break; - -case 1: -//if -this.state = 6; -if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { -this.state = 3; -}else if((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N")) { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 311;BA.debugLine="entro = \"3\""; -parent._entro = "3"; - //BA.debugLineNum = 312;BA.debugLine="marca = \"PROMOS\""; -parent._marca = "PROMOS"; - //BA.debugLineNum = 313;BA.debugLine="tipo = \"PROMOS\""; -parent._tipo = "PROMOS"; - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 315;BA.debugLine="entro = \"5\""; -parent._entro = "5"; - //BA.debugLineNum = 316;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -parent._b4xpages._showpage /*String*/ (ba,"Cliente"); - if (true) break; -; - //BA.debugLineNum = 318;BA.debugLine="If Value = \"PROMOS\" Then"; - -case 6: -//if -this.state = 11; -if ((_value).equals((Object)("PROMOS"))) { -this.state = 8; -}else { -this.state = 10; -}if (true) break; - -case 8: -//C -this.state = 11; - //BA.debugLineNum = 319;BA.debugLine="LogColor(\"Promos\", Colors.red)"; -parent.__c.LogImpl("353477390","Promos",parent.__c.Colors.Red); - //BA.debugLineNum = 320;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select C"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD = ? AND CAT_GP_TIPO = ? AND CAT_GP_SUBTIPO = ? AND CAT_GP_ID NOT IN (SELECT PE_PROID FROM PEDIDO WHERE PE_CLIENTE IN (Select cuenta from cuentaa) )"),new String[]{BA.ObjectToString(_value),parent._marca,parent._tipo}))); - if (true) break; - -case 10: -//C -this.state = 11; - //BA.debugLineNum = 322;BA.debugLine="LogColor(\"Catalogo\", Colors.red)"; -parent.__c.LogImpl("353477393","Catalogo",parent.__c.Colors.Red); - //BA.debugLineNum = 323;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery($\"select CAT"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID, CAT_GP_NOMBRE, CAT_GP_PRECIO, CAT_GP_ALMACEN, CAT_GP_IMG, CAT_GP_TIPOPROD, CAT_GP_INICIATIVA from "+parent.__c.SmartStringFormatter("",(Object)(parent._starter._tabla /*String*/ ))+" where CAT_GP_PRECIO > 0 AND CAT_GP_ALMACEN > 0 and CAT_GP_TIPOPROD <> 'PROMOS' ")))); - if (true) break; -; - //BA.debugLineNum = 325;BA.debugLine="If Value = \"CATALOGO\" Then"; - -case 11: -//if -this.state = 28; -if ((_value).equals((Object)("CATALOGO"))) { -this.state = 13; -}else { -this.state = 15; -}if (true) break; - -case 13: -//C -this.state = 28; - //BA.debugLineNum = 326;BA.debugLine="lv_catalogos.Visible = False"; -parent._lv_catalogos.setVisible(parent.__c.False); - //BA.debugLineNum = 327;BA.debugLine="lv_promos.Visible = False"; -parent._lv_promos.setVisible(parent.__c.False); - //BA.debugLineNum = 328;BA.debugLine="lfila.text = \"CATALOGO\""; -parent._lfila.setText(BA.ObjectToCharSequence("CATALOGO")); - //BA.debugLineNum = 329;BA.debugLine="Log(\"PGS\")"; -parent.__c.LogImpl("353477400","PGS",0); - //BA.debugLineNum = 330;BA.debugLine="ProgressDialogShow(\"Cargando catalogo ...\")"; -parent.__c.ProgressDialogShow(ba,BA.ObjectToCharSequence("Cargando catalogo ...")); - //BA.debugLineNum = 331;BA.debugLine="Sleep(100)"; -parent.__c.Sleep(ba,this,(int) (100)); -this.state = 29; -return; -case 29: -//C -this.state = 28; -; - //BA.debugLineNum = 332;BA.debugLine="Private inicioContador As String = DateTime.Now"; -_iniciocontador = BA.NumberToString(parent.__c.DateTime.getNow()); - //BA.debugLineNum = 333;BA.debugLine="llenaCatalogo(False)"; -parent._llenacatalogo(BA.ObjectToString(parent.__c.False)); - //BA.debugLineNum = 334;BA.debugLine="clv_prods_ll.AsView.Visible = True"; -parent._clv_prods_ll._asview().setVisible(parent.__c.True); - //BA.debugLineNum = 335;BA.debugLine="Log(\"PGH\")"; -parent.__c.LogImpl("353477406","PGH",0); - //BA.debugLineNum = 336;BA.debugLine="LogColor(\"TIEMPO DE PROCESO DEL CATALOGO: \" & (("; -parent.__c.LogImpl("353477407","TIEMPO DE PROCESO DEL CATALOGO: "+BA.NumberToString(((parent.__c.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),parent.__c.Colors.Red); - //BA.debugLineNum = 337;BA.debugLine="ProgressDialogHide"; -parent.__c.ProgressDialogHide(); - //BA.debugLineNum = 338;BA.debugLine="c2.Close"; -parent._c2.Close(); - if (true) break; - -case 15: -//C -this.state = 16; - //BA.debugLineNum = 340;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -parent._clv_prods_ll._asview().setVisible(parent.__c.False); - //BA.debugLineNum = 341;BA.debugLine="lv_promos.Visible = True"; -parent._lv_promos.setVisible(parent.__c.True); - //BA.debugLineNum = 342;BA.debugLine="lv_catalogos.Visible = False"; -parent._lv_catalogos.setVisible(parent.__c.False); - //BA.debugLineNum = 343;BA.debugLine="lv_promos.Clear"; -parent._lv_promos.Clear(); - //BA.debugLineNum = 344;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 345;BA.debugLine="label1 = lv_promos.TwoLinesLayout.Label"; -_label1 = parent._lv_promos.getTwoLinesLayout().Label; - //BA.debugLineNum = 346;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 347;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 348;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 349;BA.debugLine="label2 = lv_promos.TwoLinesLayout.SecondLabel"; -_label2 = parent._lv_promos.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 350;BA.debugLine="label2.TextSize = 15"; -_label2.setTextSize((float) (15)); - //BA.debugLineNum = 351;BA.debugLine="label2.TextColor = Colors.Black"; -_label2.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 352;BA.debugLine="Dim label13 As Label"; -_label13 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 353;BA.debugLine="label13 = lv_promos.TwoLinesAndBitmap.Label"; -_label13 = parent._lv_promos.getTwoLinesAndBitmap().Label; - //BA.debugLineNum = 354;BA.debugLine="label13.TextSize = 15"; -_label13.setTextSize((float) (15)); - //BA.debugLineNum = 355;BA.debugLine="label13.TextColor = Colors.Black"; -_label13.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 356;BA.debugLine="Dim label14 As Label"; -_label14 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 357;BA.debugLine="label14 = lv_promos.TwoLinesAndBitmap.SecondLabe"; -_label14 = parent._lv_promos.getTwoLinesAndBitmap().SecondLabel; - //BA.debugLineNum = 358;BA.debugLine="label14.TextSize = 15"; -_label14.setTextSize((float) (15)); - //BA.debugLineNum = 359;BA.debugLine="label14.TextColor = Colors.Black"; -_label14.setTextColor(parent.__c.Colors.Black); - //BA.debugLineNum = 360;BA.debugLine="lfila.text = \"PROMOS\""; -parent._lfila.setText(BA.ObjectToCharSequence("PROMOS")); - //BA.debugLineNum = 361;BA.debugLine="If c2.RowCount > 0 Then"; -if (true) break; - -case 16: -//if -this.state = 27; -if (parent._c2.getRowCount()>0) { -this.state = 18; -}if (true) break; - -case 18: -//C -this.state = 19; - //BA.debugLineNum = 362;BA.debugLine="For i=0 To c2.RowCount -1"; -if (true) break; - -case 19: -//for -this.state = 26; -step57 = 1; -limit57 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 30; -if (true) break; - -case 30: -//C -this.state = 26; -if ((step57 > 0 && _i <= limit57) || (step57 < 0 && _i >= limit57)) this.state = 21; -if (true) break; - -case 31: -//C -this.state = 30; -_i = ((int)(0 + _i + step57)) ; -if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 363;BA.debugLine="c2.Position=i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 364;BA.debugLine="Private tm As Map = Subs.procesaPromocion(c2.G"; -_tm = new anywheresoftware.b4a.objects.collections.Map(); -_tm = parent._subs._procesapromocion /*anywheresoftware.b4a.objects.collections.Map*/ (ba,parent._c2.GetString("CAT_GP_ID"),parent._clienteid); - //BA.debugLineNum = 365;BA.debugLine="If tm.Get(\"status\") = \"ok\" Then 'Solo muestral"; -if (true) break; - -case 22: -//if -this.state = 25; -if ((_tm.Get((Object)("status"))).equals((Object)("ok"))) { -this.state = 24; -}if (true) break; - -case 24: -//C -this.state = 25; - //BA.debugLineNum = 366;BA.debugLine="lv_promos.AddTwoLines(c2.GetString(\"CAT_GP_NO"; -parent._lv_promos.AddTwoLines(BA.ObjectToCharSequence(parent._c2.GetString("CAT_GP_NOMBRE")),BA.ObjectToCharSequence("# "+parent._c2.GetString("CAT_GP_ALMACEN")+" $ "+parent._c2.GetString("CAT_GP_PRECIO")+" F:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsFijosCant")))+" V:"+BA.ObjectToString(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_tm.Get((Object)("mp"))))).Get((Object)("prodsVariablesCant"))))); - if (true) break; - -case 25: -//C -this.state = 31; -; - if (true) break; -if (true) break; - -case 26: -//C -this.state = 27; -; - if (true) break; - -case 27: -//C -this.state = 28; -; - //BA.debugLineNum = 370;BA.debugLine="c2.Close"; -parent._c2.Close(); - if (true) break; - -case 28: -//C -this.state = -1; -; - //BA.debugLineNum = 372;BA.debugLine="entro = \"4\""; -parent._entro = "4"; - //BA.debugLineNum = 373;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _lv_prodspedido_itemlongclick(int _position,Object _value) throws Exception{ -String _sdate = ""; -String _stime = ""; -String _clie_id = ""; -String _usuario = ""; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; - //BA.debugLineNum = 998;BA.debugLine="Private Sub lv_prodsPedido_ItemLongClick (Position"; - //BA.debugLineNum = 999;BA.debugLine="Private sDate,sTime, clie_id, usuario As String"; -_sdate = ""; -_stime = ""; -_clie_id = ""; -_usuario = ""; - //BA.debugLineNum = 1000;BA.debugLine="If Not(Subs.pedidoGuardado) Then"; -if (__c.Not(_subs._pedidoguardado /*boolean*/ (ba))) { - //BA.debugLineNum = 1001;BA.debugLine="result = Msgbox2(\"Seguro que desea borrar este"; -_result = BA.NumberToString(__c.Msgbox2(BA.ObjectToCharSequence("Seguro que desea borrar este articulo?"),BA.ObjectToCharSequence("Borrar Articulo"),"Si","","No",(android.graphics.Bitmap)(__c.LoadBitmap(__c.File.getDirAssets(),"alert2.png").getObject()),ba)); - //BA.debugLineNum = 1002;BA.debugLine="If result = DialogResponse.POSITIVE Then"; -if ((_result).equals(BA.NumberToString(__c.DialogResponse.POSITIVE))) { - //BA.debugLineNum = 1003;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery2(\"select PE_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select PE_PROID,PE_CANT, PE_FOLIO FROM PEDIDO where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) ",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 1004;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1005;BA.debugLine="Log(vamoaver.Get(Position))"; -__c.LogImpl("354853639",BA.ObjectToString(_vamoaver.Get(_position)),0); - //BA.debugLineNum = 1006;BA.debugLine="If vamoaver.Get(Position) = \"VENTA\" Then"; -if ((_vamoaver.Get(_position)).equals((Object)("VENTA"))) { - //BA.debugLineNum = 1007;BA.debugLine="Log(\"CAT_GUNAPROD2\")"; -__c.LogImpl("354853641","CAT_GUNAPROD2",0); - //BA.debugLineNum = 1008;BA.debugLine="Log(Position)"; -__c.LogImpl("354853642",BA.NumberToString(_position),0); - //BA.debugLineNum = 1009;BA.debugLine="Log(Value)"; -__c.LogImpl("354853643",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1010;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD2\""; -_starter._tabla /*String*/ = "CAT_GUNAPROD2"; - }else { - //BA.debugLineNum = 1012;BA.debugLine="Log(\"CAT_GUNAPROD\")"; -__c.LogImpl("354853646","CAT_GUNAPROD",0); - //BA.debugLineNum = 1013;BA.debugLine="Log(Position)"; -__c.LogImpl("354853647",BA.NumberToString(_position),0); - //BA.debugLineNum = 1014;BA.debugLine="Log(Value)"; -__c.LogImpl("354853648",BA.ObjectToString(_value),0); - //BA.debugLineNum = 1015;BA.debugLine="Starter.tabla = \"CAT_GUNAPROD\""; -_starter._tabla /*String*/ = "CAT_GUNAPROD"; - }; - //BA.debugLineNum = 1019;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT IN"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO INVENT_X_ENVIAR (ALMACEN , PROID , CANTIDAD ) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_subs._traealmacen /*String*/ (ba)),(Object)(_c.GetString("PE_PROID")),(Object)((double)(Double.parseDouble(_c.GetString("PE_CANT")))*-1)})); - //BA.debugLineNum = 1020;BA.debugLine="c2=B4XPages.MainPage.skmt.ExecQuery2($\"select c"; -_c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select count(*) AS CUANTOS from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_ID in (select pe_cedis from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa)) and CAT_GP_CLASIF = 'PROMOS' AND CAT_GP_TIPO = 'PROMOS' AND CAT_GP_SUBTIPO = 'PROMOS'"),new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 1021;BA.debugLine="c2.Position=0"; -_c2.setPosition((int) (0)); - //BA.debugLineNum = 1022;BA.debugLine="If c2.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c2.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 1023;BA.debugLine="j3 = B4XPages.MainPage.skmt.ExecQuery2(\"SELECT"; -_j3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("SELECT PE_CEDIS, PE_CANT,PE_PROID, PE_PRONOMBRE FROM PEDIDO WHERE PE_CEDIS IN (SELECT PE_CEDIS FROM PEDIDO WHERE PE_PRONOMBRE = ?)",new String[]{BA.ObjectToString(_value)}))); - //BA.debugLineNum = 1024;BA.debugLine="Log(j3.RowCount)"; -__c.LogImpl("354853658",BA.NumberToString(_j3.getRowCount()),0); - //BA.debugLineNum = 1025;BA.debugLine="If j3.RowCount > 0 Then"; -if (_j3.getRowCount()>0) { - //BA.debugLineNum = 1026;BA.debugLine="Log(\"estoy aqui\")"; -__c.LogImpl("354853660","estoy aqui",0); - //BA.debugLineNum = 1027;BA.debugLine="For i = 0 To j3.RowCount -1"; -{ -final int step27 = 1; -final int limit27 = (int) (_j3.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit27 ;_i = _i + step27 ) { - //BA.debugLineNum = 1028;BA.debugLine="Log(\"aqui tronare?\")"; -__c.LogImpl("354853662","aqui tronare?",0); - //BA.debugLineNum = 1029;BA.debugLine="j3.Position = i"; -_j3.setPosition(_i); - //BA.debugLineNum = 1030;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_j3.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1031;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_cedis in (select pe_cedis from pedido where pe_pronombre = ?) and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_j3.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_FOLIO"))})); - } -}; - }; - //BA.debugLineNum = 1034;BA.debugLine="j3.Close"; -_j3.Close(); - }else { - //BA.debugLineNum = 1036;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update $"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen + "+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CANT")))+" where cat_gp_id = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1037;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"delete f"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("delete from pedido where pe_pronombre = ? and pe_cliente in (Select CUENTA from cuentaa) AND PE_FOLIO = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value,(Object)(_c.GetString("PE_FOLIO"))})); - }; - //BA.debugLineNum = 1039;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1040;BA.debugLine="c2.Close"; -_c2.Close(); - //BA.debugLineNum = 1041;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 1042;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 1043;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 1044;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUEN"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 1045;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1046;BA.debugLine="clie_id = c.GetString(\"CUENTA\")"; -_clie_id = _c.GetString("CUENTA"); - //BA.debugLineNum = 1047;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select USUA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 1048;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1049;BA.debugLine="usuario = c.GetString(\"USUARIO\")"; -_usuario = _c.GetString("USUARIO"); - //BA.debugLineNum = 1050;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum("; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, count(*) as CUANTOS FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 1051;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1052;BA.debugLine="If c.GetString(\"CUANTOS\") > 0 Then"; -if ((double)(Double.parseDouble(_c.GetString("CUANTOS")))>0) { - //BA.debugLineNum = 1053;BA.debugLine="Log(\"aqui5\")"; -__c.LogImpl("354853687","aqui5",0); - //BA.debugLineNum = 1054;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1055;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert i"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT) VALUES (?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clie_id),(Object)(_sdate+_stime),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lon_gps /*String*/ ),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._lat_gps /*String*/ )})); - //BA.debugLineNum = 1056;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1057;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1058;BA.debugLine="Private h As Cursor = B4XPages.MainPage.skmt.E"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 1059;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 1060;BA.debugLine="l_cant.Text = h.GetString(\"PC_NOART\")"; -_l_cant.setText(BA.ObjectToCharSequence(_h.GetString("PC_NOART"))); - //BA.debugLineNum = 1061;BA.debugLine="l_total2.Text = h.GetString(\"PC_MONTO\")"; -_l_total2.setText(BA.ObjectToCharSequence(_h.GetString("PC_MONTO"))); - //BA.debugLineNum = 1062;BA.debugLine="h.Close"; -_h.Close(); - }else { - //BA.debugLineNum = 1064;BA.debugLine="Log(\"aqui6\")"; -__c.LogImpl("354853698","aqui6",0); - //BA.debugLineNum = 1065;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete fr"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1066;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE km"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1067;BA.debugLine="Private h As Cursor = B4XPages.MainPage.skmt.E"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(PE_CANT) as PC_NOART, sum (PE_COSTO_TOT) as PC_MONTO from PEDIDO where PE_CLIENTE in (Select CUENTA from cuentaa) AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP )"))); - //BA.debugLineNum = 1068;BA.debugLine="h.Position=0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 1069;BA.debugLine="l_cant.Text = 0"; -_l_cant.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 1070;BA.debugLine="l_total2.Text = 0"; -_l_total2.setText(BA.ObjectToCharSequence(0)); - //BA.debugLineNum = 1071;BA.debugLine="h.Close"; -_h.Close(); - }; - //BA.debugLineNum = 1073;BA.debugLine="b_terminar1_Click"; -_b_terminar1_click(); - }; - }else { - //BA.debugLineNum = 1076;BA.debugLine="ToastMessageShow(\"Esta venta ya esta guardada, n"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Esta venta ya esta guardada, no se puede editar ni borrar."),__c.False); - }; - //BA.debugLineNum = 1078;BA.debugLine="End Sub"; -return ""; -} -public String _lv_promos_itemclick(int _position,Object _value) throws Exception{ -adm.keymon.com.mx.c_cliente _cliente = null; -adm.keymon.com.mx.c_promos _promos = null; - //BA.debugLineNum = 375;BA.debugLine="Sub lv_promos_ItemClick (Position As Int, Value As"; - //BA.debugLineNum = 376;BA.debugLine="clv_prods_ll.AsView.Visible = False"; -_clv_prods_ll._asview().setVisible(__c.False); - //BA.debugLineNum = 377;BA.debugLine="Dim cliente As C_Cliente = B4XPages.GetPage(\"Clie"; -_cliente = (adm.keymon.com.mx.c_cliente)(_b4xpages._getpage /*Object*/ (ba,"Cliente")); - //BA.debugLineNum = 379;BA.debugLine="If Value = \"PROMOS\" And cliente.cuenta <> \"N\" The"; -if ((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N") == false) { - //BA.debugLineNum = 380;BA.debugLine="entro = \"3\""; -_entro = "3"; - //BA.debugLineNum = 381;BA.debugLine="marca = \"PROMOS\""; -_marca = "PROMOS"; - //BA.debugLineNum = 382;BA.debugLine="tipo = \"PROMOS\""; -_tipo = "PROMOS"; - }else if((_value).equals((Object)("PROMOS")) && (_cliente._cuenta /*String*/ ).equals("N")) { - //BA.debugLineNum = 384;BA.debugLine="entro = \"5\""; -_entro = "5"; - //BA.debugLineNum = 385;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -_b4xpages._showpage /*String*/ (ba,"Cliente"); - }; - //BA.debugLineNum = 387;BA.debugLine="If entro = \"3\" Then"; -if ((_entro).equals("3")) { - }else if((_entro).equals("4")) { - //BA.debugLineNum = 391;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from PROID"); - //BA.debugLineNum = 392;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PROID VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 393;BA.debugLine="Dim promos As C_Promos = B4XPages.GetPage(\"Promo"; -_promos = (adm.keymon.com.mx.c_promos)(_b4xpages._getpage /*Object*/ (ba,"Promos")); - //BA.debugLineNum = 394;BA.debugLine="promos.laPromo = Subs.traeProdIdDeBD.Get(\"id\")"; -_promos._lapromo /*String*/ = BA.ObjectToString(_subs._traeprodiddebd /*anywheresoftware.b4a.objects.collections.Map*/ (ba).Get((Object)("id"))); - //BA.debugLineNum = 395;BA.debugLine="promos.elCliente = Subs.traeUsuarioDeBD"; -_promos._elcliente /*String*/ = _subs._traeusuariodebd /*String*/ (ba); - //BA.debugLineNum = 396;BA.debugLine="B4XPages.ShowPage(\"Promos\")"; -_b4xpages._showpage /*String*/ (ba,"Promos"); - }; - //BA.debugLineNum = 398;BA.debugLine="End Sub"; -return ""; -} -public String _lv_promos_itemlongclick(int _position,Object _value) throws Exception{ -String _id = ""; - //BA.debugLineNum = 913;BA.debugLine="Private Sub lv_promos_ItemLongClick (Position As I"; - //BA.debugLineNum = 914;BA.debugLine="Log(\"Promo longclic = \"&Value)"; -__c.LogImpl("354460417","Promo longclic = "+BA.ObjectToString(_value),0); - //BA.debugLineNum = 915;BA.debugLine="Private id As String = \"\""; -_id = ""; - //BA.debugLineNum = 916;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.ExecQuer"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID from "+__c.SmartStringFormatter("",(Object)(_starter._tabla /*String*/ ))+" where CAT_GP_TIPO = 'PROMOS' and CAT_GP_NOMBRE = '"+__c.SmartStringFormatter("",_value)+"'")))); - //BA.debugLineNum = 917;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 918;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 919;BA.debugLine="id = c.GetString(\"CAT_GP_ID\")"; -_id = _c.GetString("CAT_GP_ID"); - }; - //BA.debugLineNum = 921;BA.debugLine="l_info.Text = $\"ID: ${id}${CRLF}${Value}\"$"; -_l_info.setText(BA.ObjectToCharSequence(("ID: "+__c.SmartStringFormatter("",(Object)(_id))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",_value)+""))); - //BA.debugLineNum = 922;BA.debugLine="l_info.Visible = True"; -_l_info.setVisible(__c.True); - //BA.debugLineNum = 923;BA.debugLine="End Sub"; -return ""; -} -public String _lv_subtipo_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 950;BA.debugLine="Private Sub lv_subtipo_ItemClick (Position As Int,"; - //BA.debugLineNum = 964;BA.debugLine="End Sub"; -return ""; -} -public String _lv_tipo_itemclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 930;BA.debugLine="Private Sub lv_tipo_ItemClick (Position As Int, Va"; - //BA.debugLineNum = 948;BA.debugLine="End Sub"; -return ""; -} -public String _p_vistapreviatrans_click() throws Exception{ - //BA.debugLineNum = 966;BA.debugLine="Private Sub p_vistaPreviaTrans_Click"; - //BA.debugLineNum = 968;BA.debugLine="End Sub"; -return ""; -} -public String _pclv_addprods() throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Sub PCLV_AddProds"; - //BA.debugLineNum = 249;BA.debugLine="End Sub"; -return ""; -} -public Object _pclv_hintrequested(int _index) throws Exception{ -String _word = ""; - //BA.debugLineNum = 1330;BA.debugLine="Sub PCLV_HintRequested(Index As Int) As Object"; - //BA.debugLineNum = 1331;BA.debugLine="Dim word As String = listaHints.get(Index)"; -_word = BA.ObjectToString(_listahints.Get(_index)); - //BA.debugLineNum = 1332;BA.debugLine="Return word"; -if (true) return (Object)(_word); - //BA.debugLineNum = 1333;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_promos.java b/B4A/Objects/src/adm/keymon/com/mx/c_promos.java deleted file mode 100644 index 8371916..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_promos.java +++ /dev/null @@ -1,1164 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_promos extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_promos"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_promos.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_promodesc = null; -public anywheresoftware.b4a.objects.ListViewWrapper _lv_prodsfijos = null; -public b4a.example3.customlistview _clv_prodsvariabes = null; -public b4a.example3.customlistview _clv_prodsvariabes2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodsfijos = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodsvariables = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodsvariables2 = null; -public anywheresoftware.b4a.objects.ImageViewWrapper _i_prod = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_prodx = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prods = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmenos2 = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_pcant = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_prodmas2 = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_pcant = null; -public int _totalprods = 0; -public int _prodsvar1 = 0; -public int _prodsvar2 = 0; -public int _prodsvarreq = 0; -public int _prodsvarreq_ = 0; -public int _prodsvarreq2 = 0; -public int _prodsvarreq2_ = 0; -public float _totalcompra = 0f; -public float _prodsfijostot = 0f; -public int _tpf = 0; -public int _tpf2 = 0; -public int _maxcantpromos = 0; -public anywheresoftware.b4a.objects.LabelWrapper _l_totprods = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_total = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_terminar1 = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_promociones = null; -public anywheresoftware.b4a.objects.collections.List _prodsids = null; -public anywheresoftware.b4a.objects.collections.List _prodscants = null; -public anywheresoftware.b4a.objects.collections.List _prodsprecios = null; -public anywheresoftware.b4a.objects.collections.List _prodsids2 = null; -public anywheresoftware.b4a.objects.collections.List _prodscants2 = null; -public anywheresoftware.b4a.objects.collections.List _prodsprecios2 = null; -public String _estapromo = ""; -public String _estecliente = ""; -public anywheresoftware.b4a.objects.ButtonWrapper _b_promomas = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_promomenos = null; -public anywheresoftware.b4a.objects.EditTextWrapper _et_promocant = null; -public anywheresoftware.b4a.objects.LabelWrapper _l_promoscant = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_continuar = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prodsvariables = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_prodsvariables2 = null; -public String _lapromo = ""; -public String _elcliente = ""; -public String _prodspedidoactual = ""; -public String _montopedidoactual = ""; -public anywheresoftware.b4a.objects.collections.Map _promosmap = null; -public anywheresoftware.b4a.objects.StringUtils _su = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregafijosalista(anywheresoftware.b4a.objects.collections.Map _mp,boolean _addlistitem) throws Exception{ -boolean _thislog = false; -int _cont = 0; -anywheresoftware.b4a.objects.collections.List _pf = null; -String _p = ""; -String _tpi = ""; -String _tpr = ""; -int _ntpi = 0; - //BA.debugLineNum = 216;BA.debugLine="Sub agregaFijosALista(mp As Map, addListItem As Bo"; - //BA.debugLineNum = 217;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = __c.False; - //BA.debugLineNum = 218;BA.debugLine="Private cont As Int = 0"; -_cont = (int) (0); - //BA.debugLineNum = 219;BA.debugLine="prodsFijosTot = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 220;BA.debugLine="Dim pf As List = mp.Get(\"prodsFijos\")"; -_pf = new anywheresoftware.b4a.objects.collections.List(); -_pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 221;BA.debugLine="If pf.Size < 1 Then pf.Add(\"Sin productos fijos.\""; -if (_pf.getSize()<1) { -_pf.Add((Object)("Sin productos fijos."));}; - //BA.debugLineNum = 225;BA.debugLine="prodsIds.clear"; -_prodsids.Clear(); - //BA.debugLineNum = 226;BA.debugLine="prodsCants.clear"; -_prodscants.Clear(); - //BA.debugLineNum = 227;BA.debugLine="prodsPrecios.clear"; -_prodsprecios.Clear(); - //BA.debugLineNum = 228;BA.debugLine="prodsIds.Add(estaPromo)"; -_prodsids.Add((Object)(_estapromo)); - //BA.debugLineNum = 229;BA.debugLine="prodsCants.Add(et_promoCant.text.As(Int))"; -_prodscants.Add((Object)(((int)(Double.parseDouble(_et_promocant.getText()))))); - //BA.debugLineNum = 230;BA.debugLine="prodsPrecios.Add(0)"; -_prodsprecios.Add((Object)(0)); - //BA.debugLineNum = 231;BA.debugLine="For Each p As String In pf"; -{ -final anywheresoftware.b4a.BA.IterableList group12 = _pf; -final int groupLen12 = group12.getSize() -;int index12 = 0; -; -for (; index12 < groupLen12;index12++){ -_p = BA.ObjectToString(group12.Get(index12)); - //BA.debugLineNum = 233;BA.debugLine="If mp.Get(\"prodsFijosPiezas\").As(List).Size > 0"; -if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).getSize()>0) { - //BA.debugLineNum = 234;BA.debugLine="Private tpi As String = mp.Get(\"prodsFijosPieza"; -_tpi = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))).Get(_cont)); - }else { - //BA.debugLineNum = 236;BA.debugLine="Private tpi As String = 0"; -_tpi = BA.NumberToString(0); - }; - //BA.debugLineNum = 238;BA.debugLine="If mp.Get(\"prodsFijosPrecios\").As(List).Size > 0"; -if (((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).getSize()>0) { - //BA.debugLineNum = 239;BA.debugLine="Private tpr As String = mp.Get(\"prodsFijosPreci"; -_tpr = BA.ObjectToString(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPrecios"))))).Get(_cont)); - }else { - //BA.debugLineNum = 241;BA.debugLine="Private tpr As String = 0"; -_tpr = BA.NumberToString(0); - }; - //BA.debugLineNum = 243;BA.debugLine="prodsFijosTot = prodsFijosTot + (tpi * tpr)"; -_prodsfijostot = (float) (_prodsfijostot+((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_tpr)))); - //BA.debugLineNum = 244;BA.debugLine="If thisLog Then Log(\"|\"&tpi&\"|\"&p)"; -if (_thislog) { -__c.LogImpl("355902236","|"+_tpi+"|"+_p,0);}; - //BA.debugLineNum = 245;BA.debugLine="Private ntpi As Int = tpi * et_promoCant.text"; -_ntpi = (int) ((double)(Double.parseDouble(_tpi))*(double)(Double.parseDouble(_et_promocant.getText()))); - //BA.debugLineNum = 246;BA.debugLine="If addListItem And tpi > 0 Then lv_prodsFijos.Ad"; -if (_addlistitem && (double)(Double.parseDouble(_tpi))>0) { -_lv_prodsfijos.AddSingleLine(BA.ObjectToCharSequence(BA.NumberToString(_ntpi)+" "+_subs._traeprodnombre /*String*/ (ba,_p)+" - $"+_tpr));}; - //BA.debugLineNum = 247;BA.debugLine="cont = cont+1"; -_cont = (int) (_cont+1); - //BA.debugLineNum = 250;BA.debugLine="prodsIds.Add(p)"; -_prodsids.Add((Object)(_p)); - //BA.debugLineNum = 251;BA.debugLine="prodsCants.Add(tpi.As(Int)*et_promoCant.text.As("; -_prodscants.Add((Object)(((int)(Double.parseDouble(_tpi)))*((int)(Double.parseDouble(_et_promocant.getText()))))); - //BA.debugLineNum = 252;BA.debugLine="prodsPrecios.Add(tpr) '*et_promoCant.text.As(Int"; -_prodsprecios.Add((Object)(_tpr)); - } -}; - //BA.debugLineNum = 254;BA.debugLine="End Sub"; -return ""; -} -public String _b_continuar_click() throws Exception{ -int _t = 0; -String _pn = ""; -adm.keymon.com.mx.c_productos _prodspage = null; - //BA.debugLineNum = 556;BA.debugLine="Private Sub b_continuar_Click"; - //BA.debugLineNum = 557;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 558;BA.debugLine="Log(\"============================================"; -__c.LogImpl("356754178","====================================================================",0); - //BA.debugLineNum = 559;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; -{ -final int step3 = 1; -final int limit3 = (int) (_prodsids.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit3 ;_t = _t + step3 ) { - //BA.debugLineNum = 560;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids.Get(_t))); - //BA.debugLineNum = 561;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - } -}; - //BA.debugLineNum = 563;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; -{ -final int step7 = 1; -final int limit7 = (int) (_prodsids2.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit7 ;_t = _t + step7 ) { - //BA.debugLineNum = 564;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids2.Get(_t))); - //BA.debugLineNum = 565;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - } -}; - //BA.debugLineNum = 579;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 582;BA.debugLine="Private prodspage As C_Productos"; -_prodspage = new adm.keymon.com.mx.c_productos(); - //BA.debugLineNum = 583;BA.debugLine="If prodspage.IsInitialized Then"; -if (_prodspage.IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 584;BA.debugLine="prodspage.lv_catalogos.Visible = True"; -_prodspage._lv_catalogos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.True); - //BA.debugLineNum = 585;BA.debugLine="prodspage.lv_promos.Visible = False"; -_prodspage._lv_promos /*anywheresoftware.b4a.objects.ListViewWrapper*/ .setVisible(__c.False); - //BA.debugLineNum = 586;BA.debugLine="prodspage.clv_productos.AsView.Visible = False"; -_prodspage._clv_productos /*b4a.example3.customlistview*/ ._asview().setVisible(__c.False); - }; - //BA.debugLineNum = 588;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; - //BA.debugLineNum = 589;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 590;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmas_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 321;BA.debugLine="Sub b_prodMas_Click"; - //BA.debugLineNum = 322;BA.debugLine="If prodsVar1 < prodsVarReq Then"; -if (_prodsvar1<_prodsvarreq) { - //BA.debugLineNum = 323;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFrom"; -_index = _clv_prodsvariabes._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 324;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes._getpanel(_index); - //BA.debugLineNum = 325;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 327;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 330;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 332;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { - //BA.debugLineNum = 333;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); - //BA.debugLineNum = 334;BA.debugLine="cuentaProds"; -_cuentaprods(); - }; - //BA.debugLineNum = 338;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 340;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 341;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 343;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - }; - //BA.debugLineNum = 349;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmas2_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 376;BA.debugLine="Sub b_prodMas2_Click"; - //BA.debugLineNum = 378;BA.debugLine="If prodsVar2 < prodsVarReq2 Then"; -if (_prodsvar2<_prodsvarreq2) { - //BA.debugLineNum = 379;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFro"; -_index = _clv_prodsvariabes2._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 380;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPane"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes2._getpanel(_index); - //BA.debugLineNum = 381;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 383;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 386;BA.debugLine="Dim esteTag As List = Regex.Split(\"\\|\", laCant.T"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))); - //BA.debugLineNum = 388;BA.debugLine="If laCant.Text + 1 <= esteTag.get(1) Then"; -if ((double)(Double.parseDouble(_lacant.getText()))+1<=(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { - //BA.debugLineNum = 389;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text+1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))+1))+""))); - //BA.debugLineNum = 390;BA.debugLine="cuentaProds"; -_cuentaprods(); - }; - //BA.debugLineNum = 394;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laC"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 396;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laC"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 397;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":preci"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 399;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - }; - //BA.debugLineNum = 405;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 297;BA.debugLine="Sub b_prodMenos_Click"; - //BA.debugLineNum = 298;BA.debugLine="Dim index As Int = clv_prodsVariabes.GetItemFromV"; -_index = _clv_prodsvariabes._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 299;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes.GetPanel("; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes._getpanel(_index); - //BA.debugLineNum = 300;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 302;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 304;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); - //BA.debugLineNum = 305;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 308;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 310;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 311;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 313;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - //BA.debugLineNum = 314;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_promosmap.Remove((Object)(_prodid));}; - //BA.debugLineNum = 316;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 319;BA.debugLine="End Sub"; -return ""; -} -public String _b_prodmenos2_click() throws Exception{ -int _index = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -anywheresoftware.b4a.objects.B4XViewWrapper _lacant = null; -String _precio = ""; -String _prodid = ""; -anywheresoftware.b4a.objects.collections.Map _tmpmap = null; - //BA.debugLineNum = 352;BA.debugLine="Sub b_prodMenos2_Click"; - //BA.debugLineNum = 353;BA.debugLine="Dim index As Int = clv_prodsVariabes2.GetItemFrom"; -_index = _clv_prodsvariabes2._getitemfromview((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba)))); - //BA.debugLineNum = 354;BA.debugLine="Dim pnl0 As B4XView = clv_prodsVariabes2.GetPanel"; -_pnl0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl0 = _clv_prodsvariabes2._getpanel(_index); - //BA.debugLineNum = 355;BA.debugLine="Dim pnl As B4XView = pnl0.GetView(0)"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_pnl = _pnl0.GetView((int) (0)); - //BA.debugLineNum = 357;BA.debugLine="Dim laCant As B4XView = pnl.GetView(2).GetView(4)"; -_lacant = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_lacant = _pnl.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 359;BA.debugLine="laCant.Text = $\"$1.0{laCant.Text-1}\"$"; -_lacant.setText(BA.ObjectToCharSequence((""+__c.SmartStringFormatter("1.0",(Object)((double)(Double.parseDouble(_lacant.getText()))-1))+""))); - //BA.debugLineNum = 360;BA.debugLine="If laCant.Text < 0 Then laCant.Text = 0"; -if ((double)(Double.parseDouble(_lacant.getText()))<0) { -_lacant.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 363;BA.debugLine="Private precio As String = Regex.Split(\"\\|\", laCa"; -_precio = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (0)]; - //BA.debugLineNum = 365;BA.debugLine="Private prodId As String = Regex.Split(\"\\|\", laCa"; -_prodid = __c.Regex.Split("\\|",BA.ObjectToString(_lacant.getTag()))[(int) (2)]; - //BA.debugLineNum = 366;BA.debugLine="Private tmpMap As Map = CreateMap(\"precio\":precio"; -_tmpmap = new anywheresoftware.b4a.objects.collections.Map(); -_tmpmap = __c.createMap(new Object[] {(Object)("precio"),(Object)(_precio),(Object)("cant"),(Object)(_lacant.getText()),(Object)("almacen"),(Object)(_estapromo)}); - //BA.debugLineNum = 368;BA.debugLine="promosMap.Put(prodId, tmpMap)"; -_promosmap.Put((Object)(_prodid),(Object)(_tmpmap.getObject())); - //BA.debugLineNum = 369;BA.debugLine="If laCant.Text = 0 Then promosMap.Remove(prodId)"; -if ((_lacant.getText()).equals(BA.NumberToString(0))) { -_promosmap.Remove((Object)(_prodid));}; - //BA.debugLineNum = 371;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 374;BA.debugLine="End Sub"; -return ""; -} -public String _b_promomas_click() throws Exception{ - //BA.debugLineNum = 512;BA.debugLine="Private Sub b_promoMas_Click"; - //BA.debugLineNum = 513;BA.debugLine="If et_promoCant.Text < maxCantPromos Then"; -if ((double)(Double.parseDouble(_et_promocant.getText()))<_maxcantpromos) { - //BA.debugLineNum = 514;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) +"; -_et_promocant.setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(_et_promocant.getText())))+1)); - //BA.debugLineNum = 515;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 *"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))))+")"))); - //BA.debugLineNum = 516;BA.debugLine="l_prodsVariables.Text = $\"Productos variables re"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 517;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 518;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; -_tpf = (int) (_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 519;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.A"; -_prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 520;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text"; -_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 521;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, P"; -__c.LogImpl("356623113",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0); - }; - //BA.debugLineNum = 523;BA.debugLine="If et_promoCant.text > maxCantPromos Then et_prom"; -if ((double)(Double.parseDouble(_et_promocant.getText()))>_maxcantpromos) { -_et_promocant.setText(BA.ObjectToCharSequence(_maxcantpromos));}; - //BA.debugLineNum = 524;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 525;BA.debugLine="End Sub"; -return ""; -} -public String _b_promomenos_click() throws Exception{ - //BA.debugLineNum = 498;BA.debugLine="Private Sub b_promoMenos_Click"; - //BA.debugLineNum = 499;BA.debugLine="If et_promoCant.Text > 1 Then"; -if ((double)(Double.parseDouble(_et_promocant.getText()))>1) { - //BA.debugLineNum = 500;BA.debugLine="et_promoCant.Text = et_promoCant.Text.As(Int) -"; -_et_promocant.setText(BA.ObjectToCharSequence(((int)(Double.parseDouble(_et_promocant.getText())))-1)); - }; - //BA.debugLineNum = 502;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf2 * e"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))))+")"))); - //BA.debugLineNum = 503;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 504;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))))+""))); - //BA.debugLineNum = 505;BA.debugLine="tpf = tpf2 * et_promoCant.Text.As(Int)"; -_tpf = (int) (_tpf2*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 506;BA.debugLine="prodsVarReq = prodsVarReq_ * et_promoCant.Text.As"; -_prodsvarreq = (int) (_prodsvarreq_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 507;BA.debugLine="prodsVarReq2 = prodsVarReq2_ * et_promoCant.Text."; -_prodsvarreq2 = (int) (_prodsvarreq2_*((int)(Double.parseDouble(_et_promocant.getText())))); - //BA.debugLineNum = 508;BA.debugLine="Log($\"Max promos=${et_promoCant.Text.As(Int)}, Pr"; -__c.LogImpl("356557578",("Max promos="+__c.SmartStringFormatter("",(Object)(((int)(Double.parseDouble(_et_promocant.getText())))))+", Prods fijos="+__c.SmartStringFormatter("",(Object)(_tpf))+", "),0); - //BA.debugLineNum = 509;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 510;BA.debugLine="End Sub"; -return ""; -} -public String _b_terminar1_click() throws Exception{ -int _t = 0; -String _pn = ""; - //BA.debugLineNum = 527;BA.debugLine="Private Sub b_terminar1_Click"; - //BA.debugLineNum = 528;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 529;BA.debugLine="Log(\"============================================"; -__c.LogImpl("356688642","====================================================================",0); - //BA.debugLineNum = 530;BA.debugLine="For t = 0 To prodsIds.Size - 1 'Guardamos los pro"; -{ -final int step3 = 1; -final int limit3 = (int) (_prodsids.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit3 ;_t = _t + step3 ) { - //BA.debugLineNum = 531;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids.Get(_t))); - //BA.debugLineNum = 532;BA.debugLine="If prodsCants.Get(t) > 0 Then Subs.guardaProduct"; -if ((double)(BA.ObjectToNumber(_prodscants.Get(_t)))>0) { -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios.Get(_t)),BA.ObjectToString(_prodscants.Get(_t)),_pn,BA.ObjectToString(_prodsids.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0));}; - } -}; - //BA.debugLineNum = 534;BA.debugLine="For t = 0 To prodsIds2.Size - 1 'Guardamos los pr"; -{ -final int step7 = 1; -final int limit7 = (int) (_prodsids2.getSize()-1); -_t = (int) (0) ; -for (;_t <= limit7 ;_t = _t + step7 ) { - //BA.debugLineNum = 535;BA.debugLine="Private pn As String = Subs.traeProdNombre(prods"; -_pn = _subs._traeprodnombre /*String*/ (ba,BA.ObjectToString(_prodsids2.Get(_t))); - //BA.debugLineNum = 536;BA.debugLine="Subs.guardaProductoSinGestion(estaPromo, prodsPr"; -_subs._guardaproductosingestion /*String*/ (ba,_estapromo,BA.ObjectToString(_prodsprecios2.Get(_t)),BA.ObjectToString(_prodscants2.Get(_t)),_pn,BA.ObjectToString(_prodsids2.Get(_t)),_subs._traecliente /*String*/ (ba),_subs._traefecha /*String*/ (ba),_subs._traeusuariodebd /*String*/ (ba),_subs._traeruta /*String*/ (ba),BA.NumberToString(0),_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._tipo_venta /*String*/ ,BA.NumberToString(0),BA.NumberToString(0)); - } -}; - //BA.debugLineNum = 550;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 551;BA.debugLine="B4XPages.MainPage.bTerminarClicked = True"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._bterminarclicked /*boolean*/ = __c.True; - //BA.debugLineNum = 552;BA.debugLine="B4XPages.ShowPage(\"productos\")"; -_b4xpages._showpage /*String*/ (ba,"productos"); - //BA.debugLineNum = 553;BA.debugLine="B4XPages.MainPage.productos.b_terminar1_Click"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._productos /*adm.keymon.com.mx.c_productos*/ ._b_terminar1_click /*String*/ (); - //BA.debugLineNum = 554;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 68;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 70;BA.debugLine="prodsIds.Initialize"; -_prodsids.Initialize(); - //BA.debugLineNum = 71;BA.debugLine="prodsCants.Initialize"; -_prodscants.Initialize(); - //BA.debugLineNum = 72;BA.debugLine="prodsPrecios.Initialize"; -_prodsprecios.Initialize(); - //BA.debugLineNum = 73;BA.debugLine="prodsIds2.Initialize"; -_prodsids2.Initialize(); - //BA.debugLineNum = 74;BA.debugLine="prodsCants2.Initialize"; -_prodscants2.Initialize(); - //BA.debugLineNum = 75;BA.debugLine="prodsPrecios2.Initialize"; -_prodsprecios2.Initialize(); - //BA.debugLineNum = 76;BA.debugLine="Dim m As Map = Subs.traeTotalesClienteActual"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = _subs._traetotalesclienteactual /*anywheresoftware.b4a.objects.collections.Map*/ (ba); - //BA.debugLineNum = 77;BA.debugLine="prodsPedidoActual = m.Get(\"productos\")"; -_prodspedidoactual = BA.ObjectToString(_m.Get((Object)("productos"))); - //BA.debugLineNum = 78;BA.debugLine="montoPedidoActual = m.Get(\"monto\")"; -_montopedidoactual = BA.ObjectToString(_m.Get((Object)("monto"))); - //BA.debugLineNum = 80;BA.debugLine="If laPromo <> \"\" Then muestraPromo(laPromo, elCli"; -if ((_lapromo).equals("") == false) { -_muestrapromo(_lapromo,_elcliente);}; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 53;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 54;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 56;BA.debugLine="Root.LoadLayout(\"promociones\")"; -_root.LoadLayout("promociones",ba); - //BA.debugLineNum = 58;BA.debugLine="p_promociones.Height= Root.Height"; -_p_promociones.setHeight(_root.getHeight()); - //BA.debugLineNum = 59;BA.debugLine="p_promociones.Width= Root.Width"; -_p_promociones.setWidth(_root.getWidth()); - //BA.debugLineNum = 61;BA.debugLine="promosMap.Initialize"; -_promosmap.Initialize(); - //BA.debugLineNum = 62;BA.debugLine="p_promociones.Top=0"; -_p_promociones.setTop((int) (0)); - //BA.debugLineNum = 63;BA.debugLine="p_promociones.Left=0"; -_p_promociones.setLeft((int) (0)); - //BA.debugLineNum = 64;BA.debugLine="b_terminar1.Left = Root.Width - (b_terminar1.Widt"; -_b_terminar1.setLeft((int) (_root.getWidth()-(_b_terminar1.getWidth()+10))); - //BA.debugLineNum = 65;BA.debugLine="b_continuar.Left = Root.Width - b_terminar1.Width"; -_b_continuar.setLeft((int) (_root.getWidth()-_b_terminar1.getWidth()-(_b_continuar.getWidth()+20))); - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private l_promoDesc As Label"; -_l_promodesc = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private lv_prodsFijos As ListView"; -_lv_prodsfijos = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private clv_prodsVariabes, clv_prodsVariabes2 As"; -_clv_prodsvariabes = new b4a.example3.customlistview(); -_clv_prodsvariabes2 = new b4a.example3.customlistview(); - //BA.debugLineNum = 7;BA.debugLine="Private l_prodsFijos As Label"; -_l_prodsfijos = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Private l_prodsVariables, l_prodsVariables2 As La"; -_l_prodsvariables = new anywheresoftware.b4a.objects.LabelWrapper(); -_l_prodsvariables2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 9;BA.debugLine="Private i_prod As ImageView"; -_i_prod = new anywheresoftware.b4a.objects.ImageViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private l_prodX As Label"; -_l_prodx = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Private p_prods As Panel"; -_p_prods = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 12;BA.debugLine="Private b_prodMenos, b_prodMenos2 As Button"; -_b_prodmenos = new anywheresoftware.b4a.objects.ButtonWrapper(); -_b_prodmenos2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Private et_pCant As EditText"; -_et_pcant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Private b_prodMas, b_prodMas2 As Button"; -_b_prodmas = new anywheresoftware.b4a.objects.ButtonWrapper(); -_b_prodmas2 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private l_pCant As Label"; -_l_pcant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim totalProds As Int = 0"; -_totalprods = (int) (0); - //BA.debugLineNum = 17;BA.debugLine="Dim prodsVar1 As Int = 0"; -_prodsvar1 = (int) (0); - //BA.debugLineNum = 18;BA.debugLine="Dim prodsVar2 As Int = 0"; -_prodsvar2 = (int) (0); - //BA.debugLineNum = 19;BA.debugLine="Dim prodsVarReq As Int = 0"; -_prodsvarreq = (int) (0); - //BA.debugLineNum = 20;BA.debugLine="Dim prodsVarReq_ As Int = 0"; -_prodsvarreq_ = (int) (0); - //BA.debugLineNum = 21;BA.debugLine="Dim prodsVarReq2 As Int = 0"; -_prodsvarreq2 = (int) (0); - //BA.debugLineNum = 22;BA.debugLine="Dim prodsVarReq2_ As Int = 0"; -_prodsvarreq2_ = (int) (0); - //BA.debugLineNum = 23;BA.debugLine="Dim totalCompra As Float = 0"; -_totalcompra = (float) (0); - //BA.debugLineNum = 24;BA.debugLine="Dim prodsFijosTot As Float = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 25;BA.debugLine="Dim tpf As Int = 0"; -_tpf = (int) (0); - //BA.debugLineNum = 26;BA.debugLine="Dim tpf2 As Int = 0"; -_tpf2 = (int) (0); - //BA.debugLineNum = 27;BA.debugLine="Dim maxCantPromos As Int = 1"; -_maxcantpromos = (int) (1); - //BA.debugLineNum = 28;BA.debugLine="Private l_totProds As Label"; -_l_totprods = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 29;BA.debugLine="Private l_total As Label"; -_l_total = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 30;BA.debugLine="Private b_terminar1 As Button"; -_b_terminar1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Private p_promociones As Panel"; -_p_promociones = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Dim prodsIds, prodsCants, prodsPrecios, prodsIds2"; -_prodsids = new anywheresoftware.b4a.objects.collections.List(); -_prodscants = new anywheresoftware.b4a.objects.collections.List(); -_prodsprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsids2 = new anywheresoftware.b4a.objects.collections.List(); -_prodscants2 = new anywheresoftware.b4a.objects.collections.List(); -_prodsprecios2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 33;BA.debugLine="Dim estaPromo, esteCliente As String"; -_estapromo = ""; -_estecliente = ""; - //BA.debugLineNum = 34;BA.debugLine="Private b_promoMas As Button"; -_b_promomas = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Private b_promoMenos As Button"; -_b_promomenos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Private et_promoCant As EditText"; -_et_promocant = new anywheresoftware.b4a.objects.EditTextWrapper(); - //BA.debugLineNum = 37;BA.debugLine="Private l_promosCant As Label"; -_l_promoscant = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 38;BA.debugLine="Private b_continuar As Button"; -_b_continuar = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private p_prodsVariables, p_prodsVariables2 As Pa"; -_p_prodsvariables = new anywheresoftware.b4a.objects.PanelWrapper(); -_p_prodsvariables2 = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 40;BA.debugLine="Dim laPromo = \"\", elCliente = \"\" As String"; -_lapromo = ""; -_elcliente = ""; - //BA.debugLineNum = 41;BA.debugLine="Dim prodsPedidoActual As String"; -_prodspedidoactual = ""; - //BA.debugLineNum = 42;BA.debugLine="Dim montoPedidoActual As String"; -_montopedidoactual = ""; - //BA.debugLineNum = 43;BA.debugLine="Dim promosMap As Map"; -_promosmap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 44;BA.debugLine="Dim su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 256;BA.debugLine="Sub CreateListItem(Text As String, precioU As Stri"; - //BA.debugLineNum = 257;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 258;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 259;BA.debugLine="p.LoadLayout(\"prodItem1\")"; -_p.LoadLayout("prodItem1",ba); - //BA.debugLineNum = 260;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 261;BA.debugLine="l_prodX.Text = Text"; -_l_prodx.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 262;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 265;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; -_p_prods.setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_l_prodx.getObject()),BA.ObjectToCharSequence(_l_prodx.getText()))+20)); - //BA.debugLineNum = 266;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; -if (_p_prods.getHeight()<_height) { -_p_prods.setHeight(_height);}; - //BA.debugLineNum = 267;BA.debugLine="l_prodX.Height = p_prods.Height"; -_l_prodx.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 268;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_l_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 269;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_et_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 270;BA.debugLine="et_pCant.BringToFront"; -_et_pcant.BringToFront(); - //BA.debugLineNum = 272;BA.debugLine="p.Height = p_prods.Height"; -_p.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 273;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.PanelWrapper _createlistitem2(String _text,String _preciou,int _inv,int _width,int _height,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _img,String _prodid) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 276;BA.debugLine="Sub CreateListItem2(Text As String, precioU As Str"; - //BA.debugLineNum = 277;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 278;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_width,_height); - //BA.debugLineNum = 279;BA.debugLine="p.LoadLayout(\"prodItem2\")"; -_p.LoadLayout("prodItem2",ba); - //BA.debugLineNum = 280;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 281;BA.debugLine="l_prodX.Text = Text"; -_l_prodx.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 282;BA.debugLine="l_prodX.TextSize = 15"; -_l_prodx.setTextSize((float) (15)); - //BA.debugLineNum = 285;BA.debugLine="p_prods.height = su.MeasureMultilineTextHeight(l_"; -_p_prods.setHeight((int) (_su.MeasureMultilineTextHeight((android.widget.TextView)(_l_prodx.getObject()),BA.ObjectToCharSequence(_l_prodx.getText()))+20)); - //BA.debugLineNum = 286;BA.debugLine="If p_prods.Height < Height Then p_prods.Height ="; -if (_p_prods.getHeight()<_height) { -_p_prods.setHeight(_height);}; - //BA.debugLineNum = 287;BA.debugLine="l_prodX.Height = p_prods.Height"; -_l_prodx.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 289;BA.debugLine="l_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_l_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 290;BA.debugLine="et_pCant.Tag = precioU&\"|\"&inv&\"|\"&prodId"; -_et_pcant.setTag((Object)(_preciou+"|"+BA.NumberToString(_inv)+"|"+_prodid)); - //BA.debugLineNum = 291;BA.debugLine="et_pCant.BringToFront"; -_et_pcant.BringToFront(); - //BA.debugLineNum = 293;BA.debugLine="p.Height = p_prods.Height"; -_p.setHeight(_p_prods.getHeight()); - //BA.debugLineNum = 294;BA.debugLine="Return p"; -if (true) return (anywheresoftware.b4a.objects.PanelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.PanelWrapper(), (android.view.ViewGroup)(_p.getObject())); - //BA.debugLineNum = 295;BA.debugLine="End Sub"; -return null; -} -public String _cuentaprods() throws Exception{ -boolean _thislog = false; -float _tcpf = 0f; -int _pf = 0; -int _i = 0; -anywheresoftware.b4a.objects.B4XViewWrapper _p0 = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _cant1 = null; -anywheresoftware.b4a.objects.collections.List _estetag = null; -anywheresoftware.b4a.objects.B4XViewWrapper _cant2 = null; - //BA.debugLineNum = 413;BA.debugLine="Sub cuentaProds"; - //BA.debugLineNum = 416;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = __c.False; - //BA.debugLineNum = 418;BA.debugLine="prodsIds2.Clear"; -_prodsids2.Clear(); - //BA.debugLineNum = 419;BA.debugLine="prodsCants2.Clear"; -_prodscants2.Clear(); - //BA.debugLineNum = 420;BA.debugLine="prodsPrecios2.Clear"; -_prodsprecios2.Clear(); - //BA.debugLineNum = 421;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 422;BA.debugLine="prodsVar1 = 0"; -_prodsvar1 = (int) (0); - //BA.debugLineNum = 423;BA.debugLine="prodsVar2 = 0"; -_prodsvar2 = (int) (0); - //BA.debugLineNum = 424;BA.debugLine="agregaFijosALista(Subs.traePromo(estaPromo, esteC"; -_agregafijosalista(_subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_estapromo,_estecliente),__c.True); - //BA.debugLineNum = 426;BA.debugLine="Private tcpf As Float = 0 'Total de compra de pro"; -_tcpf = (float) (0); - //BA.debugLineNum = 427;BA.debugLine="For pf = 0 To prodsIds.Size - 1"; -{ -final int step10 = 1; -final int limit10 = (int) (_prodsids.getSize()-1); -_pf = (int) (0) ; -for (;_pf <= limit10 ;_pf = _pf + step10 ) { - //BA.debugLineNum = 428;BA.debugLine="If thisLog Then Log($\"${tcpf} + ${prodsCants.Get"; -if (_thislog) { -__c.LogImpl("356426511",(""+__c.SmartStringFormatter("",(Object)(_tcpf))+" + "+__c.SmartStringFormatter("",_prodscants.Get(_pf))+" * "+__c.SmartStringFormatter("",_prodsprecios.Get(_pf))+" = "+__c.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))))+""),0);}; - //BA.debugLineNum = 429;BA.debugLine="tcpf = tcpf + (prodsPrecios.Get(pf) * prodsCants"; -_tcpf = (float) (_tcpf+((double)(BA.ObjectToNumber(_prodsprecios.Get(_pf)))*(double)(BA.ObjectToNumber(_prodscants.Get(_pf))))); - } -}; - //BA.debugLineNum = 432;BA.debugLine="totalCompra = tcpf"; -_totalcompra = _tcpf; - //BA.debugLineNum = 433;BA.debugLine="totalProds = tpf 'Cantidad total de productos fij"; -_totalprods = _tpf; - //BA.debugLineNum = 435;BA.debugLine="For i = 0 To clv_prodsVariabes.GetSize - 1"; -{ -final int step16 = 1; -final int limit16 = (int) (_clv_prodsvariabes._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 436;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes.GetPan"; -_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prodsvariabes._getpanel(_i); - //BA.debugLineNum = 437;BA.debugLine="Private p As B4XView = p0.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _p0.GetView((int) (0)); - //BA.debugLineNum = 438;BA.debugLine="Private cant1 As B4XView = p.GetView(2).GetView("; -_cant1 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant1 = _p.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 439;BA.debugLine="If cant1.Text = \"\" Then cant1.Text = 0"; -if ((_cant1.getText()).equals("")) { -_cant1.setText(BA.ObjectToCharSequence(0));}; - //BA.debugLineNum = 440;BA.debugLine="totalProds = totalProds + cant1.Text"; -_totalprods = (int) (_totalprods+(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 441;BA.debugLine="prodsVar1 = prodsVar1 + cant1.Text"; -_prodsvar1 = (int) (_prodsvar1+(double)(Double.parseDouble(_cant1.getText()))); - //BA.debugLineNum = 442;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant1.getTag()))); - //BA.debugLineNum = 443;BA.debugLine="If cant1.Text > esteTag.Get(1) Then cant1.Text ="; -if ((double)(Double.parseDouble(_cant1.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { -_cant1.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; - //BA.debugLineNum = 444;BA.debugLine="If cant1.Text > 0 Then"; -if ((double)(Double.parseDouble(_cant1.getText()))>0) { - //BA.debugLineNum = 446;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; -_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant1.getText())))); - //BA.debugLineNum = 447;BA.debugLine="If thisLog Then Log($\"Cant: ${cant1.Text}, Suma"; -if (_thislog) { -__c.LogImpl("356426530",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant1.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 448;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; -_prodsids2.Add(_estetag.Get((int) (2))); - //BA.debugLineNum = 449;BA.debugLine="prodsCants2.Add(cant1.Text)"; -_prodscants2.Add((Object)(_cant1.getText())); - //BA.debugLineNum = 450;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; -_prodsprecios2.Add(_estetag.Get((int) (0))); - }; - //BA.debugLineNum = 452;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 453;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); - } -}; - //BA.debugLineNum = 456;BA.debugLine="For i = 0 To clv_prodsVariabes2.GetSize - 1"; -{ -final int step35 = 1; -final int limit35 = (int) (_clv_prodsvariabes2._getsize()-1); -_i = (int) (0) ; -for (;_i <= limit35 ;_i = _i + step35 ) { - //BA.debugLineNum = 457;BA.debugLine="Private p0 As B4XView = clv_prodsVariabes2.GetPa"; -_p0 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p0 = _clv_prodsvariabes2._getpanel(_i); - //BA.debugLineNum = 458;BA.debugLine="Private p As B4XView = p0.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _p0.GetView((int) (0)); - //BA.debugLineNum = 459;BA.debugLine="Private cant2 As B4XView = p.GetView(2).GetView("; -_cant2 = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_cant2 = _p.GetView((int) (2)).GetView((int) (4)); - //BA.debugLineNum = 460;BA.debugLine="totalProds = totalProds + cant2.Text"; -_totalprods = (int) (_totalprods+(double)(Double.parseDouble(_cant2.getText()))); - //BA.debugLineNum = 461;BA.debugLine="prodsVar2 = prodsVar2 + cant2.Text"; -_prodsvar2 = (int) (_prodsvar2+(double)(Double.parseDouble(_cant2.getText()))); - //BA.debugLineNum = 462;BA.debugLine="Private esteTag As List = Regex.Split(\"\\|\", cant"; -_estetag = new anywheresoftware.b4a.objects.collections.List(); -_estetag = anywheresoftware.b4a.keywords.Common.ArrayToList(__c.Regex.Split("\\|",BA.ObjectToString(_cant2.getTag()))); - //BA.debugLineNum = 463;BA.debugLine="If cant2.Text > esteTag.Get(1) Then cant2.Text ="; -if ((double)(Double.parseDouble(_cant2.getText()))>(double)(BA.ObjectToNumber(_estetag.Get((int) (1))))) { -_cant2.setText(BA.ObjectToCharSequence(_estetag.Get((int) (1))));}; - //BA.debugLineNum = 464;BA.debugLine="If cant2.Text > 0 Then"; -if ((double)(Double.parseDouble(_cant2.getText()))>0) { - //BA.debugLineNum = 466;BA.debugLine="totalCompra = totalCompra + (esteTag.get(0) * c"; -_totalcompra = (float) (_totalcompra+((double)(BA.ObjectToNumber(_estetag.Get((int) (0))))*(double)(Double.parseDouble(_cant2.getText())))); - //BA.debugLineNum = 467;BA.debugLine="If thisLog Then Log($\"Cant: ${cant2.Text}, Suma"; -if (_thislog) { -__c.LogImpl("356426550",("Cant: "+__c.SmartStringFormatter("",(Object)(_cant2.getText()))+", Suma: "+__c.SmartStringFormatter("",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 468;BA.debugLine="prodsIds2.Add(esteTag.Get(2))"; -_prodsids2.Add(_estetag.Get((int) (2))); - //BA.debugLineNum = 469;BA.debugLine="prodsCants2.Add(cant2.Text)"; -_prodscants2.Add((Object)(_cant2.getText())); - //BA.debugLineNum = 470;BA.debugLine="prodsPrecios2.Add(esteTag.get(0))"; -_prodsprecios2.Add(_estetag.Get((int) (0))); - }; - //BA.debugLineNum = 472;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 473;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); - } -}; - //BA.debugLineNum = 476;BA.debugLine="If thisLog Then Log($\"Total Prods: ${totalProds},"; -if (_thislog) { -__c.LogImpl("356426559",("Total Prods: "+__c.SmartStringFormatter("",(Object)(_totalprods))+", Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""),0);}; - //BA.debugLineNum = 477;BA.debugLine="l_total.Text = $\"Total: $$1.2{totalCompra}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_totalcompra))+""))); - //BA.debugLineNum = 478;BA.debugLine="l_totProds.text = $\"Productos: ${totalProds}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_totalprods))+""))); - //BA.debugLineNum = 479;BA.debugLine="If totalProds < prodsVarReq + prodsVarReq2 + tpf"; -if (_totalprods<_prodsvarreq+_prodsvarreq2+_tpf || _totalprods>_prodsvarreq+_prodsvarreq2+_tpf) { - //BA.debugLineNum = 481;BA.debugLine="b_terminar1.Visible = False"; -_b_terminar1.setVisible(__c.False); - //BA.debugLineNum = 482;BA.debugLine="b_continuar.Visible = False"; -_b_continuar.setVisible(__c.False); - }else { - //BA.debugLineNum = 485;BA.debugLine="b_terminar1.Visible = True"; -_b_terminar1.setVisible(__c.True); - //BA.debugLineNum = 486;BA.debugLine="b_continuar.Visible = True"; -_b_continuar.setVisible(__c.True); - }; - //BA.debugLineNum = 488;BA.debugLine="If thisLog Then LogColor($\"${prodsIds}${CRLF}${pr"; -if (_thislog) { -__c.LogImpl("356426571",(""+__c.SmartStringFormatter("",(Object)(_prodsids.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios.getObject()))+""),__c.Colors.Blue);}; - //BA.debugLineNum = 489;BA.debugLine="If thisLog Then LogColor($\"${prodsIds2}${CRLF}${p"; -if (_thislog) { -__c.LogImpl("356426572",(""+__c.SmartStringFormatter("",(Object)(_prodsids2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodscants2.getObject()))+""+__c.SmartStringFormatter("",(Object)(__c.CRLF))+""+__c.SmartStringFormatter("",(Object)(_prodsprecios2.getObject()))+""),__c.Colors.Magenta);}; - //BA.debugLineNum = 491;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcant_focuschanged(boolean _hasfocus) throws Exception{ - //BA.debugLineNum = 493;BA.debugLine="Private Sub et_pCant_FocusChanged (HasFocus As Boo"; - //BA.debugLineNum = 494;BA.debugLine="LogColor(\"focus changed\", Colors.Magenta)"; -__c.LogImpl("356492033","focus changed",__c.Colors.Magenta); - //BA.debugLineNum = 495;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 496;BA.debugLine="End Sub"; -return ""; -} -public String _et_pcant_textchanged(String _old,String _new) throws Exception{ - //BA.debugLineNum = 408;BA.debugLine="Private Sub et_pCant_TextChanged (Old As String, N"; - //BA.debugLineNum = 410;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 411;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 49;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return null; -} -public String _muestrapromo(String _promo,String _cliente) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.Map _mp = null; -anywheresoftware.b4a.objects.collections.Map _prodspromo = null; -anywheresoftware.b4a.objects.collections.Map _invdisppromo = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; -anywheresoftware.b4a.objects.collections.List _listapv = null; -anywheresoftware.b4a.objects.collections.List _listapreciospv = null; -anywheresoftware.b4a.objects.collections.List _listapv2 = null; -anywheresoftware.b4a.objects.collections.List _listapreciospv2 = null; -anywheresoftware.b4a.objects.collections.List _pv = null; -anywheresoftware.b4a.objects.collections.List _pv2 = null; -int _pfp = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -String _p = ""; -String _indicepv = ""; -String _esteprecio = ""; -anywheresoftware.b4a.objects.collections.Map _thisprod = null; -String _indicepv2 = ""; - //BA.debugLineNum = 84;BA.debugLine="Sub muestraPromo(promo As String, cliente As Strin"; - //BA.debugLineNum = 85;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = __c.False; - //BA.debugLineNum = 87;BA.debugLine="estaPromo = promo"; -_estapromo = _promo; - //BA.debugLineNum = 88;BA.debugLine="esteCliente = cliente"; -_estecliente = _cliente; - //BA.debugLineNum = 89;BA.debugLine="Private mp As Map = Subs.traePromo(promo, cliente"; -_mp = new anywheresoftware.b4a.objects.collections.Map(); -_mp = _subs._traepromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo,_cliente); - //BA.debugLineNum = 90;BA.debugLine="Private prodsPromo As Map = mp.Get(\"productos\") '"; -_prodspromo = new anywheresoftware.b4a.objects.collections.Map(); -_prodspromo = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_mp.Get((Object)("productos")))); - //BA.debugLineNum = 91;BA.debugLine="Private invDispPromo As Map = Subs.traemosInventa"; -_invdisppromo = new anywheresoftware.b4a.objects.collections.Map(); -_invdisppromo = _subs._traemosinventariodisponibleparapromo /*anywheresoftware.b4a.objects.collections.Map*/ (ba,_promo); - //BA.debugLineNum = 93;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; -if (_thislog) { -__c.LogImpl("355836681","Max promos por inv de prods FIJOS: "+BA.NumberToString(_subs._revisamaxpromosprodsfijosporinventario /*int*/ (ba,_mp)),0);}; - //BA.debugLineNum = 94;BA.debugLine="If thisLog Then Log(\"Max promos por inv de prods"; -if (_thislog) { -__c.LogImpl("355836682","Max promos por inv de prods VARIABLES: "+BA.NumberToString(_subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp)),0);}; - //BA.debugLineNum = 95;BA.debugLine="maxCantPromos = Subs.revisaMaxPromosProdsVariable"; -_maxcantpromos = _subs._revisamaxpromosprodsvariablesporinventario /*int*/ (ba,_mp); - //BA.debugLineNum = 96;BA.debugLine="et_promoCant.Text = 1"; -_et_promocant.setText(BA.ObjectToCharSequence(1)); - //BA.debugLineNum = 97;BA.debugLine="l_promosCant.text = \"Max promos: \" & maxCantPromo"; -_l_promoscant.setText(BA.ObjectToCharSequence("Max promos: "+BA.NumberToString(_maxcantpromos))); - //BA.debugLineNum = 98;BA.debugLine="Private cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 99;BA.debugLine="cs.Initialize"; -_cs.Initialize(); - //BA.debugLineNum = 100;BA.debugLine="If thisLog Then Log(mp)"; -if (_thislog) { -__c.LogImpl("355836688",BA.ObjectToString(_mp),0);}; - //BA.debugLineNum = 101;BA.debugLine="If thisLog Then Log(prodsPromo)"; -if (_thislog) { -__c.LogImpl("355836689",BA.ObjectToString(_prodspromo),0);}; - //BA.debugLineNum = 102;BA.debugLine="Private listaPV As List = mp.Get(\"prodsVariables\""; -_listapv = new anywheresoftware.b4a.objects.collections.List(); -_listapv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 103;BA.debugLine="Private listaPreciosPV As List = mp.Get(\"prodsVar"; -_listapreciospv = new anywheresoftware.b4a.objects.collections.List(); -_listapreciospv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios")))); - //BA.debugLineNum = 104;BA.debugLine="Private listaPV2 As List = mp.Get(\"prodsVariables"; -_listapv2 = new anywheresoftware.b4a.objects.collections.List(); -_listapv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 105;BA.debugLine="Private listaPreciosPV2 As List = mp.Get(\"prodsVa"; -_listapreciospv2 = new anywheresoftware.b4a.objects.collections.List(); -_listapreciospv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariablesPrecios2")))); - //BA.debugLineNum = 110;BA.debugLine="l_promoDesc.Text = cs.Color(Colors.RGB(100,149,23"; -_l_promodesc.setText(BA.ObjectToCharSequence(_cs.Color(__c.Colors.RGB((int) (100),(int) (149),(int) (237))).Append(BA.ObjectToCharSequence("Promocion: ")).Pop().Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_promo)).Append(BA.ObjectToCharSequence(__c.CRLF)).Append(BA.ObjectToCharSequence(_mp.Get((Object)("descripcion")))).PopAll().getObject())); - //BA.debugLineNum = 111;BA.debugLine="prodsFijosTot = 0"; -_prodsfijostot = (float) (0); - //BA.debugLineNum = 114;BA.debugLine="Dim pv As List = mp.Get(\"prodsVariables\")"; -_pv = new anywheresoftware.b4a.objects.collections.List(); -_pv = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 115;BA.debugLine="Dim pv2 As List = mp.Get(\"prodsVariables2\")"; -_pv2 = new anywheresoftware.b4a.objects.collections.List(); -_pv2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 116;BA.debugLine="If thisLog Then Log(mp)"; -if (_thislog) { -__c.LogImpl("355836704",BA.ObjectToString(_mp),0);}; - //BA.debugLineNum = 117;BA.debugLine="tpf = 0"; -_tpf = (int) (0); - //BA.debugLineNum = 118;BA.debugLine="For Each pfp As Int In mp.Get(\"prodsFijosPiezas\")"; -{ -final anywheresoftware.b4a.BA.IterableList group26 = ((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mp.Get((Object)("prodsFijosPiezas"))))); -final int groupLen26 = group26.getSize() -;int index26 = 0; -; -for (; index26 < groupLen26;index26++){ -_pfp = (int)(BA.ObjectToNumber(group26.Get(index26))); - //BA.debugLineNum = 119;BA.debugLine="tpf = tpf + pfp"; -_tpf = (int) (_tpf+_pfp); - } -}; - //BA.debugLineNum = 121;BA.debugLine="tpf2 = tpf"; -_tpf2 = _tpf; - //BA.debugLineNum = 123;BA.debugLine="l_prodsFijos.Text = $\"Productos fijos (${tpf})\"$"; -_l_prodsfijos.setText(BA.ObjectToCharSequence(("Productos fijos ("+__c.SmartStringFormatter("",(Object)(_tpf))+")"))); - //BA.debugLineNum = 124;BA.debugLine="prodsVarReq = mp.Get(\"prodsVariablesRequeridos\")"; -_prodsvarreq = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariablesRequeridos")))); - //BA.debugLineNum = 125;BA.debugLine="prodsVarReq_ = prodsVarReq"; -_prodsvarreq_ = _prodsvarreq; - //BA.debugLineNum = 126;BA.debugLine="prodsVarReq2 = mp.Get(\"prodsVariables2Requeridos\""; -_prodsvarreq2 = (int)(BA.ObjectToNumber(_mp.Get((Object)("prodsVariables2Requeridos")))); - //BA.debugLineNum = 127;BA.debugLine="prodsVarReq2_ = prodsVarReq2"; -_prodsvarreq2_ = _prodsvarreq2; - //BA.debugLineNum = 129;BA.debugLine="l_prodsVariables.Text = $\"Productos variables req"; -_l_prodsvariables.setText(BA.ObjectToCharSequence(("Productos variables requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq))+""))); - //BA.debugLineNum = 130;BA.debugLine="l_prodsVariables2.Text = $\"Productos variables2 r"; -_l_prodsvariables2.setText(BA.ObjectToCharSequence(("Productos variables2 requeridos: "+__c.SmartStringFormatter("",(Object)(_prodsvarreq2))+""))); - //BA.debugLineNum = 131;BA.debugLine="If prodsVarReq = 0 Then"; -if (_prodsvarreq==0) { - //BA.debugLineNum = 132;BA.debugLine="p_prodsVariables.Visible = False"; -_p_prodsvariables.setVisible(__c.False); - }else { - //BA.debugLineNum = 134;BA.debugLine="p_prodsVariables.Visible = True"; -_p_prodsvariables.setVisible(__c.True); - }; - //BA.debugLineNum = 137;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 138;BA.debugLine="label1 = lv_prodsFijos.SingleLineLayout.Label"; -_label1 = _lv_prodsfijos.getSingleLineLayout().Label; - //BA.debugLineNum = 139;BA.debugLine="label1.TextSize = 13"; -_label1.setTextSize((float) (13)); - //BA.debugLineNum = 140;BA.debugLine="label1.TextColor = Colors.black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 141;BA.debugLine="lv_prodsFijos.SingleLineLayout.ItemHeight = 30dip"; -_lv_prodsfijos.getSingleLineLayout().setItemHeight(__c.DipToCurrent((int) (30))); - //BA.debugLineNum = 142;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 144;BA.debugLine="lv_prodsFijos.Clear"; -_lv_prodsfijos.Clear(); - //BA.debugLineNum = 145;BA.debugLine="agregaFijosALista(mp, True)"; -_agregafijosalista(_mp,__c.True); - //BA.debugLineNum = 146;BA.debugLine="If thisLog Then Log(\"Total prods fijos = \" & prod"; -if (_thislog) { -__c.LogImpl("355836734","Total prods fijos = "+BA.NumberToString(_prodsfijostot),0);}; - //BA.debugLineNum = 148;BA.debugLine="l_totProds.text = $\"Productos: ${tpf}\"$"; -_l_totprods.setText(BA.ObjectToCharSequence(("Productos: "+__c.SmartStringFormatter("",(Object)(_tpf))+""))); - //BA.debugLineNum = 149;BA.debugLine="l_total.Text = $\"Total: $$1.2{prodsFijosTot}\"$"; -_l_total.setText(BA.ObjectToCharSequence(("Total: $"+__c.SmartStringFormatter("1.2",(Object)(_prodsfijostot))+""))); - //BA.debugLineNum = 155;BA.debugLine="If thisLog Then Log($\"PV1: ${pv.Size}, ${pv}\"$)"; -if (_thislog) { -__c.LogImpl("355836743",("PV1: "+__c.SmartStringFormatter("",(Object)(_pv.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv.getObject()))+""),0);}; - //BA.debugLineNum = 156;BA.debugLine="If thisLog Then Log($\"PV2: ${pv2.Size}, ${pv2}\"$)"; -if (_thislog) { -__c.LogImpl("355836744",("PV2: "+__c.SmartStringFormatter("",(Object)(_pv2.getSize()))+", "+__c.SmartStringFormatter("",(Object)(_pv2.getObject()))+""),0);}; - //BA.debugLineNum = 157;BA.debugLine="If thisLog Then Log(\"invDisp=\" & invDispPromo)"; -if (_thislog) { -__c.LogImpl("355836745","invDisp="+BA.ObjectToString(_invdisppromo),0);}; - //BA.debugLineNum = 158;BA.debugLine="clv_prodsVariabes.Clear"; -_clv_prodsvariabes._clear(); - //BA.debugLineNum = 159;BA.debugLine="clv_prodsVariabes2.Clear"; -_clv_prodsvariabes2._clear(); - //BA.debugLineNum = 160;BA.debugLine="For Each p As String In pv"; -{ -final anywheresoftware.b4a.BA.IterableList group58 = _pv; -final int groupLen58 = group58.getSize() -;int index58 = 0; -; -for (; index58 < groupLen58;index58++){ -_p = BA.ObjectToString(group58.Get(index58)); - //BA.debugLineNum = 161;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; -if (_invdisppromo.ContainsKey((Object)(_p))) { - //BA.debugLineNum = 162;BA.debugLine="Private indicePV = listaPV.IndexOf(p)"; -_indicepv = BA.NumberToString(_listapv.IndexOf((Object)(_p))); - //BA.debugLineNum = 164;BA.debugLine="Private estePrecio = listaPreciosPV.Get(indiceP"; -_esteprecio = BA.ObjectToString(_listapreciospv.Get((int)(Double.parseDouble(_indicepv)))); - //BA.debugLineNum = 169;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; -_thisprod = new anywheresoftware.b4a.objects.collections.Map(); -_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); - //BA.debugLineNum = 170;BA.debugLine="If thisLog Then Log(thisProd)"; -if (_thislog) { -__c.LogImpl("355836758",BA.ObjectToString(_thisprod),0);}; - //BA.debugLineNum = 171;BA.debugLine="clv_prodsVariabes.Add(CreateListItem(Subs.traeP"; -_clv_prodsvariabes._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); - }; - } -}; - //BA.debugLineNum = 174;BA.debugLine="For Each p As String In pv2"; -{ -final anywheresoftware.b4a.BA.IterableList group67 = _pv2; -final int groupLen67 = group67.getSize() -;int index67 = 0; -; -for (; index67 < groupLen67;index67++){ -_p = BA.ObjectToString(group67.Get(index67)); - //BA.debugLineNum = 175;BA.debugLine="If invDispPromo.ContainsKey(p) Then 'Si no esta"; -if (_invdisppromo.ContainsKey((Object)(_p))) { - //BA.debugLineNum = 180;BA.debugLine="Private indicePV2 = listaPV2.IndexOf(p)"; -_indicepv2 = BA.NumberToString(_listapv2.IndexOf((Object)(_p))); - //BA.debugLineNum = 183;BA.debugLine="Private estePrecio = listaPreciosPV2.Get(indice"; -_esteprecio = BA.ObjectToString(_listapreciospv2.Get((int)(Double.parseDouble(_indicepv2)))); - //BA.debugLineNum = 188;BA.debugLine="Private thisProd As Map = prodsPromo.Get(p)"; -_thisprod = new anywheresoftware.b4a.objects.collections.Map(); -_thisprod = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodspromo.Get((Object)(_p)))); - //BA.debugLineNum = 189;BA.debugLine="If thisLog Then Log(thisProd)"; -if (_thislog) { -__c.LogImpl("355836777",BA.ObjectToString(_thisprod),0);}; - //BA.debugLineNum = 190;BA.debugLine="clv_prodsVariabes2.Add(CreateListItem2(Subs.tra"; -_clv_prodsvariabes2._add((anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_createlistitem2(_subs._traeprodnombre /*String*/ (ba,_p)+__c.CRLF+"Hay "+BA.ObjectToString(_invdisppromo.Get((Object)(_p)))+" $"+_esteprecio,_esteprecio,(int)(BA.ObjectToNumber(_invdisppromo.Get((Object)(_p)))),_clv_prodsvariabes2._asview().getWidth(),__c.DipToCurrent((int) (50)),(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(), (android.graphics.Bitmap)(__c.Null)),_p).getObject())),(Object)(_p)); - }; - } -}; - //BA.debugLineNum = 193;BA.debugLine="If pv2.Size = 0 Then"; -if (_pv2.getSize()==0) { - //BA.debugLineNum = 195;BA.debugLine="l_prodsVariables2.Visible = False"; -_l_prodsvariables2.setVisible(__c.False); - //BA.debugLineNum = 196;BA.debugLine="p_prodsVariables2.Visible = False"; -_p_prodsvariables2.setVisible(__c.False); - //BA.debugLineNum = 198;BA.debugLine="p_prodsVariables.Height = 410dip"; -_p_prodsvariables.setHeight(__c.DipToCurrent((int) (410))); - //BA.debugLineNum = 199;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; -_clv_prodsvariabes._getbase().setHeight((int) (_p_prodsvariables.getHeight()-20)); - //BA.debugLineNum = 203;BA.debugLine="clv_prodsVariabes.Base_Resize(clv_prodsVariabes."; -_clv_prodsvariabes._base_resize(_clv_prodsvariabes._getbase().getWidth(),_p_prodsvariables.getHeight()-20); - }else { - //BA.debugLineNum = 205;BA.debugLine="l_prodsVariables2.Visible = True"; -_l_prodsvariables2.setVisible(__c.True); - //BA.debugLineNum = 206;BA.debugLine="p_prodsVariables2.Visible = True"; -_p_prodsvariables2.setVisible(__c.True); - //BA.debugLineNum = 207;BA.debugLine="p_prodsVariables.Height = 210dip"; -_p_prodsvariables.setHeight(__c.DipToCurrent((int) (210))); - //BA.debugLineNum = 208;BA.debugLine="clv_prodsVariabes.GetBase.Height = p_prodsVariab"; -_clv_prodsvariabes._getbase().setHeight((int) (_p_prodsvariables.getHeight()-20)); - }; - //BA.debugLineNum = 210;BA.debugLine="b_terminar1.Visible = False"; -_b_terminar1.setVisible(__c.False); - //BA.debugLineNum = 211;BA.debugLine="b_continuar.Visible = False"; -_b_continuar.setVisible(__c.False); - //BA.debugLineNum = 212;BA.debugLine="cuentaProds"; -_cuentaprods(); - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_respaldodiario.java b/B4A/Objects/src/adm/keymon/com/mx/c_respaldodiario.java deleted file mode 100644 index 44c66f8..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_respaldodiario.java +++ /dev/null @@ -1,321 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_respaldodiario extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_respaldodiario"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_respaldodiario.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.sql.SQL _skmt = null; -public anywheresoftware.b4a.sql.SQL _rkmt = null; -public String _safepath = ""; -public String _fechahoy = ""; -public boolean _skmtattached = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregacolumna(String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 131;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 132;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 133;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 134;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 135;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 136;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 137;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("357344006",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 140;BA.debugLine="Try"; -try { //BA.debugLineNum = 141;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 142;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("357344011",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 144;BA.debugLine="Log(LastException)"; -__c.LogImpl("357344013",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public String _agregacolumna2(anywheresoftware.b4a.sql.SQL _db,String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 149;BA.debugLine="Sub agregaColumna2(db As SQL, tabla As String, col"; - //BA.debugLineNum = 150;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 151;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 152;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 153;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 154;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 155;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("357409542",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 158;BA.debugLine="Try"; -try { //BA.debugLineNum = 159;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 160;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("357409547",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 162;BA.debugLine="Log(LastException)"; -__c.LogImpl("357409549",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 64;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Dim skmt, rkmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); -_rkmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 6;BA.debugLine="Dim safePath As String"; -_safepath = ""; - //BA.debugLineNum = 7;BA.debugLine="Dim fechaHoy As String"; -_fechahoy = ""; - //BA.debugLineNum = 8;BA.debugLine="Dim skmtAttached As Boolean = False"; -_skmtattached = __c.False; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -String _dirp = ""; -String _dir = ""; -String[] _name = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 12;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 14;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 15;BA.debugLine="Dim Dirp As String = File.DirInternal"; -_dirp = __c.File.getDirInternal(); - //BA.debugLineNum = 16;BA.debugLine="Dim Dir As String"; -_dir = ""; - //BA.debugLineNum = 18;BA.debugLine="Try"; -try { //BA.debugLineNum = 19;BA.debugLine="File.MakeDir(Dirp,\"/kmts\")"; -__c.File.MakeDir(_dirp,"/kmts"); - //BA.debugLineNum = 20;BA.debugLine="Dir = \"/kmts\""; -_dir = "/kmts"; - } - catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 23;BA.debugLine="Dir = \"\""; -_dir = ""; - }; - //BA.debugLineNum = 27;BA.debugLine="safePath = Dirp & Dir"; -_safepath = _dirp+_dir; - //BA.debugLineNum = 29;BA.debugLine="If Not(File.IsDirectory(Dirp, Dir)) Then safePath"; -if (__c.Not(__c.File.IsDirectory(_dirp,_dir))) { -_safepath = _rp.GetSafeDirDefaultExternal("kmts");}; - //BA.debugLineNum = 30;BA.debugLine="Private name() As String = Regex.split(\" \", Appli"; -_name = __c.Regex.Split(" ",__c.Application.getLabelName()); - //BA.debugLineNum = 31;BA.debugLine="rkmt.Initialize(safePath,$\"${name(0)}.rkmt.km\"$,"; -_rkmt.Initialize(_safepath,(""+__c.SmartStringFormatter("",(Object)(_name[(int) (0)]))+".rkmt.km"),__c.True); - //BA.debugLineNum = 32;BA.debugLine="skmt.Initialize(File.DirInternal,\"kmt.db\", False)"; -_skmt.Initialize(__c.File.getDirInternal(),"kmt.db",__c.False); - //BA.debugLineNum = 33;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pe"; -_rkmt.ExecNonQuery(("create table if not exists pedidos (pe_folio NUMERIC, pe_desc NUMERIC, pe_costo_sin TEXT, pe_ruta TEXT, pe_cedis TEXT, pe_costo_tot NUMERIC, pe_costou NUMERIC, pe_cant NUMERIC, pe_pronombre TEXT, pe_proid TEXT, pe_cliente TEXT, pe_fecha TEXT, pe_usuario TEXT)")); - //BA.debugLineNum = 34;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_cantc\",\"text\")"; -_agregacolumna2(_rkmt,"pedidos","pe_cantc","text"); - //BA.debugLineNum = 35;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_bcajas\",\"text\")"; -_agregacolumna2(_rkmt,"pedidos","pe_bcajas","text"); - //BA.debugLineNum = 36;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_tipopago\",\"text"; -_agregacolumna2(_rkmt,"pedidos","pe_tipopago","text"); - //BA.debugLineNum = 37;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_ticket\",\"text\")"; -_agregacolumna2(_rkmt,"pedidos","pe_ticket","text"); - //BA.debugLineNum = 38;BA.debugLine="agregaColumna2(rkmt,\"pedidos\",\"pe_comentario\",\"te"; -_agregacolumna2(_rkmt,"pedidos","pe_comentario","text"); - //BA.debugLineNum = 39;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 40;BA.debugLine="Private c As Cursor = rkmt.ExecQuery($\"SELECT CO"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_rkmt.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('pedidos') WHERE name='pe_envio_ok'")))); - //BA.debugLineNum = 41;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 42;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 43;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; -_rkmt.ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")); - //BA.debugLineNum = 44;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; -__c.LogImpl("356885280",("Columna \"pe_envio_ok INT\", agregada a \"pedidos}\"."),0); - }; - } - catch (Exception e29) { - ba.setLastException(e29); //BA.debugLineNum = 47;BA.debugLine="Try"; -try { //BA.debugLineNum = 48;BA.debugLine="rkmt.ExecNonQuery($\"ALTER TABLE pedidos ADD COL"; -_rkmt.ExecNonQuery(("ALTER TABLE pedidos ADD COLUMN pe_envio_ok INT")); - //BA.debugLineNum = 49;BA.debugLine="Log($\"Columna \"pe_envio_ok INT\", agregada a \"pe"; -__c.LogImpl("356885285",("Columna \"pe_envio_ok INT\", agregada a \"pedidos\".."),0); - } - catch (Exception e33) { - ba.setLastException(e33); //BA.debugLineNum = 51;BA.debugLine="Log(LastException)"; -__c.LogImpl("356885287",BA.ObjectToString(__c.LastException(ba)),0); - }; - }; - //BA.debugLineNum = 54;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists in"; -_rkmt.ExecNonQuery(("create table if not exists inventarios (cat_gp_iniciativa TEXT, cat_gp_tipoprod TEXT, cat_gp_dev TEXT, cat_gp_almacen NUMERIC, cat_gp_id TEXT, cat_gp_nombre TEXT, cat_gp_imp1 TEXT, cat_gp_imp2 TEXT, cat_gp_precio TEXT, cat_gp_clasif TEXT, cat_gp_sts TEXT, cat_gp_tipo TEXT, cat_gp_subtipo TEXT, cat_gp_tipoprod2 TEXT, fecha TEXT)")); - //BA.debugLineNum = 55;BA.debugLine="rkmt.ExecNonQuery($\"create table if not exists pa"; -_rkmt.ExecNonQuery(("create table if not exists paquetes (cat_dp_precio_simptos TEXT, cat_dp_precio TEXT, cat_dp_almacen TEXT, cat_dp_id TEXT, cat_dp_idprod TEXT, cat_dp_tipo TEXT, cat_dp_pzas TEXT, cat_dp_usuario TEXT, cat_dp_fecha TEXT, cat_dp_regalo TEXT, cat_dp_clasif TEXT, fecha TEXT)")); - //BA.debugLineNum = 56;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 57;BA.debugLine="fechaHoy = DateTime.Date(DateTime.Now)"; -_fechahoy = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 58;BA.debugLine="revisaSkmtAttached"; -_revisaskmtattached(); - //BA.debugLineNum = 59;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return null; -} -public String _respaldainventarios() throws Exception{ -String _inicio = ""; - //BA.debugLineNum = 95;BA.debugLine="Sub respaldaInventarios"; - //BA.debugLineNum = 97;BA.debugLine="Private inicio As String = DateTime.Now"; -_inicio = BA.NumberToString(__c.DateTime.getNow()); - //BA.debugLineNum = 100;BA.debugLine="rkmt.BeginTransaction"; -_rkmt.BeginTransaction(); - //BA.debugLineNum = 101;BA.debugLine="rkmt.ExecNonQuery($\"delete from inventarios where"; -_rkmt.ExecNonQuery(("delete from inventarios where fecha = '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"'")); - //BA.debugLineNum = 102;BA.debugLine="rkmt.ExecNonQuery($\"insert into inventarios (cat_"; -_rkmt.ExecNonQuery(("insert into inventarios (cat_gp_iniciativa, cat_gp_tipoprod, cat_gp_dev, cat_gp_almacen, cat_gp_id, cat_gp_nombre, cat_gp_imp1, cat_gp_imp2, cat_gp_precio, cat_gp_clasif, cat_gp_sts, cat_gp_tipo, cat_gp_subtipo, fecha) select cat_gp_iniciativa, cat_gp_tipoprod, cat_gp_dev, cat_gp_almacen, cat_gp_id, cat_gp_nombre, cat_gp_imp1, cat_gp_imp2, cat_gp_precio, cat_gp_clasif, cat_gp_sts, cat_gp_tipo, cat_gp_subtipo, '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"' as fecha from skmt1.cat_gunaprod")); - //BA.debugLineNum = 103;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; -_rkmt.TransactionSuccessful(); - //BA.debugLineNum = 104;BA.debugLine="rkmt.EndTransaction"; -_rkmt.EndTransaction(); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public String _respaldapaquetes() throws Exception{ -String _inicio = ""; - //BA.debugLineNum = 109;BA.debugLine="Sub respaldaPaquetes"; - //BA.debugLineNum = 110;BA.debugLine="Private inicio As String = DateTime.Now"; -_inicio = BA.NumberToString(__c.DateTime.getNow()); - //BA.debugLineNum = 112;BA.debugLine="rkmt.BeginTransaction"; -_rkmt.BeginTransaction(); - //BA.debugLineNum = 114;BA.debugLine="rkmt.ExecNonQuery($\"delete from paquetes where fe"; -_rkmt.ExecNonQuery(("delete from paquetes where fecha = '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"'")); - //BA.debugLineNum = 115;BA.debugLine="rkmt.ExecNonQuery($\"insert into paquetes (cat_dp_"; -_rkmt.ExecNonQuery(("insert into paquetes (cat_dp_precio_simptos, cat_dp_precio, cat_dp_almacen, cat_dp_id, cat_dp_idprod, cat_dp_tipo, cat_dp_pzas, cat_dp_usuario, cat_dp_fecha, cat_dp_regalo, cat_dp_clasif, fecha) select cat_dp_precio_simptos, cat_dp_precio, cat_dp_almacen, cat_dp_id, cat_dp_idprod, cat_dp_tipo, cat_dp_pzas, cat_dp_usuario, cat_dp_fecha, cat_dp_regalo, cat_dp_clasif, '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"' as fecha from skmt1.cat_detalles_paq")); - //BA.debugLineNum = 116;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; -_rkmt.TransactionSuccessful(); - //BA.debugLineNum = 117;BA.debugLine="rkmt.EndTransaction"; -_rkmt.EndTransaction(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return ""; -} -public String _respaldapedido() throws Exception{ -String _inicio = ""; - //BA.debugLineNum = 82;BA.debugLine="Sub respaldaPedido"; - //BA.debugLineNum = 83;BA.debugLine="Private inicio As String = DateTime.Now"; -_inicio = BA.NumberToString(__c.DateTime.getNow()); - //BA.debugLineNum = 84;BA.debugLine="Log(\"copiando pedidos ...\")"; -__c.LogImpl("357081858","copiando pedidos ...",0); - //BA.debugLineNum = 85;BA.debugLine="rkmt.BeginTransaction"; -_rkmt.BeginTransaction(); - //BA.debugLineNum = 86;BA.debugLine="rkmt.ExecNonQuery($\"delete from pedidos where sub"; -_rkmt.ExecNonQuery(("delete from pedidos where substr(pe_fecha, 1, 10) = '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"'")); - //BA.debugLineNum = 87;BA.debugLine="rkmt.ExecNonQuery($\"insert into pedidos (pe_folio"; -_rkmt.ExecNonQuery(("insert into pedidos (pe_folio, pe_desc, pe_costo_sin, pe_ruta, pe_cedis, pe_costo_tot, pe_costou, pe_cant, pe_pronombre, pe_proid, pe_cliente, pe_fecha, pe_usuario, pe_envio_ok,pe_cantc,pe_bcajas,pe_tipopago,pe_comentario,pe_ticket) select * from skmt1.pedido where substr(pe_fecha, 1, 10) = '"+__c.SmartStringFormatter("",(Object)(_fechahoy))+"'")); - //BA.debugLineNum = 88;BA.debugLine="rkmt.TransactionSuccessful 'Si no se pone Transac"; -_rkmt.TransactionSuccessful(); - //BA.debugLineNum = 89;BA.debugLine="rkmt.EndTransaction"; -_rkmt.EndTransaction(); - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return ""; -} -public String _revisaskmtattached() throws Exception{ -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; - //BA.debugLineNum = 69;BA.debugLine="Sub revisaSkmtAttached"; - //BA.debugLineNum = 70;BA.debugLine="skmtAttached = False"; -_skmtattached = __c.False; - //BA.debugLineNum = 71;BA.debugLine="Dim rs As ResultSet = rkmt.ExecQuery(\"SELECT * FR"; -_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_rkmt.ExecQuery("SELECT * FROM pragma_database_list"))); - //BA.debugLineNum = 72;BA.debugLine="Do While rs.NextRow 'Revisamos si esta montada \"k"; -while (_rs.NextRow()) { - //BA.debugLineNum = 73;BA.debugLine="If rs.GetString(\"name\") = \"skmt1\" Then skmtAttac"; -if ((_rs.GetString("name")).equals("skmt1")) { -_skmtattached = __c.True;}; - } -; - //BA.debugLineNum = 75;BA.debugLine="If Not(skmtAttached) Then"; -if (__c.Not(_skmtattached)) { - //BA.debugLineNum = 76;BA.debugLine="rkmt.ExecNonQuery($\"attach database '${File.Comb"; -_rkmt.ExecNonQuery(("attach database '"+__c.SmartStringFormatter("",(Object)(__c.File.Combine(__c.File.getDirInternal(),"kmt.db")))+"' as skmt1;")); - //BA.debugLineNum = 77;BA.debugLine="skmtAttached = True"; -_skmtattached = __c.True; - }; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public String _vacuum() throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Sub vacuum"; - //BA.debugLineNum = 122;BA.debugLine="Log(\"Vacuum\")"; -__c.LogImpl("357278465","Vacuum",0); - //BA.debugLineNum = 123;BA.debugLine="rkmt.ExecNonQuery(\"vacuum;\")"; -_rkmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_subs.java b/B4A/Objects/src/adm/keymon/com/mx/c_subs.java deleted file mode 100644 index dd719d1..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_subs.java +++ /dev/null @@ -1,1049 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_subs extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_subs"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_subs.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public String _eventname = ""; -public Object _callback = null; -public anywheresoftware.b4a.phone.Phone _phn = null; -public String _devmodel = ""; -public anywheresoftware.b4a.sql.SQL _db = null; -public anywheresoftware.b4a.sql.SQL _kmt = null; -public anywheresoftware.b4a.sql.SQL _errorlog = null; -public String _ssid = ""; -public anywheresoftware.b4a.objects.collections.List _reqslist = null; -public boolean _reqerror = false; -public boolean _subslogs = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _agregacolumna(String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 417;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 418;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 419;BA.debugLine="Private c As Cursor = db.ExecQuery($\"SELECT COUN"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+__c.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+__c.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 420;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 421;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 422;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 423;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("359637766",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - ba.setLastException(e9); //BA.debugLineNum = 426;BA.debugLine="Try"; -try { //BA.debugLineNum = 427;BA.debugLine="db.ExecNonQuery($\"ALTER TABLE ${tabla} ADD COLU"; -_db.ExecNonQuery(("ALTER TABLE "+__c.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 428;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -__c.LogImpl("359637771",("Columna \""+__c.SmartStringFormatter("",(Object)(_columna))+" "+__c.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+__c.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - ba.setLastException(e13); //BA.debugLineNum = 430;BA.debugLine="Log(LastException)"; -__c.LogImpl("359637773",BA.ObjectToString(__c.LastException(getActivityBA())),0); - }; - }; - //BA.debugLineNum = 433;BA.debugLine="End Sub"; -return ""; -} -public String _borralogdb() throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Sub borraLogDB 'ignore"; - //BA.debugLineNum = 248;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -__c.LogImpl("358720257","Borramos BD de log",__c.Colors.Magenta); - //BA.debugLineNum = 249;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; -_kmt.ExecNonQuery("delete from bitacora"); - //BA.debugLineNum = 250;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return ""; -} -public String _buscadbusuario() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _usuario = ""; - //BA.debugLineNum = 369;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; - //BA.debugLineNum = 370;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 371;BA.debugLine="Private usuario As String = \"SinUsuario\""; -_usuario = "SinUsuario"; - //BA.debugLineNum = 372;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 373;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 374;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; -if (_c.getRowCount()>0) { -_usuario = _c.GetString("USUARIO");}; - //BA.debugLineNum = 375;BA.debugLine="Return usuario"; -if (true) return _usuario; - //BA.debugLineNum = 376;BA.debugLine="End Sub"; -return ""; -} -public String _centraetiqueta(anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 349;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; - //BA.debugLineNum = 350;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return ""; -} -public String _centrapanel(anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 354;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; - //BA.debugLineNum = 355;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 356;BA.debugLine="End Sub"; -return ""; -} -public String _centrapanelv(anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ - //BA.debugLineNum = 359;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; - //BA.debugLineNum = 360;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; -_elemento.setTop((int) (__c.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); - //BA.debugLineNum = 361;BA.debugLine="End Sub"; -return ""; -} -public String _centraprogressbar(anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 364;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; - //BA.debugLineNum = 365;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (__c.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 366;BA.debugLine="End Sub"; -return ""; -} -public boolean _checknotificationaccess() throws Exception{ -anywheresoftware.b4a.phone.Phone _ph = null; -String _nstr = ""; -String _pstr = ""; -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 595;BA.debugLine="Sub CheckNotificationAccess As Boolean 'ignore"; - //BA.debugLineNum = 596;BA.debugLine="Dim ph As Phone"; -_ph = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 597;BA.debugLine="Dim nstr, pstr As String"; -_nstr = ""; -_pstr = ""; - //BA.debugLineNum = 598;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 599;BA.debugLine="pstr = r.GetStaticField(\"anywheresoftware.b4a.BA\""; -_pstr = BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); - //BA.debugLineNum = 600;BA.debugLine="nstr = ph.GetSettings(\"enabled_notification_liste"; -_nstr = _ph.GetSettings("enabled_notification_listeners"); - //BA.debugLineNum = 601;BA.debugLine="Return nstr.Contains(pstr)"; -if (true) return _nstr.contains(_pstr); - //BA.debugLineNum = 602;BA.debugLine="End Sub"; -return false; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 7;BA.debugLine="Private EventName As String 'ignore"; -_eventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private CallBack As Object 'ignore"; -_callback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Dim phn As Phone"; -_phn = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="Dim devModel As String"; -_devmodel = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim db, kmt, errorLog As SQL 'Requiere la libreri"; -_db = new anywheresoftware.b4a.sql.SQL(); -_kmt = new anywheresoftware.b4a.sql.SQL(); -_errorlog = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; -_ssid = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim reqsList As List"; -_reqslist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="Dim reqError As Boolean = False"; -_reqerror = __c.False; - //BA.debugLineNum = 15;BA.debugLine="Private subsLogs As Boolean = False"; -_subslogs = __c.False; - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _copiadb(boolean _result) throws Exception{ -String _p = ""; -String _thedir = ""; - //BA.debugLineNum = 307;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; - //BA.debugLineNum = 308;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),__c.False); - //BA.debugLineNum = 309;BA.debugLine="If result Then"; -if (_result) { - //BA.debugLineNum = 310;BA.debugLine="Dim p As String"; -_p = ""; - //BA.debugLineNum = 311;BA.debugLine="If File.ExternalWritable Then"; -if (__c.File.getExternalWritable()) { - //BA.debugLineNum = 312;BA.debugLine="p = File.DirInternal"; -_p = __c.File.getDirInternal(); - }else { - //BA.debugLineNum = 315;BA.debugLine="p = File.DirInternal"; -_p = __c.File.getDirInternal(); - }; - //BA.debugLineNum = 318;BA.debugLine="Dim theDir As String"; -_thedir = ""; - //BA.debugLineNum = 319;BA.debugLine="Try"; -try { //BA.debugLineNum = 320;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; -__c.File.MakeDir(__c.File.getDirInternal(),"kmts"); - //BA.debugLineNum = 321;BA.debugLine="theDir = \"/kmts\""; -_thedir = "/kmts"; - } - catch (Exception e14) { - ba.setLastException(e14); //BA.debugLineNum = 323;BA.debugLine="theDir = \"\""; -_thedir = ""; - }; - //BA.debugLineNum = 325;BA.debugLine="Try"; -try { //BA.debugLineNum = 326;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; -__c.File.Copy(__c.File.getDirInternal(),"kmt.db",__c.File.getDirInternal()+_thedir,"cedex_kmt.db"); - //BA.debugLineNum = 327;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; -__c.File.Copy(__c.File.getDirInternal(),"errorLog.db",__c.File.getDirInternal()+_thedir,"cedex_errorLog.db"); - //BA.debugLineNum = 328;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),__c.False); - } - catch (Exception e21) { - ba.setLastException(e21); //BA.debugLineNum = 330;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(__c.LastException(getActivityBA()))),__c.True); - }; - //BA.debugLineNum = 332;BA.debugLine="Log(\"rootExternal=\"&p)"; -__c.LogImpl("358916889","rootExternal="+_p,0); - //BA.debugLineNum = 333;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -__c.LogImpl("358916890","File.DirInternal="+__c.File.getDirInternal(),0); - //BA.debugLineNum = 334;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -__c.LogImpl("358916891","File.DirInternal="+__c.File.getDirInternal(),0); - }else { - //BA.debugLineNum = 336;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),__c.False); - }; - //BA.debugLineNum = 338;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _body) throws Exception{ -anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 469;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 470;BA.debugLine="Dim notification As Notification"; -_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 471;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; -_notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 472;BA.debugLine="notification.Icon = \"icon\""; -_notification.setIcon("icon"); - //BA.debugLineNum = 473;BA.debugLine="notification.SetInfo(\"Tester\", Body, Main)"; -_notification.SetInfoNew(ba,BA.ObjectToCharSequence("Tester"),BA.ObjectToCharSequence(_body),(Object)(_main.getObject())); - //BA.debugLineNum = 474;BA.debugLine="Return notification"; -if (true) return _notification; - //BA.debugLineNum = 475;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.sql.SQL _dbinit() throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Sub dbInit As SQL"; - //BA.debugLineNum = 31;BA.debugLine="If File.Exists(File.DirInternal, \"kmt.db\") = Fals"; -if (__c.File.Exists(__c.File.getDirInternal(),"kmt.db")==__c.False) { -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",__c.File.getDirInternal(),"kmt.db");}; - //BA.debugLineNum = 32;BA.debugLine="db.Initialize(File.DirInternal,\"kmt.db\", True)"; -_db.Initialize(__c.File.getDirInternal(),"kmt.db",__c.True); - //BA.debugLineNum = 33;BA.debugLine="dbOk(True)"; -_dbok(__c.True); - //BA.debugLineNum = 35;BA.debugLine="Return db"; -if (true) return _db; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return null; -} -public String _dbok(boolean _success) throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub dbOk(Success As Boolean)"; - //BA.debugLineNum = 39;BA.debugLine="If SubExists(CallBack, EventName & \"_dbOk\") Then"; -if (__c.SubExists(ba,_callback,_eventname+"_dbOk")) { - //BA.debugLineNum = 40;BA.debugLine="CallSub2(CallBack, EventName & \"_dbOk\", Success)"; -__c.CallSubNew2(ba,_callback,_eventname+"_dbOk",(Object)(_success)); - }; - //BA.debugLineNum = 42;BA.debugLine="End Sub"; -return ""; -} -public String _deleteerrorlog_db() throws Exception{ - //BA.debugLineNum = 180;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; - //BA.debugLineNum = 181;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; -_errorlog.ExecNonQuery("delete from errores"); - //BA.debugLineNum = 182;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 183;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),__c.False); - //BA.debugLineNum = 184;BA.debugLine="End Sub"; -return ""; -} -public String _deletegps_db() throws Exception{ - //BA.debugLineNum = 173;BA.debugLine="Sub deleteGPS_DB 'ignore"; - //BA.debugLineNum = 174;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; -_kmt.ExecNonQuery("delete from RUTA_GPS"); - //BA.debugLineNum = 175;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 176;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),__c.False); - //BA.debugLineNum = 177;BA.debugLine="End Sub"; -return ""; -} -public String _enviook(boolean _success) throws Exception{ - //BA.debugLineNum = 71;BA.debugLine="Sub envioOk(Success As Boolean)"; - //BA.debugLineNum = 73;BA.debugLine="If SubExists(CallBack, EventName & \"_envioOk\") Th"; -if (__c.SubExists(ba,_callback,_eventname+"_envioOk")) { - //BA.debugLineNum = 74;BA.debugLine="CallSub2(CallBack, EventName & \"_envioOk\", Succe"; -__c.CallSubNew2(ba,_callback,_eventname+"_envioOk",(Object)(_success)); - }; - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _enviotest() throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -int _i = 0; - //BA.debugLineNum = 58;BA.debugLine="Sub envioTest"; - //BA.debugLineNum = 59;BA.debugLine="reqsList.Initialize ' Ponemos la lista de DBReque"; -_reqslist.Initialize(); - //BA.debugLineNum = 60;BA.debugLine="Private cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 61;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 62;BA.debugLine="cmd.Name = \"select_fecha\""; -_cmd.Name /*String*/ = "select_fecha"; - //BA.debugLineNum = 63;BA.debugLine="For i = 0 To 50"; -{ -final int step5 = 1; -final int limit5 = (int) (50); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 65;BA.debugLine="reqManager.ExecuteQuery(cmd, 0, $\"select_fecha_$"; -_reqmanager._executequery /*String*/ (_cmd,(int) (0),(Object)(("select_fecha_"+__c.SmartStringFormatter("",(Object)(_i))+""))); - //BA.debugLineNum = 66;BA.debugLine="reqsList.Add($\"select_fecha_${i}\"$)"; -_reqslist.Add((Object)(("select_fecha_"+__c.SmartStringFormatter("",(Object)(_i))+""))); - } -}; - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -public String _fechainiciohoy() throws Exception{ -String _origformat = ""; -String _h = ""; - //BA.debugLineNum = 206;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; - //BA.debugLineNum = 207;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = __c.DateTime.getDateFormat(); - //BA.debugLineNum = 208;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -__c.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 209;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now)"; -_h = __c.DateTime.Date(__c.DateTime.getNow())+"000000"; - //BA.debugLineNum = 210;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -__c.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 211;BA.debugLine="Log(\"Hoy=\"&h)"; -__c.LogImpl("358458117","Hoy="+_h,0); - //BA.debugLineNum = 212;BA.debugLine="Return h"; -if (true) return _h; - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public String _fechakmt(String _fecha) throws Exception{ -String _origformat = ""; -String _nuevafecha = ""; - //BA.debugLineNum = 133;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; - //BA.debugLineNum = 135;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = __c.DateTime.getDateFormat(); - //BA.debugLineNum = 136;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -__c.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 137;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; -_nuevafecha = __c.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 138;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -__c.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 140;BA.debugLine="Return nuevaFecha"; -if (true) return _nuevafecha; - //BA.debugLineNum = 141;BA.debugLine="End Sub"; -return ""; -} -public long _fechakmt2ticks(String _fkmt) throws Exception{ -String _partefecha = ""; -String _partehora = ""; -String _origformat = ""; -long _ticks = 0L; - //BA.debugLineNum = 275;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; - //BA.debugLineNum = 276;BA.debugLine="Try"; -try { //BA.debugLineNum = 277;BA.debugLine="If fKMT.Length = 12 Then"; -if (_fkmt.length()==12) { - //BA.debugLineNum = 278;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; -_partefecha = _fkmt.substring((int) (0),(int) (6)); - //BA.debugLineNum = 279;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; -_partehora = _fkmt.substring((int) (6)); - //BA.debugLineNum = 280;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; -_origformat = __c.DateTime.getDateFormat(); - //BA.debugLineNum = 281;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; -__c.DateTime.setDateFormat("yymmdd"); - //BA.debugLineNum = 282;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 283;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; -_ticks = __c.DateTime.DateTimeParse(_partefecha,_partehora); - //BA.debugLineNum = 284;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -__c.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 285;BA.debugLine="Return ticks"; -if (true) return _ticks; - }else { - //BA.debugLineNum = 287;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -__c.LogImpl("358785804","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); - //BA.debugLineNum = 288;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - } - catch (Exception e16) { - ba.setLastException(e16); //BA.debugLineNum = 291;BA.debugLine="Log(LastException)"; -__c.LogImpl("358785808",BA.ObjectToString(__c.LastException(getActivityBA())),0); - //BA.debugLineNum = 292;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -__c.LogImpl("358785809",("Fecha dada: "+__c.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+__c.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+__c.SmartStringFormatter("",(Object)(_partehora))+""),__c.Colors.Red); - //BA.debugLineNum = 293;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - //BA.debugLineNum = 295;BA.debugLine="End Sub"; -return 0L; -} -public String _getphnid() throws Exception{ -String _t = ""; -String _s = ""; - //BA.debugLineNum = 113;BA.debugLine="Sub getPhnId As String 'ignore"; - //BA.debugLineNum = 115;BA.debugLine="devModel = phn.Model"; -_devmodel = _phn.getModel(); - //BA.debugLineNum = 116;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; -if (_devmodel.length()<=3) { - //BA.debugLineNum = 117;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; -_t = _phn.GetSettings("android_id"); - //BA.debugLineNum = 118;BA.debugLine="devModel = t"; -_devmodel = _t; - }; - //BA.debugLineNum = 120;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; -if (_devmodel.length()>=3) { - //BA.debugLineNum = 121;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; -__c.File.WriteString(__c.File.getDirInternal(),"phnId.txt",_devmodel); - }else if(_devmodel.length()<3) { - //BA.debugLineNum = 124;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; -_s = __c.File.ReadString(__c.File.getDirInternal(),"phnId.txt"); - //BA.debugLineNum = 125;BA.debugLine="devModel = s"; -_devmodel = _s; - }; - //BA.debugLineNum = 129;BA.debugLine="Return devModel"; -if (true) return _devmodel; - //BA.debugLineNum = 130;BA.debugLine="End Sub"; -return ""; -} -public String _guardaappinfo(anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ - //BA.debugLineNum = 387;BA.debugLine="Sub guardaAppInfo(skmt As SQL) 'ignore"; - //BA.debugLineNum = 388;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; -_skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); - //BA.debugLineNum = 389;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; -_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+__c.SmartStringFormatter("",(Object)(__c.Application.getLabelName()))+"')")); - //BA.debugLineNum = 390;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; -_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+__c.SmartStringFormatter("",(Object)(__c.Application.getVersionName()))+"')")); - //BA.debugLineNum = 391;BA.debugLine="End Sub"; -return ""; -} -public String _guardainfoenarchivo(String _coords) throws Exception{ -String _origformat = ""; -String _lastupdate = ""; -String _ubic = ""; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 144;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 146;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; -_origformat = __c.DateTime.getDateFormat(); - //BA.debugLineNum = 147;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; -__c.DateTime.setDateFormat("MMM-dd HH:mm:ss"); - //BA.debugLineNum = 148;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; -_lastupdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 149;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -__c.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 151;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; -_ubic = _coords+","+_lastupdate; - //BA.debugLineNum = 152;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(__c.File.getDirInternal(),"gps.txt",__c.True); - //BA.debugLineNum = 153;BA.debugLine="Dim s As String = ubic & CRLF"; -_s = _ubic+__c.CRLF; - //BA.debugLineNum = 154;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 155;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 156;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 157;BA.debugLine="End Sub"; -return ""; -} -public String _guardainfoenbd(String _coords) throws Exception{ -String[] _latlon = null; - //BA.debugLineNum = 160;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; - //BA.debugLineNum = 161;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; -__c.LogImpl("358261505","Guardamos ubicacion en BD - "+_coords,0); - //BA.debugLineNum = 162;BA.debugLine="Try"; -try { //BA.debugLineNum = 163;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; -_latlon = __c.Regex.Split("\\|",_coords); - //BA.debugLineNum = 164;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; -if (_latlon.length<2) { -_latlon = __c.Regex.Split(",",_coords);}; - //BA.debugLineNum = 165;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; -if (_subslogs) { -__c.LogImpl("358261509","LatLon="+BA.ObjectToString(_latlon),0);}; - //BA.debugLineNum = 166;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; -_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); - } - catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 168;BA.debugLine="LogColor(LastException, Colors.red)"; -__c.LogImpl("358261512",BA.ObjectToString(__c.LastException(getActivityBA())),__c.Colors.Red); - }; - //BA.debugLineNum = 170;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.sql.SQL _inicializabd(String _ruta,String _bdname) throws Exception{ -anywheresoftware.b4a.sql.SQL _skmt = null; - //BA.debugLineNum = 404;BA.debugLine="Sub inicializaBD(ruta As String, BDName As String)"; - //BA.debugLineNum = 405;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 406;BA.debugLine="If File.Exists(ruta, BDName) = False Then"; -if (__c.File.Exists(_ruta,_bdname)==__c.False) { - //BA.debugLineNum = 407;BA.debugLine="File.Copy(File.DirAssets, BDName, ruta, BDName)"; -__c.File.Copy(__c.File.getDirAssets(),_bdname,_ruta,_bdname); - //BA.debugLineNum = 408;BA.debugLine="LogColor($\"Copiamos ${BDName} de ${File.DirAsset"; -__c.LogImpl("359572228",("Copiamos "+__c.SmartStringFormatter("",(Object)(_bdname))+" de "+__c.SmartStringFormatter("",(Object)(__c.File.getDirAssets()))+" a "+__c.SmartStringFormatter("",(Object)(_ruta))+""),__c.Colors.Green); - }; - //BA.debugLineNum = 410;BA.debugLine="skmt.Initialize(ruta, BDName, True)"; -_skmt.Initialize(_ruta,_bdname,__c.True); - //BA.debugLineNum = 411;BA.debugLine="Return skmt"; -if (true) return _skmt; - //BA.debugLineNum = 412;BA.debugLine="End Sub"; -return null; -} -public Object _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 19;BA.debugLine="Public Sub Initialize (vCallback As Object, vEvent"; - //BA.debugLineNum = 20;BA.debugLine="reqsList.Initialize"; -_reqslist.Initialize(); - //BA.debugLineNum = 21;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 22;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 23;BA.debugLine="db = dbInit"; -_db = _dbinit(); - //BA.debugLineNum = 24;BA.debugLine="reqManager = reqManagerInit"; -_reqmanager = _reqmanagerinit(); - //BA.debugLineNum = 25;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 26;BA.debugLine="End Sub"; -return null; -} -public String _installapk(String _dir,String _apk) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 297;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; - //BA.debugLineNum = 298;BA.debugLine="If File.Exists(dir, apk) Then"; -if (__c.File.Exists(_dir,_apk)) { - //BA.debugLineNum = 299;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 300;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(_dir,_apk)); - //BA.debugLineNum = 301;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 302;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); - }; - //BA.debugLineNum = 304;BA.debugLine="End Sub"; -return ""; -} -public String _jobdone(adm.keymon.com.mx.httpjob _job) throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbresult _resultado = null; -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 78;BA.debugLine="Sub JobDone(Job As HttpJob)"; - //BA.debugLineNum = 79;BA.debugLine="LogColor(\"C_SUBS JOBDONE - \" & Job.Success, Color"; -__c.LogImpl("357999361","C_SUBS JOBDONE - "+BA.ObjectToString(_job._success /*boolean*/ ),__c.Colors.Red); - //BA.debugLineNum = 80;BA.debugLine="If Job.Success = False Then"; -if (_job._success /*boolean*/ ==__c.False) { - //BA.debugLineNum = 81;BA.debugLine="Log($\"Error en el request ${Job.Tag}\"$)"; -__c.LogImpl("357999363",("Error en el request "+__c.SmartStringFormatter("",_job._tag /*Object*/ )+""),0); - //BA.debugLineNum = 82;BA.debugLine="LogColor(\"** \" & Job.Tag & \" Error: \" & Job.Erro"; -__c.LogImpl("357999364","** "+BA.ObjectToString(_job._tag /*Object*/ )+" Error: "+_job._errormessage /*String*/ ,__c.Colors.Red); - //BA.debugLineNum = 83;BA.debugLine="If reqsList.IndexOf(Job.Tag) > -1 Then reqsList."; -if (_reqslist.IndexOf(_job._tag /*Object*/ )>-1) { -_reqslist.RemoveAt(_reqslist.IndexOf(_job._tag /*Object*/ ));}; - //BA.debugLineNum = 84;BA.debugLine="reqError = True"; -_reqerror = __c.True; - }else { - //BA.debugLineNum = 86;BA.debugLine="If Job.JobName = \"DBRequest\" Then"; -if ((_job._jobname /*String*/ ).equals("DBRequest")) { - //BA.debugLineNum = 87;BA.debugLine="Dim resultado As DBResult = reqManager.HandleJo"; -_resultado = _reqmanager._handlejob /*adm.keymon.com.mx.dbrequestmanager._dbresult*/ (_job); - //BA.debugLineNum = 88;BA.debugLine="If reqsList.IndexOf(resultado.Tag) > -1 Then re"; -if (_reqslist.IndexOf(_resultado.Tag /*Object*/ )>-1) { -_reqslist.RemoveAt(_reqslist.IndexOf(_resultado.Tag /*Object*/ ));}; - //BA.debugLineNum = 89;BA.debugLine="If resultado.Tag = \"select_fecha\" Then"; -if ((_resultado.Tag /*Object*/ ).equals((Object)("select_fecha"))) { - //BA.debugLineNum = 90;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group12 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen12 = group12.getSize() -;int index12 = 0; -; -for (; index12 < groupLen12;index12++){ -_records = (Object[])(group12.Get(index12)); - //BA.debugLineNum = 91;BA.debugLine="For Each k As String In resultado.Columns.Key"; -{ -final anywheresoftware.b4a.BA.IterableList group13 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen13 = group13.getSize() -;int index13 = 0; -; -for (; index13 < groupLen13;index13++){ -_k = BA.ObjectToString(group13.Get(index13)); - //BA.debugLineNum = 92;BA.debugLine="Log(resultado.Tag & \": \" & k & \": \" & record"; -__c.LogImpl("357999374",BA.ObjectToString(_resultado.Tag /*Object*/ )+": "+_k+": "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),0); - } -}; - } -}; - }; - }; - }; - //BA.debugLineNum = 98;BA.debugLine="Log(reqsList.Size)"; -__c.LogImpl("357999380",BA.NumberToString(_reqslist.getSize()),0); - //BA.debugLineNum = 99;BA.debugLine="If reqsList.Size = 0 Then 'Ya no hay DBReqs pendi"; -if (_reqslist.getSize()==0) { - //BA.debugLineNum = 100;BA.debugLine="Log(reqError)"; -__c.LogImpl("357999382",BA.ObjectToString(_reqerror),0); - //BA.debugLineNum = 101;BA.debugLine="If Not(reqError) Then"; -if (__c.Not(_reqerror)) { - //BA.debugLineNum = 102;BA.debugLine="envioOk(True)"; -_enviook(__c.True); - }else { - //BA.debugLineNum = 104;BA.debugLine="envioOk(False)"; -_enviook(__c.False); - }; - //BA.debugLineNum = 106;BA.debugLine="reqError = False"; -_reqerror = __c.False; - //BA.debugLineNum = 107;BA.debugLine="Log(\"-= FIN =-\")"; -__c.LogImpl("357999389","-= FIN =-",0); - }; - //BA.debugLineNum = 109;BA.debugLine="Job.Release"; -_job._release /*String*/ (); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _log2db(String _texto) throws Exception{ - //BA.debugLineNum = 216;BA.debugLine="Sub log2DB(texto As String) 'ignore"; - //BA.debugLineNum = 217;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -__c.LogImpl("358523649",_fechakmt(BA.NumberToString(__c.DateTime.getNow()))+" - log2BD: '"+_texto+"'",__c.Colors.LightGray); - //BA.debugLineNum = 218;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; -_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(BA.NumberToString(__c.DateTime.getNow()))),(Object)(_texto)})); - //BA.debugLineNum = 219;BA.debugLine="End Sub"; -return ""; -} -public String _logjobdoneresultados(adm.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 394;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult) 'i"; - //BA.debugLineNum = 395;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_records = (Object[])(group1.Get(index1)); - //BA.debugLineNum = 396;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; -__c.LogImpl("359506690",("====== "+__c.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+__c.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),__c.Colors.RGB((int) (215),(int) (37),(int) (0))); - //BA.debugLineNum = 397;BA.debugLine="For Each k As String In resultado.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen3 = group3.getSize() -;int index3 = 0; -; -for (; index3 < groupLen3;index3++){ -_k = BA.ObjectToString(group3.Get(index3)); - //BA.debugLineNum = 398;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; -__c.LogImpl("359506692",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),__c.Colors.RGB((int) (215),(int) (37),(int) (0))); - } -}; - } -}; - //BA.debugLineNum = 401;BA.debugLine="End Sub"; -return ""; -} -public String _mandapendientes() throws Exception{ -boolean _logger = false; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _almacen = ""; -String _ruta = ""; -int _i = 0; -adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _ab = null; - //BA.debugLineNum = 532;BA.debugLine="Sub mandaPendientes 'ignore"; - //BA.debugLineNum = 533;BA.debugLine="Private logger As Boolean = False"; -_logger = __c.False; - //BA.debugLineNum = 535;BA.debugLine="Private c As Cursor = db.ExecQuery(\"SELECT PC_CLI"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery("SELECT PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT, PC_COSTO_SIN, PC_RUTA, PC_ALMACEN, PC_FACTURA FROM PEDIDO_CLIENTE where pc_envio_ok <> 1"))); - //BA.debugLineNum = 536;BA.debugLine="If logger Then Log($\"Pedido_Cliente PENDIENTE: ${"; -if (_logger) { -__c.LogImpl("360227588",("Pedido_Cliente PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);}; - //BA.debugLineNum = 537;BA.debugLine="Private almacen As String = traeAlmacen"; -_almacen = _traealmacen(); - //BA.debugLineNum = 538;BA.debugLine="Private ruta As String = traeRuta"; -_ruta = _traeruta(); - //BA.debugLineNum = 539;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 540;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 541;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 548;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 549;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 550;BA.debugLine="cmd.Name = \"insert_pedidos_ADM\""; -_cmd.Name /*String*/ = "insert_pedidos_ADM"; - //BA.debugLineNum = 551;BA.debugLine="If logger Then Log($\"${c.GetString(\"PC_CLIENTE\""; -if (_logger) { -__c.LogImpl("360227603",(""+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+", "+__c.SmartStringFormatter("",(Object)(_almacen))+""),0);}; - //BA.debugLineNum = 552;BA.debugLine="cmd.Parameters = Array As Object(C.GetString(\"P"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PC_CLIENTE")),(Object)(_c.GetString("PC_FECHA")),(Object)(_c.GetString("PC_USER")),(Object)(_c.GetString("PC_NOART")),(Object)(_c.GetString("PC_MONTO")),(Object)(_c.GetString("PC_LON")),(Object)(_c.GetString("PC_LAT")),(Object)(_almacen),(Object)(_ruta),(Object)(_c.GetString("PC_COSTO_SIN")),(Object)(_c.GetString("PC_FACTURA"))}; - //BA.debugLineNum = 553;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_head_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 558;BA.debugLine="c=Starter.skmt.ExecQuery(\"SELECT PC_ENVIO_OK, PE_"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT PC_ENVIO_OK, PE_CEDIS, PE_COSTO_TOT, PE_COSTOU, PE_CANT, PE_PRONOMBRE, PE_PROID, PE_CLIENTE, PE_FECHA, PE_USUARIO, PE_COSTO_SIN, PE_RUTA, PE_DESC, PE_FOLIO FROM pedido_cliente left join PEDIDO where pc_cliente = pe_cliente and pc_envio_ok <> 1"))); - //BA.debugLineNum = 559;BA.debugLine="If logger Then Log($\"Pedido PENDIENTE: ${c.RowCou"; -if (_logger) { -__c.LogImpl("360227611",("Pedido PENDIENTE: "+__c.SmartStringFormatter("",(Object)(_c.getRowCount()))+""),0);}; - //BA.debugLineNum = 560;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 561;BA.debugLine="For i = 0 To c.RowCount - 1"; -{ -final int step20 = 1; -final int limit20 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit20 ;_i = _i + step20 ) { - //BA.debugLineNum = 562;BA.debugLine="c.Position = i"; -_c.setPosition(_i); - //BA.debugLineNum = 563;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 570;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 571;BA.debugLine="cmd.Name = \"insert_pedido2_ADM\""; -_cmd.Name /*String*/ = "insert_pedido2_ADM"; - //BA.debugLineNum = 572;BA.debugLine="cmd.Parameters = Array As Object(c.GetString(\"P"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_c.GetString("PE_CEDIS")),(Object)(_almacen),(Object)(_c.GetString("PE_COSTO_TOT")),(Object)(_c.GetString("PE_COSTOU")),(Object)(_c.GetString("PE_CANT")),(Object)(_c.GetString("PE_PRONOMBRE")),(Object)(_c.GetString("PE_PROID")),(Object)(_c.GetString("PE_CLIENTE")),(Object)(_c.GetString("PE_FECHA")),(Object)(_c.GetString("PE_USUARIO")),(Object)(_subs._traeruta2 /*String*/ (getActivityBA(),_c.GetString("PE_CLIENTE"))),(Object)(_c.GetString("PE_COSTO_SIN")),(Object)(_c.GetString("PE_DESC")),(Object)(_c.GetString("PE_FOLIO")),(Object)(_c.GetString("PE_CANTC")),(Object)(_c.GetString("PE_BCAJAS")),(Object)(_c.GetString("PE_TIPOPAGO")),(Object)(_c.GetString("PE_COMENTARIO"))}; - //BA.debugLineNum = 573;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_pedidosPe"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_pedidosPendientes_prods_"+__c.SmartStringFormatter("",(Object)(_c.GetString("PE_CLIENTE")))+""))); - } -}; - }; - //BA.debugLineNum = 578;BA.debugLine="Dim ab As Cursor = db.ExecQuery($\"SELECT * from A"; -_ab = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ab = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery(("SELECT * from ABONOS where a_enviado is null")))); - //BA.debugLineNum = 579;BA.debugLine="If logger Then Log(ab.RowCount)"; -if (_logger) { -__c.LogImpl("360227631",BA.NumberToString(_ab.getRowCount()),0);}; - //BA.debugLineNum = 580;BA.debugLine="If ab.RowCount > 0 Then"; -if (_ab.getRowCount()>0) { - //BA.debugLineNum = 581;BA.debugLine="For i = 0 To ab.RowCount - 1"; -{ -final int step32 = 1; -final int limit32 = (int) (_ab.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit32 ;_i = _i + step32 ) { - //BA.debugLineNum = 582;BA.debugLine="ab.Position = i"; -_ab.setPosition(_i); - //BA.debugLineNum = 583;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 584;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 585;BA.debugLine="cmd.Name = \"insert_abono_ADM\""; -_cmd.Name /*String*/ = "insert_abono_ADM"; - //BA.debugLineNum = 586;BA.debugLine="cmd.Parameters = Array As Object( ab.GetString("; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(_ab.GetString("a_usuario")),(Object)(_ab.GetString("a_ruta")),(Object)(_ab.GetString("a_cliente")),(Object)(_ab.GetString("a_abono")),(Object)(_ab.GetString("a_fecha"))}; - //BA.debugLineNum = 587;BA.debugLine="reqManager.ExecuteCommand(cmd , $\"ins_abonosPen"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)(("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""))); - //BA.debugLineNum = 588;BA.debugLine="If logger Then Log($\"ins_abonosPendientes_${ab."; -if (_logger) { -__c.LogImpl("360227640",("ins_abonosPendientes_"+__c.SmartStringFormatter("",(Object)(_ab.GetString("a_cliente")))+""),0);}; - } -}; - }; - //BA.debugLineNum = 591;BA.debugLine="ab.Close"; -_ab.Close(); - //BA.debugLineNum = 592;BA.debugLine="End Sub"; -return ""; -} -public boolean _masdexxmins(int _hora,int _mins) throws Exception{ - //BA.debugLineNum = 222;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; - //BA.debugLineNum = 223;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; -if ((_hora+_mins*__c.DateTime.TicksPerMinute)<__c.DateTime.getNow()) { - //BA.debugLineNum = 224;BA.debugLine="Return True"; -if (true) return __c.True; - }else { - //BA.debugLineNum = 226;BA.debugLine="Return False"; -if (true) return __c.False; - }; - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return false; -} -public boolean _masdexxminskmt(String _hora,int _mins) throws Exception{ - //BA.debugLineNum = 231;BA.debugLine="Sub masDeXXMinsKMT(hora As String, mins As Int) As"; - //BA.debugLineNum = 232;BA.debugLine="Try"; -try { //BA.debugLineNum = 234;BA.debugLine="If fechaKMT2Ticks(hora) + mins * DateTime.TicksP"; -if (_fechakmt2ticks(_hora)+_mins*__c.DateTime.TicksPerMinute<__c.DateTime.getNow()) { - //BA.debugLineNum = 236;BA.debugLine="Return True"; -if (true) return __c.True; - }else { - //BA.debugLineNum = 239;BA.debugLine="Return False"; -if (true) return __c.False; - }; - } - catch (Exception e8) { - ba.setLastException(e8); //BA.debugLineNum = 242;BA.debugLine="Log(LastException)"; -__c.LogImpl("358654731",BA.ObjectToString(__c.LastException(getActivityBA())),0); - }; - //BA.debugLineNum = 244;BA.debugLine="End Sub"; -return false; -} -public String _notihigh(String _title,String _body,String _id,Object _activity) throws Exception{ -anywheresoftware.b4a.objects.NotificationWrapper _notif = null; - //BA.debugLineNum = 478;BA.debugLine="Sub notiHigh(title As String, body As String, id A"; - //BA.debugLineNum = 479;BA.debugLine="activity = Main"; -_activity = (Object)(_main.getObject()); - //BA.debugLineNum = 480;BA.debugLine="Private notif As Notification"; -_notif = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 481;BA.debugLine="notif.Initialize2(notif.IMPORTANCE_HIGH)"; -_notif.Initialize2(_notif.IMPORTANCE_HIGH); - //BA.debugLineNum = 482;BA.debugLine="notif.Icon = \"icon\""; -_notif.setIcon("icon"); - //BA.debugLineNum = 483;BA.debugLine="notif.Vibrate = False"; -_notif.setVibrate(__c.False); - //BA.debugLineNum = 484;BA.debugLine="notif.Sound = False"; -_notif.setSound(__c.False); - //BA.debugLineNum = 485;BA.debugLine="notif.AutoCancel = True"; -_notif.setAutoCancel(__c.True); - //BA.debugLineNum = 487;BA.debugLine="notif.SetInfo(title, body, activity)"; -_notif.SetInfoNew(ba,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),_activity); - //BA.debugLineNum = 489;BA.debugLine="notif.Notify(id)"; -_notif.Notify((int)(Double.parseDouble(_id))); - //BA.debugLineNum = 490;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.NotificationWrapper _notilowreturn(String _title,String _body,int _id) throws Exception{ -anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 493;BA.debugLine="Sub notiLowReturn(title As String, Body As String,"; - //BA.debugLineNum = 494;BA.debugLine="Private notification As Notification"; -_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 495;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; -_notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 497;BA.debugLine="notification.Icon = \"icon\""; -_notification.setIcon("icon"); - //BA.debugLineNum = 498;BA.debugLine="notification.Sound = False"; -_notification.setSound(__c.False); - //BA.debugLineNum = 499;BA.debugLine="notification.Vibrate = False"; -_notification.setVibrate(__c.False); - //BA.debugLineNum = 500;BA.debugLine="notification.SetInfo(title, Body, Main)"; -_notification.SetInfoNew(ba,BA.ObjectToCharSequence(_title),BA.ObjectToCharSequence(_body),(Object)(_main.getObject())); - //BA.debugLineNum = 501;BA.debugLine="notification.Notify(id)"; -_notification.Notify(_id); - //BA.debugLineNum = 503;BA.debugLine="Return notification"; -if (true) return _notification; - //BA.debugLineNum = 504;BA.debugLine="End Sub"; -return null; -} -public String _panelvisible(anywheresoftware.b4a.objects.PanelWrapper _panel,int _top,int _left) throws Exception{ - //BA.debugLineNum = 341;BA.debugLine="Sub panelVisible(panel As Panel, top As Int, left"; - //BA.debugLineNum = 342;BA.debugLine="panel.BringToFront"; -_panel.BringToFront(); - //BA.debugLineNum = 343;BA.debugLine="panel.Visible = True"; -_panel.setVisible(__c.True); - //BA.debugLineNum = 344;BA.debugLine="panel.Top = top"; -_panel.setTop(_top); - //BA.debugLineNum = 345;BA.debugLine="panel.Left = left"; -_panel.setLeft(_left); - //BA.debugLineNum = 346;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.dbrequestmanager _reqmanagerinit() throws Exception{ -adm.keymon.com.mx.dbrequestmanager _rm = null; - //BA.debugLineNum = 45;BA.debugLine="Sub reqManagerInit As DBRequestManager"; - //BA.debugLineNum = 46;BA.debugLine="Private rm As DBRequestManager"; -_rm = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 47;BA.debugLine="rm.Initialize(Me, traeDBReqServerDeBD(db))"; -_rm._initialize /*String*/ (ba,this,_traedbreqserverdebd(_db)); - //BA.debugLineNum = 48;BA.debugLine="Log($\"Inicializamos reqManager con ${traeDBReqSer"; -__c.LogImpl("357737219",("Inicializamos reqManager con "+__c.SmartStringFormatter("",(Object)(_traedbreqserverdebd(_db)))+""),0); - //BA.debugLineNum = 49;BA.debugLine="Return rm"; -if (true) return _rm; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return null; -} -public String _reqmanagerreinit() throws Exception{ - //BA.debugLineNum = 53;BA.debugLine="Sub reqManagerReInit"; - //BA.debugLineNum = 54;BA.debugLine="Log(\"reqManager ReInit\")"; -__c.LogImpl("357802753","reqManager ReInit",0); - //BA.debugLineNum = 55;BA.debugLine="reqManager = reqManagerInit"; -_reqmanager = _reqmanagerinit(); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public String _traealmacen() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 507;BA.debugLine="Sub traeAlmacen As String 'ignore"; - //BA.debugLineNum = 508;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 509;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 510;BA.debugLine="c = db.ExecQuery(\"select ID_ALMACEN from CAT_ALM"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 511;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 512;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; -_a = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 513;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 514;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; -return ""; -} -public String _traedbreqserverdebd(anywheresoftware.b4a.sql.SQL _dbx) throws Exception{ -String _srvr = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; - //BA.debugLineNum = 436;BA.debugLine="Sub traeDBReqServerDeBD(dbx As SQL) As String 'ign"; - //BA.debugLineNum = 437;BA.debugLine="Dim srvr As String = \"N/A\""; -_srvr = "N/A"; - //BA.debugLineNum = 438;BA.debugLine="Dim rs As ResultSet = dbx.ExecQuery(\"select CAT_V"; -_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_dbx.ExecQuery("select CAT_VA_VALOR from cat_variables where CAT_VA_DESCRIPCION = 'SERVER'"))); - //BA.debugLineNum = 439;BA.debugLine="If rs.RowCount > 0 Then"; -if (_rs.getRowCount()>0) { - //BA.debugLineNum = 440;BA.debugLine="rs.NextRow"; -_rs.NextRow(); - //BA.debugLineNum = 441;BA.debugLine="srvr = rs.GetString(\"CAT_VA_VALOR\")"; -_srvr = _rs.GetString("CAT_VA_VALOR"); - }; - //BA.debugLineNum = 443;BA.debugLine="Return srvr"; -if (true) return _srvr; - //BA.debugLineNum = 444;BA.debugLine="End Sub"; -return ""; -} -public String _traefecha() throws Exception{ -String _sdate = ""; -String _stime = ""; - //BA.debugLineNum = 379;BA.debugLine="Sub traeFecha As String 'ignore"; - //BA.debugLineNum = 380;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -__c.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 381;BA.debugLine="Private sDate As String = DateTime.Date(DateTime."; -_sdate = __c.DateTime.Date(__c.DateTime.getNow()); - //BA.debugLineNum = 382;BA.debugLine="Private sTime As String = DateTime.Time(DateTime."; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 383;BA.debugLine="Return sDate & sTime"; -if (true) return _sdate+_stime; - //BA.debugLineNum = 384;BA.debugLine="End Sub"; -return ""; -} -public String _traeintervalodebd() throws Exception{ -String _intrvl = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; - //BA.debugLineNum = 447;BA.debugLine="Sub traeIntervaloDeBD As String 'ignore"; - //BA.debugLineNum = 448;BA.debugLine="Dim intrvl As String = \"30\""; -_intrvl = "30"; - //BA.debugLineNum = 449;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; -_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_db.ExecQuery("select valor from cat_variables where nombre = 'intervalo'"))); - //BA.debugLineNum = 450;BA.debugLine="If rs.RowCount > 0 Then"; -if (_rs.getRowCount()>0) { - //BA.debugLineNum = 451;BA.debugLine="rs.NextRow"; -_rs.NextRow(); - //BA.debugLineNum = 452;BA.debugLine="intrvl = rs.GetString(\"valor\")"; -_intrvl = _rs.GetString("valor"); - }; - //BA.debugLineNum = 454;BA.debugLine="Return intrvl"; -if (true) return _intrvl; - //BA.debugLineNum = 455;BA.debugLine="End Sub"; -return ""; -} -public String _traeruta() throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 518;BA.debugLine="Sub traeRuta As String 'ignore"; - //BA.debugLineNum = 519;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 520;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 521;BA.debugLine="c = db.ExecQuery(\"select CAT_CL_RUTA from kmt_inf"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_db.ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 522;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 523;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 524;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 525;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 527;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 528;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 529;BA.debugLine="End Sub"; -return ""; -} -public String _traetimeoutdebd() throws Exception{ -String _tmout = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; - //BA.debugLineNum = 458;BA.debugLine="Sub traeTimeoutDeBD As String 'ignore"; - //BA.debugLineNum = 459;BA.debugLine="Dim tmout As String = \"9000\""; -_tmout = "9000"; - //BA.debugLineNum = 460;BA.debugLine="Dim rs As ResultSet = db.ExecQuery(\"select valor"; -_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_db.ExecQuery("select valor from cat_variables where nombre = 'timeout'"))); - //BA.debugLineNum = 461;BA.debugLine="If rs.RowCount > 0 Then"; -if (_rs.getRowCount()>0) { - //BA.debugLineNum = 462;BA.debugLine="rs.NextRow"; -_rs.NextRow(); - //BA.debugLineNum = 463;BA.debugLine="tmout = rs.GetString(\"valor\")"; -_tmout = _rs.GetString("valor"); - }; - //BA.debugLineNum = 465;BA.debugLine="Return tmout"; -if (true) return _tmout; - //BA.debugLineNum = 466;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "JOBDONE")) - return _jobdone((adm.keymon.com.mx.httpjob) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_ticketsdia.java b/B4A/Objects/src/adm/keymon/com/mx/c_ticketsdia.java deleted file mode 100644 index 0ea3e04..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_ticketsdia.java +++ /dev/null @@ -1,358 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_ticketsdia extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_ticketsdia"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_ticketsdia.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.PanelWrapper _p_ticketsdia = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public anywheresoftware.b4a.sql.SQL.CursorWrapper _s = null; -public String _ruta = ""; -public anywheresoftware.b4a.objects.ListViewWrapper _listview1 = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_noventa = null; -public String _nombre_boton = ""; -public String _stime = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public boolean _activity_keypress(int _key) throws Exception{ - //BA.debugLineNum = 83;BA.debugLine="Sub Activity_KeyPress (key As Int) As Boolean"; - //BA.debugLineNum = 85;BA.debugLine="If key=KeyCodes.KEYCODE_BACK Then"; -if (_key==__c.KeyCodes.KEYCODE_BACK) { - //BA.debugLineNum = 87;BA.debugLine="B4XPages.ShowPage(\"principal\")"; -_b4xpages._showpage /*String*/ (ba,"principal"); - }; - //BA.debugLineNum = 91;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return false; -} -public String _b_noventa_click() throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 113;BA.debugLine="Sub b_noventa_Click"; - //BA.debugLineNum = 114;BA.debugLine="If nombre_boton = \"NOVENTA\" Then"; -if ((_nombre_boton).equals("NOVENTA")) { - //BA.debugLineNum = 115;BA.debugLine="nombre_boton = \"VENTA\""; -_nombre_boton = "VENTA"; - //BA.debugLineNum = 116;BA.debugLine="b_noventa.Text =\"VENTA\""; -_b_noventa.setText(BA.ObjectToCharSequence("VENTA")); - //BA.debugLineNum = 117;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select NV_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select NV_CLIENTE,NV_MOTIVO,NV_COMM, (select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = NV_CLIENTE ) as NOMBRE FROM NOVENTA ORDER BY NV_CLIENTE asc"))); - //BA.debugLineNum = 118;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 119;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 120;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 121;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 122;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 123;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 124;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 125;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 126;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 127;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 128;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 129;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 130;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"NV_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("NV_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Motivo #"+_c.GetString("NV_MOTIVO")+" Comentario $"+_c.GetString("NV_COMM"))); - } -}; - }; - }else { - //BA.debugLineNum = 134;BA.debugLine="nombre_boton = \"NOVENTA\""; -_nombre_boton = "NOVENTA"; - //BA.debugLineNum = 135;BA.debugLine="b_noventa.Text =\"NO VENTA\""; -_b_noventa.setText(BA.ObjectToCharSequence("NO VENTA")); - //BA.debugLineNum = 136;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 137;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 139;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 140;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step26 = 1; -final int limit26 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit26 ;_i = _i + step26 ) { - //BA.debugLineNum = 141;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 142;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 143;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 144;BA.debugLine="label1.TextSize = 15"; -_label1.setTextSize((float) (15)); - //BA.debugLineNum = 145;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 146;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 147;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 148;BA.debugLine="label2.TextSize = 10"; -_label2.setTextSize((float) (10)); - //BA.debugLineNum = 149;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 150;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\""; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+_c.GetString("PC_NOART")+" SubTotal $"+_c.GetString("PC_MONTO"))); - } -}; - }; - //BA.debugLineNum = 153;BA.debugLine="c.Close"; -_c.Close(); - }; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_appear() throws Exception{ -int _noarticulos = 0; -int _i = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _x = null; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 51;BA.debugLine="Sub B4XPage_Appear"; - //BA.debugLineNum = 52;BA.debugLine="nombre_boton = \"NOVENTA\""; -_nombre_boton = "NOVENTA"; - //BA.debugLineNum = 53;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select PC_CLI"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART,(select CAT_CL_NOMBRE from kmt_info where cat_cl_codigo = pc_cliente UNION select CAT_CL_NOMBRE from kmt_info2 where cat_cl_codigo = pc_cliente ) as NOMBRE FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 54;BA.debugLine="Dim noArticulos As Int = 0"; -_noarticulos = (int) (0); - //BA.debugLineNum = 56;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 57;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 58;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step6 = 1; -final int limit6 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 59;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 60;BA.debugLine="Dim x As Cursor = B4XPages.MainPage.skmt.ExecQu"; -_x = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_x = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_CANT) as PC_NOART from PEDIDO where PE_CLIENTE = '"+__c.SmartStringFormatter("",(Object)(_c.GetString("PC_CLIENTE")))+"' AND PE_PROID NOT IN (SELECT CAT_PA_ID FROM PROMOS_COMP)")))); - //BA.debugLineNum = 61;BA.debugLine="If x.RowCount > 0 Then"; -if (_x.getRowCount()>0) { - //BA.debugLineNum = 62;BA.debugLine="x.Position = 0"; -_x.setPosition((int) (0)); - //BA.debugLineNum = 64;BA.debugLine="noArticulos = x.GetString(\"PC_NOART\")"; -_noarticulos = (int)(Double.parseDouble(_x.GetString("PC_NOART"))); - }; - //BA.debugLineNum = 66;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 67;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 68;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 69;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 70;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 71;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 72;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 73;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 74;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence(_c.GetString("NOMBRE")+" Cantidad #"+BA.NumberToString(_noarticulos)+" SubTotal $"+_c.GetString("PC_MONTO"))); - } -}; - }; - //BA.debugLineNum = 77;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 78;BA.debugLine="End Sub"; -return ""; -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ -int _i = 0; -anywheresoftware.b4a.objects.LabelWrapper _label1 = null; -anywheresoftware.b4a.objects.LabelWrapper _label2 = null; - //BA.debugLineNum = 21;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 22;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 24;BA.debugLine="ruta = File.DirInternal"; -_ruta = __c.File.getDirInternal(); - //BA.debugLineNum = 25;BA.debugLine="Root.LoadLayout(\"ticketsdia\")"; -_root.LoadLayout("ticketsdia",ba); - //BA.debugLineNum = 26;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (__c.File.Exists(_ruta,"kmt.db")==__c.False) { - //BA.debugLineNum = 27;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -__c.File.Copy(__c.File.getDirAssets(),"kmt.db",_ruta,"kmt.db"); - }; - //BA.debugLineNum = 29;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"select PC_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PC_CLIENTE,PC_MONTO,PC_NOART FROM PEDIDO_CLIENTE ORDER BY PC_FECHA asc"))); - //BA.debugLineNum = 32;BA.debugLine="ListView1.Clear"; -_listview1.Clear(); - //BA.debugLineNum = 33;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 34;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step10 = 1; -final int limit10 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 35;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 36;BA.debugLine="Dim label1 As Label"; -_label1 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 37;BA.debugLine="label1 = ListView1.TwoLinesLayout.Label"; -_label1 = _listview1.getTwoLinesLayout().Label; - //BA.debugLineNum = 38;BA.debugLine="label1.TextSize = 10"; -_label1.setTextSize((float) (10)); - //BA.debugLineNum = 39;BA.debugLine="label1.TextColor = Colors.Black"; -_label1.setTextColor(__c.Colors.Black); - //BA.debugLineNum = 40;BA.debugLine="Dim label2 As Label"; -_label2 = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 41;BA.debugLine="label2 = ListView1.TwoLinesLayout.SecondLabel"; -_label2 = _listview1.getTwoLinesLayout().SecondLabel; - //BA.debugLineNum = 42;BA.debugLine="label2.TextSize = 13"; -_label2.setTextSize((float) (13)); - //BA.debugLineNum = 43;BA.debugLine="label2.TextColor = Colors.Blue"; -_label2.setTextColor(__c.Colors.Blue); - //BA.debugLineNum = 44;BA.debugLine="ListView1.AddTwoLines(c.GetString(\"PC_CLIENTE\")"; -_listview1.AddTwoLines(BA.ObjectToCharSequence(_c.GetString("PC_CLIENTE")),BA.ObjectToCharSequence("Cantidad #"+_c.GetString("PC_NOART")+" SubTotal $"+_c.GetString("PC_MONTO"))); - } -}; - }; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="Private p_ticketsdia As Panel"; -_p_ticketsdia = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Dim S As Cursor"; -_s = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 8;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim ListView1 As ListView"; -_listview1 = new anywheresoftware.b4a.objects.ListViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Dim b_noventa As Button"; -_b_noventa = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 11;BA.debugLine="Dim nombre_boton As String"; -_nombre_boton = ""; - //BA.debugLineNum = 12;BA.debugLine="Dim STIME As String"; -_stime = ""; - //BA.debugLineNum = 13;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 16;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 17;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 18;BA.debugLine="End Sub"; -return null; -} -public String _listview1_itemlongclick(int _position,Object _value) throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Sub ListView1_ItemLongClick (Position As Int, Valu"; - //BA.debugLineNum = 94;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 95;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO CUENTAA VALUES (?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 96;BA.debugLine="DateTime.TimeFormat = \"HHmmss\""; -__c.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 97;BA.debugLine="STIME=DateTime.Time(DateTime.Now)"; -_stime = __c.DateTime.Time(__c.DateTime.getNow()); - //BA.debugLineNum = 98;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; -_starter._pre_viejo /*float*/ = (float) (_subs._traetotalclientepreventaparacredito /*double*/ (ba)); - //BA.debugLineNum = 99;BA.debugLine="s=B4XPages.MainPage.skmt.ExecQuery(\"SELECT COUNT("; -_s = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("SELECT COUNT(*) AS CUANTOS FROM HIST_STAY_STORE WHERE HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 100;BA.debugLine="s.Position = 0"; -_s.setPosition((int) (0)); - //BA.debugLineNum = 101;BA.debugLine="If s.GetString(\"CUANTOS\") = 1 Then"; -if ((_s.GetString("CUANTOS")).equals(BA.NumberToString(1))) { - //BA.debugLineNum = 102;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }else { - //BA.debugLineNum = 104;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_STAY_STORE(HSS_CODIGO, HSS_IN , HSS_OUT , HSS_TOT) VALUES (?,0,0,0)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{_value})); - //BA.debugLineNum = 105;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"UPDATE HIS"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("UPDATE HIST_STAY_STORE set HSS_IN = ? where HSS_IN = 0 AND HSS_CODIGO In (select cuenta from cuentaa)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_stime)})); - }; - //BA.debugLineNum = 107;BA.debugLine="DateTime.TimeFormat = \"HH:mm:ss\""; -__c.DateTime.setTimeFormat("HH:mm:ss"); - //BA.debugLineNum = 108;BA.debugLine="Subs.guardaClienteHoraInicio(Value)"; -_subs._guardaclientehorainicio /*String*/ (ba,BA.ObjectToString(_value)); - //BA.debugLineNum = 109;BA.debugLine="B4XPages.MainPage.cliente.venimosDeTicketsDia = T"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._cliente /*adm.keymon.com.mx.c_cliente*/ ._venimosdeticketsdia /*boolean*/ = __c.True; - //BA.debugLineNum = 110;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; -_b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return ""; -} -public String _p_ticketsdia_click() throws Exception{ - //BA.debugLineNum = 157;BA.debugLine="Private Sub p_ticketsdia_Click"; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public String _regresar_click() throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Sub Regresar_Click"; - //BA.debugLineNum = 81;BA.debugLine="B4XPages.ShowPage(\"cliente\")"; -_b4xpages._showpage /*String*/ (ba,"cliente"); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/c_updateavailable.java b/B4A/Objects/src/adm/keymon/com/mx/c_updateavailable.java deleted file mode 100644 index b242d51..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/c_updateavailable.java +++ /dev/null @@ -1,252 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class c_updateavailable extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.c_updateavailable"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.c_updateavailable.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.B4XViewWrapper _root = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public void _b4xpage_appear() throws Exception{ -ResumableSub_B4XPage_Appear rsub = new ResumableSub_B4XPage_Appear(this); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XPage_Appear extends BA.ResumableSub { -public ResumableSub_B4XPage_Appear(adm.keymon.com.mx.c_updateavailable parent) { -this.parent = parent; -} -adm.keymon.com.mx.c_updateavailable parent; -int _result = 0; -anywheresoftware.b4a.objects.IntentWrapper _in = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { -try { - - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 19;BA.debugLine="Try"; -if (true) break; - -case 1: -//try -this.state = 10; -this.catchState = 9; -this.state = 3; -if (true) break; - -case 3: -//C -this.state = 4; -this.catchState = 9; - //BA.debugLineNum = 20;BA.debugLine="Do While Not(CanRequestPackageInstalls)"; -if (true) break; - -case 4: -//do while -this.state = 7; -while (parent.__c.Not(parent._canrequestpackageinstalls())) { -this.state = 6; -if (true) break; -} -if (true) break; - -case 6: -//C -this.state = 4; - //BA.debugLineNum = 21;BA.debugLine="MsgboxAsync($\"Por favor permita que ${Applicati"; -parent.__c.MsgboxAsync(BA.ObjectToCharSequence(("Por favor permita que "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.Application.getPackageName()))+" instale actualizaciones")),BA.ObjectToCharSequence("Instalar actualización"),ba); - //BA.debugLineNum = 22;BA.debugLine="Wait For Msgbox_Result(Result As Int)"; -parent.__c.WaitFor("msgbox_result", ba, this, null); -this.state = 16; -return; -case 16: -//C -this.state = 4; -_result = (Integer) result[0]; -; - //BA.debugLineNum = 23;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 24;BA.debugLine="in.Initialize(\"android.settings.MANAGE_UNKNOWN_"; -_in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES","package:"+parent.__c.Application.getPackageName()); - //BA.debugLineNum = 25;BA.debugLine="StartActivity(in)"; -parent.__c.StartActivity(ba,(Object)(_in.getObject())); - if (true) break; - -case 7: -//C -this.state = 10; -; - if (true) break; - -case 9: -//C -this.state = 10; -this.catchState = 0; - //BA.debugLineNum = 28;BA.debugLine="Log(\"updateAvailable() Error - \" & LastException"; -parent.__c.LogImpl("361145098","updateAvailable() Error - "+parent.__c.LastException(ba).getMessage(),0); - if (true) break; -if (true) break; -; - //BA.debugLineNum = 30;BA.debugLine="If appUpdater.newApp.update Then"; - -case 10: -//if -this.state = 15; -this.catchState = 0; -if (parent._appupdater._newapp /*adm.keymon.com.mx.appupdater._mnewversion*/ .update /*boolean*/ ) { -this.state = 12; -}else { -this.state = 14; -}if (true) break; - -case 12: -//C -this.state = 15; - //BA.debugLineNum = 31;BA.debugLine="ofreceActualizacion"; -parent._ofreceactualizacion(); - if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 33;BA.debugLine="sinActualizacion"; -parent._sinactualizacion(); - if (true) break; - -case 15: -//C -this.state = -1; -; - //BA.debugLineNum = 35;BA.debugLine="End Sub"; -if (true) break; -}} - catch (Exception e0) { - -if (catchState == 0) - throw e0; -else { - state = catchState; -ba.setLastException(e0);} - } - } - } -} -public void _msgbox_result(int _result) throws Exception{ -} -public String _b4xpage_created(anywheresoftware.b4a.objects.B4XViewWrapper _root1) throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Private Sub B4XPage_Created (Root1 As B4XView)"; - //BA.debugLineNum = 13;BA.debugLine="Root = Root1"; -_root = _root1; - //BA.debugLineNum = 15;BA.debugLine="Root.Color = Colors.Transparent"; -_root.setColor(__c.Colors.Transparent); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public boolean _canrequestpackageinstalls() throws Exception{ -anywheresoftware.b4j.object.JavaObject _ctxt = null; -anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 43;BA.debugLine="public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 45;BA.debugLine="Dim ctxt As JavaObject"; -_ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 46;BA.debugLine="ctxt.InitializeContext"; -_ctxt.InitializeContext(ba); - //BA.debugLineNum = 47;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; -_packagemanager = new anywheresoftware.b4j.object.JavaObject(); -_packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 48;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; -if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return false; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private Root As B4XView 'ignore"; -_root = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 3;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 4;BA.debugLine="End Sub"; -return ""; -} -public Object _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 7;BA.debugLine="Public Sub Initialize As Object"; - //BA.debugLineNum = 8;BA.debugLine="Return Me"; -if (true) return this; - //BA.debugLineNum = 9;BA.debugLine="End Sub"; -return null; -} -public String _ofreceactualizacion() throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Sub ofreceActualizacion"; - //BA.debugLineNum = 52;BA.debugLine="If Msgbox2(appUpdater.newApp.newMsg,\"Actualizació"; -if (__c.Msgbox2(BA.ObjectToCharSequence(_appupdater._newapp /*adm.keymon.com.mx.appupdater._mnewversion*/ .newMsg /*String*/ ),BA.ObjectToCharSequence("Actualización disponible"),"Si","","No",(android.graphics.Bitmap)(__c.Null),ba)==__c.DialogResponse.POSITIVE) { - //BA.debugLineNum = 54;BA.debugLine="CallSubDelayed(appUpdater, \"download_newApk\")"; -__c.CallSubDelayed(ba,(Object)(_appupdater.getObject()),"download_newApk"); - }; - //BA.debugLineNum = 56;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 57;BA.debugLine="StartActivity(Main)"; -__c.StartActivity(ba,(Object)(_main.getObject())); - //BA.debugLineNum = 59;BA.debugLine="B4XPages.ShowPage(\"Login\")"; -_b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _sinactualizacion() throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Sub sinActualizacion"; - //BA.debugLineNum = 63;BA.debugLine="Msgbox(appUpdater.newApp.okMsg, \"Aplicación al co"; -__c.Msgbox(BA.ObjectToCharSequence(_appupdater._newapp /*adm.keymon.com.mx.appupdater._mnewversion*/ .okMsg /*String*/ ),BA.ObjectToCharSequence("Aplicación al corriente"),ba); - //BA.debugLineNum = 65;BA.debugLine="B4XPages.MainPage.ocultaProgreso"; -_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (ba)._ocultaprogreso /*String*/ (); - //BA.debugLineNum = 66;BA.debugLine="B4XPages.ShowPage(\"Login\")"; -_b4xpages._showpage /*String*/ (ba,"Login"); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "B4XPAGE_CREATED")) - return _b4xpage_created((anywheresoftware.b4a.objects.B4XViewWrapper) args[0]); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/cameraexclass.java b/B4A/Objects/src/adm/keymon/com/mx/cameraexclass.java deleted file mode 100644 index dd45f18..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/cameraexclass.java +++ /dev/null @@ -1,834 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class cameraexclass extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.cameraexclass"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.cameraexclass.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _nativecam = null; -public anywheresoftware.b4a.objects.CameraW _cam = null; -public anywheresoftware.b4a.agraham.reflection.Reflection _r = null; -public Object _target = null; -public String _event = ""; -public boolean _front = false; -public Object _parameters = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _camerainfoandid{ -public boolean IsInitialized; -public Object CameraInfo; -public int Id; -public void Initialize() { -IsInitialized = true; -CameraInfo = new Object(); -Id = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _camerasize{ -public boolean IsInitialized; -public int Width; -public int Height; -public void Initialize() { -IsInitialized = true; -Width = 0; -Height = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _camera_focusdone(boolean _success) throws Exception{ - //BA.debugLineNum = 320;BA.debugLine="Private Sub Camera_FocusDone (Success As Boolean)"; - //BA.debugLineNum = 321;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 322;BA.debugLine="TakePicture"; -_takepicture(); - }else { - //BA.debugLineNum = 324;BA.debugLine="Log(\"AutoFocus error.\")"; -__c.LogImpl("363897604","AutoFocus error.",0); - }; - //BA.debugLineNum = 326;BA.debugLine="End Sub"; -return ""; -} -public String _camera_picturetaken(byte[] _data) throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Private Sub Camera_PictureTaken (Data() As Byte)"; - //BA.debugLineNum = 109;BA.debugLine="CallSub2(target, event & \"_PictureTaken\", Data)"; -__c.CallSubNew2(ba,_target,_event+"_PictureTaken",(Object)(_data)); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return ""; -} -public String _camera_ready(boolean _success) throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Private Sub Camera_Ready (Success As Boolean)"; - //BA.debugLineNum = 86;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 87;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 88;BA.debugLine="nativeCam = r.GetField(\"camera\")"; -_nativecam = _r.GetField("camera"); - //BA.debugLineNum = 89;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 90;BA.debugLine="parameters = r.RunMethod(\"getParameters\")"; -_parameters = _r.RunMethod("getParameters"); - //BA.debugLineNum = 91;BA.debugLine="SetDisplayOrientation"; -_setdisplayorientation(); - }else { - //BA.debugLineNum = 93;BA.debugLine="Log(\"success = false, \" & LastException)"; -__c.LogImpl("361669384","success = false, "+BA.ObjectToString(__c.LastException(ba)),0); - }; - //BA.debugLineNum = 95;BA.debugLine="CallSub2(target, event & \"_ready\", Success)"; -__c.CallSubNew2(ba,_target,_event+"_ready",(Object)(_success)); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private nativeCam As Object"; -_nativecam = new Object(); - //BA.debugLineNum = 8;BA.debugLine="Private cam As Camera"; -_cam = new anywheresoftware.b4a.objects.CameraW(); - //BA.debugLineNum = 9;BA.debugLine="Private r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 10;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 11;BA.debugLine="Private event As String"; -_event = ""; - //BA.debugLineNum = 12;BA.debugLine="Public Front As Boolean"; -_front = false; - //BA.debugLineNum = 13;BA.debugLine="Type CameraInfoAndId (CameraInfo As Object, Id As"; -; - //BA.debugLineNum = 14;BA.debugLine="Type CameraSize (Width As Int, Height As Int)"; -; - //BA.debugLineNum = 15;BA.debugLine="Private parameters As Object"; -_parameters = new Object(); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -public String _closenow() throws Exception{ - //BA.debugLineNum = 309;BA.debugLine="Public Sub CloseNow"; - //BA.debugLineNum = 310;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 311;BA.debugLine="r.target = cam"; -_r.Target = (Object)(_cam); - //BA.debugLineNum = 312;BA.debugLine="r.RunMethod2(\"releaseCameras\", True, \"java.lang.b"; -_r.RunMethod2("releaseCameras",BA.ObjectToString(__c.True),"java.lang.boolean"); - //BA.debugLineNum = 313;BA.debugLine="End Sub"; -return ""; -} -public String _commitparameters() throws Exception{ - //BA.debugLineNum = 141;BA.debugLine="Public Sub CommitParameters"; - //BA.debugLineNum = 143;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 144;BA.debugLine="r.RunMethod4(\"setParameters\", Array As Object(pa"; -_r.RunMethod4("setParameters",new Object[]{_parameters},new String[]{"android.hardware.Camera$Parameters"}); - //BA.debugLineNum = 149;BA.debugLine="End Sub"; -return ""; -} -public Object _facedetection_event(String _methodname,Object[] _args) throws Exception{ -Object[] _faces = null; -Object _f = null; -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _facerect = null; - //BA.debugLineNum = 374;BA.debugLine="Private Sub FaceDetection_Event (MethodName As Str"; - //BA.debugLineNum = 375;BA.debugLine="Dim faces() As Object = Args(0)"; -_faces = (Object[])(_args[(int) (0)]); - //BA.debugLineNum = 376;BA.debugLine="For Each f As Object In faces"; -{ -final Object[] group2 = _faces; -final int groupLen2 = group2.length -;int index2 = 0; -; -for (; index2 < groupLen2;index2++){ -_f = group2[index2]; - //BA.debugLineNum = 377;BA.debugLine="Dim jo As JavaObject = f"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_f)); - //BA.debugLineNum = 378;BA.debugLine="Dim faceRect As Rect = jo.GetField(\"rect\")"; -_facerect = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); -_facerect = (anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(), (android.graphics.Rect)(_jo.GetField("rect"))); - //BA.debugLineNum = 379;BA.debugLine="Log(faceRect)"; -__c.LogImpl("364552965",BA.ObjectToString(_facerect),0); - } -}; - //BA.debugLineNum = 381;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 382;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cameraexclass._camerainfoandid _findcamera(boolean _frontcamera) throws Exception{ -adm.keymon.com.mx.cameraexclass._camerainfoandid _ci = null; -Object _camerainfo = null; -int _cameravalue = 0; -int _numberofcameras = 0; -int _i = 0; - //BA.debugLineNum = 35;BA.debugLine="Private Sub FindCamera (frontCamera As Boolean) As"; - //BA.debugLineNum = 36;BA.debugLine="Dim ci As CameraInfoAndId"; -_ci = new adm.keymon.com.mx.cameraexclass._camerainfoandid(); - //BA.debugLineNum = 37;BA.debugLine="Dim cameraInfo As Object"; -_camerainfo = new Object(); - //BA.debugLineNum = 38;BA.debugLine="Dim cameraValue As Int"; -_cameravalue = 0; - //BA.debugLineNum = 39;BA.debugLine="Log(\"findCamera\")"; -__c.LogImpl("361538308","findCamera",0); - //BA.debugLineNum = 40;BA.debugLine="If frontCamera Then cameraValue = 1 Else cameraVa"; -if (_frontcamera) { -_cameravalue = (int) (1);} -else { -_cameravalue = (int) (0);}; - //BA.debugLineNum = 41;BA.debugLine="cameraInfo = r.CreateObject(\"android.hardware.Cam"; -_camerainfo = _r.CreateObject("android.hardware.Camera$CameraInfo"); - //BA.debugLineNum = 42;BA.debugLine="Dim numberOfCameras As Int = r.RunStaticMethod(\"a"; -_numberofcameras = (int)(BA.ObjectToNumber(_r.RunStaticMethod("android.hardware.Camera","getNumberOfCameras",(Object[])(__c.Null),(String[])(__c.Null)))); - //BA.debugLineNum = 43;BA.debugLine="Log(r.target)"; -__c.LogImpl("361538312",BA.ObjectToString(_r.Target),0); - //BA.debugLineNum = 44;BA.debugLine="Log(numberOfCameras)"; -__c.LogImpl("361538313",BA.NumberToString(_numberofcameras),0); - //BA.debugLineNum = 45;BA.debugLine="For i = 0 To numberOfCameras - 1"; -{ -final int step10 = 1; -final int limit10 = (int) (_numberofcameras-1); -_i = (int) (0) ; -for (;_i <= limit10 ;_i = _i + step10 ) { - //BA.debugLineNum = 46;BA.debugLine="r.RunStaticMethod(\"android.hardware.Camera\", \"ge"; -_r.RunStaticMethod("android.hardware.Camera","getCameraInfo",new Object[]{(Object)(_i),_camerainfo},new String[]{"java.lang.int","android.hardware.Camera$CameraInfo"}); - //BA.debugLineNum = 48;BA.debugLine="r.target = cameraInfo"; -_r.Target = _camerainfo; - //BA.debugLineNum = 49;BA.debugLine="Log(\"facing: \" & r.GetField(\"facing\") & \", \" & c"; -__c.LogImpl("361538318","facing: "+BA.ObjectToString(_r.GetField("facing"))+", "+BA.NumberToString(_cameravalue),0); - //BA.debugLineNum = 50;BA.debugLine="If r.GetField(\"facing\") = cameraValue Then"; -if ((_r.GetField("facing")).equals((Object)(_cameravalue))) { - //BA.debugLineNum = 51;BA.debugLine="ci.cameraInfo = r.target"; -_ci.CameraInfo /*Object*/ = _r.Target; - //BA.debugLineNum = 52;BA.debugLine="ci.Id = i"; -_ci.Id /*int*/ = _i; - //BA.debugLineNum = 53;BA.debugLine="Return ci"; -if (true) return _ci; - }; - } -}; - //BA.debugLineNum = 56;BA.debugLine="ci.id = -1"; -_ci.Id /*int*/ = (int) (-1); - //BA.debugLineNum = 57;BA.debugLine="Return ci"; -if (true) return _ci; - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return null; -} -public String _focusandtakepicture() throws Exception{ - //BA.debugLineNum = 315;BA.debugLine="Public Sub FocusAndTakePicture"; - //BA.debugLineNum = 316;BA.debugLine="cam.AutoFocus"; -_cam.AutoFocus(); - //BA.debugLineNum = 317;BA.debugLine="End Sub"; -return ""; -} -public String _getcoloreffect() throws Exception{ - //BA.debugLineNum = 151;BA.debugLine="Public Sub GetColorEffect As String"; - //BA.debugLineNum = 152;BA.debugLine="Return GetParameter(\"effect\")"; -if (true) return _getparameter("effect"); - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -return ""; -} -public int _getexposurecompensation() throws Exception{ - //BA.debugLineNum = 348;BA.debugLine="Public Sub getExposureCompensation As Int"; - //BA.debugLineNum = 349;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 350;BA.debugLine="Return r.RunMethod(\"getExposureCompensation\")"; -if (true) return (int)(BA.ObjectToNumber(_r.RunMethod("getExposureCompensation"))); - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return 0; -} -public String _getflashmode() throws Exception{ - //BA.debugLineNum = 202;BA.debugLine="Public Sub GetFlashMode As String"; - //BA.debugLineNum = 203;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 204;BA.debugLine="Return r.RunMethod(\"getFlashMode\")"; -if (true) return BA.ObjectToString(_r.RunMethod("getFlashMode")); - //BA.debugLineNum = 205;BA.debugLine="End Sub"; -return ""; -} -public float[] _getfocusdistances() throws Exception{ -float[] _f = null; - //BA.debugLineNum = 296;BA.debugLine="Public Sub GetFocusDistances As Float()"; - //BA.debugLineNum = 297;BA.debugLine="Dim F(3) As Float"; -_f = new float[(int) (3)]; -; - //BA.debugLineNum = 298;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 299;BA.debugLine="r.RunMethod4(\"getFocusDistances\", Array As Object"; -_r.RunMethod4("getFocusDistances",new Object[]{(Object)(_f)},new String[]{"[F"}); - //BA.debugLineNum = 300;BA.debugLine="Return F"; -if (true) return _f; - //BA.debugLineNum = 301;BA.debugLine="End Sub"; -return null; -} -public int _getmaxexposurecompensation() throws Exception{ - //BA.debugLineNum = 363;BA.debugLine="Public Sub getMaxExposureCompensation As Int"; - //BA.debugLineNum = 364;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 365;BA.debugLine="Return r.RunMethod(\"getMaxExposureCompensation\")"; -if (true) return (int)(BA.ObjectToNumber(_r.RunMethod("getMaxExposureCompensation"))); - //BA.debugLineNum = 366;BA.debugLine="End Sub"; -return 0; -} -public int _getmaxzoom() throws Exception{ - //BA.debugLineNum = 333;BA.debugLine="Public Sub GetMaxZoom As Int"; - //BA.debugLineNum = 334;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 335;BA.debugLine="Return r.RunMethod(\"getMaxZoom\")"; -if (true) return (int)(BA.ObjectToNumber(_r.RunMethod("getMaxZoom"))); - //BA.debugLineNum = 336;BA.debugLine="End Sub"; -return 0; -} -public int _getminexposurecompensation() throws Exception{ - //BA.debugLineNum = 358;BA.debugLine="Public Sub getMinExposureCompensation As Int"; - //BA.debugLineNum = 359;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 360;BA.debugLine="Return r.RunMethod(\"getMinExposureCompensation\")"; -if (true) return (int)(BA.ObjectToNumber(_r.RunMethod("getMinExposureCompensation"))); - //BA.debugLineNum = 361;BA.debugLine="End Sub"; -return 0; -} -public String _getparameter(String _key) throws Exception{ - //BA.debugLineNum = 136;BA.debugLine="Public Sub GetParameter(Key As String) As String"; - //BA.debugLineNum = 137;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 138;BA.debugLine="Return r.RunMethod2(\"get\", Key, \"java.lang.String"; -if (true) return BA.ObjectToString(_r.RunMethod2("get",_key,"java.lang.String")); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cameraexclass._camerasize _getpicturesize() throws Exception{ -adm.keymon.com.mx.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 244;BA.debugLine="Public Sub GetPictureSize As CameraSize"; - //BA.debugLineNum = 245;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 246;BA.debugLine="r.target = r.RunMethod(\"getPictureSize\")"; -_r.Target = _r.RunMethod("getPictureSize"); - //BA.debugLineNum = 247;BA.debugLine="Dim cs As CameraSize"; -_cs = new adm.keymon.com.mx.cameraexclass._camerasize(); - //BA.debugLineNum = 248;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 249;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 250;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 251;BA.debugLine="End Sub"; -return null; -} -public String _getpreviewfpsrange(int[] _range) throws Exception{ - //BA.debugLineNum = 224;BA.debugLine="Public Sub GetPreviewFpsRange(Range() As Int)"; - //BA.debugLineNum = 225;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 226;BA.debugLine="r.RunMethod4(\"getPreviewFpsRange\", Array As Objec"; -_r.RunMethod4("getPreviewFpsRange",new Object[]{(Object)(_range)},new String[]{"[I"}); - //BA.debugLineNum = 227;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cameraexclass._camerasize _getpreviewsize() throws Exception{ -adm.keymon.com.mx.cameraexclass._camerasize _cs = null; - //BA.debugLineNum = 235;BA.debugLine="Public Sub GetPreviewSize As CameraSize"; - //BA.debugLineNum = 236;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 237;BA.debugLine="r.target = r.RunMethod(\"getPreviewSize\")"; -_r.Target = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 238;BA.debugLine="Dim cs As CameraSize"; -_cs = new adm.keymon.com.mx.cameraexclass._camerasize(); - //BA.debugLineNum = 239;BA.debugLine="cs.Width = r.GetField(\"width\")"; -_cs.Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 240;BA.debugLine="cs.Height = r.GetField(\"height\")"; -_cs.Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 241;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 242;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedcoloreffects() throws Exception{ - //BA.debugLineNum = 212;BA.debugLine="Public Sub GetSupportedColorEffects As List"; - //BA.debugLineNum = 213;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 214;BA.debugLine="Return r.RunMethod(\"getSupportedColorEffects\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedColorEffects"))); - //BA.debugLineNum = 215;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedflashmodes() throws Exception{ - //BA.debugLineNum = 207;BA.debugLine="Public Sub GetSupportedFlashModes As List"; - //BA.debugLineNum = 208;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 209;BA.debugLine="Return r.RunMethod(\"getSupportedFlashModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFlashModes"))); - //BA.debugLineNum = 210;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedfocusmodes() throws Exception{ - //BA.debugLineNum = 275;BA.debugLine="Public Sub GetSupportedFocusModes As List"; - //BA.debugLineNum = 276;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 277;BA.debugLine="Return r.RunMethod(\"getSupportedFocusModes\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedFocusModes"))); - //BA.debugLineNum = 278;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedpictureformats() throws Exception{ - //BA.debugLineNum = 303;BA.debugLine="Public Sub GetSupportedPictureFormats As List"; - //BA.debugLineNum = 304;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 305;BA.debugLine="Return r.RunMethod(\"getSupportedPictureFormats"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPictureFormats"))); - //BA.debugLineNum = 306;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cameraexclass._camerasize[] _getsupportedpicturessizes() throws Exception{ -anywheresoftware.b4a.objects.collections.List _list1 = null; -adm.keymon.com.mx.cameraexclass._camerasize[] _cs = null; -int _i = 0; - //BA.debugLineNum = 175;BA.debugLine="Public Sub GetSupportedPicturesSizes As CameraSize"; - //BA.debugLineNum = 176;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 177;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPict"; -_list1 = new anywheresoftware.b4a.objects.collections.List(); -_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPictureSizes"))); - //BA.debugLineNum = 178;BA.debugLine="Dim cs(list1.Size) As CameraSize"; -_cs = new adm.keymon.com.mx.cameraexclass._camerasize[_list1.getSize()]; -{ -int d0 = _cs.length; -for (int i0 = 0;i0 < d0;i0++) { -_cs[i0] = new adm.keymon.com.mx.cameraexclass._camerasize(); -} -} -; - //BA.debugLineNum = 179;BA.debugLine="For i = 0 To list1.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_list1.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 180;BA.debugLine="r.target = list1.get(i)"; -_r.Target = _list1.Get(_i); - //BA.debugLineNum = 181;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; -_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 182;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; -_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - } -}; - //BA.debugLineNum = 184;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 185;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.collections.List _getsupportedpreviewfpsrange() throws Exception{ - //BA.debugLineNum = 218;BA.debugLine="Public Sub GetSupportedPreviewFpsRange As List"; - //BA.debugLineNum = 219;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 220;BA.debugLine="Return r.RunMethod(\"getSupportedPreviewFpsRange\")"; -if (true) return (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPreviewFpsRange"))); - //BA.debugLineNum = 221;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cameraexclass._camerasize[] _getsupportedpreviewsizes() throws Exception{ -anywheresoftware.b4a.objects.collections.List _list1 = null; -adm.keymon.com.mx.cameraexclass._camerasize[] _cs = null; -int _i = 0; - //BA.debugLineNum = 159;BA.debugLine="Public Sub GetSupportedPreviewSizes As CameraSize("; - //BA.debugLineNum = 160;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 161;BA.debugLine="Dim list1 As List = r.RunMethod(\"getSupportedPrev"; -_list1 = new anywheresoftware.b4a.objects.collections.List(); -_list1 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_r.RunMethod("getSupportedPreviewSizes"))); - //BA.debugLineNum = 162;BA.debugLine="Dim cs(list1.Size) As CameraSize"; -_cs = new adm.keymon.com.mx.cameraexclass._camerasize[_list1.getSize()]; -{ -int d0 = _cs.length; -for (int i0 = 0;i0 < d0;i0++) { -_cs[i0] = new adm.keymon.com.mx.cameraexclass._camerasize(); -} -} -; - //BA.debugLineNum = 163;BA.debugLine="For i = 0 To list1.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_list1.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 164;BA.debugLine="r.target = list1.get(i)"; -_r.Target = _list1.Get(_i); - //BA.debugLineNum = 165;BA.debugLine="cs(i).Width = r.GetField(\"width\")"; -_cs[_i].Width /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("width"))); - //BA.debugLineNum = 166;BA.debugLine="cs(i).Height = r.GetField(\"height\")"; -_cs[_i].Height /*int*/ = (int)(BA.ObjectToNumber(_r.GetField("height"))); - } -}; - //BA.debugLineNum = 168;BA.debugLine="Return cs"; -if (true) return _cs; - //BA.debugLineNum = 169;BA.debugLine="End Sub"; -return null; -} -public int _getzoom() throws Exception{ - //BA.debugLineNum = 338;BA.debugLine="Public Sub getZoom() As Int"; - //BA.debugLineNum = 339;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 340;BA.debugLine="Return r.RunMethod(\"getZoom\")"; -if (true) return (int)(BA.ObjectToNumber(_r.RunMethod("getZoom"))); - //BA.debugLineNum = 341;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _panel1,boolean _frontcamera,Object _targetmodule,String _eventname) throws Exception{ -innerInitialize(_ba); -int _id = 0; - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Panel1 As Panel, FrontCamer"; - //BA.debugLineNum = 19;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 20;BA.debugLine="event = EventName"; -_event = _eventname; - //BA.debugLineNum = 21;BA.debugLine="Front = FrontCamera"; -_front = _frontcamera; - //BA.debugLineNum = 22;BA.debugLine="Dim id As Int"; -_id = 0; - //BA.debugLineNum = 23;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 24;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 25;BA.debugLine="Front = Not(Front) 'try different camera"; -_front = __c.Not(_front); - //BA.debugLineNum = 26;BA.debugLine="id = FindCamera(Front).id"; -_id = _findcamera(_front).Id /*int*/ ; - //BA.debugLineNum = 27;BA.debugLine="If id = -1 Then"; -if (_id==-1) { - //BA.debugLineNum = 28;BA.debugLine="ToastMessageShow(\"No camera found.\", True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence("No camera found."),__c.True); - //BA.debugLineNum = 29;BA.debugLine="Return"; -if (true) return ""; - }; - }; - //BA.debugLineNum = 32;BA.debugLine="cam.Initialize2(Panel1, \"camera\", id)"; -_cam.Initialize2(ba,(android.view.ViewGroup)(_panel1.getObject()),"camera",_id); - //BA.debugLineNum = 33;BA.debugLine="End Sub"; -return ""; -} -public boolean _iszoomsupported() throws Exception{ - //BA.debugLineNum = 328;BA.debugLine="Public Sub IsZoomSupported As Boolean"; - //BA.debugLineNum = 329;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 330;BA.debugLine="Return r.RunMethod(\"isZoomSupported\")"; -if (true) return BA.ObjectToBoolean(_r.RunMethod("isZoomSupported")); - //BA.debugLineNum = 331;BA.debugLine="End Sub"; -return false; -} -public byte[] _previewimagetojpeg(byte[] _data,int _quality) throws Exception{ -Object _size = null; -Object _previewformat = null; -int _width = 0; -int _height = 0; -Object _yuvimage = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper _rect1 = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 255;BA.debugLine="Public Sub PreviewImageToJpeg(data() As Byte, qual"; - //BA.debugLineNum = 256;BA.debugLine="Dim size, previewFormat As Object"; -_size = new Object(); -_previewformat = new Object(); - //BA.debugLineNum = 257;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 258;BA.debugLine="size = r.RunMethod(\"getPreviewSize\")"; -_size = _r.RunMethod("getPreviewSize"); - //BA.debugLineNum = 259;BA.debugLine="previewFormat = r.RunMethod(\"getPreviewFormat\")"; -_previewformat = _r.RunMethod("getPreviewFormat"); - //BA.debugLineNum = 260;BA.debugLine="r.target = size"; -_r.Target = _size; - //BA.debugLineNum = 261;BA.debugLine="Dim width = r.GetField(\"width\"), height = r.GetFi"; -_width = (int)(BA.ObjectToNumber(_r.GetField("width"))); -_height = (int)(BA.ObjectToNumber(_r.GetField("height"))); - //BA.debugLineNum = 262;BA.debugLine="Dim yuvImage As Object = r.CreateObject2(\"android"; -_yuvimage = _r.CreateObject2("android.graphics.YuvImage",new Object[]{(Object)(_data),_previewformat,(Object)(_width),(Object)(_height),__c.Null},new String[]{"[B","java.lang.int","java.lang.int","java.lang.int","[I"}); - //BA.debugLineNum = 265;BA.debugLine="r.target = yuvImage"; -_r.Target = _yuvimage; - //BA.debugLineNum = 266;BA.debugLine="Dim rect1 As Rect"; -_rect1 = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper(); - //BA.debugLineNum = 267;BA.debugLine="rect1.Initialize(0, 0, r.RunMethod(\"getWidth\"), r"; -_rect1.Initialize((int) (0),(int) (0),(int)(BA.ObjectToNumber(_r.RunMethod("getWidth"))),(int)(BA.ObjectToNumber(_r.RunMethod("getHeight")))); - //BA.debugLineNum = 268;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 269;BA.debugLine="out.InitializeToBytesArray(100)"; -_out.InitializeToBytesArray((int) (100)); - //BA.debugLineNum = 270;BA.debugLine="r.RunMethod4(\"compressToJpeg\", Array As Object(re"; -_r.RunMethod4("compressToJpeg",new Object[]{(Object)(_rect1.getObject()),(Object)(_quality),(Object)(_out.getObject())},new String[]{"android.graphics.Rect","java.lang.int","java.io.OutputStream"}); - //BA.debugLineNum = 272;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 273;BA.debugLine="End Sub"; -return null; -} -public String _release() throws Exception{ - //BA.debugLineNum = 120;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 121;BA.debugLine="cam.Release"; -_cam.Release(); - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return ""; -} -public String _savepicturetofile(byte[] _data,String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 125;BA.debugLine="Public Sub SavePictureToFile(Data() As Byte, Dir A"; - //BA.debugLineNum = 126;BA.debugLine="Dim out As OutputStream = File.OpenOutput(Dir, Fi"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(_dir,_filename,__c.False); - //BA.debugLineNum = 127;BA.debugLine="out.WriteBytes(Data, 0, Data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 128;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 129;BA.debugLine="End Sub"; -return ""; -} -public String _setcoloreffect(String _effect) throws Exception{ - //BA.debugLineNum = 155;BA.debugLine="Public Sub SetColorEffect(Effect As String)"; - //BA.debugLineNum = 156;BA.debugLine="SetParameter(\"effect\", Effect)"; -_setparameter("effect",_effect); - //BA.debugLineNum = 157;BA.debugLine="End Sub"; -return ""; -} -public String _setcontinuousautofocus() throws Exception{ -anywheresoftware.b4a.objects.collections.List _modes = null; - //BA.debugLineNum = 280;BA.debugLine="Public Sub SetContinuousAutoFocus"; - //BA.debugLineNum = 281;BA.debugLine="Dim modes As List = GetSupportedFocusModes"; -_modes = new anywheresoftware.b4a.objects.collections.List(); -_modes = _getsupportedfocusmodes(); - //BA.debugLineNum = 282;BA.debugLine="If modes.IndexOf(\"continuous-picture\") > -1 Th"; -if (_modes.IndexOf((Object)("continuous-picture"))>-1) { - //BA.debugLineNum = 283;BA.debugLine="SetFocusMode(\"continuous-picture\")"; -_setfocusmode("continuous-picture"); - }else if(_modes.IndexOf((Object)("continuous-video"))>-1) { - //BA.debugLineNum = 285;BA.debugLine="SetFocusMode(\"continuous-video\")"; -_setfocusmode("continuous-video"); - }else { - //BA.debugLineNum = 287;BA.debugLine="Log(\"Continuous focus mode is not availabl"; -__c.LogImpl("363504391","Continuous focus mode is not available",0); - }; - //BA.debugLineNum = 289;BA.debugLine="End Sub"; -return ""; -} -public String _setdisplayorientation() throws Exception{ -int _previewresult = 0; -int _result = 0; -int _degrees = 0; -adm.keymon.com.mx.cameraexclass._camerainfoandid _ci = null; -int _orientation = 0; - //BA.debugLineNum = 60;BA.debugLine="Private Sub SetDisplayOrientation"; - //BA.debugLineNum = 61;BA.debugLine="r.target = r.GetActivity"; -_r.Target = (Object)(_r.GetActivity(ba)); - //BA.debugLineNum = 62;BA.debugLine="r.target = r.RunMethod(\"getWindowManager\")"; -_r.Target = _r.RunMethod("getWindowManager"); - //BA.debugLineNum = 63;BA.debugLine="r.target = r.RunMethod(\"getDefaultDisplay\")"; -_r.Target = _r.RunMethod("getDefaultDisplay"); - //BA.debugLineNum = 64;BA.debugLine="r.target = r.RunMethod(\"getRotation\")"; -_r.Target = _r.RunMethod("getRotation"); - //BA.debugLineNum = 65;BA.debugLine="Dim previewResult, result, degrees As Int = r.tar"; -_previewresult = 0; -_result = 0; -_degrees = (int) ((double)(BA.ObjectToNumber(_r.Target))*90); - //BA.debugLineNum = 66;BA.debugLine="Dim ci As CameraInfoAndId = FindCamera(Front)"; -_ci = _findcamera(_front); - //BA.debugLineNum = 67;BA.debugLine="r.target = ci.CameraInfo"; -_r.Target = _ci.CameraInfo /*Object*/ ; - //BA.debugLineNum = 68;BA.debugLine="Dim orientation As Int = r.GetField(\"orientation\""; -_orientation = (int)(BA.ObjectToNumber(_r.GetField("orientation"))); - //BA.debugLineNum = 69;BA.debugLine="If Front Then"; -if (_front) { - //BA.debugLineNum = 70;BA.debugLine="previewResult = (orientation + degrees) Mod 360"; -_previewresult = (int) ((_orientation+_degrees)%360); - //BA.debugLineNum = 71;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 72;BA.debugLine="previewResult = (360 - previewResult) Mod 360"; -_previewresult = (int) ((360-_previewresult)%360); - }else { - //BA.debugLineNum = 74;BA.debugLine="previewResult = (orientation - degrees + 360) Mo"; -_previewresult = (int) ((_orientation-_degrees+360)%360); - //BA.debugLineNum = 75;BA.debugLine="result = previewResult"; -_result = _previewresult; - //BA.debugLineNum = 76;BA.debugLine="Log(previewResult)"; -__c.LogImpl("361603856",BA.NumberToString(_previewresult),0); - }; - //BA.debugLineNum = 78;BA.debugLine="r.target = nativeCam"; -_r.Target = _nativecam; - //BA.debugLineNum = 79;BA.debugLine="r.RunMethod2(\"setDisplayOrientation\", previewResu"; -_r.RunMethod2("setDisplayOrientation",BA.NumberToString(_previewresult),"java.lang.int"); - //BA.debugLineNum = 80;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 81;BA.debugLine="r.RunMethod2(\"setRotation\", result, \"java.lang.in"; -_r.RunMethod2("setRotation",BA.NumberToString(_result),"java.lang.int"); - //BA.debugLineNum = 82;BA.debugLine="CommitParameters"; -_commitparameters(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public String _setexposurecompensation(int _v) throws Exception{ - //BA.debugLineNum = 353;BA.debugLine="Public Sub setExposureCompensation(v As Int)"; - //BA.debugLineNum = 354;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 355;BA.debugLine="r.RunMethod2(\"setExposureCompensation\", v, \"java."; -_r.RunMethod2("setExposureCompensation",BA.NumberToString(_v),"java.lang.int"); - //BA.debugLineNum = 356;BA.debugLine="End Sub"; -return ""; -} -public String _setfacedetectionlistener() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -Object _e = null; - //BA.debugLineNum = 368;BA.debugLine="Public Sub SetFaceDetectionListener"; - //BA.debugLineNum = 369;BA.debugLine="Dim jo As JavaObject = nativeCam"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_nativecam)); - //BA.debugLineNum = 370;BA.debugLine="Dim e As Object = jo.CreateEvent(\"android.hardwar"; -_e = _jo.CreateEvent(ba,"android.hardware.Camera.FaceDetectionListener","FaceDetection",__c.Null); - //BA.debugLineNum = 371;BA.debugLine="jo.RunMethod(\"setFaceDetectionListener\", Array(e)"; -_jo.RunMethod("setFaceDetectionListener",new Object[]{_e}); - //BA.debugLineNum = 372;BA.debugLine="End Sub"; -return ""; -} -public String _setflashmode(String _mode) throws Exception{ - //BA.debugLineNum = 197;BA.debugLine="Public Sub SetFlashMode(Mode As String)"; - //BA.debugLineNum = 198;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 199;BA.debugLine="r.RunMethod2(\"setFlashMode\", Mode, \"java.lang.Str"; -_r.RunMethod2("setFlashMode",_mode,"java.lang.String"); - //BA.debugLineNum = 200;BA.debugLine="End Sub"; -return ""; -} -public String _setfocusmode(String _mode) throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub SetFocusMode(Mode As String)"; - //BA.debugLineNum = 292;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 293;BA.debugLine="r.RunMethod2(\"setFocusMode\", Mode, \"java.lang."; -_r.RunMethod2("setFocusMode",_mode,"java.lang.String"); - //BA.debugLineNum = 294;BA.debugLine="End Sub"; -return ""; -} -public String _setjpegquality(int _quality) throws Exception{ - //BA.debugLineNum = 192;BA.debugLine="Public Sub SetJpegQuality(Quality As Int)"; - //BA.debugLineNum = 193;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 194;BA.debugLine="r.RunMethod2(\"setJpegQuality\", Quality, \"java.lan"; -_r.RunMethod2("setJpegQuality",BA.NumberToString(_quality),"java.lang.int"); - //BA.debugLineNum = 195;BA.debugLine="End Sub"; -return ""; -} -public String _setparameter(String _key,String _value) throws Exception{ - //BA.debugLineNum = 131;BA.debugLine="Public Sub SetParameter(Key As String, Value As St"; - //BA.debugLineNum = 132;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 133;BA.debugLine="r.RunMethod3(\"set\", Key, \"java.lang.String\", Valu"; -_r.RunMethod3("set",_key,"java.lang.String",_value,"java.lang.String"); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return ""; -} -public String _setpicturesize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 187;BA.debugLine="Public Sub SetPictureSize(Width As Int, Height As"; - //BA.debugLineNum = 188;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 189;BA.debugLine="r.RunMethod3(\"setPictureSize\", Width, \"java.lang."; -_r.RunMethod3("setPictureSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 190;BA.debugLine="End Sub"; -return ""; -} -public String _setpreviewfpsrange(int _minvalue,int _maxvalue) throws Exception{ - //BA.debugLineNum = 229;BA.debugLine="Public Sub SetPreviewFpsRange(MinValue As Int, Max"; - //BA.debugLineNum = 230;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 231;BA.debugLine="r.RunMethod4(\"setPreviewFpsRange\", Array As Objec"; -_r.RunMethod4("setPreviewFpsRange",new Object[]{(Object)(_minvalue),(Object)(_maxvalue)},new String[]{"java.lang.int","java.lang.int"}); - //BA.debugLineNum = 233;BA.debugLine="End Sub"; -return ""; -} -public String _setpreviewsize(int _width,int _height) throws Exception{ - //BA.debugLineNum = 171;BA.debugLine="Public Sub SetPreviewSize(Width As Int, Height As"; - //BA.debugLineNum = 172;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 173;BA.debugLine="r.RunMethod3(\"setPreviewSize\", Width, \"java.lang."; -_r.RunMethod3("setPreviewSize",BA.NumberToString(_width),"java.lang.int",BA.NumberToString(_height),"java.lang.int"); - //BA.debugLineNum = 174;BA.debugLine="End Sub"; -return ""; -} -public String _setzoom(int _zoomvalue) throws Exception{ - //BA.debugLineNum = 343;BA.debugLine="Public Sub setZoom(ZoomValue As Int)"; - //BA.debugLineNum = 344;BA.debugLine="r.target = parameters"; -_r.Target = _parameters; - //BA.debugLineNum = 345;BA.debugLine="r.RunMethod2(\"setZoom\", ZoomValue, \"java.lang.in"; -_r.RunMethod2("setZoom",BA.NumberToString(_zoomvalue),"java.lang.int"); - //BA.debugLineNum = 346;BA.debugLine="End Sub"; -return ""; -} -public String _startfacedetection() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 386;BA.debugLine="Public Sub StartFaceDetection"; - //BA.debugLineNum = 387;BA.debugLine="Dim jo As JavaObject = nativeCam"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_nativecam)); - //BA.debugLineNum = 388;BA.debugLine="jo.RunMethod(\"startFaceDetection\", Null)"; -_jo.RunMethod("startFaceDetection",(Object[])(__c.Null)); - //BA.debugLineNum = 389;BA.debugLine="End Sub"; -return ""; -} -public String _startpreview() throws Exception{ - //BA.debugLineNum = 112;BA.debugLine="Public Sub StartPreview"; - //BA.debugLineNum = 113;BA.debugLine="cam.StartPreview"; -_cam.StartPreview(); - //BA.debugLineNum = 114;BA.debugLine="End Sub"; -return ""; -} -public String _stopfacedetection() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 391;BA.debugLine="Public Sub StopFaceDetection"; - //BA.debugLineNum = 392;BA.debugLine="Dim jo As JavaObject = nativeCam"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_nativecam)); - //BA.debugLineNum = 393;BA.debugLine="jo.RunMethod(\"stopFaceDetection\", Null)"; -_jo.RunMethod("stopFaceDetection",(Object[])(__c.Null)); - //BA.debugLineNum = 394;BA.debugLine="End Sub"; -return ""; -} -public String _stoppreview() throws Exception{ - //BA.debugLineNum = 116;BA.debugLine="Public Sub StopPreview"; - //BA.debugLineNum = 117;BA.debugLine="cam.StopPreview"; -_cam.StopPreview(); - //BA.debugLineNum = 118;BA.debugLine="End Sub"; -return ""; -} -public String _takepicture() throws Exception{ - //BA.debugLineNum = 104;BA.debugLine="Public Sub TakePicture"; - //BA.debugLineNum = 105;BA.debugLine="cam.TakePicture"; -_cam.TakePicture(); - //BA.debugLineNum = 106;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/cl_appupdate.java b/B4A/Objects/src/adm/keymon/com/mx/cl_appupdate.java deleted file mode 100644 index 84970c8..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/cl_appupdate.java +++ /dev/null @@ -1,1789 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class cl_appupdate extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.cl_appupdate"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.cl_appupdate.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public int _err_nopkg = 0; -public int _err_notxt = 0; -public int _err_noapk = 0; -public int _err_txtrow = 0; -public int _err_html = 0; -public int _err_nospace = 0; -public int _err_noperm = 0; -public int _err_download = 0; -public int _err_http = 0; -public int _ok_init = 0; -public int _ok_curver = 0; -public int _ok_webver = 0; -public int _no_newerapk = 0; -public int _ok_newerapk = 0; -public int _ok_download = 0; -public int _ok_install = 0; -public Object _callback = null; -public String _event = ""; -public String _spackagename = ""; -public String _snewvertxt = ""; -public String _snewverapk = ""; -public int _sstatuscode = 0; -public String _susername = ""; -public String _supassword = ""; -public String _curver = ""; -public String _webver = ""; -public String _webclog = ""; -public String _webfsize = ""; -public boolean _sverbose = false; -public anywheresoftware.b4a.objects.PanelWrapper _pnlsplash = null; -public boolean _splashshowing = false; -public anywheresoftware.b4a.phone.Phone _phone = null; -public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public String _sharedfolder = ""; -public boolean _usefileprovider = false; -public int _logcolor1 = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public boolean _canrequestpackageinstalls() throws Exception{ -anywheresoftware.b4j.object.JavaObject _ctxt = null; -anywheresoftware.b4j.object.JavaObject _packagemanager = null; - //BA.debugLineNum = 448;BA.debugLine="Public Sub CanRequestPackageInstalls As Boolean"; - //BA.debugLineNum = 449;BA.debugLine="Dim ctxt As JavaObject"; -_ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 450;BA.debugLine="ctxt.InitializeContext"; -_ctxt.InitializeContext(ba); - //BA.debugLineNum = 451;BA.debugLine="Dim PackageManager As JavaObject = ctxt.RunMethod"; -_packagemanager = new anywheresoftware.b4j.object.JavaObject(); -_packagemanager = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_ctxt.RunMethod("getPackageManager",(Object[])(__c.Null)))); - //BA.debugLineNum = 452;BA.debugLine="Return PackageManager.RunMethod(\"canRequestPackag"; -if (true) return BA.ObjectToBoolean(_packagemanager.RunMethod("canRequestPackageInstalls",(Object[])(__c.Null))); - //BA.debugLineNum = 453;BA.debugLine="End Sub"; -return false; -} -public boolean _checknonmarketappsenabled() throws Exception{ -anywheresoftware.b4j.object.JavaObject _context = null; -anywheresoftware.b4j.object.JavaObject _resolver = null; -anywheresoftware.b4j.object.JavaObject _global = null; - //BA.debugLineNum = 471;BA.debugLine="Public Sub CheckNonMarketAppsEnabled As Boolean"; - //BA.debugLineNum = 472;BA.debugLine="If phone.SdkVersion >= 26 Then Return True"; -if (_phone.getSdkVersion()>=26) { -if (true) return __c.True;}; - //BA.debugLineNum = 473;BA.debugLine="If phone.SdkVersion < 17 Or phone.SdkVersion >= 2"; -if (_phone.getSdkVersion()<17 || _phone.getSdkVersion()>=21) { - //BA.debugLineNum = 474;BA.debugLine="Return phone.GetSettings(\"install_non_market_app"; -if (true) return (_phone.GetSettings("install_non_market_apps")).equals("1"); - }else { - //BA.debugLineNum = 476;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 477;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 478;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\""; -_resolver = new anywheresoftware.b4j.object.JavaObject(); -_resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 479;BA.debugLine="Dim global As JavaObject"; -_global = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 480;BA.debugLine="global.InitializeStatic(\"android.provider.Settin"; -_global.InitializeStatic("android.provider.Settings.Global"); - //BA.debugLineNum = 481;BA.debugLine="Return global.RunMethod(\"getString\", Array(resol"; -if (true) return (_global.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})).equals((Object)("1")); - }; - //BA.debugLineNum = 483;BA.debugLine="End Sub"; -return false; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Private Sub Class_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Public ERR_NOPKG = -1 As Int 'missing package"; -_err_nopkg = (int) (-1); - //BA.debugLineNum = 9;BA.debugLine="Public ERR_NOTXT = -2 As Int 'missing webserve"; -_err_notxt = (int) (-2); - //BA.debugLineNum = 10;BA.debugLine="Public ERR_NOAPK = -3 As Int 'missing webserve"; -_err_noapk = (int) (-3); - //BA.debugLineNum = 11;BA.debugLine="Public ERR_TXTROW = -4 As Int 'wrong row forma"; -_err_txtrow = (int) (-4); - //BA.debugLineNum = 12;BA.debugLine="Public ERR_HTML = -5 As Int 'website returned"; -_err_html = (int) (-5); - //BA.debugLineNum = 13;BA.debugLine="Public ERR_NOSPACE = -6 As Int 'no enough spac"; -_err_nospace = (int) (-6); - //BA.debugLineNum = 14;BA.debugLine="Public ERR_NOPERM = -7 As Int 'no permissions"; -_err_noperm = (int) (-7); - //BA.debugLineNum = 15;BA.debugLine="Public ERR_DOWNLOAD = -8 As Int 'failed to dow"; -_err_download = (int) (-8); - //BA.debugLineNum = 16;BA.debugLine="Public ERR_HTTP = -100 As Int 'HttpUtils error"; -_err_http = (int) (-100); - //BA.debugLineNum = 17;BA.debugLine="Public OK_INIT = 0 As Int"; -_ok_init = (int) (0); - //BA.debugLineNum = 18;BA.debugLine="Public OK_CURVER = 1 As Int 'curver has valid"; -_ok_curver = (int) (1); - //BA.debugLineNum = 19;BA.debugLine="Public OK_WEBVER = 2 As Int"; -_ok_webver = (int) (2); - //BA.debugLineNum = 20;BA.debugLine="Public NO_NEWERAPK = 3 As Int 'apk version on"; -_no_newerapk = (int) (3); - //BA.debugLineNum = 21;BA.debugLine="Public OK_NEWERAPK = 4 As Int 'current apk has"; -_ok_newerapk = (int) (4); - //BA.debugLineNum = 22;BA.debugLine="Public OK_DOWNLOAD = 5 As Int 'newer apk corre"; -_ok_download = (int) (5); - //BA.debugLineNum = 23;BA.debugLine="Public OK_INSTALL = 6 As Int 'user asked to in"; -_ok_install = (int) (6); - //BA.debugLineNum = 26;BA.debugLine="Private Callback As Object"; -_callback = new Object(); - //BA.debugLineNum = 27;BA.debugLine="Private Event As String"; -_event = ""; - //BA.debugLineNum = 28;BA.debugLine="Private sPackageName As String 'ex: com.te"; -_spackagename = ""; - //BA.debugLineNum = 29;BA.debugLine="Private sNewVerTxt As String 'ex: http:/"; -_snewvertxt = ""; - //BA.debugLineNum = 30;BA.debugLine="Private sNewVerApk As String 'ex: http:/"; -_snewverapk = ""; - //BA.debugLineNum = 31;BA.debugLine="Private sStatusCode As Int 'negatives"; -_sstatuscode = 0; - //BA.debugLineNum = 32;BA.debugLine="Private sUserName As String 'user name"; -_susername = ""; - //BA.debugLineNum = 33;BA.debugLine="Private sUPassword As String 'password r"; -_supassword = ""; - //BA.debugLineNum = 34;BA.debugLine="Private curver, webver As String 'curver = c"; -_curver = ""; -_webver = ""; - //BA.debugLineNum = 35;BA.debugLine="Private webclog As String 'webclog = optional"; -_webclog = ""; - //BA.debugLineNum = 36;BA.debugLine="Private webfsize As String 'webfsize = option"; -_webfsize = ""; - //BA.debugLineNum = 37;BA.debugLine="Private sVerbose As Boolean 'TRUE = a lot of"; -_sverbose = false; - //BA.debugLineNum = 38;BA.debugLine="Private pnlSplash As Panel 'panel used to sup"; -_pnlsplash = new anywheresoftware.b4a.objects.PanelWrapper(); - //BA.debugLineNum = 39;BA.debugLine="Private SplashShowing As Boolean 'True = splash"; -_splashshowing = false; - //BA.debugLineNum = 40;BA.debugLine="Private phone As Phone"; -_phone = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 41;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 42;BA.debugLine="Private SharedFolder As String 'Foder where to"; -_sharedfolder = ""; - //BA.debugLineNum = 43;BA.debugLine="Private UseFileProvider As Boolean 'TRUE = SDK"; -_usefileprovider = false; - //BA.debugLineNum = 44;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'first col"; -_logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return ""; -} -public void _downloadapk() throws Exception{ -ResumableSub_DownloadApk rsub = new ResumableSub_DownloadApk(this); -rsub.resume(ba, null); -} -public static class ResumableSub_DownloadApk extends BA.ResumableSub { -public ResumableSub_DownloadApk(adm.keymon.com.mx.cl_appupdate parent) { -this.parent = parent; -} -adm.keymon.com.mx.cl_appupdate parent; -adm.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = 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 = 159;BA.debugLine="LogColor(\"---- AppUpdating.DownloadApk\", LogColor"; -parent.__c.LogImpl("91376257","---- AppUpdating.DownloadApk",parent._logcolor1); - //BA.debugLineNum = 161;BA.debugLine="If sNewVerApk = \"\" Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if ((parent._snewverapk).equals("")) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 162;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 163;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk file fu"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._sverbose) { -this.state = 6; -;}if (true) break; - -case 6: -//C -this.state = 9; -parent.__c.LogImpl("91376261",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); -if (true) break; - -case 9: -//C -this.state = 10; -; - //BA.debugLineNum = 164;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 165;BA.debugLine="Return"; -if (true) return ; - if (true) break; - -case 10: -//C -this.state = 11; -; - //BA.debugLineNum = 168;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 169;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 170;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 171;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 172;BA.debugLine="j.Download(sNewVerApk) 'ex: j.Download(\"htt"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 173;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 29; -return; -case 29: -//C -this.state = 11; -_j = (adm.keymon.com.mx.httpjob) result[0]; -; - //BA.debugLineNum = 174;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("91376272",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 175;BA.debugLine="If j.Success Then"; -if (true) break; - -case 11: -//if -this.state = 28; -if (_j._success /*boolean*/ ) { -this.state = 13; -}else { -this.state = 21; -}if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 177;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 178;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",Fal"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 179;BA.debugLine="File.Copy2(J.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 180;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 181;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("91376279",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 182;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 183;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version dow"; -if (true) break; - -case 14: -//if -this.state = 19; -if (parent._sverbose) { -this.state = 16; -;}if (true) break; - -case 16: -//C -this.state = 19; -parent.__c.LogImpl("91376281",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); -if (true) break; - -case 19: -//C -this.state = 28; -; - if (true) break; - -case 21: -//C -this.state = 22; - //BA.debugLineNum = 185;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91376283",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 186;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 187;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils2"; -if (true) break; - -case 22: -//if -this.state = 27; -if (parent._sverbose) { -this.state = 24; -;}if (true) break; - -case 24: -//C -this.state = 27; -parent.__c.LogImpl("91376285",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); -if (true) break; - -case 27: -//C -this.state = 28; -; - //BA.debugLineNum = 188;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tru"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); - if (true) break; - -case 28: -//C -this.state = -1; -; - //BA.debugLineNum = 190;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 191;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _jobdone(adm.keymon.com.mx.httpjob _j) throws Exception{ -} -public String _extractcl(String _txtrow) throws Exception{ -int _i = 0; -int _j1 = 0; -int _j2 = 0; - //BA.debugLineNum = 381;BA.debugLine="Private Sub ExtractCL(TxtRow As String) As String"; - //BA.debugLineNum = 382;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 383;BA.debugLine="i = TxtRow.IndexOf(\"\")"; -_i = _txtrow.indexOf(""); - //BA.debugLineNum = 384;BA.debugLine="If i <> -1 Then"; -if (_i!=-1) { - //BA.debugLineNum = 385;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\")"; -_j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 386;BA.debugLine="If j1 = -1 Then"; -if (_j1==-1) { - //BA.debugLineNum = 387;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'l"; -_j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 388;BA.debugLine="j1 = j2"; -_j1 = _j2; - //BA.debugLineNum = 389;BA.debugLine="If j1 < i Then j1 = -1"; -if (_j1<_i) { -_j1 = (int) (-1);}; - }; - //BA.debugLineNum = 391;BA.debugLine="If j1 <> -1 Then Return TxtRow.SubString2(i+11,j"; -if (_j1!=-1) { -if (true) return _txtrow.substring((int) (_i+11),_j1);} -else { -if (true) return _txtrow.substring((int) (_i+11));}; - }else { - //BA.debugLineNum = 393;BA.debugLine="Return \"\""; -if (true) return ""; - }; - //BA.debugLineNum = 395;BA.debugLine="End Sub"; -return ""; -} -public String _extractsz(String _txtrow) throws Exception{ -int _i = 0; -int _j1 = 0; -int _j2 = 0; -String _s = ""; - //BA.debugLineNum = 399;BA.debugLine="Private Sub ExtractSZ(TxtRow As String) As String"; - //BA.debugLineNum = 400;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 401;BA.debugLine="i = TxtRow.IndexOf(\"\")"; -_i = _txtrow.indexOf(""); - //BA.debugLineNum = 402;BA.debugLine="If i <> -1 Then"; -if (_i!=-1) { - //BA.debugLineNum = 403;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") '"; -_j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 404;BA.debugLine="If j1 = -1 Then"; -if (_j1==-1) { - //BA.debugLineNum = 405;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") '"; -_j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 406;BA.debugLine="j1 = j2"; -_j1 = _j2; - //BA.debugLineNum = 407;BA.debugLine="If j1 < i Then j1 = -1"; -if (_j1<_i) { -_j1 = (int) (-1);}; - }; - //BA.debugLineNum = 409;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 410;BA.debugLine="If j1 <> -1 Then s = TxtRow.SubString2(i+10,j1)"; -if (_j1!=-1) { -_s = _txtrow.substring((int) (_i+10),_j1);} -else { -_s = _txtrow.substring((int) (_i+10));}; - //BA.debugLineNum = 411;BA.debugLine="s = s.Replace(CRLF,\"\")"; -_s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 412;BA.debugLine="s=s.Replace(Chr(13),\"\")"; -_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 413;BA.debugLine="Return s"; -if (true) return _s; - }else { - //BA.debugLineNum = 415;BA.debugLine="Return \"\""; -if (true) return ""; - }; - //BA.debugLineNum = 417;BA.debugLine="End Sub"; -return ""; -} -public String _extractvn(String _txtrow) throws Exception{ -int _i = 0; -int _j1 = 0; -int _j2 = 0; -int _j = 0; -String _s = ""; - //BA.debugLineNum = 360;BA.debugLine="Private Sub ExtractVN(TxtRow As String) As String"; - //BA.debugLineNum = 361;BA.debugLine="Dim i As Int"; -_i = 0; - //BA.debugLineNum = 362;BA.debugLine="i = TxtRow.IndexOf(\"=\")"; -_i = _txtrow.indexOf("="); - //BA.debugLineNum = 363;BA.debugLine="If i <> -1 Then"; -if (_i!=-1) { - //BA.debugLineNum = 364;BA.debugLine="Dim j1 As Int = TxtRow.IndexOf(\"\") 'l"; -_j1 = _txtrow.indexOf(""); - //BA.debugLineNum = 365;BA.debugLine="Dim j2 As Int = TxtRow.IndexOf(\"\") 'lo"; -_j2 = _txtrow.indexOf(""); - //BA.debugLineNum = 366;BA.debugLine="Dim j As Int = Min(j1, j2)"; -_j = (int) (__c.Min(_j1,_j2)); - //BA.debugLineNum = 367;BA.debugLine="If j = -1 Then j = Max(j1,j2)"; -if (_j==-1) { -_j = (int) (__c.Max(_j1,_j2));}; - //BA.debugLineNum = 368;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 369;BA.debugLine="If j <> - 1 Then s=TxtRow.SubString2(i+1,j) Else"; -if (_j!=-1) { -_s = _txtrow.substring((int) (_i+1),_j);} -else { -_s = _txtrow.substring((int) (_i+1));}; - //BA.debugLineNum = 370;BA.debugLine="s=s.Replace(CRLF,\"\")"; -_s = _s.replace(__c.CRLF,""); - //BA.debugLineNum = 371;BA.debugLine="s=s.Replace(Chr(13),\"\")"; -_s = _s.replace(BA.ObjectToString(__c.Chr((int) (13))),""); - //BA.debugLineNum = 372;BA.debugLine="Return s"; -if (true) return _s; - }else { - //BA.debugLineNum = 374;BA.debugLine="Return \"\""; -if (true) return ""; - }; - //BA.debugLineNum = 376;BA.debugLine="End Sub"; -return ""; -} -public String _finito() throws Exception{ - //BA.debugLineNum = 290;BA.debugLine="Private Sub Finito"; - //BA.debugLineNum = 291;BA.debugLine="If SubExists(Callback,Event&\"_UpdateComplete\") Th"; -if (__c.SubExists(ba,_callback,_event+"_UpdateComplete")) { - //BA.debugLineNum = 292;BA.debugLine="CallSub(Callback,Event&\"_UpdateComplete\")"; -__c.CallSubNew(ba,_callback,_event+"_UpdateComplete"); - }; - //BA.debugLineNum = 294;BA.debugLine="End Sub"; -return ""; -} -public long _getavailablespace() throws Exception{ - //BA.debugLineNum = 137;BA.debugLine="Public Sub GetAvailableSpace As Long"; - //BA.debugLineNum = 138;BA.debugLine="Return GetFreeSpace"; -if (true) return _getfreespace(); - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return 0L; -} -public String _getcurvn() throws Exception{ - //BA.debugLineNum = 114;BA.debugLine="Public Sub getCurVN As String"; - //BA.debugLineNum = 115;BA.debugLine="Return curver"; -if (true) return _curver; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public Object _getfileuri(String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _uri = null; -anywheresoftware.b4j.object.JavaObject _f = null; -anywheresoftware.b4j.object.JavaObject _fp = null; -anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 503;BA.debugLine="Private Sub GetFileUri (FileName As String) As Obj"; - //BA.debugLineNum = 504;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 505;BA.debugLine="Dim uri As JavaObject"; -_uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 506;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); - }else { - //BA.debugLineNum = 508;BA.debugLine="Dim f As JavaObject"; -_f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 509;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 510;BA.debugLine="Dim fp As JavaObject"; -_fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 511;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 512;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 513;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; -_fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 514;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; -if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); - }; - //BA.debugLineNum = 516;BA.debugLine="End Sub"; -return null; -} -public long _getfreespace() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 421;BA.debugLine="Private Sub GetFreeSpace As Long"; - //BA.debugLineNum = 422;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 423;BA.debugLine="jo.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_jo.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder)}); - //BA.debugLineNum = 424;BA.debugLine="Return jo.RunMethod(\"getFreeSpace\", Null)"; -if (true) return BA.ObjectToLongNumber(_jo.RunMethod("getFreeSpace",(Object[])(__c.Null))); - //BA.debugLineNum = 425;BA.debugLine="End Sub"; -return 0L; -} -public String _getnmappinst() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _context = null; -anywheresoftware.b4j.object.JavaObject _resolver = null; - //BA.debugLineNum = 435;BA.debugLine="Private Sub GetNMAppInst As String"; - //BA.debugLineNum = 436;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 437;BA.debugLine="jo.InitializeStatic(\"android.provider.Settings.Se"; -_jo.InitializeStatic("android.provider.Settings.Secure"); - //BA.debugLineNum = 438;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 439;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 440;BA.debugLine="Dim resolver As JavaObject = context.RunMethod(\"g"; -_resolver = new anywheresoftware.b4j.object.JavaObject(); -_resolver = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_context.RunMethod("getContentResolver",(Object[])(__c.Null)))); - //BA.debugLineNum = 441;BA.debugLine="Return jo.RunMethod(\"getString\", Array(resolver,"; -if (true) return BA.ObjectToString(_jo.RunMethod("getString",new Object[]{(Object)(_resolver.getObject()),(Object)("install_non_market_apps")})); - //BA.debugLineNum = 442;BA.debugLine="End Sub"; -return ""; -} -public String _getpackagename() throws Exception{ - //BA.debugLineNum = 79;BA.debugLine="Public Sub getPackageName As String"; - //BA.debugLineNum = 80;BA.debugLine="Return sPackageName"; -if (true) return _spackagename; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public int _getsdkversion() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 428;BA.debugLine="Private Sub GetSDKVersion As Int"; - //BA.debugLineNum = 429;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 430;BA.debugLine="jo.InitializeStatic(\"android.os.Build.VERSION\")"; -_jo.InitializeStatic("android.os.Build.VERSION"); - //BA.debugLineNum = 431;BA.debugLine="Return jo.GetField(\"SDK_INT\")"; -if (true) return (int)(BA.ObjectToNumber(_jo.GetField("SDK_INT"))); - //BA.debugLineNum = 432;BA.debugLine="End Sub"; -return 0; -} -public int _getstatus() throws Exception{ - //BA.debugLineNum = 108;BA.debugLine="Public Sub getStatus As Int"; - //BA.debugLineNum = 109;BA.debugLine="Return sStatusCode"; -if (true) return _sstatuscode; - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -return 0; -} -public String _getwebchangelog() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getWebChangeLog As String"; - //BA.debugLineNum = 127;BA.debugLine="Return webclog"; -if (true) return _webclog; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _getwebfilesize() throws Exception{ - //BA.debugLineNum = 132;BA.debugLine="Public Sub getWebFileSize As String"; - //BA.debugLineNum = 133;BA.debugLine="Return webfsize"; -if (true) return _webfsize; - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return ""; -} -public String _getwebvn() throws Exception{ - //BA.debugLineNum = 120;BA.debugLine="Public Sub getWebVN As String"; - //BA.debugLineNum = 121;BA.debugLine="Return webver"; -if (true) return _webver; - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callbackmodule,String _eventname) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 48;BA.debugLine="Public Sub Initialize(CallbackModule As Object, Ev"; - //BA.debugLineNum = 49;BA.debugLine="Callback = CallbackModule"; -_callback = _callbackmodule; - //BA.debugLineNum = 50;BA.debugLine="Event = EventName"; -_event = _eventname; - //BA.debugLineNum = 51;BA.debugLine="sPackageName = \"\""; -_spackagename = ""; - //BA.debugLineNum = 52;BA.debugLine="sNewVerTxt = \"\""; -_snewvertxt = ""; - //BA.debugLineNum = 53;BA.debugLine="sNewVerApk = \"\""; -_snewverapk = ""; - //BA.debugLineNum = 54;BA.debugLine="sUserName = \"\""; -_susername = ""; - //BA.debugLineNum = 55;BA.debugLine="sUPassword = \"\""; -_supassword = ""; - //BA.debugLineNum = 56;BA.debugLine="sStatusCode = OK_INIT"; -_sstatuscode = _ok_init; - //BA.debugLineNum = 57;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 58;BA.debugLine="webver = \"\""; -_webver = ""; - //BA.debugLineNum = 59;BA.debugLine="sVerbose = False"; -_sverbose = __c.False; - //BA.debugLineNum = 60;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 61;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; -if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 62;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 63;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 64;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); - }else { - //BA.debugLineNum = 66;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 67;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); - }; - //BA.debugLineNum = 69;BA.debugLine="Log($\"SDK#: ${p.SdkVersion} - UseFP: ${UseFilePro"; -__c.LogImpl("9393237",("SDK#: "+__c.SmartStringFormatter("",(Object)(_p.getSdkVersion()))+" - UseFP: "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+" - SharedFolder: "+__c.SmartStringFormatter("",(Object)(_sharedfolder))+""),0); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public String _installapk(boolean _pstatus) throws Exception{ - //BA.debugLineNum = 195;BA.debugLine="Public Sub InstallApk(pstatus As Boolean)"; - //BA.debugLineNum = 196;BA.debugLine="LogColor(\"---- AppUpdating.InstallApk\", LogColor1"; -__c.LogImpl("91441793","---- AppUpdating.InstallApk",_logcolor1); - //BA.debugLineNum = 197;BA.debugLine="If pstatus Then"; -if (_pstatus) { - //BA.debugLineNum = 198;BA.debugLine="SendInstallIntent"; -_sendinstallintent(); - //BA.debugLineNum = 199;BA.debugLine="sStatusCode = OK_INSTALL"; -_sstatuscode = _ok_install; - //BA.debugLineNum = 200;BA.debugLine="If sVerbose Then Log(TAB & \"user asked to instal"; -if (_sverbose) { -__c.LogImpl("91441797",__c.TAB+"user asked to install new apk",0);}; - }else { - //BA.debugLineNum = 202;BA.debugLine="sStatusCode = ERR_NOPERM"; -_sstatuscode = _err_noperm; - //BA.debugLineNum = 203;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; -if (_sverbose) { -__c.LogImpl("91441800",__c.TAB+"no permissions from user to install new apk",0);}; - }; - //BA.debugLineNum = 205;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 206;BA.debugLine="End Sub"; -return ""; -} -public boolean _isvalidcv() throws Exception{ -anywheresoftware.b4a.phone.PackageManagerWrapper _pm = null; - //BA.debugLineNum = 297;BA.debugLine="Private Sub IsValidCV As Boolean"; - //BA.debugLineNum = 298;BA.debugLine="If sPackageName = \"\" Then"; -if ((_spackagename).equals("")) { - //BA.debugLineNum = 299;BA.debugLine="curver = \"\""; -_curver = ""; - //BA.debugLineNum = 300;BA.debugLine="sStatusCode = ERR_NOPKG"; -_sstatuscode = _err_nopkg; - //BA.debugLineNum = 301;BA.debugLine="If sVerbose Then Log($\"${TAB}missing package nam"; -if (_sverbose) { -__c.LogImpl("91703940",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"missing package name for current version check"),0);}; - }else { - //BA.debugLineNum = 303;BA.debugLine="Dim pm As PackageManager"; -_pm = new anywheresoftware.b4a.phone.PackageManagerWrapper(); - //BA.debugLineNum = 304;BA.debugLine="curver = pm.GetVersionName(sPackageName)"; -_curver = _pm.GetVersionName(_spackagename); - //BA.debugLineNum = 305;BA.debugLine="sStatusCode = OK_CURVER 'got current ve"; -_sstatuscode = _ok_curver; - //BA.debugLineNum = 306;BA.debugLine="If sVerbose Then Log($\"${TAB}Current Version: ${"; -if (_sverbose) { -__c.LogImpl("91703945",(""+__c.SmartStringFormatter("",(Object)(__c.TAB))+"Current Version: "+__c.SmartStringFormatter("",(Object)(_curver))+""),0);}; - }; - //BA.debugLineNum = 308;BA.debugLine="Return (sStatusCode == OK_CURVER)"; -if (true) return (_sstatuscode==_ok_curver); - //BA.debugLineNum = 309;BA.debugLine="End Sub"; -return false; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _isvalidwv() throws Exception{ -ResumableSub_IsvalidWV rsub = new ResumableSub_IsvalidWV(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_IsvalidWV extends BA.ResumableSub { -public ResumableSub_IsvalidWV(adm.keymon.com.mx.cl_appupdate parent) { -this.parent = parent; -} -adm.keymon.com.mx.cl_appupdate parent; -adm.keymon.com.mx.httpjob _j = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 313;BA.debugLine="Log(\"IsValidComplete start\")"; -parent.__c.LogImpl("91769473","IsValidComplete start",0); - //BA.debugLineNum = 314;BA.debugLine="If sNewVerTxt = \"\" Then"; -if (true) break; - -case 1: -//if -this.state = 60; -if ((parent._snewvertxt).equals("")) { -this.state = 3; -}else { -this.state = 11; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 315;BA.debugLine="webver = \"\""; -parent._webver = ""; - //BA.debugLineNum = 316;BA.debugLine="sStatusCode = ERR_NOTXT"; -parent._sstatuscode = parent._err_notxt; - //BA.debugLineNum = 317;BA.debugLine="If sVerbose Then Log($\"${TAB}missing info file f"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._sverbose) { -this.state = 6; -;}if (true) break; - -case 6: -//C -this.state = 9; -parent.__c.LogImpl("91769477",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing info file full path indication"),0); -if (true) break; - -case 9: -//C -this.state = 60; -; - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 320;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 321;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 322;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 323;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 324;BA.debugLine="j.Download(sNewVerTxt) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewvertxt); - //BA.debugLineNum = 325;BA.debugLine="Log(\"before\")"; -parent.__c.LogImpl("91769485","before",0); - //BA.debugLineNum = 326;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 61; -return; -case 61: -//C -this.state = 12; -_j = (adm.keymon.com.mx.httpjob) result[0]; -; - //BA.debugLineNum = 327;BA.debugLine="Log(\"after\")"; -parent.__c.LogImpl("91769487","after",0); - //BA.debugLineNum = 328;BA.debugLine="If j.Success Then"; -if (true) break; - -case 12: -//if -this.state = 59; -if (_j._success /*boolean*/ ) { -this.state = 14; -}else { -this.state = 52; -}if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 329;BA.debugLine="If sVerbose Then Log($\"Webserver's info file co"; -if (true) break; - -case 15: -//if -this.state = 20; -if (parent._sverbose) { -this.state = 17; -;}if (true) break; - -case 17: -//C -this.state = 20; -parent.__c.LogImpl("91769489",("Webserver's info file content: "+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_j._getstring /*String*/ ()))+""),0); -if (true) break; - -case 20: -//C -this.state = 21; -; - //BA.debugLineNum = 330;BA.debugLine="If Not(J.GetString.Contains(\"\"))"; -if (true) break; - -case 21: -//if -this.state = 50; -if (parent.__c.Not(_j._getstring /*String*/ ().contains(""))) { -this.state = 23; -}else { -this.state = 43; -}if (true) break; - -case 23: -//C -this.state = 24; - //BA.debugLineNum = 331;BA.debugLine="webver = ExtractVN(J.GetString)"; -parent._webver = parent._extractvn(_j._getstring /*String*/ ()); - //BA.debugLineNum = 332;BA.debugLine="webclog = ExtractCL(J.GetString) 'optional"; -parent._webclog = parent._extractcl(_j._getstring /*String*/ ()); - //BA.debugLineNum = 333;BA.debugLine="webfsize = ExtractSZ(J.GetString) 'optiona"; -parent._webfsize = parent._extractsz(_j._getstring /*String*/ ()); - //BA.debugLineNum = 334;BA.debugLine="If webver = \"\" Then"; -if (true) break; - -case 24: -//if -this.state = 41; -if ((parent._webver).equals("")) { -this.state = 26; -}else { -this.state = 34; -}if (true) break; - -case 26: -//C -this.state = 27; - //BA.debugLineNum = 335;BA.debugLine="sStatusCode = ERR_TXTROW"; -parent._sstatuscode = parent._err_txtrow; - //BA.debugLineNum = 336;BA.debugLine="If sVerbose Then Log($\"${TAB}wrong row format"; -if (true) break; - -case 27: -//if -this.state = 32; -if (parent._sverbose) { -this.state = 29; -;}if (true) break; - -case 29: -//C -this.state = 32; -parent.__c.LogImpl("91769496",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"wrong row format in info file "),0); -if (true) break; - -case 32: -//C -this.state = 41; -; - if (true) break; - -case 34: -//C -this.state = 35; - //BA.debugLineNum = 338;BA.debugLine="sStatusCode = OK_WEBVER 'read apk's ver"; -parent._sstatuscode = parent._ok_webver; - //BA.debugLineNum = 339;BA.debugLine="If sVerbose Then Log($\"${TAB}Web version numb"; -if (true) break; - -case 35: -//if -this.state = 40; -if (parent._sverbose) { -this.state = 37; -;}if (true) break; - -case 37: -//C -this.state = 40; -parent.__c.LogImpl("91769499",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Web version number: "+parent.__c.SmartStringFormatter("",(Object)(parent._webver))+""),0); -if (true) break; - -case 40: -//C -this.state = 41; -; - if (true) break; - -case 41: -//C -this.state = 50; -; - if (true) break; - -case 43: -//C -this.state = 44; - //BA.debugLineNum = 342;BA.debugLine="sStatusCode = ERR_HTML 'website returne"; -parent._sstatuscode = parent._err_html; - //BA.debugLineNum = 343;BA.debugLine="If sVerbose Then Log($\"${TAB}ERROR: website re"; -if (true) break; - -case 44: -//if -this.state = 49; -if (parent._sverbose) { -this.state = 46; -;}if (true) break; - -case 46: -//C -this.state = 49; -parent.__c.LogImpl("91769503",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"ERROR: website returned an HTML error page"),0); -if (true) break; - -case 49: -//C -this.state = 50; -; - if (true) break; - -case 50: -//C -this.state = 59; -; - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 346;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91769506",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 347;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 348;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; -if (true) break; - -case 53: -//if -this.state = 58; -if (parent._sverbose) { -this.state = 55; -;}if (true) break; - -case 55: -//C -this.state = 58; -parent.__c.LogImpl("91769508",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); -if (true) break; - -case 58: -//C -this.state = 59; -; - //BA.debugLineNum = 349;BA.debugLine="ToastMessageShow(\"Error: \" & J.ErrorMessage, Tr"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence("Error: "+_j._errormessage /*String*/ ),parent.__c.True); - if (true) break; - -case 59: -//C -this.state = 60; -; - //BA.debugLineNum = 351;BA.debugLine="j.Release"; -_j._release /*String*/ (); - if (true) break; - -case 60: -//C -this.state = -1; -; - //BA.debugLineNum = 353;BA.debugLine="Return (sStatusCode == OK_WEBVER)"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)((parent._sstatuscode==parent._ok_webver)));return;}; - //BA.debugLineNum = 354;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _readcurvn() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub ReadCurVN"; - //BA.debugLineNum = 144;BA.debugLine="LogColor(\"---- AppUpdating.ReadCurVN\", LogColor1)"; -__c.LogImpl("91245185","---- AppUpdating.ReadCurVN",_logcolor1); - //BA.debugLineNum = 145;BA.debugLine="IsValidCV 'we don't care about its resu"; -_isvalidcv(); - //BA.debugLineNum = 146;BA.debugLine="Finito"; -_finito(); - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public void _readwebvn() throws Exception{ -ResumableSub_ReadWebVN rsub = new ResumableSub_ReadWebVN(this); -rsub.resume(ba, null); -} -public static class ResumableSub_ReadWebVN extends BA.ResumableSub { -public ResumableSub_ReadWebVN(adm.keymon.com.mx.cl_appupdate parent) { -this.parent = parent; -} -adm.keymon.com.mx.cl_appupdate parent; -boolean _okwebver = false; - -@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 = 152;BA.debugLine="LogColor(\"---- AppUpdating.ReadWebVN\", LogColor1)"; -parent.__c.LogImpl("91310721","---- AppUpdating.ReadWebVN",parent._logcolor1); - //BA.debugLineNum = 153;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolean"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); -this.state = 1; -return; -case 1: -//C -this.state = -1; -_okwebver = (Boolean) result[0]; -; - //BA.debugLineNum = 154;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _complete(boolean _okwebver) throws Exception{ -} -public String _sendinstallintent() throws Exception{ -String _apkname = ""; -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 487;BA.debugLine="Private Sub SendInstallIntent"; - //BA.debugLineNum = 488;BA.debugLine="Dim ApkName As String = \"tmp.apk\""; -_apkname = "tmp.apk"; - //BA.debugLineNum = 489;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 490;BA.debugLine="If phone.SdkVersion >= 24 Then 'Nouga"; -if (_phone.getSdkVersion()>=24) { - //BA.debugLineNum = 491;BA.debugLine="i.Initialize(\"android.intent.action.INSTALL_PACK"; -_i.Initialize("android.intent.action.INSTALL_PACKAGE",BA.ObjectToString(_getfileuri(_apkname))); - //BA.debugLineNum = 492;BA.debugLine="i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_UR"; -_i.setFlags(__c.Bit.Or(_i.getFlags(),(int) (1))); - }else { - //BA.debugLineNum = 494;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+__c.File.Combine(_sharedfolder,_apkname)); - //BA.debugLineNum = 495;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - }; - //BA.debugLineNum = 497;BA.debugLine="StartActivity(i)"; -__c.StartActivity(ba,(Object)(_i.getObject())); - //BA.debugLineNum = 498;BA.debugLine="End Sub"; -return ""; -} -public String _setandstartsplashscreen(anywheresoftware.b4a.objects.ActivityWrapper _callingact,anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bm) throws Exception{ -anywheresoftware.b4a.objects.drawable.BitmapDrawable _bitimage = null; - //BA.debugLineNum = 532;BA.debugLine="Public Sub SetAndStartSplashScreen(CallingAct As A"; - //BA.debugLineNum = 533;BA.debugLine="If BM.IsInitialized Then"; -if (_bm.IsInitialized()) { - //BA.debugLineNum = 534;BA.debugLine="pnlSplash.Initialize(\"pnl1\")"; -_pnlsplash.Initialize(ba,"pnl1"); - //BA.debugLineNum = 535;BA.debugLine="pnlSplash.Tag = \"splash\""; -_pnlsplash.setTag((Object)("splash")); - //BA.debugLineNum = 536;BA.debugLine="Dim BitImage As BitmapDrawable"; -_bitimage = new anywheresoftware.b4a.objects.drawable.BitmapDrawable(); - //BA.debugLineNum = 537;BA.debugLine="BitImage.Initialize(BM)"; -_bitimage.Initialize((android.graphics.Bitmap)(_bm.getObject())); - //BA.debugLineNum = 538;BA.debugLine="BitImage.Gravity = Gravity.FILL"; -_bitimage.setGravity(__c.Gravity.FILL); - //BA.debugLineNum = 539;BA.debugLine="CallingAct.AddView(pnlSplash, 0, 0, CallingAct.W"; -_callingact.AddView((android.view.View)(_pnlsplash.getObject()),(int) (0),(int) (0),_callingact.getWidth(),_callingact.getHeight()); - //BA.debugLineNum = 540;BA.debugLine="pnlSplash.Background = BitImage"; -_pnlsplash.setBackground((android.graphics.drawable.Drawable)(_bitimage.getObject())); - //BA.debugLineNum = 541;BA.debugLine="pnlSplash.BringToFront"; -_pnlsplash.BringToFront(); - //BA.debugLineNum = 542;BA.debugLine="SplashShowing = True"; -_splashshowing = __c.True; - }; - //BA.debugLineNum = 544;BA.debugLine="End Sub"; -return ""; -} -public String _setcredentials(String _usern,String _userp) throws Exception{ - //BA.debugLineNum = 96;BA.debugLine="Public Sub setCredentials(UserN As String, UserP A"; - //BA.debugLineNum = 97;BA.debugLine="sUserName = UserN"; -_susername = _usern; - //BA.debugLineNum = 98;BA.debugLine="sUPassword = UserP"; -_supassword = _userp; - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 520;BA.debugLine="Private Sub SetFileUriAsIntentData (Intent As Inte"; - //BA.debugLineNum = 521;BA.debugLine="Dim jo As JavaObject = Intent"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 522;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 523;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; -_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 524;BA.debugLine="End Sub"; -return ""; -} -public String _setnewverapk(String _nva) throws Exception{ - //BA.debugLineNum = 91;BA.debugLine="Public Sub setNewVerApk(NVA As String)"; - //BA.debugLineNum = 92;BA.debugLine="sNewVerApk = NVA"; -_snewverapk = _nva; - //BA.debugLineNum = 93;BA.debugLine="End Sub"; -return ""; -} -public String _setnewvertxt(String _nvt) throws Exception{ - //BA.debugLineNum = 86;BA.debugLine="Public Sub setNewVerTxt(NVT As String)"; - //BA.debugLineNum = 87;BA.debugLine="sNewVerTxt = NVT"; -_snewvertxt = _nvt; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return ""; -} -public String _setpackagename(String _pn) throws Exception{ - //BA.debugLineNum = 74;BA.debugLine="Public Sub setPackageName(PN As String)"; - //BA.debugLineNum = 75;BA.debugLine="sPackageName = PN"; -_spackagename = _pn; - //BA.debugLineNum = 76;BA.debugLine="End Sub"; -return ""; -} -public String _setverbose(boolean _verbose) throws Exception{ - //BA.debugLineNum = 102;BA.debugLine="Public Sub setVerbose(Verbose As Boolean)"; - //BA.debugLineNum = 103;BA.debugLine="sVerbose = Verbose"; -_sverbose = _verbose; - //BA.debugLineNum = 104;BA.debugLine="newinst2.svcVerbose = Verbose"; -_newinst2._svcverbose /*boolean*/ = _verbose; - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return ""; -} -public String _stopsplashscreen() throws Exception{ - //BA.debugLineNum = 547;BA.debugLine="Public Sub StopSplashScreen"; - //BA.debugLineNum = 548;BA.debugLine="If SplashShowing Then"; -if (_splashshowing) { - //BA.debugLineNum = 549;BA.debugLine="SplashShowing = False"; -_splashshowing = __c.False; - //BA.debugLineNum = 550;BA.debugLine="pnlSplash.RemoveView"; -_pnlsplash.RemoveView(); - }; - //BA.debugLineNum = 552;BA.debugLine="End Sub"; -return ""; -} -public void _tryapkupdate() throws Exception{ -ResumableSub_TryApkUpdate rsub = new ResumableSub_TryApkUpdate(this); -rsub.resume(ba, null); -} -public static class ResumableSub_TryApkUpdate extends BA.ResumableSub { -public ResumableSub_TryApkUpdate(adm.keymon.com.mx.cl_appupdate parent) { -this.parent = parent; -} -adm.keymon.com.mx.cl_appupdate parent; -adm.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { -try { - - switch (state) { - case -1: -return; - -case 0: -//C -this.state = 1; - //BA.debugLineNum = 246;BA.debugLine="LogColor($\"${TAB}-- TryApkUpdate\"$, LogColor1)"; -parent.__c.LogImpl("91572865",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"-- TryApkUpdate"),parent._logcolor1); - //BA.debugLineNum = 248;BA.debugLine="If ((sStatusCode >= 0) And (sStatusCode <> NO_NEW"; -if (true) break; - -case 1: -//if -this.state = 44; -if (((parent._sstatuscode>=0) && (parent._sstatuscode!=parent._no_newerapk))) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 250;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 251;BA.debugLine="j.Initialize(\"\", Me)"; -_j._initialize /*String*/ (ba,"",parent); - //BA.debugLineNum = 252;BA.debugLine="j.Username = sUserName"; -_j._username /*String*/ = parent._susername; - //BA.debugLineNum = 253;BA.debugLine="j.Password = sUPassword"; -_j._password /*String*/ = parent._supassword; - //BA.debugLineNum = 254;BA.debugLine="j.Download(sNewVerApk) 'ex: jobapk.Downlo"; -_j._download /*String*/ (parent._snewverapk); - //BA.debugLineNum = 255;BA.debugLine="Wait For (j) JobDone(j As HttpJob)"; -parent.__c.WaitFor("jobdone", ba, this, (Object)(_j)); -this.state = 45; -return; -case 45: -//C -this.state = 4; -_j = (adm.keymon.com.mx.httpjob) result[0]; -; - //BA.debugLineNum = 256;BA.debugLine="Log($\"Donload ok? ${j.Success}\"$)"; -parent.__c.LogImpl("91572875",("Donload ok? "+parent.__c.SmartStringFormatter("",(Object)(_j._success /*boolean*/ ))+""),0); - //BA.debugLineNum = 257;BA.debugLine="If j.Success Then"; -if (true) break; - -case 4: -//if -this.state = 33; -if (_j._success /*boolean*/ ) { -this.state = 6; -}else { -this.state = 26; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 258;BA.debugLine="Try"; -if (true) break; - -case 7: -//try -this.state = 24; -this.catchState = 17; -this.state = 9; -if (true) break; - -case 9: -//C -this.state = 10; -this.catchState = 17; - //BA.debugLineNum = 260;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 261;BA.debugLine="out = File.OpenOutput(SharedFolder,\"tmp.apk\",F"; -_out = parent.__c.File.OpenOutput(parent._sharedfolder,"tmp.apk",parent.__c.False); - //BA.debugLineNum = 262;BA.debugLine="File.Copy2(j.GetInputStream, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_j._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ ().getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 263;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 264;BA.debugLine="Log($\"Copy2 (saving) ok? TRUE\"$)"; -parent.__c.LogImpl("91572883",("Copy2 (saving) ok? TRUE"),0); - //BA.debugLineNum = 265;BA.debugLine="sStatusCode = OK_DOWNLOAD"; -parent._sstatuscode = parent._ok_download; - //BA.debugLineNum = 266;BA.debugLine="If sVerbose Then Log($\"${TAB}new apk version d"; -if (true) break; - -case 10: -//if -this.state = 15; -if (parent._sverbose) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -parent.__c.LogImpl("91572885",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"new apk version downloaded and ready to install"),0); -if (true) break; - -case 15: -//C -this.state = 24; -; - if (true) break; - -case 17: -//C -this.state = 18; -this.catchState = 0; - //BA.debugLineNum = 268;BA.debugLine="Log($\"Copy2 (saving) ok? FALSE\"$)"; -parent.__c.LogImpl("91572887",("Copy2 (saving) ok? FALSE"),0); - //BA.debugLineNum = 269;BA.debugLine="sStatusCode = ERR_DOWNLOAD"; -parent._sstatuscode = parent._err_download; - //BA.debugLineNum = 270;BA.debugLine="If sVerbose Then Log($\"${TAB}failed download o"; -if (true) break; - -case 18: -//if -this.state = 23; -if (parent._sverbose) { -this.state = 20; -;}if (true) break; - -case 20: -//C -this.state = 23; -parent.__c.LogImpl("91572889",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"failed download of new apk version"),0); -if (true) break; - -case 23: -//C -this.state = 24; -; - //BA.debugLineNum = 271;BA.debugLine="ToastMessageShow(LastException, True)"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence(parent.__c.LastException(ba).getObject()),parent.__c.True); - if (true) break; -if (true) break; - -case 24: -//C -this.state = 33; -this.catchState = 0; -; - if (true) break; - -case 26: -//C -this.state = 27; - //BA.debugLineNum = 274;BA.debugLine="Log($\"${TAB}Error: ${J.ErrorMessage}\"$)"; -parent.__c.LogImpl("91572893",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+""),0); - //BA.debugLineNum = 275;BA.debugLine="sStatusCode = ERR_HTTP"; -parent._sstatuscode = parent._err_http; - //BA.debugLineNum = 276;BA.debugLine="If sVerbose Then Log($\"${TAB}error in httputils"; -if (true) break; - -case 27: -//if -this.state = 32; -if (parent._sverbose) { -this.state = 29; -;}if (true) break; - -case 29: -//C -this.state = 32; -parent.__c.LogImpl("91572895",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"error in httputils2"),0); -if (true) break; - -case 32: -//C -this.state = 33; -; - //BA.debugLineNum = 277;BA.debugLine="ToastMessageShow($\"Error: ${J.ErrorMessage}\"$,"; -parent.__c.ToastMessageShow(BA.ObjectToCharSequence(("Error: "+parent.__c.SmartStringFormatter("",(Object)(_j._errormessage /*String*/ ))+"")),parent.__c.True); - if (true) break; - -case 33: -//C -this.state = 34; -; - //BA.debugLineNum = 279;BA.debugLine="j.Release"; -_j._release /*String*/ (); - //BA.debugLineNum = 280;BA.debugLine="If sStatusCode == OK_DOWNLOAD Then"; -if (true) break; - -case 34: -//if -this.state = 43; -if (parent._sstatuscode==parent._ok_download) { -this.state = 36; -}if (true) break; - -case 36: -//C -this.state = 37; - //BA.debugLineNum = 281;BA.debugLine="SendInstallIntent"; -parent._sendinstallintent(); - //BA.debugLineNum = 282;BA.debugLine="sStatusCode = OK_INSTALL"; -parent._sstatuscode = parent._ok_install; - //BA.debugLineNum = 283;BA.debugLine="If sVerbose Then Log($\"${TAB}user asked to inst"; -if (true) break; - -case 37: -//if -this.state = 42; -if (parent._sverbose) { -this.state = 39; -;}if (true) break; - -case 39: -//C -this.state = 42; -parent.__c.LogImpl("91572902",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"user asked to install new apk"),0); -if (true) break; - -case 42: -//C -this.state = 43; -; - if (true) break; - -case 43: -//C -this.state = 44; -; - if (true) break; - -case 44: -//C -this.state = -1; -; - //BA.debugLineNum = 286;BA.debugLine="Finito"; -parent._finito(); - //BA.debugLineNum = 287;BA.debugLine="End Sub"; -if (true) break; -}} - catch (Exception e0) { - -if (catchState == 0) - throw e0; -else { - state = catchState; -ba.setLastException(e0);} - } - } - } -} -public void _updateapk(boolean _pstatus) throws Exception{ -ResumableSub_UpdateApk rsub = new ResumableSub_UpdateApk(this,_pstatus); -rsub.resume(ba, null); -} -public static class ResumableSub_UpdateApk extends BA.ResumableSub { -public ResumableSub_UpdateApk(adm.keymon.com.mx.cl_appupdate parent,boolean _pstatus) { -this.parent = parent; -this._pstatus = _pstatus; -} -adm.keymon.com.mx.cl_appupdate parent; -boolean _pstatus; -boolean _okwebver = false; -long _fsize = 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 = 211;BA.debugLine="LogColor(\"---- AppUpdating.UpdateApk\", LogColor1)"; -parent.__c.LogImpl("91507329","---- AppUpdating.UpdateApk",parent._logcolor1); - //BA.debugLineNum = 212;BA.debugLine="If Not(pstatus) Then"; -if (true) break; - -case 1: -//if -this.state = 61; -if (parent.__c.Not(_pstatus)) { -this.state = 3; -}else { -this.state = 11; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 213;BA.debugLine="sStatusCode = ERR_NOPERM"; -parent._sstatuscode = parent._err_noperm; - //BA.debugLineNum = 214;BA.debugLine="If sVerbose Then Log(TAB & \"no permissions from"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._sverbose) { -this.state = 6; -;}if (true) break; - -case 6: -//C -this.state = 9; -parent.__c.LogImpl("91507332",parent.__c.TAB+"no permissions from user to install new apk",0); -if (true) break; - -case 9: -//C -this.state = 61; -; - if (true) break; - -case 11: -//C -this.state = 12; - //BA.debugLineNum = 216;BA.debugLine="Wait For(IsvalidWV) Complete (OkWebVer As Boolea"; -parent.__c.WaitFor("complete", ba, this, parent._isvalidwv()); -this.state = 62; -return; -case 62: -//C -this.state = 12; -_okwebver = (Boolean) result[0]; -; - //BA.debugLineNum = 217;BA.debugLine="If (IsValidCV And OkWebVer) Then 'here we"; -if (true) break; - -case 12: -//if -this.state = 60; -if ((parent._isvalidcv() && _okwebver)) { -this.state = 14; -}if (true) break; - -case 14: -//C -this.state = 15; - //BA.debugLineNum = 218;BA.debugLine="If curver < webver Then"; -if (true) break; - -case 15: -//if -this.state = 59; -if ((double)(Double.parseDouble(parent._curver))<(double)(Double.parseDouble(parent._webver))) { -this.state = 17; -}else { -this.state = 52; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 220;BA.debugLine="If IsNumber(webfsize) Then"; -if (true) break; - -case 18: -//if -this.state = 31; -if (parent.__c.IsNumber(parent._webfsize)) { -this.state = 20; -}if (true) break; - -case 20: -//C -this.state = 21; - //BA.debugLineNum = 221;BA.debugLine="Dim fsize As Long = webfsize"; -_fsize = (long)(Double.parseDouble(parent._webfsize)); - //BA.debugLineNum = 222;BA.debugLine="If fsize*2 > GetFreeSpace Then"; -if (true) break; - -case 21: -//if -this.state = 30; -if (_fsize*2>parent._getfreespace()) { -this.state = 23; -}if (true) break; - -case 23: -//C -this.state = 24; - //BA.debugLineNum = 223;BA.debugLine="sStatusCode = ERR_NOSPACE"; -parent._sstatuscode = parent._err_nospace; - //BA.debugLineNum = 224;BA.debugLine="If sVerbose Then Log($\"${TAB}no enough avail"; -if (true) break; - -case 24: -//if -this.state = 29; -if (parent._sverbose) { -this.state = 26; -;}if (true) break; - -case 26: -//C -this.state = 29; -parent.__c.LogImpl("91507342",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"no enough available space to download apk"),0); -if (true) break; - -case 29: -//C -this.state = 30; -; - if (true) break; - -case 30: -//C -this.state = 31; -; - if (true) break; -; - //BA.debugLineNum = 227;BA.debugLine="If sStatusCode >= 0 Then"; - -case 31: -//if -this.state = 50; -if (parent._sstatuscode>=0) { -this.state = 33; -}if (true) break; - -case 33: -//C -this.state = 34; - //BA.debugLineNum = 228;BA.debugLine="sStatusCode = OK_NEWERAPK 'info file tells"; -parent._sstatuscode = parent._ok_newerapk; - //BA.debugLineNum = 229;BA.debugLine="If sVerbose Then Log($\"${TAB}Newer version av"; -if (true) break; - -case 34: -//if -this.state = 39; -if (parent._sverbose) { -this.state = 36; -;}if (true) break; - -case 36: -//C -this.state = 39; -parent.__c.LogImpl("91507347",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"Newer version available. Now I try its downloading"),0); -if (true) break; - -case 39: -//C -this.state = 40; -; - //BA.debugLineNum = 230;BA.debugLine="If sNewVerApk = \"\" Then"; -if (true) break; - -case 40: -//if -this.state = 49; -if ((parent._snewverapk).equals("")) { -this.state = 42; -}if (true) break; - -case 42: -//C -this.state = 43; - //BA.debugLineNum = 231;BA.debugLine="sStatusCode = ERR_NOAPK"; -parent._sstatuscode = parent._err_noapk; - //BA.debugLineNum = 232;BA.debugLine="If sVerbose Then Log($\"${TAB}missing apk fil"; -if (true) break; - -case 43: -//if -this.state = 48; -if (parent._sverbose) { -this.state = 45; -;}if (true) break; - -case 45: -//C -this.state = 48; -parent.__c.LogImpl("91507350",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"missing apk file full path indication"),0); -if (true) break; - -case 48: -//C -this.state = 49; -; - if (true) break; - -case 49: -//C -this.state = 50; -; - if (true) break; - -case 50: -//C -this.state = 59; -; - if (true) break; - -case 52: -//C -this.state = 53; - //BA.debugLineNum = 236;BA.debugLine="sStatusCode = NO_NEWERAPK"; -parent._sstatuscode = parent._no_newerapk; - //BA.debugLineNum = 237;BA.debugLine="If sVerbose Then Log($\"${TAB}No newer version"; -if (true) break; - -case 53: -//if -this.state = 58; -if (parent._sverbose) { -this.state = 55; -;}if (true) break; - -case 55: -//C -this.state = 58; -parent.__c.LogImpl("91507355",(""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.TAB))+"No newer version available on webserver."),0); -if (true) break; - -case 58: -//C -this.state = 59; -; - if (true) break; - -case 59: -//C -this.state = 60; -; - if (true) break; - -case 60: -//C -this.state = 61; -; - if (true) break; - -case 61: -//C -this.state = -1; -; - //BA.debugLineNum = 241;BA.debugLine="TryApkUpdate 'if available and permitted, do"; -parent._tryapkupdate(); - //BA.debugLineNum = 242;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/cpdf.java b/B4A/Objects/src/adm/keymon/com/mx/cpdf.java deleted file mode 100644 index 76576de..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/cpdf.java +++ /dev/null @@ -1,1968 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class cpdf extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.cpdf"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.cpdf.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.B4XViewWrapper.XUI _fxui = null; -public String _ftextencoding = ""; -public String _flibversion = ""; -public String _fpdfversion = ""; -public double _funitfactor = 0; -public adm.keymon.com.mx.cpdf._tpdfcontext _fcontext = null; -public anywheresoftware.b4a.objects.collections.Map _fproperties = null; -public anywheresoftware.b4a.objects.collections.List _fobjs = null; -public int _fpage = 0; -public anywheresoftware.b4a.objects.collections.List _fpages = null; -public anywheresoftware.b4a.objects.collections.List _fusedimages = null; -public anywheresoftware.b4a.objects.collections.List _fusedfonts = null; -public anywheresoftware.b4a.objects.collections.Map _ffontsinfos = null; -public double _pagesizea3portraitwidth = 0; -public double _pagesizea3portraitheight = 0; -public double _pagesizea4portraitwidth = 0; -public double _pagesizea4portraitheight = 0; -public double _pagesizea5portraitwidth = 0; -public double _pagesizea5portraitheight = 0; -public double _pagesizeletterportraitwidth = 0; -public double _pagesizeletterportraitheight = 0; -public double _pagesizelegalportraitwidth = 0; -public double _pagesizelegalportraitheight = 0; -public double _pagesizea3landscapewidth = 0; -public double _pagesizea3landscapeheight = 0; -public double _pagesizea4landscapewidth = 0; -public double _pagesizea4landscapeheight = 0; -public double _pagesizea5landscapewidth = 0; -public double _pagesizea5landscapeheight = 0; -public double _pagesizeletterlandscapewidth = 0; -public double _pagesizeletterlandscapeheight = 0; -public double _pagesizelegallandscapewidth = 0; -public double _pagesizelegallandscapeheight = 0; -public String _fontcourier = ""; -public String _fonthelvetica = ""; -public String _fonttimes = ""; -public String _fontsymbol = ""; -public String _fontzapfdingbats = ""; -public int _fontnormal = 0; -public int _fontbold = 0; -public int _fontitalic = 0; -public int _fontunderline = 0; -public int _fontstrikethrough = 0; -public String _propertyauthor = ""; -public String _propertycreator = ""; -public String _propertyproducer = ""; -public String _propertytitle = ""; -public String _propertysubject = ""; -public String _propertykeywords = ""; -public String _rectangleborderonly = ""; -public String _rectanglefillonly = ""; -public String _rectangleborderandfill = ""; -public String _alignleft = ""; -public String _aligncenter = ""; -public String _alignright = ""; -public String _alignjusify = ""; -public int _compressalways = 0; -public int _compressifsmaller = 0; -public int _compressnever = 0; -public double[] _colorblack = null; -public double[] _colorwhite = null; -public double[] _colorgray = null; -public double[] _colorred = null; -public double[] _colorgreen = null; -public double[] _colorblue = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _tpdfcontext{ -public boolean IsInitialized; -public double fX; -public double fY; -public String fFontFamily; -public double fFontSize; -public int fFontStyle; -public double[] fFontColor; -public double fDrawWidth; -public double[] fDrawColor; -public double[] fFillColor; -public void Initialize() { -IsInitialized = true; -fX = 0; -fY = 0; -fFontFamily = ""; -fFontSize = 0; -fFontStyle = 0; -fFontColor = new double[(int) (3)]; -; -fDrawWidth = 0; -fDrawColor = new double[(int) (3)]; -; -fFillColor = new double[(int) (3)]; -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfpage{ -public boolean IsInitialized; -public double fWidth; -public double fHeight; -public String fBuffer; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fHeight = 0; -fBuffer = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfimageinfo{ -public boolean IsInitialized; -public int fError; -public int fWidth; -public int fHeight; -public int fBPP; -public int fColorSpace; -public int fCompression; -public int fFilter; -public int fInterlacing; -public byte[] fData; -public byte[] fPalette; -public void Initialize() { -IsInitialized = true; -fError = 0; -fWidth = 0; -fHeight = 0; -fBPP = 0; -fColorSpace = 0; -fCompression = 0; -fFilter = 0; -fInterlacing = 0; -fData = new byte[0]; -; -fPalette = new byte[0]; -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdffontinfo{ -public boolean IsInitialized; -public int[] fCharsWidths; -public int fYUnderline; -public int fHUnderline; -public int fYStrikeThrough; -public int fHStrikeThrough; -public int fYBottom; -public int fYTop; -public void Initialize() { -IsInitialized = true; -fCharsWidths = new int[(int) (256)]; -; -fYUnderline = 0; -fHUnderline = 0; -fYStrikeThrough = 0; -fHStrikeThrough = 0; -fYBottom = 0; -fYTop = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdftextsize{ -public boolean IsInitialized; -public double fWidth; -public double fTop; -public double fBottom; -public double fHeight; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fTop = 0; -fBottom = 0; -fHeight = 0; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _tpdfmultilinetextsize{ -public boolean IsInitialized; -public double fWidth; -public double fHeight; -public anywheresoftware.b4a.objects.collections.List fParagraphs; -public void Initialize() { -IsInitialized = true; -fWidth = 0; -fHeight = 0; -fParagraphs = new anywheresoftware.b4a.objects.collections.List(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _calcfontkey(String _afamily,int _astyle) throws Exception{ - //BA.debugLineNum = 421;BA.debugLine="private Sub calcFontKey(afamily As String,astyle A"; - //BA.debugLineNum = 422;BA.debugLine="If afamily=\"zapfdingbats\" Or afamily=\"Symbol\" The"; -if ((_afamily).equals("zapfdingbats") || (_afamily).equals("Symbol")) { - //BA.debugLineNum = 423;BA.debugLine="astyle=Bit.And(astyle,Bit.Not(Bit.Or(fontBold,fo"; -_astyle = __c.Bit.And(_astyle,__c.Bit.Not(__c.Bit.Or(_fontbold,_fontitalic))); - }; - //BA.debugLineNum = 425;BA.debugLine="If Bit.And(astyle,fontBold)<>0 And Bit.And(astyle"; -if (__c.Bit.And(_astyle,_fontbold)!=0 && __c.Bit.And(_astyle,_fontitalic)!=0) { - //BA.debugLineNum = 426;BA.debugLine="Return afamily & \"-BoldOblique\""; -if (true) return _afamily+"-BoldOblique"; - }; - //BA.debugLineNum = 428;BA.debugLine="If Bit.And(astyle,fontBold)<>0 Then"; -if (__c.Bit.And(_astyle,_fontbold)!=0) { - //BA.debugLineNum = 429;BA.debugLine="Return afamily & \"-Bold\""; -if (true) return _afamily+"-Bold"; - }; - //BA.debugLineNum = 431;BA.debugLine="If Bit.And(astyle,fontItalic)<>0 Then"; -if (__c.Bit.And(_astyle,_fontitalic)!=0) { - //BA.debugLineNum = 432;BA.debugLine="Return afamily & \"-Oblique\""; -if (true) return _afamily+"-Oblique"; - }; - //BA.debugLineNum = 434;BA.debugLine="If afamily=\"Times\" Then"; -if ((_afamily).equals("Times")) { - //BA.debugLineNum = 435;BA.debugLine="Return \"Times-Roman\""; -if (true) return "Times-Roman"; - }; - //BA.debugLineNum = 437;BA.debugLine="Return afamily"; -if (true) return _afamily; - //BA.debugLineNum = 438;BA.debugLine="End Sub"; -return ""; -} -public byte[] _catalogwrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 209;BA.debugLine="private Sub catalogWrite As Byte()"; - //BA.debugLineNum = 210;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 211;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 212;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 213;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 214;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 215;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 13;BA.debugLine="Type TPDFContext(fX As Double,fY As Double, _"; -; - //BA.debugLineNum = 16;BA.debugLine="Type TPDFPage(fWidth As Double,fHeight As Double,"; -; - //BA.debugLineNum = 17;BA.debugLine="Type TPDFImageInfo(fError As Int,fWidth As Int,fH"; -; - //BA.debugLineNum = 18;BA.debugLine="Type TPDFFontInfo(fCharsWidths(256) As Int,fYUnde"; -; - //BA.debugLineNum = 19;BA.debugLine="Type TPDFTextSize(fWidth As Double,fTop As Double"; -; - //BA.debugLineNum = 20;BA.debugLine="Type TPDFMultilineTextSize(fWidth As Double,fHeig"; -; - //BA.debugLineNum = 23;BA.debugLine="Private fXUI As XUI"; -_fxui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 26;BA.debugLine="Private const fTextEncoding As String=\"cp1252\""; -_ftextencoding = "cp1252"; - //BA.debugLineNum = 28;BA.debugLine="Private fLibVersion As String"; -_flibversion = ""; - //BA.debugLineNum = 29;BA.debugLine="Private fPDFVersion As String"; -_fpdfversion = ""; - //BA.debugLineNum = 31;BA.debugLine="Private fUnitFactor As Double"; -_funitfactor = 0; - //BA.debugLineNum = 33;BA.debugLine="Private fContext As TPDFContext"; -_fcontext = new adm.keymon.com.mx.cpdf._tpdfcontext(); - //BA.debugLineNum = 35;BA.debugLine="Private fProperties As Map"; -_fproperties = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 37;BA.debugLine="Private fObjs As List"; -_fobjs = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 39;BA.debugLine="Private fPage As Int"; -_fpage = 0; - //BA.debugLineNum = 41;BA.debugLine="Private fPages As List"; -_fpages = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 43;BA.debugLine="Private fUsedImages As List"; -_fusedimages = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 45;BA.debugLine="Private fUsedFonts As List"; -_fusedfonts = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 47;BA.debugLine="Private fFontsInfos As Map"; -_ffontsinfos = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 50;BA.debugLine="Public const pageSizeA3PortraitWidth As Double=-8"; -_pagesizea3portraitwidth = -841.89; - //BA.debugLineNum = 51;BA.debugLine="Public const pageSizeA3PortraitHeight As Double=-"; -_pagesizea3portraitheight = -1190.55; - //BA.debugLineNum = 54;BA.debugLine="Public const pageSizeA4PortraitWidth As Double=-3"; -_pagesizea4portraitwidth = -370; - //BA.debugLineNum = 55;BA.debugLine="Public const pageSizeA4PortraitHeight As Double=-"; -_pagesizea4portraitheight = -72; - //BA.debugLineNum = 56;BA.debugLine="Public const pageSizeA5PortraitWidth As Double=-4"; -_pagesizea5portraitwidth = -420.94; - //BA.debugLineNum = 57;BA.debugLine="Public const pageSizeA5PortraitHeight As Double=-"; -_pagesizea5portraitheight = -595.28; - //BA.debugLineNum = 58;BA.debugLine="Public const pageSizeLetterPortraitWidth As Doubl"; -_pagesizeletterportraitwidth = -612; - //BA.debugLineNum = 59;BA.debugLine="Public const pageSizeLetterPortraitHeight As Doub"; -_pagesizeletterportraitheight = -792; - //BA.debugLineNum = 60;BA.debugLine="Public const pageSizeLegalPortraitWidth As Double"; -_pagesizelegalportraitwidth = -612; - //BA.debugLineNum = 61;BA.debugLine="Public const pageSizeLegalPortraitHeight As Doubl"; -_pagesizelegalportraitheight = -1008; - //BA.debugLineNum = 62;BA.debugLine="Public const pageSizeA3LandscapeWidth As Double=-"; -_pagesizea3landscapewidth = -1190.55; - //BA.debugLineNum = 63;BA.debugLine="Public const pageSizeA3LandscapeHeight As Double="; -_pagesizea3landscapeheight = -841.89; - //BA.debugLineNum = 64;BA.debugLine="Public const pageSizeA4LandscapeWidth As Double=-"; -_pagesizea4landscapewidth = -841.89; - //BA.debugLineNum = 65;BA.debugLine="Public const pageSizeA4LandscapeHeight As Double="; -_pagesizea4landscapeheight = -595.28; - //BA.debugLineNum = 66;BA.debugLine="Public const pageSizeA5LandscapeWidth As Double=-"; -_pagesizea5landscapewidth = -595.28; - //BA.debugLineNum = 67;BA.debugLine="Public const pageSizeA5LandscapeHeight As Double="; -_pagesizea5landscapeheight = -420.94; - //BA.debugLineNum = 68;BA.debugLine="Public const pageSizeLetterLandscapeWidth As Doub"; -_pagesizeletterlandscapewidth = -792; - //BA.debugLineNum = 69;BA.debugLine="Public const pageSizeLetterLandscapeHeight As Dou"; -_pagesizeletterlandscapeheight = -612; - //BA.debugLineNum = 70;BA.debugLine="Public const pageSizeLegalLandscapeWidth As Doubl"; -_pagesizelegallandscapewidth = -1008; - //BA.debugLineNum = 71;BA.debugLine="Public const pageSizeLegalLandscapeHeight As Doub"; -_pagesizelegallandscapeheight = -612; - //BA.debugLineNum = 74;BA.debugLine="Public const fontCourier As String=\"Courier\""; -_fontcourier = "Courier"; - //BA.debugLineNum = 75;BA.debugLine="Public const fontHelvetica As String=\"Helvetica\""; -_fonthelvetica = "Helvetica"; - //BA.debugLineNum = 76;BA.debugLine="Public const fontTimes As String=\"Times\""; -_fonttimes = "Times"; - //BA.debugLineNum = 77;BA.debugLine="Public const fontSymbol As String=\"Symbol\""; -_fontsymbol = "Symbol"; - //BA.debugLineNum = 78;BA.debugLine="Public const fontZapfdingbats As String=\"zapfding"; -_fontzapfdingbats = "zapfdingbats"; - //BA.debugLineNum = 81;BA.debugLine="Public const fontNormal As Int=0"; -_fontnormal = (int) (0); - //BA.debugLineNum = 82;BA.debugLine="Public const fontBold As Int=1"; -_fontbold = (int) (1); - //BA.debugLineNum = 83;BA.debugLine="Public const fontItalic As Int=2"; -_fontitalic = (int) (2); - //BA.debugLineNum = 84;BA.debugLine="Public const fontUnderline As Int=4"; -_fontunderline = (int) (4); - //BA.debugLineNum = 85;BA.debugLine="Public const fontStrikeThrough As Int=8"; -_fontstrikethrough = (int) (8); - //BA.debugLineNum = 88;BA.debugLine="Public const PropertyAuthor As String=\"Author\""; -_propertyauthor = "Author"; - //BA.debugLineNum = 89;BA.debugLine="Public const PropertyCreator As String=\"Creator\""; -_propertycreator = "Creator"; - //BA.debugLineNum = 90;BA.debugLine="Public const PropertyProducer As String=\"Producer"; -_propertyproducer = "Producer"; - //BA.debugLineNum = 91;BA.debugLine="Public const PropertyTitle As String=\"Title\""; -_propertytitle = "Title"; - //BA.debugLineNum = 92;BA.debugLine="Public const PropertySubject As String=\"Subject\""; -_propertysubject = "Subject"; - //BA.debugLineNum = 93;BA.debugLine="Public const PropertyKeywords As String=\"Keywords"; -_propertykeywords = "Keywords"; - //BA.debugLineNum = 96;BA.debugLine="Public const RectangleBorderOnly As String=\"S\""; -_rectangleborderonly = "S"; - //BA.debugLineNum = 97;BA.debugLine="Public const RectangleFillOnly As String=\"f\""; -_rectanglefillonly = "f"; - //BA.debugLineNum = 98;BA.debugLine="Public const RectangleBorderAndFill As String=\"B\""; -_rectangleborderandfill = "B"; - //BA.debugLineNum = 101;BA.debugLine="Public const AlignLeft As String=\"L\""; -_alignleft = "L"; - //BA.debugLineNum = 102;BA.debugLine="Public const AlignCenter As String=\"C\""; -_aligncenter = "C"; - //BA.debugLineNum = 103;BA.debugLine="Public const AlignRight As String=\"R\""; -_alignright = "R"; - //BA.debugLineNum = 104;BA.debugLine="Public const AlignJusify As String=\"J\""; -_alignjusify = "J"; - //BA.debugLineNum = 107;BA.debugLine="Public const CompressAlways As Int=0"; -_compressalways = (int) (0); - //BA.debugLineNum = 108;BA.debugLine="Public const CompressIfSmaller As Int=1"; -_compressifsmaller = (int) (1); - //BA.debugLineNum = 109;BA.debugLine="Public const CompressNever As Int=2"; -_compressnever = (int) (2); - //BA.debugLineNum = 111;BA.debugLine="Public const colorBlack(3) As Double=Array As Dou"; -_colorblack = new double[]{0,0,0}; - //BA.debugLineNum = 112;BA.debugLine="Public const colorWhite(3) As Double=Array As Dou"; -_colorwhite = new double[]{1,1,1}; - //BA.debugLineNum = 113;BA.debugLine="Public const colorGray(3) As Double=Array As Doub"; -_colorgray = new double[]{0.5,0.5,0.5}; - //BA.debugLineNum = 114;BA.debugLine="Public const colorRed(3) As Double=Array As Doubl"; -_colorred = new double[]{1,0,0}; - //BA.debugLineNum = 115;BA.debugLine="Public const colorGreen(3) As Double=Array As Dou"; -_colorgreen = new double[]{0,1,0}; - //BA.debugLineNum = 116;BA.debugLine="Public const colorBlue(3) As Double=Array As Doub"; -_colorblue = new double[]{0,0,1}; - //BA.debugLineNum = 118;BA.debugLine="End Sub"; -return ""; -} -public String _contentadd(int _apage,String _acontent) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; - //BA.debugLineNum = 441;BA.debugLine="private Sub contentAdd(apage As Int,acontent As St"; - //BA.debugLineNum = 442;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 443;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 444;BA.debugLine="sb.Append(fPages.Get(apage).As(TPDFPage).fbuffer)"; -_sb.Append(((adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ ); - //BA.debugLineNum = 445;BA.debugLine="sb.Append(acontent)"; -_sb.Append(_acontent); - //BA.debugLineNum = 446;BA.debugLine="fPages.Get(apage).As(TPDFPage).fbuffer=sb.ToStrin"; -((adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ = _sb.ToString(); - //BA.debugLineNum = 447;BA.debugLine="End Sub"; -return ""; -} -public byte[] _contentswrite(int _acompress) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _i = 0; - //BA.debugLineNum = 248;BA.debugLine="private Sub contentsWrite(acompress As Int) As Byt"; - //BA.debugLineNum = 249;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 250;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 251;BA.debugLine="For i=0 To fPages.Size-1"; -{ -final int step3 = 1; -final int limit3 = (int) (_fpages.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 252;BA.debugLine="bb.append(contentWrite(acompress,i))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_contentwrite(_acompress,_i)); - } -}; - //BA.debugLineNum = 254;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 255;BA.debugLine="End Sub"; -return null; -} -public byte[] _contentwrite(int _acompress,int _apage) throws Exception{ -String _compress = ""; -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -byte[] _c = null; -String _filter = ""; -anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; -byte[] _b = null; - //BA.debugLineNum = 257;BA.debugLine="private Sub contentWrite(acompress As Int,apage As"; - //BA.debugLineNum = 258;BA.debugLine="Dim const compress As String=\"/Filter/FlateDecode"; -_compress = "/Filter/FlateDecode"; - //BA.debugLineNum = 259;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 260;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 262;BA.debugLine="Dim c() As Byte=fPages.Get(apage).As(TPDFPage).fB"; -_c = ((adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage))).fBuffer /*String*/ .getBytes(_ftextencoding); - //BA.debugLineNum = 263;BA.debugLine="Dim filter As String=\"\""; -_filter = ""; - //BA.debugLineNum = 265;BA.debugLine="If acompress<>CompressNever Then"; -if (_acompress!=_compressnever) { - //BA.debugLineNum = 266;BA.debugLine="Dim cs As CompressedStreams"; -_cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 267;BA.debugLine="Dim b() As Byte=cs.CompressBytes(c,\"zlib\")"; -_b = _cs.CompressBytes(_c,"zlib"); - //BA.debugLineNum = 268;BA.debugLine="If acompress=CompressAlways Or b.Length+compress"; -if (_acompress==_compressalways || _b.length+_compress.length()<_c.length) { - //BA.debugLineNum = 269;BA.debugLine="c=b"; -_c = _b; - //BA.debugLineNum = 270;BA.debugLine="filter=compress"; -_filter = _compress; - }; - }; - //BA.debugLineNum = 274;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${filter}/Len"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(_filter))+"/Length "+__c.SmartStringFormatter("",(Object)(_c.length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 275;BA.debugLine="bb.Append(c)"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_c); - //BA.debugLineNum = 276;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 277;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 278;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 279;BA.debugLine="End Sub"; -return null; -} -public String _convertimage(String _adir,String _afile) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _img = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 795;BA.debugLine="private Sub convertImage(adir As String,afile As S"; - //BA.debugLineNum = 797;BA.debugLine="Dim img As B4XBitmap"; -_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 798;BA.debugLine="img=fXUI.LoadBitmap(adir,afile)"; -_img = _fxui.LoadBitmap(_adir,_afile); - //BA.debugLineNum = 799;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(_adir,_afile+".jpg",__c.False); - //BA.debugLineNum = 800;BA.debugLine="img.WriteToStream(out,100,\"JPEG\")"; -_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); - //BA.debugLineNum = 801;BA.debugLine="out.close"; -_out.Close(); - //BA.debugLineNum = 804;BA.debugLine="Dim img As B4XBitmap"; -_img = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 805;BA.debugLine="img=fXUI.LoadBitmap(adir,afile & \".jpg\")"; -_img = _fxui.LoadBitmap(_adir,_afile+".jpg"); - //BA.debugLineNum = 806;BA.debugLine="Dim out As OutputStream=File.OpenOutput(adir,afil"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = __c.File.OpenOutput(_adir,_afile+".png",__c.False); - //BA.debugLineNum = 807;BA.debugLine="img.WriteToStream(out,100,\"PNG\")"; -_img.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"PNG")); - //BA.debugLineNum = 808;BA.debugLine="out.close"; -_out.Close(); - //BA.debugLineNum = 810;BA.debugLine="File.Delete(adir,afile & \".jpg\")"; -__c.File.Delete(_adir,_afile+".jpg"); - //BA.debugLineNum = 811;BA.debugLine="Return afile & \".png\""; -if (true) return _afile+".png"; - //BA.debugLineNum = 812;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cpdf._tpdffontinfo _createfontinfo(int[] _acharswidths,int _ayunderline,int _ahunderline,int _aystrikethrough,int _ahstrikethrough,int _aytop,int _aybottom) throws Exception{ -adm.keymon.com.mx.cpdf._tpdffontinfo _fi = null; - //BA.debugLineNum = 136;BA.debugLine="private Sub createFontInfo(acharsWidths() As Int,a"; - //BA.debugLineNum = 137;BA.debugLine="Dim fi As TPDFFontInfo"; -_fi = new adm.keymon.com.mx.cpdf._tpdffontinfo(); - //BA.debugLineNum = 138;BA.debugLine="fi.Initialize"; -_fi.Initialize(); - //BA.debugLineNum = 140;BA.debugLine="fi.fCharsWidths=acharsWidths"; -_fi.fCharsWidths /*int[]*/ = _acharswidths; - //BA.debugLineNum = 142;BA.debugLine="fi.fYUnderline=ayunderline"; -_fi.fYUnderline /*int*/ = _ayunderline; - //BA.debugLineNum = 144;BA.debugLine="fi.fHUnderline=ahunderline"; -_fi.fHUnderline /*int*/ = _ahunderline; - //BA.debugLineNum = 146;BA.debugLine="fi.fYStrikeThrough=aystrikethrough"; -_fi.fYStrikeThrough /*int*/ = _aystrikethrough; - //BA.debugLineNum = 148;BA.debugLine="fi.fHStrikeThrough=ahstrikethrough"; -_fi.fHStrikeThrough /*int*/ = _ahstrikethrough; - //BA.debugLineNum = 150;BA.debugLine="fi.fYTop=aytop"; -_fi.fYTop /*int*/ = _aytop; - //BA.debugLineNum = 152;BA.debugLine="fi.fybottom=aybottom"; -_fi.fYBottom /*int*/ = _aybottom; - //BA.debugLineNum = 153;BA.debugLine="Return fi"; -if (true) return _fi; - //BA.debugLineNum = 154;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf._tpdfpage _createpage(double _awidth,double _aheight,String _abuffer) throws Exception{ -adm.keymon.com.mx.cpdf._tpdfpage _p = null; - //BA.debugLineNum = 455;BA.debugLine="private Sub createPage(awidth As Double,aheight As"; - //BA.debugLineNum = 456;BA.debugLine="Dim p As TPDFPage"; -_p = new adm.keymon.com.mx.cpdf._tpdfpage(); - //BA.debugLineNum = 457;BA.debugLine="p.Initialize"; -_p.Initialize(); - //BA.debugLineNum = 458;BA.debugLine="p.fWidth=awidth"; -_p.fWidth /*double*/ = _awidth; - //BA.debugLineNum = 459;BA.debugLine="p.fHeight=aheight"; -_p.fHeight /*double*/ = _aheight; - //BA.debugLineNum = 460;BA.debugLine="p.fBuffer=abuffer"; -_p.fBuffer /*String*/ = _abuffer; - //BA.debugLineNum = 461;BA.debugLine="Return p"; -if (true) return _p; - //BA.debugLineNum = 462;BA.debugLine="End Sub"; -return null; -} -public String _escapetext(String _atext) throws Exception{ - //BA.debugLineNum = 450;BA.debugLine="private Sub escapeText(atext As String) As String"; - //BA.debugLineNum = 451;BA.debugLine="Return atext.Replace(\"\\\",\"\\\\\").Replace(\"(\",\"\\(\")."; -if (true) return _atext.replace("\\","\\\\").replace("(","\\(").replace(")","\\)"); - //BA.debugLineNum = 452;BA.debugLine="End Sub"; -return ""; -} -public int _findimagekey(String _akey) throws Exception{ -int _i = 0; - //BA.debugLineNum = 616;BA.debugLine="private Sub findImageKey(akey As String) As Int"; - //BA.debugLineNum = 617;BA.debugLine="For i=0 To fUsedImages.Size-1"; -{ -final int step1 = 1; -final int limit1 = (int) (_fusedimages.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit1 ;_i = _i + step1 ) { - //BA.debugLineNum = 618;BA.debugLine="If fUsedImages.Get(i).As(Map).Get(\"path\")=akey T"; -if ((((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_i)))).Get((Object)("path"))).equals((Object)(_akey))) { - //BA.debugLineNum = 619;BA.debugLine="Return i"; -if (true) return _i; - }; - } -}; - //BA.debugLineNum = 622;BA.debugLine="Return -1"; -if (true) return (int) (-1); - //BA.debugLineNum = 623;BA.debugLine="End Sub"; -return 0; -} -public byte[] _fontswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _i = 0; - //BA.debugLineNum = 305;BA.debugLine="private Sub fontsWrite As Byte()"; - //BA.debugLineNum = 306;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 307;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 308;BA.debugLine="For i=0 To fUsedFonts.Size-1"; -{ -final int step3 = 1; -final int limit3 = (int) (_fusedfonts.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 309;BA.debugLine="bb.append(fontWrite(i))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_fontwrite(_i)); - } -}; - //BA.debugLineNum = 311;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return null; -} -public byte[] _fontwrite(int _afont) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -String _c = ""; - //BA.debugLineNum = 314;BA.debugLine="private Sub fontWrite(afont As Int) As Byte()"; - //BA.debugLineNum = 315;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 316;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 317;BA.debugLine="Dim c As String=fUsedFonts.Get(afont)"; -_c = BA.ObjectToString(_fusedfonts.Get(_afont)); - //BA.debugLineNum = 318;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj << /Type /Font"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj << /Type /Font /Subtype /Type1 /BaseFont /"+__c.SmartStringFormatter("",(Object)(_c))+" /Encoding /WinAnsiEncoding>> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 319;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 320;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 321;BA.debugLine="End Sub"; -return null; -} -public byte[] _footerwrite() throws Exception{ - //BA.debugLineNum = 416;BA.debugLine="private Sub footerWrite As Byte()"; - //BA.debugLineNum = 417;BA.debugLine="Return \"%%EOF\".GetBytes(fTextEncoding)"; -if (true) return "%%EOF".getBytes(_ftextencoding); - //BA.debugLineNum = 418;BA.debugLine="End Sub"; -return null; -} -public String _gcreationdate() throws Exception{ -String _z = ""; - //BA.debugLineNum = 192;BA.debugLine="private Sub gCreationDate As String"; - //BA.debugLineNum = 193;BA.debugLine="DateTime.DateFormat=\"yyyyMMdd\""; -__c.DateTime.setDateFormat("yyyyMMdd"); - //BA.debugLineNum = 194;BA.debugLine="DateTime.TimeFormat=\"hhmmss\""; -__c.DateTime.setTimeFormat("hhmmss"); - //BA.debugLineNum = 195;BA.debugLine="Dim z As String=NumberFormat2(DateTime.TimeZoneOf"; -_z = __c.NumberFormat2(__c.DateTime.getTimeZoneOffset(),(int) (2),(int) (2),(int) (2),__c.False); - //BA.debugLineNum = 196;BA.debugLine="z=IIf(z.SubString2(0,1)<>\"-\",\"+\",\"\") & z"; -_z = BA.ObjectToString((((_z.substring((int) (0),(int) (1))).equals("-") == false) ? ((Object)("+")) : ((Object)(""))))+_z; - //BA.debugLineNum = 197;BA.debugLine="z=z.SubString2(0,3) & \"'\" & z.SubString(4) & \"'\""; -_z = _z.substring((int) (0),(int) (3))+"'"+_z.substring((int) (4))+"'"; - //BA.debugLineNum = 198;BA.debugLine="Return \"D:\" & DateTime.Date(DateTime.Now) & DateT"; -if (true) return "D:"+__c.DateTime.Date(__c.DateTime.getNow())+__c.DateTime.Time(__c.DateTime.getNow())+_z; - //BA.debugLineNum = 199;BA.debugLine="End Sub"; -return ""; -} -public String _glibversion() throws Exception{ - //BA.debugLineNum = 995;BA.debugLine="public Sub glibversion As String"; - //BA.debugLineNum = 996;BA.debugLine="Return fLibVersion"; -if (true) return _flibversion; - //BA.debugLineNum = 997;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cpdf._tpdfmultilinetextsize _gmultilinetextsize(double _awidth,String _atext) throws Exception{ -adm.keymon.com.mx.cpdf._tpdfmultilinetextsize _mts = null; -adm.keymon.com.mx.cpdf._tpdftextsize _ts = null; -char _c = '\0'; -String _l = ""; -String[] _paragraphs = null; -String _p = ""; -int _j = 0; -anywheresoftware.b4a.objects.collections.List _lines = null; -int _i = 0; - //BA.debugLineNum = 942;BA.debugLine="public Sub gMultilineTextSize(awidth As Double,ate"; - //BA.debugLineNum = 943;BA.debugLine="Dim mts As TPDFMultilineTextSize"; -_mts = new adm.keymon.com.mx.cpdf._tpdfmultilinetextsize(); - //BA.debugLineNum = 944;BA.debugLine="Dim ts As TPDFTextSize"; -_ts = new adm.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 945;BA.debugLine="Dim c As Char"; -_c = '\0'; - //BA.debugLineNum = 946;BA.debugLine="Dim l As String=\"\""; -_l = ""; - //BA.debugLineNum = 947;BA.debugLine="mts.Initialize"; -_mts.Initialize(); - //BA.debugLineNum = 948;BA.debugLine="mts.fParagraphs.Initialize"; -_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 949;BA.debugLine="mts.fWidth=awidth"; -_mts.fWidth /*double*/ = _awidth; - //BA.debugLineNum = 951;BA.debugLine="Dim paragraphs() As String=Regex.Split(CRLF,atext"; -_paragraphs = __c.Regex.Split(__c.CRLF,_atext); - //BA.debugLineNum = 952;BA.debugLine="Dim p As String"; -_p = ""; - //BA.debugLineNum = 953;BA.debugLine="For j=0 To paragraphs.Length-1"; -{ -final int step10 = 1; -final int limit10 = (int) (_paragraphs.length-1); -_j = (int) (0) ; -for (;_j <= limit10 ;_j = _j + step10 ) { - //BA.debugLineNum = 954;BA.debugLine="Dim lines As List"; -_lines = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 955;BA.debugLine="lines.Initialize"; -_lines.Initialize(); - //BA.debugLineNum = 956;BA.debugLine="mts.fParagraphs.Add(lines)"; -_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_lines.getObject())); - //BA.debugLineNum = 957;BA.debugLine="p=paragraphs(j)"; -_p = _paragraphs[_j]; - //BA.debugLineNum = 958;BA.debugLine="l=\"\""; -_l = ""; - //BA.debugLineNum = 959;BA.debugLine="For i=0 To p.Length-1"; -{ -final int step16 = 1; -final int limit16 = (int) (_p.length()-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 960;BA.debugLine="c=p.CharAt(i)"; -_c = _p.charAt(_i); - //BA.debugLineNum = 961;BA.debugLine="If Asc(c)>31 Then"; -if (__c.Asc(_c)>31) { - //BA.debugLineNum = 962;BA.debugLine="l=l & c"; -_l = _l+BA.ObjectToString(_c); - //BA.debugLineNum = 963;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 964;BA.debugLine="If ts.fWidth>awidth Then"; -if (_ts.fWidth /*double*/ >_awidth) { - //BA.debugLineNum = 965;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; -_l = _multilinetextsizeaddline(_mts,_ts,_l,_awidth); - }; - }; - } -}; - //BA.debugLineNum = 969;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 970;BA.debugLine="l=MultilineTextSizeAddLine(mts,ts,l,awidth)"; -_l = _multilinetextsizeaddline(_mts,_ts,_l,_awidth); - } -}; - //BA.debugLineNum = 973;BA.debugLine="Return mts"; -if (true) return _mts; - //BA.debugLineNum = 974;BA.debugLine="End Sub"; -return null; -} -public int _gpage() throws Exception{ - //BA.debugLineNum = 658;BA.debugLine="public Sub gPage As Int"; - //BA.debugLineNum = 659;BA.debugLine="Return fPage+1"; -if (true) return (int) (_fpage+1); - //BA.debugLineNum = 660;BA.debugLine="End Sub"; -return 0; -} -public double _gpageheight(int _apage) throws Exception{ - //BA.debugLineNum = 639;BA.debugLine="public Sub gPageHeight(apage As Int) As Double"; - //BA.debugLineNum = 640;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fHeight/f"; -if (true) return ((adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get((int) (_apage-1)))).fHeight /*double*/ /(double)_funitfactor; - //BA.debugLineNum = 641;BA.debugLine="End Sub"; -return 0; -} -public int _gpagescount() throws Exception{ - //BA.debugLineNum = 627;BA.debugLine="public Sub gPagesCount As Int"; - //BA.debugLineNum = 628;BA.debugLine="Return fPages.size"; -if (true) return _fpages.getSize(); - //BA.debugLineNum = 629;BA.debugLine="End Sub"; -return 0; -} -public double _gpagewidth(int _apage) throws Exception{ - //BA.debugLineNum = 633;BA.debugLine="public Sub gPageWidth(apage As Int) As Double"; - //BA.debugLineNum = 634;BA.debugLine="Return fPages.Get(apage-1).As(TPDFPage).fWidth/fU"; -if (true) return ((adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get((int) (_apage-1)))).fWidth /*double*/ /(double)_funitfactor; - //BA.debugLineNum = 635;BA.debugLine="End Sub"; -return 0; -} -public adm.keymon.com.mx.cpdf._tpdftextsize _gtextsize(String _atext) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -adm.keymon.com.mx.cpdf._tpdftextsize _ts = null; -adm.keymon.com.mx.cpdf._tpdffontinfo _fi = null; -double _w = 0; -int _i = 0; - //BA.debugLineNum = 903;BA.debugLine="public Sub gTextSize(atext As String) As TPDFTextS"; - //BA.debugLineNum = 904;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 905;BA.debugLine="Dim ts As TPDFTextSize"; -_ts = new adm.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 906;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 907;BA.debugLine="bb.Append(atext.GetBytes(fTextEncoding))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_atext.getBytes(_ftextencoding)); - //BA.debugLineNum = 908;BA.debugLine="ts.Initialize"; -_ts.Initialize(); - //BA.debugLineNum = 909;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontKe"; -_fi = ((adm.keymon.com.mx.cpdf._tpdffontinfo)(_ffontsinfos.Get((Object)(_calcfontkey(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ))))); - //BA.debugLineNum = 910;BA.debugLine="Dim w As Double"; -_w = 0; - //BA.debugLineNum = 911;BA.debugLine="For i=0 To bb.Length-1"; -{ -final int step8 = 1; -final int limit8 = (int) (_bb._getlength /*int*/ ()-1); -_i = (int) (0) ; -for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 912;BA.debugLine="w=w+fi.fCharsWidths(ToUnsigned(bb.InternalBuffer"; -_w = _w+_fi.fCharsWidths /*int[]*/ [_tounsigned(_bb._getinternalbuffer /*byte[]*/ ()[_i])]; - } -}; - //BA.debugLineNum = 914;BA.debugLine="ts.fWidth=w*fContext.fFontSize/1000/fUnitFactor"; -_ts.fWidth /*double*/ = _w*_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 915;BA.debugLine="ts.fTop=fi.fYTop*fContext.fFontSize/1000/fUnitFac"; -_ts.fTop /*double*/ = _fi.fYTop /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 916;BA.debugLine="ts.fBottom=fi.fYBottom*fContext.fFontSize/1000/fU"; -_ts.fBottom /*double*/ = _fi.fYBottom /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000/(double)_funitfactor; - //BA.debugLineNum = 917;BA.debugLine="ts.fHeight=ts.fBottom-ts.fTop"; -_ts.fHeight /*double*/ = _ts.fBottom /*double*/ -_ts.fTop /*double*/ ; - //BA.debugLineNum = 918;BA.debugLine="Return ts"; -if (true) return _ts; - //BA.debugLineNum = 919;BA.debugLine="End Sub"; -return null; -} -public double _gx() throws Exception{ - //BA.debugLineNum = 986;BA.debugLine="public Sub gX As Double"; - //BA.debugLineNum = 987;BA.debugLine="Return fContext.fX"; -if (true) return _fcontext.fX /*double*/ ; - //BA.debugLineNum = 988;BA.debugLine="End Sub"; -return 0; -} -public double _gy() throws Exception{ - //BA.debugLineNum = 990;BA.debugLine="public Sub gy As Double"; - //BA.debugLineNum = 991;BA.debugLine="Return fContext.fy"; -if (true) return _fcontext.fY /*double*/ ; - //BA.debugLineNum = 992;BA.debugLine="End Sub"; -return 0; -} -public byte[] _headerwrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 202;BA.debugLine="private Sub headerWrite As Byte()"; - //BA.debugLineNum = 203;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 204;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 205;BA.debugLine="bb.Append($\"%PDF-${NumberFormat2(fPDFVersion,1,1,"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("%PDF-"+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((double)(Double.parseDouble(_fpdfversion)),(int) (1),(int) (1),(int) (1),__c.False)))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 206;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 207;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf._tpdfimageinfo _imageinfo(String _adir,String _afile) throws Exception{ -adm.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; -anywheresoftware.b4a.randomaccessfile.RandomAccessFile _raf = null; -long _rafpos = 0L; -adm.keymon.com.mx.b4xbytesbuilder _bbdata = null; -adm.keymon.com.mx.b4xbytesbuilder _bbpalette = null; -int _chunklength = 0; -String _chunktype = ""; -byte[] _b = null; - //BA.debugLineNum = 478;BA.debugLine="private Sub imageInfo(adir As String,afile As Stri"; - //BA.debugLineNum = 479;BA.debugLine="Dim ii As TPDFImageInfo"; -_ii = new adm.keymon.com.mx.cpdf._tpdfimageinfo(); - //BA.debugLineNum = 480;BA.debugLine="Dim raf As RandomAccessFile"; -_raf = new anywheresoftware.b4a.randomaccessfile.RandomAccessFile(); - //BA.debugLineNum = 481;BA.debugLine="Dim rafpos As Long"; -_rafpos = 0L; - //BA.debugLineNum = 482;BA.debugLine="Dim bbData As B4XBytesBuilder"; -_bbdata = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 483;BA.debugLine="Dim bbPalette As B4XBytesBuilder"; -_bbpalette = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 485;BA.debugLine="bbData.Initialize"; -_bbdata._initialize /*String*/ (ba); - //BA.debugLineNum = 486;BA.debugLine="bbPalette.Initialize"; -_bbpalette._initialize /*String*/ (ba); - //BA.debugLineNum = 487;BA.debugLine="ii.Initialize"; -_ii.Initialize(); - //BA.debugLineNum = 488;BA.debugLine="ii.fError=0"; -_ii.fError /*int*/ = (int) (0); - //BA.debugLineNum = 489;BA.debugLine="raf.Initialize(adir,afile,True)"; -_raf.Initialize(_adir,_afile,__c.True); - //BA.debugLineNum = 490;BA.debugLine="rafpos=0"; -_rafpos = (long) (0); - //BA.debugLineNum = 494;BA.debugLine="If rafReadString(raf,rafpos,8)<>Chr(137) & \"PNG\""; -if ((_rafreadstring(_raf,_rafpos,(long) (8))).equals(BA.ObjectToString(__c.Chr((int) (137)))+"PNG"+BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10)))+BA.ObjectToString(__c.Chr((int) (26)))+BA.ObjectToString(__c.Chr((int) (10)))) == false) { - //BA.debugLineNum = 495;BA.debugLine="ii.fError=1"; -_ii.fError /*int*/ = (int) (1); - }; - //BA.debugLineNum = 497;BA.debugLine="rafpos=rafpos+8"; -_rafpos = (long) (_rafpos+8); - //BA.debugLineNum = 500;BA.debugLine="Dim chunkLength As Int"; -_chunklength = 0; - //BA.debugLineNum = 501;BA.debugLine="Dim chunkType As String"; -_chunktype = ""; - //BA.debugLineNum = 502;BA.debugLine="Do While (ii.fError=0) And (chunkType<>\"IEND\")"; -while ((_ii.fError /*int*/ ==0) && ((_chunktype).equals("IEND") == false)) { - //BA.debugLineNum = 503;BA.debugLine="chunkLength=raf.ReadInt(rafpos)"; -_chunklength = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 504;BA.debugLine="rafpos=rafpos+4"; -_rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 505;BA.debugLine="chunkType=rafReadString(raf,rafpos,4)"; -_chunktype = _rafreadstring(_raf,_rafpos,(long) (4)); - //BA.debugLineNum = 506;BA.debugLine="rafpos=rafpos+4"; -_rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 507;BA.debugLine="Select chunkType"; -switch (BA.switchObjectToInt(_chunktype,"IHDR","IDAT","PLTE")) { -case 0: { - //BA.debugLineNum = 510;BA.debugLine="ii.fWidth=raf.ReadInt(rafpos)"; -_ii.fWidth /*int*/ = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 511;BA.debugLine="rafpos=rafpos+4"; -_rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 513;BA.debugLine="ii.fHeight=raf.ReadInt(rafpos)"; -_ii.fHeight /*int*/ = _raf.ReadInt(_rafpos); - //BA.debugLineNum = 514;BA.debugLine="rafpos=rafpos+4"; -_rafpos = (long) (_rafpos+4); - //BA.debugLineNum = 516;BA.debugLine="ii.fBPP=raf.ReadUnsignedByte(rafpos)"; -_ii.fBPP /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 517;BA.debugLine="If ii.fBPP>8 Then"; -if (_ii.fBPP /*int*/ >8) { - //BA.debugLineNum = 518;BA.debugLine="ii.fError=2"; -_ii.fError /*int*/ = (int) (2); - }; - //BA.debugLineNum = 520;BA.debugLine="rafpos=rafpos+1"; -_rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 522;BA.debugLine="ii.fColorSpace=raf.ReadUnsignedByte(rafpos)"; -_ii.fColorSpace /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 523;BA.debugLine="If ii.fColorSpace<>0 And ii.fColorSpace<>2 And"; -if (_ii.fColorSpace /*int*/ !=0 && _ii.fColorSpace /*int*/ !=2 && _ii.fColorSpace /*int*/ !=3 && _ii.fColorSpace /*int*/ !=4) { - //BA.debugLineNum = 524;BA.debugLine="ii.FError=3"; -_ii.fError /*int*/ = (int) (3); - }; - //BA.debugLineNum = 526;BA.debugLine="rafpos=rafpos+1"; -_rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 528;BA.debugLine="ii.FCompression=raf.ReadUnsignedByte(rafpos)"; -_ii.fCompression /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 529;BA.debugLine="If ii.FCompression<>0 Then"; -if (_ii.fCompression /*int*/ !=0) { - //BA.debugLineNum = 530;BA.debugLine="ii.FError=4"; -_ii.fError /*int*/ = (int) (4); - }; - //BA.debugLineNum = 532;BA.debugLine="rafpos=rafpos+1"; -_rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 534;BA.debugLine="ii.FFilter=raf.ReadUnsignedByte(rafpos)"; -_ii.fFilter /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 535;BA.debugLine="If ii.FFilter<>0 Then"; -if (_ii.fFilter /*int*/ !=0) { - //BA.debugLineNum = 536;BA.debugLine="ii.FError=5"; -_ii.fError /*int*/ = (int) (5); - }; - //BA.debugLineNum = 538;BA.debugLine="rafpos=rafpos+1"; -_rafpos = (long) (_rafpos+1); - //BA.debugLineNum = 540;BA.debugLine="ii.FInterlacing=raf.ReadUnsignedByte(rafpos)"; -_ii.fInterlacing /*int*/ = _raf.ReadUnsignedByte(_rafpos); - //BA.debugLineNum = 541;BA.debugLine="If ii.FInterlacing<>0 Then"; -if (_ii.fInterlacing /*int*/ !=0) { - //BA.debugLineNum = 542;BA.debugLine="ii.FError=6"; -_ii.fError /*int*/ = (int) (6); - }; - //BA.debugLineNum = 544;BA.debugLine="rafpos=rafpos+1"; -_rafpos = (long) (_rafpos+1); - break; } -case 1: { - //BA.debugLineNum = 547;BA.debugLine="Dim b(chunkLength) As Byte"; -_b = new byte[_chunklength]; -; - //BA.debugLineNum = 548;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; -_raf.ReadBytes(_b,(int) (0),_chunklength,_rafpos); - //BA.debugLineNum = 549;BA.debugLine="bbData.Append(b)"; -_bbdata._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_b); - //BA.debugLineNum = 550;BA.debugLine="rafpos=rafpos+chunkLength"; -_rafpos = (long) (_rafpos+_chunklength); - break; } -case 2: { - //BA.debugLineNum = 553;BA.debugLine="Dim b(chunkLength) As Byte"; -_b = new byte[_chunklength]; -; - //BA.debugLineNum = 554;BA.debugLine="raf.ReadBytes(b,0,chunkLength,rafpos)"; -_raf.ReadBytes(_b,(int) (0),_chunklength,_rafpos); - //BA.debugLineNum = 555;BA.debugLine="bbPalette.Append(b)"; -_bbpalette._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_b); - //BA.debugLineNum = 556;BA.debugLine="rafpos=rafpos+chunkLength"; -_rafpos = (long) (_rafpos+_chunklength); - break; } -default: { - //BA.debugLineNum = 560;BA.debugLine="rafpos=rafpos+chunkLength"; -_rafpos = (long) (_rafpos+_chunklength); - break; } -} -; - //BA.debugLineNum = 563;BA.debugLine="rafpos=rafpos+4"; -_rafpos = (long) (_rafpos+4); - } -; - //BA.debugLineNum = 566;BA.debugLine="raf.close"; -_raf.Close(); - //BA.debugLineNum = 567;BA.debugLine="ii.fData=bbData.ToArray"; -_ii.fData /*byte[]*/ = _bbdata._toarray /*byte[]*/ (); - //BA.debugLineNum = 568;BA.debugLine="ii.fPalette=bbPalette.ToArray"; -_ii.fPalette /*byte[]*/ = _bbpalette._toarray /*byte[]*/ (); - //BA.debugLineNum = 570;BA.debugLine="Return ii"; -if (true) return _ii; - //BA.debugLineNum = 571;BA.debugLine="End Sub"; -return null; -} -public String _imagekey(String _adir,String _afile) throws Exception{ - //BA.debugLineNum = 473;BA.debugLine="private Sub imageKey(adir As String,afile As Strin"; - //BA.debugLineNum = 474;BA.debugLine="Return adir & afile"; -if (true) return _adir+_afile; - //BA.debugLineNum = 475;BA.debugLine="End Sub"; -return ""; -} -public byte[] _imageswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _i = 0; - //BA.debugLineNum = 323;BA.debugLine="private Sub imagesWrite As Byte()"; - //BA.debugLineNum = 324;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 325;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 326;BA.debugLine="For i=0 To fUsedImages.Size-1"; -{ -final int step3 = 1; -final int limit3 = (int) (_fusedimages.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 327;BA.debugLine="bb.append(imageWrite(i))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_imagewrite(_i)); - } -}; - //BA.debugLineNum = 329;BA.debugLine="Return bb.toarray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 330;BA.debugLine="End Sub"; -return null; -} -public byte[] _imagewrite(int _aimage) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -adm.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; -String _cs = ""; - //BA.debugLineNum = 332;BA.debugLine="private Sub imageWrite(aimage As Int) As Byte()"; - //BA.debugLineNum = 333;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 334;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 335;BA.debugLine="Dim ii As TPDFImageInfo=fUsedImages.Get(aimage).A"; -_ii = (adm.keymon.com.mx.cpdf._tpdfimageinfo)(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_aimage)))).Get((Object)("info"))); - //BA.debugLineNum = 336;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 344;BA.debugLine="bb.Append($\"/Length ${ii.fData.length}>>${Chr(10)"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/Length "+__c.SmartStringFormatter("",(Object)(_ii.fData /*byte[]*/ .length))+">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 345;BA.debugLine="bb.Append(ii.fdata)"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_ii.fData /*byte[]*/ ); - //BA.debugLineNum = 346;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 347;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 348;BA.debugLine="If cs=\"Indexed\" Then"; -if ((_cs).equals("Indexed")) { - //BA.debugLineNum = 349;BA.debugLine="bb.Append(paletteWrite(ii.fPalette))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_palettewrite(_ii.fPalette /*byte[]*/ )); - }; - //BA.debugLineNum = 351;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 352;BA.debugLine="End Sub"; -return null; -} -public String _initfontsinfos() throws Exception{ - //BA.debugLineNum = 156;BA.debugLine="private Sub initFontsInfos"; - //BA.debugLineNum = 157;BA.debugLine="fFontsInfos.Initialize"; -_ffontsinfos.Initialize(); - //BA.debugLineNum = 158;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontNormal)"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 159;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 160;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontItalic)"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 161;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Courier\",fontBold+fo"; -_ffontsinfos.Put((Object)(_calcfontkey("Courier",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600),(int) (600)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 162;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontNorma"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 163;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold)"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 164;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontItali"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (355),(int) (556),(int) (556),(int) (889),(int) (667),(int) (191),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (584),(int) (584),(int) (584),(int) (556),(int) (1015),(int) (667),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (500),(int) (667),(int) (556),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (278),(int) (278),(int) (278),(int) (469),(int) (556),(int) (333),(int) (556),(int) (556),(int) (500),(int) (556),(int) (556),(int) (278),(int) (556),(int) (556),(int) (222),(int) (222),(int) (500),(int) (222),(int) (833),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (500),(int) (278),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (500),(int) (334),(int) (260),(int) (334),(int) (584),(int) (350),(int) (556),(int) (350),(int) (222),(int) (556),(int) (333),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (222),(int) (222),(int) (333),(int) (333),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (260),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (556),(int) (537),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (584),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 165;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Helvetica\",fontBold+"; -_ffontsinfos.Put((Object)(_calcfontkey("Helvetica",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (278),(int) (333),(int) (474),(int) (556),(int) (556),(int) (889),(int) (722),(int) (238),(int) (333),(int) (333),(int) (389),(int) (584),(int) (278),(int) (333),(int) (278),(int) (278),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (333),(int) (333),(int) (584),(int) (584),(int) (584),(int) (611),(int) (975),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (722),(int) (278),(int) (556),(int) (722),(int) (611),(int) (833),(int) (722),(int) (778),(int) (667),(int) (778),(int) (722),(int) (667),(int) (611),(int) (722),(int) (667),(int) (944),(int) (667),(int) (667),(int) (611),(int) (333),(int) (278),(int) (333),(int) (584),(int) (556),(int) (333),(int) (556),(int) (611),(int) (556),(int) (611),(int) (556),(int) (333),(int) (611),(int) (611),(int) (278),(int) (278),(int) (556),(int) (278),(int) (889),(int) (611),(int) (611),(int) (611),(int) (611),(int) (389),(int) (556),(int) (333),(int) (611),(int) (556),(int) (778),(int) (556),(int) (556),(int) (500),(int) (389),(int) (280),(int) (389),(int) (584),(int) (350),(int) (556),(int) (350),(int) (278),(int) (556),(int) (500),(int) (1000),(int) (556),(int) (556),(int) (333),(int) (1000),(int) (667),(int) (333),(int) (1000),(int) (350),(int) (611),(int) (350),(int) (350),(int) (278),(int) (278),(int) (500),(int) (500),(int) (350),(int) (556),(int) (1000),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (500),(int) (667),(int) (278),(int) (333),(int) (556),(int) (556),(int) (556),(int) (556),(int) (280),(int) (556),(int) (333),(int) (737),(int) (370),(int) (556),(int) (584),(int) (333),(int) (737),(int) (333),(int) (400),(int) (584),(int) (333),(int) (333),(int) (333),(int) (611),(int) (556),(int) (278),(int) (333),(int) (333),(int) (365),(int) (556),(int) (834),(int) (834),(int) (834),(int) (611),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (278),(int) (278),(int) (278),(int) (278),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (584),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (667),(int) (667),(int) (611),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (889),(int) (556),(int) (556),(int) (556),(int) (556),(int) (556),(int) (278),(int) (278),(int) (278),(int) (278),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (584),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (556),(int) (611),(int) (556)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 166;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontNormal),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (408),(int) (500),(int) (500),(int) (833),(int) (778),(int) (180),(int) (333),(int) (333),(int) (500),(int) (564),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (564),(int) (564),(int) (564),(int) (444),(int) (921),(int) (722),(int) (667),(int) (667),(int) (722),(int) (611),(int) (556),(int) (722),(int) (722),(int) (333),(int) (389),(int) (722),(int) (611),(int) (889),(int) (722),(int) (722),(int) (556),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (722),(int) (944),(int) (722),(int) (722),(int) (611),(int) (333),(int) (278),(int) (333),(int) (469),(int) (500),(int) (333),(int) (444),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (500),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (389),(int) (278),(int) (500),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (480),(int) (200),(int) (480),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (444),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (889),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (444),(int) (444),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (980),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (200),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (564),(int) (333),(int) (760),(int) (333),(int) (400),(int) (564),(int) (300),(int) (300),(int) (333),(int) (500),(int) (453),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (444),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (564),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (500),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (564),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500)},(int) (-60),(int) (40),(int) (2200),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 167;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold),cre"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontbold)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (555),(int) (500),(int) (500),(int) (1000),(int) (833),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (930),(int) (722),(int) (667),(int) (722),(int) (722),(int) (667),(int) (611),(int) (778),(int) (778),(int) (389),(int) (500),(int) (778),(int) (667),(int) (944),(int) (722),(int) (778),(int) (611),(int) (778),(int) (722),(int) (556),(int) (667),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (722),(int) (667),(int) (333),(int) (278),(int) (333),(int) (581),(int) (500),(int) (333),(int) (500),(int) (556),(int) (444),(int) (556),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (333),(int) (556),(int) (278),(int) (833),(int) (556),(int) (500),(int) (556),(int) (556),(int) (444),(int) (389),(int) (333),(int) (556),(int) (500),(int) (722),(int) (500),(int) (500),(int) (444),(int) (394),(int) (220),(int) (394),(int) (520),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (1000),(int) (350),(int) (667),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (444),(int) (722),(int) (250),(int) (333),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (300),(int) (500),(int) (570),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (556),(int) (540),(int) (250),(int) (333),(int) (300),(int) (330),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (1000),(int) (722),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (778),(int) (778),(int) (778),(int) (778),(int) (778),(int) (570),(int) (778),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (500),(int) (556),(int) (500)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 168;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontItalic),c"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",_fontitalic)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (420),(int) (500),(int) (500),(int) (833),(int) (778),(int) (214),(int) (333),(int) (333),(int) (500),(int) (675),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (675),(int) (675),(int) (675),(int) (500),(int) (920),(int) (611),(int) (611),(int) (667),(int) (722),(int) (611),(int) (611),(int) (722),(int) (722),(int) (333),(int) (444),(int) (667),(int) (556),(int) (833),(int) (667),(int) (722),(int) (611),(int) (722),(int) (611),(int) (500),(int) (556),(int) (722),(int) (611),(int) (833),(int) (611),(int) (556),(int) (556),(int) (389),(int) (278),(int) (389),(int) (422),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (278),(int) (500),(int) (500),(int) (278),(int) (278),(int) (444),(int) (278),(int) (722),(int) (500),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (500),(int) (444),(int) (667),(int) (444),(int) (444),(int) (389),(int) (400),(int) (275),(int) (400),(int) (541),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (556),(int) (889),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (500),(int) (333),(int) (944),(int) (350),(int) (556),(int) (350),(int) (350),(int) (333),(int) (333),(int) (556),(int) (556),(int) (350),(int) (500),(int) (889),(int) (333),(int) (980),(int) (389),(int) (333),(int) (667),(int) (350),(int) (389),(int) (556),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (275),(int) (500),(int) (333),(int) (760),(int) (276),(int) (500),(int) (675),(int) (333),(int) (760),(int) (333),(int) (400),(int) (675),(int) (300),(int) (300),(int) (333),(int) (500),(int) (523),(int) (250),(int) (333),(int) (300),(int) (310),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (611),(int) (889),(int) (667),(int) (611),(int) (611),(int) (611),(int) (611),(int) (333),(int) (333),(int) (333),(int) (333),(int) (722),(int) (667),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (675),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (556),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (667),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (675),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 169;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Times\",fontBold+font"; -_ffontsinfos.Put((Object)(_calcfontkey("Times",(int) (_fontbold+_fontitalic))),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (389),(int) (555),(int) (500),(int) (500),(int) (833),(int) (778),(int) (278),(int) (333),(int) (333),(int) (500),(int) (570),(int) (250),(int) (333),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (333),(int) (333),(int) (570),(int) (570),(int) (570),(int) (500),(int) (832),(int) (667),(int) (667),(int) (667),(int) (722),(int) (667),(int) (667),(int) (722),(int) (778),(int) (389),(int) (500),(int) (667),(int) (611),(int) (889),(int) (722),(int) (722),(int) (611),(int) (722),(int) (667),(int) (556),(int) (611),(int) (722),(int) (667),(int) (889),(int) (667),(int) (611),(int) (611),(int) (333),(int) (278),(int) (333),(int) (570),(int) (500),(int) (333),(int) (500),(int) (500),(int) (444),(int) (500),(int) (444),(int) (333),(int) (500),(int) (556),(int) (278),(int) (278),(int) (500),(int) (278),(int) (778),(int) (556),(int) (500),(int) (500),(int) (500),(int) (389),(int) (389),(int) (278),(int) (556),(int) (444),(int) (667),(int) (500),(int) (444),(int) (389),(int) (348),(int) (220),(int) (348),(int) (570),(int) (350),(int) (500),(int) (350),(int) (333),(int) (500),(int) (500),(int) (1000),(int) (500),(int) (500),(int) (333),(int) (1000),(int) (556),(int) (333),(int) (944),(int) (350),(int) (611),(int) (350),(int) (350),(int) (333),(int) (333),(int) (500),(int) (500),(int) (350),(int) (500),(int) (1000),(int) (333),(int) (1000),(int) (389),(int) (333),(int) (722),(int) (350),(int) (389),(int) (611),(int) (250),(int) (389),(int) (500),(int) (500),(int) (500),(int) (500),(int) (220),(int) (500),(int) (333),(int) (747),(int) (266),(int) (500),(int) (606),(int) (333),(int) (747),(int) (333),(int) (400),(int) (570),(int) (300),(int) (300),(int) (333),(int) (576),(int) (500),(int) (250),(int) (333),(int) (300),(int) (300),(int) (500),(int) (750),(int) (750),(int) (750),(int) (500),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (944),(int) (667),(int) (667),(int) (667),(int) (667),(int) (667),(int) (389),(int) (389),(int) (389),(int) (389),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (570),(int) (722),(int) (722),(int) (722),(int) (722),(int) (722),(int) (611),(int) (611),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (722),(int) (444),(int) (444),(int) (444),(int) (444),(int) (444),(int) (278),(int) (278),(int) (278),(int) (278),(int) (500),(int) (556),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (570),(int) (500),(int) (556),(int) (556),(int) (556),(int) (556),(int) (444),(int) (500),(int) (444)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 170;BA.debugLine="fFontsInfos.Put(calcFontKey(\"Symbol\",fontNormal),"; -_ffontsinfos.Put((Object)(_calcfontkey("Symbol",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (250),(int) (333),(int) (713),(int) (500),(int) (549),(int) (833),(int) (778),(int) (439),(int) (333),(int) (333),(int) (500),(int) (549),(int) (250),(int) (549),(int) (250),(int) (278),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (500),(int) (278),(int) (278),(int) (549),(int) (549),(int) (549),(int) (444),(int) (549),(int) (722),(int) (667),(int) (722),(int) (612),(int) (611),(int) (763),(int) (603),(int) (722),(int) (333),(int) (631),(int) (722),(int) (686),(int) (889),(int) (722),(int) (722),(int) (768),(int) (741),(int) (556),(int) (592),(int) (611),(int) (690),(int) (439),(int) (768),(int) (645),(int) (795),(int) (611),(int) (333),(int) (863),(int) (333),(int) (658),(int) (500),(int) (500),(int) (631),(int) (549),(int) (549),(int) (494),(int) (439),(int) (521),(int) (411),(int) (603),(int) (329),(int) (603),(int) (549),(int) (549),(int) (576),(int) (521),(int) (549),(int) (549),(int) (521),(int) (549),(int) (603),(int) (439),(int) (576),(int) (713),(int) (686),(int) (493),(int) (686),(int) (494),(int) (480),(int) (200),(int) (480),(int) (549),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (750),(int) (620),(int) (247),(int) (549),(int) (167),(int) (713),(int) (500),(int) (753),(int) (753),(int) (753),(int) (753),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (400),(int) (549),(int) (411),(int) (549),(int) (549),(int) (713),(int) (494),(int) (460),(int) (549),(int) (549),(int) (549),(int) (549),(int) (1000),(int) (603),(int) (1000),(int) (658),(int) (823),(int) (686),(int) (795),(int) (987),(int) (768),(int) (768),(int) (823),(int) (768),(int) (768),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (713),(int) (768),(int) (713),(int) (790),(int) (790),(int) (890),(int) (823),(int) (549),(int) (250),(int) (713),(int) (603),(int) (603),(int) (1042),(int) (987),(int) (603),(int) (987),(int) (603),(int) (494),(int) (329),(int) (790),(int) (790),(int) (786),(int) (713),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (494),(int) (0),(int) (329),(int) (274),(int) (686),(int) (686),(int) (686),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (384),(int) (494),(int) (494),(int) (494),(int) (0)},(int) (-60),(int) (10),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 171;BA.debugLine="fFontsInfos.Put(calcFontKey(\"zapfdingbats\",fontNo"; -_ffontsinfos.Put((Object)(_calcfontkey("zapfdingbats",_fontnormal)),(Object)(_createfontinfo(new int[]{(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (278),(int) (974),(int) (961),(int) (974),(int) (980),(int) (719),(int) (789),(int) (790),(int) (791),(int) (690),(int) (960),(int) (939),(int) (549),(int) (855),(int) (911),(int) (933),(int) (911),(int) (945),(int) (974),(int) (755),(int) (846),(int) (762),(int) (761),(int) (571),(int) (677),(int) (763),(int) (760),(int) (759),(int) (754),(int) (494),(int) (552),(int) (537),(int) (577),(int) (692),(int) (786),(int) (788),(int) (788),(int) (790),(int) (793),(int) (794),(int) (816),(int) (823),(int) (789),(int) (841),(int) (823),(int) (833),(int) (816),(int) (831),(int) (923),(int) (744),(int) (723),(int) (749),(int) (790),(int) (792),(int) (695),(int) (776),(int) (768),(int) (792),(int) (759),(int) (707),(int) (708),(int) (682),(int) (701),(int) (826),(int) (815),(int) (789),(int) (789),(int) (707),(int) (687),(int) (696),(int) (689),(int) (786),(int) (787),(int) (713),(int) (791),(int) (785),(int) (791),(int) (873),(int) (761),(int) (762),(int) (762),(int) (759),(int) (759),(int) (892),(int) (892),(int) (788),(int) (784),(int) (438),(int) (138),(int) (277),(int) (415),(int) (392),(int) (392),(int) (668),(int) (668),(int) (0),(int) (390),(int) (390),(int) (317),(int) (317),(int) (276),(int) (276),(int) (509),(int) (509),(int) (410),(int) (410),(int) (234),(int) (234),(int) (334),(int) (334),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (0),(int) (732),(int) (544),(int) (544),(int) (910),(int) (667),(int) (760),(int) (760),(int) (776),(int) (595),(int) (694),(int) (626),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (788),(int) (894),(int) (838),(int) (1016),(int) (458),(int) (748),(int) (924),(int) (748),(int) (918),(int) (927),(int) (928),(int) (928),(int) (834),(int) (873),(int) (828),(int) (924),(int) (924),(int) (917),(int) (930),(int) (931),(int) (463),(int) (883),(int) (836),(int) (836),(int) (867),(int) (867),(int) (696),(int) (696),(int) (874),(int) (0),(int) (874),(int) (760),(int) (946),(int) (771),(int) (865),(int) (771),(int) (888),(int) (967),(int) (888),(int) (831),(int) (873),(int) (927),(int) (970),(int) (918),(int) (0)},(int) (-60),(int) (40),(int) (220),(int) (40),(int) (800),(int) (-230)))); - //BA.debugLineNum = 172;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cpdf _initialize(anywheresoftware.b4a.BA _ba,String _aunit) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 121;BA.debugLine="Public Sub Initialize(aunit As String) As cPDF"; - //BA.debugLineNum = 122;BA.debugLine="fLibVersion=\"0.6\""; -_flibversion = "0.6"; - //BA.debugLineNum = 123;BA.debugLine="fPDFVersion=\"1.3\""; -_fpdfversion = "1.3"; - //BA.debugLineNum = 124;BA.debugLine="sUnit(aunit)"; -_sunit(_aunit); - //BA.debugLineNum = 125;BA.debugLine="fProperties=CreateMap(\"Producer\":\"B4XPDF\",\"Creati"; -_fproperties = __c.createMap(new Object[] {(Object)("Producer"),(Object)("B4XPDF"),(Object)("CreationDate"),(Object)(_gcreationdate()),(Object)("ModDate"),(Object)(_gcreationdate())}); - //BA.debugLineNum = 126;BA.debugLine="fContext.Initialize"; -_fcontext.Initialize(); - //BA.debugLineNum = 127;BA.debugLine="fObjs.Initialize"; -_fobjs.Initialize(); - //BA.debugLineNum = 128;BA.debugLine="fPages.Initialize"; -_fpages.Initialize(); - //BA.debugLineNum = 129;BA.debugLine="fPage=0"; -_fpage = (int) (0); - //BA.debugLineNum = 130;BA.debugLine="fUsedImages.Initialize"; -_fusedimages.Initialize(); - //BA.debugLineNum = 131;BA.debugLine="fUsedFonts.Initialize"; -_fusedfonts.Initialize(); - //BA.debugLineNum = 132;BA.debugLine="initFontsInfos"; -_initfontsinfos(); - //BA.debugLineNum = 133;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -return null; -} -public byte[] _kidswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _i = 0; - //BA.debugLineNum = 217;BA.debugLine="private Sub kidsWrite As Byte()"; - //BA.debugLineNum = 218;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 219;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 220;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj${Chr"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("] /Count "+__c.SmartStringFormatter("",(Object)(_fpages.getSize()))+">> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 225;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 226;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 227;BA.debugLine="End Sub"; -return null; -} -public String _multilinetextsizeaddline(adm.keymon.com.mx.cpdf._tpdfmultilinetextsize _amts,adm.keymon.com.mx.cpdf._tpdftextsize _ats,String _atext,double _awidth) throws Exception{ -String _s = ""; -int _p = 0; - //BA.debugLineNum = 924;BA.debugLine="private Sub MultilineTextSizeAddLine(amts As TPDFM"; - //BA.debugLineNum = 925;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 926;BA.debugLine="If ats.fWidth>awidth Then"; -if (_ats.fWidth /*double*/ >_awidth) { - //BA.debugLineNum = 927;BA.debugLine="Dim p As Int=atext.LastIndexOf(\" \")"; -_p = _atext.lastIndexOf(" "); - //BA.debugLineNum = 928;BA.debugLine="If p=-1 Then"; -if (_p==-1) { - //BA.debugLineNum = 929;BA.debugLine="p=atext.Length-1"; -_p = (int) (_atext.length()-1); - }; - //BA.debugLineNum = 931;BA.debugLine="s=atext.SubString(p+1)"; -_s = _atext.substring((int) (_p+1)); - //BA.debugLineNum = 932;BA.debugLine="atext=atext.SubString2(0,p)"; -_atext = _atext.substring((int) (0),_p); - }else { - //BA.debugLineNum = 934;BA.debugLine="s=\"\""; -_s = ""; - }; - //BA.debugLineNum = 936;BA.debugLine="amts.fparagraphs.Get(amts.fParagraphs.Size-1).As("; -((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Get((int) (_amts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1))))).Add((Object)(_atext)); - //BA.debugLineNum = 937;BA.debugLine="amts.fHeight=amts.fHeight+ats.fHeight"; -_amts.fHeight /*double*/ = _amts.fHeight /*double*/ +_ats.fHeight /*double*/ ; - //BA.debugLineNum = 938;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 939;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.cpdf _outimage(String _adir,String _afile,double _ax,double _ay,double _aw,double _ah) throws Exception{ -adm.keymon.com.mx.cpdf._tpdfimageinfo _ii = null; -String _k = ""; -int _i = 0; - //BA.debugLineNum = 816;BA.debugLine="public Sub outImage(adir As String,afile As String"; - //BA.debugLineNum = 817;BA.debugLine="Dim ii As TPDFImageInfo"; -_ii = new adm.keymon.com.mx.cpdf._tpdfimageinfo(); - //BA.debugLineNum = 818;BA.debugLine="afile=convertImage(adir,afile)"; -_afile = _convertimage(_adir,_afile); - //BA.debugLineNum = 820;BA.debugLine="Dim k As String=imageKey(adir,afile)"; -_k = _imagekey(_adir,_afile); - //BA.debugLineNum = 821;BA.debugLine="Dim i As Int=findImageKey(k)"; -_i = _findimagekey(_k); - //BA.debugLineNum = 823;BA.debugLine="If i=-1 Then"; -if (_i==-1) { - //BA.debugLineNum = 825;BA.debugLine="ii=imageInfo(adir,afile)"; -_ii = _imageinfo(_adir,_afile); - //BA.debugLineNum = 827;BA.debugLine="fUsedImages.add(CreateMap(\"path\":k,\"info\":ii))"; -_fusedimages.Add((Object)(__c.createMap(new Object[] {(Object)("path"),(Object)(_k),(Object)("info"),(Object)(_ii)}).getObject())); - //BA.debugLineNum = 828;BA.debugLine="i=fUsedImages.Size-1"; -_i = (int) (_fusedimages.getSize()-1); - }else { - //BA.debugLineNum = 830;BA.debugLine="ii=fUsedImages.Get(i).As(Map).Get(\"info\")"; -_ii = (adm.keymon.com.mx.cpdf._tpdfimageinfo)(((anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_fusedimages.Get(_i)))).Get((Object)("info"))); - }; - //BA.debugLineNum = 833;BA.debugLine="File.Delete(adir,afile)"; -__c.File.Delete(_adir,_afile); - //BA.debugLineNum = 835;BA.debugLine="If ii.fError=0 Then"; -if (_ii.fError /*int*/ ==0) { - //BA.debugLineNum = 837;BA.debugLine="If aw=0 And ah=0 Then"; -if (_aw==0 && _ah==0) { - //BA.debugLineNum = 838;BA.debugLine="aw=-96"; -_aw = -96; - //BA.debugLineNum = 839;BA.debugLine="ah=-96"; -_ah = -96; - }; - //BA.debugLineNum = 843;BA.debugLine="If aw<0 Then"; -if (_aw<0) { - //BA.debugLineNum = 844;BA.debugLine="aw=-ii.fWidth*72/aw/fUnitFactor"; -_aw = -_ii.fWidth /*int*/ *72/(double)_aw/(double)_funitfactor; - }; - //BA.debugLineNum = 847;BA.debugLine="If ah<0 Then"; -if (_ah<0) { - //BA.debugLineNum = 848;BA.debugLine="ah=-ii.fHeight*72/ah/fUnitFactor"; -_ah = -_ii.fHeight /*int*/ *72/(double)_ah/(double)_funitfactor; - }; - //BA.debugLineNum = 852;BA.debugLine="If aw=0 Then"; -if (_aw==0) { - //BA.debugLineNum = 853;BA.debugLine="aw=ah*ii.fWidth/ii.fHeight"; -_aw = _ah*_ii.fWidth /*int*/ /(double)_ii.fHeight /*int*/ ; - }; - //BA.debugLineNum = 856;BA.debugLine="If ah=0 Then"; -if (_ah==0) { - //BA.debugLineNum = 857;BA.debugLine="ah=aw*ii.fHeight/ii.fWidth"; -_ah = _aw*_ii.fHeight /*int*/ /(double)_ii.fWidth /*int*/ ; - }; - //BA.debugLineNum = 860;BA.debugLine="contentAdd(fPage,$\"q ${NumberFormat2(aw*fUnitFac"; -_contentadd(_fpage,("q "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" 0 0 "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" cm /I"+__c.SmartStringFormatter("",(Object)(_i))+" Do Q"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 862;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 863;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _outline(double _ax1,double _ay1,double _ax2,double _ay2) throws Exception{ - //BA.debugLineNum = 778;BA.debugLine="public Sub outLine(ax1 As Double,ay1 As Double,ax2"; - //BA.debugLineNum = 779;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax1*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax1*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay1*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" m "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax2*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay2*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" l h S"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 780;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 781;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _outraw(String _atext) throws Exception{ -int _shift = 0; -anywheresoftware.b4a.keywords.Regex.MatcherWrapper _m = null; -int _g = 0; -String _v = ""; - //BA.debugLineNum = 868;BA.debugLine="public Sub outRaw(atext As String) As cPDF"; - //BA.debugLineNum = 869;BA.debugLine="If fUnitFactor<>1 Then"; -if (_funitfactor!=1) { - //BA.debugLineNum = 871;BA.debugLine="Dim shift As Int=0"; -_shift = (int) (0); - //BA.debugLineNum = 872;BA.debugLine="atext=atext & Chr(10)"; -_atext = _atext+BA.ObjectToString(__c.Chr((int) (10))); - //BA.debugLineNum = 873;BA.debugLine="Dim m As Matcher = Regex.Matcher(\"([+-]?[0-9]{1,"; -_m = new anywheresoftware.b4a.keywords.Regex.MatcherWrapper(); -_m = __c.Regex.Matcher("([+-]?[0-9]{1,}[\\.]{0,1}[0-9]{0,})",_atext); - //BA.debugLineNum = 874;BA.debugLine="Do While m.Find"; -while (_m.Find()) { - //BA.debugLineNum = 875;BA.debugLine="For g=1 To m.GroupCount"; -{ -final int step6 = 1; -final int limit6 = _m.getGroupCount(); -_g = (int) (1) ; -for (;_g <= limit6 ;_g = _g + step6 ) { - //BA.debugLineNum = 876;BA.debugLine="Dim v As String=NumberFormat2(fUnitFactor*m.Gr"; -_v = __c.NumberFormat2(_funitfactor*(double)(Double.parseDouble(_m.Group(_g))),(int) (1),(int) (3),(int) (3),__c.False); - //BA.debugLineNum = 877;BA.debugLine="atext=atext.SubString2(0,m.getstart(g)+shift)"; -_atext = _atext.substring((int) (0),(int) (_m.GetStart(_g)+_shift))+_v+_atext.substring((int) (_m.GetEnd(_g)+_shift)); - //BA.debugLineNum = 878;BA.debugLine="shift=shift+v.Length-m.Group(g).Length"; -_shift = (int) (_shift+_v.length()-_m.Group(_g).length()); - } -}; - } -; - }; - //BA.debugLineNum = 882;BA.debugLine="contentAdd(fPage,atext)"; -_contentadd(_fpage,_atext); - //BA.debugLineNum = 883;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 884;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _outrectangle(double _ax,double _ay,double _aw,double _ah,String _astyle) throws Exception{ - //BA.debugLineNum = 787;BA.debugLine="public Sub outRectangle(ax As Double,ay As Double,"; - //BA.debugLineNum = 788;BA.debugLine="If astyle=RectangleBorderAndFill Or astyle=Rectan"; -if ((_astyle).equals(_rectangleborderandfill) || (_astyle).equals(_rectanglefillonly)) { - //BA.debugLineNum = 789;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFil"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFillColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 791;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFactor"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_aw*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ah*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" re "+__c.SmartStringFormatter("",(Object)(_astyle))+" "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 792;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 793;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _outtext(double _ax,double _ay,String _atext) throws Exception{ -adm.keymon.com.mx.cpdf._tpdffontinfo _fi = null; -adm.keymon.com.mx.cpdf._tpdftextsize _ts = null; - //BA.debugLineNum = 715;BA.debugLine="public Sub outText(ax As Double,ay As Double,atext"; - //BA.debugLineNum = 716;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(fContext.fFont"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_fcontext.fFontColor /*double[]*/ [(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" rg"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 717;BA.debugLine="contentAdd(fPage,$\"BT ${NumberFormat2(ax*fUnitFac"; -_contentadd(_fpage,("BT "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" Td ("+__c.SmartStringFormatter("",(Object)(_escapetext(_atext)))+")Tj ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 718;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline+font"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,(int) (_fontunderline+_fontstrikethrough))!=0) { - //BA.debugLineNum = 719;BA.debugLine="Dim fi As TPDFFontInfo=fFontsInfos.Get(calcFontK"; -_fi = ((adm.keymon.com.mx.cpdf._tpdffontinfo)(_ffontsinfos.Get((Object)(_calcfontkey(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ))))); - //BA.debugLineNum = 720;BA.debugLine="Dim ts As TPDFTextSize=gTextSize(atext)"; -_ts = _gtextsize(_atext); - }; - //BA.debugLineNum = 722;BA.debugLine="If Bit.And(fContext.fFontstyle,fontUnderline)<>0"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,_fontunderline)!=0) { - //BA.debugLineNum = 723;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor+_fi.fYUnderline /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHUnderline /*int*/ )*_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 725;BA.debugLine="If Bit.And(fContext.fFontstyle,fontStrikeThrough)"; -if (__c.Bit.And(_fcontext.fFontStyle /*int*/ ,_fontstrikethrough)!=0) { - //BA.debugLineNum = 726;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(ax*fUnitFacto"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ax*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ay*_funitfactor+_fi.fYStrikeThrough /*int*/ *_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ts.fWidth /*double*/ *_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2((_fi.fHStrikeThrough /*int*/ )*_fcontext.fFontSize /*double*/ /(double)1000,(int) (1),(int) (3),(int) (3),__c.False)))+" re f "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - }; - //BA.debugLineNum = 728;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 729;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _outtextflow(double _aleftmargin,double _arightmargin,String _aalign,String _atext) throws Exception{ -adm.keymon.com.mx.cpdf._tpdfmultilinetextsize _mts = null; -adm.keymon.com.mx.cpdf._tpdftextsize _ts = null; -int _p = 0; -anywheresoftware.b4a.objects.collections.List _lines = null; -int _i = 0; -String _l = ""; -String[] _w = null; -double _x = 0; -double _s = 0; -int _j = 0; -adm.keymon.com.mx.cpdf._tpdftextsize _ww = null; - //BA.debugLineNum = 736;BA.debugLine="public Sub outTextFlow(aleftMargin As Double,arigh"; - //BA.debugLineNum = 737;BA.debugLine="Dim mts As TPDFMultilineTextSize=gMultilineTextSi"; -_mts = _gmultilinetextsize(_arightmargin-_aleftmargin,_atext); - //BA.debugLineNum = 738;BA.debugLine="Dim ts As TPDFTextSize"; -_ts = new adm.keymon.com.mx.cpdf._tpdftextsize(); - //BA.debugLineNum = 739;BA.debugLine="For p=0 To mts.fParagraphs.Size-1"; -{ -final int step3 = 1; -final int limit3 = (int) (_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .getSize()-1); -_p = (int) (0) ; -for (;_p <= limit3 ;_p = _p + step3 ) { - //BA.debugLineNum = 740;BA.debugLine="Dim lines As List=mts.fParagraphs.Get(p).As(List"; -_lines = new anywheresoftware.b4a.objects.collections.List(); -_lines = ((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_mts.fParagraphs /*anywheresoftware.b4a.objects.collections.List*/ .Get(_p)))); - //BA.debugLineNum = 741;BA.debugLine="For i=0 To lines.Size-1"; -{ -final int step5 = 1; -final int limit5 = (int) (_lines.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 742;BA.debugLine="Dim l As String=lines.Get(i)"; -_l = BA.ObjectToString(_lines.Get(_i)); - //BA.debugLineNum = 743;BA.debugLine="ts=gTextSize(l)"; -_ts = _gtextsize(_l); - //BA.debugLineNum = 744;BA.debugLine="Select Case aalign"; -switch (BA.switchObjectToInt(_aalign,"L","C","R","J")) { -case 0: { - //BA.debugLineNum = 746;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; -_outtext(_aleftmargin,_fcontext.fY /*double*/ ,_l); - break; } -case 1: { - //BA.debugLineNum = 748;BA.debugLine="outText(aleftMargin+(arightMargin-aleftMargin"; -_outtext(_aleftmargin+(_arightmargin-_aleftmargin-_ts.fWidth /*double*/ )/(double)2,_fcontext.fY /*double*/ ,_l); - break; } -case 2: { - //BA.debugLineNum = 750;BA.debugLine="outText(arightMargin-ts.fWidth,fContext.fy,l)"; -_outtext(_arightmargin-_ts.fWidth /*double*/ ,_fcontext.fY /*double*/ ,_l); - break; } -case 3: { - //BA.debugLineNum = 752;BA.debugLine="If i=lines.Size-1 Then"; -if (_i==_lines.getSize()-1) { - //BA.debugLineNum = 754;BA.debugLine="outText(aleftMargin,fContext.fy,l)"; -_outtext(_aleftmargin,_fcontext.fY /*double*/ ,_l); - }else { - //BA.debugLineNum = 757;BA.debugLine="Dim w() As String=Regex.split(\" \",l)"; -_w = __c.Regex.Split(" ",_l); - //BA.debugLineNum = 758;BA.debugLine="Dim x As Double=aleftMargin"; -_x = _aleftmargin; - //BA.debugLineNum = 760;BA.debugLine="Dim s As Double=((arightMargin-aleftMargin)-"; -_s = ((_arightmargin-_aleftmargin)-_ts.fWidth /*double*/ +(_gtextsize(" ").fWidth /*double*/ *(_w.length-1)))/(double)(_w.length-1); - //BA.debugLineNum = 761;BA.debugLine="For j=0 To w.Length-1"; -{ -final int step22 = 1; -final int limit22 = (int) (_w.length-1); -_j = (int) (0) ; -for (;_j <= limit22 ;_j = _j + step22 ) { - //BA.debugLineNum = 762;BA.debugLine="Dim ww As TPDFTextSize=gTextSize(w(j))"; -_ww = _gtextsize(_w[_j]); - //BA.debugLineNum = 763;BA.debugLine="outText(x,fContext.fy,w(j))"; -_outtext(_x,_fcontext.fY /*double*/ ,_w[_j]); - //BA.debugLineNum = 764;BA.debugLine="x=x+s+ww.fWidth"; -_x = _x+_s+_ww.fWidth /*double*/ ; - } -}; - }; - break; } -} -; - //BA.debugLineNum = 768;BA.debugLine="fContext.fX=aleftMargin"; -_fcontext.fX /*double*/ = _aleftmargin; - //BA.debugLineNum = 769;BA.debugLine="fContext.fy=fContext.fy+ts.fHeight"; -_fcontext.fY /*double*/ = _fcontext.fY /*double*/ +_ts.fHeight /*double*/ ; - } -}; - } -}; - //BA.debugLineNum = 772;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 773;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _pageadd(double _awidth,double _aheight) throws Exception{ - //BA.debugLineNum = 647;BA.debugLine="public Sub pageAdd(awidth As Double,aheight As Dou"; - //BA.debugLineNum = 648;BA.debugLine="fPages.Add(createPage(IIf(awidth<0,-awidth,awidth"; -_fpages.Add((Object)(_createpage((double)(BA.ObjectToNumber(((_awidth<0) ? ((Object)(-_awidth)) : ((Object)(_awidth*_funitfactor))))),(double)(BA.ObjectToNumber(((_aheight<0) ? ((Object)(-_aheight)) : ((Object)(_aheight*_funitfactor))))),""))); - //BA.debugLineNum = 649;BA.debugLine="fPage=fPages.Size-1"; -_fpage = (int) (_fpages.getSize()-1); - //BA.debugLineNum = 650;BA.debugLine="sFont(fContext.fFontFamily,fContext.fFontStyle,fC"; -_sfont(_fcontext.fFontFamily /*String*/ ,_fcontext.fFontStyle /*int*/ ,_fcontext.fFontSize /*double*/ ,_fcontext.fFontColor /*double[]*/ ); - //BA.debugLineNum = 651;BA.debugLine="sDrawColor(fContext.fDrawColor)"; -_sdrawcolor(_fcontext.fDrawColor /*double[]*/ ); - //BA.debugLineNum = 652;BA.debugLine="sDrawWidth(fContext.fDrawWidth)"; -_sdrawwidth(_fcontext.fDrawWidth /*double*/ ); - //BA.debugLineNum = 653;BA.debugLine="sFillColor(fContext.fFillColor)"; -_sfillcolor(_fcontext.fFillColor /*double[]*/ ); - //BA.debugLineNum = 654;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 655;BA.debugLine="End Sub"; -return null; -} -public byte[] _pageswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _r = 0; -int _i = 0; - //BA.debugLineNum = 229;BA.debugLine="private Sub pagesWrite As Byte()"; - //BA.debugLineNum = 230;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 231;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 232;BA.debugLine="Dim r As Int=fObjs.Size+1+fPages.Size*2"; -_r = (int) (_fobjs.getSize()+1+_fpages.getSize()*2); - //BA.debugLineNum = 233;BA.debugLine="For i=0 To fPages.Size-1"; -{ -final int step4 = 1; -final int limit4 = (int) (_fpages.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 234;BA.debugLine="bb.append(pageWrite(i,r))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_pagewrite(_i,_r)); - } -}; - //BA.debugLineNum = 236;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 237;BA.debugLine="End Sub"; -return null; -} -public byte[] _pagewrite(int _apage,int _aresource) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -adm.keymon.com.mx.cpdf._tpdfpage _p = null; - //BA.debugLineNum = 239;BA.debugLine="private Sub pageWrite(apage As Int,aresource As In"; - //BA.debugLineNum = 240;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 241;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 242;BA.debugLine="Dim p As TPDFPage=fPages.Get(apage)"; -_p = (adm.keymon.com.mx.cpdf._tpdfpage)(_fpages.Get(_apage)); - //BA.debugLineNum = 243;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 244;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 245;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 246;BA.debugLine="End Sub"; -return null; -} -public byte[] _palettewrite(byte[] _apalette) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 354;BA.debugLine="private Sub paletteWrite(apalette() As Byte) As By"; - //BA.debugLineNum = 355;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 356;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 357;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj${Chr(10)}<>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"stream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 358;BA.debugLine="bb.Append(apalette)"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_apalette); - //BA.debugLineNum = 359;BA.debugLine="bb.Append($\"${Chr(10)}endstream${Chr(10)}endobj${"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endstream"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 360;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 361;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 362;BA.debugLine="End Sub"; -return null; -} -public byte[] _propertieswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -String _k = ""; - //BA.debugLineNum = 364;BA.debugLine="private Sub propertiesWrite As Byte()"; - //BA.debugLineNum = 365;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 366;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 367;BA.debugLine="bb.Append($\"${fObjs.Size+1} 0 obj <<${Chr(10)}\"$."; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 368;BA.debugLine="For Each k As String In fProperties.keys"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _fproperties.Keys(); -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_k = BA.ObjectToString(group4.Get(index4)); - //BA.debugLineNum = 369;BA.debugLine="bb.Append($\"/${k}(${escapeText(fProperties.Get(k"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/"+__c.SmartStringFormatter("",(Object)(_k))+"("+__c.SmartStringFormatter("",(Object)(_escapetext(BA.ObjectToString(_fproperties.Get((Object)(_k))))))+")"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - } -}; - //BA.debugLineNum = 371;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 372;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 373;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 374;BA.debugLine="End Sub"; -return null; -} -public String _rafreadstring(anywheresoftware.b4a.randomaccessfile.RandomAccessFile _araf,long _astart,long _acount) throws Exception{ -String _s = ""; -int _i = 0; - //BA.debugLineNum = 464;BA.debugLine="private Sub rafReadString(araf As RandomAccessFile"; - //BA.debugLineNum = 465;BA.debugLine="Dim s As String"; -_s = ""; - //BA.debugLineNum = 466;BA.debugLine="For i=0 To acount-1"; -{ -final int step2 = 1; -final int limit2 = (int) (_acount-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 467;BA.debugLine="s=s & Chr(araf.ReadUnsignedByte(astart+i))"; -_s = _s+BA.ObjectToString(__c.Chr(_araf.ReadUnsignedByte((long) (_astart+_i)))); - } -}; - //BA.debugLineNum = 469;BA.debugLine="Return s"; -if (true) return _s; - //BA.debugLineNum = 470;BA.debugLine="End Sub"; -return ""; -} -public byte[] _refwrite(long _astart,int _ageneration,String _astatus) throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; - //BA.debugLineNum = 376;BA.debugLine="private Sub refWrite(astart As Long,ageneration As"; - //BA.debugLineNum = 377;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 378;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 379;BA.debugLine="bb.Append($\"${NumberFormat2(astart,10,0,0,False)}"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_astart,(int) (10),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_ageneration,(int) (5),(int) (0),(int) (0),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(_astatus))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 380;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 381;BA.debugLine="End Sub"; -return null; -} -public byte[] _resourceswrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -int _i = 0; - //BA.debugLineNum = 281;BA.debugLine="private Sub resourcesWrite As Byte()"; - //BA.debugLineNum = 282;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 283;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 284;BA.debugLine="bb.Append($\"${fObjs.size+1} 0 obj << \"$.getBytes"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+" 0 obj << ").getBytes(_ftextencoding)); - //BA.debugLineNum = 286;BA.debugLine="bb.Append($\"/ProcSet [/PDF /Text /ImageB /ImageC"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI] "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 288;BA.debugLine="bb.append($\"/Font << ${Chr(10)}\"$.getBytes(fTextE"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/Font << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 289;BA.debugLine="For i=0 To fUsedFonts.Size-1"; -{ -final int step6 = 1; -final int limit6 = (int) (_fusedfonts.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 290;BA.debugLine="bb.Append($\"/F${i} ${fObjs.Size+1+i+1} 0 R \"$.ge"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1+_i+1))+" 0 R ").getBytes(_ftextencoding)); - } -}; - //BA.debugLineNum = 292;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 294;BA.debugLine="bb.append($\"/XObject << ${Chr(10)}\"$.getBytes(fTe"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/XObject << "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 295;BA.debugLine="For i=0 To fUsedImages.Size-1"; -{ -final int step11 = 1; -final int limit11 = (int) (_fusedimages.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit11 ;_i = _i + step11 ) { - //BA.debugLineNum = 296;BA.debugLine="bb.Append($\"/I${i} ${fObjs.Size+1+i+1+fUsedFonts"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/I"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1+_i+1+_fusedfonts.getSize()))+" 0 R ").getBytes(_ftextencoding)); - } -}; - //BA.debugLineNum = 298;BA.debugLine="bb.append($\" >> ${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((" >> "+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 300;BA.debugLine="bb.Append($\" >> endobj${Chr(10)}\"$.getBytes(fText"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((" >> endobj"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 301;BA.debugLine="fObjs.Add(bb.Length)"; -_fobjs.Add((Object)(_bb._getlength /*int*/ ())); - //BA.debugLineNum = 302;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 303;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _savetofile(String _adir,String _afile,int _acompress) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _outputstream = null; - //BA.debugLineNum = 605;BA.debugLine="public Sub saveToFile(adir As String,afile As Stri"; - //BA.debugLineNum = 606;BA.debugLine="File.Delete(adir,afile)"; -__c.File.Delete(_adir,_afile); - //BA.debugLineNum = 607;BA.debugLine="Dim outputstream As OutputStream=File.OpenOutput("; -_outputstream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_outputstream = __c.File.OpenOutput(_adir,_afile,__c.False); - //BA.debugLineNum = 608;BA.debugLine="saveToStream(outputstream,acompress)"; -_savetostream(_outputstream,_acompress); - //BA.debugLineNum = 609;BA.debugLine="outputstream.Close"; -_outputstream.Close(); - //BA.debugLineNum = 610;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 611;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _savetostream(anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _aoutputstream,int _acompress) throws Exception{ -byte[] _b = null; - //BA.debugLineNum = 576;BA.debugLine="public Sub saveToStream(aoutputstream As OutputStr"; - //BA.debugLineNum = 577;BA.debugLine="Dim b() As Byte=headerWrite"; -_b = _headerwrite(); - //BA.debugLineNum = 578;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 579;BA.debugLine="Dim b() As Byte=catalogWrite"; -_b = _catalogwrite(); - //BA.debugLineNum = 580;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 581;BA.debugLine="Dim b() As Byte=kidsWrite"; -_b = _kidswrite(); - //BA.debugLineNum = 582;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 583;BA.debugLine="Dim b() As Byte=pagesWrite"; -_b = _pageswrite(); - //BA.debugLineNum = 584;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 585;BA.debugLine="Dim b() As Byte=contentsWrite(acompress)"; -_b = _contentswrite(_acompress); - //BA.debugLineNum = 586;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 587;BA.debugLine="Dim b() As Byte=resourcesWrite"; -_b = _resourceswrite(); - //BA.debugLineNum = 588;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 589;BA.debugLine="Dim b() As Byte=fontsWrite"; -_b = _fontswrite(); - //BA.debugLineNum = 590;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 591;BA.debugLine="Dim b() As Byte=imagesWrite"; -_b = _imageswrite(); - //BA.debugLineNum = 592;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 593;BA.debugLine="Dim b() As Byte=propertiesWrite"; -_b = _propertieswrite(); - //BA.debugLineNum = 594;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 595;BA.debugLine="Dim b() As Byte=xrefWrite"; -_b = _xrefwrite(); - //BA.debugLineNum = 596;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 597;BA.debugLine="Dim b() As Byte=trailerWrite"; -_b = _trailerwrite(); - //BA.debugLineNum = 598;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 599;BA.debugLine="Dim b() As Byte=footerWrite"; -_b = _footerwrite(); - //BA.debugLineNum = 600;BA.debugLine="aoutputstream.WriteBytes(b,0,b.length)"; -_aoutputstream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 601;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 602;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sdrawcolor(double[] _argb) throws Exception{ - //BA.debugLineNum = 672;BA.debugLine="public Sub sDrawColor(argb() As Double) As cPDF"; - //BA.debugLineNum = 673;BA.debugLine="fContext.fDrawColor=argb"; -_fcontext.fDrawColor /*double[]*/ = _argb; - //BA.debugLineNum = 674;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(argb(0),1,3,3,"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (0)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (1)],(int) (1),(int) (3),(int) (3),__c.False)))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_argb[(int) (2)],(int) (1),(int) (3),(int) (3),__c.False)))+" RG"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 675;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 676;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sdrawwidth(double _awidth) throws Exception{ - //BA.debugLineNum = 679;BA.debugLine="public Sub sDrawWidth(awidth As Double) As cPDF"; - //BA.debugLineNum = 680;BA.debugLine="fContext.fDrawWidth=awidth"; -_fcontext.fDrawWidth /*double*/ = _awidth; - //BA.debugLineNum = 681;BA.debugLine="contentAdd(fPage,$\"${NumberFormat2(awidth*fUnitFa"; -_contentadd(_fpage,(""+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_awidth*_funitfactor,(int) (1),(int) (3),(int) (3),__c.False)))+" w"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 682;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 683;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sfillcolor(double[] _argb) throws Exception{ - //BA.debugLineNum = 688;BA.debugLine="public Sub sFillColor(argb() As Double) As cPDF"; - //BA.debugLineNum = 689;BA.debugLine="fContext.fFillColor=argb"; -_fcontext.fFillColor /*double[]*/ = _argb; - //BA.debugLineNum = 690;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 691;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sfont(String _afamily,int _astyle,double _asize,double[] _acolor) throws Exception{ -String _k = ""; -int _i = 0; - //BA.debugLineNum = 697;BA.debugLine="public Sub sFont(afamily As String,astyle As Int,a"; - //BA.debugLineNum = 698;BA.debugLine="Dim k As String=calcFontKey(afamily,astyle)"; -_k = _calcfontkey(_afamily,_astyle); - //BA.debugLineNum = 699;BA.debugLine="Dim i As Int=fUsedFonts.IndexOf(k)"; -_i = _fusedfonts.IndexOf((Object)(_k)); - //BA.debugLineNum = 700;BA.debugLine="If i=-1 Then"; -if (_i==-1) { - //BA.debugLineNum = 701;BA.debugLine="fUsedFonts.Add(k)"; -_fusedfonts.Add((Object)(_k)); - //BA.debugLineNum = 702;BA.debugLine="i=fUsedFonts.Size-1"; -_i = (int) (_fusedfonts.getSize()-1); - }; - //BA.debugLineNum = 704;BA.debugLine="contentAdd(fPage,$\"BT /F${i} ${NumberFormat2(asiz"; -_contentadd(_fpage,("BT /F"+__c.SmartStringFormatter("",(Object)(_i))+" "+__c.SmartStringFormatter("",(Object)(__c.NumberFormat2(_asize,(int) (1),(int) (3),(int) (3),__c.False)))+" Tf ET"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"")); - //BA.debugLineNum = 705;BA.debugLine="fContext.fFontFamily=afamily"; -_fcontext.fFontFamily /*String*/ = _afamily; - //BA.debugLineNum = 706;BA.debugLine="fContext.fFontStyle=astyle"; -_fcontext.fFontStyle /*int*/ = _astyle; - //BA.debugLineNum = 707;BA.debugLine="fContext.fFontSize=asize"; -_fcontext.fFontSize /*double*/ = _asize; - //BA.debugLineNum = 708;BA.debugLine="fContext.fFontColor=acolor"; -_fcontext.fFontColor /*double[]*/ = _acolor; - //BA.debugLineNum = 709;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 710;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _spage(int _apage) throws Exception{ - //BA.debugLineNum = 664;BA.debugLine="public Sub sPage(apage As Int) As cPDF"; - //BA.debugLineNum = 665;BA.debugLine="fPage=apage-1"; -_fpage = (int) (_apage-1); - //BA.debugLineNum = 666;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 667;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sproperty(String _aproperty,String _avalue) throws Exception{ - //BA.debugLineNum = 888;BA.debugLine="public Sub sProperty(aproperty As String,avalue As"; - //BA.debugLineNum = 889;BA.debugLine="fProperties.Put(aproperty,avalue)"; -_fproperties.Put((Object)(_aproperty),(Object)(_avalue)); - //BA.debugLineNum = 890;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 891;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sunit(String _aunit) throws Exception{ - //BA.debugLineNum = 175;BA.debugLine="private Sub sUnit(aunit As String) As cPDF"; - //BA.debugLineNum = 176;BA.debugLine="Select aunit.ToLowerCase"; -switch (BA.switchObjectToInt(_aunit.toLowerCase(),"pt","mm","cm","in")) { -case 0: { - //BA.debugLineNum = 178;BA.debugLine="fUnitFactor=1.0"; -_funitfactor = 1.0; - break; } -case 1: { - //BA.debugLineNum = 180;BA.debugLine="fUnitFactor=72.0/25.4"; -_funitfactor = 72.0/(double)25.4; - break; } -case 2: { - //BA.debugLineNum = 182;BA.debugLine="fUnitFactor=72.0/2.54"; -_funitfactor = 72.0/(double)2.54; - break; } -case 3: { - //BA.debugLineNum = 184;BA.debugLine="fUnitFactor=72.0"; -_funitfactor = 72.0; - break; } -default: { - //BA.debugLineNum = 186;BA.debugLine="fUnitFactor=1.0"; -_funitfactor = 1.0; - break; } -} -; - //BA.debugLineNum = 188;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 189;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sx(double _avalue) throws Exception{ - //BA.debugLineNum = 976;BA.debugLine="public Sub sX(avalue As Double) As cPDF"; - //BA.debugLineNum = 977;BA.debugLine="fContext.fX=avalue"; -_fcontext.fX /*double*/ = _avalue; - //BA.debugLineNum = 978;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 979;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.cpdf _sy(double _avalue) throws Exception{ - //BA.debugLineNum = 981;BA.debugLine="public Sub sY(avalue As Double) As cPDF"; - //BA.debugLineNum = 982;BA.debugLine="fContext.fy=avalue"; -_fcontext.fY /*double*/ = _avalue; - //BA.debugLineNum = 983;BA.debugLine="Return Me"; -if (true) return (adm.keymon.com.mx.cpdf)(this); - //BA.debugLineNum = 984;BA.debugLine="End Sub"; -return null; -} -public int _tounsigned(byte _b) throws Exception{ - //BA.debugLineNum = 894;BA.debugLine="private Sub ToUnsigned(b As Byte) As Int"; - //BA.debugLineNum = 895;BA.debugLine="Return Bit.And(0xFF, b)"; -if (true) return __c.Bit.And(((int)0xff),(int) (_b)); - //BA.debugLineNum = 896;BA.debugLine="End Sub"; -return 0; -} -public byte[] _trailerwrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -long _s = 0L; -int _i = 0; -int _l = 0; - //BA.debugLineNum = 398;BA.debugLine="private Sub trailerWrite As Byte()"; - //BA.debugLineNum = 399;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 400;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 401;BA.debugLine="Dim s As Long=headerWrite.length"; -_s = (long) (_headerwrite().length); - //BA.debugLineNum = 402;BA.debugLine="For i=0 To fObjs.Size-1"; -{ -final int step4 = 1; -final int limit4 = (int) (_fobjs.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 403;BA.debugLine="Dim l As Int=fObjs.Get(i)"; -_l = (int)(BA.ObjectToNumber(_fobjs.Get(_i))); - //BA.debugLineNum = 404;BA.debugLine="s=s+l"; -_s = (long) (_s+_l); - } -}; - //BA.debugLineNum = 406;BA.debugLine="bb.Append($\"trailer <<${Chr(10)}\"$.getBytes(fText"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("trailer <<"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 407;BA.debugLine="bb.Append($\"/Size ${fObjs.Size+1}${Chr(10)}\"$.get"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/Size "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 408;BA.debugLine="bb.Append($\"/Info ${fObjs.Size} 0 R${Chr(10)}\"$.g"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/Info "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()))+" 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 409;BA.debugLine="bb.Append($\"/Root 1 0 R${Chr(10)}\"$.getBytes(fTex"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("/Root 1 0 R"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 410;BA.debugLine="bb.Append($\">>${Chr(10)}\"$.getBytes(fTextEncoding"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((">>"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 411;BA.debugLine="bb.Append($\"startxref${Chr(10)}\"$.getBytes(fTextE"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("startxref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 412;BA.debugLine="bb.Append($\"${s}${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ ((""+__c.SmartStringFormatter("",(Object)(_s))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 413;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 414;BA.debugLine="End Sub"; -return null; -} -public byte[] _xrefwrite() throws Exception{ -adm.keymon.com.mx.b4xbytesbuilder _bb = null; -long _s = 0L; -int _i = 0; -int _l = 0; - //BA.debugLineNum = 383;BA.debugLine="private Sub xrefWrite As Byte()"; - //BA.debugLineNum = 384;BA.debugLine="Dim bb As B4XBytesBuilder"; -_bb = new adm.keymon.com.mx.b4xbytesbuilder(); - //BA.debugLineNum = 385;BA.debugLine="bb.Initialize"; -_bb._initialize /*String*/ (ba); - //BA.debugLineNum = 386;BA.debugLine="Dim s As Long=headerWrite.length"; -_s = (long) (_headerwrite().length); - //BA.debugLineNum = 387;BA.debugLine="bb.Append($\"xref${Chr(10)}\"$.getBytes(fTextEncodi"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("xref"+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 388;BA.debugLine="bb.Append($\"0 ${fObjs.Size+1}${Chr(10)}\"$.getByte"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (("0 "+__c.SmartStringFormatter("",(Object)(_fobjs.getSize()+1))+""+__c.SmartStringFormatter("",(Object)(__c.Chr((int) (10))))+"").getBytes(_ftextencoding)); - //BA.debugLineNum = 389;BA.debugLine="bb.Append(refWrite(0,65535,\"f\"))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_refwrite((long) (0),(int) (65535),"f")); - //BA.debugLineNum = 390;BA.debugLine="For i=0 To fObjs.Size-1"; -{ -final int step7 = 1; -final int limit7 = (int) (_fobjs.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 391;BA.debugLine="Dim l As Int=fObjs.Get(i)"; -_l = (int)(BA.ObjectToNumber(_fobjs.Get(_i))); - //BA.debugLineNum = 392;BA.debugLine="bb.Append(refWrite(s,0,\"n\"))"; -_bb._append /*adm.keymon.com.mx.b4xbytesbuilder*/ (_refwrite(_s,(int) (0),"n")); - //BA.debugLineNum = 393;BA.debugLine="s=s+l"; -_s = (long) (_s+_l); - } -}; - //BA.debugLineNum = 395;BA.debugLine="Return bb.ToArray"; -if (true) return _bb._toarray /*byte[]*/ (); - //BA.debugLineNum = 396;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/dbrequestmanager.java b/B4A/Objects/src/adm/keymon/com/mx/dbrequestmanager.java deleted file mode 100644 index ac4393c..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/dbrequestmanager.java +++ /dev/null @@ -1,704 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class dbrequestmanager extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.dbrequestmanager"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.dbrequestmanager.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _mtarget = null; -public String _link = ""; -public anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -public byte _t_null = (byte)0; -public byte _t_string = (byte)0; -public byte _t_short = (byte)0; -public byte _t_int = (byte)0; -public byte _t_long = (byte)0; -public byte _t_float = (byte)0; -public byte _t_double = (byte)0; -public byte _t_boolean = (byte)0; -public byte _t_blob = (byte)0; -public float _version = 0f; -public Object[] _temparray = null; -public String _jobtaganterior = ""; -public anywheresoftware.b4a.objects.collections.List _reqslist = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _dbresult{ -public boolean IsInitialized; -public Object Tag; -public anywheresoftware.b4a.objects.collections.Map Columns; -public anywheresoftware.b4a.objects.collections.List Rows; -public void Initialize() { -IsInitialized = true; -Tag = new Object(); -Columns = new anywheresoftware.b4a.objects.collections.Map(); -Rows = new anywheresoftware.b4a.objects.collections.List(); -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public static class _dbcommand{ -public boolean IsInitialized; -public String Name; -public Object[] Parameters; -public void Initialize() { -IsInitialized = true; -Name = ""; -Parameters = new Object[0]; -{ -int d0 = Parameters.length; -for (int i0 = 0;i0 < d0;i0++) { -Parameters[i0] = new Object(); -} -} -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bytestoimage(byte[] _bytes) throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null; - //BA.debugLineNum = 242;BA.debugLine="Public Sub BytesToImage(bytes() As Byte) As Bitmap"; - //BA.debugLineNum = 243;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 244;BA.debugLine="In.InitializeFromBytesArray(bytes, 0, bytes.Lengt"; -_in.InitializeFromBytesArray(_bytes,(int) (0),_bytes.length); - //BA.debugLineNum = 245;BA.debugLine="Dim bmp As Bitmap"; -_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 246;BA.debugLine="bmp.Initialize2(In)"; -_bmp.Initialize2((java.io.InputStream)(_in.getObject())); - //BA.debugLineNum = 247;BA.debugLine="Return bmp"; -if (true) return _bmp; - //BA.debugLineNum = 248;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mTarget As Object"; -_mtarget = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Type DBResult (Tag As Object, Columns As Map, Row"; -; - //BA.debugLineNum = 5;BA.debugLine="Type DBCommand (Name As String, Parameters() As O"; -; - //BA.debugLineNum = 6;BA.debugLine="Private link As String"; -_link = ""; - //BA.debugLineNum = 7;BA.debugLine="Private bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 8;BA.debugLine="Private T_NULL = 0, T_STRING = 1, T_SHORT = 2, T_"; -_t_null = (byte) (0); -_t_string = (byte) (1); -_t_short = (byte) (2); -_t_int = (byte) (3); -_t_long = (byte) (4); -_t_float = (byte) (5); -_t_double = (byte) (6); -_t_boolean = (byte) (7); -_t_blob = (byte) (8); - //BA.debugLineNum = 10;BA.debugLine="Private VERSION As Float = 0.9"; -_version = (float) (0.9); - //BA.debugLineNum = 11;BA.debugLine="Private tempArray(1) As Object"; -_temparray = new Object[(int) (1)]; -{ -int d0 = _temparray.length; -for (int i0 = 0;i0 < d0;i0++) { -_temparray[i0] = new Object(); -} -} -; - //BA.debugLineNum = 12;BA.debugLine="Dim jobTagAnterior As String = \"\" 'Mod por CHV -"; -_jobtaganterior = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim reqsList As List"; -_reqslist = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 14;BA.debugLine="End Sub"; -return ""; -} -public String _executebatch(anywheresoftware.b4a.objects.collections.List _listofcommands,Object _tag) throws Exception{ -adm.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; -adm.keymon.com.mx.dbrequestmanager._dbcommand _command = null; - //BA.debugLineNum = 44;BA.debugLine="Public Sub ExecuteBatch(ListOfCommands As List, Ta"; - //BA.debugLineNum = 45;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 46;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 47;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 48;BA.debugLine="WriteInt(ListOfCommands.Size, out2)"; -_writeint(_listofcommands.getSize(),_out2); - //BA.debugLineNum = 49;BA.debugLine="For Each Command As DBCommand In ListOfCommands"; -{ -final anywheresoftware.b4a.BA.IterableList group5 = _listofcommands; -final int groupLen5 = group5.getSize() -;int index5 = 0; -; -for (; index5 < groupLen5;index5++){ -_command = (adm.keymon.com.mx.dbrequestmanager._dbcommand)(group5.Get(index5)); - //BA.debugLineNum = 50;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 51;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - } -}; - //BA.debugLineNum = 53;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 54;BA.debugLine="j.PostBytes(link & \"?method=batch\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=batch",_ms.ToBytesArray()); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _executecommand(adm.keymon.com.mx.dbrequestmanager._dbcommand _command,Object _tag) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Public Sub ExecuteCommand(Command As DBCommand, Ta"; - //BA.debugLineNum = 59;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; -if (_reqslist.IsInitialized()) { -_reqslist.Add(_tag);}; - //BA.debugLineNum = 60;BA.debugLine="ExecuteBatch(Array As DBCommand(Command), Tag)"; -_executebatch(anywheresoftware.b4a.keywords.Common.ArrayToList(new adm.keymon.com.mx.dbrequestmanager._dbcommand[]{_command}),_tag); - //BA.debugLineNum = 61;BA.debugLine="End Sub"; -return ""; -} -public String _executequery(adm.keymon.com.mx.dbrequestmanager._dbcommand _command,int _limit,Object _tag) throws Exception{ -adm.keymon.com.mx.httpjob _j = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _ms = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out2 = null; - //BA.debugLineNum = 28;BA.debugLine="Public Sub ExecuteQuery(Command As DBCommand, Limi"; - //BA.debugLineNum = 29;BA.debugLine="Dim j As HttpJob"; -_j = new adm.keymon.com.mx.httpjob(); - //BA.debugLineNum = 30;BA.debugLine="Dim ms As OutputStream"; -_ms = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 31;BA.debugLine="Dim out2 As OutputStream = StartJob(j,ms, Tag)"; -_out2 = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out2 = _startjob(_j,_ms,_tag); - //BA.debugLineNum = 32;BA.debugLine="If reqsList.IsInitialized Then reqsList.Add(Tag)"; -if (_reqslist.IsInitialized()) { -_reqslist.Add(_tag);}; - //BA.debugLineNum = 34;BA.debugLine="WriteObject(Command.Name, out2)"; -_writeobject((Object)(_command.Name /*String*/ ),_out2); - //BA.debugLineNum = 35;BA.debugLine="WriteInt(Limit, out2)"; -_writeint(_limit,_out2); - //BA.debugLineNum = 36;BA.debugLine="WriteList(Command.Parameters, out2)"; -_writelist(anywheresoftware.b4a.keywords.Common.ArrayToList(_command.Parameters /*Object[]*/ ),_out2); - //BA.debugLineNum = 37;BA.debugLine="out2.Close"; -_out2.Close(); - //BA.debugLineNum = 38;BA.debugLine="j.PostBytes(link & \"?method=query\", ms.ToBytesArr"; -_j._postbytes /*String*/ (_link+"?method=query",_ms.ToBytesArray()); - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public byte[] _filetobytes(String _dir,String _filename) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 225;BA.debugLine="Public Sub FileToBytes(Dir As String, FileName As"; - //BA.debugLineNum = 226;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 227;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 228;BA.debugLine="Dim In As InputStream = File.OpenInput(Dir, FileN"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 229;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 230;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 231;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.dbrequestmanager._dbresult _handlejob(adm.keymon.com.mx.httpjob _job) throws Exception{ -long _start = 0L; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.randomaccessfile.CompressedStreams _cs = null; -float _serverversion = 0f; -String _method = ""; -adm.keymon.com.mx.dbrequestmanager._dbresult _table = null; -int _numberofcolumns = 0; -int _i = 0; -Object[] _rowobjects = null; -int _col = 0; -Object _o = null; -int _rows = 0; - //BA.debugLineNum = 186;BA.debugLine="Public Sub HandleJob(Job As HttpJob) As DBResult"; - //BA.debugLineNum = 187;BA.debugLine="Dim start As Long = DateTime.Now 'ignore"; -_start = __c.DateTime.getNow(); - //BA.debugLineNum = 188;BA.debugLine="Dim In As InputStream = Job.GetInputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = _job._getinputstream /*anywheresoftware.b4a.objects.streams.File.InputStreamWrapper*/ (); - //BA.debugLineNum = 189;BA.debugLine="Dim cs As CompressedStreams"; -_cs = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 190;BA.debugLine="In = cs.WrapInputStream(In, \"gzip\")"; -_in = _cs.WrapInputStream((java.io.InputStream)(_in.getObject()),"gzip"); - //BA.debugLineNum = 191;BA.debugLine="Dim serverVersion As Float = ReadObject(In) 'igno"; -_serverversion = (float)(BA.ObjectToNumber(_readobject(_in))); - //BA.debugLineNum = 192;BA.debugLine="Dim method As String = ReadObject(In)"; -_method = BA.ObjectToString(_readobject(_in)); - //BA.debugLineNum = 193;BA.debugLine="Dim table As DBResult"; -_table = new adm.keymon.com.mx.dbrequestmanager._dbresult(); - //BA.debugLineNum = 194;BA.debugLine="table.Initialize"; -_table.Initialize(); - //BA.debugLineNum = 195;BA.debugLine="table.Columns.Initialize"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Initialize(); - //BA.debugLineNum = 196;BA.debugLine="table.rows.Initialize"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Initialize(); - //BA.debugLineNum = 197;BA.debugLine="table.Tag = Job.Tag"; -_table.Tag /*Object*/ = _job._tag /*Object*/ ; - //BA.debugLineNum = 198;BA.debugLine="If jobTagAnterior <> Job.Tag Then LogColor(\"Handl"; -if ((_jobtaganterior).equals(BA.ObjectToString(_job._tag /*Object*/ )) == false) { -__c.LogImpl("369599244","HandleJob: '"+BA.ObjectToString(_job._tag /*Object*/ )+"'",__c.Colors.RGB((int) (171),(int) (70),(int) (0)));}; - //BA.debugLineNum = 199;BA.debugLine="jobTagAnterior = Job.Tag 'Mod por CHV - 211109"; -_jobtaganterior = BA.ObjectToString(_job._tag /*Object*/ ); - //BA.debugLineNum = 200;BA.debugLine="If method = \"query\" Then"; -if ((_method).equals("query")) { - //BA.debugLineNum = 201;BA.debugLine="Dim numberOfColumns As Int = ReadInt(In)"; -_numberofcolumns = _readint(_in); - //BA.debugLineNum = 202;BA.debugLine="For i = 0 To numberOfColumns - 1"; -{ -final int step16 = 1; -final int limit16 = (int) (_numberofcolumns-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 203;BA.debugLine="table.Columns.Put(ReadObject(In), i)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put(_readobject(_in),(Object)(_i)); - } -}; - //BA.debugLineNum = 205;BA.debugLine="Do While ReadByte(In) = 1"; -while (_readbyte(_in)==1) { - //BA.debugLineNum = 206;BA.debugLine="Dim rowObjects(numberOfColumns) As Object"; -_rowobjects = new Object[_numberofcolumns]; -{ -int d0 = _rowobjects.length; -for (int i0 = 0;i0 < d0;i0++) { -_rowobjects[i0] = new Object(); -} -} -; - //BA.debugLineNum = 207;BA.debugLine="table.rows.Add(rowObjects)"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(_rowobjects)); - //BA.debugLineNum = 208;BA.debugLine="For col = 0 To numberOfColumns - 1"; -{ -final int step22 = 1; -final int limit22 = (int) (_numberofcolumns-1); -_col = (int) (0) ; -for (;_col <= limit22 ;_col = _col + step22 ) { - //BA.debugLineNum = 209;BA.debugLine="Dim o As Object = ReadObject(In)"; -_o = _readobject(_in); - //BA.debugLineNum = 210;BA.debugLine="rowObjects(col) = o"; -_rowobjects[_col] = _o; - } -}; - } -; - }else if((_method).equals("batch")) { - //BA.debugLineNum = 214;BA.debugLine="table.Columns.Put(\"AffectedRows\", 0)"; -_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Put((Object)("AffectedRows"),(Object)(0)); - //BA.debugLineNum = 215;BA.debugLine="Dim rows As Int = ReadInt(In)"; -_rows = _readint(_in); - //BA.debugLineNum = 216;BA.debugLine="For i = 0 To rows - 1"; -{ -final int step30 = 1; -final int limit30 = (int) (_rows-1); -_i = (int) (0) ; -for (;_i <= limit30 ;_i = _i + step30 ) { - //BA.debugLineNum = 217;BA.debugLine="table.rows.Add(Array As Object(ReadInt(In)))"; -_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .Add((Object)(new Object[]{(Object)(_readint(_in))})); - } -}; - }; - //BA.debugLineNum = 220;BA.debugLine="In.Close"; -_in.Close(); - //BA.debugLineNum = 222;BA.debugLine="Return table"; -if (true) return _table; - //BA.debugLineNum = 223;BA.debugLine="End Sub"; -return null; -} -public byte[] _imagetobytes(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _image) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 234;BA.debugLine="Public Sub ImageToBytes(Image As Bitmap) As Byte()"; - //BA.debugLineNum = 235;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 236;BA.debugLine="out.InitializeToBytesArray(0)"; -_out.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 237;BA.debugLine="Image.WriteToStream(out, 100, \"JPEG\")"; -_image.WriteToStream((java.io.OutputStream)(_out.getObject()),(int) (100),BA.getEnumFromString(android.graphics.Bitmap.CompressFormat.class,"JPEG")); - //BA.debugLineNum = 238;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 239;BA.debugLine="Return out.ToBytesArray"; -if (true) return _out.ToBytesArray(); - //BA.debugLineNum = 240;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _target,String _connectorlink) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Target As Object, Connector"; - //BA.debugLineNum = 19;BA.debugLine="mTarget = Target"; -_mtarget = _target; - //BA.debugLineNum = 20;BA.debugLine="link = ConnectorLink"; -_link = _connectorlink; - //BA.debugLineNum = 21;BA.debugLine="reqsList.Initialize"; -_reqslist.Initialize(); - //BA.debugLineNum = 22;BA.debugLine="End Sub"; -return ""; -} -public String _printtable(adm.keymon.com.mx.dbrequestmanager._dbresult _table) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -Object _col = null; -Object[] _row = null; -Object _record = null; - //BA.debugLineNum = 250;BA.debugLine="Public Sub PrintTable(Table As DBResult)"; - //BA.debugLineNum = 251;BA.debugLine="Log(\"Tag: \" & Table.Tag & \", Columns: \" & Table.C"; -__c.LogImpl("369861377","Tag: "+BA.ObjectToString(_table.Tag /*Object*/ )+", Columns: "+BA.NumberToString(_table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .getSize())+", Rows: "+BA.NumberToString(_table.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()),0); - //BA.debugLineNum = 252;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 253;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 254;BA.debugLine="For Each col In Table.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group4 = _table.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen4 = group4.getSize() -;int index4 = 0; -; -for (; index4 < groupLen4;index4++){ -_col = group4.Get(index4); - //BA.debugLineNum = 255;BA.debugLine="sb.Append(col).Append(TAB)"; -_sb.Append(BA.ObjectToString(_col)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 257;BA.debugLine="Log(sb.ToString)"; -__c.LogImpl("369861383",_sb.ToString(),0); - //BA.debugLineNum = 258;BA.debugLine="For Each row() As Object In Table.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group8 = _table.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen8 = group8.getSize() -;int index8 = 0; -; -for (; index8 < groupLen8;index8++){ -_row = (Object[])(group8.Get(index8)); - //BA.debugLineNum = 259;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 260;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 261;BA.debugLine="For Each record As Object In row"; -{ -final Object[] group11 = _row; -final int groupLen11 = group11.length -;int index11 = 0; -; -for (; index11 < groupLen11;index11++){ -_record = group11[index11]; - //BA.debugLineNum = 262;BA.debugLine="sb.Append(record).Append(TAB)"; -_sb.Append(BA.ObjectToString(_record)).Append(__c.TAB); - } -}; - //BA.debugLineNum = 264;BA.debugLine="ToastMessageShow(sb.ToString, True)"; -__c.ToastMessageShow(BA.ObjectToCharSequence(_sb.ToString()),__c.True); - } -}; - //BA.debugLineNum = 266;BA.debugLine="End Sub"; -return ""; -} -public byte _readbyte(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 179;BA.debugLine="Private Sub ReadByte(In As InputStream) As Byte"; - //BA.debugLineNum = 180;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 181;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 182;BA.debugLine="Return data(0)"; -if (true) return _data[(int) (0)]; - //BA.debugLineNum = 183;BA.debugLine="End Sub"; -return (byte)0; -} -public byte[] _readbytesfully(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in,byte[] _data,int _len) throws Exception{ -int _count = 0; -int _read = 0; - //BA.debugLineNum = 159;BA.debugLine="Private Sub ReadBytesFully(In As InputStream, Data"; - //BA.debugLineNum = 160;BA.debugLine="Dim count = 0, read As Int"; -_count = (int) (0); -_read = 0; - //BA.debugLineNum = 161;BA.debugLine="Do While count < Len And read > -1"; -while (_count<_len && _read>-1) { - //BA.debugLineNum = 162;BA.debugLine="read = In.ReadBytes(Data, count, Len - count)"; -_read = _in.ReadBytes(_data,_count,(int) (_len-_count)); - //BA.debugLineNum = 163;BA.debugLine="count = count + read"; -_count = (int) (_count+_read); - } -; - //BA.debugLineNum = 165;BA.debugLine="Return Data"; -if (true) return _data; - //BA.debugLineNum = 166;BA.debugLine="End Sub"; -return null; -} -public int _readint(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 174;BA.debugLine="Private Sub ReadInt(In As InputStream) As Int"; - //BA.debugLineNum = 175;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 176;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data,"; -if (true) return _bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]; - //BA.debugLineNum = 177;BA.debugLine="End Sub"; -return 0; -} -public Object _readobject(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in) throws Exception{ -byte[] _data = null; -byte _b = (byte)0; -int _len = 0; - //BA.debugLineNum = 123;BA.debugLine="Private Sub ReadObject(In As InputStream) As Objec"; - //BA.debugLineNum = 124;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 125;BA.debugLine="In.ReadBytes(data, 0, 1)"; -_in.ReadBytes(_data,(int) (0),(int) (1)); - //BA.debugLineNum = 126;BA.debugLine="Select data(0)"; -switch (BA.switchObjectToInt(_data[(int) (0)],_t_null,_t_short,_t_int,_t_long,_t_float,_t_double,_t_boolean,_t_blob)) { -case 0: { - //BA.debugLineNum = 128;BA.debugLine="Return Null"; -if (true) return __c.Null; - break; } -case 1: { - //BA.debugLineNum = 130;BA.debugLine="Dim data(2) As Byte"; -_data = new byte[(int) (2)]; -; - //BA.debugLineNum = 131;BA.debugLine="Return bc.ShortsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.ShortsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 2: { - //BA.debugLineNum = 133;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 134;BA.debugLine="Return bc.IntsFromBytes(ReadBytesFully(In, data"; -if (true) return (Object)(_bc.IntsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 3: { - //BA.debugLineNum = 136;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 137;BA.debugLine="Return bc.LongsFromBytes(ReadBytesFully(In, dat"; -if (true) return (Object)(_bc.LongsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 4: { - //BA.debugLineNum = 139;BA.debugLine="Dim data(4) As Byte"; -_data = new byte[(int) (4)]; -; - //BA.debugLineNum = 140;BA.debugLine="Return bc.FloatsFromBytes(ReadBytesFully(In, da"; -if (true) return (Object)(_bc.FloatsFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 5: { - //BA.debugLineNum = 142;BA.debugLine="Dim data(8) As Byte"; -_data = new byte[(int) (8)]; -; - //BA.debugLineNum = 143;BA.debugLine="Return bc.DoublesFromBytes(ReadBytesFully(In, d"; -if (true) return (Object)(_bc.DoublesFromBytes(_readbytesfully(_in,_data,_data.length))[(int) (0)]); - break; } -case 6: { - //BA.debugLineNum = 145;BA.debugLine="Dim b As Byte = ReadByte(In)"; -_b = _readbyte(_in); - //BA.debugLineNum = 146;BA.debugLine="Return b = 1"; -if (true) return (Object)(_b==1); - break; } -case 7: { - //BA.debugLineNum = 148;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 149;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 150;BA.debugLine="Return ReadBytesFully(In, data, data.Length)"; -if (true) return (Object)(_readbytesfully(_in,_data,_data.length)); - break; } -default: { - //BA.debugLineNum = 152;BA.debugLine="Dim len As Int = ReadInt(In)"; -_len = _readint(_in); - //BA.debugLineNum = 153;BA.debugLine="Dim data(len) As Byte"; -_data = new byte[_len]; -; - //BA.debugLineNum = 154;BA.debugLine="ReadBytesFully(In, data, data.Length)"; -_readbytesfully(_in,_data,_data.length); - //BA.debugLineNum = 155;BA.debugLine="Return BytesToString(data, 0, data.Length, \"UTF"; -if (true) return (Object)(__c.BytesToString(_data,(int) (0),_data.length,"UTF8")); - break; } -} -; - //BA.debugLineNum = 157;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _startjob(adm.keymon.com.mx.httpjob _j,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _memorystream,Object _tag) throws Exception{ -anywheresoftware.b4a.randomaccessfile.CompressedStreams _compress = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 63;BA.debugLine="Private Sub StartJob(j As HttpJob, MemoryStream As"; - //BA.debugLineNum = 64;BA.debugLine="j.Initialize(\"DBRequest\", mTarget)"; -_j._initialize /*String*/ (ba,"DBRequest",_mtarget); - //BA.debugLineNum = 65;BA.debugLine="j.Tag = Tag"; -_j._tag /*Object*/ = _tag; - //BA.debugLineNum = 66;BA.debugLine="MemoryStream.InitializeToBytesArray(0)"; -_memorystream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 67;BA.debugLine="Dim compress As CompressedStreams"; -_compress = new anywheresoftware.b4a.randomaccessfile.CompressedStreams(); - //BA.debugLineNum = 68;BA.debugLine="Dim out As OutputStream = compress.WrapOutputStre"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = _compress.WrapOutputStream((java.io.OutputStream)(_memorystream.getObject()),"gzip"); - //BA.debugLineNum = 69;BA.debugLine="WriteObject(VERSION, out)"; -_writeobject((Object)(_version),_out); - //BA.debugLineNum = 70;BA.debugLine="Return out"; -if (true) return _out; - //BA.debugLineNum = 71;BA.debugLine="End Sub"; -return null; -} -public String _writeint(int _i,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ -byte[] _data = null; - //BA.debugLineNum = 168;BA.debugLine="Private Sub WriteInt(i As Int, out As OutputStream"; - //BA.debugLineNum = 169;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 170;BA.debugLine="data = bc.IntsToBytes(Array As Int(i))"; -_data = _bc.IntsToBytes(new int[]{_i}); - //BA.debugLineNum = 171;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 172;BA.debugLine="End Sub"; -return ""; -} -public String _writelist(anywheresoftware.b4a.objects.collections.List _parameters,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ -byte[] _data = null; -Object _o = null; - //BA.debugLineNum = 73;BA.debugLine="Private Sub WriteList(Parameters As List, out As O"; - //BA.debugLineNum = 74;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 75;BA.debugLine="If Parameters = Null Or Parameters.IsInitialized"; -if (_parameters== null || _parameters.IsInitialized()==__c.False) { - //BA.debugLineNum = 76;BA.debugLine="Dim Parameters As List"; -_parameters = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 77;BA.debugLine="Parameters.Initialize"; -_parameters.Initialize(); - }; - //BA.debugLineNum = 79;BA.debugLine="data = bc.IntsToBytes(Array As Int(Parameters.Siz"; -_data = _bc.IntsToBytes(new int[]{_parameters.getSize()}); - //BA.debugLineNum = 80;BA.debugLine="out.WriteBytes(data, 0, data.Length)"; -_out.WriteBytes(_data,(int) (0),_data.length); - //BA.debugLineNum = 81;BA.debugLine="For Each o As Object In Parameters"; -{ -final anywheresoftware.b4a.BA.IterableList group8 = _parameters; -final int groupLen8 = group8.getSize() -;int index8 = 0; -; -for (; index8 < groupLen8;index8++){ -_o = group8.Get(index8); - //BA.debugLineNum = 82;BA.debugLine="WriteObject(o, out)"; -_writeobject(_o,_out); - } -}; - //BA.debugLineNum = 84;BA.debugLine="End Sub"; -return ""; -} -public String _writeobject(Object _o,anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out) throws Exception{ -byte[] _data = null; -boolean _b = false; - //BA.debugLineNum = 86;BA.debugLine="Private Sub WriteObject(o As Object, out As Output"; - //BA.debugLineNum = 87;BA.debugLine="Dim data() As Byte"; -_data = new byte[(int) (0)]; -; - //BA.debugLineNum = 88;BA.debugLine="tempArray(0) = o"; -_temparray[(int) (0)] = _o; - //BA.debugLineNum = 89;BA.debugLine="If tempArray(0) = Null Then"; -if (_temparray[(int) (0)]== null) { - //BA.debugLineNum = 90;BA.debugLine="out.WriteBytes(Array As Byte(T_NULL), 0, 1)"; -_out.WriteBytes(new byte[]{_t_null},(int) (0),(int) (1)); - }else if(_temparray[(int) (0)] instanceof Short) { - //BA.debugLineNum = 92;BA.debugLine="out.WriteBytes(Array As Byte(T_SHORT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_short},(int) (0),(int) (1)); - //BA.debugLineNum = 93;BA.debugLine="data = bc.ShortsToBytes(Array As Short(o))"; -_data = _bc.ShortsToBytes(new short[]{(short)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Integer) { - //BA.debugLineNum = 95;BA.debugLine="out.WriteBytes(Array As Byte(T_INT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_int},(int) (0),(int) (1)); - //BA.debugLineNum = 96;BA.debugLine="data = bc.IntsToBytes(Array As Int(o))"; -_data = _bc.IntsToBytes(new int[]{(int)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Float) { - //BA.debugLineNum = 98;BA.debugLine="out.WriteBytes(Array As Byte(T_FLOAT), 0, 1)"; -_out.WriteBytes(new byte[]{_t_float},(int) (0),(int) (1)); - //BA.debugLineNum = 99;BA.debugLine="data = bc.FloatsToBytes(Array As Float(o))"; -_data = _bc.FloatsToBytes(new float[]{(float)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Double) { - //BA.debugLineNum = 101;BA.debugLine="out.WriteBytes(Array As Byte(T_DOUBLE), 0, 1)"; -_out.WriteBytes(new byte[]{_t_double},(int) (0),(int) (1)); - //BA.debugLineNum = 102;BA.debugLine="data = bc.DoublesToBytes(Array As Double(o))"; -_data = _bc.DoublesToBytes(new double[]{(double)(BA.ObjectToNumber(_o))}); - }else if(_temparray[(int) (0)] instanceof Long) { - //BA.debugLineNum = 104;BA.debugLine="out.WriteBytes(Array As Byte(T_LONG), 0, 1)"; -_out.WriteBytes(new byte[]{_t_long},(int) (0),(int) (1)); - //BA.debugLineNum = 105;BA.debugLine="data = bc.LongsToBytes(Array As Long(o))"; -_data = _bc.LongsToBytes(new long[]{BA.ObjectToLongNumber(_o)}); - }else if(_temparray[(int) (0)] instanceof Boolean) { - //BA.debugLineNum = 107;BA.debugLine="out.WriteBytes(Array As Byte(T_BOOLEAN), 0, 1)"; -_out.WriteBytes(new byte[]{_t_boolean},(int) (0),(int) (1)); - //BA.debugLineNum = 108;BA.debugLine="Dim b As Boolean = 0"; -_b = BA.ObjectToBoolean(0); - //BA.debugLineNum = 109;BA.debugLine="Dim data(1) As Byte"; -_data = new byte[(int) (1)]; -; - //BA.debugLineNum = 110;BA.debugLine="If b Then data(0) = 1 Else data(0) = 0"; -if (_b) { -_data[(int) (0)] = (byte) (1);} -else { -_data[(int) (0)] = (byte) (0);}; - }else if((__c.GetType(_temparray[(int) (0)])).equals("[B")) { - //BA.debugLineNum = 112;BA.debugLine="data = o"; -_data = (byte[])(_o); - //BA.debugLineNum = 113;BA.debugLine="out.WriteBytes(Array As Byte(T_BLOB), 0, 1)"; -_out.WriteBytes(new byte[]{_t_blob},(int) (0),(int) (1)); - //BA.debugLineNum = 114;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }else { - //BA.debugLineNum = 116;BA.debugLine="out.WriteBytes(Array As Byte(T_STRING), 0, 1)"; -_out.WriteBytes(new byte[]{_t_string},(int) (0),(int) (1)); - //BA.debugLineNum = 117;BA.debugLine="data = bc.StringToBytes(o, \"UTF8\")"; -_data = _bc.StringToBytes(BA.ObjectToString(_o),"UTF8"); - //BA.debugLineNum = 118;BA.debugLine="WriteInt(data.Length, out)"; -_writeint(_data.length,_out); - }; - //BA.debugLineNum = 120;BA.debugLine="If data.Length > 0 Then out.WriteBytes(data, 0, d"; -if (_data.length>0) { -_out.WriteBytes(_data,(int) (0),_data.length);}; - //BA.debugLineNum = 121;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_celltitle.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_celltitle.java deleted file mode 100644 index 32d3878..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_celltitle.java +++ /dev/null @@ -1,16 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_celltitle{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -//BA.debugLineNum = 1;BA.debugLine="lblTitle.HorizontalCenter = 50%x"[celltitle/General script] -views.get("lbltitle").vw.setLeft((int)((50d / 100 * width) - (views.get("lbltitle").vw.getWidth() / 2))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_cliente.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_cliente.java deleted file mode 100644 index ade9aa7..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_cliente.java +++ /dev/null @@ -1,22 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_cliente{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -//BA.debugLineNum = 3;BA.debugLine="p_cam.HorizontalCenter = 50%x"[cliente/General script] -views.get("p_cam").vw.setLeft((int)((50d / 100 * width) - (views.get("p_cam").vw.getWidth() / 2))); -//BA.debugLineNum = 4;BA.debugLine="b_foto_inci.HorizontalCenter = 25%x"[cliente/General script] -views.get("b_foto_inci").vw.setLeft((int)((25d / 100 * width) - (views.get("b_foto_inci").vw.getWidth() / 2))); -//BA.debugLineNum = 5;BA.debugLine="b_cam.HorizontalCenter = 75%x"[cliente/General script] -views.get("b_cam").vw.setLeft((int)((75d / 100 * width) - (views.get("b_cam").vw.getWidth() / 2))); -//BA.debugLineNum = 6;BA.debugLine="Panel4.HorizontalCenter = 50%x"[cliente/General script] -views.get("panel4").vw.setLeft((int)((50d / 100 * width) - (views.get("panel4").vw.getWidth() / 2))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_clientes.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_clientes.java deleted file mode 100644 index 73ee454..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_clientes.java +++ /dev/null @@ -1,17 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_clientes{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); -views.get("listview1").vw.setLeft((int)(0d)); -views.get("listview1").vw.setWidth((int)((99d / 100 * width) - (0d))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_datoscliente.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_datoscliente.java deleted file mode 100644 index de9c957..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_datoscliente.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_datoscliente{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_folioabono.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_folioabono.java deleted file mode 100644 index caa08a6..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_folioabono.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_folioabono{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_login.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_login.java deleted file mode 100644 index 963aa97..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_login.java +++ /dev/null @@ -1,43 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_login{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); -views.get("imageview1").vw.setLeft((int)((50d / 100 * width) - (views.get("imageview1").vw.getWidth() / 2))); -views.get("i_engrane").vw.setLeft((int)((85d / 100 * width) - (views.get("i_engrane").vw.getWidth() / 2))); -//BA.debugLineNum = 5;BA.debugLine="Panel1.HorizontalCenter = 50%x"[login/General script] -views.get("panel1").vw.setLeft((int)((50d / 100 * width) - (views.get("panel1").vw.getWidth() / 2))); -//BA.debugLineNum = 6;BA.debugLine="Panel1.VerticalCenter = 38%y"[login/General script] -views.get("panel1").vw.setTop((int)((38d / 100 * height) - (views.get("panel1").vw.getHeight() / 2))); -//BA.debugLineNum = 9;BA.debugLine="l_version.VerticalCenter = 70%y"[login/General script] -views.get("l_version").vw.setTop((int)((70d / 100 * height) - (views.get("l_version").vw.getHeight() / 2))); -//BA.debugLineNum = 10;BA.debugLine="Label2.VerticalCenter = 70%y"[login/General script] -views.get("label2").vw.setTop((int)((70d / 100 * height) - (views.get("label2").vw.getHeight() / 2))); -//BA.debugLineNum = 11;BA.debugLine="lv_server.HorizontalCenter = 50%x"[login/General script] -views.get("lv_server").vw.setLeft((int)((50d / 100 * width) - (views.get("lv_server").vw.getWidth() / 2))); -//BA.debugLineNum = 12;BA.debugLine="b_apk.HorizontalCenter = 50%x"[login/General script] -views.get("b_apk").vw.setLeft((int)((50d / 100 * width) - (views.get("b_apk").vw.getWidth() / 2))); -//BA.debugLineNum = 13;BA.debugLine="b_regesar.HorizontalCenter = 50%x"[login/General script] -views.get("b_regesar").vw.setLeft((int)((50d / 100 * width) - (views.get("b_regesar").vw.getWidth() / 2))); -//BA.debugLineNum = 14;BA.debugLine="b_envioBD.HorizontalCenter = 50%x"[login/General script] -views.get("b_enviobd").vw.setLeft((int)((50d / 100 * width) - (views.get("b_enviobd").vw.getWidth() / 2))); -//BA.debugLineNum = 15;BA.debugLine="b_server.HorizontalCenter = 50%x"[login/General script] -views.get("b_server").vw.setLeft((int)((50d / 100 * width) - (views.get("b_server").vw.getWidth() / 2))); -//BA.debugLineNum = 16;BA.debugLine="b_importarBD.HorizontalCenter = 50%x"[login/General script] -views.get("b_importarbd").vw.setLeft((int)((50d / 100 * width) - (views.get("b_importarbd").vw.getWidth() / 2))); -//BA.debugLineNum = 17;BA.debugLine="b_arqueocieego.HorizontalCenter = 50%x"[login/General script] -views.get("b_arqueocieego").vw.setLeft((int)((50d / 100 * width) - (views.get("b_arqueocieego").vw.getWidth() / 2))); -//BA.debugLineNum = 18;BA.debugLine="b_recarga.HorizontalCenter = 50%x"[login/General script] -views.get("b_recarga").vw.setLeft((int)((50d / 100 * width) - (views.get("b_recarga").vw.getWidth() / 2))); -//BA.debugLineNum = 19;BA.debugLine="b_CargarMonto.HorizontalCenter = 50%x"[login/General script] -views.get("b_cargarmonto").vw.setLeft((int)((50d / 100 * width) - (views.get("b_cargarmonto").vw.getWidth() / 2))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mainpage.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mainpage.java deleted file mode 100644 index e09a083..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mainpage.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_mainpage{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.java deleted file mode 100644 index abe55ec..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_mapa_rutas.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_mapa_rutas{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_nuevocliente.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_nuevocliente.java deleted file mode 100644 index 67fe42a..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_nuevocliente.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_nuevocliente{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -views.get("cb_giro").vw.setLeft((int)((50d / 100 * width) - (views.get("cb_giro").vw.getWidth() / 2))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java deleted file mode 100644 index fb2b9bb..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_panel_pick_ciego.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_panel_pick_ciego{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.java deleted file mode 100644 index f86ea0c..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pclvseekbar.java +++ /dev/null @@ -1,16 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_pclvseekbar{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[pclvseekbar/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pedido.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pedido.java deleted file mode 100644 index f7282e2..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_pedido.java +++ /dev/null @@ -1,18 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_pedido{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -views.get("i_fotol").vw.setLeft((int)(0d)); -views.get("i_fotol").vw.setWidth((int)((100d / 100 * width) - (0d))); -views.get("i_fotol").vw.setTop((int)(0d)); -views.get("i_fotol").vw.setHeight((int)((100d / 100 * height) - (0d))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_principal.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_principal.java deleted file mode 100644 index e5d5630..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_principal.java +++ /dev/null @@ -1,31 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_principal{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); -views.get("img2").vw.setLeft((int)(0d)); -views.get("img2").vw.setWidth((int)((100d / 100 * width) - (0d))); -views.get("img2").vw.setTop((int)(0d)); -views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); -views.get("img3").vw.setLeft((int)(0d)); -views.get("img3").vw.setWidth((int)((100d / 100 * width) - (0d))); -views.get("img3").vw.setTop((int)(0d)); -views.get("img3").vw.setHeight((int)((100d / 100 * height) - (0d))); -views.get("img2").vw.setLeft((int)(0d)); -views.get("img2").vw.setWidth((int)((100d / 100 * width) - (0d))); -views.get("img2").vw.setTop((int)(0d)); -views.get("img2").vw.setHeight((int)((100d / 100 * height) - (0d))); -views.get("img3").vw.setLeft((int)(0d)); -views.get("img3").vw.setWidth((int)((100d / 100 * width) - (0d))); -views.get("img3").vw.setTop((int)(0d)); -views.get("img3").vw.setHeight((int)((100d / 100 * height) - (0d))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem.java deleted file mode 100644 index c637c58..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_proditem{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem1.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem1.java deleted file mode 100644 index 7ab33c3..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem1.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_proditem1{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem2.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem2.java deleted file mode 100644 index 1506da5..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_proditem2.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_proditem2{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_productos.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_productos.java deleted file mode 100644 index fbae0ea..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_productos.java +++ /dev/null @@ -1,17 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_productos{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); -views.get("lv_catalogos").vw.setLeft((int)(0d)); -views.get("lv_catalogos").vw.setWidth((int)((100d / 100 * width) - (0d))); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_promociones.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_promociones.java deleted file mode 100644 index c9b1a4f..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_promociones.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_promociones{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_resdia.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_resdia.java deleted file mode 100644 index 53e4417..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_resdia.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_resdia{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_scrollpromos.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_scrollpromos.java deleted file mode 100644 index 8e04690..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_scrollpromos.java +++ /dev/null @@ -1,15 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_scrollpromos{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_searchtemplate.java b/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_searchtemplate.java deleted file mode 100644 index 0e5527b..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/designerscripts/LS_searchtemplate.java +++ /dev/null @@ -1,16 +0,0 @@ -package adm.keymon.com.mx.designerscripts; -import anywheresoftware.b4a.objects.TextViewWrapper; -import anywheresoftware.b4a.objects.ImageViewWrapper; -import anywheresoftware.b4a.BA; - - -public class LS_searchtemplate{ - -public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props, -java.util.Map views, int width, int height, float scale) throws Exception { -anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3); -//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll"[searchtemplate/General script] -anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views); - -} -} \ No newline at end of file diff --git a/B4A/Objects/src/adm/keymon/com/mx/escposprinter.java b/B4A/Objects/src/adm/keymon/com/mx/escposprinter.java deleted file mode 100644 index 3f40586..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/escposprinter.java +++ /dev/null @@ -1,2040 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class escposprinter extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.escposprinter"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.escposprinter.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public double _version = 0; -public String _eventname = ""; -public Object _callback = null; -public anywheresoftware.b4a.objects.Serial _serial1 = null; -public anywheresoftware.b4a.randomaccessfile.AsyncStreams _astream = null; -public boolean _connected = false; -public String _connectederror = ""; -public String _esc = ""; -public String _fs = ""; -public String _gs = ""; -public String _unreverse = ""; -public String _reverse = ""; -public String _uninvert = ""; -public String _invert = ""; -public String _unrotate = ""; -public String _rotate = ""; -public String _ht = ""; -public String _uline0 = ""; -public String _uline1 = ""; -public String _uline2 = ""; -public String _bold = ""; -public String _nobold = ""; -public String _single = ""; -public String _high = ""; -public String _wide = ""; -public String _highwide = ""; -public String _leftjustify = ""; -public String _linedefault = ""; -public String _linset0 = ""; -public String _lmargin0 = ""; -public String _width0 = ""; -public String _charspacing0 = ""; -public String _charfont0 = ""; -public String _defaults = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _animage{ -public boolean IsInitialized; -public int Width; -public int Height; -public byte[] Data; -public void Initialize() { -IsInitialized = true; -Width = 0; -Height = 0; -Data = new byte[0]; -; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _astream_error() throws Exception{ - //BA.debugLineNum = 1141;BA.debugLine="Private Sub AStream_Error"; - //BA.debugLineNum = 1142;BA.debugLine="If SubExists(CallBack, EventName & \"_Error\") Then"; -if (__c.SubExists(ba,_callback,_eventname+"_Error")) { - //BA.debugLineNum = 1143;BA.debugLine="CallSub(CallBack, EventName & \"_Error\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Error"); - }; - //BA.debugLineNum = 1145;BA.debugLine="End Sub"; -return ""; -} -public String _astream_newdata(byte[] _buffer) throws Exception{ - //BA.debugLineNum = 1134;BA.debugLine="Private Sub AStream_NewData (Buffer() As Byte)"; - //BA.debugLineNum = 1135;BA.debugLine="If SubExists(CallBack, EventName & \"_NewData\") Th"; -if (__c.SubExists(ba,_callback,_eventname+"_NewData")) { - //BA.debugLineNum = 1136;BA.debugLine="CallSub2(CallBack, EventName & \"_NewData\", Buffe"; -__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer)); - }; - //BA.debugLineNum = 1138;BA.debugLine="Log(\"Data \" & Buffer(0))"; -__c.LogImpl("373400324","Data "+BA.NumberToString(_buffer[(int) (0)]),0); - //BA.debugLineNum = 1139;BA.debugLine="End Sub"; -return ""; -} -public String _astream_terminated() throws Exception{ - //BA.debugLineNum = 1147;BA.debugLine="Private Sub AStream_Terminated"; - //BA.debugLineNum = 1148;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1149;BA.debugLine="If SubExists(CallBack, EventName & \"_Terminated\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Terminated")) { - //BA.debugLineNum = 1150;BA.debugLine="CallSub(CallBack, EventName & \"_Terminated\")"; -__c.CallSubNew(ba,_callback,_eventname+"_Terminated"); - }; - //BA.debugLineNum = 1152;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 4;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 11;BA.debugLine="Private Version As Double = 2.0 ' Printer class v"; -_version = 2.0; - //BA.debugLineNum = 13;BA.debugLine="Type AnImage(Width As Int, Height As Int, Data()"; -; - //BA.debugLineNum = 15;BA.debugLine="Private EventName As String 'ignore"; -_eventname = ""; - //BA.debugLineNum = 16;BA.debugLine="Private CallBack As Object 'ignore"; -_callback = new Object(); - //BA.debugLineNum = 18;BA.debugLine="Private Serial1 As Serial"; -_serial1 = new anywheresoftware.b4a.objects.Serial(); - //BA.debugLineNum = 19;BA.debugLine="Private Astream As AsyncStreams"; -_astream = new anywheresoftware.b4a.randomaccessfile.AsyncStreams(); - //BA.debugLineNum = 20;BA.debugLine="Private Connected As Boolean"; -_connected = false; - //BA.debugLineNum = 21;BA.debugLine="Private ConnectedError As String"; -_connectederror = ""; - //BA.debugLineNum = 23;BA.debugLine="Dim ESC As String = Chr(27)"; -_esc = BA.ObjectToString(__c.Chr((int) (27))); - //BA.debugLineNum = 24;BA.debugLine="Dim FS As String = Chr(28)"; -_fs = BA.ObjectToString(__c.Chr((int) (28))); - //BA.debugLineNum = 25;BA.debugLine="Dim GS As String = Chr(29)"; -_gs = BA.ObjectToString(__c.Chr((int) (29))); - //BA.debugLineNum = 28;BA.debugLine="Dim UNREVERSE As String = GS & \"B\" & Chr(0)"; -_unreverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 29;BA.debugLine="Dim REVERSE As String = GS & \"B\" & Chr(1)"; -_reverse = _gs+"B"+BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 32;BA.debugLine="Dim UNINVERT As String = ESC & \"{0\""; -_uninvert = _esc+"{0"; - //BA.debugLineNum = 33;BA.debugLine="Dim INVERT As String = ESC & \"{1\""; -_invert = _esc+"{1"; - //BA.debugLineNum = 36;BA.debugLine="Dim UNROTATE As String = ESC & \"V0\""; -_unrotate = _esc+"V0"; - //BA.debugLineNum = 37;BA.debugLine="Dim ROTATE As String = ESC & \"V1\""; -_rotate = _esc+"V1"; - //BA.debugLineNum = 40;BA.debugLine="Dim HT As String = Chr(9)"; -_ht = BA.ObjectToString(__c.Chr((int) (9))); - //BA.debugLineNum = 43;BA.debugLine="Dim ULINE0 As String = ESC & \"-0\""; -_uline0 = _esc+"-0"; - //BA.debugLineNum = 44;BA.debugLine="Dim ULINE1 As String = ESC & \"-1\""; -_uline1 = _esc+"-1"; - //BA.debugLineNum = 45;BA.debugLine="Dim ULINE2 As String = ESC & \"-2\""; -_uline2 = _esc+"-2"; - //BA.debugLineNum = 48;BA.debugLine="Dim BOLD As String = ESC & \"E1\""; -_bold = _esc+"E1"; - //BA.debugLineNum = 49;BA.debugLine="Dim NOBOLD As String = ESC & \"E0\""; -_nobold = _esc+"E0"; - //BA.debugLineNum = 52;BA.debugLine="Dim SINGLE As String = GS & \"!\" & Chr(0x00)"; -_single = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x00))); - //BA.debugLineNum = 53;BA.debugLine="Dim HIGH As String = GS & \"!\" & Chr(0x01)"; -_high = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x01))); - //BA.debugLineNum = 54;BA.debugLine="Dim WIDE As String = GS & \"!\" & Chr(0x10)"; -_wide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x10))); - //BA.debugLineNum = 55;BA.debugLine="Dim HIGHWIDE As String = GS & \"!\" & Chr(0x11)"; -_highwide = _gs+"!"+BA.ObjectToString(__c.Chr(((int)0x11))); - //BA.debugLineNum = 58;BA.debugLine="Private LEFTJUSTIFY As String = ESC & \"a0\""; -_leftjustify = _esc+"a0"; - //BA.debugLineNum = 59;BA.debugLine="Private LINEDEFAULT As String = ESC & \"2\""; -_linedefault = _esc+"2"; - //BA.debugLineNum = 60;BA.debugLine="Private LINSET0 As String = ESC & \"$\" & Chr(0x0)"; -_linset0 = _esc+"$"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 61;BA.debugLine="Private LMARGIN0 As String = GS & \"L\" & Chr(0x0)"; -_lmargin0 = _gs+"L"+BA.ObjectToString(__c.Chr(((int)0x0)))+BA.ObjectToString(__c.Chr(((int)0x0))); - //BA.debugLineNum = 62;BA.debugLine="Private WIDTH0 As String = GS & \"W\" & Chr(0xff) &"; -_width0 = _gs+"W"+BA.ObjectToString(__c.Chr(((int)0xff)))+BA.ObjectToString(__c.Chr(((int)0xff))); - //BA.debugLineNum = 63;BA.debugLine="Private CHARSPACING0 As String = ESC & \" \" & Chr("; -_charspacing0 = _esc+" "+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 64;BA.debugLine="Private CHARFONT0 As String = ESC & \"M\" & Chr(0)"; -_charfont0 = _esc+"M"+BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 65;BA.debugLine="Dim DEFAULTS As String = CHARSPACING0 & CHARFONT"; -_defaults = _charspacing0+_charfont0+_lmargin0+_width0+_linset0+_linedefault+_leftjustify+_uninvert+_unrotate+_unreverse+_nobold+_uline0; - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -public boolean _connect() throws Exception{ -anywheresoftware.b4a.objects.collections.Map _paireddevices = null; -anywheresoftware.b4a.objects.collections.List _l = null; -int _i = 0; -int _res = 0; - //BA.debugLineNum = 100;BA.debugLine="Public Sub Connect As Boolean"; - //BA.debugLineNum = 104;BA.debugLine="Try"; -try { //BA.debugLineNum = 105;BA.debugLine="If Starter.MAC_IMPRESORA = \"0\" Then"; -if ((_starter._mac_impresora /*String*/ ).equals("0")) { - //BA.debugLineNum = 106;BA.debugLine="Dim PairedDevices As Map"; -_paireddevices = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 107;BA.debugLine="PairedDevices = Serial1.GetPairedDevices"; -_paireddevices = _serial1.GetPairedDevices(); - //BA.debugLineNum = 108;BA.debugLine="Dim l As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 109;BA.debugLine="l.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 110;BA.debugLine="Log(\"aqui 1\")"; -__c.LogImpl("370254602","aqui 1",0); - //BA.debugLineNum = 111;BA.debugLine="For i = 0 To PairedDevices.Size - 1"; -{ -final int step8 = 1; -final int limit8 = (int) (_paireddevices.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 112;BA.debugLine="l.Add(PairedDevices.GetKeyAt(i))"; -_l.Add(_paireddevices.GetKeyAt(_i)); - //BA.debugLineNum = 113;BA.debugLine="Log(\"aqui 2\")"; -__c.LogImpl("370254605","aqui 2",0); - //BA.debugLineNum = 114;BA.debugLine="DisConnect"; -_disconnect(); - } -}; - //BA.debugLineNum = 116;BA.debugLine="Dim Res As Int"; -_res = 0; - //BA.debugLineNum = 117;BA.debugLine="Res = InputList(l, \"Choose a printer\", -1) 'sho"; -_res = __c.InputList(_l,BA.ObjectToCharSequence("Choose a printer"),(int) (-1),getActivityBA()); - //BA.debugLineNum = 118;BA.debugLine="If Res <> DialogResponse.CANCEL Then"; -if (_res!=__c.DialogResponse.CANCEL) { - //BA.debugLineNum = 119;BA.debugLine="Serial1.Connect(PairedDevices.Get(l.Get(Res)))"; -_serial1.Connect(ba,BA.ObjectToString(_paireddevices.Get(_l.Get(_res)))); - //BA.debugLineNum = 121;BA.debugLine="Starter.mac_impresora = PairedDevices.Get(l.Ge"; -_starter._mac_impresora /*String*/ = BA.ObjectToString(_paireddevices.Get(_l.Get(_res))); - //BA.debugLineNum = 122;BA.debugLine="Return True"; -if (true) return __c.True; - //BA.debugLineNum = 123;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 124;BA.debugLine="Log(\"aqui 3\")"; -__c.LogImpl("370254616","aqui 3",0); - }; - //BA.debugLineNum = 126;BA.debugLine="Log(\"aqui 4\")"; -__c.LogImpl("370254618","aqui 4",0); - //BA.debugLineNum = 127;BA.debugLine="Return False"; -if (true) return __c.False; - }else { - //BA.debugLineNum = 129;BA.debugLine="Serial1.Connect(Starter.mac_impresora)"; -_serial1.Connect(ba,_starter._mac_impresora /*String*/ ); - //BA.debugLineNum = 131;BA.debugLine="Return True"; -if (true) return __c.True; - //BA.debugLineNum = 132;BA.debugLine="DisConnect"; -_disconnect(); - //BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")"; -__c.LogImpl("370254625","aqui 5",0); - }; - } - catch (Exception e31) { - ba.setLastException(e31); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)"; -__c.LogImpl("370254628",BA.ObjectToString(__c.LastException(getActivityBA())),0); - //BA.debugLineNum = 137;BA.debugLine="Return False"; -if (true) return __c.False; - }; - //BA.debugLineNum = 139;BA.debugLine="End Sub"; -return false; -} -public String _connectederrormsg() throws Exception{ - //BA.debugLineNum = 84;BA.debugLine="Public Sub ConnectedErrorMsg As String"; - //BA.debugLineNum = 85;BA.debugLine="Return ConnectedError"; -if (true) return _connectederror; - //BA.debugLineNum = 86;BA.debugLine="End Sub"; -return ""; -} -public int _createbox(int _x0,int _y0,int _x1,int _y1,boolean _fill) throws Exception{ -int _box = 0; - //BA.debugLineNum = 520;BA.debugLine="Public Sub CreateBox(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 521;BA.debugLine="Dim box As Int = 0x10000000"; -_box = ((int)0x10000000); - //BA.debugLineNum = 522;BA.debugLine="If fill Then box = box + 0x80000000"; -if (_fill) { -_box = (int) (_box+((int)0x80000000));}; - //BA.debugLineNum = 523;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; -_box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 524;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; -_box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 525;BA.debugLine="box = box + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; -_box = (int) (_box+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 526;BA.debugLine="box = box + Bit.And(0x1f,y1)"; -_box = (int) (_box+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 527;BA.debugLine="Return box"; -if (true) return _box; - //BA.debugLineNum = 528;BA.debugLine="End Sub"; -return 0; -} -public int _createcircle(int _radius,int _quadrants,int _x1,int _y1,boolean _fill) throws Exception{ -int _circle = 0; - //BA.debugLineNum = 490;BA.debugLine="Public Sub CreateCircle(radius As Int, quadrants A"; - //BA.debugLineNum = 491;BA.debugLine="Dim circle As Int = 0x20000000"; -_circle = ((int)0x20000000); - //BA.debugLineNum = 492;BA.debugLine="If fill Then circle = circle + 0x80000000"; -if (_fill) { -_circle = (int) (_circle+((int)0x80000000));}; - //BA.debugLineNum = 493;BA.debugLine="circle = circle + Bit.ShiftLeft(radius, 24)"; -_circle = (int) (_circle+__c.Bit.ShiftLeft(_radius,(int) (24))); - //BA.debugLineNum = 494;BA.debugLine="circle = circle + Bit.ShiftLeft(quadrants, 16)"; -_circle = (int) (_circle+__c.Bit.ShiftLeft(_quadrants,(int) (16))); - //BA.debugLineNum = 495;BA.debugLine="circle = circle + Bit.ShiftLeft(x1, 8)"; -_circle = (int) (_circle+__c.Bit.ShiftLeft(_x1,(int) (8))); - //BA.debugLineNum = 496;BA.debugLine="circle = circle + y1"; -_circle = (int) (_circle+_y1); - //BA.debugLineNum = 497;BA.debugLine="Return circle"; -if (true) return _circle; - //BA.debugLineNum = 498;BA.debugLine="End Sub"; -return 0; -} -public byte[] _createcustomcharacter(int[] _shapes,int _characterfont) throws Exception{ -byte[] _masks = null; -byte[][] _points = null; -int _x = 0; -int _y = 0; -int _size = 0; -byte[] _charbyes = null; -int _c = 0; -int _i = 0; -int _fill = 0; -int _shape = 0; -int _x0 = 0; -int _y0 = 0; -int _x1 = 0; -int _y1 = 0; -int _x2 = 0; -int _y2 = 0; -String _logmsg = ""; -byte _bits = (byte)0; -int _b = 0; - //BA.debugLineNum = 404;BA.debugLine="Public Sub CreateCustomCharacter(shapes() As Int,"; - //BA.debugLineNum = 405;BA.debugLine="Dim masks(8) As Byte"; -_masks = new byte[(int) (8)]; -; - //BA.debugLineNum = 406;BA.debugLine="masks(0) = 0x80"; -_masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 407;BA.debugLine="masks(1) = 0x40"; -_masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 408;BA.debugLine="masks(2) = 0x20"; -_masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 409;BA.debugLine="masks(3) = 0x10"; -_masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 410;BA.debugLine="masks(4) = 0x08"; -_masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 411;BA.debugLine="masks(5) = 0x04"; -_masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 412;BA.debugLine="masks(6) = 0x02"; -_masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 413;BA.debugLine="masks(7) = 0x01"; -_masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 416;BA.debugLine="Dim points(16,32) As Byte"; -_points = new byte[(int) (16)][]; -{ -int d0 = _points.length; -int d1 = (int) (32); -for (int i0 = 0;i0 < d0;i0++) { -_points[i0] = new byte[d1]; -} -} -; - //BA.debugLineNum = 418;BA.debugLine="For x = 0 To 15"; -{ -final int step11 = 1; -final int limit11 = (int) (15); -_x = (int) (0) ; -for (;_x <= limit11 ;_x = _x + step11 ) { - //BA.debugLineNum = 419;BA.debugLine="For y = 0 To 31"; -{ -final int step12 = 1; -final int limit12 = (int) (31); -_y = (int) (0) ; -for (;_y <= limit12 ;_y = _y + step12 ) { - //BA.debugLineNum = 420;BA.debugLine="points(x,y) = 0"; -_points[_x][_y] = (byte) (0); - } -}; - } -}; - //BA.debugLineNum = 423;BA.debugLine="Dim size As Int = 12"; -_size = (int) (12); - //BA.debugLineNum = 424;BA.debugLine="If characterfont = 1 Then size = 9"; -if (_characterfont==1) { -_size = (int) (9);}; - //BA.debugLineNum = 425;BA.debugLine="Dim charbyes(size * 3) As Byte"; -_charbyes = new byte[(int) (_size*3)]; -; - //BA.debugLineNum = 426;BA.debugLine="For c = 0 To charbyes.Length - 1"; -{ -final int step19 = 1; -final int limit19 = (int) (_charbyes.length-1); -_c = (int) (0) ; -for (;_c <= limit19 ;_c = _c + step19 ) { - //BA.debugLineNum = 427;BA.debugLine="charbyes(c) = 0"; -_charbyes[_c] = (byte) (0); - } -}; - //BA.debugLineNum = 430;BA.debugLine="For i = 0 To shapes.Length -1"; -{ -final int step22 = 1; -final int limit22 = (int) (_shapes.length-1); -_i = (int) (0) ; -for (;_i <= limit22 ;_i = _i + step22 ) { - //BA.debugLineNum = 431;BA.debugLine="Dim fill As Int = Bit.UnsignedShiftRight(Bit.An"; -_fill = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x80000000),_shapes[_i]),(int) (31)); - //BA.debugLineNum = 432;BA.debugLine="Dim shape As Int = Bit.UnsignedShiftRight(Bit.An"; -_shape = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x70000000),_shapes[_i]),(int) (28)); - //BA.debugLineNum = 433;BA.debugLine="Dim x0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; -_x0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0f000000),_shapes[_i]),(int) (24)); - //BA.debugLineNum = 434;BA.debugLine="Dim y0 As Int = Bit.UnsignedShiftRight(Bit.And(0"; -_y0 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x001f0000),_shapes[_i]),(int) (16)); - //BA.debugLineNum = 435;BA.debugLine="Dim x1 As Int = Bit.UnsignedShiftRight(Bit.And(0"; -_x1 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00000f00),_shapes[_i]),(int) (8)); - //BA.debugLineNum = 436;BA.debugLine="Dim y1 As Int = Bit.And(0x0000001f, shapes(i))"; -_y1 = __c.Bit.And(((int)0x0000001f),_shapes[_i]); - //BA.debugLineNum = 437;BA.debugLine="Dim x2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; -_x2 = __c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x0000f000),_shapes[_i]),(int) (12)); - //BA.debugLineNum = 438;BA.debugLine="Dim y2 As Int = Bit.UnsignedShiftRight(Bit.And(0"; -_y2 = (int) (__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x00e00000),_shapes[_i]),(int) (18))+__c.Bit.UnsignedShiftRight(__c.Bit.And(((int)0x000000e0),_shapes[_i]),(int) (5))); - //BA.debugLineNum = 444;BA.debugLine="Dim logmsg As String = \": Fill=\" & fill & \" : Po"; -_logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)+","+BA.NumberToString(_y0)+" "+BA.NumberToString(_x1)+","+BA.NumberToString(_y1)+" "+BA.NumberToString(_x2)+","+BA.NumberToString(_y2); - //BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then"; -if (_shape==3) { - //BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)"; -__c.LogImpl("371565354","Triangle "+_logmsg,0); - //BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi"; -_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill); - }else if(_shape==2) { - //BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)"; -__c.LogImpl("371565357","Circle "+_logmsg,0); - //BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)"; -_plotcircle(_x0,_y0,_x1,_y1,_points,_fill); - }else if(_shape==1) { - //BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)"; -__c.LogImpl("371565360","Box "+_logmsg,0); - //BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)"; -_plotbox(_x0,_y0,_x1,_y1,_points,_fill); - }else { - //BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)"; -__c.LogImpl("371565363","Line "+_logmsg,0); - //BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - }; - //BA.debugLineNum = 459;BA.debugLine="For x = 0 To size -1 ' 9 or 12 horizontal bytes"; -{ -final int step45 = 1; -final int limit45 = (int) (_size-1); -_x = (int) (0) ; -for (;_x <= limit45 ;_x = _x + step45 ) { - //BA.debugLineNum = 460;BA.debugLine="For y = 0 To 2 ' 3 vertical bytes"; -{ -final int step46 = 1; -final int limit46 = (int) (2); -_y = (int) (0) ; -for (;_y <= limit46 ;_y = _y + step46 ) { - //BA.debugLineNum = 461;BA.debugLine="Dim bits As Byte = 0"; -_bits = (byte) (0); - //BA.debugLineNum = 462;BA.debugLine="For b = 0 To 7 ' 8 vertical bits"; -{ -final int step48 = 1; -final int limit48 = (int) (7); -_b = (int) (0) ; -for (;_b <= limit48 ;_b = _b + step48 ) { - //BA.debugLineNum = 463;BA.debugLine="If points(x, y*8+b) <> 0 Then"; -if (_points[_x][(int) (_y*8+_b)]!=0) { - //BA.debugLineNum = 464;BA.debugLine="bits = Bit.Or(bits, masks(b))"; -_bits = (byte) (__c.Bit.Or((int) (_bits),(int) (_masks[_b]))); - }; - } -}; - //BA.debugLineNum = 467;BA.debugLine="charbyes(x*3+y) = bits"; -_charbyes[(int) (_x*3+_y)] = _bits; - } -}; - } -}; - } -}; - //BA.debugLineNum = 471;BA.debugLine="Return charbyes"; -if (true) return _charbyes; - //BA.debugLineNum = 472;BA.debugLine="End Sub"; -return null; -} -public int _createline(int _x0,int _y0,int _x1,int _y1) throws Exception{ -int _line = 0; - //BA.debugLineNum = 477;BA.debugLine="Public Sub CreateLine(x0 As Int, y0 As Int, x1 As"; - //BA.debugLineNum = 478;BA.debugLine="Dim line As Int = 0"; -_line = (int) (0); - //BA.debugLineNum = 479;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x0), 24)"; -_line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 480;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0x1f,y0), 16)"; -_line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 481;BA.debugLine="line = line + Bit.ShiftLeft(Bit.And(0xf,x1), 8)"; -_line = (int) (_line+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 482;BA.debugLine="line = line + Bit.And(0x1f,y1)"; -_line = (int) (_line+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 483;BA.debugLine="Return line"; -if (true) return _line; - //BA.debugLineNum = 484;BA.debugLine="End Sub"; -return 0; -} -public int _createtriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,boolean _fill) throws Exception{ -int _triangle = 0; - //BA.debugLineNum = 504;BA.debugLine="Public Sub CreateTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 505;BA.debugLine="Dim triangle As Int = 0x30000000"; -_triangle = ((int)0x30000000); - //BA.debugLineNum = 506;BA.debugLine="If fill Then triangle = triangle + 0x80000000"; -if (_fill) { -_triangle = (int) (_triangle+((int)0x80000000));}; - //BA.debugLineNum = 507;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x0),(int) (24))); - //BA.debugLineNum = 508;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x1f,"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x1f),_y0),(int) (16))); - //BA.debugLineNum = 509;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x1),(int) (8))); - //BA.debugLineNum = 510;BA.debugLine="triangle = triangle + Bit.And(0x1f,y1)"; -_triangle = (int) (_triangle+__c.Bit.And(((int)0x1f),_y1)); - //BA.debugLineNum = 511;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0xf,x"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0xf),_x2),(int) (12))); - //BA.debugLineNum = 512;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x7,y"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x7),_y2),(int) (5))); - //BA.debugLineNum = 513;BA.debugLine="triangle = triangle + Bit.ShiftLeft(Bit.And(0x18,"; -_triangle = (int) (_triangle+__c.Bit.ShiftLeft(__c.Bit.And(((int)0x18),_y2),(int) (18))); - //BA.debugLineNum = 514;BA.debugLine="Return triangle"; -if (true) return _triangle; - //BA.debugLineNum = 515;BA.debugLine="End Sub"; -return 0; -} -public int _definecustomcharacter(int _charcode,byte[] _bitdata) throws Exception{ -int _excess = 0; -int _size = 0; -byte[] _params = null; - //BA.debugLineNum = 352;BA.debugLine="Public Sub DefineCustomCharacter(charcode As Int,"; - //BA.debugLineNum = 353;BA.debugLine="Dim excess As Int = bitdata.Length Mod 3"; -_excess = (int) (_bitdata.length%3); - //BA.debugLineNum = 354;BA.debugLine="If excess <> 0 Then Return -1"; -if (_excess!=0) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 355;BA.debugLine="Dim size As Int = bitdata.Length / 3"; -_size = (int) (_bitdata.length/(double)3); - //BA.debugLineNum = 356;BA.debugLine="WriteString(ESC & \"&\")"; -_writestring(_esc+"&"); - //BA.debugLineNum = 357;BA.debugLine="Dim params(4) As Byte"; -_params = new byte[(int) (4)]; -; - //BA.debugLineNum = 358;BA.debugLine="params(0) = 3"; -_params[(int) (0)] = (byte) (3); - //BA.debugLineNum = 359;BA.debugLine="params(1) = charcode"; -_params[(int) (1)] = (byte) (_charcode); - //BA.debugLineNum = 360;BA.debugLine="params(2) = charcode"; -_params[(int) (2)] = (byte) (_charcode); - //BA.debugLineNum = 361;BA.debugLine="params(3) = size"; -_params[(int) (3)] = (byte) (_size); - //BA.debugLineNum = 362;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 363;BA.debugLine="WriteBytes(bitdata)"; -_writebytes(_bitdata); - //BA.debugLineNum = 364;BA.debugLine="Return 0"; -if (true) return (int) (0); - //BA.debugLineNum = 365;BA.debugLine="End Sub"; -return 0; -} -public String _deletecustomcharacter(int _charcode) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 317;BA.debugLine="Public Sub DeleteCustomCharacter(charcode As Int)"; - //BA.debugLineNum = 318;BA.debugLine="WriteString(ESC & \"?\")"; -_writestring(_esc+"?"); - //BA.debugLineNum = 319;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 320;BA.debugLine="params(0) = charcode"; -_params[(int) (0)] = (byte) (_charcode); - //BA.debugLineNum = 321;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 322;BA.debugLine="End Sub"; -return ""; -} -public String _disconnect() throws Exception{ - //BA.debugLineNum = 143;BA.debugLine="Public Sub DisConnect"; - //BA.debugLineNum = 144;BA.debugLine="Serial1.Disconnect"; -_serial1.Disconnect(); - //BA.debugLineNum = 145;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 146;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.escposprinter._animage _ditherimage1d(adm.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ -byte[] _pixels = null; -int _error = 0; -int _y = 0; -int _x = 0; -int _lum = 0; -adm.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 763;BA.debugLine="Sub DitherImage1D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 764;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; -_pixels = new byte[_img.Data /*byte[]*/ .length]; -; - //BA.debugLineNum = 765;BA.debugLine="Dim error As Int"; -_error = 0; - //BA.debugLineNum = 766;BA.debugLine="For y = 0 To img.Height - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_img.Height /*int*/ -1); -_y = (int) (0) ; -for (;_y <= limit3 ;_y = _y + step3 ) { - //BA.debugLineNum = 767;BA.debugLine="error = 0 ' reset on each new line"; -_error = (int) (0); - //BA.debugLineNum = 768;BA.debugLine="For x = 0 To img.Width - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_img.Width /*int*/ -1); -_x = (int) (0) ; -for (;_x <= limit5 ;_x = _x + step5 ) { - //BA.debugLineNum = 769;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; -_lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 770;BA.debugLine="lum = lum + error"; -_lum = (int) (_lum+_error); - //BA.debugLineNum = 771;BA.debugLine="If lum < threshold Then"; -if (_lum<_threshold) { - //BA.debugLineNum = 772;BA.debugLine="error = lum"; -_error = _lum; - //BA.debugLineNum = 773;BA.debugLine="lum = 1"; -_lum = (int) (1); - }else { - //BA.debugLineNum = 775;BA.debugLine="error = lum - 255"; -_error = (int) (_lum-255); - //BA.debugLineNum = 776;BA.debugLine="lum = 0"; -_lum = (int) (0); - }; - //BA.debugLineNum = 778;BA.debugLine="pixels(y*img.Width + x) = lum"; -_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); - } -}; - } -}; - //BA.debugLineNum = 781;BA.debugLine="Dim ret As AnImage"; -_ret = new adm.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 782;BA.debugLine="ret.Width = img.Width"; -_ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 783;BA.debugLine="ret.Height = img.Height"; -_ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 784;BA.debugLine="ret.Data = pixels"; -_ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 785;BA.debugLine="Return ret"; -if (true) return _ret; - //BA.debugLineNum = 786;BA.debugLine="End Sub"; -return null; -} -public adm.keymon.com.mx.escposprinter._animage _ditherimage2d(adm.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ -byte[] _pixels = null; -int _xerror = 0; -int[] _yerrors = null; -int _i = 0; -int _y = 0; -int _x = 0; -int _lum = 0; -adm.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 794;BA.debugLine="Sub DitherImage2D(img As AnImage, threshold As Int"; - //BA.debugLineNum = 795;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; -_pixels = new byte[_img.Data /*byte[]*/ .length]; -; - //BA.debugLineNum = 796;BA.debugLine="Dim xerror As Int"; -_xerror = 0; - //BA.debugLineNum = 797;BA.debugLine="Dim yerrors(img.Width) As Int"; -_yerrors = new int[_img.Width /*int*/ ]; -; - //BA.debugLineNum = 798;BA.debugLine="For i = 0 To yerrors.Length -1"; -{ -final int step4 = 1; -final int limit4 = (int) (_yerrors.length-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 799;BA.debugLine="yerrors(0) = 0"; -_yerrors[(int) (0)] = (int) (0); - } -}; - //BA.debugLineNum = 801;BA.debugLine="For y = 0 To img.Height - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_img.Height /*int*/ -1); -_y = (int) (0) ; -for (;_y <= limit7 ;_y = _y + step7 ) { - //BA.debugLineNum = 802;BA.debugLine="xerror = 0 ' reset on each new line"; -_xerror = (int) (0); - //BA.debugLineNum = 803;BA.debugLine="For x = 0 To img.Width - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_img.Width /*int*/ -1); -_x = (int) (0) ; -for (;_x <= limit9 ;_x = _x + step9 ) { - //BA.debugLineNum = 804;BA.debugLine="Dim lum As Int = Bit.And(img.Data(y*img.Width +"; -_lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [(int) (_y*_img.Width /*int*/ +_x)]),((int)0xff)); - //BA.debugLineNum = 805;BA.debugLine="lum = lum + xerror + yerrors(x)"; -_lum = (int) (_lum+_xerror+_yerrors[_x]); - //BA.debugLineNum = 806;BA.debugLine="If lum < threshold Then"; -if (_lum<_threshold) { - //BA.debugLineNum = 807;BA.debugLine="xerror = lum/2"; -_xerror = (int) (_lum/(double)2); - //BA.debugLineNum = 808;BA.debugLine="yerrors(x) = xerror"; -_yerrors[_x] = _xerror; - //BA.debugLineNum = 809;BA.debugLine="lum = 1"; -_lum = (int) (1); - }else { - //BA.debugLineNum = 811;BA.debugLine="xerror = (lum - 255)/2"; -_xerror = (int) ((_lum-255)/(double)2); - //BA.debugLineNum = 812;BA.debugLine="yerrors(x) = xerror"; -_yerrors[_x] = _xerror; - //BA.debugLineNum = 813;BA.debugLine="lum = 0"; -_lum = (int) (0); - }; - //BA.debugLineNum = 815;BA.debugLine="pixels(y*img.Width + x) = lum"; -_pixels[(int) (_y*_img.Width /*int*/ +_x)] = (byte) (_lum); - } -}; - } -}; - //BA.debugLineNum = 818;BA.debugLine="Dim ret As AnImage"; -_ret = new adm.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 819;BA.debugLine="ret.Width = img.Width"; -_ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 820;BA.debugLine="ret.Height = img.Height"; -_ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 821;BA.debugLine="ret.Data = pixels"; -_ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 822;BA.debugLine="Return ret"; -if (true) return _ret; - //BA.debugLineNum = 823;BA.debugLine="End Sub"; -return null; -} -public String _filltriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points) throws Exception{ -int _tx = 0; -int _ty = 0; -double _dx0 = 0; -double _dx1 = 0; -double _dx2 = 0; -double _x3 = 0; -double _x4 = 0; -double _y3 = 0; -double _y4 = 0; -int _inc = 0; -int _x = 0; - //BA.debugLineNum = 544;BA.debugLine="Private Sub FillTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 546;BA.debugLine="Dim tx, ty As Int"; -_tx = 0; -_ty = 0; - //BA.debugLineNum = 547;BA.debugLine="If y0 > y1 Then"; -if (_y0>_y1) { - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; -_tx = _x0; - //BA.debugLineNum = 548;BA.debugLine="tx = x0 : ty = y0"; -_ty = _y0; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; -_x0 = _x1; - //BA.debugLineNum = 549;BA.debugLine="x0 = x1 : y0 = y1"; -_y0 = _y1; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; -_x1 = _tx; - //BA.debugLineNum = 550;BA.debugLine="x1 = tx : y1 = ty"; -_y1 = _ty; - }; - //BA.debugLineNum = 552;BA.debugLine="If y0 > y2 Then"; -if (_y0>_y2) { - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; -_tx = _x0; - //BA.debugLineNum = 553;BA.debugLine="tx = x0 : ty = y0"; -_ty = _y0; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; -_x0 = _x2; - //BA.debugLineNum = 554;BA.debugLine="x0 = x2 : y0 = y2"; -_y0 = _y2; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; -_x2 = _tx; - //BA.debugLineNum = 555;BA.debugLine="x2 = tx : y2 = ty"; -_y2 = _ty; - }; - //BA.debugLineNum = 557;BA.debugLine="If y1 > y2 Then"; -if (_y1>_y2) { - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; -_tx = _x1; - //BA.debugLineNum = 558;BA.debugLine="tx = x1 : ty = y1"; -_ty = _y1; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; -_x1 = _x2; - //BA.debugLineNum = 559;BA.debugLine="x1 = x2 : y1 = y2"; -_y1 = _y2; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; -_x2 = _tx; - //BA.debugLineNum = 560;BA.debugLine="x2 = tx : y2 = ty"; -_y2 = _ty; - }; - //BA.debugLineNum = 563;BA.debugLine="Dim dx0, dx1, dx2 As Double"; -_dx0 = 0; -_dx1 = 0; -_dx2 = 0; - //BA.debugLineNum = 564;BA.debugLine="Dim x3, x4, y3, y4 As Double"; -_x3 = 0; -_x4 = 0; -_y3 = 0; -_y4 = 0; - //BA.debugLineNum = 565;BA.debugLine="Dim inc As Int"; -_inc = 0; - //BA.debugLineNum = 567;BA.debugLine="If y1 - y0 > 0 Then dx0=(x1-x0)/(y1-y0) Else dx0="; -if (_y1-_y0>0) { -_dx0 = (_x1-_x0)/(double)(_y1-_y0);} -else { -_dx0 = 0;}; - //BA.debugLineNum = 568;BA.debugLine="If y2 - y0 > 0 Then dx1=(x2-x0)/(y2-y0) Else dx1="; -if (_y2-_y0>0) { -_dx1 = (_x2-_x0)/(double)(_y2-_y0);} -else { -_dx1 = 0;}; - //BA.debugLineNum = 569;BA.debugLine="If y2 - y1 > 0 Then dx2=(x2-x1)/(y2-y1) Else dx2="; -if (_y2-_y1>0) { -_dx2 = (_x2-_x1)/(double)(_y2-_y1);} -else { -_dx2 = 0;}; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; -_x3 = _x0; - //BA.debugLineNum = 570;BA.debugLine="x3 = x0 : x4 = x0"; -_x4 = _x0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; -_y3 = _y0; - //BA.debugLineNum = 571;BA.debugLine="y3 = y0 : y4 = y0"; -_y4 = _y0; - //BA.debugLineNum = 572;BA.debugLine="If dx0 > dx1 Then"; -if (_dx0>_dx1) { - //BA.debugLineNum = 573;BA.debugLine="While"; -__c.While(); - //BA.debugLineNum = 574;BA.debugLine="Do While y3 <= y1"; -while (_y3<=_y1) { - //BA.debugLineNum = 575;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; -if (_x3>_x4) { -_inc = (int) (-1);} -else { -_inc = (int) (1);}; - //BA.debugLineNum = 576;BA.debugLine="For x = x3 To x4 Step inc"; -{ -final int step40 = _inc; -final int limit40 = (int) (_x4); -_x = (int) (_x3) ; -for (;(step40 > 0 && _x <= limit40) || (step40 < 0 && _x >= limit40) ;_x = ((int)(0 + _x + step40)) ) { - //BA.debugLineNum = 577;BA.debugLine="points(x, y3) = 1"; -_points[_x][(int) (_y3)] = (byte) (1); - } -}; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_y3 = _y3+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_y4 = _y4+1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_x3 = _x3+_dx1; - //BA.debugLineNum = 579;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_x4 = _x4+_dx0; - } -; - //BA.debugLineNum = 581;BA.debugLine="x4=x1"; -_x4 = _x1; - //BA.debugLineNum = 582;BA.debugLine="y4=y1"; -_y4 = _y1; - //BA.debugLineNum = 583;BA.debugLine="Do While y3 <= y2"; -while (_y3<=_y2) { - //BA.debugLineNum = 584;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; -if (_x3>_x4) { -_inc = (int) (-1);} -else { -_inc = (int) (1);}; - //BA.debugLineNum = 585;BA.debugLine="For x = x3 To x4 Step inc"; -{ -final int step52 = _inc; -final int limit52 = (int) (_x4); -_x = (int) (_x3) ; -for (;(step52 > 0 && _x <= limit52) || (step52 < 0 && _x >= limit52) ;_x = ((int)(0 + _x + step52)) ) { - //BA.debugLineNum = 586;BA.debugLine="points(x ,y3) = 1"; -_points[_x][(int) (_y3)] = (byte) (1); - } -}; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_y3 = _y3+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_y4 = _y4+1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_x3 = _x3+_dx1; - //BA.debugLineNum = 588;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx1 : x4"; -_x4 = _x4+_dx2; - } -; - }else { - //BA.debugLineNum = 591;BA.debugLine="While"; -__c.While(); - //BA.debugLineNum = 592;BA.debugLine="Do While y3 <= y1"; -while (_y3<=_y1) { - //BA.debugLineNum = 593;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; -if (_x3>_x4) { -_inc = (int) (-1);} -else { -_inc = (int) (1);}; - //BA.debugLineNum = 594;BA.debugLine="For x = x3 To x4 Step inc"; -{ -final int step64 = _inc; -final int limit64 = (int) (_x4); -_x = (int) (_x3) ; -for (;(step64 > 0 && _x <= limit64) || (step64 < 0 && _x >= limit64) ;_x = ((int)(0 + _x + step64)) ) { - //BA.debugLineNum = 595;BA.debugLine="points(x, y3) = 1"; -_points[_x][(int) (_y3)] = (byte) (1); - } -}; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; -_y3 = _y3+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; -_y4 = _y4+1; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; -_x3 = _x3+_dx0; - //BA.debugLineNum = 597;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx0 : x4"; -_x4 = _x4+_dx1; - } -; - //BA.debugLineNum = 599;BA.debugLine="x3=x1"; -_x3 = _x1; - //BA.debugLineNum = 600;BA.debugLine="y3=y1"; -_y3 = _y1; - //BA.debugLineNum = 601;BA.debugLine="Do While y3<=y2"; -while (_y3<=_y2) { - //BA.debugLineNum = 602;BA.debugLine="If x3 > x4 Then inc = -1 Else inc = 1"; -if (_x3>_x4) { -_inc = (int) (-1);} -else { -_inc = (int) (1);}; - //BA.debugLineNum = 603;BA.debugLine="For x = x3 To x4 Step inc"; -{ -final int step76 = _inc; -final int limit76 = (int) (_x4); -_x = (int) (_x3) ; -for (;(step76 > 0 && _x <= limit76) || (step76 < 0 && _x >= limit76) ;_x = ((int)(0 + _x + step76)) ) { - //BA.debugLineNum = 604;BA.debugLine="points(x, y3) = 1"; -_points[_x][(int) (_y3)] = (byte) (1); - } -}; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; -_y3 = _y3+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; -_y4 = _y4+1; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; -_x3 = _x3+_dx2; - //BA.debugLineNum = 606;BA.debugLine="y3 = y3 + 1 : y4 = y4 + 1 : x3 = x3 + dx2 : x4"; -_x4 = _x4+_dx1; - } -; - }; - //BA.debugLineNum = 609;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.escposprinter._animage _imagetobwimage(anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp) throws Exception{ -b4a.example.bitmapcreator _bc = null; -int _w = 0; -int _h = 0; -byte[] _pixels = null; -int _y = 0; -int _x = 0; -int _j = 0; -b4a.example.bitmapcreator._argbcolor _col = null; -int _lum = 0; -adm.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 713;BA.debugLine="Sub ImageToBWIMage(bmp As Bitmap) As AnImage"; - //BA.debugLineNum = 714;BA.debugLine="Dim BC As BitmapCreator 'ignore"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 715;BA.debugLine="Dim W As Int = bmp.Width"; -_w = _bmp.getWidth(); - //BA.debugLineNum = 716;BA.debugLine="Dim H As Int = bmp.Height"; -_h = _bmp.getHeight(); - //BA.debugLineNum = 717;BA.debugLine="Dim pixels(W * H) As Byte"; -_pixels = new byte[(int) (_w*_h)]; -; - //BA.debugLineNum = 719;BA.debugLine="For y = 0 To H - 1"; -{ -final int step5 = 1; -final int limit5 = (int) (_h-1); -_y = (int) (0) ; -for (;_y <= limit5 ;_y = _y + step5 ) { - //BA.debugLineNum = 720;BA.debugLine="For x = 0 To W - 1"; -{ -final int step6 = 1; -final int limit6 = (int) (_w-1); -_x = (int) (0) ; -for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 721;BA.debugLine="Dim j As Int = bmp.GetPixel(x, y)"; -_j = _bmp.GetPixel(_x,_y); - //BA.debugLineNum = 723;BA.debugLine="Dim col As ARGBColor"; -_col = new b4a.example.bitmapcreator._argbcolor(); - //BA.debugLineNum = 724;BA.debugLine="BC.ColorToARGB(j, col )"; -_bc._colortoargb(_j,_col); - //BA.debugLineNum = 725;BA.debugLine="Dim lum As Int = col.r * 0.2 + col.b*0.1 + col."; -_lum = (int) (_col.r*0.2+_col.b*0.1+_col.g*0.7); - //BA.debugLineNum = 726;BA.debugLine="If lum> 255 Then lum = 255"; -if (_lum>255) { -_lum = (int) (255);}; - //BA.debugLineNum = 728;BA.debugLine="pixels(y*W + x) = lum"; -_pixels[(int) (_y*_w+_x)] = (byte) (_lum); - } -}; - } -}; - //BA.debugLineNum = 731;BA.debugLine="Dim ret As AnImage"; -_ret = new adm.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 732;BA.debugLine="ret.Width = bmp.Width"; -_ret.Width /*int*/ = _bmp.getWidth(); - //BA.debugLineNum = 733;BA.debugLine="ret.Height = bmp.Height"; -_ret.Height /*int*/ = _bmp.getHeight(); - //BA.debugLineNum = 734;BA.debugLine="ret.Data = pixels"; -_ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 735;BA.debugLine="Return ret"; -if (true) return _ret; - //BA.debugLineNum = 736;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _vcallback,String _veventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 75;BA.debugLine="Public Sub Initialize(vCallback As Object, vEventN"; - //BA.debugLineNum = 76;BA.debugLine="EventName = vEventName"; -_eventname = _veventname; - //BA.debugLineNum = 77;BA.debugLine="CallBack = vCallback"; -_callback = _vcallback; - //BA.debugLineNum = 78;BA.debugLine="Serial1.Initialize(\"Serial1\")"; -_serial1.Initialize("Serial1"); - //BA.debugLineNum = 79;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 80;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 81;BA.debugLine="End Sub"; -return ""; -} -public boolean _isbluetoothon() throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Public Sub IsBluetoothOn As Boolean"; - //BA.debugLineNum = 95;BA.debugLine="Return Serial1.IsEnabled"; -if (true) return _serial1.IsEnabled(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return false; -} -public boolean _isconnected() throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Public Sub IsConnected As Boolean"; - //BA.debugLineNum = 90;BA.debugLine="Return Connected"; -if (true) return _connected; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return false; -} -public adm.keymon.com.mx.escposprinter._animage _packimage(adm.keymon.com.mx.escposprinter._animage _imagedata) throws Exception{ -int _xbytes = 0; -byte[] _pixels = null; -byte[] _masks = null; -int _index = 0; -int _y = 0; -int _x = 0; -byte _xbyte = (byte)0; -int _b = 0; -byte _pix = (byte)0; -adm.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 865;BA.debugLine="Public Sub PackImage(imagedata As AnImage) As AnIm"; - //BA.debugLineNum = 866;BA.debugLine="Dim xbytes As Int = imagedata.width/8"; -_xbytes = (int) (_imagedata.Width /*int*/ /(double)8); - //BA.debugLineNum = 867;BA.debugLine="Dim pixels(xbytes * imagedata.height) As Byte"; -_pixels = new byte[(int) (_xbytes*_imagedata.Height /*int*/ )]; -; - //BA.debugLineNum = 868;BA.debugLine="Dim masks(8) As Byte"; -_masks = new byte[(int) (8)]; -; - //BA.debugLineNum = 869;BA.debugLine="masks(0) = 0x80"; -_masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 870;BA.debugLine="masks(1) = 0x40"; -_masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 871;BA.debugLine="masks(2) = 0x20"; -_masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 872;BA.debugLine="masks(3) = 0x10"; -_masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 873;BA.debugLine="masks(4) = 0x08"; -_masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 874;BA.debugLine="masks(5) = 0x04"; -_masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 875;BA.debugLine="masks(6) = 0x02"; -_masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 876;BA.debugLine="masks(7) = 0x01"; -_masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 877;BA.debugLine="Dim index As Int = 0"; -_index = (int) (0); - //BA.debugLineNum = 878;BA.debugLine="For y = 0 To imagedata.Height - 1"; -{ -final int step13 = 1; -final int limit13 = (int) (_imagedata.Height /*int*/ -1); -_y = (int) (0) ; -for (;_y <= limit13 ;_y = _y + step13 ) { - //BA.debugLineNum = 879;BA.debugLine="For x = 0 To xbytes - 1"; -{ -final int step14 = 1; -final int limit14 = (int) (_xbytes-1); -_x = (int) (0) ; -for (;_x <= limit14 ;_x = _x + step14 ) { - //BA.debugLineNum = 880;BA.debugLine="Dim xbyte As Byte = 0"; -_xbyte = (byte) (0); - //BA.debugLineNum = 881;BA.debugLine="For b = 0 To 7"; -{ -final int step16 = 1; -final int limit16 = (int) (7); -_b = (int) (0) ; -for (;_b <= limit16 ;_b = _b + step16 ) { - //BA.debugLineNum = 883;BA.debugLine="Dim pix As Byte = imagedata.Data(index)"; -_pix = _imagedata.Data /*byte[]*/ [_index]; - //BA.debugLineNum = 884;BA.debugLine="If pix <> 0 Then"; -if (_pix!=0) { - //BA.debugLineNum = 885;BA.debugLine="xbyte = xbyte + masks(b)"; -_xbyte = (byte) (_xbyte+_masks[_b]); - }; - //BA.debugLineNum = 887;BA.debugLine="index = index + 1"; -_index = (int) (_index+1); - } -}; - //BA.debugLineNum = 889;BA.debugLine="pixels(y*xbytes + x) = xbyte"; -_pixels[(int) (_y*_xbytes+_x)] = _xbyte; - } -}; - } -}; - //BA.debugLineNum = 892;BA.debugLine="Dim ret As AnImage"; -_ret = new adm.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 893;BA.debugLine="ret.Width = xbytes"; -_ret.Width /*int*/ = _xbytes; - //BA.debugLineNum = 894;BA.debugLine="ret.Height = imagedata.Height"; -_ret.Height /*int*/ = _imagedata.Height /*int*/ ; - //BA.debugLineNum = 895;BA.debugLine="ret.Data = pixels"; -_ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 896;BA.debugLine="Return ret"; -if (true) return _ret; - //BA.debugLineNum = 897;BA.debugLine="End Sub"; -return null; -} -public byte[] _packimageslice(adm.keymon.com.mx.escposprinter._animage _img,int _slice,boolean _dots24) throws Exception{ -int _bytes = 0; -byte[] _pixels = null; -int _slicestart = 0; -byte[] _masks = null; -int _x = 0; -int _s = 0; -byte _xbyte = (byte)0; -int _b = 0; -byte _pix = (byte)0; - //BA.debugLineNum = 963;BA.debugLine="Public Sub PackImageSlice(img As AnImage, slice As"; - //BA.debugLineNum = 964;BA.debugLine="Dim bytes As Int = img.width"; -_bytes = _img.Width /*int*/ ; - //BA.debugLineNum = 965;BA.debugLine="If dots24 Then"; -if (_dots24) { - //BA.debugLineNum = 966;BA.debugLine="Dim pixels(bytes * 3) As Byte"; -_pixels = new byte[(int) (_bytes*3)]; -; - //BA.debugLineNum = 967;BA.debugLine="Dim slicestart As Int = slice * bytes * 8 * 3"; -_slicestart = (int) (_slice*_bytes*8*3); - }else { - //BA.debugLineNum = 969;BA.debugLine="Dim pixels(bytes) As Byte"; -_pixels = new byte[_bytes]; -; - //BA.debugLineNum = 970;BA.debugLine="Dim slicestart As Int = slice * bytes * 8"; -_slicestart = (int) (_slice*_bytes*8); - }; - //BA.debugLineNum = 973;BA.debugLine="Dim masks(8) As Byte"; -_masks = new byte[(int) (8)]; -; - //BA.debugLineNum = 974;BA.debugLine="masks(0) = 0x80"; -_masks[(int) (0)] = (byte) (((int)0x80)); - //BA.debugLineNum = 975;BA.debugLine="masks(1) = 0x40"; -_masks[(int) (1)] = (byte) (((int)0x40)); - //BA.debugLineNum = 976;BA.debugLine="masks(2) = 0x20"; -_masks[(int) (2)] = (byte) (((int)0x20)); - //BA.debugLineNum = 977;BA.debugLine="masks(3) = 0x10"; -_masks[(int) (3)] = (byte) (((int)0x10)); - //BA.debugLineNum = 978;BA.debugLine="masks(4) = 0x08"; -_masks[(int) (4)] = (byte) (((int)0x08)); - //BA.debugLineNum = 979;BA.debugLine="masks(5) = 0x04"; -_masks[(int) (5)] = (byte) (((int)0x04)); - //BA.debugLineNum = 980;BA.debugLine="masks(6) = 0x02"; -_masks[(int) (6)] = (byte) (((int)0x02)); - //BA.debugLineNum = 981;BA.debugLine="masks(7) = 0x01"; -_masks[(int) (7)] = (byte) (((int)0x01)); - //BA.debugLineNum = 983;BA.debugLine="If dots24 Then"; -if (_dots24) { - //BA.debugLineNum = 984;BA.debugLine="For x = 0 To bytes - 1"; -{ -final int step19 = 1; -final int limit19 = (int) (_bytes-1); -_x = (int) (0) ; -for (;_x <= limit19 ;_x = _x + step19 ) { - //BA.debugLineNum = 985;BA.debugLine="For s = 0 To 2"; -{ -final int step20 = 1; -final int limit20 = (int) (2); -_s = (int) (0) ; -for (;_s <= limit20 ;_s = _s + step20 ) { - //BA.debugLineNum = 986;BA.debugLine="Dim xbyte As Byte = 0"; -_xbyte = (byte) (0); - //BA.debugLineNum = 987;BA.debugLine="For b = 0 To 7"; -{ -final int step22 = 1; -final int limit22 = (int) (7); -_b = (int) (0) ; -for (;_b <= limit22 ;_b = _b + step22 ) { - //BA.debugLineNum = 989;BA.debugLine="Dim pix As Byte = img.Data(slicestart + ((b +"; -_pix = _img.Data /*byte[]*/ [(int) (_slicestart+((_b+_s*8)*_bytes)+_x)]; - //BA.debugLineNum = 990;BA.debugLine="If pix <> 0 Then"; -if (_pix!=0) { - //BA.debugLineNum = 991;BA.debugLine="xbyte = xbyte + masks(b)"; -_xbyte = (byte) (_xbyte+_masks[_b]); - }; - } -}; - //BA.debugLineNum = 994;BA.debugLine="pixels(x*3+s) = xbyte"; -_pixels[(int) (_x*3+_s)] = _xbyte; - } -}; - } -}; - }else { - //BA.debugLineNum = 998;BA.debugLine="For x = 0 To bytes - 1"; -{ -final int step32 = 1; -final int limit32 = (int) (_bytes-1); -_x = (int) (0) ; -for (;_x <= limit32 ;_x = _x + step32 ) { - //BA.debugLineNum = 999;BA.debugLine="Dim xbyte As Byte = 0"; -_xbyte = (byte) (0); - //BA.debugLineNum = 1000;BA.debugLine="For b = 0 To 7"; -{ -final int step34 = 1; -final int limit34 = (int) (7); -_b = (int) (0) ; -for (;_b <= limit34 ;_b = _b + step34 ) { - //BA.debugLineNum = 1002;BA.debugLine="Dim pix As Byte = img.Data(slicestart + (b * b"; -_pix = _img.Data /*byte[]*/ [(int) (_slicestart+(_b*_bytes)+_x)]; - //BA.debugLineNum = 1003;BA.debugLine="If pix <> 0 Then"; -if (_pix!=0) { - //BA.debugLineNum = 1004;BA.debugLine="xbyte = xbyte + masks(b)"; -_xbyte = (byte) (_xbyte+_masks[_b]); - }; - } -}; - //BA.debugLineNum = 1007;BA.debugLine="pixels(x) = xbyte"; -_pixels[_x] = _xbyte; - } -}; - }; - //BA.debugLineNum = 1010;BA.debugLine="Return pixels"; -if (true) return _pixels; - //BA.debugLineNum = 1011;BA.debugLine="End Sub"; -return null; -} -public String _plotbox(int _x0,int _y0,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _x = 0; - //BA.debugLineNum = 611;BA.debugLine="Private Sub PlotBox(x0 As Int, y0 As Int, x1 As In"; - //BA.debugLineNum = 613;BA.debugLine="PlotLine(x0, y0, x0, y1, points)"; -_plotline(_x0,_y0,_x0,_y1,_points); - //BA.debugLineNum = 614;BA.debugLine="PlotLine(x0, y0, x1, y0, points)"; -_plotline(_x0,_y0,_x1,_y0,_points); - //BA.debugLineNum = 615;BA.debugLine="PlotLine(x1, y0, x1, y1, points)"; -_plotline(_x1,_y0,_x1,_y1,_points); - //BA.debugLineNum = 616;BA.debugLine="PlotLine(x0, y1, x1, y1, points)"; -_plotline(_x0,_y1,_x1,_y1,_points); - //BA.debugLineNum = 617;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 618;BA.debugLine="For x = x0 To x1"; -{ -final int step6 = 1; -final int limit6 = _x1; -_x = _x0 ; -for (;_x <= limit6 ;_x = _x + step6 ) { - //BA.debugLineNum = 619;BA.debugLine="PlotLine(x, y0, x, y1, points)"; -_plotline(_x,_y0,_x,_y1,_points); - } -}; - }; - //BA.debugLineNum = 622;BA.debugLine="End Sub"; -return ""; -} -public String _plotcircle(int _radius,int _quadrants,int _x1,int _y1,byte[][] _points,int _fill) throws Exception{ -int _mask = 0; -int _q = 0; -int _i = 0; -double _x = 0; -double _y = 0; - //BA.debugLineNum = 625;BA.debugLine="Private Sub PlotCircle(radius As Int, quadrants As"; - //BA.debugLineNum = 627;BA.debugLine="Dim mask As Int = 1"; -_mask = (int) (1); - //BA.debugLineNum = 628;BA.debugLine="For q = 3 To 0 Step -1"; -{ -final int step2 = -1; -final int limit2 = (int) (0); -_q = (int) (3) ; -for (;_q >= limit2 ;_q = _q + step2 ) { - //BA.debugLineNum = 629;BA.debugLine="If Bit.And(quadrants, mask) <> 0 Then"; -if (__c.Bit.And(_quadrants,_mask)!=0) { - //BA.debugLineNum = 630;BA.debugLine="For i = q*90 To q*90+90 Step 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_q*90+90); -_i = (int) (_q*90) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 631;BA.debugLine="Dim x,y As Double"; -_x = 0; -_y = 0; - //BA.debugLineNum = 632;BA.debugLine="x = x1 - SinD(i)*radius"; -_x = _x1-__c.SinD(_i)*_radius; - //BA.debugLineNum = 633;BA.debugLine="y = y1 - CosD(i)*radius"; -_y = _y1-__c.CosD(_i)*_radius; - //BA.debugLineNum = 634;BA.debugLine="If fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 635;BA.debugLine="PlotLine(x1, y1, x, y, points)"; -_plotline(_x1,_y1,(int) (_x),(int) (_y),_points); - }else { - //BA.debugLineNum = 637;BA.debugLine="points(Round(x), Round(y)) = 1"; -_points[(int) (__c.Round(_x))][(int) (__c.Round(_y))] = (byte) (1); - }; - } -}; - }; - //BA.debugLineNum = 641;BA.debugLine="mask = Bit.ShiftLeft(mask, 1)"; -_mask = __c.Bit.ShiftLeft(_mask,(int) (1)); - } -}; - //BA.debugLineNum = 643;BA.debugLine="End Sub"; -return ""; -} -public String _plotline(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ - //BA.debugLineNum = 646;BA.debugLine="Private Sub PlotLine(x0 As Int, y0 As Int, x1 As I"; - //BA.debugLineNum = 647;BA.debugLine="If Abs(y1 - y0) < Abs(x1 - x0) Then"; -if (__c.Abs(_y1-_y0)<__c.Abs(_x1-_x0)) { - //BA.debugLineNum = 648;BA.debugLine="If x0 > x1 Then"; -if (_x0>_x1) { - //BA.debugLineNum = 649;BA.debugLine="PlotLineLow(x1, y1, x0, y0, points)"; -_plotlinelow(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 651;BA.debugLine="PlotLineLow(x0, y0, x1, y1, points)"; -_plotlinelow(_x0,_y0,_x1,_y1,_points); - }; - }else { - //BA.debugLineNum = 654;BA.debugLine="If y0 > y1 Then"; -if (_y0>_y1) { - //BA.debugLineNum = 655;BA.debugLine="PlotLineHigh(x1, y1, x0, y0, points)"; -_plotlinehigh(_x1,_y1,_x0,_y0,_points); - }else { - //BA.debugLineNum = 657;BA.debugLine="PlotLineHigh(x0, y0, x1, y1, points)"; -_plotlinehigh(_x0,_y0,_x1,_y1,_points); - }; - }; - //BA.debugLineNum = 660;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinehigh(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ -int _dx = 0; -int _dy = 0; -int _xi = 0; -int _d = 0; -int _x = 0; -int _y = 0; - //BA.debugLineNum = 662;BA.debugLine="Private Sub PlotLineHigh(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 663;BA.debugLine="Dim dx As Int = x1 - x0"; -_dx = (int) (_x1-_x0); - //BA.debugLineNum = 664;BA.debugLine="Dim dy As Int = y1 - y0"; -_dy = (int) (_y1-_y0); - //BA.debugLineNum = 665;BA.debugLine="Dim xi As Int = 1"; -_xi = (int) (1); - //BA.debugLineNum = 666;BA.debugLine="If dx < 0 Then"; -if (_dx<0) { - //BA.debugLineNum = 667;BA.debugLine="xi = -1"; -_xi = (int) (-1); - //BA.debugLineNum = 668;BA.debugLine="dx = -dx"; -_dx = (int) (-_dx); - }; - //BA.debugLineNum = 670;BA.debugLine="Dim D As Int = 2*dx - dy"; -_d = (int) (2*_dx-_dy); - //BA.debugLineNum = 671;BA.debugLine="Dim x As Int = x0"; -_x = _x0; - //BA.debugLineNum = 672;BA.debugLine="For y = y0 To y1"; -{ -final int step10 = 1; -final int limit10 = _y1; -_y = _y0 ; -for (;_y <= limit10 ;_y = _y + step10 ) { - //BA.debugLineNum = 673;BA.debugLine="points(x,y) = 1"; -_points[_x][_y] = (byte) (1); - //BA.debugLineNum = 674;BA.debugLine="If D > 0 Then"; -if (_d>0) { - //BA.debugLineNum = 675;BA.debugLine="x = x + xi"; -_x = (int) (_x+_xi); - //BA.debugLineNum = 676;BA.debugLine="D = D - 2*dy"; -_d = (int) (_d-2*_dy); - }; - //BA.debugLineNum = 678;BA.debugLine="D = D + 2*dx"; -_d = (int) (_d+2*_dx); - } -}; - //BA.debugLineNum = 680;BA.debugLine="End Sub"; -return ""; -} -public String _plotlinelow(int _x0,int _y0,int _x1,int _y1,byte[][] _points) throws Exception{ -int _dx = 0; -int _dy = 0; -int _yi = 0; -int _d = 0; -int _y = 0; -int _x = 0; - //BA.debugLineNum = 682;BA.debugLine="Private Sub PlotLineLow(x0 As Int, y0 As Int, x1 A"; - //BA.debugLineNum = 683;BA.debugLine="Dim dx As Int = x1 - x0"; -_dx = (int) (_x1-_x0); - //BA.debugLineNum = 684;BA.debugLine="Dim dy As Int = y1 - y0"; -_dy = (int) (_y1-_y0); - //BA.debugLineNum = 685;BA.debugLine="Dim yi As Int = 1"; -_yi = (int) (1); - //BA.debugLineNum = 686;BA.debugLine="If dy < 0 Then"; -if (_dy<0) { - //BA.debugLineNum = 687;BA.debugLine="yi = -1"; -_yi = (int) (-1); - //BA.debugLineNum = 688;BA.debugLine="dy = -dy"; -_dy = (int) (-_dy); - }; - //BA.debugLineNum = 690;BA.debugLine="Dim D As Int = 2*dy - dx"; -_d = (int) (2*_dy-_dx); - //BA.debugLineNum = 691;BA.debugLine="Dim y As Int = y0"; -_y = _y0; - //BA.debugLineNum = 692;BA.debugLine="For x = x0 To x1"; -{ -final int step10 = 1; -final int limit10 = _x1; -_x = _x0 ; -for (;_x <= limit10 ;_x = _x + step10 ) { - //BA.debugLineNum = 693;BA.debugLine="points(x,y) = 1"; -_points[_x][_y] = (byte) (1); - //BA.debugLineNum = 694;BA.debugLine="If D > 0 Then"; -if (_d>0) { - //BA.debugLineNum = 695;BA.debugLine="y = y + yi"; -_y = (int) (_y+_yi); - //BA.debugLineNum = 696;BA.debugLine="D = D - 2*dx"; -_d = (int) (_d-2*_dx); - }; - //BA.debugLineNum = 698;BA.debugLine="D = D + 2*dy"; -_d = (int) (_d+2*_dy); - } -}; - //BA.debugLineNum = 700;BA.debugLine="End Sub"; -return ""; -} -public String _plottriangle(int _x0,int _y0,int _x1,int _y1,int _x2,int _y2,byte[][] _points,int _fill) throws Exception{ - //BA.debugLineNum = 534;BA.debugLine="Private Sub PlotTriangle(x0 As Int, y0 As Int, x1"; - //BA.debugLineNum = 536;BA.debugLine="PlotLine(x0, y0, x1, y1, points)"; -_plotline(_x0,_y0,_x1,_y1,_points); - //BA.debugLineNum = 537;BA.debugLine="PlotLine(x1, y1, x2, y2, points)"; -_plotline(_x1,_y1,_x2,_y2,_points); - //BA.debugLineNum = 538;BA.debugLine="PlotLine(x2, y2, x0, y0, points)"; -_plotline(_x2,_y2,_x0,_y0,_points); - //BA.debugLineNum = 539;BA.debugLine="If Fill > 0 Then"; -if (_fill>0) { - //BA.debugLineNum = 540;BA.debugLine="FillTriangle(x0, y0, x1, y1, x2, y2, points)"; -_filltriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points); - }; - //BA.debugLineNum = 542;BA.debugLine="End Sub"; -return ""; -} -public String _printandfeedpaper(int _units) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 160;BA.debugLine="Public Sub PrintAndFeedPaper(units As Int)"; - //BA.debugLineNum = 161;BA.debugLine="WriteString(ESC & \"J\")"; -_writestring(_esc+"J"); - //BA.debugLineNum = 162;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 163;BA.debugLine="params(0) = units"; -_params[(int) (0)] = (byte) (_units); - //BA.debugLineNum = 164;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public int _printimage(adm.keymon.com.mx.escposprinter._animage _img) throws Exception{ -int _xh = 0; -int _xl = 0; -int _yh = 0; -int _yl = 0; -byte[] _params = null; - //BA.debugLineNum = 837;BA.debugLine="Public Sub PrintImage(img As AnImage) As Int"; - //BA.debugLineNum = 840;BA.debugLine="If img.width > 72 Then Return -1"; -if (_img.Width /*int*/ >72) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 841;BA.debugLine="If img.height > 512 Then Return -2"; -if (_img.Height /*int*/ >512) { -if (true) return (int) (-2);}; - //BA.debugLineNum = 842;BA.debugLine="If img.data.Length < img.width * img.height Then"; -if (_img.Data /*byte[]*/ .length<_img.Width /*int*/ *_img.Height /*int*/ ) { -if (true) return (int) (-3);}; - //BA.debugLineNum = 843;BA.debugLine="Dim xh As Int = img.width / 256"; -_xh = (int) (_img.Width /*int*/ /(double)256); - //BA.debugLineNum = 844;BA.debugLine="Dim xl As Int = img.width - xh * 256"; -_xl = (int) (_img.Width /*int*/ -_xh*256); - //BA.debugLineNum = 845;BA.debugLine="Dim yh As Int = img.height / 256"; -_yh = (int) (_img.Height /*int*/ /(double)256); - //BA.debugLineNum = 846;BA.debugLine="Dim yl As Int = img.height - yh * 256"; -_yl = (int) (_img.Height /*int*/ -_yh*256); - //BA.debugLineNum = 847;BA.debugLine="Dim params(5) As Byte"; -_params = new byte[(int) (5)]; -; - //BA.debugLineNum = 848;BA.debugLine="params(0) = 0 '"; -_params[(int) (0)] = (byte) (0); - //BA.debugLineNum = 849;BA.debugLine="params(1) = xl"; -_params[(int) (1)] = (byte) (_xl); - //BA.debugLineNum = 850;BA.debugLine="params(2) = xh"; -_params[(int) (2)] = (byte) (_xh); - //BA.debugLineNum = 851;BA.debugLine="params(3) = yl"; -_params[(int) (3)] = (byte) (_yl); - //BA.debugLineNum = 852;BA.debugLine="params(4) = yh"; -_params[(int) (4)] = (byte) (_yh); - //BA.debugLineNum = 853;BA.debugLine="WriteString(GS & \"v0\")"; -_writestring(_gs+"v0"); - //BA.debugLineNum = 854;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 855;BA.debugLine="WriteBytes(img.data)"; -_writebytes(_img.Data /*byte[]*/ ); - //BA.debugLineNum = 856;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 857;BA.debugLine="Return 0"; -if (true) return (int) (0); - //BA.debugLineNum = 858;BA.debugLine="End Sub"; -return 0; -} -public int _printimage2(int _width,byte[] _data,boolean _highdensity,boolean _dotds24) throws Exception{ -String _d = ""; -int _xh = 0; -int _xl = 0; -byte[] _params = null; - //BA.debugLineNum = 927;BA.debugLine="Public Sub PrintImage2(width As Int, data() As Byt"; - //BA.debugLineNum = 928;BA.debugLine="Dim d As String = Chr(0)"; -_d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 929;BA.debugLine="If Not(highdensity) And Not(dotds24 ) Then"; -if (__c.Not(_highdensity) && __c.Not(_dotds24)) { - //BA.debugLineNum = 930;BA.debugLine="d = Chr(0)"; -_d = BA.ObjectToString(__c.Chr((int) (0))); - //BA.debugLineNum = 931;BA.debugLine="If width > 288 Then Return -1"; -if (_width>288) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 932;BA.debugLine="If data.Length <> width Then Return -3"; -if (_data.length!=_width) { -if (true) return (int) (-3);}; - }else if(_highdensity && __c.Not(_dotds24)) { - //BA.debugLineNum = 934;BA.debugLine="d = Chr(1)"; -_d = BA.ObjectToString(__c.Chr((int) (1))); - //BA.debugLineNum = 935;BA.debugLine="If width > 576 Then Return -1"; -if (_width>576) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 936;BA.debugLine="If data.Length <> width Then Return -3"; -if (_data.length!=_width) { -if (true) return (int) (-3);}; - }else if(__c.Not(_highdensity) && _dotds24) { - //BA.debugLineNum = 938;BA.debugLine="d = Chr(32)"; -_d = BA.ObjectToString(__c.Chr((int) (32))); - //BA.debugLineNum = 939;BA.debugLine="If width > 288 Then Return -1"; -if (_width>288) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 940;BA.debugLine="If data.Length <> width*3 Then Return -3"; -if (_data.length!=_width*3) { -if (true) return (int) (-3);}; - }else { - //BA.debugLineNum = 942;BA.debugLine="d = Chr(33)"; -_d = BA.ObjectToString(__c.Chr((int) (33))); - //BA.debugLineNum = 943;BA.debugLine="If width > 576 Then Return -1"; -if (_width>576) { -if (true) return (int) (-1);}; - //BA.debugLineNum = 944;BA.debugLine="If data.Length <> width*3 Then Return -3"; -if (_data.length!=_width*3) { -if (true) return (int) (-3);}; - }; - //BA.debugLineNum = 946;BA.debugLine="Dim xh As Int = width / 256"; -_xh = (int) (_width/(double)256); - //BA.debugLineNum = 947;BA.debugLine="Dim xl As Int = width - xh * 256"; -_xl = (int) (_width-_xh*256); - //BA.debugLineNum = 948;BA.debugLine="Dim params(2) As Byte"; -_params = new byte[(int) (2)]; -; - //BA.debugLineNum = 949;BA.debugLine="params(0) = xl"; -_params[(int) (0)] = (byte) (_xl); - //BA.debugLineNum = 950;BA.debugLine="params(1) = xh"; -_params[(int) (1)] = (byte) (_xh); - //BA.debugLineNum = 951;BA.debugLine="WriteString(ESC & \"*\" & d)"; -_writestring(_esc+"*"+_d); - //BA.debugLineNum = 952;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 953;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 954;BA.debugLine="WriteString(CRLF)"; -_writestring(__c.CRLF); - //BA.debugLineNum = 955;BA.debugLine="Return 0"; -if (true) return (int) (0); - //BA.debugLineNum = 956;BA.debugLine="End Sub"; -return 0; -} -public String _reset() throws Exception{ - //BA.debugLineNum = 149;BA.debugLine="Public Sub Reset"; - //BA.debugLineNum = 150;BA.debugLine="WriteString(ESC & \"@\")"; -_writestring(_esc+"@"); - //BA.debugLineNum = 151;BA.debugLine="End Sub"; -return ""; -} -public String _serial1_connected(boolean _success) throws Exception{ - //BA.debugLineNum = 1115;BA.debugLine="Private Sub Serial1_Connected (Success As Boolean)"; - //BA.debugLineNum = 1116;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 1117;BA.debugLine="Astream.Initialize(Serial1.InputStream, Serial1."; -_astream.Initialize(ba,_serial1.getInputStream(),_serial1.getOutputStream(),"astream"); - //BA.debugLineNum = 1118;BA.debugLine="Connected = True"; -_connected = __c.True; - //BA.debugLineNum = 1119;BA.debugLine="ConnectedError = \"\""; -_connectederror = ""; - //BA.debugLineNum = 1120;BA.debugLine="Serial1.Listen"; -_serial1.Listen(ba); - }else { - //BA.debugLineNum = 1122;BA.debugLine="Connected = False"; -_connected = __c.False; - //BA.debugLineNum = 1123;BA.debugLine="ConnectedError = LastException.Message"; -_connectederror = __c.LastException(getActivityBA()).getMessage(); - }; - //BA.debugLineNum = 1125;BA.debugLine="If SubExists(CallBack, EventName & \"_Connected\")"; -if (__c.SubExists(ba,_callback,_eventname+"_Connected")) { - //BA.debugLineNum = 1126;BA.debugLine="CallSub2(CallBack, EventName & \"_Connected\", Suc"; -__c.CallSubNew2(ba,_callback,_eventname+"_Connected",(Object)(_success)); - }; - //BA.debugLineNum = 1128;BA.debugLine="End Sub"; -return ""; -} -public String _setbarcodeheight(int _height) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 1019;BA.debugLine="Public Sub setBarCodeHeight(height As Int)"; - //BA.debugLineNum = 1020;BA.debugLine="WriteString(GS & \"h\")"; -_writestring(_gs+"h"); - //BA.debugLineNum = 1021;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 1022;BA.debugLine="params(0) = height"; -_params[(int) (0)] = (byte) (_height); - //BA.debugLineNum = 1023;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1024;BA.debugLine="End Sub"; -return ""; -} -public String _setbarcodeleft(int _left) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 1028;BA.debugLine="Public Sub setBarCodeLeft(left As Int)"; - //BA.debugLineNum = 1029;BA.debugLine="WriteString(GS & \"x\")"; -_writestring(_gs+"x"); - //BA.debugLineNum = 1030;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 1031;BA.debugLine="params(0) = left"; -_params[(int) (0)] = (byte) (_left); - //BA.debugLineNum = 1032;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1033;BA.debugLine="End Sub"; -return ""; -} -public String _setbarcodewidth(int _width) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 1038;BA.debugLine="Public Sub setBarCodeWidth(width As Int)"; - //BA.debugLineNum = 1039;BA.debugLine="WriteString(GS & \"w\")"; -_writestring(_gs+"w"); - //BA.debugLineNum = 1040;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 1041;BA.debugLine="params(0) = width"; -_params[(int) (0)] = (byte) (_width); - //BA.debugLineNum = 1042;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1043;BA.debugLine="End Sub"; -return ""; -} -public String _setcharacterfont(int _font) throws Exception{ - //BA.debugLineNum = 247;BA.debugLine="Public Sub setCharacterFont(font As Int)"; - //BA.debugLineNum = 248;BA.debugLine="WriteString(ESC & \"M\" & Chr(Bit.And(1,font)))"; -_writestring(_esc+"M"+BA.ObjectToString(__c.Chr(__c.Bit.And((int) (1),_font)))); - //BA.debugLineNum = 249;BA.debugLine="End Sub"; -return ""; -} -public String _setcharacterspacing(int _spacing) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 168;BA.debugLine="Public Sub setCharacterSpacing(spacing As Int)"; - //BA.debugLineNum = 169;BA.debugLine="WriteString(ESC & \" \")"; -_writestring(_esc+" "); - //BA.debugLineNum = 170;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 171;BA.debugLine="params(0) = spacing"; -_params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 172;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public String _setcodepage(int _codepage) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 236;BA.debugLine="Public Sub setCodePage(codepage As Int)"; - //BA.debugLineNum = 237;BA.debugLine="WriteString(ESC & \"t\")"; -_writestring(_esc+"t"); - //BA.debugLineNum = 238;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 239;BA.debugLine="params(0) = codepage"; -_params[(int) (0)] = (byte) (_codepage); - //BA.debugLineNum = 240;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 241;BA.debugLine="End Sub"; -return ""; -} -public String _sethrifont(int _font) throws Exception{ - //BA.debugLineNum = 1060;BA.debugLine="Public Sub setHriFont(font As Int)"; - //BA.debugLineNum = 1061;BA.debugLine="WriteString(GS & \"f\" & Chr(font))"; -_writestring(_gs+"f"+BA.ObjectToString(__c.Chr(_font))); - //BA.debugLineNum = 1062;BA.debugLine="End Sub"; -return ""; -} -public String _sethriposn(int _posn) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 1049;BA.debugLine="Public Sub setHriPosn(posn As Int)"; - //BA.debugLineNum = 1050;BA.debugLine="WriteString(GS & \"H\")"; -_writestring(_gs+"H"); - //BA.debugLineNum = 1051;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 1052;BA.debugLine="params(0) = posn"; -_params[(int) (0)] = (byte) (_posn); - //BA.debugLineNum = 1053;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1054;BA.debugLine="End Sub"; -return ""; -} -public String _setjustify(int _justify) throws Exception{ - //BA.debugLineNum = 230;BA.debugLine="Public Sub setJustify(justify As Int)"; - //BA.debugLineNum = 231;BA.debugLine="WriteString(ESC & \"a\" & Chr(justify + 48))"; -_writestring(_esc+"a"+BA.ObjectToString(__c.Chr((int) (_justify+48)))); - //BA.debugLineNum = 232;BA.debugLine="End Sub"; -return ""; -} -public String _setleftinset(int _inset) throws Exception{ -int _dh = 0; -int _dl = 0; -byte[] _params = null; - //BA.debugLineNum = 178;BA.debugLine="Public Sub setLeftInset(inset As Int)"; - //BA.debugLineNum = 179;BA.debugLine="Dim dh As Int = inset / 256"; -_dh = (int) (_inset/(double)256); - //BA.debugLineNum = 180;BA.debugLine="Dim dl As Int = inset - dh"; -_dl = (int) (_inset-_dh); - //BA.debugLineNum = 181;BA.debugLine="WriteString(ESC & \"$\" & Chr(dl) & Chr(dh))"; -_writestring(_esc+"$"+BA.ObjectToString(__c.Chr(_dl))+BA.ObjectToString(__c.Chr(_dh))); - //BA.debugLineNum = 182;BA.debugLine="Dim params(2) As Byte"; -_params = new byte[(int) (2)]; -; - //BA.debugLineNum = 183;BA.debugLine="params(0) = dl"; -_params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 184;BA.debugLine="params(1) = dh"; -_params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 185;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 186;BA.debugLine="End Sub"; -return ""; -} -public String _setleftmargin(int _margin) throws Exception{ -int _dh = 0; -int _dl = 0; -byte[] _params = null; - //BA.debugLineNum = 191;BA.debugLine="Public Sub setLeftMargin(margin As Int)"; - //BA.debugLineNum = 192;BA.debugLine="Dim dh As Int = margin / 256"; -_dh = (int) (_margin/(double)256); - //BA.debugLineNum = 193;BA.debugLine="Dim dl As Int = margin - dh"; -_dl = (int) (_margin-_dh); - //BA.debugLineNum = 194;BA.debugLine="WriteString(GS & \"L\")"; -_writestring(_gs+"L"); - //BA.debugLineNum = 195;BA.debugLine="Dim params(2) As Byte"; -_params = new byte[(int) (2)]; -; - //BA.debugLineNum = 196;BA.debugLine="params(0) = dl"; -_params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 197;BA.debugLine="params(1) = dh"; -_params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 198;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 199;BA.debugLine="End Sub"; -return ""; -} -public String _setlinespacing(int _spacing) throws Exception{ -byte[] _params = null; - //BA.debugLineNum = 217;BA.debugLine="Public Sub setLineSpacing(spacing As Int)"; - //BA.debugLineNum = 218;BA.debugLine="If spacing < 0 Then"; -if (_spacing<0) { - //BA.debugLineNum = 219;BA.debugLine="WriteString(ESC & \"2\")"; -_writestring(_esc+"2"); - }else { - //BA.debugLineNum = 221;BA.debugLine="WriteString(ESC & \"3\")"; -_writestring(_esc+"3"); - //BA.debugLineNum = 222;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 223;BA.debugLine="params(0) = spacing"; -_params[(int) (0)] = (byte) (_spacing); - //BA.debugLineNum = 224;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - }; - //BA.debugLineNum = 226;BA.debugLine="End Sub"; -return ""; -} -public String _setprintwidth(int _width) throws Exception{ -int _dh = 0; -int _dl = 0; -byte[] _params = null; - //BA.debugLineNum = 205;BA.debugLine="Public Sub setPrintWidth(width As Int)"; - //BA.debugLineNum = 206;BA.debugLine="Dim dh As Int = width / 256"; -_dh = (int) (_width/(double)256); - //BA.debugLineNum = 207;BA.debugLine="Dim dl As Int = width - dh"; -_dl = (int) (_width-_dh); - //BA.debugLineNum = 208;BA.debugLine="WriteString(GS & \"W\")"; -_writestring(_gs+"W"); - //BA.debugLineNum = 209;BA.debugLine="Dim params(2) As Byte"; -_params = new byte[(int) (2)]; -; - //BA.debugLineNum = 210;BA.debugLine="params(0) = dl"; -_params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 211;BA.debugLine="params(1) = dh"; -_params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 212;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 213;BA.debugLine="End Sub"; -return ""; -} -public String _setrelativeprintposn(int _relposn) throws Exception{ -int _dh = 0; -int _dl = 0; -byte[] _params = null; - //BA.debugLineNum = 269;BA.debugLine="Public Sub setRelativePrintPosn(relposn As Int)"; - //BA.debugLineNum = 270;BA.debugLine="Dim dh As Int = relposn / 256"; -_dh = (int) (_relposn/(double)256); - //BA.debugLineNum = 271;BA.debugLine="Dim dl As Int = relposn - dh"; -_dl = (int) (_relposn-_dh); - //BA.debugLineNum = 272;BA.debugLine="WriteString(ESC & \"\\\")"; -_writestring(_esc+"\\"); - //BA.debugLineNum = 273;BA.debugLine="Dim params(2) As Byte"; -_params = new byte[(int) (2)]; -; - //BA.debugLineNum = 274;BA.debugLine="params(0) = dl"; -_params[(int) (0)] = (byte) (_dl); - //BA.debugLineNum = 275;BA.debugLine="params(1) = dh"; -_params[(int) (1)] = (byte) (_dh); - //BA.debugLineNum = 276;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 277;BA.debugLine="End Sub"; -return ""; -} -public String _settabpositions(int[] _tabs) throws Exception{ -byte[] _data = null; -int _i = 0; - //BA.debugLineNum = 255;BA.debugLine="Public Sub setTabPositions(tabs() As Int)"; - //BA.debugLineNum = 256;BA.debugLine="WriteString(ESC & \"D\")"; -_writestring(_esc+"D"); - //BA.debugLineNum = 257;BA.debugLine="Dim data(tabs.Length+1) As Byte"; -_data = new byte[(int) (_tabs.length+1)]; -; - //BA.debugLineNum = 258;BA.debugLine="For i = 0 To tabs.Length - 1"; -{ -final int step3 = 1; -final int limit3 = (int) (_tabs.length-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 259;BA.debugLine="data(i) = tabs(i)"; -_data[_i] = (byte) (_tabs[_i]); - } -}; - //BA.debugLineNum = 261;BA.debugLine="data(tabs.Length) = 0"; -_data[_tabs.length] = (byte) (0); - //BA.debugLineNum = 262;BA.debugLine="WriteBytes(data)"; -_writebytes(_data); - //BA.debugLineNum = 263;BA.debugLine="End Sub"; -return ""; -} -public String _setusecustomcharacters(boolean _custom) throws Exception{ - //BA.debugLineNum = 329;BA.debugLine="Public Sub setUseCustomCharacters(custom As Boolea"; - //BA.debugLineNum = 330;BA.debugLine="If custom Then"; -if (_custom) { - //BA.debugLineNum = 331;BA.debugLine="WriteString(ESC & \"%1\")"; -_writestring(_esc+"%1"); - }else { - //BA.debugLineNum = 333;BA.debugLine="WriteString(ESC & \"%0\")"; -_writestring(_esc+"%0"); - }; - //BA.debugLineNum = 335;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.escposprinter._animage _thresholdimage(adm.keymon.com.mx.escposprinter._animage _img,int _threshold) throws Exception{ -byte[] _pixels = null; -int _i = 0; -int _lum = 0; -adm.keymon.com.mx.escposprinter._animage _ret = null; - //BA.debugLineNum = 740;BA.debugLine="Sub ThresholdImage(img As AnImage, threshold As In"; - //BA.debugLineNum = 741;BA.debugLine="Dim pixels(img.Data.Length) As Byte"; -_pixels = new byte[_img.Data /*byte[]*/ .length]; -; - //BA.debugLineNum = 742;BA.debugLine="For i = 0 To pixels.Length - 1"; -{ -final int step2 = 1; -final int limit2 = (int) (_pixels.length-1); -_i = (int) (0) ; -for (;_i <= limit2 ;_i = _i + step2 ) { - //BA.debugLineNum = 743;BA.debugLine="Dim lum As Int = Bit.And(img.Data(i), 0xff) ' by"; -_lum = __c.Bit.And((int) (_img.Data /*byte[]*/ [_i]),((int)0xff)); - //BA.debugLineNum = 744;BA.debugLine="If lum < threshold Then"; -if (_lum<_threshold) { - //BA.debugLineNum = 745;BA.debugLine="lum = 1"; -_lum = (int) (1); - }else { - //BA.debugLineNum = 747;BA.debugLine="lum = 0"; -_lum = (int) (0); - }; - //BA.debugLineNum = 749;BA.debugLine="pixels(i) = lum"; -_pixels[_i] = (byte) (_lum); - } -}; - //BA.debugLineNum = 751;BA.debugLine="Dim ret As AnImage"; -_ret = new adm.keymon.com.mx.escposprinter._animage(); - //BA.debugLineNum = 752;BA.debugLine="ret.Width = img.Width"; -_ret.Width /*int*/ = _img.Width /*int*/ ; - //BA.debugLineNum = 753;BA.debugLine="ret.Height = img.Height"; -_ret.Height /*int*/ = _img.Height /*int*/ ; - //BA.debugLineNum = 754;BA.debugLine="ret.Data = pixels"; -_ret.Data /*byte[]*/ = _pixels; - //BA.debugLineNum = 755;BA.debugLine="Return ret"; -if (true) return _ret; - //BA.debugLineNum = 756;BA.debugLine="End Sub"; -return null; -} -public String _writebarcode(String _bartype,String _data) throws Exception{ -byte[] _databytes = null; -int _dlow = 0; -byte[] _params = null; - //BA.debugLineNum = 1076;BA.debugLine="Public Sub WriteBarCode(bartype As String, data As"; - //BA.debugLineNum = 1077;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ASCII\")"; -_databytes = _data.getBytes("ASCII"); - //BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length"; -_dlow = _databytes.length; - //BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \","; -__c.LogImpl("373203715","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0); - //BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt"; -_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte"; -_params = new byte[(int) (1)]; -; - //BA.debugLineNum = 1082;BA.debugLine="params(0) = dlow"; -_params[(int) (0)] = (byte) (_dlow); - //BA.debugLineNum = 1083;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1084;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1085;BA.debugLine="End Sub"; -return ""; -} -public String _writebytes(byte[] _data) throws Exception{ - //BA.debugLineNum = 281;BA.debugLine="Public Sub WriteBytes(data() As Byte)"; - //BA.debugLineNum = 282;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 283;BA.debugLine="Astream.Write(data)"; -_astream.Write(_data); - }; - //BA.debugLineNum = 285;BA.debugLine="End Sub"; -return ""; -} -public String _writeqrcode(int _size,String _ec,int _scale,String _data) throws Exception{ -byte[] _databytes = null; -int _dhigh = 0; -int _dlow = 0; -byte[] _params = null; - //BA.debugLineNum = 1092;BA.debugLine="Public Sub WriteQRCode(size As Int, EC As String,"; - //BA.debugLineNum = 1093;BA.debugLine="Dim databytes() As Byte = data.GetBytes(\"ISO-8859"; -_databytes = _data.getBytes("ISO-8859-1"); - //BA.debugLineNum = 1094;BA.debugLine="Dim dhigh As Int = databytes.Length / 256"; -_dhigh = (int) (_databytes.length/(double)256); - //BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256"; -_dlow = (int) (_databytes.length-_dhigh*256); - //BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \","; -__c.LogImpl("373269252","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0); - //BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte"; -_params = new byte[(int) (3)]; -; - //BA.debugLineNum = 1098;BA.debugLine="params(0) = scale"; -_params[(int) (0)] = (byte) (_scale); - //BA.debugLineNum = 1099;BA.debugLine="params(1) = dlow"; -_params[(int) (1)] = (byte) (_dlow); - //BA.debugLineNum = 1100;BA.debugLine="params(2) = dhigh"; -_params[(int) (2)] = (byte) (_dhigh); - //BA.debugLineNum = 1101;BA.debugLine="WriteString(ESC & \"Z\" & Chr(size) & EC.ToUpperCas"; -_writestring(_esc+"Z"+BA.ObjectToString(__c.Chr(_size))+BA.ObjectToString(_ec.toUpperCase().charAt((int) (0)))); - //BA.debugLineNum = 1102;BA.debugLine="WriteBytes(params)"; -_writebytes(_params); - //BA.debugLineNum = 1103;BA.debugLine="WriteBytes(databytes)"; -_writebytes(_databytes); - //BA.debugLineNum = 1104;BA.debugLine="End Sub"; -return ""; -} -public String _writestring(String _data) throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub WriteString(data As String)"; - //BA.debugLineNum = 292;BA.debugLine="WriteString2(data, \"IBM437\")"; -_writestring2(_data,"IBM437"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _writestring2(String _data,String _encoding) throws Exception{ - //BA.debugLineNum = 299;BA.debugLine="Public Sub WriteString2(data As String, encoding A"; - //BA.debugLineNum = 300;BA.debugLine="Try"; -try { //BA.debugLineNum = 301;BA.debugLine="If Connected Then"; -if (_connected) { - //BA.debugLineNum = 302;BA.debugLine="Astream.Write(data.GetBytes(encoding))"; -_astream.Write(_data.getBytes(_encoding)); - }; - } - catch (Exception e6) { - ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)"; -__c.LogImpl("371303174","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0); - //BA.debugLineNum = 306;BA.debugLine="AStream_Error"; -_astream_error(); - }; - //BA.debugLineNum = 308;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/filehandler.java b/B4A/Objects/src/adm/keymon/com/mx/filehandler.java deleted file mode 100644 index 826c621..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/filehandler.java +++ /dev/null @@ -1,421 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class filehandler extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.filehandler"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.filehandler.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _ion = null; -public anywheresoftware.b4a.objects.IntentWrapper _oldintent = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _loadresult{ -public boolean IsInitialized; -public boolean Success; -public String Dir; -public String FileName; -public String RealName; -public long Size; -public long Modified; -public String MimeType; -public void Initialize() { -IsInitialized = true; -Success = false; -Dir = ""; -FileName = ""; -RealName = ""; -Size = 0L; -Modified = 0L; -MimeType = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public adm.keymon.com.mx.filehandler._loadresult _checkforreceivedfiles() throws Exception{ -anywheresoftware.b4a.objects.ActivityWrapper _activity = null; -anywheresoftware.b4a.objects.IntentWrapper _in = null; -String _uri = ""; -adm.keymon.com.mx.filehandler._loadresult _res = null; - //BA.debugLineNum = 96;BA.debugLine="Public Sub CheckForReceivedFiles As LoadResult"; - //BA.debugLineNum = 97;BA.debugLine="Dim Activity As Activity = B4XPages.GetNativePare"; -_activity = new anywheresoftware.b4a.objects.ActivityWrapper(); -_activity = _b4xpages._getnativeparent /*anywheresoftware.b4a.objects.ActivityWrapper*/ (getActivityBA(),(Object)(_b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (getActivityBA()))); - //BA.debugLineNum = 98;BA.debugLine="If IsRelevantIntent(Activity.GetStartingIntent) T"; -if (_isrelevantintent(_activity.GetStartingIntent())) { - //BA.debugLineNum = 99;BA.debugLine="Dim in As Intent = Activity.GetStartingIntent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); -_in = _activity.GetStartingIntent(); - //BA.debugLineNum = 100;BA.debugLine="Dim uri As String"; -_uri = ""; - //BA.debugLineNum = 101;BA.debugLine="If in.HasExtra(\"android.intent.extra.STREAM\") Th"; -if (_in.HasExtra("android.intent.extra.STREAM")) { - //BA.debugLineNum = 102;BA.debugLine="uri = in.As(JavaObject).RunMethod(\"getParcelabl"; -_uri = BA.ObjectToString(((anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_in.getObject()))).RunMethod("getParcelableExtra",new Object[]{(Object)("android.intent.extra.STREAM")})); - }else { - //BA.debugLineNum = 104;BA.debugLine="uri = in.GetData"; -_uri = _in.GetData(); - }; - //BA.debugLineNum = 106;BA.debugLine="Dim res As LoadResult = CreateLoadResult(True, \""; -_res = _createloadresult(__c.True,"ContentDir",_uri); - //BA.debugLineNum = 107;BA.debugLine="ExtractInformationFromURI(res.FileName, res)"; -_extractinformationfromuri(_res.FileName /*String*/ ,_res); - //BA.debugLineNum = 108;BA.debugLine="Return res"; -if (true) return _res; - }; - //BA.debugLineNum = 110;BA.debugLine="Return CreateLoadResult(False, \"\", \"\")"; -if (true) return _createloadresult(__c.False,"",""); - //BA.debugLineNum = 111;BA.debugLine="End Sub"; -return null; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 14;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 16;BA.debugLine="Private ion As Object"; -_ion = new Object(); - //BA.debugLineNum = 17;BA.debugLine="Private OldIntent As Intent"; -_oldintent = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Type LoadResult (Success As Boolean, Dir As Strin"; -; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public adm.keymon.com.mx.filehandler._loadresult _createloadresult(boolean _success,String _dir,String _filename) throws Exception{ -adm.keymon.com.mx.filehandler._loadresult _t1 = null; - //BA.debugLineNum = 149;BA.debugLine="Private Sub CreateLoadResult (Success As Boolean,"; - //BA.debugLineNum = 150;BA.debugLine="Dim t1 As LoadResult"; -_t1 = new adm.keymon.com.mx.filehandler._loadresult(); - //BA.debugLineNum = 151;BA.debugLine="t1.Initialize"; -_t1.Initialize(); - //BA.debugLineNum = 152;BA.debugLine="t1.Success = Success"; -_t1.Success /*boolean*/ = _success; - //BA.debugLineNum = 153;BA.debugLine="t1.Dir = Dir"; -_t1.Dir /*String*/ = _dir; - //BA.debugLineNum = 154;BA.debugLine="t1.FileName = FileName"; -_t1.FileName /*String*/ = _filename; - //BA.debugLineNum = 155;BA.debugLine="Return t1"; -if (true) return _t1; - //BA.debugLineNum = 156;BA.debugLine="End Sub"; -return null; -} -public String _extractinformationfromuri(String _uri,adm.keymon.com.mx.filehandler._loadresult _res) throws Exception{ -anywheresoftware.b4a.objects.ContentResolverWrapper _resolver = null; -anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper _u = null; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _rs = null; -adm.keymon.com.mx.b4xset _columns = null; -int _i = 0; - //BA.debugLineNum = 70;BA.debugLine="Private Sub ExtractInformationFromURI (Uri As Stri"; - //BA.debugLineNum = 71;BA.debugLine="Try"; -try { //BA.debugLineNum = 73;BA.debugLine="Dim resolver As ContentResolver"; -_resolver = new anywheresoftware.b4a.objects.ContentResolverWrapper(); - //BA.debugLineNum = 74;BA.debugLine="resolver.Initialize(\"\")"; -_resolver.Initialize(""); - //BA.debugLineNum = 75;BA.debugLine="Dim u As Uri"; -_u = new anywheresoftware.b4a.objects.ContentResolverWrapper.UriWrapper(); - //BA.debugLineNum = 76;BA.debugLine="u.Parse(Uri)"; -_u.Parse(_uri); - //BA.debugLineNum = 77;BA.debugLine="Dim rs As ResultSet = resolver.Query(u, Null, \"\","; -_rs = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); -_rs = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_resolver.Query(_u,(String[])(__c.Null),"",(String[])(__c.Null),"").getObject())); - //BA.debugLineNum = 78;BA.debugLine="If rs.NextRow Then"; -if (_rs.NextRow()) { - //BA.debugLineNum = 79;BA.debugLine="Dim columns As B4XSet = B4XCollections.CreateSet"; -_columns = _b4xcollections._createset /*adm.keymon.com.mx.b4xset*/ (getActivityBA()); - //BA.debugLineNum = 80;BA.debugLine="For i = 0 To rs.ColumnCount - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_rs.getColumnCount()-1); -_i = (int) (0) ; -for (;_i <= limit9 ;_i = _i + step9 ) { - //BA.debugLineNum = 81;BA.debugLine="columns.Add(rs.GetColumnName(i))"; -_columns._add /*String*/ ((Object)(_rs.GetColumnName(_i))); - } -}; - //BA.debugLineNum = 83;BA.debugLine="If columns.Contains(\"_display_name\") Then res.Re"; -if (_columns._contains /*boolean*/ ((Object)("_display_name"))) { -_res.RealName /*String*/ = _rs.GetString("_display_name");}; - //BA.debugLineNum = 84;BA.debugLine="If columns.Contains(\"_size\") Then res.Size = rs."; -if (_columns._contains /*boolean*/ ((Object)("_size"))) { -_res.Size /*long*/ = _rs.GetLong("_size");}; - //BA.debugLineNum = 85;BA.debugLine="If columns.Contains(\"last_modified\") Then res.Mo"; -if (_columns._contains /*boolean*/ ((Object)("last_modified"))) { -_res.Modified /*long*/ = _rs.GetLong("last_modified");}; - //BA.debugLineNum = 86;BA.debugLine="If columns.Contains(\"mime_type\") Then res.MimeTy"; -if (_columns._contains /*boolean*/ ((Object)("mime_type"))) { -_res.MimeType /*String*/ = _rs.GetString("mime_type");}; - }; - //BA.debugLineNum = 88;BA.debugLine="rs.Close"; -_rs.Close(); - } - catch (Exception e19) { - ba.setLastException(e19); //BA.debugLineNum = 91;BA.debugLine="Log(\"error extracting information from file prov"; -__c.LogImpl("373990165","error extracting information from file provider",0); - //BA.debugLineNum = 92;BA.debugLine="Log(LastException)"; -__c.LogImpl("373990166",BA.ObjectToString(__c.LastException(getActivityBA())),0); - }; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -return ""; -} -public Object _getba() throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Private Sub GetBA As Object"; - //BA.debugLineNum = 67;BA.debugLine="Return Me.As(JavaObject).RunMethod(\"getBA\", Null)"; -if (true) return ((anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this))).RunMethod("getBA",(Object[])(__c.Null)); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 23;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public boolean _isrelevantintent(anywheresoftware.b4a.objects.IntentWrapper _in) throws Exception{ - //BA.debugLineNum = 113;BA.debugLine="Private Sub IsRelevantIntent(in As Intent) As Bool"; - //BA.debugLineNum = 114;BA.debugLine="If in.IsInitialized And in <> OldIntent And in.Ac"; -if (_in.IsInitialized() && (_in).equals(_oldintent) == false && (_in.getAction()).equals(_in.ACTION_VIEW)) { - //BA.debugLineNum = 115;BA.debugLine="OldIntent = in"; -_oldintent = _in; - //BA.debugLineNum = 116;BA.debugLine="Return True"; -if (true) return __c.True; - }; - //BA.debugLineNum = 118;BA.debugLine="Return False"; -if (true) return __c.False; - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return false; -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _load() throws Exception{ -ResumableSub_Load rsub = new ResumableSub_Load(this); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_Load extends BA.ResumableSub { -public ResumableSub_Load(adm.keymon.com.mx.filehandler parent) { -this.parent = parent; -} -adm.keymon.com.mx.filehandler parent; -anywheresoftware.b4a.phone.Phone.ContentChooser _cc = null; -boolean _success = false; -String _dir = ""; -String _filename = ""; -adm.keymon.com.mx.filehandler._loadresult _res = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 49;BA.debugLine="Dim cc As ContentChooser"; -_cc = new anywheresoftware.b4a.phone.Phone.ContentChooser(); - //BA.debugLineNum = 50;BA.debugLine="cc.Initialize(\"cc\")"; -_cc.Initialize("cc"); - //BA.debugLineNum = 51;BA.debugLine="cc.Show(\"application/octet-stream\", \"Choose text"; -_cc.Show(ba,"application/octet-stream","Choose text file"); - //BA.debugLineNum = 52;BA.debugLine="Wait For CC_Result (Success As Boolean, Dir As St"; -parent.__c.WaitFor("cc_result", ba, this, null); -this.state = 7; -return; -case 7: -//C -this.state = 1; -_success = (Boolean) result[0]; -_dir = (String) result[1]; -_filename = (String) result[2]; -; - //BA.debugLineNum = 53;BA.debugLine="Log($\"***************************${CRLF}${Dir}${C"; -parent.__c.LogImpl("373793541",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_dir))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_filename))+""),0); - //BA.debugLineNum = 54;BA.debugLine="Dim res As LoadResult = CreateLoadResult(Success,"; -_res = parent._createloadresult(_success,_dir,_filename); - //BA.debugLineNum = 55;BA.debugLine="Log($\"***************************${CRLF}${res.Fil"; -parent.__c.LogImpl("373793543",("***************************"+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+""+parent.__c.SmartStringFormatter("",(Object)(_res.FileName /*String*/ ))+""+parent.__c.SmartStringFormatter("",(Object)(parent.__c.CRLF))+" "+parent.__c.SmartStringFormatter("",(Object)(_res))+""),0); - //BA.debugLineNum = 56;BA.debugLine="If res.Success Then ExtractInformationFromURI(res"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_res.Success /*boolean*/ ) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -parent._extractinformationfromuri(_res.FileName /*String*/ ,_res); -if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 57;BA.debugLine="Return res"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(_res));return;}; - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _cc_result(boolean _success,String _dir,String _filename) throws Exception{ -} -public anywheresoftware.b4a.keywords.Common.ResumableSubWrapper _saveas(anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source,String _mimetype,String _title) throws Exception{ -ResumableSub_SaveAs rsub = new ResumableSub_SaveAs(this,_source,_mimetype,_title); -rsub.resume(ba, null); -return (anywheresoftware.b4a.keywords.Common.ResumableSubWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.keywords.Common.ResumableSubWrapper(), rsub); -} -public static class ResumableSub_SaveAs extends BA.ResumableSub { -public ResumableSub_SaveAs(adm.keymon.com.mx.filehandler parent,anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source,String _mimetype,String _title) { -this.parent = parent; -this._source = _source; -this._mimetype = _mimetype; -this._title = _title; -} -adm.keymon.com.mx.filehandler parent; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _source; -String _mimetype; -String _title; -anywheresoftware.b4a.objects.IntentWrapper _intent = null; -String _methodname = ""; -Object[] _args = null; -anywheresoftware.b4a.objects.IntentWrapper _result = null; -anywheresoftware.b4j.object.JavaObject _jo = null; -anywheresoftware.b4j.object.JavaObject _ctxt = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - -@Override -public void resume(BA ba, Object[] result) throws Exception{ - - while (true) { - switch (state) { - case -1: -{ -parent.__c.ReturnFromResumableSub(this,null);return;} -case 0: -//C -this.state = 1; - //BA.debugLineNum = 29;BA.debugLine="Dim intent As Intent"; -_intent = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 30;BA.debugLine="intent.Initialize(\"android.intent.action.CREATE_D"; -_intent.Initialize("android.intent.action.CREATE_DOCUMENT",""); - //BA.debugLineNum = 31;BA.debugLine="intent.AddCategory(\"android.intent.category.OPENA"; -_intent.AddCategory("android.intent.category.OPENABLE"); - //BA.debugLineNum = 32;BA.debugLine="intent.PutExtra(\"android.intent.extra.TITLE\", Tit"; -_intent.PutExtra("android.intent.extra.TITLE",(Object)(_title)); - //BA.debugLineNum = 33;BA.debugLine="intent.SetType(MimeType)"; -_intent.SetType(_mimetype); - //BA.debugLineNum = 34;BA.debugLine="StartActivityForResult(intent)"; -parent._startactivityforresult(_intent); - //BA.debugLineNum = 35;BA.debugLine="Wait For ion_Event (MethodName As String, Args()"; -parent.__c.WaitFor("ion_event", ba, this, null); -this.state = 5; -return; -case 5: -//C -this.state = 1; -_methodname = (String) result[0]; -_args = (Object[]) result[1]; -; - //BA.debugLineNum = 36;BA.debugLine="If -1 = Args(0) Then 'resultCode = RESULT_OK"; -if (true) break; - -case 1: -//if -this.state = 4; -if (-1==(double)(BA.ObjectToNumber(_args[(int) (0)]))) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 37;BA.debugLine="Dim result As Intent = Args(1)"; -_result = new anywheresoftware.b4a.objects.IntentWrapper(); -_result = (anywheresoftware.b4a.objects.IntentWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.IntentWrapper(), (android.content.Intent)(_args[(int) (1)])); - //BA.debugLineNum = 38;BA.debugLine="Dim jo As JavaObject = result"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_result.getObject())); - //BA.debugLineNum = 39;BA.debugLine="Dim ctxt As JavaObject"; -_ctxt = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 40;BA.debugLine="Dim out As OutputStream = ctxt.InitializeContext"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = (anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(), (java.io.OutputStream)(_ctxt.InitializeContext(ba).RunMethodJO("getContentResolver",(Object[])(parent.__c.Null)).RunMethod("openOutputStream",new Object[]{_jo.RunMethod("getData",(Object[])(parent.__c.Null))}))); - //BA.debugLineNum = 41;BA.debugLine="File.Copy2(Source, out)"; -parent.__c.File.Copy2((java.io.InputStream)(_source.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 42;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 43;BA.debugLine="Return True"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.True));return;}; - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 45;BA.debugLine="Return False"; -if (true) { -parent.__c.ReturnFromResumableSub(this,(Object)(parent.__c.False));return;}; - //BA.debugLineNum = 46;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public void _ion_event(String _methodname,Object[] _args) throws Exception{ -} -public String _startactivityforresult(anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 60;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; - //BA.debugLineNum = 61;BA.debugLine="Dim jo As JavaObject = GetBA"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_getba())); - //BA.debugLineNum = 62;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; -_ion = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); - //BA.debugLineNum = 63;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array(ion,"; -_jo.RunMethod("startActivityForResult",new Object[]{_ion,(Object)(_i.getObject())}); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/fileprovider.java b/B4A/Objects/src/adm/keymon/com/mx/fileprovider.java deleted file mode 100644 index 1859093..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/fileprovider.java +++ /dev/null @@ -1,128 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class fileprovider extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.fileprovider"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.fileprovider.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _sharedfolder = ""; -public boolean _usefileprovider = false; -public anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public SharedFolder As String"; -_sharedfolder = ""; - //BA.debugLineNum = 4;BA.debugLine="Public UseFileProvider As Boolean"; -_usefileprovider = false; - //BA.debugLineNum = 5;BA.debugLine="Private rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 6;BA.debugLine="End Sub"; -return ""; -} -public Object _getfileuri(String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _uri = null; -anywheresoftware.b4j.object.JavaObject _f = null; -anywheresoftware.b4j.object.JavaObject _fp = null; -anywheresoftware.b4j.object.JavaObject _context = null; - //BA.debugLineNum = 22;BA.debugLine="Public Sub GetFileUri (FileName As String) As Obje"; - //BA.debugLineNum = 24;BA.debugLine="If UseFileProvider = False Then"; -if (_usefileprovider==__c.False) { - //BA.debugLineNum = 25;BA.debugLine="Dim uri As JavaObject"; -_uri = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 26;BA.debugLine="Return uri.InitializeStatic(\"android.net.Uri\").R"; -if (true) return _uri.InitializeStatic("android.net.Uri").RunMethod("parse",new Object[]{(Object)("file://"+__c.File.Combine(_sharedfolder,_filename))}); - }else { - //BA.debugLineNum = 28;BA.debugLine="Dim f As JavaObject"; -_f = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 29;BA.debugLine="f.InitializeNewInstance(\"java.io.File\", Array(Sh"; -_f.InitializeNewInstance("java.io.File",new Object[]{(Object)(_sharedfolder),(Object)(_filename)}); - //BA.debugLineNum = 30;BA.debugLine="Dim fp As JavaObject"; -_fp = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 31;BA.debugLine="Dim context As JavaObject"; -_context = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 32;BA.debugLine="context.InitializeContext"; -_context.InitializeContext(ba); - //BA.debugLineNum = 33;BA.debugLine="fp.InitializeStatic(\"android.support.v4.content."; -_fp.InitializeStatic("androidx.core.content.FileProvider"); - //BA.debugLineNum = 34;BA.debugLine="Return fp.RunMethod(\"getUriForFile\", Array(conte"; -if (true) return _fp.RunMethod("getUriForFile",new Object[]{(Object)(_context.getObject()),(Object)(__c.Application.getPackageName()+".provider"),(Object)(_f.getObject())}); - }; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return null; -} -public String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4a.phone.Phone _p = null; - //BA.debugLineNum = 8;BA.debugLine="Public Sub Initialize"; - //BA.debugLineNum = 9;BA.debugLine="Dim p As Phone"; -_p = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 10;BA.debugLine="If p.SdkVersion >= 24 Or File.ExternalWritable ="; -if (_p.getSdkVersion()>=24 || __c.File.getExternalWritable()==__c.False) { - //BA.debugLineNum = 11;BA.debugLine="UseFileProvider = True"; -_usefileprovider = __c.True; - //BA.debugLineNum = 12;BA.debugLine="SharedFolder = File.Combine(File.DirInternal, \"s"; -_sharedfolder = __c.File.Combine(__c.File.getDirInternal(),"shared"); - //BA.debugLineNum = 13;BA.debugLine="File.MakeDir(\"\", SharedFolder)"; -__c.File.MakeDir("",_sharedfolder); - }else { - //BA.debugLineNum = 15;BA.debugLine="UseFileProvider = False"; -_usefileprovider = __c.False; - //BA.debugLineNum = 16;BA.debugLine="SharedFolder = rp.GetSafeDirDefaultExternal(\"sha"; -_sharedfolder = _rp.GetSafeDirDefaultExternal("shared"); - }; - //BA.debugLineNum = 18;BA.debugLine="Log($\"Using FileProvider? ${UseFileProvider}\"$)"; -__c.LogImpl("911796490",("Using FileProvider? "+__c.SmartStringFormatter("",(Object)(_usefileprovider))+""),0); - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return ""; -} -public String _setfileuriasintentdata(anywheresoftware.b4a.objects.IntentWrapper _intent,String _filename) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 40;BA.debugLine="Public Sub SetFileUriAsIntentData (Intent As Inten"; - //BA.debugLineNum = 41;BA.debugLine="Dim jo As JavaObject = Intent"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_intent.getObject())); - //BA.debugLineNum = 42;BA.debugLine="jo.RunMethod(\"setData\", Array(GetFileUri(FileName"; -_jo.RunMethod("setData",new Object[]{_getfileuri(_filename)}); - //BA.debugLineNum = 43;BA.debugLine="Intent.Flags = Bit.Or(Intent.Flags, 1) 'FLAG_GRAN"; -_intent.setFlags(__c.Bit.Or(_intent.getFlags(),(int) (1))); - //BA.debugLineNum = 44;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/httpjob.java b/B4A/Objects/src/adm/keymon/com/mx/httpjob.java deleted file mode 100644 index 61ce0cc..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/httpjob.java +++ /dev/null @@ -1,575 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class httpjob extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.httpjob"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.httpjob.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _jobname = ""; -public boolean _success = false; -public String _username = ""; -public String _password = ""; -public String _errormessage = ""; -public Object _target = null; -public String _taskid = ""; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _req = null; -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response = null; -public Object _tag = null; -public String _invalidurl = ""; -public String _defaultscheme = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static class _multipartfiledata{ -public boolean IsInitialized; -public String Dir; -public String FileName; -public String KeyName; -public String ContentType; -public void Initialize() { -IsInitialized = true; -Dir = ""; -FileName = ""; -KeyName = ""; -ContentType = ""; -} -@Override - public String toString() { - return BA.TypeToString(this, false); - }} -public String _addscheme(String _link) throws Exception{ - //BA.debugLineNum = 52;BA.debugLine="Private Sub AddScheme (Link As String) As String"; - //BA.debugLineNum = 53;BA.debugLine="If DefaultScheme = \"\" Or Link.Contains(\":\") Then"; -if ((_defaultscheme).equals("") || _link.contains(":")) { -if (true) return _link;}; - //BA.debugLineNum = 54;BA.debugLine="Return DefaultScheme & \"://\" & Link"; -if (true) return _defaultscheme+"://"+_link; - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Public JobName As String"; -_jobname = ""; - //BA.debugLineNum = 4;BA.debugLine="Public Success As Boolean"; -_success = false; - //BA.debugLineNum = 5;BA.debugLine="Public Username, Password As String"; -_username = ""; -_password = ""; - //BA.debugLineNum = 6;BA.debugLine="Public ErrorMessage As String"; -_errormessage = ""; - //BA.debugLineNum = 7;BA.debugLine="Private target As Object"; -_target = new Object(); - //BA.debugLineNum = 13;BA.debugLine="Private taskId As String"; -_taskid = ""; - //BA.debugLineNum = 15;BA.debugLine="Private req As OkHttpRequest"; -_req = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest(); - //BA.debugLineNum = 16;BA.debugLine="Public Response As OkHttpResponse"; -_response = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse(); - //BA.debugLineNum = 25;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 26;BA.debugLine="Type MultipartFileData (Dir As String, FileName A"; -; - //BA.debugLineNum = 30;BA.debugLine="Private Const InvalidURL As String = \"https://inv"; -_invalidurl = "https://invalid-url/"; - //BA.debugLineNum = 31;BA.debugLine="Public DefaultScheme As String = \"https\""; -_defaultscheme = "https"; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return ""; -} -public String _complete(int _id) throws Exception{ - //BA.debugLineNum = 315;BA.debugLine="Public Sub Complete (id As Int)"; - //BA.debugLineNum = 316;BA.debugLine="taskId = id"; -_taskid = BA.NumberToString(_id); - //BA.debugLineNum = 317;BA.debugLine="CallSubDelayed2(target, \"JobDone\", Me)"; -__c.CallSubDelayed2(ba,_target,"JobDone",this); - //BA.debugLineNum = 318;BA.debugLine="End Sub"; -return ""; -} -public String _delete(String _link) throws Exception{ - //BA.debugLineNum = 261;BA.debugLine="Public Sub Delete(Link As String)"; - //BA.debugLineNum = 262;BA.debugLine="Try"; -try { //BA.debugLineNum = 263;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 264;BA.debugLine="req.InitializeDelete(Link)"; -_req.InitializeDelete(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 266;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913697029",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 267;BA.debugLine="req.InitializeDelete(InvalidURL)"; -_req.InitializeDelete(_invalidurl); - }; - //BA.debugLineNum = 269;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 270;BA.debugLine="End Sub"; -return ""; -} -public String _delete2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 272;BA.debugLine="Public Sub Delete2(Link As String, Parameters() As"; - //BA.debugLineNum = 273;BA.debugLine="Try"; -try { //BA.debugLineNum = 274;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 275;BA.debugLine="req.InitializeDelete(escapeLink(Link, Parameters"; -_req.InitializeDelete(_escapelink(_link,_parameters)); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 277;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913762565",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 278;BA.debugLine="req.InitializeDelete(escapeLink(InvalidURL, Para"; -_req.InitializeDelete(_escapelink(_invalidurl,_parameters)); - }; - //BA.debugLineNum = 280;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 281;BA.debugLine="End Sub"; -return ""; -} -public String _download(String _link) throws Exception{ - //BA.debugLineNum = 219;BA.debugLine="Public Sub Download(Link As String)"; - //BA.debugLineNum = 220;BA.debugLine="Try"; -try { //BA.debugLineNum = 221;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 222;BA.debugLine="req.InitializeGet(Link)"; -_req.InitializeGet(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 224;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913500421",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 225;BA.debugLine="req.InitializeGet(InvalidURL)"; -_req.InitializeGet(_invalidurl); - }; - //BA.debugLineNum = 227;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 228;BA.debugLine="End Sub"; -return ""; -} -public String _download2(String _link,String[] _parameters) throws Exception{ - //BA.debugLineNum = 235;BA.debugLine="Public Sub Download2(Link As String, Parameters()"; - //BA.debugLineNum = 236;BA.debugLine="Try"; -try { //BA.debugLineNum = 237;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 238;BA.debugLine="req.InitializeGet(escapeLink(Link, Parameters))"; -_req.InitializeGet(_escapelink(_link,_parameters)); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 240;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913565957",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 241;BA.debugLine="req.InitializeGet(escapeLink(InvalidURL, Paramet"; -_req.InitializeGet(_escapelink(_invalidurl,_parameters)); - }; - //BA.debugLineNum = 243;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 244;BA.debugLine="End Sub"; -return ""; -} -public String _escapelink(String _link,String[] _parameters) throws Exception{ -anywheresoftware.b4a.keywords.StringBuilderWrapper _sb = null; -anywheresoftware.b4a.objects.StringUtils _su = null; -int _i = 0; - //BA.debugLineNum = 246;BA.debugLine="Private Sub escapeLink(Link As String, Parameters("; - //BA.debugLineNum = 247;BA.debugLine="Dim sb As StringBuilder"; -_sb = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 248;BA.debugLine="sb.Initialize"; -_sb.Initialize(); - //BA.debugLineNum = 249;BA.debugLine="sb.Append(Link)"; -_sb.Append(_link); - //BA.debugLineNum = 250;BA.debugLine="If Parameters.Length > 0 Then sb.Append(\"?\")"; -if (_parameters.length>0) { -_sb.Append("?");}; - //BA.debugLineNum = 251;BA.debugLine="Dim su As StringUtils"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 252;BA.debugLine="For i = 0 To Parameters.Length - 1 Step 2"; -{ -final int step6 = 2; -final int limit6 = (int) (_parameters.length-1); -_i = (int) (0) ; -for (;_i <= limit6 ;_i = _i + step6 ) { - //BA.debugLineNum = 253;BA.debugLine="If i > 0 Then sb.Append(\"&\")"; -if (_i>0) { -_sb.Append("&");}; - //BA.debugLineNum = 254;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i), \"UTF8\")).A"; -_sb.Append(_su.EncodeUrl(_parameters[_i],"UTF8")).Append("="); - //BA.debugLineNum = 255;BA.debugLine="sb.Append(su.EncodeUrl(Parameters(i + 1), \"UTF8\""; -_sb.Append(_su.EncodeUrl(_parameters[(int) (_i+1)],"UTF8")); - } -}; - //BA.debugLineNum = 257;BA.debugLine="Return sb.ToString"; -if (true) return _sb.ToString(); - //BA.debugLineNum = 258;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmap() throws Exception{ -anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _b = null; - //BA.debugLineNum = 330;BA.debugLine="Public Sub GetBitmap As Bitmap"; - //BA.debugLineNum = 331;BA.debugLine="Dim b As Bitmap"; -_b = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper(); - //BA.debugLineNum = 332;BA.debugLine="b = LoadBitmap(HttpUtils2Service.TempFolder, task"; -_b = __c.LoadBitmap(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 333;BA.debugLine="Return b"; -if (true) return _b; - //BA.debugLineNum = 334;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapresize(int _width,int _height,boolean _keepaspectratio) throws Exception{ - //BA.debugLineNum = 341;BA.debugLine="Public Sub GetBitmapResize(Width As Int, Height As"; - //BA.debugLineNum = 342;BA.debugLine="Return LoadBitmapResize(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapResize(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height,_keepaspectratio); - //BA.debugLineNum = 343;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _getbitmapsample(int _width,int _height) throws Exception{ - //BA.debugLineNum = 337;BA.debugLine="Public Sub GetBitmapSample(Width As Int, Height As"; - //BA.debugLineNum = 338;BA.debugLine="Return LoadBitmapSample(HttpUtils2Service.TempFol"; -if (true) return __c.LoadBitmapSample(_httputils2service._tempfolder /*String*/ ,_taskid,_width,_height); - //BA.debugLineNum = 339;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _getinputstream() throws Exception{ -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 347;BA.debugLine="Public Sub GetInputStream As InputStream"; - //BA.debugLineNum = 348;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 349;BA.debugLine="In = File.OpenInput(HttpUtils2Service.TempFolder,"; -_in = __c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 350;BA.debugLine="Return In"; -if (true) return _in; - //BA.debugLineNum = 351;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest _getrequest() throws Exception{ - //BA.debugLineNum = 310;BA.debugLine="Public Sub GetRequest As OkHttpRequest"; - //BA.debugLineNum = 311;BA.debugLine="Return req"; -if (true) return _req; - //BA.debugLineNum = 312;BA.debugLine="End Sub"; -return null; -} -public String _getstring() throws Exception{ - //BA.debugLineNum = 291;BA.debugLine="Public Sub GetString As String"; - //BA.debugLineNum = 292;BA.debugLine="Return GetString2(\"UTF8\")"; -if (true) return _getstring2("UTF8"); - //BA.debugLineNum = 293;BA.debugLine="End Sub"; -return ""; -} -public String _getstring2(String _encoding) throws Exception{ -anywheresoftware.b4a.objects.streams.File.TextReaderWrapper _tr = null; -String _res = ""; - //BA.debugLineNum = 296;BA.debugLine="Public Sub GetString2(Encoding As String) As Strin"; - //BA.debugLineNum = 300;BA.debugLine="Dim tr As TextReader"; -_tr = new anywheresoftware.b4a.objects.streams.File.TextReaderWrapper(); - //BA.debugLineNum = 301;BA.debugLine="tr.Initialize2(File.OpenInput(HttpUtils2Service.T"; -_tr.Initialize2((java.io.InputStream)(__c.File.OpenInput(_httputils2service._tempfolder /*String*/ ,_taskid).getObject()),_encoding); - //BA.debugLineNum = 302;BA.debugLine="Dim res As String = tr.ReadAll"; -_res = _tr.ReadAll(); - //BA.debugLineNum = 303;BA.debugLine="tr.Close"; -_tr.Close(); - //BA.debugLineNum = 304;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 306;BA.debugLine="End Sub"; -return ""; -} -public String _head(String _link) throws Exception{ - //BA.debugLineNum = 119;BA.debugLine="Public Sub Head(Link As String)"; - //BA.debugLineNum = 120;BA.debugLine="Try"; -try { //BA.debugLineNum = 121;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 122;BA.debugLine="req.InitializeHead(Link)"; -_req.InitializeHead(_link); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 124;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913238277",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 125;BA.debugLine="req.InitializeHead(InvalidURL)"; -_req.InitializeHead(_invalidurl); - }; - //BA.debugLineNum = 127;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,String _name,Object _targetmodule) throws Exception{ -innerInitialize(_ba); -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 38;BA.debugLine="Public Sub Initialize (Name As String, TargetModul"; - //BA.debugLineNum = 39;BA.debugLine="JobName = Name"; -_jobname = _name; - //BA.debugLineNum = 40;BA.debugLine="target = TargetModule"; -_target = _targetmodule; - //BA.debugLineNum = 42;BA.debugLine="If HttpUtils2Service.TempFolder = \"\" Then"; -if ((_httputils2service._tempfolder /*String*/ ).equals("")) { - //BA.debugLineNum = 43;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 44;BA.debugLine="jo.InitializeNewInstance(Application.PackageName"; -_jo.InitializeNewInstance(__c.Application.getPackageName()+".httputils2service",(Object[])(__c.Null)); - //BA.debugLineNum = 45;BA.debugLine="jo.RunMethod(\"onReceive\", Array(Null, Null))"; -_jo.RunMethod("onReceive",new Object[]{__c.Null,__c.Null}); - }; - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public boolean _multipartstartsection(anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream,boolean _empty) throws Exception{ - //BA.debugLineNum = 179;BA.debugLine="Private Sub MultipartStartSection (stream As Outpu"; - //BA.debugLineNum = 180;BA.debugLine="If empty = False Then"; -if (_empty==__c.False) { - //BA.debugLineNum = 181;BA.debugLine="stream.WriteBytes(Array As Byte(13, 10), 0, 2)"; -_stream.WriteBytes(new byte[]{(byte) (13),(byte) (10)},(int) (0),(int) (2)); - }else { - //BA.debugLineNum = 183;BA.debugLine="empty = False"; -_empty = __c.False; - }; - //BA.debugLineNum = 185;BA.debugLine="Return empty"; -if (true) return _empty; - //BA.debugLineNum = 186;BA.debugLine="End Sub"; -return false; -} -public String _patchbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Public Sub PatchBytes(Link As String, Data() As By"; - //BA.debugLineNum = 98;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 106;BA.debugLine="Try"; -try { //BA.debugLineNum = 107;BA.debugLine="req.InitializePatch2(Link, Data)"; -_req.InitializePatch2(_link,_data); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 109;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913172748",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 110;BA.debugLine="req.InitializePatch2(InvalidURL, Data)"; -_req.InitializePatch2(_invalidurl,_data); - }; - //BA.debugLineNum = 114;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _patchstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 92;BA.debugLine="Public Sub PatchString(Link As String, Text As Str"; - //BA.debugLineNum = 93;BA.debugLine="PatchBytes(Link, Text.GetBytes(\"UTF8\"))"; -_patchbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -return ""; -} -public String _postbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Public Sub PostBytes(Link As String, Data() As Byt"; - //BA.debugLineNum = 64;BA.debugLine="Try"; -try { //BA.debugLineNum = 65;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 66;BA.debugLine="req.InitializePost2(Link, Data)"; -_req.InitializePost2(_link,_data); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 68;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("912910597",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 69;BA.debugLine="req.InitializePost2(InvalidURL, Data)"; -_req.InitializePost2(_invalidurl,_data); - }; - //BA.debugLineNum = 71;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -return ""; -} -public String _postfile(String _link,String _dir,String _filename) throws Exception{ -int _length = 0; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 190;BA.debugLine="Public Sub PostFile(Link As String, Dir As String,"; - //BA.debugLineNum = 191;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 196;BA.debugLine="Dim length As Int"; -_length = 0; - //BA.debugLineNum = 197;BA.debugLine="If Dir = File.DirAssets Then"; -if ((_dir).equals(__c.File.getDirAssets())) { - //BA.debugLineNum = 198;BA.debugLine="Log(\"Cannot send files from the assets folder.\")"; -__c.LogImpl("913434888","Cannot send files from the assets folder.",0); - //BA.debugLineNum = 199;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 201;BA.debugLine="length = File.Size(Dir, FileName)"; -_length = (int) (__c.File.Size(_dir,_filename)); - //BA.debugLineNum = 202;BA.debugLine="Dim In As InputStream"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); - //BA.debugLineNum = 203;BA.debugLine="In = File.OpenInput(Dir, FileName)"; -_in = __c.File.OpenInput(_dir,_filename); - //BA.debugLineNum = 204;BA.debugLine="If length < 1000000 Then '1mb"; -if (_length<1000000) { - //BA.debugLineNum = 207;BA.debugLine="Dim out As OutputStream"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 208;BA.debugLine="out.InitializeToBytesArray(length)"; -_out.InitializeToBytesArray(_length); - //BA.debugLineNum = 209;BA.debugLine="File.Copy2(In, out)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_out.getObject())); - //BA.debugLineNum = 210;BA.debugLine="PostBytes(Link, out.ToBytesArray)"; -_postbytes(_link,_out.ToBytesArray()); - }else { - //BA.debugLineNum = 212;BA.debugLine="req.InitializePost(Link, In, length)"; -_req.InitializePost(_link,(java.io.InputStream)(_in.getObject()),_length); - //BA.debugLineNum = 213;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\","; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - }; - //BA.debugLineNum = 216;BA.debugLine="End Sub"; -return ""; -} -public String _postmultipart(String _link,anywheresoftware.b4a.objects.collections.Map _namevalues,anywheresoftware.b4a.objects.collections.List _files) throws Exception{ -String _boundary = ""; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _stream = null; -byte[] _b = null; -String _eol = ""; -boolean _empty = false; -String _key = ""; -String _value = ""; -String _s = ""; -adm.keymon.com.mx.httpjob._multipartfiledata _fd = null; -anywheresoftware.b4a.objects.streams.File.InputStreamWrapper _in = null; - //BA.debugLineNum = 133;BA.debugLine="Public Sub PostMultipart(Link As String, NameValue"; - //BA.debugLineNum = 134;BA.debugLine="Dim boundary As String = \"-----------------------"; -_boundary = "---------------------------1461124740692"; - //BA.debugLineNum = 135;BA.debugLine="Dim stream As OutputStream"; -_stream = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); - //BA.debugLineNum = 136;BA.debugLine="stream.InitializeToBytesArray(0)"; -_stream.InitializeToBytesArray((int) (0)); - //BA.debugLineNum = 137;BA.debugLine="Dim b() As Byte"; -_b = new byte[(int) (0)]; -; - //BA.debugLineNum = 138;BA.debugLine="Dim eol As String = Chr(13) & Chr(10)"; -_eol = BA.ObjectToString(__c.Chr((int) (13)))+BA.ObjectToString(__c.Chr((int) (10))); - //BA.debugLineNum = 139;BA.debugLine="Dim empty As Boolean = True"; -_empty = __c.True; - //BA.debugLineNum = 140;BA.debugLine="If NameValues <> Null And NameValues.IsInitialize"; -if (_namevalues!= null && _namevalues.IsInitialized()) { - //BA.debugLineNum = 141;BA.debugLine="For Each key As String In NameValues.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group8 = _namevalues.Keys(); -final int groupLen8 = group8.getSize() -;int index8 = 0; -; -for (; index8 < groupLen8;index8++){ -_key = BA.ObjectToString(group8.Get(index8)); - //BA.debugLineNum = 142;BA.debugLine="Dim value As String = NameValues.Get(key)"; -_value = BA.ObjectToString(_namevalues.Get((Object)(_key))); - //BA.debugLineNum = 143;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 144;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; -_s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_key))+"\"\n"+"\n"+""+__c.SmartStringFormatter("",(Object)(_value))+""); - //BA.debugLineNum = 149;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; -_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 150;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; -_stream.WriteBytes(_b,(int) (0),_b.length); - } -}; - }; - //BA.debugLineNum = 153;BA.debugLine="If Files <> Null And Files.IsInitialized Then"; -if (_files!= null && _files.IsInitialized()) { - //BA.debugLineNum = 154;BA.debugLine="For Each fd As MultipartFileData In Files"; -{ -final anywheresoftware.b4a.BA.IterableList group17 = _files; -final int groupLen17 = group17.getSize() -;int index17 = 0; -; -for (; index17 < groupLen17;index17++){ -_fd = (adm.keymon.com.mx.httpjob._multipartfiledata)(group17.Get(index17)); - //BA.debugLineNum = 155;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 156;BA.debugLine="Dim s As String = _ $\"--${boundary} Content-Dis"; -_s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"\n"+"Content-Disposition: form-data; name=\""+__c.SmartStringFormatter("",(Object)(_fd.KeyName /*String*/ ))+"\"; filename=\""+__c.SmartStringFormatter("",(Object)(_fd.FileName /*String*/ ))+"\"\n"+"Content-Type: "+__c.SmartStringFormatter("",(Object)(_fd.ContentType /*String*/ ))+"\n"+"\n"+""); - //BA.debugLineNum = 162;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; -_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 163;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; -_stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 164;BA.debugLine="Dim in As InputStream = File.OpenInput(fd.Dir,"; -_in = new anywheresoftware.b4a.objects.streams.File.InputStreamWrapper(); -_in = __c.File.OpenInput(_fd.Dir /*String*/ ,_fd.FileName /*String*/ ); - //BA.debugLineNum = 165;BA.debugLine="File.Copy2(in, stream)"; -__c.File.Copy2((java.io.InputStream)(_in.getObject()),(java.io.OutputStream)(_stream.getObject())); - } -}; - }; - //BA.debugLineNum = 168;BA.debugLine="empty = MultipartStartSection (stream, empty)"; -_empty = _multipartstartsection(_stream,_empty); - //BA.debugLineNum = 169;BA.debugLine="s = _ $\"--${boundary}-- \"$"; -_s = ("--"+__c.SmartStringFormatter("",(Object)(_boundary))+"--\n"+""); - //BA.debugLineNum = 172;BA.debugLine="b = s.Replace(CRLF, eol).GetBytes(\"UTF8\")"; -_b = _s.replace(__c.CRLF,_eol).getBytes("UTF8"); - //BA.debugLineNum = 173;BA.debugLine="stream.WriteBytes(b, 0, b.Length)"; -_stream.WriteBytes(_b,(int) (0),_b.length); - //BA.debugLineNum = 174;BA.debugLine="PostBytes(Link, stream.ToBytesArray)"; -_postbytes(_link,_stream.ToBytesArray()); - //BA.debugLineNum = 175;BA.debugLine="req.SetContentType(\"multipart/form-data; boundary"; -_req.SetContentType("multipart/form-data; boundary="+_boundary); - //BA.debugLineNum = 176;BA.debugLine="req.SetContentEncoding(\"UTF8\")"; -_req.SetContentEncoding("UTF8"); - //BA.debugLineNum = 177;BA.debugLine="End Sub"; -return ""; -} -public String _poststring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Public Sub PostString(Link As String, Text As Stri"; - //BA.debugLineNum = 59;BA.debugLine="PostBytes(Link, Text.GetBytes(\"UTF8\"))"; -_postbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _putbytes(String _link,byte[] _data) throws Exception{ - //BA.debugLineNum = 80;BA.debugLine="Public Sub PutBytes(Link As String, Data() As Byte"; - //BA.debugLineNum = 81;BA.debugLine="Try"; -try { //BA.debugLineNum = 82;BA.debugLine="Link = AddScheme(Link)"; -_link = _addscheme(_link); - //BA.debugLineNum = 83;BA.debugLine="req.InitializePut2(Link, Data)"; -_req.InitializePut2(_link,_data); - } - catch (Exception e5) { - ba.setLastException(e5); //BA.debugLineNum = 85;BA.debugLine="Log($\"Invalid link: ${Link}\"$)"; -__c.LogImpl("913041669",("Invalid link: "+__c.SmartStringFormatter("",(Object)(_link))+""),0); - //BA.debugLineNum = 86;BA.debugLine="req.InitializePut2(InvalidURL, Data)"; -_req.InitializePut2(_invalidurl,_data); - }; - //BA.debugLineNum = 88;BA.debugLine="CallSubDelayed2(HttpUtils2Service, \"SubmitJob\", M"; -__c.CallSubDelayed2(ba,(Object)(_httputils2service.getObject()),"SubmitJob",this); - //BA.debugLineNum = 89;BA.debugLine="End Sub"; -return ""; -} -public String _putstring(String _link,String _text) throws Exception{ - //BA.debugLineNum = 75;BA.debugLine="Public Sub PutString(Link As String, Text As Strin"; - //BA.debugLineNum = 76;BA.debugLine="PutBytes(Link, Text.GetBytes(\"UTF8\"))"; -_putbytes(_link,_text.getBytes("UTF8")); - //BA.debugLineNum = 77;BA.debugLine="End Sub"; -return ""; -} -public String _release() throws Exception{ - //BA.debugLineNum = 284;BA.debugLine="Public Sub Release"; - //BA.debugLineNum = 286;BA.debugLine="File.Delete(HttpUtils2Service.TempFolder, taskId)"; -__c.File.Delete(_httputils2service._tempfolder /*String*/ ,_taskid); - //BA.debugLineNum = 288;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/httputils2service.java b/B4A/Objects/src/adm/keymon/com/mx/httputils2service.java deleted file mode 100644 index a097fd4..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/httputils2service.java +++ /dev/null @@ -1,236 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ReceiverHelper; -import anywheresoftware.b4a.debug.*; - -public class httputils2service extends android.content.BroadcastReceiver{ - - static httputils2service mostCurrent; - public static BA processBA; - private ReceiverHelper _receiver; - private static boolean firstTime = true; - public static Class getObject() { - return httputils2service.class; - } - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - mostCurrent = this; - - if (processBA == null) { - - processBA = new BA(context, null, null, anywheresoftware.b4a.BA.SharedProcessBA.ModuleType.RECEIVER, "adm.keymon.com.mx.httputils2service"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - } - _receiver = new ReceiverHelper(this); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.httputils2service", processBA, _receiver, anywheresoftware.b4a.keywords.Common.Density); - } - processBA.setActivityPaused(false); - BA.LogInfo("*** Receiver (httputils2service) Receive " + (firstTime ? "(first time)" : "") + " ***"); - anywheresoftware.b4a.objects.IntentWrapper iw = new anywheresoftware.b4a.objects.IntentWrapper(); - iw.setObject(intent); - processBA.raiseEvent(null, "receiver_receive", firstTime, iw); - firstTime = false; - } - -public anywheresoftware.b4a.keywords.Common __c = null; -public static anywheresoftware.b4h.okhttp.OkHttpClientWrapper _hc = null; -public static anywheresoftware.b4a.objects.collections.Map _taskidtojob = null; -public static String _tempfolder = ""; -public static int _taskcounter = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static String _completejob(int _taskid,boolean _success,String _errormessage) throws Exception{ -adm.keymon.com.mx.httpjob _job = null; - //BA.debugLineNum = 152;BA.debugLine="Sub CompleteJob(TaskId As Int, success As Boolean,"; - //BA.debugLineNum = 156;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; -_job = (adm.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 157;BA.debugLine="If job = Null Then"; -if (_job== null) { - //BA.debugLineNum = 158;BA.debugLine="Log(\"HttpUtils2Service: job completed multiple t"; -anywheresoftware.b4a.keywords.Common.LogImpl("312582918","HttpUtils2Service: job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 159;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 161;BA.debugLine="TaskIdToJob.Remove(TaskId)"; -_taskidtojob.Remove((Object)(_taskid)); - //BA.debugLineNum = 162;BA.debugLine="job.success = success"; -_job._success /*boolean*/ = _success; - //BA.debugLineNum = 163;BA.debugLine="job.errorMessage = errorMessage"; -_job._errormessage /*String*/ = _errormessage; - //BA.debugLineNum = 165;BA.debugLine="job.Complete(TaskId)"; -_job._complete /*String*/ (_taskid); - //BA.debugLineNum = 169;BA.debugLine="End Sub"; -return ""; -} -public static String _hc_responseerror(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,String _reason,int _statuscode,int _taskid) throws Exception{ -adm.keymon.com.mx.httpjob _job = null; - //BA.debugLineNum = 115;BA.debugLine="Sub hc_ResponseError (Response As OkHttpResponse,"; - //BA.debugLineNum = 117;BA.debugLine="Log($\"ResponseError. Reason: ${Reason}, Response:"; -anywheresoftware.b4a.keywords.Common.LogImpl("312517378",("ResponseError. Reason: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_reason))+", Response: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_response.getErrorResponse()))+""),0); - //BA.debugLineNum = 119;BA.debugLine="Response.Release"; -_response.Release(); - //BA.debugLineNum = 120;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; -_job = (adm.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 121;BA.debugLine="If job = Null Then"; -if (_job== null) { - //BA.debugLineNum = 122;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseError): job c"; -anywheresoftware.b4a.keywords.Common.LogImpl("312517383","HttpUtils2Service (hc_ResponseError): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 123;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 125;BA.debugLine="job.Response = Response"; -_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 126;BA.debugLine="If Response.ErrorResponse <> \"\" Then"; -if ((_response.getErrorResponse()).equals("") == false) { - //BA.debugLineNum = 127;BA.debugLine="CompleteJob(TaskId, False, Response.ErrorRespons"; -_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_response.getErrorResponse()); - }else { - //BA.debugLineNum = 129;BA.debugLine="CompleteJob(TaskId, False, Reason)"; -_completejob(_taskid,anywheresoftware.b4a.keywords.Common.False,_reason); - }; - //BA.debugLineNum = 131;BA.debugLine="End Sub"; -return ""; -} -public static String _hc_responsesuccess(anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse _response,int _taskid) throws Exception{ -adm.keymon.com.mx.httpjob _job = null; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; - //BA.debugLineNum = 92;BA.debugLine="Sub hc_ResponseSuccess (Response As OkHttpResponse"; - //BA.debugLineNum = 93;BA.debugLine="Dim job As HttpJob = TaskIdToJob.Get(TaskId)"; -_job = (adm.keymon.com.mx.httpjob)(_taskidtojob.Get((Object)(_taskid))); - //BA.debugLineNum = 94;BA.debugLine="If job = Null Then"; -if (_job== null) { - //BA.debugLineNum = 95;BA.debugLine="Log(\"HttpUtils2Service (hc_ResponseSuccess): job"; -anywheresoftware.b4a.keywords.Common.LogImpl("312386307","HttpUtils2Service (hc_ResponseSuccess): job completed multiple times - "+BA.NumberToString(_taskid),0); - //BA.debugLineNum = 96;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 98;BA.debugLine="job.Response = Response"; -_job._response /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpResponse*/ = _response; - //BA.debugLineNum = 99;BA.debugLine="Dim out As OutputStream = File.OpenOutput(TempFol"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(_tempfolder,BA.NumberToString(_taskid),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 103;BA.debugLine="Response.GetAsynchronously(\"response\", out , _"; -_response.GetAsynchronously(processBA,"response",(java.io.OutputStream)(_out.getObject()),anywheresoftware.b4a.keywords.Common.True,_taskid); - //BA.debugLineNum = 105;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 12;BA.debugLine="Private hc As OkHttpClient"; -_hc = new anywheresoftware.b4h.okhttp.OkHttpClientWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private TaskIdToJob As Map"; -_taskidtojob = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 19;BA.debugLine="Public TempFolder As String"; -_tempfolder = ""; - //BA.debugLineNum = 23;BA.debugLine="Private taskCounter As Int"; -_taskcounter = 0; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public static String _receiver_receive(boolean _firsttime,anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 58;BA.debugLine="Private Sub Receiver_Receive (FirstTime As Boolean"; - //BA.debugLineNum = 59;BA.debugLine="If FirstTime Then"; -if (_firsttime) { - //BA.debugLineNum = 60;BA.debugLine="Service_Create"; -_service_create(); - }; - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public static String _response_streamfinish(boolean _success,int _taskid) throws Exception{ - //BA.debugLineNum = 107;BA.debugLine="Private Sub Response_StreamFinish (Success As Bool"; - //BA.debugLineNum = 108;BA.debugLine="If Success Then"; -if (_success) { - //BA.debugLineNum = 109;BA.debugLine="CompleteJob(TaskId, Success, \"\")"; -_completejob(_taskid,_success,""); - }else { - //BA.debugLineNum = 111;BA.debugLine="CompleteJob(TaskId, Success, LastException.Messa"; -_completejob(_taskid,_success,anywheresoftware.b4a.keywords.Common.LastException(processBA).getMessage()); - }; - //BA.debugLineNum = 113;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 27;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 29;BA.debugLine="TempFolder = File.DirInternalCache"; -_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternalCache(); - //BA.debugLineNum = 30;BA.debugLine="Try"; -try { //BA.debugLineNum = 31;BA.debugLine="File.WriteString(TempFolder, \"~test.test\", \"test"; -anywheresoftware.b4a.keywords.Common.File.WriteString(_tempfolder,"~test.test","test"); - //BA.debugLineNum = 32;BA.debugLine="File.Delete(TempFolder, \"~test.test\")"; -anywheresoftware.b4a.keywords.Common.File.Delete(_tempfolder,"~test.test"); - } - catch (Exception e6) { - processBA.setLastException(e6); //BA.debugLineNum = 34;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("312058631",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),0); - //BA.debugLineNum = 35;BA.debugLine="Log(\"Switching to File.DirInternal\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("312058632","Switching to File.DirInternal",0); - //BA.debugLineNum = 36;BA.debugLine="TempFolder = File.DirInternal"; -_tempfolder = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }; - //BA.debugLineNum = 41;BA.debugLine="If hc.IsInitialized = False Then"; -if (_hc.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 46;BA.debugLine="hc.Initialize(\"hc\")"; -_hc.Initialize("hc"); - }; - //BA.debugLineNum = 54;BA.debugLine="TaskIdToJob.Initialize"; -_taskidtojob.Initialize(); - //BA.debugLineNum = 56;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 68;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 66;BA.debugLine="End Sub"; -return ""; -} -public static String _submitjob(adm.keymon.com.mx.httpjob _job) throws Exception{ -int _taskid = 0; - //BA.debugLineNum = 74;BA.debugLine="Public Sub SubmitJob(job As HttpJob)"; - //BA.debugLineNum = 75;BA.debugLine="If TaskIdToJob.IsInitialized = False Then Service"; -if (_taskidtojob.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { -_service_create();}; - //BA.debugLineNum = 79;BA.debugLine="taskCounter = taskCounter + 1"; -_taskcounter = (int) (_taskcounter+1); - //BA.debugLineNum = 80;BA.debugLine="Dim TaskId As Int = taskCounter"; -_taskid = _taskcounter; - //BA.debugLineNum = 82;BA.debugLine="TaskIdToJob.Put(TaskId, job)"; -_taskidtojob.Put((Object)(_taskid),(Object)(_job)); - //BA.debugLineNum = 83;BA.debugLine="If job.Username <> \"\" And job.Password <> \"\" Then"; -if ((_job._username /*String*/ ).equals("") == false && (_job._password /*String*/ ).equals("") == false) { - //BA.debugLineNum = 84;BA.debugLine="hc.ExecuteCredentials(job.GetRequest, TaskId, jo"; -_hc.ExecuteCredentials(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid,_job._username /*String*/ ,_job._password /*String*/ ); - }else { - //BA.debugLineNum = 86;BA.debugLine="hc.Execute(job.GetRequest, TaskId)"; -_hc.Execute(processBA,_job._getrequest /*anywheresoftware.b4h.okhttp.OkHttpClientWrapper.OkHttpRequest*/ (),_taskid); - }; - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/madewithlove.java b/B4A/Objects/src/adm/keymon/com/mx/madewithlove.java deleted file mode 100644 index 5ffa335..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/madewithlove.java +++ /dev/null @@ -1,108 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class madewithlove extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.madewithlove"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.madewithlove.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public Object _tag = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 47;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 48;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Wid"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 1;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 2;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 3;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 4;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 5;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 6;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 7;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -anywheresoftware.b4a.objects.CSBuilder _cs = null; - //BA.debugLineNum = 15;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 16;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 17;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 18;BA.debugLine="Dim xlbl As B4XView = Lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 33;BA.debugLine="Dim cs As CSBuilder"; -_cs = new anywheresoftware.b4a.objects.CSBuilder(); - //BA.debugLineNum = 34;BA.debugLine="cs.Initialize.Append(\"Made with \").Typeface(Typef"; -_cs.Initialize().Append(BA.ObjectToCharSequence("Made with ")).Typeface(__c.Typeface.getFONTAWESOME()).Color(_xui.Color_Red).Append(BA.ObjectToCharSequence(__c.Chr(((int)0xf004)))).Pop().Pop().Append(BA.ObjectToCharSequence(" in B4X")).PopAll(); - //BA.debugLineNum = 35;BA.debugLine="xlbl.Text = cs"; -_xlbl.setText(BA.ObjectToCharSequence(_cs.getObject())); - //BA.debugLineNum = 36;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 37;BA.debugLine="mBase.AddView(xlbl, 0, 0, mBase.Width, mBase.Heig"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 45;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 9;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 10;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 11;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 12;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/main.java b/B4A/Objects/src/adm/keymon/com/mx/main.java deleted file mode 100644 index b3b7494..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/main.java +++ /dev/null @@ -1,457 +0,0 @@ -package adm.keymon.com.mx; - - -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 main extends Activity implements B4AActivity{ - public static main 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 menuItems; - public static final boolean fullScreen = false; - public static final boolean includeTitle = false; - public static WeakReference 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, "adm.keymon.com.mx", "adm.keymon.com.mx.main"); - 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 (main)."); - 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, "adm.keymon.com.mx", "adm.keymon.com.mx.main"); - - processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(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, "adm.keymon.com.mx.main", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); - _activity.reinitializeForShell(activityBA, "activity"); - } - initializeProcessGlobals(); - initializeGlobals(); - - BA.LogInfo("** Activity (main) Create " + (isFirst ? "(first time)" : "") + " **"); - processBA.raiseEvent2(null, true, "activity_create", false, isFirst); - isFirst = false; - if (this != mostCurrent) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (main) 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(); - 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 main.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 (main) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); - else - BA.LogInfo("** Activity (main) 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(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; - public ResumeMessage(Activity activity) { - this.activity = new WeakReference(activity); - } - public void run() { - main mc = mostCurrent; - if (mc == null || mc != activity.get()) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (main) 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 boolean _actionbarhomeclicked = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; - -public static boolean isAnyActivityVisible() { - boolean vis = false; -vis = vis | (main.mostCurrent != null); -vis = vis | (mapa_rutas.mostCurrent != null); -return vis;} -public static String _activity_actionbarhomeclick() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Sub Activity_ActionBarHomeClick"; - //BA.debugLineNum = 36;BA.debugLine="ActionBarHomeClicked = True"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 37;BA.debugLine="B4XPages.Delegate.Activity_ActionBarHomeClick"; -mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._activity_actionbarhomeclick /*String*/ (); - //BA.debugLineNum = 38;BA.debugLine="ActionBarHomeClicked = False"; -_actionbarhomeclicked = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 39;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_create(boolean _firsttime) throws Exception{ -adm.keymon.com.mx.b4xpagesmanager _pm = null; - //BA.debugLineNum = 27;BA.debugLine="Sub Activity_Create(FirstTime As Boolean)"; - //BA.debugLineNum = 28;BA.debugLine="Dim pm As B4XPagesManager"; -_pm = new adm.keymon.com.mx.b4xpagesmanager(); - //BA.debugLineNum = 29;BA.debugLine="pm.Initialize(Activity)"; -_pm._initialize /*String*/ (mostCurrent.activityBA,mostCurrent._activity); - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public static boolean _activity_keypress(int _keycode) throws Exception{ - //BA.debugLineNum = 41;BA.debugLine="Sub Activity_KeyPress (KeyCode As Int) As Boolean"; - //BA.debugLineNum = 42;BA.debugLine="Return B4XPages.Delegate.Activity_KeyPress(KeyCod"; -if (true) return mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._activity_keypress /*boolean*/ (_keycode); - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return false; -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 49;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 50;BA.debugLine="B4XPages.Delegate.Activity_Pause"; -mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._activity_pause /*String*/ (); - //BA.debugLineNum = 51;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_permissionresult(String _permission,boolean _result) throws Exception{ - //BA.debugLineNum = 53;BA.debugLine="Sub Activity_PermissionResult (Permission As Strin"; - //BA.debugLineNum = 54;BA.debugLine="B4XPages.Delegate.Activity_PermissionResult(Permi"; -mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._activity_permissionresult /*String*/ (_permission,_result); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public static String _activity_resume() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Sub Activity_Resume"; - //BA.debugLineNum = 46;BA.debugLine="B4XPages.Delegate.Activity_Resume"; -mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._activity_resume /*String*/ (); - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public static String _create_menu(Object _menu) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Sub Create_Menu (Menu As Object)"; - //BA.debugLineNum = 58;BA.debugLine="B4XPages.Delegate.Create_Menu(Menu)"; -mostCurrent._b4xpages._delegate /*adm.keymon.com.mx.b4xpagesdelegator*/ ._create_menu /*String*/ (_menu); - //BA.debugLineNum = 59;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 23;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} - -public static void initializeProcessGlobals() { - - if (main.processGlobalsRun == false) { - main.processGlobalsRun = true; - try { - b4a.example.dateutils._process_globals(); -main._process_globals(); -appupdater._process_globals(); -mapa_rutas._process_globals(); -notificationservice._process_globals(); -pendientes._process_globals(); -starter._process_globals(); -subs._process_globals(); -tracker._process_globals(); -newinst2._process_globals(); -b4xpages._process_globals(); -b4xcollections._process_globals(); -httputils2service._process_globals(); -xuiviewsutils._process_globals(); - - } catch (Exception e) { - throw new RuntimeException(e); - } - } -}public static String _process_globals() throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 20;BA.debugLine="Public ActionBarHomeClicked As Boolean"; -_actionbarhomeclicked = false; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public boolean _onCreateOptionsMenu(android.view.Menu menu) { - processBA.raiseEvent(null, "create_menu", menu); - return true; - -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/manageexternalstorage.java b/B4A/Objects/src/adm/keymon/com/mx/manageexternalstorage.java deleted file mode 100644 index 2595ae1..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/manageexternalstorage.java +++ /dev/null @@ -1,147 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class manageexternalstorage extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.manageexternalstorage"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.manageexternalstorage.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public Object _ion = null; -public Object _mcallback = null; -public String _meventname = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _class_globals() throws Exception{ - //BA.debugLineNum = 3;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 4;BA.debugLine="Private ion As Object"; -_ion = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Private mCallback As Object"; -_mcallback = new Object(); - //BA.debugLineNum = 6;BA.debugLine="Private mEventName As String"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public Object _getba() throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 69;BA.debugLine="Private Sub GetBA As Object"; - //BA.debugLineNum = 70;BA.debugLine="Dim jo As JavaObject = Me"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(this)); - //BA.debugLineNum = 71;BA.debugLine="Return jo.RunMethod(\"getBA\", Null)"; -if (true) return _jo.RunMethod("getBA",(Object[])(__c.Null)); - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -return null; -} -public String _getpermission() throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _in = null; - //BA.debugLineNum = 39;BA.debugLine="Public Sub GetPermission"; - //BA.debugLineNum = 40;BA.debugLine="If HasPermission Then"; -if (_haspermission()) { - //BA.debugLineNum = 41;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 42;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 44;BA.debugLine="Dim in As Intent"; -_in = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 46;BA.debugLine="in.Initialize(\"android.settings.MANAGE_APP_ALL_FI"; -_in.Initialize("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION",("package:"+__c.SmartStringFormatter("",(Object)(__c.Application.getPackageName()))+"")); - //BA.debugLineNum = 47;BA.debugLine="StartActivityForResult(in)"; -_startactivityforresult(_in); - //BA.debugLineNum = 48;BA.debugLine="End Sub"; -return ""; -} -public boolean _haspermission() throws Exception{ -boolean _has = false; -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 28;BA.debugLine="Public Sub HasPermission As Boolean"; - //BA.debugLineNum = 29;BA.debugLine="Dim has As Boolean"; -_has = false; - //BA.debugLineNum = 30;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 31;BA.debugLine="jo.InitializeStatic(\"android.os.Environment\")"; -_jo.InitializeStatic("android.os.Environment"); - //BA.debugLineNum = 32;BA.debugLine="has = jo.RunMethod(\"isExternalStorageManager\", Nu"; -_has = BA.ObjectToBoolean(_jo.RunMethod("isExternalStorageManager",(Object[])(__c.Null))); - //BA.debugLineNum = 33;BA.debugLine="Return has"; -if (true) return _has; - //BA.debugLineNum = 34;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 20;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 21;BA.debugLine="mCallback = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 22;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 23;BA.debugLine="End Sub"; -return ""; -} -public Object _ion_event(String _methodname,Object[] _args) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Private Sub ion_Event (MethodName As String, Args("; - //BA.debugLineNum = 58;BA.debugLine="RaiseEvent"; -_raiseevent(); - //BA.debugLineNum = 59;BA.debugLine="Return Null"; -if (true) return __c.Null; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return null; -} -public String _raiseevent() throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Private Sub RaiseEvent"; - //BA.debugLineNum = 52;BA.debugLine="Log(\"Calling : \" & mEventName & \"_StorageAvailab"; -__c.LogImpl("374514433","Calling : "+_meventname+"_StorageAvailable",0); - //BA.debugLineNum = 53;BA.debugLine="CallSubDelayed(mCallback, mEventName & \"_StorageA"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_StorageAvailable"); - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public String _startactivityforresult(anywheresoftware.b4a.objects.IntentWrapper _i) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 63;BA.debugLine="Private Sub StartActivityForResult(i As Intent)"; - //BA.debugLineNum = 64;BA.debugLine="Dim jo As JavaObject = GetBA"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_getba())); - //BA.debugLineNum = 65;BA.debugLine="ion = jo.CreateEvent(\"anywheresoftware.b4a.IOnAct"; -_ion = _jo.CreateEvent(ba,"anywheresoftware.b4a.IOnActivityResult","ion",__c.Null); - //BA.debugLineNum = 66;BA.debugLine="jo.RunMethod(\"startActivityForResult\", Array As O"; -_jo.RunMethod("startActivityForResult",new Object[]{_ion,(Object)(_i.getObject())}); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/mapa_rutas.java b/B4A/Objects/src/adm/keymon/com/mx/mapa_rutas.java deleted file mode 100644 index 9dbf9cb..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/mapa_rutas.java +++ /dev/null @@ -1,1477 +0,0 @@ -package adm.keymon.com.mx; - - -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 mapa_rutas extends Activity implements B4AActivity{ - public static mapa_rutas 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 menuItems; - public static final boolean fullScreen = false; - public static final boolean includeTitle = false; - public static WeakReference 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, "adm.keymon.com.mx", "adm.keymon.com.mx.mapa_rutas"); - 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 (mapa_rutas)."); - 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, "adm.keymon.com.mx", "adm.keymon.com.mx.mapa_rutas"); - - processBA.sharedProcessBA.activityBA = new java.lang.ref.WeakReference(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, "adm.keymon.com.mx.mapa_rutas", processBA, activityBA, _activity, anywheresoftware.b4a.keywords.Common.Density, mostCurrent); - _activity.reinitializeForShell(activityBA, "activity"); - } - initializeProcessGlobals(); - initializeGlobals(); - - BA.LogInfo("** Activity (mapa_rutas) Create " + (isFirst ? "(first time)" : "") + " **"); - processBA.raiseEvent2(null, true, "activity_create", false, isFirst); - isFirst = false; - if (this != mostCurrent) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (mapa_rutas) 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(); - 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 mapa_rutas.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 (mapa_rutas) Pause, UserClosed = " + activityBA.activity.isFinishing() + " **"); - else - BA.LogInfo("** Activity (mapa_rutas) 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(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; - public ResumeMessage(Activity activity) { - this.activity = new WeakReference(activity); - } - public void run() { - mapa_rutas mc = mostCurrent; - if (mc == null || mc != activity.get()) - return; - processBA.setActivityPaused(false); - BA.LogInfo("** Activity (mapa_rutas) 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 anywheresoftware.b4a.gps.GPS _gps = null; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static String _ruta = ""; -public static anywheresoftware.b4a.sql.SQL _skmt = null; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c2 = null; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c22 = null; -public static anywheresoftware.b4a.sql.SQL.CursorWrapper _c3 = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper _gmap = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper _mapfragment1 = null; -public static double _latitud = 0; -public static double _longitud = 0; -public static double _lat2 = 0; -public static double _lon2 = 0; -public anywheresoftware.b4a.gps.LocationWrapper _p1 = null; -public anywheresoftware.b4a.gps.LocationWrapper _p2 = null; -public static float _distance = 0f; -public anywheresoftware.b4a.objects.ButtonWrapper _boton1 = null; -public static float _hue_blue = 0f; -public static float _hue_red = 0f; -public static float _hue_green = 0f; -public anywheresoftware.b4a.objects.ButtonWrapper _b_azul = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_rojo = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_verde = null; -public anywheresoftware.b4a.objects.ButtonWrapper _b_todos = null; -public static String _tienda = ""; -public static double _latitudru = 0; -public static double _longitudru = 0; -public anywheresoftware.b4a.objects.collections.List _list_azul = null; -public anywheresoftware.b4a.objects.collections.List _list_rojo = null; -public anywheresoftware.b4a.objects.collections.List _list_verde = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_azul = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_rojo = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_verde = null; -public anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _mark_cedis = null; -public static String _rojo = ""; -public static String _azul = ""; -public static String _verde = ""; -public static String _todos = ""; -public static int _numserie = 0; -public uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener _oninfowindowclicklistener1 = null; -public uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras _googlemapextra = null; -public static String _codigo = ""; -public static String _semana = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.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 void _activity_create(boolean _firsttime) throws Exception{ -ResumableSub_Activity_Create rsub = new ResumableSub_Activity_Create(null,_firsttime); -rsub.resume(processBA, null); -} -public static class ResumableSub_Activity_Create extends BA.ResumableSub { -public ResumableSub_Activity_Create(adm.keymon.com.mx.mapa_rutas parent,boolean _firsttime) { -this.parent = parent; -this._firsttime = _firsttime; -} -adm.keymon.com.mx.mapa_rutas parent; -boolean _firsttime; -String _permission = ""; -boolean _result = false; - -@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 = 57;BA.debugLine="Activity.LoadLayout(\"MAPA_RUTAS\")"; -parent.mostCurrent._activity.LoadLayout("MAPA_RUTAS",mostCurrent.activityBA); - //BA.debugLineNum = 61;BA.debugLine="ruta = File.DirInternal"; -parent._ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 63;BA.debugLine="If File.Exists(ruta, \"kmt.db\") = False Then"; -if (true) break; - -case 1: -//if -this.state = 4; -if (anywheresoftware.b4a.keywords.Common.File.Exists(parent._ruta,"kmt.db")==anywheresoftware.b4a.keywords.Common.False) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 64;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", ruta, \"kmt.d"; -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",parent._ruta,"kmt.db"); - if (true) break; - -case 4: -//C -this.state = 5; -; - //BA.debugLineNum = 66;BA.debugLine="skmt.Initialize(ruta,\"kmt.db\", True)"; -parent._skmt.Initialize(parent._ruta,"kmt.db",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 68;BA.debugLine="Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_"; -parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .CheckAndRequest(processBA,parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 69;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 19; -return; -case 19: -//C -this.state = 5; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 70;BA.debugLine="If Result Then"; -if (true) break; - -case 5: -//if -this.state = 14; -if (_result) { -this.state = 7; -}else { -this.state = 13; -}if (true) break; - -case 7: -//C -this.state = 8; - //BA.debugLineNum = 71;BA.debugLine="StartService(Tracker)"; -anywheresoftware.b4a.keywords.Common.StartService(processBA,(Object)(parent.mostCurrent._tracker.getObject())); - //BA.debugLineNum = 72;BA.debugLine="Log(\"Start Tracker\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("374907664","Start Tracker",0); - //BA.debugLineNum = 73;BA.debugLine="If MapFragment1.IsGooglePlayServicesAvailable ="; -if (true) break; - -case 8: -//if -this.state = 11; -if (parent.mostCurrent._mapfragment1.IsGooglePlayServicesAvailable(mostCurrent.activityBA)==anywheresoftware.b4a.keywords.Common.False) { -this.state = 10; -}if (true) break; - -case 10: -//C -this.state = 11; - //BA.debugLineNum = 74;BA.debugLine="ToastMessageShow(\"Please install Google Play Se"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Please install Google Play Services."),anywheresoftware.b4a.keywords.Common.True); - if (true) break; - -case 11: -//C -this.state = 14; -; - if (true) break; - -case 13: -//C -this.state = 14; - //BA.debugLineNum = 77;BA.debugLine="ToastMessageShow(\"No permission\", True)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No permission"),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 78;BA.debugLine="B4XPages.ShowPage(\"Principal\")"; -parent.mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Principal"); - if (true) break; - -case 14: -//C -this.state = 15; -; - //BA.debugLineNum = 93;BA.debugLine="MARK_AZUL.IsInitialized"; -parent.mostCurrent._mark_azul.IsInitialized(); - //BA.debugLineNum = 94;BA.debugLine="MARK_ROJO.IsInitialized"; -parent.mostCurrent._mark_rojo.IsInitialized(); - //BA.debugLineNum = 95;BA.debugLine="MARK_VERDE.IsInitialized"; -parent.mostCurrent._mark_verde.IsInitialized(); - //BA.debugLineNum = 96;BA.debugLine="LIST_AZUL.Initialize"; -parent.mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 97;BA.debugLine="LIST_ROJO.Initialize"; -parent.mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 98;BA.debugLine="LIST_VERDE.Initialize"; -parent.mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 99;BA.debugLine="verde = 0"; -parent.mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 100;BA.debugLine="azul = 0"; -parent.mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 101;BA.debugLine="rojo = 0"; -parent.mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 102;BA.debugLine="todos = 1"; -parent.mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 103;BA.debugLine="c=skmt.ExecQuery2(\"select count(*) AS CUANTOS fro"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select count(*) AS CUANTOS from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); - //BA.debugLineNum = 104;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 105;BA.debugLine="SEMANA = c.GetString(\"CUANTOS\")"; -parent.mostCurrent._semana = parent._c.GetString("CUANTOS"); - //BA.debugLineNum = 106;BA.debugLine="c.Close"; -parent._c.Close(); - //BA.debugLineNum = 108;BA.debugLine="If SEMANA > 0 Then"; -if (true) break; - -case 15: -//if -this.state = 18; -if ((double)(Double.parseDouble(parent.mostCurrent._semana))>0) { -this.state = 17; -}if (true) break; - -case 17: -//C -this.state = 18; - //BA.debugLineNum = 109;BA.debugLine="c=skmt.ExecQuery2(\"select CAT_VA_VALOR from CAT_"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery2("select CAT_VA_VALOR from CAT_VARIABLES WHERE CAT_VA_DESCRIPCION = ?",new String[]{"SEMANA"}))); - //BA.debugLineNum = 110;BA.debugLine="c.Position =0"; -parent._c.setPosition((int) (0)); - //BA.debugLineNum = 111;BA.debugLine="SEMANA = c.GetString(\"CAT_VA_VALOR\")"; -parent.mostCurrent._semana = parent._c.GetString("CAT_VA_VALOR"); - //BA.debugLineNum = 112;BA.debugLine="c.Close"; -parent._c.Close(); - if (true) break; - -case 18: -//C -this.state = -1; -; - //BA.debugLineNum = 114;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _activity_permissionresult(String _permission,boolean _result) throws Exception{ -} -public static String _activity_pause(boolean _userclosed) throws Exception{ - //BA.debugLineNum = 298;BA.debugLine="Sub Activity_Pause (UserClosed As Boolean)"; - //BA.debugLineNum = 299;BA.debugLine="GPS.Stop"; -_gps.Stop(); - //BA.debugLineNum = 300;BA.debugLine="End Sub"; -return ""; -} -public static void _activity_resume() throws Exception{ -ResumableSub_Activity_Resume rsub = new ResumableSub_Activity_Resume(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_Activity_Resume extends BA.ResumableSub { -public ResumableSub_Activity_Resume(adm.keymon.com.mx.mapa_rutas parent) { -this.parent = parent; -} -adm.keymon.com.mx.mapa_rutas parent; -String _permission = ""; -boolean _result = false; - -@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 = 117;BA.debugLine="Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_FIN"; -parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(parent.mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 118;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 11; -return; -case 11: -//C -this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 119;BA.debugLine="If Result Then"; -if (true) break; - -case 1: -//if -this.state = 10; -if (_result) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 120;BA.debugLine="If Starter.GPS.GPSEnabled = False Then"; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getGPSEnabled()==anywheresoftware.b4a.keywords.Common.False) { -this.state = 6; -}else { -this.state = 8; -}if (true) break; - -case 6: -//C -this.state = 9; - //BA.debugLineNum = 121;BA.debugLine="ToastMessageShow(\"Debe Activar el GPS del Equip"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Debe Activar el GPS del Equipo."),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 122;BA.debugLine="StartActivity(Starter.GPS.LocationSettingsInten"; -anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)(parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .getLocationSettingsIntent())); - if (true) break; - -case 8: -//C -this.state = 9; - //BA.debugLineNum = 124;BA.debugLine="Starter.GPS.Start(0, 0)"; -parent.mostCurrent._starter._gps /*anywheresoftware.b4a.gps.GPS*/ .Start(processBA,(long) (0),(float) (0)); - if (true) break; - -case 9: -//C -this.state = 10; -; - if (true) break; - -case 10: -//C -this.state = -1; -; - //BA.debugLineNum = 127;BA.debugLine="LIST_AZUL.Initialize"; -parent.mostCurrent._list_azul.Initialize(); - //BA.debugLineNum = 128;BA.debugLine="LIST_ROJO.Initialize"; -parent.mostCurrent._list_rojo.Initialize(); - //BA.debugLineNum = 129;BA.debugLine="LIST_VERDE.Initialize"; -parent.mostCurrent._list_verde.Initialize(); - //BA.debugLineNum = 130;BA.debugLine="verde = 0"; -parent.mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 131;BA.debugLine="azul = 1"; -parent.mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 132;BA.debugLine="rojo = 0"; -parent.mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 133;BA.debugLine="todos = 0"; -parent.mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 134;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _b_azul_click() throws Exception{ - //BA.debugLineNum = 334;BA.debugLine="Sub B_AZUL_Click"; - //BA.debugLineNum = 335;BA.debugLine="azul = 1"; -mostCurrent._azul = BA.NumberToString(1); - //BA.debugLineNum = 336;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 337;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 338;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 339;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 341;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 343;BA.debugLine="End Sub"; -return ""; -} -public static String _b_rojo_click() throws Exception{ - //BA.debugLineNum = 323;BA.debugLine="Sub B_ROJO_Click"; - //BA.debugLineNum = 324;BA.debugLine="rojo = 1"; -mostCurrent._rojo = BA.NumberToString(1); - //BA.debugLineNum = 325;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 326;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 327;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 328;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 330;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 332;BA.debugLine="End Sub"; -return ""; -} -public static String _b_todos_click() throws Exception{ - //BA.debugLineNum = 303;BA.debugLine="Sub B_TODOS_Click"; - //BA.debugLineNum = 304;BA.debugLine="todos =1"; -mostCurrent._todos = BA.NumberToString(1); - //BA.debugLineNum = 305;BA.debugLine="verde = 0"; -mostCurrent._verde = BA.NumberToString(0); - //BA.debugLineNum = 306;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 307;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 309;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 311;BA.debugLine="End Sub"; -return ""; -} -public static String _b_verde_click() throws Exception{ - //BA.debugLineNum = 313;BA.debugLine="Sub B_VERDE_Click"; - //BA.debugLineNum = 314;BA.debugLine="verde = 1"; -mostCurrent._verde = BA.NumberToString(1); - //BA.debugLineNum = 315;BA.debugLine="azul = 0"; -mostCurrent._azul = BA.NumberToString(0); - //BA.debugLineNum = 316;BA.debugLine="rojo = 0"; -mostCurrent._rojo = BA.NumberToString(0); - //BA.debugLineNum = 317;BA.debugLine="todos = 0"; -mostCurrent._todos = BA.NumberToString(0); - //BA.debugLineNum = 318;BA.debugLine="gmap.Clear"; -mostCurrent._gmap.Clear(); - //BA.debugLineNum = 319;BA.debugLine="MapFragment1_Ready"; -_mapfragment1_ready(); - //BA.debugLineNum = 321;BA.debugLine="End Sub"; -return ""; -} -public static String _globals() throws Exception{ - //BA.debugLineNum = 18;BA.debugLine="Sub Globals"; - //BA.debugLineNum = 19;BA.debugLine="Private gmap As GoogleMap"; -mostCurrent._gmap = new anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper(); - //BA.debugLineNum = 20;BA.debugLine="Private MapFragment1 As MapFragment"; -mostCurrent._mapfragment1 = new anywheresoftware.b4a.objects.MapFragmentWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Dim Latitud As Double = 0"; -_latitud = 0; - //BA.debugLineNum = 22;BA.debugLine="Dim Longitud As Double = 0"; -_longitud = 0; - //BA.debugLineNum = 23;BA.debugLine="Dim Lat2 As Double = 0"; -_lat2 = 0; - //BA.debugLineNum = 24;BA.debugLine="Dim Lon2 As Double = 0"; -_lon2 = 0; - //BA.debugLineNum = 25;BA.debugLine="Dim p1, p2 As Location"; -mostCurrent._p1 = new anywheresoftware.b4a.gps.LocationWrapper(); -mostCurrent._p2 = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Dim Distance As Float"; -_distance = 0f; - //BA.debugLineNum = 27;BA.debugLine="Dim boton1 As Button"; -mostCurrent._boton1 = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 28;BA.debugLine="Dim HUE_BLUE As Float"; -_hue_blue = 0f; - //BA.debugLineNum = 29;BA.debugLine="Dim HUE_RED As Float"; -_hue_red = 0f; - //BA.debugLineNum = 30;BA.debugLine="Dim HUE_GREEN As Float"; -_hue_green = 0f; - //BA.debugLineNum = 31;BA.debugLine="Private B_AZUL As Button"; -mostCurrent._b_azul = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 32;BA.debugLine="Private B_ROJO As Button"; -mostCurrent._b_rojo = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 33;BA.debugLine="Private B_VERDE As Button"; -mostCurrent._b_verde = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 34;BA.debugLine="Private B_TODOS As Button"; -mostCurrent._b_todos = new anywheresoftware.b4a.objects.ButtonWrapper(); - //BA.debugLineNum = 35;BA.debugLine="Dim Tienda As String"; -mostCurrent._tienda = ""; - //BA.debugLineNum = 36;BA.debugLine="Dim LatitudRu As Double"; -_latitudru = 0; - //BA.debugLineNum = 37;BA.debugLine="Dim LongitudRU As Double"; -_longitudru = 0; - //BA.debugLineNum = 38;BA.debugLine="Dim LIST_AZUL As List"; -mostCurrent._list_azul = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 39;BA.debugLine="Dim LIST_ROJO As List"; -mostCurrent._list_rojo = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 40;BA.debugLine="Dim LIST_VERDE As List"; -mostCurrent._list_verde = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 41;BA.debugLine="Dim MARK_AZUL As Marker"; -mostCurrent._mark_azul = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 42;BA.debugLine="Dim MARK_ROJO As Marker"; -mostCurrent._mark_rojo = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 43;BA.debugLine="Dim MARK_VERDE As Marker"; -mostCurrent._mark_verde = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 44;BA.debugLine="Dim MARK_CEDIS As Marker"; -mostCurrent._mark_cedis = new anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper(); - //BA.debugLineNum = 45;BA.debugLine="Dim rojo As String"; -mostCurrent._rojo = ""; - //BA.debugLineNum = 46;BA.debugLine="Dim azul As String"; -mostCurrent._azul = ""; - //BA.debugLineNum = 47;BA.debugLine="Dim verde As String"; -mostCurrent._verde = ""; - //BA.debugLineNum = 48;BA.debugLine="Dim todos As String"; -mostCurrent._todos = ""; - //BA.debugLineNum = 49;BA.debugLine="Dim NumSerie As Int"; -_numserie = 0; - //BA.debugLineNum = 50;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; -mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 51;BA.debugLine="Dim GoogleMapEXTRA As GoogleMapsExtras"; -mostCurrent._googlemapextra = new uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras(); - //BA.debugLineNum = 52;BA.debugLine="Dim CODIGO As String"; -mostCurrent._codigo = ""; - //BA.debugLineNum = 53;BA.debugLine="Private SEMANA As String"; -mostCurrent._semana = ""; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _parametro) throws Exception{ - //BA.debugLineNum = 277;BA.debugLine="Sub GPS_LocationChanged (Parametro As Location)"; - //BA.debugLineNum = 278;BA.debugLine="MARK_CEDIS.IsInitialized"; -mostCurrent._mark_cedis.IsInitialized(); - //BA.debugLineNum = 296;BA.debugLine="End Sub"; -return ""; -} -public static void _mapfragment1_ready() throws Exception{ -ResumableSub_MapFragment1_Ready rsub = new ResumableSub_MapFragment1_Ready(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_MapFragment1_Ready extends BA.ResumableSub { -public ResumableSub_MapFragment1_Ready(adm.keymon.com.mx.mapa_rutas parent) { -this.parent = parent; -} -adm.keymon.com.mx.mapa_rutas parent; -String _permission = ""; -boolean _result = false; -anywheresoftware.b4j.object.JavaObject _javamapsobject = null; -int _i = 0; -anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper _aa = null; -int step15; -int limit15; -int step35; -int limit35; -int step51; -int limit51; -int step68; -int limit68; -int step82; -int limit82; - -@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 = 137;BA.debugLine="Log(\"ENTRANDO MapFragment1_Ready\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038721","ENTRANDO MapFragment1_Ready",0); - //BA.debugLineNum = 138;BA.debugLine="gmap = MapFragment1.GetMap"; -parent.mostCurrent._gmap = parent.mostCurrent._mapfragment1.GetMap(); - //BA.debugLineNum = 139;BA.debugLine="gmap.IsInitialized"; -parent.mostCurrent._gmap.IsInitialized(); - //BA.debugLineNum = 143;BA.debugLine="rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCA"; -parent._rp.CheckAndRequest(processBA,parent._rp.PERMISSION_ACCESS_FINE_LOCATION); - //BA.debugLineNum = 144;BA.debugLine="Wait For Activity_PermissionResult (Permission As"; -anywheresoftware.b4a.keywords.Common.WaitFor("activity_permissionresult", processBA, this, null); -this.state = 80; -return; -case 80: -//C -this.state = 1; -_permission = (String) result[0]; -_result = (Boolean) result[1]; -; - //BA.debugLineNum = 145;BA.debugLine="gmap.MyLocationEnabled = Result"; -parent.mostCurrent._gmap.setMyLocationEnabled(_result); - //BA.debugLineNum = 147;BA.debugLine="Dim JavaMapsObject As JavaObject"; -_javamapsobject = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 148;BA.debugLine="JavaMapsObject = gmap.GetUiSettings"; -_javamapsobject = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent.mostCurrent._gmap.GetUiSettings().getObject())); - //BA.debugLineNum = 149;BA.debugLine="JavaMapsObject.RunMethod(\"setMapToolbarEnabled\","; -_javamapsobject.RunMethod("setMapToolbarEnabled",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)}); - //BA.debugLineNum = 151;BA.debugLine="If azul = 1 Or todos = 1 Then"; -if (true) break; - -case 1: -//if -this.state = 30; -if ((parent.mostCurrent._azul).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 152;BA.debugLine="c.IsInitialized"; -parent._c.IsInitialized(); - //BA.debugLineNum = 153;BA.debugLine="c=skmt.ExecQuery(\"select CAT_CL_CODIGO,CAT_CL_NO"; -parent._c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO,CAT_CL_NOMBRE,CAT_CL_LAT,CAT_CL_LONG from kmt_info where gestion = 0 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_LAT <> ' ' and CAT_CL_LONG <> ' ' and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); - //BA.debugLineNum = 155;BA.debugLine="Log($\"============== Resultados = ${c.RowCount}\""; -anywheresoftware.b4a.keywords.Common.LogImpl("375038739",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c.getRowCount()))+""),0); - //BA.debugLineNum = 156;BA.debugLine="If c.RowCount > 0 Then"; -if (true) break; - -case 4: -//if -this.state = 23; -if (parent._c.getRowCount()>0) { -this.state = 6; -}if (true) break; - -case 6: -//C -this.state = 7; - //BA.debugLineNum = 157;BA.debugLine="For i = 0 To c.RowCount - 1"; -if (true) break; - -case 7: -//for -this.state = 22; -step15 = 1; -limit15 = (int) (parent._c.getRowCount()-1); -_i = (int) (0) ; -this.state = 81; -if (true) break; - -case 81: -//C -this.state = 22; -if ((step15 > 0 && _i <= limit15) || (step15 < 0 && _i >= limit15)) this.state = 9; -if (true) break; - -case 82: -//C -this.state = 81; -_i = ((int)(0 + _i + step15)) ; -if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 158;BA.debugLine="c.Position = i"; -parent._c.setPosition(_i); - //BA.debugLineNum = 161;BA.debugLine="LatitudRu = 0"; -parent._latitudru = 0; - //BA.debugLineNum = 162;BA.debugLine="Log(c.GetString(\"CAT_CL_CODIGO\")&\" \"& c.G"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038746",parent._c.GetString("CAT_CL_CODIGO")+" "+parent._c.GetString("CAT_CL_LAT"),0); - //BA.debugLineNum = 163;BA.debugLine="If c.GetString(\"CAT_CL_LAT\") <> \"\" Then Latitu"; -if (true) break; - -case 10: -//if -this.state = 15; -if ((parent._c.GetString("CAT_CL_LAT")).equals("") == false) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -parent._latitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LAT"))); -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 164;BA.debugLine="LongitudRU = 0"; -parent._longitudru = 0; - //BA.debugLineNum = 165;BA.debugLine="If c.GetString(\"CAT_CL_LONG\") <> \"\" Then Longi"; -if (true) break; - -case 16: -//if -this.state = 21; -if ((parent._c.GetString("CAT_CL_LONG")).equals("") == false) { -this.state = 18; -;}if (true) break; - -case 18: -//C -this.state = 21; -parent._longitudru = (double)(Double.parseDouble(parent._c.GetString("CAT_CL_LONG"))); -if (true) break; - -case 21: -//C -this.state = 82; -; - //BA.debugLineNum = 166;BA.debugLine="CODIGO=c.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 167;BA.debugLine="Tienda= c.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 168;BA.debugLine="MARK_AZUL = gmap.AddMarker2(LatitudRu, Longitu"; -parent.mostCurrent._mark_azul = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_BLUE); - //BA.debugLineNum = 169;BA.debugLine="MARK_AZUL.Snippet = Tienda"; -parent.mostCurrent._mark_azul.setSnippet(parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 22: -//C -this.state = 23; -; - if (true) break; - -case 23: -//C -this.state = 24; -; - //BA.debugLineNum = 172;BA.debugLine="c .Close"; -parent._c.Close(); - //BA.debugLineNum = 175;BA.debugLine="If MARK_AZUL.IsInitialized Then LIST_AZUL.Add(MA"; -if (true) break; - -case 24: -//if -this.state = 29; -if (parent.mostCurrent._mark_azul.IsInitialized()) { -this.state = 26; -;}if (true) break; - -case 26: -//C -this.state = 29; -parent.mostCurrent._list_azul.Add((Object)(parent.mostCurrent._mark_azul.getObject())); -if (true) break; - -case 29: -//C -this.state = 30; -; - if (true) break; -; - //BA.debugLineNum = 178;BA.debugLine="If verde = 1 Or todos = 1 Then"; - -case 30: -//if -this.state = 57; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 32; -}else { -this.state = 42; -}if (true) break; - -case 32: -//C -this.state = 33; - //BA.debugLineNum = 179;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 180;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1 UNION select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info2 where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); - //BA.debugLineNum = 181;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount}"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038765",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0); - //BA.debugLineNum = 182;BA.debugLine="For i = 0 To c2.RowCount -1"; -if (true) break; - -case 33: -//for -this.state = 40; -step35 = 1; -limit35 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 83; -if (true) break; - -case 83: -//C -this.state = 40; -if ((step35 > 0 && _i <= limit35) || (step35 < 0 && _i >= limit35)) this.state = 35; -if (true) break; - -case 84: -//C -this.state = 83; -_i = ((int)(0 + _i + step35)) ; -if (true) break; - -case 35: -//C -this.state = 36; - //BA.debugLineNum = 183;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 185;BA.debugLine="If IsNumber(c2.GetString(\"CAT_CL_LONG\")) Then"; -if (true) break; - -case 36: -//if -this.state = 39; -if (anywheresoftware.b4a.keywords.Common.IsNumber(parent._c2.GetString("CAT_CL_LONG"))) { -this.state = 38; -}if (true) break; - -case 38: -//C -this.state = 39; - //BA.debugLineNum = 186;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 187;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 188;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 189;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 190;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 191;BA.debugLine="MARK_VERDE.Snippet = Tienda"; -parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); - if (true) break; - -case 39: -//C -this.state = 84; -; - if (true) break; -if (true) break; - -case 40: -//C -this.state = 57; -; - if (true) break; - -case 42: -//C -this.state = 43; - //BA.debugLineNum = 195;BA.debugLine="If verde = 1 Or todos = 1 Then"; -if (true) break; - -case 43: -//if -this.state = 56; -if ((parent.mostCurrent._verde).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 45; -}if (true) break; - -case 45: -//C -this.state = 46; - //BA.debugLineNum = 196;BA.debugLine="c2.IsInitialized"; -parent._c2.IsInitialized(); - //BA.debugLineNum = 197;BA.debugLine="c2=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; -parent._c2 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 2 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); - //BA.debugLineNum = 198;BA.debugLine="Log($\"============== Resultados = ${c2.RowCount"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038782",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c2.getRowCount()))+""),0); - //BA.debugLineNum = 199;BA.debugLine="For i = 0 To c2.RowCount -1"; -if (true) break; - -case 46: -//for -this.state = 49; -step51 = 1; -limit51 = (int) (parent._c2.getRowCount()-1); -_i = (int) (0) ; -this.state = 85; -if (true) break; - -case 85: -//C -this.state = 49; -if ((step51 > 0 && _i <= limit51) || (step51 < 0 && _i >= limit51)) this.state = 48; -if (true) break; - -case 86: -//C -this.state = 85; -_i = ((int)(0 + _i + step51)) ; -if (true) break; - -case 48: -//C -this.state = 86; - //BA.debugLineNum = 200;BA.debugLine="c2.Position = i"; -parent._c2.setPosition(_i); - //BA.debugLineNum = 202;BA.debugLine="LongitudRU = c2.GetString(\"CAT_CL_LONG\")"; -parent._longitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LONG"))); - //BA.debugLineNum = 203;BA.debugLine="LatitudRu = c2.GetString(\"CAT_CL_LAT\")"; -parent._latitudru = (double)(Double.parseDouble(parent._c2.GetString("CAT_CL_LAT"))); - //BA.debugLineNum = 204;BA.debugLine="CODIGO=c2.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c2.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 205;BA.debugLine="Tienda= c2.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c2.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 206;BA.debugLine="MARK_VERDE = gmap.AddMarker2(LatitudRu, Longit"; -parent.mostCurrent._mark_verde = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_GREEN); - //BA.debugLineNum = 207;BA.debugLine="MARK_VERDE.Snippet = Tienda"; -parent.mostCurrent._mark_verde.setSnippet(parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 49: -//C -this.state = 50; -; - //BA.debugLineNum = 209;BA.debugLine="c2 .Close"; -parent._c2.Close(); - //BA.debugLineNum = 210;BA.debugLine="If MARK_VERDE.IsInitialized Then LIST_VERDE.Add"; -if (true) break; - -case 50: -//if -this.state = 55; -if (parent.mostCurrent._mark_verde.IsInitialized()) { -this.state = 52; -;}if (true) break; - -case 52: -//C -this.state = 55; -parent.mostCurrent._list_verde.Add((Object)(parent.mostCurrent._mark_verde.getObject())); -if (true) break; - -case 55: -//C -this.state = 56; -; - if (true) break; - -case 56: -//C -this.state = 57; -; - if (true) break; -; - //BA.debugLineNum = 215;BA.debugLine="If rojo = 1 Or todos = 1 Then"; - -case 57: -//if -this.state = 79; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 59; -}else { -this.state = 65; -}if (true) break; - -case 59: -//C -this.state = 60; - //BA.debugLineNum = 216;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 217;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL_"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); - //BA.debugLineNum = 218;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount}"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038802",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0); - //BA.debugLineNum = 219;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - -case 60: -//for -this.state = 63; -step68 = 1; -limit68 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 87; -if (true) break; - -case 87: -//C -this.state = 63; -if ((step68 > 0 && _i <= limit68) || (step68 < 0 && _i >= limit68)) this.state = 62; -if (true) break; - -case 88: -//C -this.state = 87; -_i = ((int)(0 + _i + step68)) ; -if (true) break; - -case 62: -//C -this.state = 88; - //BA.debugLineNum = 220;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 222;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 223;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 224;BA.debugLine="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 225;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 226;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitud"; -parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 227;BA.debugLine="MARK_ROJO.Snippet = Tienda"; -parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); - if (true) break; -if (true) break; - -case 63: -//C -this.state = 79; -; - if (true) break; - -case 65: -//C -this.state = 66; - //BA.debugLineNum = 230;BA.debugLine="If rojo = 1 Or todos = 1 Then"; -if (true) break; - -case 66: -//if -this.state = 78; -if ((parent.mostCurrent._rojo).equals(BA.NumberToString(1)) || (parent.mostCurrent._todos).equals(BA.NumberToString(1))) { -this.state = 68; -}if (true) break; - -case 68: -//C -this.state = 69; - //BA.debugLineNum = 231;BA.debugLine="c3.IsInitialized"; -parent._c3.IsInitialized(); - //BA.debugLineNum = 232;BA.debugLine="c3=skmt.ExecQuery(\"select CAT_CL_CODIGO, CAT_CL"; -parent._c3 = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(parent._skmt.ExecQuery("select CAT_CL_CODIGO, CAT_CL_NOMBRE,CAT_CL_LONG,CAT_CL_LAT from kmt_info where gestion = 3 and CAT_CL_LAT is not null and CAT_CL_LONG is not null and CAT_CL_LAT <> 0 and CAT_CL_LONG <> 0 and CAT_CL_CODIGO <> 0 and CAT_CL_CODIGO <> 1"))); - //BA.debugLineNum = 233;BA.debugLine="Log($\"============== Resultados = ${c3.RowCount"; -anywheresoftware.b4a.keywords.Common.LogImpl("375038817",("============== Resultados = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(parent._c3.getRowCount()))+""),0); - //BA.debugLineNum = 234;BA.debugLine="For i = 0 To c3.RowCount -1"; -if (true) break; - -case 69: -//for -this.state = 72; -step82 = 1; -limit82 = (int) (parent._c3.getRowCount()-1); -_i = (int) (0) ; -this.state = 89; -if (true) break; - -case 89: -//C -this.state = 72; -if ((step82 > 0 && _i <= limit82) || (step82 < 0 && _i >= limit82)) this.state = 71; -if (true) break; - -case 90: -//C -this.state = 89; -_i = ((int)(0 + _i + step82)) ; -if (true) break; - -case 71: -//C -this.state = 90; - //BA.debugLineNum = 235;BA.debugLine="c3.Position = i"; -parent._c3.setPosition(_i); - //BA.debugLineNum = 237;BA.debugLine="LongitudRU = c3.GetDouble(\"CAT_CL_LONG\")"; -parent._longitudru = parent._c3.GetDouble("CAT_CL_LONG"); - //BA.debugLineNum = 238;BA.debugLine="LatitudRu = c3.GetDouble(\"CAT_CL_LAT\")"; -parent._latitudru = parent._c3.GetDouble("CAT_CL_LAT"); - //BA.debugLineNum = 239;BA.debugLine="CODIGO = c3.GetString(\"CAT_CL_CODIGO\")"; -parent.mostCurrent._codigo = parent._c3.GetString("CAT_CL_CODIGO"); - //BA.debugLineNum = 240;BA.debugLine="Tienda= c3.GetString(\"CAT_CL_NOMBRE\")"; -parent.mostCurrent._tienda = parent._c3.GetString("CAT_CL_NOMBRE"); - //BA.debugLineNum = 241;BA.debugLine="MARK_ROJO = gmap.AddMarker2(LatitudRu, Longitu"; -parent.mostCurrent._mark_rojo = parent.mostCurrent._gmap.AddMarker2(parent._latitudru,parent._longitudru,parent.mostCurrent._codigo,parent.mostCurrent._gmap.HUE_RED); - //BA.debugLineNum = 242;BA.debugLine="MARK_ROJO.Snippet = Tienda"; -parent.mostCurrent._mark_rojo.setSnippet(parent.mostCurrent._tienda); - if (true) break; -if (true) break; -; - //BA.debugLineNum = 244;BA.debugLine="If MARK_ROJO.IsInitialized Then LIST_ROJO.Add(M"; - -case 72: -//if -this.state = 77; -if (parent.mostCurrent._mark_rojo.IsInitialized()) { -this.state = 74; -;}if (true) break; - -case 74: -//C -this.state = 77; -parent.mostCurrent._list_rojo.Add((Object)(parent.mostCurrent._mark_rojo.getObject())); -if (true) break; - -case 77: -//C -this.state = 78; -; - //BA.debugLineNum = 245;BA.debugLine="c3.Close"; -parent._c3.Close(); - if (true) break; - -case 78: -//C -this.state = 79; -; - if (true) break; - -case 79: -//C -this.state = -1; -; - //BA.debugLineNum = 254;BA.debugLine="Dim aa As CameraPosition"; -_aa = new anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper(); - //BA.debugLineNum = 255;BA.debugLine="aa.Initialize(LatitudRu,LongitudRU,15)''' RECOMEN"; -_aa.Initialize(parent._latitudru,parent._longitudru,(float) (15)); - //BA.debugLineNum = 256;BA.debugLine="gmap.AnimateCamera(aa)"; -parent.mostCurrent._gmap.AnimateCamera((com.google.android.gms.maps.model.CameraPosition)(_aa.getObject())); - //BA.debugLineNum = 259;BA.debugLine="Dim OnInfoWindowClickListener1 As OnInfoWindowCli"; -parent.mostCurrent._oninfowindowclicklistener1 = new uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener(); - //BA.debugLineNum = 260;BA.debugLine="OnInfoWindowClickListener1.Initialize(\"OnInfoWind"; -parent.mostCurrent._oninfowindowclicklistener1.Initialize(mostCurrent.activityBA,"OnInfoWindowClickListener1"); - //BA.debugLineNum = 261;BA.debugLine="GoogleMapEXTRA.SetOnInfoWindowClickListener(gmap,"; -parent.mostCurrent._googlemapextra.SetOnInfoWindowClickListener((com.google.android.gms.maps.GoogleMap)(parent.mostCurrent._gmap.getObject()),(com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener)(parent.mostCurrent._oninfowindowclicklistener1.getObject())); - //BA.debugLineNum = 263;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _oninfowindowclicklistener1_click(anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper _marker1) throws Exception{ - //BA.debugLineNum = 268;BA.debugLine="Sub OnInfoWindowClickListener1_click(Marker1 As Ma"; - //BA.debugLineNum = 269;BA.debugLine="skmt.ExecNonQuery(\"delete from CUENTAA\")"; -_skmt.ExecNonQuery("delete from CUENTAA"); - //BA.debugLineNum = 270;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CUENTAA VALUES (?"; -_skmt.ExecNonQuery2("INSERT INTO CUENTAA VALUES (?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_marker1.getTitle())})); - //BA.debugLineNum = 271;BA.debugLine="Activity.Finish"; -mostCurrent._activity.Finish(); - //BA.debugLineNum = 272;BA.debugLine="Starter.pre_viejo = Subs.traeTotalClientepreventa"; -mostCurrent._starter._pre_viejo /*float*/ = (float) (mostCurrent._subs._traetotalclientepreventaparacredito /*double*/ (mostCurrent.activityBA)); - //BA.debugLineNum = 273;BA.debugLine="B4XPages.ShowPage(\"Cliente\")"; -mostCurrent._b4xpages._showpage /*String*/ (mostCurrent.activityBA,"Cliente"); - //BA.debugLineNum = 274;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 7;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim GPS As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 9;BA.debugLine="Dim rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 10;BA.debugLine="Dim ruta As String"; -_ruta = ""; - //BA.debugLineNum = 11;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 13;BA.debugLine="Dim c2 As Cursor"; -_c2 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 14;BA.debugLine="Dim c22 As Cursor"; -_c22 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Dim c3 As Cursor"; -_c3 = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 16;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/newinst2.java b/B4A/Objects/src/adm/keymon/com/mx/newinst2.java deleted file mode 100644 index a27a7b1..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/newinst2.java +++ /dev/null @@ -1,228 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class newinst2 extends android.app.Service{ - public static class newinst2_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (newinst2) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, newinst2.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); - } - - } - static newinst2 mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return newinst2.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "adm.keymon.com.mx", "adm.keymon.com.mx.newinst2"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - ServiceHelper.init(); - } - _service = new ServiceHelper(this); - processBA.service = this; - - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.newinst2", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (newinst2) Create ***"); - processBA.raiseEvent(null, "service_create"); - } - processBA.runHook("oncreate", this, null); - if (false) { - if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { - BA.LogInfo("stopping spontaneous created service"); - stopSelf(); - } - } - } - @Override - public void onStart(android.content.Intent intent, int startId) { - onStartCommand(intent, 0, 0); - } - @Override - public int onStartCommand(final android.content.Intent intent, int flags, int startId) { - if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { - public void run() { - handleStart(intent); - }})) - ; - else { - ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { - public void run() { - processBA.setActivityPaused(false); - BA.LogInfo("** Service (newinst2) Create **"); - processBA.raiseEvent(null, "service_create"); - handleStart(intent); - ServiceHelper.StarterHelper.removeWaitForLayout(); - } - }); - } - processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); - return android.app.Service.START_NOT_STICKY; - } - public void onTaskRemoved(android.content.Intent rootIntent) { - super.onTaskRemoved(rootIntent); - if (false) - processBA.raiseEvent(null, "service_taskremoved"); - - } - private void handleStart(android.content.Intent intent) { - BA.LogInfo("** Service (newinst2) Start **"); - java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); - if (startEvent != null) { - if (startEvent.getParameterTypes().length > 0) { - anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); - processBA.raiseEvent(null, "service_start", iw); - } - else { - processBA.raiseEvent(null, "service_start"); - } - } - } - - @Override - public void onDestroy() { - super.onDestroy(); - if (false) { - BA.LogInfo("** Service (newinst2) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (newinst2) Destroy **"); - processBA.raiseEvent(null, "service_destroy"); - processBA.service = null; - mostCurrent = null; - processBA.setActivityPaused(true); - processBA.runHook("ondestroy", this, null); - } - } - -@Override - public android.os.IBinder onBind(android.content.Intent intent) { - return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static String _pkg = ""; -public static boolean _svcverbose = false; -public static int _logcolor1 = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static String _getpackagename() throws Exception{ -anywheresoftware.b4a.agraham.reflection.Reflection _r = null; - //BA.debugLineNum = 38;BA.debugLine="Sub GetPackageName As String"; - //BA.debugLineNum = 39;BA.debugLine="Dim r As Reflector"; -_r = new anywheresoftware.b4a.agraham.reflection.Reflection(); - //BA.debugLineNum = 40;BA.debugLine="Return r.GetStaticField(\"anywheresoftware.b4a.BA\""; -if (true) return BA.ObjectToString(_r.GetStaticField("anywheresoftware.b4a.BA","packageName")); - //BA.debugLineNum = 41;BA.debugLine="End Sub"; -return ""; -} -public static String _myappreload() throws Exception{ - //BA.debugLineNum = 43;BA.debugLine="Sub MyAppReload"; - //BA.debugLineNum = 44;BA.debugLine="If svcVerbose Then Log(\"-- AppUpdating.NewInst2:"; -if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("33014657","-- AppUpdating.NewInst2: processing MyAppReload",0);}; - //BA.debugLineNum = 45;BA.debugLine="If IsPaused(\"main\") Then"; -if (anywheresoftware.b4a.keywords.Common.IsPaused(processBA,(Object)("main"))) { - //BA.debugLineNum = 46;BA.debugLine="StartActivity(\"main\")"; -anywheresoftware.b4a.keywords.Common.StartActivity(processBA,(Object)("main")); - }; - //BA.debugLineNum = 50;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 5;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 8;BA.debugLine="Dim pkg As String 'app's package name"; -_pkg = ""; - //BA.debugLineNum = 9;BA.debugLine="Dim svcVerbose As Boolean 'True = shows start"; -_svcverbose = false; - //BA.debugLineNum = 10;BA.debugLine="Private LogColor1 As Int = 0xFFFF8C00 'color for"; -_logcolor1 = ((int)0xffff8c00); - //BA.debugLineNum = 11;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 13;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 14;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service crea"; -anywheresoftware.b4a.keywords.Common.LogImpl("32752513","---- AppUpdating.newinst2: service created",_logcolor1); - //BA.debugLineNum = 15;BA.debugLine="pkg = \"\""; -_pkg = ""; - //BA.debugLineNum = 16;BA.debugLine="svcVerbose = False"; -_svcverbose = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 19;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 20;BA.debugLine="LogColor(\"---- AppUpdating.newinst2: service_star"; -anywheresoftware.b4a.keywords.Common.LogImpl("32818049","---- AppUpdating.newinst2: service_started",_logcolor1); - //BA.debugLineNum = 21;BA.debugLine="If svcVerbose Then"; -if (_svcverbose) { - //BA.debugLineNum = 22;BA.debugLine="Log($\"${TAB}intent: ${StartingIntent}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("32818051",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"intent: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getObject()))+""),0); - //BA.debugLineNum = 23;BA.debugLine="Log($\"${TAB}action: ${StartingIntent.Action}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("32818052",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"action: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.getAction()))+""),0); - //BA.debugLineNum = 24;BA.debugLine="Log($\"${TAB}extra: ${StartingIntent.ExtrasToStri"; -anywheresoftware.b4a.keywords.Common.LogImpl("32818053",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"extra: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.ExtrasToString()))+""),0); - //BA.debugLineNum = 25;BA.debugLine="Log($\"${TAB}data: ${StartingIntent.GetData}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("32818054",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"data: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_startingintent.GetData()))+""),0); - }; - //BA.debugLineNum = 27;BA.debugLine="If StartingIntent.Action = \"android.intent.action"; -if ((_startingintent.getAction()).equals("android.intent.action.MY_PACKAGE_REPLACED")) { - //BA.debugLineNum = 28;BA.debugLine="If svcVerbose Then Log($\"${TAB}Intent MY_PACKAGE"; -if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("32818057",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"Intent MY_PACKAGE_REPLACED received!"),0);}; - //BA.debugLineNum = 29;BA.debugLine="pkg = GetPackageName"; -_pkg = _getpackagename(); - //BA.debugLineNum = 30;BA.debugLine="If svcVerbose Then Log($\"${TAB}package: ${pkg}\"$"; -if (_svcverbose) { -anywheresoftware.b4a.keywords.Common.LogImpl("32818059",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.TAB))+"package: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pkg))+""),0);}; - //BA.debugLineNum = 31;BA.debugLine="MyAppReload"; -_myappreload(); - }; - //BA.debugLineNum = 33;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/notificationservice.java b/B4A/Objects/src/adm/keymon/com/mx/notificationservice.java deleted file mode 100644 index c61db48..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/notificationservice.java +++ /dev/null @@ -1,568 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class notificationservice extends android.app.Service{ - public static class notificationservice_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (notificationservice) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, notificationservice.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); - } - - } - static notificationservice mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return notificationservice.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "adm.keymon.com.mx", "adm.keymon.com.mx.notificationservice"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - ServiceHelper.init(); - } - _service = new ServiceHelper(this); - processBA.service = this; - - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.notificationservice", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (notificationservice) Create ***"); - processBA.raiseEvent(null, "service_create"); - } - processBA.runHook("oncreate", this, null); - if (false) { - if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { - BA.LogInfo("stopping spontaneous created service"); - stopSelf(); - } - } - } - @Override - public void onStart(android.content.Intent intent, int startId) { - onStartCommand(intent, 0, 0); - } - @Override - public int onStartCommand(final android.content.Intent intent, int flags, int startId) { - if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { - public void run() { - handleStart(intent); - }})) - ; - else { - ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { - public void run() { - processBA.setActivityPaused(false); - BA.LogInfo("** Service (notificationservice) Create **"); - processBA.raiseEvent(null, "service_create"); - handleStart(intent); - ServiceHelper.StarterHelper.removeWaitForLayout(); - } - }); - } - processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); - return android.app.Service.START_NOT_STICKY; - } - public void onTaskRemoved(android.content.Intent rootIntent) { - super.onTaskRemoved(rootIntent); - if (false) - processBA.raiseEvent(null, "service_taskremoved"); - - } - private void handleStart(android.content.Intent intent) { - BA.LogInfo("** Service (notificationservice) Start **"); - java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); - if (startEvent != null) { - if (startEvent.getParameterTypes().length > 0) { - anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); - processBA.raiseEvent(null, "service_start", iw); - } - else { - processBA.raiseEvent(null, "service_start"); - } - } - } - - @Override - public void onDestroy() { - super.onDestroy(); - if (false) { - BA.LogInfo("** Service (notificationservice) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (notificationservice) Destroy **"); - processBA.raiseEvent(null, "service_destroy"); - processBA.service = null; - mostCurrent = null; - processBA.setActivityPaused(true); - processBA.runHook("ondestroy", this, null); - } - } - -@Override - public android.os.IBinder onBind(android.content.Intent intent) { - return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static b4a.jsaplication.com.br.ReplyAuto.NotificationListener _rp = null; -public static boolean _logger = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static String _esmensajewavalido(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -boolean _valido = false; -String[] _ww = null; - //BA.debugLineNum = 97;BA.debugLine="Sub esMensajeWAValido(SBN As StatusBarNotification"; - //BA.debugLineNum = 98;BA.debugLine="Private valido As Boolean = False"; -_valido = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 99;BA.debugLine="Private ww() As String = Regex.Split(\"\\|\", SBN.Ke"; -_ww = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_sbn.getKey()); - //BA.debugLineNum = 100;BA.debugLine="If ww(3) <> Null And ww(3) <> \"null\" Then valido"; -if (_ww[(int) (3)]!= null && (_ww[(int) (3)]).equals("null") == false) { -_valido = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 101;BA.debugLine="Return valido"; -if (true) return BA.ObjectToString(_valido); - //BA.debugLineNum = 102;BA.debugLine="End Sub"; -return ""; -} -public static String _getgroupname(String _sbntitle) throws Exception{ -int _a = 0; -String _x = ""; -String _b = ""; - //BA.debugLineNum = 151;BA.debugLine="Sub getGroupName(sbnTitle As String) As String 'ig"; - //BA.debugLineNum = 152;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; -_a = _sbntitle.indexOf(": "); - //BA.debugLineNum = 153;BA.debugLine="Private x As String = sbnTitle"; -_x = _sbntitle; - //BA.debugLineNum = 154;BA.debugLine="If a > -1 Then"; -if (_a>-1) { - //BA.debugLineNum = 155;BA.debugLine="Private b As String = sbnTitle.SubString2(0, a)"; -_b = _sbntitle.substring((int) (0),_a); - //BA.debugLineNum = 156;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", b, \"\")"; -_x = anywheresoftware.b4a.keywords.Common.Regex.Replace(" \\(.+\\)",_b,""); - }; - //BA.debugLineNum = 158;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 159;BA.debugLine="End Sub"; -return ""; -} -public static String _getgroupname2(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -int _inicio = 0; -String _x = ""; -int _fin = 0; - //BA.debugLineNum = 164;BA.debugLine="Sub getGroupName2(sbn As StatusBarNotification) As"; - //BA.debugLineNum = 165;BA.debugLine="Private inicio As Int = sbn.Extras.As(String).Ind"; -_inicio = (BA.ObjectToString(_sbn.Extras())).indexOf("hiddenConversationTitle="); - //BA.debugLineNum = 166;BA.debugLine="If inicio > -1 And sbn.Extras.As(String).IndexOf("; -if (_inicio>-1 && (BA.ObjectToString(_sbn.Extras())).indexOf("hiddenConversationTitle=null")==-1) { - //BA.debugLineNum = 167;BA.debugLine="Private x As String = sbn.Extras.As(String) 'ign"; -_x = (BA.ObjectToString(_sbn.Extras())); - //BA.debugLineNum = 168;BA.debugLine="Private fin As Int = x.IndexOf(\", android.reduce"; -_fin = _x.indexOf(", android.reduced.images="); - //BA.debugLineNum = 169;BA.debugLine="x = x.SubString2(inicio+24, fin)"; -_x = _x.substring((int) (_inicio+24),_fin); - //BA.debugLineNum = 170;BA.debugLine="x = Regex.Replace(\" \\(.+\\)\", x, \"\") 'Replace any"; -_x = anywheresoftware.b4a.keywords.Common.Regex.Replace(" \\(.+\\)",_x,""); - }else { - //BA.debugLineNum = 172;BA.debugLine="Private x As String = sbn.Title"; -_x = _sbn.getTitle(); - }; - //BA.debugLineNum = 174;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -return ""; -} -public static String _getnumberorgroupwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -String _numremitente = ""; - //BA.debugLineNum = 188;BA.debugLine="Sub getNumberOrGroupWA(sbn As StatusBarNotificatio"; - //BA.debugLineNum = 189;BA.debugLine="Private numRemitente As String = getNumberWA(sbn)"; -_numremitente = _getnumberwa(_sbn); - //BA.debugLineNum = 190;BA.debugLine="If numRemitente = \"Not a person\" Then numRemitent"; -if ((_numremitente).equals("Not a person")) { -_numremitente = _getgroupname(_sbn.getTitle());}; - //BA.debugLineNum = 191;BA.debugLine="Return numRemitente"; -if (true) return _numremitente; - //BA.debugLineNum = 192;BA.debugLine="End Sub"; -return ""; -} -public static String _getnumberwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -int _a = 0; -String _x = ""; -int _y = 0; - //BA.debugLineNum = 137;BA.debugLine="Sub getNumberWA(sbn As StatusBarNotification) As S"; - //BA.debugLineNum = 138;BA.debugLine="Private a As Int = sbn.As(String).IndexOf(\"@s.wha"; -_a = (BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net"); - //BA.debugLineNum = 139;BA.debugLine="If a > -1 Then"; -if (_a>-1) { - //BA.debugLineNum = 140;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; -_x = (BA.ObjectToString(_sbn)); - //BA.debugLineNum = 141;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; -_y = _x.indexOf("shortcut="); - //BA.debugLineNum = 142;BA.debugLine="If (y+9) > 0 And a > (y+9) Then x = x.SubString2"; -if ((_y+9)>0 && _a>(_y+9)) { -_x = _x.substring((int) (_y+9),_a);} -else { -_x = "Not a person";}; - }else { - //BA.debugLineNum = 144;BA.debugLine="x = \"Not a person\""; -_x = "Not a person"; - }; - //BA.debugLineNum = 146;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 147;BA.debugLine="End Sub"; -return ""; -} -public static String _getpersonfromgroup(String _sbntitle) throws Exception{ -int _a = 0; -String _b = ""; - //BA.debugLineNum = 180;BA.debugLine="Sub getPersonFromGroup(sbnTitle As String) As Stri"; - //BA.debugLineNum = 181;BA.debugLine="Private a As Int = sbnTitle.IndexOf(\": \")"; -_a = _sbntitle.indexOf(": "); - //BA.debugLineNum = 182;BA.debugLine="If a = -1 Then a = -2 'Is not from a group."; -if (_a==-1) { -_a = (int) (-2);}; - //BA.debugLineNum = 183;BA.debugLine="Private b As String = sbnTitle.SubString(a+2)"; -_b = _sbntitle.substring((int) (_a+2)); - //BA.debugLineNum = 184;BA.debugLine="Return b"; -if (true) return _b; - //BA.debugLineNum = 185;BA.debugLine="End Sub"; -return ""; -} -public static String _getshortcut(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -int _ap = 0; -int _ag = 0; -String _x = ""; -int _y = 0; - //BA.debugLineNum = 197;BA.debugLine="Sub getShortcut(sbn As StatusBarNotification) As S"; - //BA.debugLineNum = 198;BA.debugLine="Private ap As Int = sbn.As(String).IndexOf(\"@s.wh"; -_ap = (BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net"); - //BA.debugLineNum = 199;BA.debugLine="Private ag As Int = sbn.As(String).IndexOf(\"@g.us"; -_ag = (BA.ObjectToString(_sbn)).indexOf("@g.us"); - //BA.debugLineNum = 200;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; -_x = (BA.ObjectToString(_sbn)); - //BA.debugLineNum = 201;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; -_y = _x.indexOf("shortcut="); - //BA.debugLineNum = 202;BA.debugLine="If ap > -1 Then"; -if (_ap>-1) { - //BA.debugLineNum = 203;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; -_x = (BA.ObjectToString(_sbn)); - //BA.debugLineNum = 204;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; -_y = _x.indexOf("shortcut="); - //BA.debugLineNum = 205;BA.debugLine="x = x.SubString2(y+9, ap+15)"; -_x = _x.substring((int) (_y+9),(int) (_ap+15)); - }else if(_ag>-1) { - //BA.debugLineNum = 207;BA.debugLine="Private x As String = sbn.As(String) 'ignore"; -_x = (BA.ObjectToString(_sbn)); - //BA.debugLineNum = 208;BA.debugLine="Private y As Int = x.IndexOf(\"shortcut=\")"; -_y = _x.indexOf("shortcut="); - //BA.debugLineNum = 209;BA.debugLine="x = x.SubString2(y+9, ag+5)"; -_x = _x.substring((int) (_y+9),(int) (_ag+5)); - }; - //BA.debugLineNum = 211;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; -} -public static boolean _isgroupwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -boolean _a = false; - //BA.debugLineNum = 113;BA.debugLine="Sub isGroupWA(sbn As StatusBarNotification) As Boo"; - //BA.debugLineNum = 114;BA.debugLine="Private a As Boolean = False"; -_a = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 115;BA.debugLine="If sbn.As(String).IndexOf(\"@g.us\") > -1 Then a ="; -if ((BA.ObjectToString(_sbn)).indexOf("@g.us")>-1) { -_a = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 116;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 117;BA.debugLine="End Sub"; -return false; -} -public static boolean _isgroupwa2(String _sbntitle) throws Exception{ -boolean _x = false; - //BA.debugLineNum = 106;BA.debugLine="Sub isGroupWA2(sbnTitle As String) As Boolean 'ign"; - //BA.debugLineNum = 107;BA.debugLine="Private x As Boolean = Regex.ismatch(\".*(: ).*\","; -_x = anywheresoftware.b4a.keywords.Common.Regex.IsMatch(".*(: ).*",_sbntitle); - //BA.debugLineNum = 108;BA.debugLine="Return x"; -if (true) return _x; - //BA.debugLineNum = 109;BA.debugLine="End Sub"; -return false; -} -public static boolean _ispersonwa(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -boolean _a = false; - //BA.debugLineNum = 121;BA.debugLine="Sub isPersonWA(sbn As StatusBarNotification) As Bo"; - //BA.debugLineNum = 122;BA.debugLine="Private a As Boolean = False"; -_a = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 123;BA.debugLine="If sbn.As(String).IndexOf(\"@s.whatsapp.net\") > -1"; -if ((BA.ObjectToString(_sbn)).indexOf("@s.whatsapp.net")>-1) { -_a = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 124;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 125;BA.debugLine="End Sub"; -return false; -} -public static boolean _ispersonwa2(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -boolean _a = false; - //BA.debugLineNum = 129;BA.debugLine="Sub isPersonWA2(sbn As StatusBarNotification) As B"; - //BA.debugLineNum = 130;BA.debugLine="Private a As Boolean = False"; -_a = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 131;BA.debugLine="If sbn.As(String).IndexOf(\"channel=individual\") >"; -if ((BA.ObjectToString(_sbn)).indexOf("channel=individual")>-1) { -_a = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 132;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 133;BA.debugLine="End Sub"; -return false; -} -public static void _notimon_notificationposted(b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) throws Exception{ -ResumableSub_NotiMon_NotificationPosted rsub = new ResumableSub_NotiMon_NotificationPosted(null,_sbn); -rsub.resume(processBA, null); -} -public static class ResumableSub_NotiMon_NotificationPosted extends BA.ResumableSub { -public ResumableSub_NotiMon_NotificationPosted(adm.keymon.com.mx.notificationservice parent,b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn) { -this.parent = parent; -this._sbn = _sbn; -} -adm.keymon.com.mx.notificationservice parent; -b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper _sbn; -String[] _cmd = 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 = 75;BA.debugLine="Private logger As Boolean = True"; -parent._logger = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 76;BA.debugLine="If SBN.PackageName = \"com.whatsapp\" Then"; -if (true) break; - -case 1: -//if -this.state = 36; -if ((_sbn.getPackageName()).equals("com.whatsapp")) { -this.state = 3; -}if (true) break; - -case 3: -//C -this.state = 4; - //BA.debugLineNum = 77;BA.debugLine="If logger Then LogColor(SBN.PackageName, Colors."; -if (true) break; - -case 4: -//if -this.state = 9; -if (parent._logger) { -this.state = 6; -;}if (true) break; - -case 6: -//C -this.state = 9; -anywheresoftware.b4a.keywords.Common.LogImpl("375825155",_sbn.getPackageName(),anywheresoftware.b4a.keywords.Common.Colors.Red); -if (true) break; - -case 9: -//C -this.state = 10; -; - //BA.debugLineNum = 78;BA.debugLine="If logger Then LogColor(\"isGroupWA2: \"&isGroupWA"; -if (true) break; - -case 10: -//if -this.state = 15; -if (parent._logger) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -anywheresoftware.b4a.keywords.Common.LogImpl("375825156","isGroupWA2: "+BA.ObjectToString(_isgroupwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta); -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 79;BA.debugLine="If logger Then LogColor(\"isPersonWA: \"&isPersonW"; -if (true) break; - -case 16: -//if -this.state = 21; -if (parent._logger) { -this.state = 18; -;}if (true) break; - -case 18: -//C -this.state = 21; -anywheresoftware.b4a.keywords.Common.LogImpl("375825157","isPersonWA: "+BA.ObjectToString(_ispersonwa(_sbn)),anywheresoftware.b4a.keywords.Common.Colors.Magenta); -if (true) break; - -case 21: -//C -this.state = 22; -; - //BA.debugLineNum = 80;BA.debugLine="If logger Then Log($\"getGroupName: |${getGroupNa"; -if (true) break; - -case 22: -//if -this.state = 27; -if (parent._logger) { -this.state = 24; -;}if (true) break; - -case 24: -//C -this.state = 27; -anywheresoftware.b4a.keywords.Common.LogImpl("375825158",("getGroupName: |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_getgroupname(_sbn.getTitle())))+"|"),0); -if (true) break; - -case 27: -//C -this.state = 28; -; - //BA.debugLineNum = 81;BA.debugLine="Private cmd() As String = Regex.Split(\" \", SBN.M"; -_cmd = anywheresoftware.b4a.keywords.Common.Regex.Split(" ",_sbn.getMessage()); - //BA.debugLineNum = 82;BA.debugLine="If SBN.Message.StartsWith(\"#NS\") And cmd.Length"; -if (true) break; - -case 28: -//if -this.state = 35; -if (_sbn.getMessage().startsWith("#NS") && _cmd.length==2) { -this.state = 30; -}if (true) break; - -case 30: -//C -this.state = 31; - //BA.debugLineNum = 83;BA.debugLine="If esMensajeWAValido(SBN) Then"; -if (true) break; - -case 31: -//if -this.state = 34; -if (BA.ObjectToBoolean(_esmensajewavalido(_sbn))) { -this.state = 33; -}if (true) break; - -case 33: -//C -this.state = 34; - //BA.debugLineNum = 85;BA.debugLine="rp.ClearNotification(SBN)"; -parent._rp.ClearNotification(_sbn); - //BA.debugLineNum = 86;BA.debugLine="Starter.reinicializaReqManager(cmd(1))"; -parent.mostCurrent._starter._reinicializareqmanager /*String*/ (_cmd[(int) (1)]); - //BA.debugLineNum = 87;BA.debugLine="rp.reply(SBN.Notification, SBN.PackageName, $\""; -parent._rp.reply((Object)(_sbn.getNotification().getObject()),(Object)(_sbn.getPackageName()),("Servidor cambiado a "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cmd[(int) (1)]))+" ")); - //BA.debugLineNum = 88;BA.debugLine="Sleep(1000)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (1000)); -this.state = 37; -return; -case 37: -//C -this.state = 34; -; - //BA.debugLineNum = 90;BA.debugLine="rp.ClearAll"; -parent._rp.ClearAll(); - if (true) break; - -case 34: -//C -this.state = 35; -; - if (true) break; - -case 35: -//C -this.state = 36; -; - if (true) break; - -case 36: -//C -this.state = -1; -; - //BA.debugLineNum = 94;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 45;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 48;BA.debugLine="Dim rp As ReplyAuto"; -_rp = new b4a.jsaplication.com.br.ReplyAuto.NotificationListener(); - //BA.debugLineNum = 51;BA.debugLine="Dim logger As Boolean = False"; -_logger = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 54;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 55;BA.debugLine="rp.Initialize(\"NotiMon\")"; -_rp.Initialize(processBA,"NotiMon"); - //BA.debugLineNum = 57;BA.debugLine="logger = False"; -_logger = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 70;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 72;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 64;BA.debugLine="If rp.HandleIntent(StartingIntent) Then Return"; -if (_rp.HandleIntent(_startingintent)) { -if (true) return "";}; - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/pendientes.java b/B4A/Objects/src/adm/keymon/com/mx/pendientes.java deleted file mode 100644 index 7b23363..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/pendientes.java +++ /dev/null @@ -1,32 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class pendientes { -private static pendientes mostCurrent = new pendientes(); -public static Object getObject() { - throw new RuntimeException("Code module does not support this method."); -} - public anywheresoftware.b4a.keywords.Common __c = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 7;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/preoptimizedclv.java b/B4A/Objects/src/adm/keymon/com/mx/preoptimizedclv.java deleted file mode 100644 index 9147bfc..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/preoptimizedclv.java +++ /dev/null @@ -1,522 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class preoptimizedclv extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.preoptimizedclv"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.preoptimizedclv.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public b4a.example3.customlistview _mclv = null; -public anywheresoftware.b4a.objects.collections.List _items = null; -public anywheresoftware.b4a.objects.collections.List _panelscache = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _stubpanel = null; -public boolean _horizontal = false; -public adm.keymon.com.mx.b4xset[] _assigneditems = null; -public int _assigneditemsasindex = 0; -public anywheresoftware.b4j.object.JavaObject _jclv = null; -public int _extraitems = 0; -public anywheresoftware.b4a.objects.collections.List _listofitemsthatshouldbeupdated = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public boolean _showscrollbar = false; -public adm.keymon.com.mx.b4xseekbar _b4xseekbar1 = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnloverlay = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _lblhint = null; -public int _lastuserchangeindex = 0; -public int _numberofsteps = 0; -public int _delaybeforehidingoverlay = 0; -public Object _mcallback = null; -public String _meventname = ""; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _additem(int _size,int _clr,Object _value) throws Exception{ -b4a.example3.customlistview._clvitem _newitem = null; - //BA.debugLineNum = 53;BA.debugLine="Public Sub AddItem (Size As Int, Clr As Int, Value"; - //BA.debugLineNum = 54;BA.debugLine="Dim NewItem As CLVItem"; -_newitem = new b4a.example3.customlistview._clvitem(); - //BA.debugLineNum = 55;BA.debugLine="NewItem.Color = Clr"; -_newitem.Color = _clr; - //BA.debugLineNum = 56;BA.debugLine="NewItem.Panel = StubPanel"; -_newitem.Panel = _stubpanel; - //BA.debugLineNum = 57;BA.debugLine="NewItem.Value = Value"; -_newitem.Value = _value; - //BA.debugLineNum = 58;BA.debugLine="NewItem.Size = Size"; -_newitem.Size = _size; - //BA.debugLineNum = 59;BA.debugLine="items.Add(NewItem)"; -_items.Add((Object)(_newitem)); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public void _b4xseekbar1_touchstatechanged(boolean _pressed) throws Exception{ -ResumableSub_B4XSeekBar1_TouchStateChanged rsub = new ResumableSub_B4XSeekBar1_TouchStateChanged(this,_pressed); -rsub.resume(ba, null); -} -public static class ResumableSub_B4XSeekBar1_TouchStateChanged extends BA.ResumableSub { -public ResumableSub_B4XSeekBar1_TouchStateChanged(adm.keymon.com.mx.preoptimizedclv parent,boolean _pressed) { -this.parent = parent; -this._pressed = _pressed; -} -adm.keymon.com.mx.preoptimizedclv parent; -boolean _pressed; -anywheresoftware.b4j.object.JavaObject _jo = 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 = 164;BA.debugLine="If Pressed = False Then"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_pressed==parent.__c.False) { -this.state = 3; -}else { -this.state = 5; -}if (true) break; - -case 3: -//C -this.state = 6; - //BA.debugLineNum = 165;BA.debugLine="mCLV.JumpToItem(LastUserChangeIndex)"; -parent._mclv._jumptoitem(parent._lastuserchangeindex); - //BA.debugLineNum = 166;BA.debugLine="Sleep(DelayBeforeHidingOverlay)"; -parent.__c.Sleep(ba,this,parent._delaybeforehidingoverlay); -this.state = 7; -return; -case 7: -//C -this.state = 6; -; - //BA.debugLineNum = 167;BA.debugLine="pnlOverlay.Visible = False"; -parent._pnloverlay.setVisible(parent.__c.False); - if (true) break; - -case 5: -//C -this.state = 6; - //BA.debugLineNum = 169;BA.debugLine="pnlOverlay.Visible = True"; -parent._pnloverlay.setVisible(parent.__c.True); - //BA.debugLineNum = 171;BA.debugLine="Dim jo As JavaObject = mCLV.sv"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(parent._mclv._sv.getObject())); - //BA.debugLineNum = 172;BA.debugLine="jo.RunMethod(\"fling\", Array(0))"; -_jo.RunMethod("fling",new Object[]{(Object)(0)}); - if (true) break; - -case 6: -//C -this.state = -1; -; - //BA.debugLineNum = 175;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _b4xseekbar1_valuechanged(int _value) throws Exception{ -Object _t = null; - //BA.debugLineNum = 177;BA.debugLine="Sub B4XSeekBar1_ValueChanged (Value As Int)"; - //BA.debugLineNum = 178;BA.debugLine="LastUserChangeIndex = Max(0, items.Size - 1 - Val"; -_lastuserchangeindex = (int) (__c.Max(0,_items.getSize()-1-_value)); - //BA.debugLineNum = 179;BA.debugLine="If LastUserChangeIndex < B4XSeekBar1.Interval The"; -if (_lastuserchangeindex<_b4xseekbar1._interval /*int*/ ) { -_lastuserchangeindex = (int) (0);}; - //BA.debugLineNum = 180;BA.debugLine="lblHint.Text = \"\""; -_lblhint.setText(BA.ObjectToCharSequence("")); - //BA.debugLineNum = 181;BA.debugLine="If xui.SubExists(mCallback, mEventName & \"_HintRe"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_HintRequested",(int) (1))) { - //BA.debugLineNum = 182;BA.debugLine="Dim t As Object = CallSub2(mCallback, mEventName"; -_t = __c.CallSubNew2(ba,_mcallback,_meventname+"_HintRequested",(Object)(_lastuserchangeindex)); - //BA.debugLineNum = 183;BA.debugLine="If t <> Null Then"; -if (_t!= null) { - //BA.debugLineNum = 184;BA.debugLine="InternalSetTextOrCSBuilderToLabel(lblHint, t)"; -_internalsettextorcsbuildertolabel(_lblhint,_t); - }; - }; - //BA.debugLineNum = 187;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mCLV As CustomListView"; -_mclv = new b4a.example3.customlistview(); - //BA.debugLineNum = 4;BA.debugLine="Private items As List"; -_items = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 5;BA.debugLine="Private PanelsCache As List"; -_panelscache = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 6;BA.debugLine="Private StubPanel As B4XView"; -_stubpanel = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private horizontal As Boolean"; -_horizontal = false; - //BA.debugLineNum = 8;BA.debugLine="Private AssignedItems() As B4XSet"; -_assigneditems = new adm.keymon.com.mx.b4xset[(int) (0)]; -{ -int d0 = _assigneditems.length; -for (int i0 = 0;i0 < d0;i0++) { -_assigneditems[i0] = new adm.keymon.com.mx.b4xset(); -} -} -; - //BA.debugLineNum = 9;BA.debugLine="Private AssignedItemsAsIndex As Int"; -_assigneditemsasindex = 0; - //BA.debugLineNum = 13;BA.debugLine="Private jclv As JavaObject"; -_jclv = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 15;BA.debugLine="Public ExtraItems As Int = 3"; -_extraitems = (int) (3); - //BA.debugLineNum = 16;BA.debugLine="Private ListOfItemsThatShouldBeUpdated As List"; -_listofitemsthatshouldbeupdated = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 17;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 18;BA.debugLine="Public ShowScrollBar As Boolean = True"; -_showscrollbar = __c.True; - //BA.debugLineNum = 19;BA.debugLine="Public B4XSeekBar1 As B4XSeekBar"; -_b4xseekbar1 = new adm.keymon.com.mx.b4xseekbar(); - //BA.debugLineNum = 20;BA.debugLine="Public pnlOverlay As B4XView"; -_pnloverlay = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 21;BA.debugLine="Public lblHint As B4XView"; -_lblhint = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 22;BA.debugLine="Private LastUserChangeIndex As Int"; -_lastuserchangeindex = 0; - //BA.debugLineNum = 23;BA.debugLine="Public NumberOfSteps As Int = 20"; -_numberofsteps = (int) (20); - //BA.debugLineNum = 24;BA.debugLine="Public DelayBeforeHidingOverlay As Int = 50"; -_delaybeforehidingoverlay = (int) (50); - //BA.debugLineNum = 25;BA.debugLine="Private mCallback As Object"; -_mcallback = new Object(); - //BA.debugLineNum = 26;BA.debugLine="Private mEventName As String"; -_meventname = ""; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _clearassigneditems() throws Exception{ -adm.keymon.com.mx.b4xset _s = null; - //BA.debugLineNum = 151;BA.debugLine="Private Sub ClearAssignedItems"; - //BA.debugLineNum = 152;BA.debugLine="For Each s As B4XSet In AssignedItems"; -{ -final adm.keymon.com.mx.b4xset[] group1 = _assigneditems; -final int groupLen1 = group1.length -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_s = group1[index1]; - //BA.debugLineNum = 153;BA.debugLine="s.Clear"; -_s._clear /*String*/ (); - } -}; - //BA.debugLineNum = 155;BA.debugLine="End Sub"; -return ""; -} -public String _commit() throws Exception{ -int _dividersize = 0; -int _totalsize = 0; -int _i = 0; -b4a.example3.customlistview._clvitem _it = null; - //BA.debugLineNum = 62;BA.debugLine="Public Sub Commit"; - //BA.debugLineNum = 63;BA.debugLine="ClearAssignedItems"; -_clearassigneditems(); - //BA.debugLineNum = 64;BA.debugLine="Dim DividerSize As Int = mCLV.DividerSize"; -_dividersize = (int) (_mclv._getdividersize()); - //BA.debugLineNum = 65;BA.debugLine="Dim TotalSize As Int = DividerSize"; -_totalsize = _dividersize; - //BA.debugLineNum = 66;BA.debugLine="For i = 0 To items.Size - 1"; -{ -final int step4 = 1; -final int limit4 = (int) (_items.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 67;BA.debugLine="Dim it As CLVItem = items.Get(i)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get(_i)); - //BA.debugLineNum = 68;BA.debugLine="it.Offset = TotalSize"; -_it.Offset = _totalsize; - //BA.debugLineNum = 69;BA.debugLine="TotalSize = TotalSize + it.Size + DividerSize"; -_totalsize = (int) (_totalsize+_it.Size+_dividersize); - } -}; - //BA.debugLineNum = 71;BA.debugLine="If horizontal Then"; -if (_horizontal) { - //BA.debugLineNum = 72;BA.debugLine="mCLV.sv.ScrollViewContentWidth = TotalSize"; -_mclv._sv.setScrollViewContentWidth(_totalsize); - }else { - //BA.debugLineNum = 74;BA.debugLine="mCLV.sv.ScrollViewContentHeight = TotalSize"; -_mclv._sv.setScrollViewContentHeight(_totalsize); - }; - //BA.debugLineNum = 76;BA.debugLine="B4XSeekBar1.mBase.Visible = ShowScrollBar"; -_b4xseekbar1._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_showscrollbar); - //BA.debugLineNum = 77;BA.debugLine="If ShowScrollBar Then"; -if (_showscrollbar) { - //BA.debugLineNum = 78;BA.debugLine="B4XSeekBar1.MaxValue = items.Size"; -_b4xseekbar1._maxvalue /*int*/ = _items.getSize(); - //BA.debugLineNum = 79;BA.debugLine="B4XSeekBar1.Interval = items.Size / NumberOfStep"; -_b4xseekbar1._interval /*int*/ = (int) (_items.getSize()/(double)_numberofsteps); - }; - //BA.debugLineNum = 81;BA.debugLine="RaiseVisibleRangeEvent"; -_raisevisiblerangeevent(); - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _createpanel() throws Exception{ - //BA.debugLineNum = 90;BA.debugLine="Private Sub CreatePanel As B4XView"; - //BA.debugLineNum = 94;BA.debugLine="Return jclv.RunMethodJO(\"_createpanel\", Array(\"Pa"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_jclv.RunMethodJO("_createpanel",new Object[]{(Object)("Panel")}).RunMethod("getObject",(Object[])(__c.Null)))); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return null; -} -public anywheresoftware.b4a.objects.B4XViewWrapper _getpanel() throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 144;BA.debugLine="Private Sub GetPanel As B4XView"; - //BA.debugLineNum = 145;BA.debugLine="If PanelsCache.Size = 0 Then Return CreatePanel"; -if (_panelscache.getSize()==0) { -if (true) return _createpanel();}; - //BA.debugLineNum = 146;BA.debugLine="Dim p As B4XView = PanelsCache.Get(PanelsCache.Si"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_panelscache.Get((int) (_panelscache.getSize()-1)))); - //BA.debugLineNum = 147;BA.debugLine="PanelsCache.RemoveAt(PanelsCache.Size - 1)"; -_panelscache.RemoveAt((int) (_panelscache.getSize()-1)); - //BA.debugLineNum = 148;BA.debugLine="Return p"; -if (true) return _p; - //BA.debugLineNum = 149;BA.debugLine="End Sub"; -return null; -} -public String _handlescrollbar(int _firstvisible) throws Exception{ - //BA.debugLineNum = 139;BA.debugLine="Private Sub HandleScrollBar (FirstVisible As Int)"; - //BA.debugLineNum = 140;BA.debugLine="If ShowScrollBar = False Then Return"; -if (_showscrollbar==__c.False) { -if (true) return "";}; - //BA.debugLineNum = 141;BA.debugLine="B4XSeekBar1.Value = items.Size - FirstVisible"; -_b4xseekbar1._setvalue /*int*/ ((int) (_items.getSize()-_firstvisible)); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return ""; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname,b4a.example3.customlistview _clv) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mCLV = CLV"; -_mclv = _clv; - //BA.debugLineNum = 31;BA.debugLine="jclv = mCLV 'ignore"; -_jclv = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_mclv)); - //BA.debugLineNum = 36;BA.debugLine="items = jclv.GetFieldJO(\"_items\").RunMethod(\"getO"; -_items = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_jclv.GetFieldJO("_items").RunMethod("getObject",(Object[])(__c.Null)))); - //BA.debugLineNum = 37;BA.debugLine="horizontal = jclv.GetField(\"_horizontal\")"; -_horizontal = BA.ObjectToBoolean(_jclv.GetField("_horizontal")); - //BA.debugLineNum = 39;BA.debugLine="PanelsCache.Initialize"; -_panelscache.Initialize(); - //BA.debugLineNum = 40;BA.debugLine="StubPanel = CreatePanel"; -_stubpanel = _createpanel(); - //BA.debugLineNum = 41;BA.debugLine="StubPanel.AddView(xui.CreatePanel(\"\"), 0, 0, 10di"; -_stubpanel.AddView((android.view.View)(_xui.CreatePanel(ba,"").getObject()),(int) (0),(int) (0),__c.DipToCurrent((int) (10)),__c.DipToCurrent((int) (10))); - //BA.debugLineNum = 42;BA.debugLine="AssignedItems = Array As B4XSet(B4XCollections.Cr"; -_assigneditems = new adm.keymon.com.mx.b4xset[]{_b4xcollections._createset /*adm.keymon.com.mx.b4xset*/ (ba),_b4xcollections._createset /*adm.keymon.com.mx.b4xset*/ (ba)}; - //BA.debugLineNum = 43;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; -_listofitemsthatshouldbeupdated.Initialize(); - //BA.debugLineNum = 44;BA.debugLine="mCLV.AsView.LoadLayout(\"PCLVSeekBar\")"; -_mclv._asview().LoadLayout("PCLVSeekBar",ba); - //BA.debugLineNum = 45;BA.debugLine="B4XSeekBar1.Size1 = 1dip"; -_b4xseekbar1._size1 /*int*/ = __c.DipToCurrent((int) (1)); - //BA.debugLineNum = 46;BA.debugLine="B4XSeekBar1.Size2 = 1dip"; -_b4xseekbar1._size2 /*int*/ = __c.DipToCurrent((int) (1)); - //BA.debugLineNum = 47;BA.debugLine="B4XSeekBar1.Radius1 = 8dip"; -_b4xseekbar1._radius1 /*int*/ = __c.DipToCurrent((int) (8)); - //BA.debugLineNum = 48;BA.debugLine="B4XSeekBar1.Update"; -_b4xseekbar1._update /*String*/ (); - //BA.debugLineNum = 49;BA.debugLine="mCallback = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 50;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 51;BA.debugLine="End Sub"; -return ""; -} -public String _internalsettextorcsbuildertolabel(anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 189;BA.debugLine="Private Sub InternalSetTextOrCSBuilderToLabel(xlbl"; - //BA.debugLineNum = 191;BA.debugLine="xlbl.Text = Text"; -_xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 201;BA.debugLine="End Sub"; -return ""; -} -public void _listchangedexternally() throws Exception{ -ResumableSub_ListChangedExternally rsub = new ResumableSub_ListChangedExternally(this); -rsub.resume(ba, null); -} -public static class ResumableSub_ListChangedExternally extends BA.ResumableSub { -public ResumableSub_ListChangedExternally(adm.keymon.com.mx.preoptimizedclv parent) { -this.parent = parent; -} -adm.keymon.com.mx.preoptimizedclv parent; - -@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 = 158;BA.debugLine="ClearAssignedItems"; -parent._clearassigneditems(); - //BA.debugLineNum = 159;BA.debugLine="Sleep(0)"; -parent.__c.Sleep(ba,this,(int) (0)); -this.state = 1; -return; -case 1: -//C -this.state = -1; -; - //BA.debugLineNum = 160;BA.debugLine="RaiseVisibleRangeEvent"; -parent._raisevisiblerangeevent(); - //BA.debugLineNum = 161;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _raisevisiblerangeevent() throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Private Sub RaiseVisibleRangeEvent"; - //BA.debugLineNum = 86;BA.debugLine="jclv.RunMethod(\"_resetvisibles\", Null)"; -_jclv.RunMethod("_resetvisibles",(Object[])(__c.Null)); - //BA.debugLineNum = 87;BA.debugLine="jclv.RunMethod(\"_updatevisiblerange\", Null)"; -_jclv.RunMethod("_updatevisiblerange",(Object[])(__c.Null)); - //BA.debugLineNum = 88;BA.debugLine="End Sub"; -return ""; -} -public anywheresoftware.b4a.objects.collections.List _visiblerangechanged(int _firstindex,int _lastindex) throws Exception{ -int _fromindex = 0; -int _toindex = 0; -adm.keymon.com.mx.b4xset _prevset = null; -adm.keymon.com.mx.b4xset _nextset = null; -int _i = 0; -b4a.example3.customlistview._clvitem _it = null; -anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; - //BA.debugLineNum = 98;BA.debugLine="Public Sub VisibleRangeChanged (FirstIndex As Int,"; - //BA.debugLineNum = 99;BA.debugLine="Dim FromIndex As Int = Max(0, FirstIndex - ExtraI"; -_fromindex = (int) (__c.Max(0,_firstindex-_extraitems)); - //BA.debugLineNum = 100;BA.debugLine="Dim ToIndex As Int = Min(mCLV.Size - 1, LastIndex"; -_toindex = (int) (__c.Min(_mclv._getsize()-1,_lastindex+_extraitems)); - //BA.debugLineNum = 101;BA.debugLine="Dim PrevSet As B4XSet = AssignedItems(AssignedIte"; -_prevset = _assigneditems[_assigneditemsasindex]; - //BA.debugLineNum = 102;BA.debugLine="AssignedItemsAsIndex = (AssignedItemsAsIndex + 1)"; -_assigneditemsasindex = (int) ((_assigneditemsasindex+1)%2); - //BA.debugLineNum = 103;BA.debugLine="Dim NextSet As B4XSet = AssignedItems(AssignedIte"; -_nextset = _assigneditems[_assigneditemsasindex]; - //BA.debugLineNum = 104;BA.debugLine="NextSet.Clear"; -_nextset._clear /*String*/ (); - //BA.debugLineNum = 105;BA.debugLine="ListOfItemsThatShouldBeUpdated.Initialize"; -_listofitemsthatshouldbeupdated.Initialize(); - //BA.debugLineNum = 106;BA.debugLine="For i = FromIndex To ToIndex"; -{ -final int step8 = 1; -final int limit8 = _toindex; -_i = _fromindex ; -for (;_i <= limit8 ;_i = _i + step8 ) { - //BA.debugLineNum = 107;BA.debugLine="Dim it As CLVItem = items.Get(i)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get(_i)); - //BA.debugLineNum = 108;BA.debugLine="If it.Panel = StubPanel Then"; -if ((_it.Panel).equals(_stubpanel)) { - //BA.debugLineNum = 109;BA.debugLine="it.Panel = GetPanel"; -_it.Panel = _getpanel(); - //BA.debugLineNum = 110;BA.debugLine="it.Panel.Tag = i"; -_it.Panel.setTag((Object)(_i)); - //BA.debugLineNum = 111;BA.debugLine="it.Panel.Color = it.Color"; -_it.Panel.setColor(_it.Color); - //BA.debugLineNum = 112;BA.debugLine="If horizontal Then"; -if (_horizontal) { - //BA.debugLineNum = 113;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; -_mclv._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),_it.Offset,(int) (0),_it.Size,_mclv._sv.getHeight()); - }else { - //BA.debugLineNum = 115;BA.debugLine="mCLV.sv.ScrollViewInnerPanel.AddView(it.Panel,"; -_mclv._sv.getScrollViewInnerPanel().AddView((android.view.View)(_it.Panel.getObject()),(int) (0),_it.Offset,_mclv._sv.getWidth(),_it.Size); - }; - //BA.debugLineNum = 117;BA.debugLine="NextSet.Add(it.Panel)"; -_nextset._add /*String*/ ((Object)(_it.Panel.getObject())); - //BA.debugLineNum = 118;BA.debugLine="ListOfItemsThatShouldBeUpdated.Add(i)"; -_listofitemsthatshouldbeupdated.Add((Object)(_i)); - }else if(_prevset._contains /*boolean*/ ((Object)(_it.Panel.getObject()))) { - //BA.debugLineNum = 120;BA.debugLine="NextSet.Add(it.Panel)"; -_nextset._add /*String*/ ((Object)(_it.Panel.getObject())); - }; - } -}; - //BA.debugLineNum = 123;BA.debugLine="For Each pnl As B4XView In PrevSet.AsList"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group25 = _prevset._aslist /*anywheresoftware.b4a.objects.collections.List*/ (); -final int groupLen25 = group25.getSize() -;int index25 = 0; -; -for (; index25 < groupLen25;index25++){ -_pnl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group25.Get(index25))); - //BA.debugLineNum = 124;BA.debugLine="If NextSet.Contains(pnl) = False Then"; -if (_nextset._contains /*boolean*/ ((Object)(_pnl.getObject()))==__c.False) { - //BA.debugLineNum = 125;BA.debugLine="If pnl.Parent.IsInitialized Then"; -if (_pnl.getParent().IsInitialized()) { - //BA.debugLineNum = 126;BA.debugLine="pnl.RemoveViewFromParent"; -_pnl.RemoveViewFromParent(); - //BA.debugLineNum = 127;BA.debugLine="pnl.GetView(0).RemoveAllViews"; -_pnl.GetView((int) (0)).RemoveAllViews(); - //BA.debugLineNum = 128;BA.debugLine="pnl.RemoveAllViews"; -_pnl.RemoveAllViews(); - //BA.debugLineNum = 129;BA.debugLine="PanelsCache.Add(pnl)"; -_panelscache.Add((Object)(_pnl.getObject())); - //BA.debugLineNum = 130;BA.debugLine="Dim it As CLVItem = items.Get(pnl.Tag)"; -_it = (b4a.example3.customlistview._clvitem)(_items.Get((int)(BA.ObjectToNumber(_pnl.getTag())))); - //BA.debugLineNum = 131;BA.debugLine="it.Panel = StubPanel"; -_it.Panel = _stubpanel; - }; - }; - } -}; - //BA.debugLineNum = 135;BA.debugLine="HandleScrollBar (FirstIndex)"; -_handlescrollbar(_firstindex); - //BA.debugLineNum = 136;BA.debugLine="Return ListOfItemsThatShouldBeUpdated"; -if (true) return _listofitemsthatshouldbeupdated; - //BA.debugLineNum = 137;BA.debugLine="End Sub"; -return null; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -if (BA.fastSubCompare(sub, "GETPANEL")) - return _getpanel(); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/roundslider.java b/B4A/Objects/src/adm/keymon/com/mx/roundslider.java deleted file mode 100644 index 77cb8ed..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/roundslider.java +++ /dev/null @@ -1,394 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class roundslider extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.roundslider"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.roundslider.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public int _mvalue = 0; -public int _mmin = 0; -public int _mmax = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _thumb = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _pnl = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -public anywheresoftware.b4a.objects.B4XCanvas.B4XRect _circlerect = null; -public int _valuecolor = 0; -public int _stroke = 0; -public int _thumbsize = 0; -public Object _tag = null; -public int _mthumbbordercolor = 0; -public int _mthumbinnercolor = 0; -public int _mcirclefillcolor = 0; -public int _mcirclenonvaluecolor = 0; -public boolean _mrollover = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 89;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 90;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 91;BA.debugLine="pnl.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_pnl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 92;BA.debugLine="If thumb.IsInitialized = False Then CreateThumb"; -if (_thumb.IsInitialized()==__c.False) { -_createthumb();}; - //BA.debugLineNum = 93;BA.debugLine="CircleRect.Initialize(ThumbSize + stroke, ThumbSi"; -_circlerect.Initialize((float) (_thumbsize+_stroke),(float) (_thumbsize+_stroke),(float) (_width-_thumbsize-_stroke),(float) (_height-_thumbsize-_stroke)); - //BA.debugLineNum = 94;BA.debugLine="xlbl.SetLayoutAnimated(0, CircleRect.Left, Circle"; -_xlbl.SetLayoutAnimated((int) (0),(int) (_circlerect.getLeft()),(int) (_circlerect.getTop()),(int) (_circlerect.getWidth()),(int) (_circlerect.getHeight())); - //BA.debugLineNum = 95;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 96;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 7;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 8;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 9;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 10;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 11;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 12;BA.debugLine="Private mValue As Int = 75"; -_mvalue = (int) (75); - //BA.debugLineNum = 13;BA.debugLine="Private mMin, mMax As Int"; -_mmin = 0; -_mmax = 0; - //BA.debugLineNum = 14;BA.debugLine="Private thumb As B4XBitmap"; -_thumb = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper(); - //BA.debugLineNum = 15;BA.debugLine="Private pnl As B4XView"; -_pnl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xlbl As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 17;BA.debugLine="Private CircleRect As B4XRect"; -_circlerect = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 18;BA.debugLine="Private ValueColor As Int"; -_valuecolor = 0; - //BA.debugLineNum = 19;BA.debugLine="Private stroke As Int"; -_stroke = 0; - //BA.debugLineNum = 20;BA.debugLine="Private ThumbSize As Int"; -_thumbsize = 0; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mThumbBorderColor As Int = 0xFF5B5B5B"; -_mthumbbordercolor = ((int)0xff5b5b5b); - //BA.debugLineNum = 23;BA.debugLine="Private mThumbInnerColor As Int = xui.Color_White"; -_mthumbinnercolor = _xui.Color_White; - //BA.debugLineNum = 24;BA.debugLine="Private mCircleFillColor As Int = xui.Color_White"; -_mcirclefillcolor = _xui.Color_White; - //BA.debugLineNum = 25;BA.debugLine="Private mCircleNonValueColor As Int = 0xFFB6B6B6"; -_mcirclenonvaluecolor = ((int)0xffb6b6b6); - //BA.debugLineNum = 26;BA.debugLine="Private mRollOver As Boolean"; -_mrollover = false; - //BA.debugLineNum = 27;BA.debugLine="End Sub"; -return ""; -} -public String _createthumb() throws Exception{ -b4a.example.bcpath _p = null; -int _r = 0; -int _g = 0; -int _l = 0; -b4a.example.bitmapcreator _bc = null; - //BA.debugLineNum = 70;BA.debugLine="Private Sub CreateThumb"; - //BA.debugLineNum = 71;BA.debugLine="Dim p As BCPath"; -_p = new b4a.example.bcpath(); - //BA.debugLineNum = 72;BA.debugLine="Dim r As Int = 80dip"; -_r = __c.DipToCurrent((int) (80)); - //BA.debugLineNum = 73;BA.debugLine="Dim g As Int = 8dip"; -_g = __c.DipToCurrent((int) (8)); - //BA.debugLineNum = 74;BA.debugLine="Dim l As Int = 28dip"; -_l = __c.DipToCurrent((int) (28)); - //BA.debugLineNum = 75;BA.debugLine="Dim bc As BitmapCreator"; -_bc = new b4a.example.bitmapcreator(); - //BA.debugLineNum = 76;BA.debugLine="bc.Initialize(2 * r + g + 3dip, 2 * r + l + g)"; -_bc._initialize(ba,(int) (2*_r+_g+__c.DipToCurrent((int) (3))),(int) (2*_r+_l+_g)); - //BA.debugLineNum = 77;BA.debugLine="p.Initialize(r - l + g, 2 * r - 2dip + g)"; -_p._initialize(ba,(float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 78;BA.debugLine="p.LineTo(r + l + g, 2 * r - 2dip + g)"; -_p._lineto((float) (_r+_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 79;BA.debugLine="p.LineTo(r + g, 2 * r + l + g)"; -_p._lineto((float) (_r+_g),(float) (2*_r+_l+_g)); - //BA.debugLineNum = 80;BA.debugLine="p.LineTo(r - l + g, 2 * r - 2dip + g)"; -_p._lineto((float) (_r-_l+_g),(float) (2*_r-__c.DipToCurrent((int) (2))+_g)); - //BA.debugLineNum = 81;BA.debugLine="bc.DrawPath(p, mThumbBorderColor, True, 0)"; -_bc._drawpath(_p,_mthumbbordercolor,__c.True,(int) (0)); - //BA.debugLineNum = 82;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbInnerColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbinnercolor,__c.True,(int) (0)); - //BA.debugLineNum = 83;BA.debugLine="bc.DrawCircle(r + g, r + g, r, mThumbBorderColor,"; -_bc._drawcircle((float) (_r+_g),(float) (_r+_g),(float) (_r),_mthumbbordercolor,__c.False,__c.DipToCurrent((int) (10))); - //BA.debugLineNum = 84;BA.debugLine="thumb = bc.Bitmap"; -_thumb = _bc._getbitmap(); - //BA.debugLineNum = 85;BA.debugLine="ThumbSize = thumb.Height / 4"; -_thumbsize = (int) (_thumb.getHeight()/(double)4); - //BA.debugLineNum = 86;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ - //BA.debugLineNum = 35;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 36;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 37;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 38;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 39;BA.debugLine="mMin = Props.Get(\"Min\")"; -_mmin = (int)(BA.ObjectToNumber(_props.Get((Object)("Min")))); - //BA.debugLineNum = 40;BA.debugLine="mMax = Props.Get(\"Max\")"; -_mmax = (int)(BA.ObjectToNumber(_props.Get((Object)("Max")))); - //BA.debugLineNum = 41;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; - //BA.debugLineNum = 42;BA.debugLine="pnl = xui.CreatePanel(\"pnl\")"; -_pnl = _xui.CreatePanel(ba,"pnl"); - //BA.debugLineNum = 43;BA.debugLine="xlbl = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 44;BA.debugLine="xlbl.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 45;BA.debugLine="mBase.AddView(xlbl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 46;BA.debugLine="mBase.AddView(pnl, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_pnl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 47;BA.debugLine="ValueColor = xui.PaintOrColorToColor(Props.Get(\"V"; -_valuecolor = _xui.PaintOrColorToColor(_props.Get((Object)("ValueColor"))); - //BA.debugLineNum = 48;BA.debugLine="mRollOver = Props.GetDefault(\"RollOver\", False)"; -_mrollover = BA.ObjectToBoolean(_props.GetDefault((Object)("RollOver"),(Object)(__c.False))); - //BA.debugLineNum = 49;BA.debugLine="If xui.IsB4A Or xui.IsB4i Then"; -if (_xui.getIsB4A() || _xui.getIsB4i()) { - //BA.debugLineNum = 50;BA.debugLine="stroke = 8dip"; -_stroke = __c.DipToCurrent((int) (8)); - }else if(_xui.getIsB4J()) { - //BA.debugLineNum = 52;BA.debugLine="stroke = 6dip"; -_stroke = __c.DipToCurrent((int) (6)); - }; - //BA.debugLineNum = 54;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ -int _radius = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -int _angle = 0; -int _b4jstrokeoffset = 0; -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _dest = null; -int _r = 0; -int _cx = 0; -int _cy = 0; - //BA.debugLineNum = 98;BA.debugLine="Public Sub Draw"; - //BA.debugLineNum = 99;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 100;BA.debugLine="Dim radius As Int = CircleRect.Width / 2"; -_radius = (int) (_circlerect.getWidth()/(double)2); - //BA.debugLineNum = 101;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_mcirclenonvaluecolor,__c.False,(float) (_stroke)); - //BA.debugLineNum = 102;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 103;BA.debugLine="Dim angle As Int = (mValue - mMin) / (mMax - mMin"; -_angle = (int) ((_mvalue-_mmin)/(double)(_mmax-_mmin)*360); - //BA.debugLineNum = 104;BA.debugLine="Dim B4JStrokeOffset As Int"; -_b4jstrokeoffset = 0; - //BA.debugLineNum = 105;BA.debugLine="If xui.IsB4J Then B4JStrokeOffset = stroke / 2"; -if (_xui.getIsB4J()) { -_b4jstrokeoffset = (int) (_stroke/(double)2);}; - //BA.debugLineNum = 106;BA.debugLine="If mValue = mMax Then"; -if (_mvalue==_mmax) { - //BA.debugLineNum = 107;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Ce"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius),_valuecolor,__c.False,(float) (_stroke)); - }else { - //BA.debugLineNum = 109;BA.debugLine="p.InitializeArc(CircleRect.CenterX, CircleRect.C"; -_p.InitializeArc(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius+_b4jstrokeoffset),(float) (-90),(float) (_angle)); - //BA.debugLineNum = 110;BA.debugLine="cvs.DrawPath(p, ValueColor, False, stroke)"; -_cvs.DrawPath(_p,_valuecolor,__c.False,(float) (_stroke)); - }; - //BA.debugLineNum = 112;BA.debugLine="cvs.DrawCircle(CircleRect.CenterX, CircleRect.Cen"; -_cvs.DrawCircle(_circlerect.getCenterX(),_circlerect.getCenterY(),(float) (_radius-_b4jstrokeoffset),_mcirclefillcolor,__c.True,(float) (0)); - //BA.debugLineNum = 113;BA.debugLine="Dim dest As B4XRect"; -_dest = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 114;BA.debugLine="Dim r As Int = radius + ThumbSize / 2 + stroke /"; -_r = (int) (_radius+_thumbsize/(double)2+_stroke/(double)2); - //BA.debugLineNum = 115;BA.debugLine="Dim cx As Int = CircleRect.CenterX + r * CosD(ang"; -_cx = (int) (_circlerect.getCenterX()+_r*__c.CosD(_angle-90)); - //BA.debugLineNum = 116;BA.debugLine="Dim cy As Int = CircleRect.CenterY + r * SinD(ang"; -_cy = (int) (_circlerect.getCenterY()+_r*__c.SinD(_angle-90)); - //BA.debugLineNum = 117;BA.debugLine="dest.Initialize(cx - thumb.Width / 8, cy - ThumbS"; -_dest.Initialize((float) (_cx-_thumb.getWidth()/(double)8),(float) (_cy-_thumbsize/(double)2),(float) (_cx+_thumb.getWidth()/(double)8),(float) (_cy+_thumbsize/(double)2)); - //BA.debugLineNum = 118;BA.debugLine="cvs.DrawBitmapRotated(thumb, dest, angle)"; -_cvs.DrawBitmapRotated((android.graphics.Bitmap)(_thumb.getObject()),_dest,(float) (_angle)); - //BA.debugLineNum = 119;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 120;BA.debugLine="xlbl.Text = mValue"; -_xlbl.setText(BA.ObjectToCharSequence(_mvalue)); - //BA.debugLineNum = 121;BA.debugLine="End Sub"; -return ""; -} -public int _getvalue() throws Exception{ - //BA.debugLineNum = 182;BA.debugLine="Public Sub getValue As Int"; - //BA.debugLineNum = 183;BA.debugLine="Return mValue"; -if (true) return _mvalue; - //BA.debugLineNum = 184;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 29;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 30;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 31;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 32;BA.debugLine="End Sub"; -return ""; -} -public String _pnl_touch(int _action,float _x,float _y) throws Exception{ -int _dx = 0; -int _dy = 0; -float _dist = 0f; -int _angle = 0; -int _newvalue = 0; - //BA.debugLineNum = 123;BA.debugLine="Private Sub pnl_Touch (Action As Int, X As Float,"; - //BA.debugLineNum = 124;BA.debugLine="If Action = pnl.TOUCH_ACTION_MOVE_NOTOUCH Then Re"; -if (_action==_pnl.TOUCH_ACTION_MOVE_NOTOUCH) { -if (true) return "";}; - //BA.debugLineNum = 125;BA.debugLine="Dim dx As Int = x - CircleRect.CenterX"; -_dx = (int) (_x-_circlerect.getCenterX()); - //BA.debugLineNum = 126;BA.debugLine="Dim dy As Int = y - CircleRect.CenterY"; -_dy = (int) (_y-_circlerect.getCenterY()); - //BA.debugLineNum = 127;BA.debugLine="Dim dist As Float = Sqrt(Power(dx, 2) + Power(dy,"; -_dist = (float) (__c.Sqrt(__c.Power(_dx,2)+__c.Power(_dy,2))); - //BA.debugLineNum = 128;BA.debugLine="If dist > CircleRect.Width / 2 Then"; -if (_dist>_circlerect.getWidth()/(double)2) { - //BA.debugLineNum = 129;BA.debugLine="Dim angle As Int = Round(ATan2D(dy, dx))"; -_angle = (int) (__c.Round(__c.ATan2D(_dy,_dx))); - //BA.debugLineNum = 130;BA.debugLine="angle = angle + 90"; -_angle = (int) (_angle+90); - //BA.debugLineNum = 131;BA.debugLine="angle = (angle + 360) Mod 360"; -_angle = (int) ((_angle+360)%360); - //BA.debugLineNum = 132;BA.debugLine="Dim NewValue As Int = mMin + angle / 360 * (mMax"; -_newvalue = (int) (_mmin+_angle/(double)360*(_mmax-_mmin)); - //BA.debugLineNum = 133;BA.debugLine="NewValue = Max(mMin, Min(mMax, NewValue))"; -_newvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_newvalue))); - //BA.debugLineNum = 134;BA.debugLine="If NewValue <> mValue Then"; -if (_newvalue!=_mvalue) { - //BA.debugLineNum = 135;BA.debugLine="If mRollOver = False Then"; -if (_mrollover==__c.False) { - //BA.debugLineNum = 136;BA.debugLine="If Abs(NewValue - mValue) > (mMax - mMin) / 2"; -if (__c.Abs(_newvalue-_mvalue)>(_mmax-_mmin)/(double)2) { - //BA.debugLineNum = 137;BA.debugLine="If mValue >= (mMax + mMin) / 2 Then"; -if (_mvalue>=(_mmax+_mmin)/(double)2) { - //BA.debugLineNum = 138;BA.debugLine="mValue = mMax"; -_mvalue = _mmax; - }else { - //BA.debugLineNum = 140;BA.debugLine="mValue = mMin"; -_mvalue = _mmin; - }; - }else { - //BA.debugLineNum = 143;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; - }; - }else { - //BA.debugLineNum = 146;BA.debugLine="mValue = NewValue"; -_mvalue = _newvalue; - }; - //BA.debugLineNum = 148;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_Valu"; -if (_xui.SubExists(ba,_mcallback,_meventname+"_ValueChanged",(int) (1))) { - //BA.debugLineNum = 149;BA.debugLine="CallSub2(mCallBack, mEventName & \"_ValueChange"; -__c.CallSubNew2(ba,_mcallback,_meventname+"_ValueChanged",(Object)(_mvalue)); - }; - }; - //BA.debugLineNum = 152;BA.debugLine="Draw"; -_draw(); - }; - //BA.debugLineNum = 154;BA.debugLine="End Sub"; -return ""; -} -public String _setcirclecolor(int _nonvaluecolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 64;BA.debugLine="Public Sub SetCircleColor (NonValueColor As Int, I"; - //BA.debugLineNum = 65;BA.debugLine="mCircleNonValueColor = NonValueColor"; -_mcirclenonvaluecolor = _nonvaluecolor; - //BA.debugLineNum = 66;BA.debugLine="mCircleFillColor = InnerColor"; -_mcirclefillcolor = _innercolor; - //BA.debugLineNum = 67;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 68;BA.debugLine="End Sub"; -return ""; -} -public String _setrange(int _newmin,int _newmax) throws Exception{ - //BA.debugLineNum = 176;BA.debugLine="Public Sub SetRange(NewMin As Int, NewMax As Int)"; - //BA.debugLineNum = 177;BA.debugLine="mMin = NewMin"; -_mmin = _newmin; - //BA.debugLineNum = 178;BA.debugLine="mMax = NewMax"; -_mmax = _newmax; - //BA.debugLineNum = 179;BA.debugLine="setValue(mValue)"; -_setvalue(_mvalue); - //BA.debugLineNum = 180;BA.debugLine="End Sub"; -return ""; -} -public String _setthumbcolor(int _bordercolor,int _innercolor) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Public Sub SetThumbColor(BorderColor As Int, Inner"; - //BA.debugLineNum = 58;BA.debugLine="mThumbBorderColor = BorderColor"; -_mthumbbordercolor = _bordercolor; - //BA.debugLineNum = 59;BA.debugLine="mThumbInnerColor = InnerColor"; -_mthumbinnercolor = _innercolor; - //BA.debugLineNum = 60;BA.debugLine="CreateThumb"; -_createthumb(); - //BA.debugLineNum = 61;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -public String _setvalue(int _v) throws Exception{ - //BA.debugLineNum = 170;BA.debugLine="Public Sub setValue (v As Int)"; - //BA.debugLineNum = 171;BA.debugLine="mValue = Max(mMin, Min(mMax, v))"; -_mvalue = (int) (__c.Max(_mmin,__c.Min(_mmax,_v))); - //BA.debugLineNum = 172;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 173;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/scrollinglabel.java b/B4A/Objects/src/adm/keymon/com/mx/scrollinglabel.java deleted file mode 100644 index 887446d..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/scrollinglabel.java +++ /dev/null @@ -1,423 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class scrollinglabel extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.scrollinglabel"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.scrollinglabel.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public String _mtext = ""; -public int _taskindex = 0; -public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public Object _tag = null; -public int _widthpersecond = 0; -public int _startpositiondelay = 0; -public int _mtextcolor = 0; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ - //BA.debugLineNum = 40;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 41;BA.debugLine="mBase.GetView(0).SetLayoutAnimated(0, 0, 0, Width"; -_mbase.GetView((int) (0)).SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - //BA.debugLineNum = 42;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 43;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 3;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 4;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 5;BA.debugLine="Public mBase As B4XView"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 6;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 7;BA.debugLine="Private mText As String"; -_mtext = ""; - //BA.debugLineNum = 8;BA.debugLine="Private taskIndex As Int"; -_taskindex = 0; - //BA.debugLineNum = 9;BA.debugLine="Private fnt As B4XFont"; -_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont(); - //BA.debugLineNum = 10;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 11;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 12;BA.debugLine="Public WidthPerSecond As Int = 100dip"; -_widthpersecond = __c.DipToCurrent((int) (100)); - //BA.debugLineNum = 13;BA.debugLine="Public StartPositionDelay As Int = 1000"; -_startpositiondelay = (int) (1000); - //BA.debugLineNum = 14;BA.debugLine="Private mTextColor As Int = xui.Color_Black"; -_mtextcolor = _xui.Color_Black; - //BA.debugLineNum = 15;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _l = null; - //BA.debugLineNum = 23;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 24;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 25;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 27;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 28;BA.debugLine="mBase.AddView(p, 0, 0, mBase.Width, mBase.Height)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 29;BA.debugLine="mText = Lbl.Text"; -_mtext = _lbl.getText(); - //BA.debugLineNum = 30;BA.debugLine="Dim l As B4XView = Lbl"; -_l = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_l = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 31;BA.debugLine="fnt = l.Font"; -_fnt = _l.getFont(); - //BA.debugLineNum = 32;BA.debugLine="mTextColor = l.TextColor"; -_mtextcolor = _l.getTextColor(); - //BA.debugLineNum = 33;BA.debugLine="If mTextColor = xui.Color_Transparent Then mTextC"; -if (_mtextcolor==_xui.Color_Transparent) { -_mtextcolor = _xui.Color_Black;}; - //BA.debugLineNum = 34;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 35;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 2dip, 2dip)"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2))); - //BA.debugLineNum = 36;BA.debugLine="cvs.Initialize(p)"; -_cvs.Initialize(_p); - //BA.debugLineNum = 37;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 38;BA.debugLine="End Sub"; -return ""; -} -public String _gettext() throws Exception{ - //BA.debugLineNum = 93;BA.debugLine="Public Sub getText As String"; - //BA.debugLineNum = 94;BA.debugLine="Return mText"; -if (true) return _mtext; - //BA.debugLineNum = 95;BA.debugLine="End Sub"; -return ""; -} -public int _gettextcolor() throws Exception{ - //BA.debugLineNum = 126;BA.debugLine="Public Sub getTextColor As Int"; - //BA.debugLineNum = 127;BA.debugLine="Return mTextColor"; -if (true) return _mtextcolor; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return 0; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 18;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 19;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 20;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 21;BA.debugLine="End Sub"; -return ""; -} -public float _measuretextwidth(String _s,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Private Sub MeasureTextWidth(s As String, font1 As"; - //BA.debugLineNum = 118;BA.debugLine="Return cvs.MeasureText(s, font1).Width"; -if (true) return _cvs.MeasureText(_s,_font1).getWidth(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return 0f; -} -public String _settext(String _t) throws Exception{ -boolean _needtocreatenewlabel = false; -anywheresoftware.b4a.objects.B4XViewWrapper _parent = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -float _originaltextwidth = 0f; -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; -String _duplicatetext = ""; -float _width = 0f; - //BA.debugLineNum = 45;BA.debugLine="Public Sub setText(t As String)"; - //BA.debugLineNum = 46;BA.debugLine="Dim NeedToCreateNewLabel As Boolean = True"; -_needtocreatenewlabel = __c.True; - //BA.debugLineNum = 47;BA.debugLine="Dim parent As B4XView = mBase.GetView(0)"; -_parent = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_parent = _mbase.GetView((int) (0)); - //BA.debugLineNum = 48;BA.debugLine="If parent.NumberOfViews > 0 Then"; -if (_parent.getNumberOfViews()>0) { - //BA.debugLineNum = 50;BA.debugLine="Dim p As B4XView = parent.GetView(0)"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _parent.GetView((int) (0)); - //BA.debugLineNum = 51;BA.debugLine="If p.Tag = \"static\" Then"; -if ((_p.getTag()).equals((Object)("static"))) { - //BA.debugLineNum = 52;BA.debugLine="NeedToCreateNewLabel = False"; -_needtocreatenewlabel = __c.False; - //BA.debugLineNum = 53;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, parent.Width, pare"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 54;BA.debugLine="Dim xlbl As B4XView = p.GetView(0)"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = _p.GetView((int) (0)); - //BA.debugLineNum = 55;BA.debugLine="xlbl.SetLayoutAnimated(0, 0, 0, parent.Width, p"; -_xlbl.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - }; - }; - //BA.debugLineNum = 59;BA.debugLine="Dim originalTextWidth As Float = MeasureTextWidth"; -_originaltextwidth = _measuretextwidth(_t,_fnt); - //BA.debugLineNum = 60;BA.debugLine="mText = t"; -_mtext = _t; - //BA.debugLineNum = 61;BA.debugLine="If NeedToCreateNewLabel Then"; -if (_needtocreatenewlabel) { - //BA.debugLineNum = 62;BA.debugLine="parent.RemoveAllViews"; -_parent.RemoveAllViews(); - //BA.debugLineNum = 63;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,""); - //BA.debugLineNum = 64;BA.debugLine="parent.AddView(p, 0, 0, parent.Width, parent.Hei"; -_parent.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),_parent.getWidth(),_parent.getHeight()); - //BA.debugLineNum = 65;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 66;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(ba,""); - //BA.debugLineNum = 68;BA.debugLine="lbl.SingleLine = True"; -_lbl.setSingleLine(__c.True); - //BA.debugLineNum = 69;BA.debugLine="lbl.Padding = Array As Int(0, 0, 0, 0)"; -_lbl.setPadding(new int[]{(int) (0),(int) (0),(int) (0),(int) (0)}); - //BA.debugLineNum = 71;BA.debugLine="Dim xlbl As B4XView = lbl"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 72;BA.debugLine="xlbl.SetTextAlignment(\"CENTER\", \"LEFT\")"; -_xlbl.SetTextAlignment("CENTER","LEFT"); - //BA.debugLineNum = 73;BA.debugLine="xlbl.Font = fnt"; -_xlbl.setFont(_fnt); - //BA.debugLineNum = 75;BA.debugLine="p.AddView(xlbl, 0, 0, mBase.Width, mBase.Height)"; -_p.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),_mbase.getWidth(),_mbase.getHeight()); - }; - //BA.debugLineNum = 77;BA.debugLine="xlbl.TextColor = mTextColor"; -_xlbl.setTextColor(_mtextcolor); - //BA.debugLineNum = 78;BA.debugLine="If originalTextWidth <= mBase.Width Then"; -if (_originaltextwidth<=_mbase.getWidth()) { - //BA.debugLineNum = 79;BA.debugLine="xlbl.Text = t"; -_xlbl.setText(BA.ObjectToCharSequence(_t)); - //BA.debugLineNum = 80;BA.debugLine="p.Tag = \"static\""; -_p.setTag((Object)("static")); - //BA.debugLineNum = 81;BA.debugLine="StopScrolling"; -_stopscrolling(); - }else { - //BA.debugLineNum = 83;BA.debugLine="p.Tag = \"\""; -_p.setTag((Object)("")); - //BA.debugLineNum = 84;BA.debugLine="Dim duplicateText As String = t & \" \" & t"; -_duplicatetext = _t+" "+_t; - //BA.debugLineNum = 85;BA.debugLine="Dim Width As Float = MeasureTextWidth(duplicateT"; -_width = _measuretextwidth(_duplicatetext,_fnt); - //BA.debugLineNum = 86;BA.debugLine="p.Width = Width"; -_p.setWidth((int) (_width)); - //BA.debugLineNum = 87;BA.debugLine="xlbl.Width = Width"; -_xlbl.setWidth((int) (_width)); - //BA.debugLineNum = 88;BA.debugLine="xlbl.Text = duplicateText"; -_xlbl.setText(BA.ObjectToCharSequence(_duplicatetext)); - //BA.debugLineNum = 89;BA.debugLine="StartScrolling (p, originalTextWidth)"; -_startscrolling(_p,_originaltextwidth); - }; - //BA.debugLineNum = 91;BA.debugLine="End Sub"; -return ""; -} -public String _settextcolor(int _c) throws Exception{ - //BA.debugLineNum = 121;BA.debugLine="Public Sub setTextColor(c As Int)"; - //BA.debugLineNum = 122;BA.debugLine="mTextColor = c"; -_mtextcolor = _c; - //BA.debugLineNum = 123;BA.debugLine="setText(mText)"; -_settext(_mtext); - //BA.debugLineNum = 124;BA.debugLine="End Sub"; -return ""; -} -public void _startscrolling(anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) throws Exception{ -ResumableSub_StartScrolling rsub = new ResumableSub_StartScrolling(this,_p,_originalwidth); -rsub.resume(ba, null); -} -public static class ResumableSub_StartScrolling extends BA.ResumableSub { -public ResumableSub_StartScrolling(adm.keymon.com.mx.scrollinglabel parent,anywheresoftware.b4a.objects.B4XViewWrapper _p,float _originalwidth) { -this.parent = parent; -this._p = _p; -this._originalwidth = _originalwidth; -} -adm.keymon.com.mx.scrollinglabel parent; -anywheresoftware.b4a.objects.B4XViewWrapper _p; -float _originalwidth; -int _myindex = 0; -int _duration = 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 = 102;BA.debugLine="taskIndex = taskIndex + 1"; -parent._taskindex = (int) (parent._taskindex+1); - //BA.debugLineNum = 103;BA.debugLine="Dim myIndex As Int = taskIndex"; -_myindex = parent._taskindex; - //BA.debugLineNum = 104;BA.debugLine="Dim duration As Int = p.Width / WidthPerSecond *"; -_duration = (int) (_p.getWidth()/(double)parent._widthpersecond*1000); - //BA.debugLineNum = 105;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); -this.state = 23; -return; -case 23: -//C -this.state = 1; -; - //BA.debugLineNum = 106;BA.debugLine="If myIndex <> taskIndex Then Return"; -if (true) break; - -case 1: -//if -this.state = 6; -if (_myindex!=parent._taskindex) { -this.state = 3; -;}if (true) break; - -case 3: -//C -this.state = 6; -if (true) return ; -if (true) break; - -case 6: -//C -this.state = 7; -; - //BA.debugLineNum = 107;BA.debugLine="Do While True"; -if (true) break; - -case 7: -//do while -this.state = 22; -while (parent.__c.True) { -this.state = 9; -if (true) break; -} -if (true) break; - -case 9: -//C -this.state = 10; - //BA.debugLineNum = 108;BA.debugLine="p.SetLayoutAnimated(duration, -(p.Width - Origin"; -_p.SetLayoutAnimated(_duration,(int) (-(_p.getWidth()-_originalwidth)),_p.getTop(),_p.getWidth(),_p.getHeight()); - //BA.debugLineNum = 109;BA.debugLine="Sleep(duration)"; -parent.__c.Sleep(ba,this,_duration); -this.state = 24; -return; -case 24: -//C -this.state = 10; -; - //BA.debugLineNum = 110;BA.debugLine="If myIndex <> taskIndex Then Return"; -if (true) break; - -case 10: -//if -this.state = 15; -if (_myindex!=parent._taskindex) { -this.state = 12; -;}if (true) break; - -case 12: -//C -this.state = 15; -if (true) return ; -if (true) break; - -case 15: -//C -this.state = 16; -; - //BA.debugLineNum = 111;BA.debugLine="Sleep(StartPositionDelay)"; -parent.__c.Sleep(ba,this,parent._startpositiondelay); -this.state = 25; -return; -case 25: -//C -this.state = 16; -; - //BA.debugLineNum = 112;BA.debugLine="If myIndex <> taskIndex Then Return"; -if (true) break; - -case 16: -//if -this.state = 21; -if (_myindex!=parent._taskindex) { -this.state = 18; -;}if (true) break; - -case 18: -//C -this.state = 21; -if (true) return ; -if (true) break; - -case 21: -//C -this.state = 7; -; - //BA.debugLineNum = 113;BA.debugLine="p.SetLayoutAnimated(0, 0, p.Top, p.Width, p.Heig"; -_p.SetLayoutAnimated((int) (0),(int) (0),_p.getTop(),_p.getWidth(),_p.getHeight()); - if (true) break; - -case 22: -//C -this.state = -1; -; - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public String _stopscrolling() throws Exception{ - //BA.debugLineNum = 97;BA.debugLine="Private Sub StopScrolling"; - //BA.debugLineNum = 98;BA.debugLine="taskIndex = taskIndex + 1"; -_taskindex = (int) (_taskindex+1); - //BA.debugLineNum = 99;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/starter.java b/B4A/Objects/src/adm/keymon/com/mx/starter.java deleted file mode 100644 index c99e01b..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/starter.java +++ /dev/null @@ -1,373 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class starter extends android.app.Service{ - public static class starter_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (starter) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, starter.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, true, BA.class); - } - - } - static starter mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return starter.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "adm.keymon.com.mx", "adm.keymon.com.mx.starter"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - ServiceHelper.init(); - } - _service = new ServiceHelper(this); - processBA.service = this; - - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.starter", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!true && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (starter) Create ***"); - processBA.raiseEvent(null, "service_create"); - } - processBA.runHook("oncreate", this, null); - if (true) { - if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { - BA.LogInfo("stopping spontaneous created service"); - stopSelf(); - } - } - } - @Override - public void onStart(android.content.Intent intent, int startId) { - onStartCommand(intent, 0, 0); - } - @Override - public int onStartCommand(final android.content.Intent intent, int flags, int startId) { - if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { - public void run() { - handleStart(intent); - }})) - ; - else { - ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { - public void run() { - processBA.setActivityPaused(false); - BA.LogInfo("** Service (starter) Create **"); - processBA.raiseEvent(null, "service_create"); - handleStart(intent); - ServiceHelper.StarterHelper.removeWaitForLayout(); - } - }); - } - processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); - return android.app.Service.START_NOT_STICKY; - } - public void onTaskRemoved(android.content.Intent rootIntent) { - super.onTaskRemoved(rootIntent); - if (true) - processBA.raiseEvent(null, "service_taskremoved"); - - } - private void handleStart(android.content.Intent intent) { - BA.LogInfo("** Service (starter) Start **"); - java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); - if (startEvent != null) { - if (startEvent.getParameterTypes().length > 0) { - anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); - processBA.raiseEvent(null, "service_start", iw); - } - else { - processBA.raiseEvent(null, "service_start"); - } - } - } - - @Override - public void onDestroy() { - super.onDestroy(); - if (true) { - BA.LogInfo("** Service (starter) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (starter) Destroy **"); - processBA.raiseEvent(null, "service_destroy"); - processBA.service = null; - mostCurrent = null; - processBA.setActivityPaused(true); - processBA.runHook("ondestroy", this, null); - } - } - -@Override - public android.os.IBinder onBind(android.content.Intent intent) { - return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static anywheresoftware.b4a.gps.GPS _gps = null; -public static anywheresoftware.b4a.sql.SQL _skmt = null; -public static adm.keymon.com.mx.c_subs _s = null; -public static anywheresoftware.b4a.phone.Phone _ph = null; -public static anywheresoftware.b4a.objects.RuntimePermissions _rp = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; -public static adm.keymon.com.mx.dbrequestmanager _reqmanager = null; -public static String _dbreqserver = ""; -public static anywheresoftware.b4a.objects.Timer _timer1 = null; -public static int _interval = 0; -public static String _ruta = ""; -public static anywheresoftware.b4a.keywords.StringBuilderWrapper _logs = null; -public static anywheresoftware.b4a.phone.Phone.LogCat _logcat = null; -public static String _muestraprogreso = ""; -public static boolean _logger = false; -public static String _mac_impresora = ""; -public static String _marcacel = ""; -public static String _tabla = ""; -public static float _pre_viejo = 0f; -public static anywheresoftware.b4a.objects.Serial.BluetoothAdmin _btadmin = null; -public static boolean _bluetoothstate = false; -public static adm.keymon.com.mx.fileprovider _ffileprovider = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static boolean _application_error(anywheresoftware.b4a.objects.B4AException _error,String _stacktrace) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -long _l = 0L; - //BA.debugLineNum = 119;BA.debugLine="Sub Application_Error (Error As Exception, StackTr"; - //BA.debugLineNum = 121;BA.debugLine="Dim jo As JavaObject"; -_jo = new anywheresoftware.b4j.object.JavaObject(); - //BA.debugLineNum = 122;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; -_l = (long) (500); - //BA.debugLineNum = 122;BA.debugLine="Dim l As Long = 500: jo.InitializeStatic(\"java.la"; -_jo.InitializeStatic("java.lang.Thread").RunMethod("sleep",new Object[]{(Object)(_l)}); - //BA.debugLineNum = 123;BA.debugLine="logcat.LogCatStop"; -_logcat.LogCatStop(); - //BA.debugLineNum = 124;BA.debugLine="logs.Append(StackTrace)"; -_logs.Append(_stacktrace); - //BA.debugLineNum = 125;BA.debugLine="Subs.revisaBD"; -mostCurrent._subs._revisabd /*String*/ (processBA); - //BA.debugLineNum = 126;BA.debugLine="Subs.errorLog.ExecNonQuery2(\"INSERT INTO errores("; -mostCurrent._subs._errorlog /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_logs.getObject())})); - //BA.debugLineNum = 127;BA.debugLine="Return True"; -if (true) return anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return false; -} -public static String _btadmin_statechanged(int _newstate,int _oldstate) throws Exception{ - //BA.debugLineNum = 57;BA.debugLine="Private Sub BTAdmin_StateChanged (NewState As Int,"; - //BA.debugLineNum = 58;BA.debugLine="If logger Then Log(\"BT state changed: \" & NewStat"; -if (_logger) { -anywheresoftware.b4a.keywords.Common.LogImpl("376808193","BT state changed: "+BA.NumberToString(_newstate),0);}; - //BA.debugLineNum = 59;BA.debugLine="BluetoothState = NewState = BTAdmin.STATE_ON"; -_bluetoothstate = _newstate==_btadmin.STATE_ON; - //BA.debugLineNum = 61;BA.debugLine="End Sub"; -return ""; -} -public static String _envia_ultima_gps() throws Exception{ -adm.keymon.com.mx.dbrequestmanager._dbcommand _cmd = null; - //BA.debugLineNum = 89;BA.debugLine="Sub ENVIA_ULTIMA_GPS"; - //BA.debugLineNum = 90;BA.debugLine="Dim logger As Boolean = False"; -_logger = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 91;BA.debugLine="If logger Then LogColor(\"Iniciamos ENVIA_ULTIMA_G"; -if (_logger) { -anywheresoftware.b4a.keywords.Common.LogImpl("377201410","Iniciamos ENVIA_ULTIMA_GPS",anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 92;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 96;BA.debugLine="Dim cmd As DBCommand"; -_cmd = new adm.keymon.com.mx.dbrequestmanager._dbcommand(); - //BA.debugLineNum = 97;BA.debugLine="cmd.Initialize"; -_cmd.Initialize(); - //BA.debugLineNum = 98;BA.debugLine="cmd.Name = \"UPDATE_ADM_ACTUAL2_GPS\""; -_cmd.Name /*String*/ = "UPDATE_ADM_ACTUAL2_GPS"; - //BA.debugLineNum = 99;BA.debugLine="If B4XPages.MainPage.lat_gps.Length < 15 Then B4X"; -if (mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ .length()<15) { -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ +"0";}; - //BA.debugLineNum = 100;BA.debugLine="cmd.Parameters = Array As Object(B4XPages.MainPag"; -_cmd.Parameters /*Object[]*/ = new Object[]{(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ),(Object)(0),(Object)(0),(Object)(0),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ )}; - //BA.debugLineNum = 101;BA.debugLine="If logger Then Log($\"montoActual: ${B4XPages.Main"; -if (_logger) { -anywheresoftware.b4a.keywords.Common.LogImpl("377201420",("montoActual: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._montoactual /*String*/ ))+", cTotal: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientestotal /*String*/ ))+", cVenta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientesventa /*String*/ ))+", cVisitados: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._clientesvisitados /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ ))+", Batt: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._batt /*int*/ ))+", 0, 0, 0, Almacen: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._almacen /*String*/ ))+", Ruta: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._rutapreventa /*String*/ ))+""),0);}; - //BA.debugLineNum = 102;BA.debugLine="reqManager.ExecuteCommand(cmd, \"inst_visitas\")"; -_reqmanager._executecommand /*String*/ (_cmd,(Object)("inst_visitas")); - //BA.debugLineNum = 103;BA.debugLine="skmt.ExecNonQuery2(\"Update cat_variables set CAT_"; -_skmt.ExecNonQuery2("Update cat_variables set CAT_VA_VALOR = ? WHERE CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),"HoraIngreso"})); - //BA.debugLineNum = 105;BA.debugLine="Timer1.Enabled = False"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 106;BA.debugLine="Timer1.Interval = Interval * 1000"; -_timer1.setInterval((long) (_interval*1000)); - //BA.debugLineNum = 107;BA.debugLine="Timer1.Enabled = True"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 108;BA.debugLine="End Sub"; -return ""; -} -public static String _gps_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ - //BA.debugLineNum = 77;BA.debugLine="Sub GPS_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 79;BA.debugLine="End Sub"; -return ""; -} -public static String _logcat_logcatdata(byte[] _buffer,int _length) throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Private Sub logcat_LogCatData (Buffer() As Byte, L"; - //BA.debugLineNum = 112;BA.debugLine="logs.Append(BytesToString(Buffer, 0, Length, \"utf"; -_logs.Append(anywheresoftware.b4a.keywords.Common.BytesToString(_buffer,(int) (0),_length,"utf8")); - //BA.debugLineNum = 113;BA.debugLine="If logs.Length > 4000 Then"; -if (_logs.getLength()>4000) { - //BA.debugLineNum = 114;BA.debugLine="logs.Remove(0, logs.Length - 2000) 'Obtenemos lo"; -_logs.Remove((int) (0),(int) (_logs.getLength()-2000)); - }; - //BA.debugLineNum = 116;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 6;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 9;BA.debugLine="Public gps As GPS"; -_gps = new anywheresoftware.b4a.gps.GPS(); - //BA.debugLineNum = 10;BA.debugLine="Dim skmt As SQL"; -_skmt = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 11;BA.debugLine="Dim s As C_Subs"; -_s = new adm.keymon.com.mx.c_subs(); - //BA.debugLineNum = 12;BA.debugLine="Dim ph As Phone"; -_ph = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 13;BA.debugLine="Public rp As RuntimePermissions"; -_rp = new anywheresoftware.b4a.objects.RuntimePermissions(); - //BA.debugLineNum = 14;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Dim reqManager As DBRequestManager"; -_reqmanager = new adm.keymon.com.mx.dbrequestmanager(); - //BA.debugLineNum = 17;BA.debugLine="Dim DBReqServer As String = \"http://keymon.net:17"; -_dbreqserver = "http://keymon.net:1781"; - //BA.debugLineNum = 21;BA.debugLine="Dim Timer1 As Timer"; -_timer1 = new anywheresoftware.b4a.objects.Timer(); - //BA.debugLineNum = 22;BA.debugLine="Dim Interval As Int = 10"; -_interval = (int) (10); - //BA.debugLineNum = 23;BA.debugLine="Dim ruta As String = File.DirInternal"; -_ruta = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - //BA.debugLineNum = 25;BA.debugLine="Private logs As StringBuilder"; -_logs = new anywheresoftware.b4a.keywords.StringBuilderWrapper(); - //BA.debugLineNum = 26;BA.debugLine="Private logcat As LogCat"; -_logcat = new anywheresoftware.b4a.phone.Phone.LogCat(); - //BA.debugLineNum = 27;BA.debugLine="Dim muestraProgreso = 0"; -_muestraprogreso = BA.NumberToString(0); - //BA.debugLineNum = 28;BA.debugLine="Dim logger As Boolean = False"; -_logger = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 29;BA.debugLine="Dim MAC_IMPRESORA As String"; -_mac_impresora = ""; - //BA.debugLineNum = 30;BA.debugLine="Dim marcaCel As String = ph.manufacturer"; -_marcacel = _ph.getManufacturer(); - //BA.debugLineNum = 31;BA.debugLine="Dim tabla As String"; -_tabla = ""; - //BA.debugLineNum = 32;BA.debugLine="Dim pre_viejo As Float"; -_pre_viejo = 0f; - //BA.debugLineNum = 33;BA.debugLine="Private BTAdmin As BluetoothAdmin"; -_btadmin = new anywheresoftware.b4a.objects.Serial.BluetoothAdmin(); - //BA.debugLineNum = 34;BA.debugLine="Public BluetoothState As Boolean"; -_bluetoothstate = false; - //BA.debugLineNum = 35;BA.debugLine="Public fFileProvider As FileProvider"; -_ffileprovider = new adm.keymon.com.mx.fileprovider(); - //BA.debugLineNum = 36;BA.debugLine="End Sub"; -return ""; -} -public static String _reinicializareqmanager(String _srv) throws Exception{ - //BA.debugLineNum = 131;BA.debugLine="Sub reinicializaReqManager(srv As String)"; - //BA.debugLineNum = 132;BA.debugLine="skmt.ExecNonQuery2(\"delete from CAT_VARIABLES whe"; -_skmt.ExecNonQuery2("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER")})); - //BA.debugLineNum = 133;BA.debugLine="skmt.ExecNonQuery2(\"INSERT INTO CAT_VARIABLES(CAT"; -_skmt.ExecNonQuery2("INSERT INTO CAT_VARIABLES(CAT_VA_DESCRIPCION, CAT_VA_VALOR) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)("SERVER"),(Object)(_srv)})); - //BA.debugLineNum = 134;BA.debugLine="DBReqServer = srv"; -_dbreqserver = _srv; - //BA.debugLineNum = 135;BA.debugLine="reqManager.Initialize(Me, srv)"; -_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_srv); - //BA.debugLineNum = 136;BA.debugLine="LogColor(srv, Colors.red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("377398021",_srv,anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 137;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 38;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 41;BA.debugLine="fFileProvider.Initialize"; -_ffileprovider._initialize /*String*/ (processBA); - //BA.debugLineNum = 42;BA.debugLine="gps.Initialize(\"GPS\")"; -_gps.Initialize("GPS"); - //BA.debugLineNum = 43;BA.debugLine="s.Initialize(Me, \"Subs\") 'Inicializamos la clase"; -_s._initialize /*Object*/ (processBA,starter.getObject(),"Subs"); - //BA.debugLineNum = 44;BA.debugLine="skmt = s.inicializaBD(File.DirInternal, \"kmt.db\")"; -_skmt = _s._inicializabd /*anywheresoftware.b4a.sql.SQL*/ (anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db"); - //BA.debugLineNum = 45;BA.debugLine="BTAdmin.Initialize(\"admin\")"; -_btadmin.Initialize(processBA,"admin"); - //BA.debugLineNum = 47;BA.debugLine="Timer1.Initialize(\"Timer1\", Interval * 1000)"; -_timer1.Initialize(processBA,"Timer1",(long) (_interval*1000)); - //BA.debugLineNum = 48;BA.debugLine="Timer1.Enabled = True"; -_timer1.setEnabled(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 51;BA.debugLine="logcat.LogCatStart(Array As String(\"-v\",\"raw\",\"*:"; -_logcat.LogCatStart(processBA,new String[]{"-v","raw","*:F","B4A:v"},"logcat"); - //BA.debugLineNum = 53;BA.debugLine="logs.Initialize"; -_logs.Initialize(); - //BA.debugLineNum = 55;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 85;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 87;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 63;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 64;BA.debugLine="Service.StopAutomaticForeground 'Starter service"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 65;BA.debugLine="Subs.revisaBD"; -mostCurrent._subs._revisabd /*String*/ (processBA); - //BA.debugLineNum = 67;BA.debugLine="If s.traeDBReqServerDeBD(skmt) <> \"N/A\" And s.tra"; -if ((_s._traedbreqserverdebd /*String*/ (_skmt)).equals("N/A") == false && (_s._traedbreqserverdebd /*String*/ (_skmt)).equals("") == false) { -_dbreqserver = _s._traedbreqserverdebd /*String*/ (_skmt);}; - //BA.debugLineNum = 68;BA.debugLine="reqManager.Initialize(Me, DBReqServer)"; -_reqmanager._initialize /*String*/ (processBA,starter.getObject(),_dbreqserver); - //BA.debugLineNum = 69;BA.debugLine="Log($\"Starter - |${DBReqServer}|\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("376873734",("Starter - |"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_dbreqserver))+"|"),0); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public static String _service_taskremoved() throws Exception{ - //BA.debugLineNum = 81;BA.debugLine="Sub Service_TaskRemoved"; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -public static String _timer1_tick() throws Exception{ - //BA.debugLineNum = 72;BA.debugLine="Private Sub Timer1_Tick"; - //BA.debugLineNum = 74;BA.debugLine="ENVIA_ULTIMA_GPS"; -_envia_ultima_gps(); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/subs.java b/B4A/Objects/src/adm/keymon/com/mx/subs.java deleted file mode 100644 index 06de96a..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/subs.java +++ /dev/null @@ -1,2705 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class subs { -private static subs mostCurrent = new subs(); -public static Object getObject() { - throw new RuntimeException("Code module does not support this method."); -} - public anywheresoftware.b4a.keywords.Common __c = null; -public static de.donmanfred.GZipStringswrapper _gzip = null; -public static anywheresoftware.b4a.objects.StringUtils _su = null; -public static anywheresoftware.b4a.phone.Phone _phn = null; -public static String _devmodel = ""; -public static anywheresoftware.b4a.sql.SQL _kmt = null; -public static anywheresoftware.b4a.sql.SQL _errorlog = null; -public static String _ssid = ""; -public static int _rutamaxpoints = 0; -public static int _rutahrsatras = 0; -public static boolean _subslogs = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static String _actualizaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -int _antcant = 0; -int _difcant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; - //BA.debugLineNum = 789;BA.debugLine="Sub actualizaProducto(cedis As String, costoU As S"; - //BA.debugLineNum = 790;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")))); - //BA.debugLineNum = 792;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; -anywheresoftware.b4a.keywords.Common.LogImpl("380609283",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 794;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 795;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 796;BA.debugLine="Private antCant As Int = 0"; -_antcant = (int) (0); - //BA.debugLineNum = 797;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; -if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { -_antcant = _c.GetInt("PE_CANT");}; - //BA.debugLineNum = 798;BA.debugLine="Private difCant As Int = cant - antCant"; -_difcant = (int) (_cant-_antcant); - //BA.debugLineNum = 799;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_cant*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))))))+", PE_CANTC = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cantc))+", PE_BCAJAS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_bcajas))+" where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); - //BA.debugLineNum = 800;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${S"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); - //BA.debugLineNum = 802;BA.debugLine="If cant = 0 Then"; -if (_cant==0) { - //BA.debugLineNum = 803;BA.debugLine="Log(\"BORRAMOS PROD\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("380609294","BORRAMOS PROD",0); - //BA.debugLineNum = 804;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); - //BA.debugLineNum = 805;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; -_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 806;BA.debugLine="pe.Position=0"; -_pe.setPosition((int) (0)); - //BA.debugLineNum = 807;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; -if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");}; - }; - }else { - //BA.debugLineNum = 811;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion(cedis"; -if (_cant!=0) { -_guardaproductosingestion(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; - }; - //BA.debugLineNum = 813;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 814;BA.debugLine="End Sub"; -return ""; -} -public static String _actualizaproducto2(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,int _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -int _antcant = 0; -int _difcant = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _pe = null; - //BA.debugLineNum = 827;BA.debugLine="Sub actualizaProducto2(cedis As String, costoU As"; - //BA.debugLineNum = 828;BA.debugLine="Private c As Cursor=B4XPages.MainPage.skmt.ExecQu"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select * from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")))); - //BA.debugLineNum = 830;BA.debugLine="LogColor($\"actualizaProducto, c=${clienteId}, p=$"; -anywheresoftware.b4a.keywords.Common.LogImpl("380740355",("actualizaProducto, c="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+", p="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+", nombre="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_nombre))+", cant="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", cedis="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+", tipo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipoventa))+""),anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 832;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 833;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 834;BA.debugLine="Private antCant As Int = 0"; -_antcant = (int) (0); - //BA.debugLineNum = 835;BA.debugLine="If IsNumber(c.GetInt(\"PE_CANT\")) Then antCant=c."; -if (anywheresoftware.b4a.keywords.Common.IsNumber(BA.NumberToString(_c.GetInt("PE_CANT")))) { -_antcant = _c.GetInt("PE_CANT");}; - //BA.debugLineNum = 836;BA.debugLine="Private difCant As Int = cant - antCant"; -_difcant = (int) (_cant-_antcant); - //BA.debugLineNum = 837;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ped"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update pedido set pe_cant = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cant))+", pe_costo_tot = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(Double.parseDouble(_cantc))*(double)(Double.parseDouble(_c.GetString("PE_COSTOU"))))))+", PE_CANTC = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cantc))+", PE_BCAJAS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_bcajas))+" where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); - //BA.debugLineNum = 838;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"update ${S"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ("+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_difcant))+") where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' ")); - //BA.debugLineNum = 840;BA.debugLine="If cant = 0 Then"; -if (_cant==0) { - //BA.debugLineNum = 841;BA.debugLine="Log(\"BORRAMOS PROD\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("380740366","BORRAMOS PROD",0); - //BA.debugLineNum = 842;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"delete fr"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("delete from pedido where pe_cedis = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cedis))+"' and pe_proid = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodid))+"' and pe_cliente = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_clienteid))+"' AND PE_FOLIO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._tipo_venta /*String*/ ))+"'")); - //BA.debugLineNum = 843;BA.debugLine="Private pe As Cursor = B4XPages.MainPage.skmt.E"; -_pe = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_pe = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select count(pe_cliente) as cuantosPedidos from pedido where pe_cliente In (select cuenta from cuentaa)"))); - //BA.debugLineNum = 844;BA.debugLine="pe.Position=0"; -_pe.setPosition((int) (0)); - //BA.debugLineNum = 845;BA.debugLine="If pe.GetString(\"cuantosPedidos\") = 0 Then B4XP"; -if ((_pe.GetString("cuantosPedidos")).equals(BA.NumberToString(0))) { -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)");}; - }; - }else { - //BA.debugLineNum = 849;BA.debugLine="If cant <> 0 Then guardaProductoSinGestion2(cedi"; -if (_cant!=0) { -_guardaproductosingestion2(_ba,_cedis,_costou,BA.NumberToString(_cant),_nombre,_prodid,_clienteid,_fecha,_usuario,_rutav,_preciosin,_tipoventa,_cantc,_bcajas);}; - }; - //BA.debugLineNum = 851;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 852;BA.debugLine="End Sub"; -return ""; -} -public static String _actualizatet(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -long _total = 0L; -int _i = 0; -long _subtotal = 0L; - //BA.debugLineNum = 1390;BA.debugLine="Sub actualizaTET(cliente As String)"; - //BA.debugLineNum = 1391;BA.debugLine="Dim c As Cursor = B4XPages.MainPage.skmt.Execquer"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select * from PEDIDO_INICIO_FINAL where PIF_CLIENTE = ?",new String[]{_cliente}))); - //BA.debugLineNum = 1392;BA.debugLine="Dim total As Long = 0"; -_total = (long) (0); - //BA.debugLineNum = 1393;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1394;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1395;BA.debugLine="For i = 0 To c.RowCount-1"; -{ -final int step5 = 1; -final int limit5 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit5 ;_i = _i + step5 ) { - //BA.debugLineNum = 1396;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1398;BA.debugLine="Dim subtotal As Long = c.GetString(\"PIF_HORA_FI"; -_subtotal = (long) ((double)(Double.parseDouble(_c.GetString("PIF_HORA_FINAL")))-(double)(Double.parseDouble(_c.GetString("PIF_HORA_INICIO")))); - //BA.debugLineNum = 1399;BA.debugLine="total = total + subtotal"; -_total = (long) (_total+_subtotal); - } -}; - //BA.debugLineNum = 1403;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"update PED"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("update PEDIDO_CLIENTE set PC_TIEMPO_TIENDA = ? where PC_CLIENTE = ?",anywheresoftware.b4a.keywords.Common.ArrayToList(new String[]{BA.NumberToString(((_total/(double)1000)/(double)60)),_cliente})); - }; - //BA.debugLineNum = 1405;BA.debugLine="End Sub"; -return ""; -} -public static String _agregacolumna(anywheresoftware.b4a.BA _ba,String _tabla,String _columna,String _tipo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1486;BA.debugLine="Sub agregaColumna(tabla As String, columna As Stri"; - //BA.debugLineNum = 1487;BA.debugLine="Try 'Intentamos usar \"pragma_table_info\" para rev"; -try { //BA.debugLineNum = 1488;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exe"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("SELECT COUNT(*) AS fCol FROM pragma_table_info('"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"') WHERE name='"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+"'")))); - //BA.debugLineNum = 1489;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1490;BA.debugLine="If c.GetString(\"fCol\") = 0 Then 'Si no esta la c"; -if ((_c.GetString("fCol")).equals(BA.NumberToString(0))) { - //BA.debugLineNum = 1491;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 1492;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("382378758",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\"."),0); - }; - } - catch (Exception e9) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e9); //BA.debugLineNum = 1495;BA.debugLine="Try"; -try { //BA.debugLineNum = 1496;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery($\"ALTER TAB"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("ALTER TABLE "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+" ADD COLUMN "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"")); - //BA.debugLineNum = 1497;BA.debugLine="Log($\"Columna \"${columna} ${tipo}\", agregada a"; -anywheresoftware.b4a.keywords.Common.LogImpl("382378763",("Columna \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_columna))+" "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tipo))+"\", agregada a \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_tabla))+"\".."),0); - } - catch (Exception e13) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e13); //BA.debugLineNum = 1499;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("382378765",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - }; - }; - //BA.debugLineNum = 1502;BA.debugLine="End Sub"; -return ""; -} -public static boolean _alcanzanlosvariablesparapromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap,anywheresoftware.b4a.objects.collections.Map _inventariosinfijos) throws Exception{ -boolean _thislog = false; -int _totalprodsvariables = 0; -int _totalprodsvariables2 = 0; -anywheresoftware.b4a.objects.collections.List _prodsvariables = null; -anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; -int _p = 0; -String _t = ""; -String _p2 = ""; -boolean _res = false; -boolean _res1 = false; -boolean _res2 = false; - //BA.debugLineNum = 1077;BA.debugLine="Sub alcanzanLosVariablesParaPromo(promoMap As Map,"; - //BA.debugLineNum = 1078;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; -_thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1079;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial: \"&i"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381330178","Inventario inicial: "+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; - //BA.debugLineNum = 1080;BA.debugLine="Private totalProdsVariables As Int = 0"; -_totalprodsvariables = (int) (0); - //BA.debugLineNum = 1081;BA.debugLine="Private totalProdsVariables2 As Int = 0"; -_totalprodsvariables2 = (int) (0); - //BA.debugLineNum = 1083;BA.debugLine="Private prodsVariables As List = promoMap.get(\"pr"; -_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 1084;BA.debugLine="Private prodsVariables2 As List = promoMap.get(\"p"; -_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 1085;BA.debugLine="For p = 0 To prodsVariables.Size - 1"; -{ -final int step7 = 1; -final int limit7 = (int) (_prodsvariables.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit7 ;_p = _p + step7 ) { - //BA.debugLineNum = 1086;BA.debugLine="Private t As String = prodsVariables.Get(p) 'Obt"; -_t = BA.ObjectToString(_prodsvariables.Get(_p)); - //BA.debugLineNum = 1088;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; -if (_inventariosinfijos.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 1089;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; -_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); - //BA.debugLineNum = 1091;BA.debugLine="totalProdsVariables = totalProdsVariables + p2"; -_totalprodsvariables = (int) (_totalprodsvariables+(double)(Double.parseDouble(_p2))); - //BA.debugLineNum = 1093;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381330192",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; - }; - } -}; - //BA.debugLineNum = 1096;BA.debugLine="For p = 0 To prodsVariables2.Size - 1"; -{ -final int step15 = 1; -final int limit15 = (int) (_prodsvariables2.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit15 ;_p = _p + step15 ) { - //BA.debugLineNum = 1097;BA.debugLine="Private t As String = prodsVariables2.Get(p) 'Ob"; -_t = BA.ObjectToString(_prodsvariables2.Get(_p)); - //BA.debugLineNum = 1098;BA.debugLine="If inventarioSinFijos.ContainsKey(t) Then 'Si ex"; -if (_inventariosinfijos.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 1099;BA.debugLine="Private p2 As String = inventarioSinFijos.Get(t"; -_p2 = BA.ObjectToString(_inventariosinfijos.Get((Object)(_t))); - //BA.debugLineNum = 1100;BA.debugLine="totalProdsVariables2 = totalProdsVariables2 + p"; -_totalprodsvariables2 = (int) (_totalprodsvariables2+(double)(Double.parseDouble(_p2))); - //BA.debugLineNum = 1101;BA.debugLine="If thisLog Then Log($\"prod ${t}, hay: ${p2}\"$)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381330200",("prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", hay: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_p2))+""),0);}; - }; - } -}; - //BA.debugLineNum = 1104;BA.debugLine="If thisLog Then Log(\"Total prods variables=\" & to"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381330203","Total prods variables="+BA.NumberToString(_totalprodsvariables)+", requeridos="+BA.ObjectToString(_promomap.Get((Object)("prodsVariablesRequeridos"))),0);}; - //BA.debugLineNum = 1105;BA.debugLine="If thisLog Then Log(\"Total prods variables2=\" & t"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381330204","Total prods variables2="+BA.NumberToString(_totalprodsvariables2)+", requeridos2="+BA.ObjectToString(_promomap.Get((Object)("prodsVariables2Requeridos"))),0);}; - //BA.debugLineNum = 1106;BA.debugLine="Private res As Boolean = False"; -_res = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1107;BA.debugLine="Private res1 As Boolean = False"; -_res1 = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1108;BA.debugLine="Private res2 As Boolean = False"; -_res2 = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1113;BA.debugLine="If totalProdsVariables > 0 And totalProdsVariable"; -if (_totalprodsvariables>0 && _totalprodsvariables>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos"))))) { - //BA.debugLineNum = 1114;BA.debugLine="res1 = True 'Si el total de inventario de produc"; -_res1 = anywheresoftware.b4a.keywords.Common.True; - }; - //BA.debugLineNum = 1116;BA.debugLine="If promoMap.Get(\"prodsVariablesRequeridos\").As (I"; -if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariablesRequeridos")))))==0) { -_res1 = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 1117;BA.debugLine="If totalProdsVariables2 > 0 And totalProdsVariabl"; -if (_totalprodsvariables2>0 && _totalprodsvariables2>=(double)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos"))))) { - //BA.debugLineNum = 1118;BA.debugLine="res2 = True 'Si el total de inventario de produc"; -_res2 = anywheresoftware.b4a.keywords.Common.True; - }; - //BA.debugLineNum = 1120;BA.debugLine="If promoMap.Get(\"prodsVariables2Requeridos\").As(I"; -if (((int)(BA.ObjectToNumber(_promomap.Get((Object)("prodsVariables2Requeridos")))))==0) { -_res2 = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 1121;BA.debugLine="If res1 And res2 Then 'Solo si son verdadero los"; -if (_res1 && _res2) { - //BA.debugLineNum = 1122;BA.debugLine="res = True"; -_res = anywheresoftware.b4a.keywords.Common.True; - }else { - //BA.debugLineNum = 1124;BA.debugLine="res = False"; -_res = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 1127;BA.debugLine="Return res"; -if (true) return _res; - //BA.debugLineNum = 1128;BA.debugLine="End Sub"; -return false; -} -public static String _borraarribade100errores(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 461;BA.debugLine="Sub borraArribaDe100Errores 'ignore"; - //BA.debugLineNum = 462;BA.debugLine="revisaBD"; -_revisabd(_ba); - //BA.debugLineNum = 463;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379036418","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 464;BA.debugLine="errorLog.ExecNonQuery(\"DELETE FROM errores WHERE"; -_errorlog.ExecNonQuery("DELETE FROM errores WHERE fecha NOT in (SELECT fecha FROM errores ORDER BY fecha desc LIMIT 99 )"); - //BA.debugLineNum = 465;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 466;BA.debugLine="Log(\"Borramos mas de 100 de errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("379036421","Borramos mas de 100 de errorLog",0); - //BA.debugLineNum = 467;BA.debugLine="End Sub"; -return ""; -} -public static String _borraarribade600renglonesbitacora(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 470;BA.debugLine="Sub borraArribaDe600RenglonesBitacora 'ignore"; - //BA.debugLineNum = 471;BA.debugLine="revisaBD"; -_revisabd(_ba); - //BA.debugLineNum = 472;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379101954","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 473;BA.debugLine="kmt.ExecNonQuery(\"DELETE FROM bitacora WHERE fech"; -_kmt.ExecNonQuery("DELETE FROM bitacora WHERE fecha NOT in (SELECT fecha FROM bitacora ORDER BY fecha desc LIMIT 599 )"); - //BA.debugLineNum = 474;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 475;BA.debugLine="Log(\"Borramos mas de 600 de bitacora\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("379101957","Borramos mas de 600 de bitacora",0); - //BA.debugLineNum = 476;BA.debugLine="End Sub"; -return ""; -} -public static String _borralogdb(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 345;BA.debugLine="Sub borraLogDB 'ignore"; - //BA.debugLineNum = 346;BA.debugLine="LogColor(\"Borramos BD de log\", Colors.Magenta)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378839809","Borramos BD de log",anywheresoftware.b4a.keywords.Common.Colors.Magenta); - //BA.debugLineNum = 347;BA.debugLine="kmt.ExecNonQuery(\"delete from bitacora\")"; -_kmt.ExecNonQuery("delete from bitacora"); - //BA.debugLineNum = 348;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 349;BA.debugLine="End Sub"; -return ""; -} -public static String _borramosarchivogps(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 175;BA.debugLine="Sub borramosArchivoGPS 'ignore"; - //BA.debugLineNum = 176;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 177;BA.debugLine="Dim s As String = \"\""; -_s = ""; - //BA.debugLineNum = 178;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 179;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 180;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 181;BA.debugLine="End Sub"; -return ""; -} -public static String _borrapedidoclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; -int _i = 0; - //BA.debugLineNum = 1421;BA.debugLine="Sub borraPedidoClienteActual As String"; - //BA.debugLineNum = 1435;BA.debugLine="Private thisC As Cursor"; -_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1437;BA.debugLine="thisC=Starter.skmt.ExecQuery(\"select PE_PROID, PE"; -_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select PE_PROID, PE_CANT, PE_FOLIO FROM PEDIDO where pe_cliente in (Select CUENTA from cuentaa) "))); - //BA.debugLineNum = 1438;BA.debugLine="If thisC.RowCount>0 Then"; -if (_thisc.getRowCount()>0) { - //BA.debugLineNum = 1439;BA.debugLine="For i=0 To thisC.RowCount -1"; -{ -final int step4 = 1; -final int limit4 = (int) (_thisc.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit4 ;_i = _i + step4 ) { - //BA.debugLineNum = 1440;BA.debugLine="thisC.Position = i"; -_thisc.setPosition(_i); - //BA.debugLineNum = 1442;BA.debugLine="Starter.skmt.ExecNonQuery($\"update ${traeTablaP"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'")); - //BA.debugLineNum = 1443;BA.debugLine="LogColor($\"update ${traeTablaProds(thisC.GetStr"; -anywheresoftware.b4a.keywords.Common.LogImpl("382116630",("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traetablaprods(_ba,_thisc.GetString("PE_FOLIO"))))+" set cat_gp_almacen = cat_gp_almacen + "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_CANT")))+" where cat_gp_id = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_thisc.GetString("PE_PROID")))+"'"),anywheresoftware.b4a.keywords.Common.Colors.Red); - } -}; - }; - //BA.debugLineNum = 1447;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido_cli"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where pc_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 1448;BA.debugLine="Starter.skmt.ExecNonQuery(\"delete from pedido whe"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido where pe_cliente in (Select CUENTA from cuentaa)"); - //BA.debugLineNum = 1449;BA.debugLine="Starter.skmt.ExecNonQuery(\"UPDATE kmt_info set ge"; -mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 0 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 1450;BA.debugLine="Return 1"; -if (true) return BA.NumberToString(1); - //BA.debugLineNum = 1451;BA.debugLine="End Sub"; -return ""; -} -public static String _buscadbusuario(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _usuario = ""; - //BA.debugLineNum = 613;BA.debugLine="Sub buscaDBUsuario As String 'ignore"; - //BA.debugLineNum = 614;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 615;BA.debugLine="Private usuario As String = \"SinUsuario\""; -_usuario = "SinUsuario"; - //BA.debugLineNum = 616;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 617;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 618;BA.debugLine="If c.RowCount > 0 Then usuario = c.GetString(\"USU"; -if (_c.getRowCount()>0) { -_usuario = _c.GetString("USUARIO");}; - //BA.debugLineNum = 619;BA.debugLine="Return usuario"; -if (true) return _usuario; - //BA.debugLineNum = 620;BA.debugLine="End Sub"; -return ""; -} -public static String _centraetiqueta(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.LabelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 593;BA.debugLine="Sub centraEtiqueta(elemento As Label, anchoElement"; - //BA.debugLineNum = 594;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 595;BA.debugLine="End Sub"; -return ""; -} -public static String _centrapanel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 598;BA.debugLine="Sub centraPanel(elemento As Panel, anchoElementoSu"; - //BA.debugLineNum = 599;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 600;BA.debugLine="End Sub"; -return ""; -} -public static String _centrapanelv(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.PanelWrapper _elemento,int _altoelementosuperior) throws Exception{ - //BA.debugLineNum = 603;BA.debugLine="Sub centraPanelV(elemento As Panel, altoElementoSu"; - //BA.debugLineNum = 604;BA.debugLine="elemento.Top = Round(altoElementoSuperior/2)-(ele"; -_elemento.setTop((int) (anywheresoftware.b4a.keywords.Common.Round(_altoelementosuperior/(double)2)-(_elemento.getHeight()/(double)2))); - //BA.debugLineNum = 605;BA.debugLine="End Sub"; -return ""; -} -public static String _centraprogressbar(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ProgressBarWrapper _elemento,int _anchoelementosuperior) throws Exception{ - //BA.debugLineNum = 608;BA.debugLine="Sub centraProgressBar(elemento As ProgressBar, anc"; - //BA.debugLineNum = 609;BA.debugLine="elemento.Left = Round(anchoElementoSuperior/2)-(e"; -_elemento.setLeft((int) (anywheresoftware.b4a.keywords.Common.Round(_anchoelementosuperior/(double)2)-(_elemento.getWidth()/(double)2))); - //BA.debugLineNum = 610;BA.debugLine="End Sub"; -return ""; -} -public static String _compress(anywheresoftware.b4a.BA _ba,String _str) throws Exception{ -byte[] _compressed = null; -String _base64 = ""; - //BA.debugLineNum = 40;BA.debugLine="Sub compress(str As String) As String 'ignore"; - //BA.debugLineNum = 42;BA.debugLine="Dim compressed() As Byte = GZip.compress(str)"; -_compressed = _gzip.compress(_str); - //BA.debugLineNum = 45;BA.debugLine="Dim base64 As String = su.EncodeBase64(compressed"; -_base64 = _su.EncodeBase64(_compressed); - //BA.debugLineNum = 46;BA.debugLine="Log($\"Comprimido: ${base64.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("377594630",("Comprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_base64.length()))+""),0); - //BA.debugLineNum = 48;BA.debugLine="Return base64"; -if (true) return _base64; - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public static String _copiadb(anywheresoftware.b4a.BA _ba,boolean _result) throws Exception{ -String _p = ""; -String _thedir = ""; - //BA.debugLineNum = 551;BA.debugLine="Sub copiaDB(result As Boolean) 'ignore"; - //BA.debugLineNum = 552;BA.debugLine="ToastMessageShow(\"copiaDB\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("copiaDB"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 553;BA.debugLine="If result Then"; -if (_result) { - //BA.debugLineNum = 554;BA.debugLine="Dim p As String"; -_p = ""; - //BA.debugLineNum = 555;BA.debugLine="If File.ExternalWritable Then"; -if (anywheresoftware.b4a.keywords.Common.File.getExternalWritable()) { - //BA.debugLineNum = 556;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }else { - //BA.debugLineNum = 559;BA.debugLine="p = File.DirInternal"; -_p = anywheresoftware.b4a.keywords.Common.File.getDirInternal(); - }; - //BA.debugLineNum = 562;BA.debugLine="Dim theDir As String"; -_thedir = ""; - //BA.debugLineNum = 563;BA.debugLine="Try"; -try { //BA.debugLineNum = 564;BA.debugLine="File.MakeDir(File.DirInternal,\"kmts\")"; -anywheresoftware.b4a.keywords.Common.File.MakeDir(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmts"); - //BA.debugLineNum = 565;BA.debugLine="theDir = \"/kmts\""; -_thedir = "/kmts"; - } - catch (Exception e14) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e14); //BA.debugLineNum = 567;BA.debugLine="theDir = \"\""; -_thedir = ""; - }; - //BA.debugLineNum = 569;BA.debugLine="Try"; -try { //BA.debugLineNum = 570;BA.debugLine="File.Copy(File.DirInternal,\"kmt.db\",File.DirInt"; -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"kmt.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"cedex_kmt.db"); - //BA.debugLineNum = 571;BA.debugLine="File.Copy(File.DirInternal,\"errorLog.db\",File.D"; -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"errorLog.db",anywheresoftware.b4a.keywords.Common.File.getDirInternal()+_thedir,"cedex_errorLog.db"); - //BA.debugLineNum = 572;BA.debugLine="ToastMessageShow(\"BD copiada!\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD copiada!"),anywheresoftware.b4a.keywords.Common.False); - } - catch (Exception e21) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 574;BA.debugLine="ToastMessageShow(\"No se pudo hacer la copia: \"&"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("No se pudo hacer la copia: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))),anywheresoftware.b4a.keywords.Common.True); - }; - //BA.debugLineNum = 576;BA.debugLine="Log(\"rootExternal=\"&p)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379429657","rootExternal="+_p,0); - //BA.debugLineNum = 577;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379429658","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - //BA.debugLineNum = 578;BA.debugLine="Log(\"File.DirInternal=\"&File.DirInternal)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379429659","File.DirInternal="+anywheresoftware.b4a.keywords.Common.File.getDirInternal(),0); - }else { - //BA.debugLineNum = 580;BA.debugLine="ToastMessageShow(\"Sin permisos\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Sin permisos"),anywheresoftware.b4a.keywords.Common.False); - }; - //BA.debugLineNum = 582;BA.debugLine="End Sub"; -return ""; -} -public static String _cuantosvariablestengobd(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ - //BA.debugLineNum = 1354;BA.debugLine="Sub cuantosVariablesTengoBD(promo As String) As St"; - //BA.debugLineNum = 1365;BA.debugLine="End Sub"; -return ""; -} -public static String _dameerroresjson(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _sql,int _maxerrores,boolean _comprimido) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _j = null; -String _lim = ""; -anywheresoftware.b4a.sql.SQL.ResultSetWrapper _cur = null; -anywheresoftware.b4a.objects.collections.List _l = null; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.objects.collections.Map _m2 = null; - //BA.debugLineNum = 489;BA.debugLine="Sub dameErroresJSON(SQL As SQL, maxErrores As Int,"; - //BA.debugLineNum = 490;BA.debugLine="Log(\"dameErroresJSON\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("379233025","dameErroresJSON",0); - //BA.debugLineNum = 491;BA.debugLine="Private j As JSONGenerator"; -_j = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 492;BA.debugLine="Private lim As String"; -_lim = ""; - //BA.debugLineNum = 493;BA.debugLine="Private cur As ResultSet"; -_cur = new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(); - //BA.debugLineNum = 494;BA.debugLine="Private l As List"; -_l = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 495;BA.debugLine="Private i As Int = 0"; -_i = (int) (0); - //BA.debugLineNum = 496;BA.debugLine="l.Initialize"; -_l.Initialize(); - //BA.debugLineNum = 497;BA.debugLine="Dim m, m2 As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m2 = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 498;BA.debugLine="m2.Initialize"; -_m2.Initialize(); - //BA.debugLineNum = 499;BA.debugLine="If maxErrores = 0 Then lim = \"\" Else lim = \"limit"; -if (_maxerrores==0) { -_lim = "";} -else { -_lim = "limit "+BA.NumberToString(_maxerrores);}; - //BA.debugLineNum = 500;BA.debugLine="cur = SQL.ExecQuery(\"select * from errores order"; -_cur = (anywheresoftware.b4a.sql.SQL.ResultSetWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.ResultSetWrapper(), (android.database.Cursor)(_sql.ExecQuery("select * from errores order by fecha desc "+_lim))); - //BA.debugLineNum = 501;BA.debugLine="Do While cur.NextRow"; -while (_cur.NextRow()) { - //BA.debugLineNum = 502;BA.debugLine="m.Initialize"; -_m.Initialize(); - //BA.debugLineNum = 503;BA.debugLine="m.Put(\"fecha\", cur.GetString(\"fecha\"))"; -_m.Put((Object)("fecha"),(Object)(_cur.GetString("fecha"))); - //BA.debugLineNum = 504;BA.debugLine="m.Put(\"error\", cur.GetString(\"error\"))"; -_m.Put((Object)("error"),(Object)(_cur.GetString("error"))); - //BA.debugLineNum = 505;BA.debugLine="m2.Put(i,m)"; -_m2.Put((Object)(_i),(Object)(_m.getObject())); - //BA.debugLineNum = 506;BA.debugLine="i = i + 1"; -_i = (int) (_i+1); - } -; - //BA.debugLineNum = 508;BA.debugLine="cur.Close"; -_cur.Close(); - //BA.debugLineNum = 509;BA.debugLine="j.Initialize(m2)"; -_j.Initialize(_m2); - //BA.debugLineNum = 510;BA.debugLine="Log(j.ToString)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379233045",_j.ToString(),0); - //BA.debugLineNum = 511;BA.debugLine="If comprimido Then"; -if (_comprimido) { - //BA.debugLineNum = 512;BA.debugLine="Return compress(j.ToString)"; -if (true) return _compress(_ba,_j.ToString()); - }else { - //BA.debugLineNum = 514;BA.debugLine="Return j.ToString"; -if (true) return _j.ToString(); - }; - //BA.debugLineNum = 516;BA.debugLine="End Sub"; -return ""; -} -public static String _dameruta(anywheresoftware.b4a.BA _ba,String _inicioruta,String _origenruta) throws Exception{ -String _fechainicio = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _ruta2 = ""; -int _i = 0; - //BA.debugLineNum = 131;BA.debugLine="Sub dameRuta(inicioRuta As String, origenRuta As S"; - //BA.debugLineNum = 133;BA.debugLine="Dim fechaInicio As String"; -_fechainicio = ""; - //BA.debugLineNum = 134;BA.debugLine="Try 'incioRuta es numero"; -try { //BA.debugLineNum = 135;BA.debugLine="inicioRuta = inicioRuta * 1"; -_inicioruta = BA.NumberToString((double)(Double.parseDouble(_inicioruta))*1); - //BA.debugLineNum = 137;BA.debugLine="fechaInicio = fechaKMT(DateTime.Now - (DateTime."; -_fechainicio = _fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(anywheresoftware.b4a.keywords.Common.DateTime.TicksPerHour*(double)(Double.parseDouble(_inicioruta))))); - } - catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 139;BA.debugLine="fechaInicio = fechaInicioHoy"; -_fechainicio = _fechainiciohoy(_ba); - }; - //BA.debugLineNum = 142;BA.debugLine="If subsLogs Then Log(\"fechaInicio: \"&fechaInicio&"; -if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("378053387","fechaInicio: "+_fechainicio+" | rutaHrsAtras="+BA.NumberToString(_rutahrsatras),0);}; - //BA.debugLineNum = 143;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 144;BA.debugLine="If kmt.IsInitialized = False Then kmt.Initialize("; -if (_kmt.IsInitialized()==anywheresoftware.b4a.keywords.Common.False) { -_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 145;BA.debugLine="If subsLogs Then Log(\"select FECHA, LAT, LON from"; -if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("378053390","select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints),0);}; - //BA.debugLineNum = 146;BA.debugLine="c = kmt.ExecQuery(\"select FECHA, LAT, LON from \"&"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select FECHA, LAT, LON from "+_origenruta+" where FECHA > "+_fechainicio+" order by FECHA desc limit "+BA.NumberToString(_rutamaxpoints)))); - //BA.debugLineNum = 147;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 148;BA.debugLine="Dim ruta2 As String = \"\""; -_ruta2 = ""; - //BA.debugLineNum = 149;BA.debugLine="If c.RowCount>0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 150;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step16 = 1; -final int limit16 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit16 ;_i = _i + step16 ) { - //BA.debugLineNum = 151;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 152;BA.debugLine="ruta2=ruta2&CRLF&c.GetString(\"LAT\")&\",\"&c.GetSt"; -_ruta2 = _ruta2+anywheresoftware.b4a.keywords.Common.CRLF+_c.GetString("LAT")+","+_c.GetString("LON")+","+_c.GetString("FECHA"); - //BA.debugLineNum = 153;BA.debugLine="B4XPages.MainPage.fechaRuta = c.GetString(\"FECH"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._fecharuta /*String*/ = _c.GetString("FECHA"); - } -}; - }; - //BA.debugLineNum = 156;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 157;BA.debugLine="Return compress(ruta2)"; -if (true) return _compress(_ba,_ruta2); - //BA.debugLineNum = 158;BA.debugLine="End Sub"; -return ""; -} -public static String _dameusuariodedb(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _u = ""; - //BA.debugLineNum = 623;BA.debugLine="Sub dameUsuarioDeDB As String 'ignore"; - //BA.debugLineNum = 624;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 625;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 626;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 627;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 628;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 629;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 630;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 631;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 632;BA.debugLine="End Sub"; -return ""; -} -public static String _decompress(anywheresoftware.b4a.BA _ba,String _base64) throws Exception{ -byte[] _decompressedbytes = null; -anywheresoftware.b4a.agraham.byteconverter.ByteConverter _bc = null; -String _uncompressed = ""; - //BA.debugLineNum = 52;BA.debugLine="Sub decompress(base64 As String) As String 'ignore"; - //BA.debugLineNum = 53;BA.debugLine="Dim decompressedbytes() As Byte = su.DecodeBase64"; -_decompressedbytes = _su.DecodeBase64(_base64); - //BA.debugLineNum = 55;BA.debugLine="Dim bc As ByteConverter"; -_bc = new anywheresoftware.b4a.agraham.byteconverter.ByteConverter(); - //BA.debugLineNum = 56;BA.debugLine="Dim uncompressed As String = bc.StringFromBytes(d"; -_uncompressed = _bc.StringFromBytes(_decompressedbytes,"UTF8"); - //BA.debugLineNum = 57;BA.debugLine="Log($\"Descomprimido: ${uncompressed.Length}\"$)"; -anywheresoftware.b4a.keywords.Common.LogImpl("377660165",("Descomprimido: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_uncompressed.length()))+""),0); - //BA.debugLineNum = 59;BA.debugLine="Return uncompressed"; -if (true) return _uncompressed; - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public static String _deleteerrorlog_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 168;BA.debugLine="Sub deleteErrorLog_DB 'ignore"; - //BA.debugLineNum = 169;BA.debugLine="errorLog.ExecNonQuery(\"delete from errores\")"; -_errorlog.ExecNonQuery("delete from errores"); - //BA.debugLineNum = 170;BA.debugLine="errorLog.ExecNonQuery(\"vacuum;\")"; -_errorlog.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 171;BA.debugLine="ToastMessageShow(\"BD Errores Borrada\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("BD Errores Borrada"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 172;BA.debugLine="End Sub"; -return ""; -} -public static String _deletegps_db(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 161;BA.debugLine="Sub deleteGPS_DB 'ignore"; - //BA.debugLineNum = 162;BA.debugLine="kmt.ExecNonQuery(\"delete from RUTA_GPS\")"; -_kmt.ExecNonQuery("delete from RUTA_GPS"); - //BA.debugLineNum = 163;BA.debugLine="kmt.ExecNonQuery(\"vacuum;\")"; -_kmt.ExecNonQuery("vacuum;"); - //BA.debugLineNum = 164;BA.debugLine="ToastMessageShow(\"Borramos BD Coords GPS\", False)"; -anywheresoftware.b4a.keywords.Common.ToastMessageShow(BA.ObjectToCharSequence("Borramos BD Coords GPS"),anywheresoftware.b4a.keywords.Common.False); - //BA.debugLineNum = 165;BA.debugLine="End Sub"; -return ""; -} -public static String _fechainiciohoy(anywheresoftware.b4a.BA _ba) throws Exception{ -String _origformat = ""; -String _h = ""; - //BA.debugLineNum = 304;BA.debugLine="Sub fechaInicioHoy As String 'ignore"; - //BA.debugLineNum = 305;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 306;BA.debugLine="DateTime.DateFormat=\"yyMMdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMdd"); - //BA.debugLineNum = 307;BA.debugLine="Private h As String = DateTime.Date(DateTime.Now"; -_h = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow())+"000000"; - //BA.debugLineNum = 308;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 309;BA.debugLine="Log(\"Hoy=\"&h)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378577669","Hoy="+_h,0); - //BA.debugLineNum = 310;BA.debugLine="Return h"; -if (true) return _h; - //BA.debugLineNum = 311;BA.debugLine="End Sub"; -return ""; -} -public static String _fechakmt(anywheresoftware.b4a.BA _ba,String _fecha) throws Exception{ -String _origformat = ""; -String _nuevafecha = ""; - //BA.debugLineNum = 63;BA.debugLine="Sub fechaKMT(fecha As String) As String 'ignore"; - //BA.debugLineNum = 65;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 66;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 67;BA.debugLine="Dim nuevaFecha As String=DateTime.Date(fecha)"; -_nuevafecha = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 68;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 70;BA.debugLine="Return nuevaFecha"; -if (true) return _nuevafecha; - //BA.debugLineNum = 71;BA.debugLine="End Sub"; -return ""; -} -public static long _fechakmt2ticks(anywheresoftware.b4a.BA _ba,String _fkmt) throws Exception{ -String _partefecha = ""; -String _partehora = ""; -String _origformat = ""; -long _ticks = 0L; - //BA.debugLineNum = 519;BA.debugLine="Sub fechaKMT2Ticks(fKMT As String) As Long 'ignore"; - //BA.debugLineNum = 520;BA.debugLine="Try"; -try { //BA.debugLineNum = 521;BA.debugLine="If fKMT.Length = 12 Then"; -if (_fkmt.length()==12) { - //BA.debugLineNum = 522;BA.debugLine="Private parteFecha As String = fKMT.SubString2("; -_partefecha = _fkmt.substring((int) (0),(int) (6)); - //BA.debugLineNum = 523;BA.debugLine="Private parteHora As String = fKMT.SubString(6)"; -_partehora = _fkmt.substring((int) (6)); - //BA.debugLineNum = 524;BA.debugLine="Private OrigFormat As String = DateTime.DateFor"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 525;BA.debugLine="DateTime.DateFormat=\"yymmdd\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yymmdd"); - //BA.debugLineNum = 526;BA.debugLine="DateTime.TimeFormat=\"HHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setTimeFormat("HHmmss"); - //BA.debugLineNum = 527;BA.debugLine="Private ticks As Long = DateTime.DateTimeParse("; -_ticks = anywheresoftware.b4a.keywords.Common.DateTime.DateTimeParse(_partefecha,_partehora); - //BA.debugLineNum = 528;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 529;BA.debugLine="Return ticks"; -if (true) return _ticks; - }else { - //BA.debugLineNum = 531;BA.debugLine="Log(\"Formato de fecha incorrecto, debe de ser '"; -anywheresoftware.b4a.keywords.Common.LogImpl("379298572","Formato de fecha incorrecto, debe de ser 'YYMMDDHHMMSS', no '"+_fkmt+"' largo="+BA.NumberToString(_fkmt.length()),0); - //BA.debugLineNum = 532;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - } - catch (Exception e16) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e16); //BA.debugLineNum = 535;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379298576",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 536;BA.debugLine="LogColor($\"Fecha dada: ${fKMT}, Parte Fecha: ${p"; -anywheresoftware.b4a.keywords.Common.LogImpl("379298577",("Fecha dada: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fkmt))+", Parte Fecha: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partefecha))+", Parte Hora: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_partehora))+""),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 537;BA.debugLine="Return 0"; -if (true) return (long) (0); - }; - //BA.debugLineNum = 539;BA.debugLine="End Sub"; -return 0L; -} -public static String _getphnid(anywheresoftware.b4a.BA _ba) throws Exception{ -String _t = ""; -String _s = ""; - //BA.debugLineNum = 20;BA.debugLine="Sub getPhnId As String 'ignore"; - //BA.debugLineNum = 22;BA.debugLine="devModel = phn.Model"; -_devmodel = _phn.getModel(); - //BA.debugLineNum = 23;BA.debugLine="If devModel.Length <= 3 Then 'Si phn.Model esta e"; -if (_devmodel.length()<=3) { - //BA.debugLineNum = 24;BA.debugLine="Dim t As String = phn.GetSettings(\"android_id\")"; -_t = _phn.GetSettings("android_id"); - //BA.debugLineNum = 25;BA.debugLine="devModel = t"; -_devmodel = _t; - }; - //BA.debugLineNum = 27;BA.debugLine="If devModel.Length >= 3 Then 'Si tenemos valor pa"; -if (_devmodel.length()>=3) { - //BA.debugLineNum = 28;BA.debugLine="File.WriteString(File.DirInternal, \"phnId.txt\","; -anywheresoftware.b4a.keywords.Common.File.WriteString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt",_devmodel); - }else if(_devmodel.length()<3) { - //BA.debugLineNum = 31;BA.debugLine="Dim s As String = File.ReadString(File.DirIntern"; -_s = anywheresoftware.b4a.keywords.Common.File.ReadString(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"phnId.txt"); - //BA.debugLineNum = 32;BA.debugLine="devModel = s"; -_devmodel = _s; - }; - //BA.debugLineNum = 36;BA.debugLine="Return devModel"; -if (true) return _devmodel; - //BA.debugLineNum = 37;BA.debugLine="End Sub"; -return ""; -} -public static String _getssid(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 252;BA.debugLine="Sub getSSID 'ignore"; - //BA.debugLineNum = 257;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaappinfo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.sql.SQL _skmt) throws Exception{ - //BA.debugLineNum = 1515;BA.debugLine="Sub guardaAppInfo(skmt As SQL)"; - //BA.debugLineNum = 1516;BA.debugLine="skmt.ExecNonQuery(\"delete from CAT_VARIABLES wher"; -_skmt.ExecNonQuery("delete from CAT_VARIABLES where CAT_VA_DESCRIPCION = 'EMPRESA' or CAT_VA_DESCRIPCION = 'APP_NAME' or CAT_VA_DESCRIPCION = 'APP_VERSION'"); - //BA.debugLineNum = 1517;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; -_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_NAME', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getLabelName()))+"')")); - //BA.debugLineNum = 1518;BA.debugLine="skmt.ExecNonQuery($\"insert into CAT_VARIABLES (CA"; -_skmt.ExecNonQuery(("insert into CAT_VARIABLES (CAT_VA_DESCRIPCION, CAT_VA_VALOR) values ('APP_VERSION', '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.Application.getVersionName()))+"')")); - //BA.debugLineNum = 1519;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaclientehorainicio(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ - //BA.debugLineNum = 1384;BA.debugLine="Sub guardaClienteHoraInicio(cliente As String)"; - //BA.debugLineNum = 1385;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into PEDIDO_INICIO_FINAL(PIF_CLIENTE, PIF_HORA_INICIO, PIF_HORA_FINAL) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cliente),(Object)(anywheresoftware.b4a.keywords.Common.DateTime.getNow()),(Object)(0)})); - //BA.debugLineNum = 1387;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenarchivo(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ -String _origformat = ""; -String _lastupdate = ""; -String _ubic = ""; -anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper _out = null; -String _s = ""; -byte[] _t = null; - //BA.debugLineNum = 102;BA.debugLine="Sub guardaInfoEnArchivo(coords As String) 'ignore"; - //BA.debugLineNum = 104;BA.debugLine="Dim OrigFormat As String=DateTime.DateFormat 'sa"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 105;BA.debugLine="DateTime.DateFormat=\"MMM-dd HH:mm:ss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MMM-dd HH:mm:ss"); - //BA.debugLineNum = 106;BA.debugLine="Dim lastUpdate As String=DateTime.Date(DateTime.N"; -_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 107;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 109;BA.debugLine="Dim ubic As String = coords&\",\"&lastUpdate"; -_ubic = _coords+","+_lastupdate; - //BA.debugLineNum = 110;BA.debugLine="Dim out As OutputStream = File.OpenOutput(File.Di"; -_out = new anywheresoftware.b4a.objects.streams.File.OutputStreamWrapper(); -_out = anywheresoftware.b4a.keywords.Common.File.OpenOutput(anywheresoftware.b4a.keywords.Common.File.getDirInternal(),"gps.txt",anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 111;BA.debugLine="Dim s As String = ubic & CRLF"; -_s = _ubic+anywheresoftware.b4a.keywords.Common.CRLF; - //BA.debugLineNum = 112;BA.debugLine="Dim t() As Byte = s.GetBytes(\"UTF-8\")"; -_t = _s.getBytes("UTF-8"); - //BA.debugLineNum = 113;BA.debugLine="out.WriteBytes(t, 0, t.Length)"; -_out.WriteBytes(_t,(int) (0),_t.length); - //BA.debugLineNum = 114;BA.debugLine="out.Close"; -_out.Close(); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public static String _guardainfoenbd(anywheresoftware.b4a.BA _ba,String _coords) throws Exception{ -String[] _latlon = null; - //BA.debugLineNum = 118;BA.debugLine="Sub guardaInfoEnBD(coords As String) 'ignore"; - //BA.debugLineNum = 119;BA.debugLine="Log(\"Guardamos ubicacion en BD - \"&coords)"; -anywheresoftware.b4a.keywords.Common.LogImpl("377987841","Guardamos ubicacion en BD - "+_coords,0); - //BA.debugLineNum = 120;BA.debugLine="Try"; -try { //BA.debugLineNum = 121;BA.debugLine="Dim latlon() As String = Regex.Split(\"\\|\", coord"; -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split("\\|",_coords); - //BA.debugLineNum = 122;BA.debugLine="If latlon.Length < 2 Then latlon = Regex.Split(\""; -if (_latlon.length<2) { -_latlon = anywheresoftware.b4a.keywords.Common.Regex.Split(",",_coords);}; - //BA.debugLineNum = 123;BA.debugLine="If subsLogs Then Log(\"LatLon=\"&latlon)"; -if (_subslogs) { -anywheresoftware.b4a.keywords.Common.LogImpl("377987845","LatLon="+BA.ObjectToString(_latlon),0);}; - //BA.debugLineNum = 124;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(FECHA, L"; -_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(FECHA, LAT, LON) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_latlon[(int) (2)]),(Object)(_latlon[(int) (0)]),(Object)(_latlon[(int) (1)])})); - } - catch (Exception e8) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e8); //BA.debugLineNum = 126;BA.debugLine="LogColor(LastException, Colors.red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("377987848",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 128;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaproducto(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 763;BA.debugLine="Sub guardaProducto(cedis As String, costoU As Stri"; - //BA.debugLineNum = 765;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 766;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO) VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa)})); - //BA.debugLineNum = 767;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${S"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); - //BA.debugLineNum = 768;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 769;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 770;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 771;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 772;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"UPDATE kmt_i"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("UPDATE kmt_info set gestion = 2 where CAT_CL_CODIGO In (select cuenta from cuentaa)"); - //BA.debugLineNum = 773;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaproductosingestion(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 778;BA.debugLine="Sub guardaProductoSinGestion(cedis As String, cost"; - //BA.debugLineNum = 780;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 781;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cant))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_cantc),(Object)(_bcajas)})); - //BA.debugLineNum = 782;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${S"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); - //BA.debugLineNum = 783;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 784;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 785;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 786;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 787;BA.debugLine="End Sub"; -return ""; -} -public static String _guardaproductosingestion2(anywheresoftware.b4a.BA _ba,String _cedis,String _costou,String _cant,String _nombre,String _prodid,String _clienteid,String _fecha,String _usuario,String _rutav,String _preciosin,String _tipoventa,String _cantc,String _bcajas) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 816;BA.debugLine="Sub guardaProductoSinGestion2(cedis As String, cos"; - //BA.debugLineNum = 818;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 819;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INTO"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO PEDIDO (PE_CEDIS,PE_COSTO_TOT,PE_COSTOU,PE_CANT,PE_PRONOMBRE,PE_PROID,PE_CLIENTE,PE_FECHA,PE_USUARIO,PE_RUTA,PE_COSTO_SIN,PE_FOLIO,PE_ENVIO_OK,PE_CANTC,PE_BCAJAS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,0,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cedis),(Object)(((double)(Double.parseDouble(_cantc))*(double)(Double.parseDouble(_costou)))),(Object)(_costou),(Object)(_cant),(Object)(_nombre),(Object)(_prodid),(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_rutav),(Object)(_preciosin),(Object)(_tipoventa),(Object)(_cantc),(Object)(_bcajas)})); - //BA.debugLineNum = 820;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2($\"update ${S"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2(("update "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" set cat_gp_almacen = cat_gp_almacen - ? where cat_gp_id = ? "),anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_cant),(Object)(_prodid)})); - //BA.debugLineNum = 821;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select sum(pe"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select sum(pe_costo_tot) as TOTAL_CLIE, SUM(PE_CANT) AS CANT_CLIE, SUM(PE_COSTO_SIN) AS TOTAL_CLIE_SIN FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa)"))); - //BA.debugLineNum = 822;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 823;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"delete from"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("delete from pedido_cliente where PC_CLIENTE In (select cuenta from cuentaa)"); - //BA.debugLineNum = 824;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"insert into"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("insert into pedido_cliente(PC_CLIENTE, PC_FECHA, PC_USER, PC_NOART, PC_MONTO,PC_LON, PC_LAT,PC_ALMACEN,PC_RUTA,PC_COSTO_SIN) VALUES (?,?,?,?,?,?,?,?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_clienteid),(Object)(_fecha),(Object)(_usuario),(Object)(_c.GetString("CANT_CLIE")),(Object)(_c.GetString("TOTAL_CLIE")),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lon_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._lat_gps /*String*/ ),(Object)(_cedis),(Object)(_c.GetString("TOTAL_CLIE_SIN"))})); - //BA.debugLineNum = 825;BA.debugLine="End Sub"; -return ""; -} -public static boolean _haypedido(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _thisc = null; -boolean _hay = false; - //BA.debugLineNum = 1474;BA.debugLine="Sub hayPedido As Boolean"; - //BA.debugLineNum = 1475;BA.debugLine="Private thisC As Cursor=B4XPages.MainPage.skmt.Ex"; -_thisc = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_thisc = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select count(PE_CLIENTE) as hayPedido from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")))); - //BA.debugLineNum = 1476;BA.debugLine="thisC.Position=0"; -_thisc.setPosition((int) (0)); - //BA.debugLineNum = 1477;BA.debugLine="Private hay As Boolean = False"; -_hay = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1478;BA.debugLine="If thisC.GetInt(\"hayPedido\") > 0 Then hay = True"; -if (_thisc.GetInt("hayPedido")>0) { -_hay = anywheresoftware.b4a.keywords.Common.True;}; - //BA.debugLineNum = 1480;BA.debugLine="Return hay"; -if (true) return _hay; - //BA.debugLineNum = 1481;BA.debugLine="End Sub"; -return false; -} -public static String _insertarenglonespruebaenerrorlog(anywheresoftware.b4a.BA _ba) throws Exception{ -int _x = 0; - //BA.debugLineNum = 479;BA.debugLine="Sub insertaRenglonesPruebaEnErrorLog 'ignore"; - //BA.debugLineNum = 480;BA.debugLine="revisaBD"; -_revisabd(_ba); - //BA.debugLineNum = 481;BA.debugLine="Log(\"insertamos 50 renglones a errorLog\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("379167490","insertamos 50 renglones a errorLog",0); - //BA.debugLineNum = 482;BA.debugLine="For x = 1 To 50"; -{ -final int step3 = 1; -final int limit3 = (int) (50); -_x = (int) (1) ; -for (;_x <= limit3 ;_x = _x + step3 ) { - //BA.debugLineNum = 483;BA.debugLine="errorLog.ExecNonQuery2(\"INSERT INTO errores(fech"; -_errorlog.ExecNonQuery2("INSERT INTO errores(fecha, error) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)("abc")})); - //BA.debugLineNum = 484;BA.debugLine="Log(x)"; -anywheresoftware.b4a.keywords.Common.LogImpl("379167493",BA.NumberToString(_x),0); - } -}; - //BA.debugLineNum = 486;BA.debugLine="End Sub"; -return ""; -} -public static String _installapk(anywheresoftware.b4a.BA _ba,String _dir,String _apk) throws Exception{ -anywheresoftware.b4a.objects.IntentWrapper _i = null; - //BA.debugLineNum = 541;BA.debugLine="Sub InstallAPK(dir As String, apk As String) 'igno"; - //BA.debugLineNum = 542;BA.debugLine="If File.Exists(dir, apk) Then"; -if (anywheresoftware.b4a.keywords.Common.File.Exists(_dir,_apk)) { - //BA.debugLineNum = 543;BA.debugLine="Dim i As Intent"; -_i = new anywheresoftware.b4a.objects.IntentWrapper(); - //BA.debugLineNum = 544;BA.debugLine="i.Initialize(i.ACTION_VIEW, \"file://\" & File.Com"; -_i.Initialize(_i.ACTION_VIEW,"file://"+anywheresoftware.b4a.keywords.Common.File.Combine(_dir,_apk)); - //BA.debugLineNum = 545;BA.debugLine="i.SetType(\"application/vnd.android.package-archi"; -_i.SetType("application/vnd.android.package-archive"); - //BA.debugLineNum = 546;BA.debugLine="StartActivity(i)"; -anywheresoftware.b4a.keywords.Common.StartActivity((_ba.processBA == null ? _ba : _ba.processBA),(Object)(_i.getObject())); - }; - //BA.debugLineNum = 548;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _json2map(anywheresoftware.b4a.BA _ba,String _thejson) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser _json = null; -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 260;BA.debugLine="Sub JSON2Map(theJson As String) As Map 'ignore"; - //BA.debugLineNum = 262;BA.debugLine="Try"; -try { //BA.debugLineNum = 263;BA.debugLine="Private json As JSONParser"; -_json = new anywheresoftware.b4a.objects.collections.JSONParser(); - //BA.debugLineNum = 264;BA.debugLine="json.Initialize(theJson)"; -_json.Initialize(_thejson); - //BA.debugLineNum = 265;BA.debugLine="Return json.NextObject"; -if (true) return _json.NextObject(); - } - catch (Exception e6) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e6); //BA.debugLineNum = 267;BA.debugLine="Log(LastException)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378446599",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),0); - //BA.debugLineNum = 268;BA.debugLine="log2DB(\"JSON2Map: \"&LastException)"; -_log2db(_ba,"JSON2Map: "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba))); - //BA.debugLineNum = 269;BA.debugLine="Private m As Map = CreateMap(\"title\":\"Error gene"; -_m = new anywheresoftware.b4a.objects.collections.Map(); -_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("title"),(Object)("Error generating JSON"),(Object)("t"),(Object)("Error"),(Object)("Message"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject()),(Object)("text"),(Object)(anywheresoftware.b4a.keywords.Common.LastException(_ba).getObject())}); - //BA.debugLineNum = 270;BA.debugLine="Return m"; -if (true) return _m; - }; - //BA.debugLineNum = 272;BA.debugLine="End Sub"; -return null; -} -public static String _log2db(anywheresoftware.b4a.BA _ba,String _texto) throws Exception{ - //BA.debugLineNum = 314;BA.debugLine="Sub log2DB(texto As String) 'ignore"; - //BA.debugLineNum = 315;BA.debugLine="LogColor(fechaKMT(DateTime.Now)&\" - log2BD: '\"&te"; -anywheresoftware.b4a.keywords.Common.LogImpl("378643201",_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))+" - log2BD: '"+_texto+"'",anywheresoftware.b4a.keywords.Common.Colors.LightGray); - //BA.debugLineNum = 316;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO bitacora(fecha, te"; -_kmt.ExecNonQuery2("INSERT INTO bitacora(fecha, texto) VALUES (?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()))),(Object)(_texto)})); - //BA.debugLineNum = 317;BA.debugLine="End Sub"; -return ""; -} -public static String _logjobdoneresultados(anywheresoftware.b4a.BA _ba,adm.keymon.com.mx.dbrequestmanager._dbresult _resultado) throws Exception{ -Object[] _records = null; -String _k = ""; - //BA.debugLineNum = 1505;BA.debugLine="Sub logJobDoneResultados(resultado As DBResult)"; - //BA.debugLineNum = 1506;BA.debugLine="For Each records() As Object In resultado.Rows"; -{ -final anywheresoftware.b4a.BA.IterableList group1 = _resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ ; -final int groupLen1 = group1.getSize() -;int index1 = 0; -; -for (; index1 < groupLen1;index1++){ -_records = (Object[])(group1.Get(index1)); - //BA.debugLineNum = 1507;BA.debugLine="LogColor($\"====== ${resultado.Tag} - REGISTROS ="; -anywheresoftware.b4a.keywords.Common.LogImpl("382444290",("====== "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_resultado.Tag /*Object*/ )+" - REGISTROS = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_resultado.Rows /*anywheresoftware.b4a.objects.collections.List*/ .getSize()))+""),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); - //BA.debugLineNum = 1508;BA.debugLine="For Each k As String In resultado.Columns.Keys"; -{ -final anywheresoftware.b4a.BA.IterableList group3 = _resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Keys(); -final int groupLen3 = group3.getSize() -;int index3 = 0; -; -for (; index3 < groupLen3;index3++){ -_k = BA.ObjectToString(group3.Get(index3)); - //BA.debugLineNum = 1509;BA.debugLine="LogColor(k & \" = \" & records(resultado.Columns."; -anywheresoftware.b4a.keywords.Common.LogImpl("382444292",_k+" = "+BA.ObjectToString(_records[(int)(BA.ObjectToNumber(_resultado.Columns /*anywheresoftware.b4a.objects.collections.Map*/ .Get((Object)(_k))))]),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (215),(int) (37),(int) (0))); - } -}; - } -}; - //BA.debugLineNum = 1512;BA.debugLine="End Sub"; -return ""; -} -public static String _map2json(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _m) throws Exception{ -anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator _jg = null; -String _t = ""; - //BA.debugLineNum = 275;BA.debugLine="Sub map2JSON(m As Map) As String 'ignore"; - //BA.debugLineNum = 278;BA.debugLine="Dim jg As JSONGenerator"; -_jg = new anywheresoftware.b4a.objects.collections.JSONParser.JSONGenerator(); - //BA.debugLineNum = 279;BA.debugLine="jg.Initialize(m)"; -_jg.Initialize(_m); - //BA.debugLineNum = 280;BA.debugLine="Dim t As String = jg.ToString"; -_t = _jg.ToString(); - //BA.debugLineNum = 281;BA.debugLine="Return t"; -if (true) return _t; - //BA.debugLineNum = 282;BA.debugLine="End Sub"; -return ""; -} -public static boolean _masdexxmins(anywheresoftware.b4a.BA _ba,int _hora,int _mins) throws Exception{ - //BA.debugLineNum = 320;BA.debugLine="Sub masDeXXMins(hora As Int, mins As Int) As Boole"; - //BA.debugLineNum = 321;BA.debugLine="If (hora + mins * DateTime.TicksPerMinute) < Date"; -if ((_hora+_mins*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute) 0 Then"; -if (_g.getRowCount()>0) { - //BA.debugLineNum = 1466;BA.debugLine="g.Position=0"; -_g.setPosition((int) (0)); - //BA.debugLineNum = 1467;BA.debugLine="If g.GetString(\"gestion\") = \"2\" Or g.GetString(\""; -if ((_g.GetString("gestion")).equals("2") || (_g.GetString("gestion")).equals("3")) { -_guardado = anywheresoftware.b4a.keywords.Common.True;}; - }; - //BA.debugLineNum = 1470;BA.debugLine="Return guardado"; -if (true) return _guardado; - //BA.debugLineNum = 1471;BA.debugLine="End Sub"; -return false; -} -public static anywheresoftware.b4a.objects.collections.Map _procesapromocion(anywheresoftware.b4a.BA _ba,String _idpromo,String _cliente) throws Exception{ -boolean _thislog = false; -String _iniciocontador = ""; -anywheresoftware.b4a.objects.collections.Map _pm = null; -anywheresoftware.b4a.objects.collections.Map _inventariosinfijos = null; -boolean _pv = false; - //BA.debugLineNum = 1169;BA.debugLine="Sub procesaPromocion(idPromo As String, cliente As"; - //BA.debugLineNum = 1170;BA.debugLine="Private thisLog As Boolean = True 'Si es verdade"; -_thislog = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1171;BA.debugLine="Private inicioContador As String = DateTime.Now"; -_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 1172;BA.debugLine="If thisLog Then LogColor($\"********* Iniciamos re"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526787",("********* Iniciamos revision de Promo "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idpromo))+" *********"),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 1174;BA.debugLine="Private pm As Map = traePromo(idPromo, cliente)"; -_pm = new anywheresoftware.b4a.objects.collections.Map(); -_pm = _traepromo(_ba,_idpromo,_cliente); - //BA.debugLineNum = 1175;BA.debugLine="If thisLog Then LogColor(pm, Colors.Blue)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526790",BA.ObjectToString(_pm),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1176;BA.debugLine="If pm.Get(\"resultado\") = \"ok\" Then 'Si encontramo"; -if ((_pm.Get((Object)("resultado"))).equals((Object)("ok"))) { - //BA.debugLineNum = 1178;BA.debugLine="If thisLog Then LogColor($\"Promociones permitida"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526793",("Promociones permitidas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traemaxpromos(_ba,_pm)))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1179;BA.debugLine="If thisLog Then Log(\"Promos vendidas: \" & traePr"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526794","Promos vendidas: "+BA.NumberToString(_traepromosvendidas(_ba,_idpromo,_cliente)),0);}; - //BA.debugLineNum = 1180;BA.debugLine="If traePromosVendidas(idPromo, cliente) >= traeM"; -if (_traepromosvendidas(_ba,_idpromo,_cliente)>=_traemaxpromos(_ba,_pm)) { - //BA.debugLineNum = 1181;BA.debugLine="If thisLog Then LogColor(\"Ya se vendieron las p"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526796","Ya se vendieron las promos PERMITIDAS para el cliente",anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1182;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); - }; - //BA.debugLineNum = 1185;BA.debugLine="Private inventarioSinFijos As Map = restaFijosPr"; -_inventariosinfijos = new anywheresoftware.b4a.objects.collections.Map(); -_inventariosinfijos = _restafijospromo(_ba,_pm); - //BA.debugLineNum = 1186;BA.debugLine="If thisLog Then LogColor(\"inventariosfijos=\"&inv"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526801","inventariosfijos="+BA.ObjectToString(_inventariosinfijos),anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 1188;BA.debugLine="If inventarioSinFijos.Get(\"resultado\") = \"ok\" Th"; -if ((_inventariosinfijos.Get((Object)("resultado"))).equals((Object)("ok"))) { - //BA.debugLineNum = 1190;BA.debugLine="Private pv As Boolean = alcanzanLosVariablesPa"; -_pv = _alcanzanlosvariablesparapromo(_ba,_pm,_inventariosinfijos); - //BA.debugLineNum = 1191;BA.debugLine="If thisLog Then Log(\"Alcanzan los variables? --"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526806","Alcanzan los variables? --> "+BA.ObjectToString(_pv),0);}; - //BA.debugLineNum = 1192;BA.debugLine="If pv Then Return CreateMap(\"status\":\"ok\", \"mp\""; -if (_pv) { -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ok"),(Object)("mp"),(Object)(_pm.getObject())});} -else { -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())});}; - }else { - //BA.debugLineNum = 1194;BA.debugLine="If thisLog Then LogColor(\"NO HAY INVENTARIO SUF"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381526809","NO HAY INVENTARIO SUFICIENTE "+_idpromo,anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1195;BA.debugLine="Return CreateMap(\"status\":\"ko\", \"mp\":pm)"; -if (true) return anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("status"),(Object)("ko"),(Object)("mp"),(Object)(_pm.getObject())}); - }; - }; - //BA.debugLineNum = 1201;BA.debugLine="LogColor(\"TIEMPO DE PROCESO ESTA PROMO: \" & ((Dat"; -anywheresoftware.b4a.keywords.Common.LogImpl("381526816","TIEMPO DE PROCESO ESTA PROMO: "+BA.NumberToString(((anywheresoftware.b4a.keywords.Common.DateTime.getNow()-(double)(Double.parseDouble(_iniciocontador)))/(double)1000)),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1202;BA.debugLine="End Sub"; -return null; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 3;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Public GZip As GZipStrings 'Usa la libreria Com"; -_gzip = new de.donmanfred.GZipStringswrapper(); - //BA.debugLineNum = 7;BA.debugLine="Private su As StringUtils 'Usa la libreria Stri"; -_su = new anywheresoftware.b4a.objects.StringUtils(); - //BA.debugLineNum = 8;BA.debugLine="Dim phn As Phone"; -_phn = new anywheresoftware.b4a.phone.Phone(); - //BA.debugLineNum = 9;BA.debugLine="Dim devModel As String"; -_devmodel = ""; - //BA.debugLineNum = 10;BA.debugLine="Dim kmt, errorLog As SQL 'Requiere la libreria \"S"; -_kmt = new anywheresoftware.b4a.sql.SQL(); -_errorlog = new anywheresoftware.b4a.sql.SQL(); - //BA.debugLineNum = 12;BA.debugLine="Dim ssid As String 'ignore"; -_ssid = ""; - //BA.debugLineNum = 13;BA.debugLine="Dim rutaMaxPoints As Int = 3000"; -_rutamaxpoints = (int) (3000); - //BA.debugLineNum = 14;BA.debugLine="Dim rutaHrsAtras As Int = 48"; -_rutahrsatras = (int) (48); - //BA.debugLineNum = 16;BA.debugLine="Private subsLogs As Boolean = False"; -_subslogs = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 17;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _restafijospromo(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _promomap) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.Map _inventariosdisponiblesparaestapromo = null; -int _i = 0; -anywheresoftware.b4a.objects.collections.Map _prodsmap = null; -anywheresoftware.b4a.objects.collections.List _prodsfijos = null; -int _p = 0; -String _t = ""; -anywheresoftware.b4a.objects.collections.Map _p2 = null; - //BA.debugLineNum = 1041;BA.debugLine="Sub restaFijosPromo(promoMap As Map) As Map 'ignor"; - //BA.debugLineNum = 1042;BA.debugLine="Private thisLog As Boolean = True 'Si es verdader"; -_thislog = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1043;BA.debugLine="Private inventariosDisponiblesParaEstaPromo As Ma"; -_inventariosdisponiblesparaestapromo = new anywheresoftware.b4a.objects.collections.Map(); -_inventariosdisponiblesparaestapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_promomap.Get((Object)("id")))); - //BA.debugLineNum = 1044;BA.debugLine="If thisLog Then LogColor(\"InvDisponible: \" & inve"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264643","InvDisponible: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1045;BA.debugLine="If thisLog Then LogColor(\"Inventario inicial ante"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264644","Inventario inicial antes de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Gray);}; - //BA.debugLineNum = 1046;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"resultad"; -_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ko")); - //BA.debugLineNum = 1047;BA.debugLine="Private i As Int"; -_i = 0; - //BA.debugLineNum = 1048;BA.debugLine="Private prodsmap As Map = promoMap.Get(\"productos"; -_prodsmap = new anywheresoftware.b4a.objects.collections.Map(); -_prodsmap = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_promomap.Get((Object)("productos")))); - //BA.debugLineNum = 1049;BA.debugLine="Private prodsFijos As List = promoMap.get(\"prodsF"; -_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1050;BA.debugLine="For p = 0 To prodsFijos.Size - 1"; -{ -final int step9 = 1; -final int limit9 = (int) (_prodsfijos.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit9 ;_p = _p + step9 ) { - //BA.debugLineNum = 1051;BA.debugLine="Private t As String = prodsFijos.Get(p) 'Obtenem"; -_t = BA.ObjectToString(_prodsfijos.Get(_p)); - //BA.debugLineNum = 1052;BA.debugLine="Private p2 As Map = prodsmap.Get(t) 'Obtenemos u"; -_p2 = new anywheresoftware.b4a.objects.collections.Map(); -_p2 = (anywheresoftware.b4a.objects.collections.Map) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.Map(), (java.util.Map)(_prodsmap.Get((Object)(_t)))); - //BA.debugLineNum = 1053;BA.debugLine="If thisLog Then Log($\"T: ${t}, prod ${p2.Get(\"id"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264652",("T: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+", prod "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("idProducto")))+", piezas: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_p2.Get((Object)("piezas")))+""),0);}; - //BA.debugLineNum = 1054;BA.debugLine="If thisLog Then Log(\"inventariosDisponiblesParaE"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264653","inventariosDisponiblesParaEstaPromo="+BA.ObjectToString(_inventariosdisponiblesparaestapromo),0);}; - //BA.debugLineNum = 1055;BA.debugLine="If inventariosDisponiblesParaEstaPromo.ContainsK"; -if (_inventariosdisponiblesparaestapromo.ContainsKey((Object)(_t))) { - //BA.debugLineNum = 1056;BA.debugLine="i = inventariosDisponiblesParaEstaPromo.get(t)"; -_i = (int)(BA.ObjectToNumber(_inventariosdisponiblesparaestapromo.Get((Object)(_t)))); - //BA.debugLineNum = 1057;BA.debugLine="If thisLog Then Log($\"Nuevo inventario de ${t}:"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264656",("Nuevo inventario de "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_t))+": "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p))+" = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("1.0",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""),0);}; - //BA.debugLineNum = 1058;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(t, $\"${"; -_inventariosdisponiblesparaestapromo.Put((Object)(_t),(Object)((""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_i-(double)(BA.ObjectToNumber(((anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_promomap.Get((Object)("prodsFijosPiezas"))))).Get(_p)))))+""))); - //BA.debugLineNum = 1059;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; -_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok")); - }else { - //BA.debugLineNum = 1061;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; -_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); - //BA.debugLineNum = 1062;BA.debugLine="LogColor(\"Sin suficiente inventario fijo: \" & t"; -anywheresoftware.b4a.keywords.Common.LogImpl("381264661","Sin suficiente inventario fijo: "+_t,anywheresoftware.b4a.keywords.Common.Colors.Blue); - //BA.debugLineNum = 1063;BA.debugLine="Exit"; -if (true) break; - }; - //BA.debugLineNum = 1065;BA.debugLine="If i - p2.Get(\"piezas\") < 0 Then"; -if (_i-(double)(BA.ObjectToNumber(_p2.Get((Object)("piezas"))))<0) { - //BA.debugLineNum = 1066;BA.debugLine="inventariosDisponiblesParaEstaPromo.Put(\"result"; -_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("No hay suficiente producto para la promocion.")); - //BA.debugLineNum = 1067;BA.debugLine="Exit"; -if (true) break; - }; - } -}; - //BA.debugLineNum = 1070;BA.debugLine="If prodsFijos.Size = 0 Then inventariosDisponible"; -if (_prodsfijos.getSize()==0) { -_inventariosdisponiblesparaestapromo.Put((Object)("resultado"),(Object)("ok"));}; - //BA.debugLineNum = 1071;BA.debugLine="If thisLog Then LogColor(\"Inventario final depues"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381264670","Inventario final depues de FIJOS: "+BA.ObjectToString(_inventariosdisponiblesparaestapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1072;BA.debugLine="Return inventariosDisponiblesParaEstaPromo"; -if (true) return _inventariosdisponiblesparaestapromo; - //BA.debugLineNum = 1073;BA.debugLine="End Sub"; -return null; -} -public static String _revisabd(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 184;BA.debugLine="Sub revisaBD 'ignore"; - //BA.debugLineNum = 188;BA.debugLine="If Not(File.Exists(Starter.ruta, \"kmt.db\")) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(anywheresoftware.b4a.keywords.Common.File.Exists(mostCurrent._starter._ruta /*String*/ ,"kmt.db"))) { - //BA.debugLineNum = 189;BA.debugLine="File.Copy(File.DirAssets, \"kmt.db\", Starter.ruta"; -anywheresoftware.b4a.keywords.Common.File.Copy(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"kmt.db",mostCurrent._starter._ruta /*String*/ ,"kmt.db"); - //BA.debugLineNum = 190;BA.debugLine="LogColor(\"copiamos kmt.db de \"&File.DirAssets &"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315526","copiamos kmt.db de "+anywheresoftware.b4a.keywords.Common.File.getDirAssets()+" a "+mostCurrent._starter._ruta /*String*/ ,anywheresoftware.b4a.keywords.Common.Colors.Green); - }; - //BA.debugLineNum = 192;BA.debugLine="If Not(kmt.IsInitialized) Then kmt.Initialize(Sta"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_kmt.Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 193;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_GPS(FECHA INTEGER, LAT TEXT, LON TEXT)"); - //BA.debugLineNum = 195;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); - //BA.debugLineNum = 196;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS HIST"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS HIST_AVANCE(HA_MARCA TEXT, HA_AVANCE TEXT, HA_OBJETIVO TEXT, HA_PORCENTAJE TEXT)"); - //BA.debugLineNum = 197;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS ABON"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS ABONOSP(NOTA TEXT, CLIENTE TEXT, SALDO_PENDIENTE TEXT)"); - //BA.debugLineNum = 198;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS CLIE"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS CLIENTE_NUEVO(CN_ID_CLIENTE TEXT, CN_NOMBRE TEXT, CN_enviado text)"); - //BA.debugLineNum = 199;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS RUTA"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS RUTA_SUPLENCIA(RS_RUTA TEXT)"); - //BA.debugLineNum = 200;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; -try { //BA.debugLineNum = 201;BA.debugLine="kmt.ExecQuery(\"select count(PC_ENVIO_OK) from PE"; -_kmt.ExecQuery("select count(PC_ENVIO_OK) from PEDIDO_CLIENTE"); - } - catch (Exception e15) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e15); //BA.debugLineNum = 203;BA.debugLine="Try"; -try { //BA.debugLineNum = 204;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; -_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_ENVIO_OK INTEGER"); - } - catch (Exception e18) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e18); //BA.debugLineNum = 206;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_ENVI"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315542","No pudimos agregar la columna PC_ENVIO_OK.",anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 207;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315543",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 211;BA.debugLine="Try 'Si no existe la columna CAT_CL_DIAS_VISITA l"; -try { //BA.debugLineNum = 212;BA.debugLine="kmt.ExecQuery(\"select count(CAT_CL_DIAS_VISITA)"; -_kmt.ExecQuery("select count(CAT_CL_DIAS_VISITA) from kmt_info2"); - } - catch (Exception e25) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e25); //BA.debugLineNum = 214;BA.debugLine="Try"; -try { //BA.debugLineNum = 215;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE kmt_info2 ADD COL"; -_kmt.ExecNonQuery("ALTER TABLE kmt_info2 ADD COLUMN CAT_CL_DIAS_VISITA TEXT"); - } - catch (Exception e28) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e28); //BA.debugLineNum = 217;BA.debugLine="LogColor(\"No pudimos agregar la columna CAT_CL_"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315553","No pudimos agregar la columna CAT_CL_DIAS_VISITA.",anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 218;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315554",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 222;BA.debugLine="Try 'Si no existe la columna PC_ENVIO_OK la agreg"; -try { //BA.debugLineNum = 223;BA.debugLine="kmt.ExecQuery(\"select count(PC_TIEMPO_TIENDA) fr"; -_kmt.ExecQuery("select count(PC_TIEMPO_TIENDA) from PEDIDO_CLIENTE"); - } - catch (Exception e35) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 225;BA.debugLine="Try"; -try { //BA.debugLineNum = 226;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; -_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_TIEMPO_TIENDA FLOAT"); - } - catch (Exception e38) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e38); //BA.debugLineNum = 228;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_TIEM"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315564","No pudimos agregar la columna PC_TIEMPO_TIENDA.",anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 229;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315565",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 232;BA.debugLine="Try 'Si no existe la columna PC_FACTURA la agrega"; -try { //BA.debugLineNum = 233;BA.debugLine="kmt.ExecQuery(\"select count(PC_FACTURA) from PED"; -_kmt.ExecQuery("select count(PC_FACTURA) from PEDIDO_CLIENTE"); - } - catch (Exception e45) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e45); //BA.debugLineNum = 235;BA.debugLine="Try"; -try { //BA.debugLineNum = 236;BA.debugLine="kmt.ExecNonQuery(\"ALTER TABLE PEDIDO_CLIENTE AD"; -_kmt.ExecNonQuery("ALTER TABLE PEDIDO_CLIENTE ADD COLUMN PC_FACTURA INTEGER"); - } - catch (Exception e48) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e48); //BA.debugLineNum = 238;BA.debugLine="LogColor(\"No pudimos agregar la columna PC_FACT"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315574","No pudimos agregar la columna PC_FACTURA.",anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 239;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("378315575",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 242;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS bita"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS bitacora(fecha INTEGER, texto TEXT)"); - //BA.debugLineNum = 244;BA.debugLine="kmt.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS PEDI"; -_kmt.ExecNonQuery("CREATE TABLE IF NOT EXISTS PEDIDO_INICIO_FINAL(PIF_CLIENTE TEXT, PIF_HORA_INICIO LONG, PIF_HORA_FINAL LONG)"); - //BA.debugLineNum = 247;BA.debugLine="If Not(errorLog.IsInitialized) Then errorLog.Init"; -if (anywheresoftware.b4a.keywords.Common.Not(_errorlog.IsInitialized())) { -_errorlog.Initialize(mostCurrent._starter._ruta /*String*/ ,"errorLog.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 248;BA.debugLine="errorLog.ExecNonQuery(\"CREATE TABLE IF NOT EXISTS"; -_errorlog.ExecNonQuery("CREATE TABLE IF NOT EXISTS errores(fecha INTEGER, error TEXT)"); - //BA.debugLineNum = 249;BA.debugLine="End Sub"; -return ""; -} -public static String _revisaflp(anywheresoftware.b4a.BA _ba) throws Exception{ -boolean _todobienflp = false; - //BA.debugLineNum = 392;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 393;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; -anywheresoftware.b4a.keywords.Common.LogImpl("378970881","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); - //BA.debugLineNum = 394;BA.debugLine="Private todoBienFLP As Boolean = True"; -_todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 395;BA.debugLine="Try"; -try { //BA.debugLineNum = 396;BA.debugLine="If Not(Tracker.FLP.IsInitialized) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized())) { - //BA.debugLineNum = 397;BA.debugLine="log2DB(\"revisaFLP: No esta inicializado ... 'Re"; -_log2db(_ba,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 398;BA.debugLine="Tracker.FLP.Initialize(\"flp\")"; -mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .Initialize((_ba.processBA == null ? _ba : _ba.processBA),"flp"); - //BA.debugLineNum = 399;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e10) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e10); //BA.debugLineNum = 402;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) ---"; -anywheresoftware.b4a.keywords.Common.LogImpl("378970890","If Not(Tracker.FLP.IsInitialized) --- "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 404;BA.debugLine="Try"; -try { //BA.debugLineNum = 405;BA.debugLine="If Tracker.FLP.IsInitialized Then"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsInitialized()) { - //BA.debugLineNum = 406;BA.debugLine="Try"; -try { //BA.debugLineNum = 407;BA.debugLine="If Not(Tracker.FLP.IsConnected) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected())) { - //BA.debugLineNum = 408;BA.debugLine="log2DB(\"revisaFLP: No esta conectado ... 'Rec"; -_log2db(_ba,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 410;BA.debugLine="CallSubDelayed(Tracker,\"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.CallSubDelayed((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject()),"StartFLP"); - //BA.debugLineNum = 411;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e21) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e21); //BA.debugLineNum = 414;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("378970902","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 416;BA.debugLine="Try"; -try { //BA.debugLineNum = 417;BA.debugLine="If Tracker.FLP.IsConnected And _ Tracker."; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .IsConnected() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized() && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().DistanceTo((android.location.Location)(mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .getObject()))>500) { - //BA.debugLineNum = 420;BA.debugLine="log2DB(\"revisaFLP: 'No se esta actualizando,"; -_log2db(_ba,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 421;BA.debugLine="StartService(Tracker)"; -anywheresoftware.b4a.keywords.Common.StartService((_ba.processBA == null ? _ba : _ba.processBA),(Object)(mostCurrent._tracker.getObject())); - //BA.debugLineNum = 422;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e30) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e30); //BA.debugLineNum = 425;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; -anywheresoftware.b4a.keywords.Common.LogImpl("378970913","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 428;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; -if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("378970916"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; - } - catch (Exception e35) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e35); //BA.debugLineNum = 430;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; -anywheresoftware.b4a.keywords.Common.LogImpl("378970918","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 433;BA.debugLine="End Sub"; -return ""; -} -public static int _revisamaxpromosprodsfijosporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; -anywheresoftware.b4a.objects.collections.List _t = null; -anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; -anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; -anywheresoftware.b4a.objects.collections.List _idprodsfijos = null; -int _p = 0; -String[] _x = null; - //BA.debugLineNum = 1248;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario(pm As M"; - //BA.debugLineNum = 1249;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1250;BA.debugLine="Private invFijoXpromo As Map"; -_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1251;BA.debugLine="Private t As List"; -_t = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1252;BA.debugLine="t.Initialize"; -_t.Initialize(); - //BA.debugLineNum = 1253;BA.debugLine="t.Add(traeMaxPromos(pm)) ' Agregamos a la lista l"; -_t.Add((Object)(_traemaxpromos(_ba,_pm))); - //BA.debugLineNum = 1254;BA.debugLine="invFijoXpromo.Initialize"; -_invfijoxpromo.Initialize(); - //BA.debugLineNum = 1255;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657863",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1256;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; -_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); -_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 1257;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657865",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 1258;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; -_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 1259;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; -_idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); -_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1260;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos una"; -{ -final int step12 = 1; -final int limit12 = (int) (_idprodsfijos.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit12 ;_p = _p + step12 ) { - //BA.debugLineNum = 1261;BA.debugLine="If thisLog Then Log($\"id=${idProdsFijos.Get(p)},"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657869",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_p))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_p)))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_prodsfijospiezas.Get(_p))+""),0);}; - //BA.debugLineNum = 1262;BA.debugLine="If thisLog Then Log($\"${(invDispParaPromo.Get(id"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657870",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+""),0);}; - //BA.debugLineNum = 1263;BA.debugLine="Private x() As String = Regex.Split(\"\\.\", $\"${(i"; -_x = anywheresoftware.b4a.keywords.Common.Regex.Split("\\.",(""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_p))))/(double)(double)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))))))+"")); - //BA.debugLineNum = 1264;BA.debugLine="If thisLog Then Log(x(0))"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657872",_x[(int) (0)],0);}; - //BA.debugLineNum = 1265;BA.debugLine="t.Add(x(0).As(Int)) 'Solo guardamos la parte del"; -_t.Add((Object)(((int)(Double.parseDouble(_x[(int) (0)]))))); - } -}; - //BA.debugLineNum = 1267;BA.debugLine="t.Sort(True) 'Ordenamos la lista para que en el l"; -_t.Sort(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 1268;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657876",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1269;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657877",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1270;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381657878",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1272;BA.debugLine="Return t.Get(0) 'Regresamos el resultado mas pequ"; -if (true) return (int)(BA.ObjectToNumber(_t.Get((int) (0)))); - //BA.debugLineNum = 1273;BA.debugLine="End Sub"; -return 0; -} -public static int _revisamaxpromosprodsfijosporinventario2(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; -String _maxpromos = ""; -int _maxpromosfijosxinv = 0; -int _fpf2 = 0; -int _pdp2 = 0; -boolean _salir = false; -anywheresoftware.b4a.objects.collections.List _pf = null; -anywheresoftware.b4a.objects.collections.List _pfp = null; -anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; -int _p = 0; -int _i = 0; -int _q = 0; -String _q2 = ""; - //BA.debugLineNum = 1205;BA.debugLine="Sub revisaMaxPromosProdsFijosPorInventario2(pm As"; - //BA.debugLineNum = 1206;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1207;BA.debugLine="If thisLog Then Log($\"pm=${pm}\"$)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592322",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),0);}; - //BA.debugLineNum = 1209;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; -_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); -_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 1210;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592325",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 1211;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; -_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); - //BA.debugLineNum = 1212;BA.debugLine="Private maxPromosFijosXinv As Int = 1"; -_maxpromosfijosxinv = (int) (1); - //BA.debugLineNum = 1213;BA.debugLine="Private fpf2, pdp2 As Int"; -_fpf2 = 0; -_pdp2 = 0; - //BA.debugLineNum = 1214;BA.debugLine="Private salir As Boolean = False"; -_salir = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1215;BA.debugLine="Private pf As List = pm.Get(\"prodsFijos\")"; -_pf = new anywheresoftware.b4a.objects.collections.List(); -_pf = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1216;BA.debugLine="Private pfp As List = pm.Get(\"prodsFijosPiezas\")"; -_pfp = new anywheresoftware.b4a.objects.collections.List(); -_pfp = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 1217;BA.debugLine="If thisLog Then Log($\"maxPromos=${maxPromos}, pro"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592332",("maxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pf.getObject()))+", piezas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pfp.getObject()))+""),0);}; - //BA.debugLineNum = 1218;BA.debugLine="If thisLog Then LogColor($\"InvFijo disponible=${i"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592333",("InvFijo disponible="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1219;BA.debugLine="Private invFijoXpromo As Map"; -_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1220;BA.debugLine="invFijoXpromo.Initialize"; -_invfijoxpromo.Initialize(); - //BA.debugLineNum = 1221;BA.debugLine="For p = 0 To pf.Size -1 'Generamos mapa con los p"; -{ -final int step15 = 1; -final int limit15 = (int) (_pf.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit15 ;_p = _p + step15 ) { - //BA.debugLineNum = 1222;BA.debugLine="invFijoXpromo.Put(pf.Get(p), pfp.Get(p))"; -_invfijoxpromo.Put(_pf.Get(_p),_pfp.Get(_p)); - } -}; - //BA.debugLineNum = 1224;BA.debugLine="If thisLog Then LogColor(\"Inv req. de prods fijos"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592339","Inv req. de prods fijos x promo"+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Green);}; - //BA.debugLineNum = 1225;BA.debugLine="For i = 1 To maxPromos 'Revisamos cuantas promoci"; -{ -final int step19 = 1; -final int limit19 = (int)(Double.parseDouble(_maxpromos)); -_i = (int) (1) ; -for (;_i <= limit19 ;_i = _i + step19 ) { - //BA.debugLineNum = 1226;BA.debugLine="If thisLog Then LogColor(\"Prods para promo \" & ("; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592341","Prods para promo "+BA.NumberToString((_i+1)),anywheresoftware.b4a.keywords.Common.Colors.Magenta);}; - //BA.debugLineNum = 1227;BA.debugLine="For q = 0 To pf.Size - 1"; -{ -final int step21 = 1; -final int limit21 = (int) (_pf.getSize()-1); -_q = (int) (0) ; -for (;_q <= limit21 ;_q = _q + step21 ) { - //BA.debugLineNum = 1228;BA.debugLine="Private q2 As String = pf.Get(q)"; -_q2 = BA.ObjectToString(_pf.Get(_q)); - //BA.debugLineNum = 1229;BA.debugLine="If thisLog Then Log(\"q=\"&q2)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592344","q="+_q2,0);}; - //BA.debugLineNum = 1231;BA.debugLine="fpf2 = pfp.Get(q) * i 'Multiplicamos las piezas"; -_fpf2 = (int) ((double)(BA.ObjectToNumber(_pfp.Get(_q)))*_i); - //BA.debugLineNum = 1232;BA.debugLine="pdp2 = invDispParaPromo.Get(q2)"; -_pdp2 = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_q2)))); - //BA.debugLineNum = 1233;BA.debugLine="If thisLog Then Log($\"pf=${q2}, Actual=${(i)},"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592348",("pf="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_q2))+", Actual="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)((_i)))+", max promos: "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2))+"-"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fpf2))+"="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pdp2-_fpf2))+""),0);}; - //BA.debugLineNum = 1234;BA.debugLine="If pdp2 - fpf2 < 0 Then 'Si el inventario es ne"; -if (_pdp2-_fpf2<0) { - //BA.debugLineNum = 1235;BA.debugLine="salir=True"; -_salir = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 1236;BA.debugLine="Exit"; -if (true) break; - }; - } -}; - //BA.debugLineNum = 1239;BA.debugLine="If salir Then Exit"; -if (_salir) { -if (true) break;}; - //BA.debugLineNum = 1240;BA.debugLine="maxPromosFijosXinv = i"; -_maxpromosfijosxinv = _i; - } -}; - //BA.debugLineNum = 1242;BA.debugLine="If thisLog Then LogColor(\"InvFijo requerido x pro"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381592357","InvFijo requerido x promo="+BA.ObjectToString(_invfijoxpromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1243;BA.debugLine="LogColor(\"Maximo de promociones de prodsFijos POR"; -anywheresoftware.b4a.keywords.Common.LogImpl("381592358","Maximo de promociones de prodsFijos POR inventario = "+BA.NumberToString(_maxpromosfijosxinv),anywheresoftware.b4a.keywords.Common.Colors.Red); - //BA.debugLineNum = 1244;BA.debugLine="Return maxPromosFijosXinv"; -if (true) return _maxpromosfijosxinv; - //BA.debugLineNum = 1245;BA.debugLine="End Sub"; -return 0; -} -public static int _revisamaxpromosprodsvariablesporinventario(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.Map _invfijoxpromo = null; -int _totalprodsvariablesdisponibles = 0; -int _totalprodsvariables2disponibles = 0; -anywheresoftware.b4a.objects.collections.Map _invdispparapromo = null; -String _maxpromos = ""; -int _maxpromosxfijos = 0; -anywheresoftware.b4a.objects.collections.List _idprodsvariables = null; -anywheresoftware.b4a.objects.collections.List _idprodsvariables2 = null; -int _prodsvariablesrequeridos = 0; -int _prodsvariables2requeridos = 0; -anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; -anywheresoftware.b4a.objects.collections.List _idprodsfijos = null; -int _p = 0; -String _idesteprod = ""; -int _investeprod = 0; -int _pzasreqesteprod = 0; -int _maxpromosxvariables = 0; -int _maxpromosxvariables2 = 0; -int _x = 0; -int _i = 0; - //BA.debugLineNum = 1280;BA.debugLine="Sub revisaMaxPromosProdsVariablesPorInventario(pm"; - //BA.debugLineNum = 1281;BA.debugLine="Private thisLog As Boolean = False"; -_thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1282;BA.debugLine="If thisLog Then Log(\"============================"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723394","======================================================",0);}; - //BA.debugLineNum = 1283;BA.debugLine="If thisLog Then Log(\"============================"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723395","======================================================",0);}; - //BA.debugLineNum = 1284;BA.debugLine="Private invFijoXpromo As Map"; -_invfijoxpromo = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1285;BA.debugLine="invFijoXpromo.Initialize"; -_invfijoxpromo.Initialize(); - //BA.debugLineNum = 1286;BA.debugLine="Private totalProdsVariablesDisponibles As Int = 0"; -_totalprodsvariablesdisponibles = (int) (0); - //BA.debugLineNum = 1287;BA.debugLine="Private totalProdsVariables2Disponibles As Int ="; -_totalprodsvariables2disponibles = (int) (0); - //BA.debugLineNum = 1288;BA.debugLine="If thisLog Then LogColor($\"pm=${pm}\"$, Colors.Blu"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723400",("pm="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pm.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1289;BA.debugLine="Private invDispParaPromo As Map = traemosInventar"; -_invdispparapromo = new anywheresoftware.b4a.objects.collections.Map(); -_invdispparapromo = _traemosinventariodisponibleparapromo(_ba,BA.ObjectToString(_pm.Get((Object)("id")))); - //BA.debugLineNum = 1290;BA.debugLine="If thisLog Then Log($\"invDispParaPromo=${invDispP"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723402",("invDispParaPromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invdispparapromo.getObject()))+""),0);}; - //BA.debugLineNum = 1291;BA.debugLine="Private maxPromos As String = traeMaxPromos(pm)"; -_maxpromos = BA.NumberToString(_traemaxpromos(_ba,_pm)); - //BA.debugLineNum = 1292;BA.debugLine="Private maxPromosXFijos As Int = revisaMaxPromosP"; -_maxpromosxfijos = _revisamaxpromosprodsfijosporinventario(_ba,_pm); - //BA.debugLineNum = 1293;BA.debugLine="Private idProdsVariables As List = pm.Get(\"prodsV"; -_idprodsvariables = new anywheresoftware.b4a.objects.collections.List(); -_idprodsvariables = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables")))); - //BA.debugLineNum = 1294;BA.debugLine="Private idProdsVariables2 As List = pm.Get(\"prods"; -_idprodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); -_idprodsvariables2 = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsVariables2")))); - //BA.debugLineNum = 1295;BA.debugLine="Private prodsVariablesRequeridos As Int = pm.Get("; -_prodsvariablesrequeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariablesRequeridos")))); - //BA.debugLineNum = 1296;BA.debugLine="Private prodsVariables2Requeridos As Int = pm.Get"; -_prodsvariables2requeridos = (int)(BA.ObjectToNumber(_pm.Get((Object)("prodsVariables2Requeridos")))); - //BA.debugLineNum = 1297;BA.debugLine="Private prodsFijosPiezas As List = pm.Get(\"prodsF"; -_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijospiezas = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijosPiezas")))); - //BA.debugLineNum = 1298;BA.debugLine="Private idProdsFijos As List = pm.Get(\"prodsFijos"; -_idprodsfijos = new anywheresoftware.b4a.objects.collections.List(); -_idprodsfijos = (anywheresoftware.b4a.objects.collections.List) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.collections.List(), (java.util.List)(_pm.Get((Object)("prodsFijos")))); - //BA.debugLineNum = 1299;BA.debugLine="For p = 0 To idProdsFijos.Size -1 'Generamos mapa"; -{ -final int step19 = 1; -final int limit19 = (int) (_idprodsfijos.getSize()-1); -_p = (int) (0) ; -for (;_p <= limit19 ;_p = _p + step19 ) { - //BA.debugLineNum = 1300;BA.debugLine="invFijoXpromo.Put(idProdsFijos.Get(p), prodsFijo"; -_invfijoxpromo.Put(_idprodsfijos.Get(_p),_prodsfijospiezas.Get(_p)); - //BA.debugLineNum = 1301;BA.debugLine="Private idEsteProd As String = idProdsFijos.Get("; -_idesteprod = BA.ObjectToString(_idprodsfijos.Get(_p)); - //BA.debugLineNum = 1302;BA.debugLine="Private invEsteProd As Int = invDispParaPromo.Ge"; -_investeprod = (int)(BA.ObjectToNumber(_invdispparapromo.Get((Object)(_idesteprod)))); - //BA.debugLineNum = 1303;BA.debugLine="Private pzasReqEsteProd As Int = prodsFijosPieza"; -_pzasreqesteprod = (int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_p))); - //BA.debugLineNum = 1304;BA.debugLine="If thisLog Then Log($\"id=${idEsteProd}, inv=${in"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723416",("id="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idesteprod))+", inv="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_investeprod))+", pzas="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_pzasreqesteprod))+""),0);}; - } -}; - //BA.debugLineNum = 1307;BA.debugLine="If thisLog Then LogColor($\"MaxPromos=${maxPromos}"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723419",("MaxPromos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromos))+", promosXFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_maxpromosxfijos))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1308;BA.debugLine="If thisLog Then LogColor($\"prodsFijos=${idProdsFi"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723420",("prodsFijos="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsfijos.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1309;BA.debugLine="If thisLog Then LogColor($\"prodsFijosPiezasReq=${"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723421",("prodsFijosPiezasReq="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsfijospiezas.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1310;BA.debugLine="If thisLog Then LogColor($\"prodsVariables=${idPro"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723422",("prodsVariables="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1311;BA.debugLine="If thisLog Then LogColor($\"prodsVariables2=${idPr"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723423",("prodsVariables2="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_idprodsvariables2.getObject()))+""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(anywheresoftware.b4a.keywords.Common.CRLF))+"Variables2 Req="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariables2requeridos))+" "),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1312;BA.debugLine="If thisLog Then LogColor($\"invFijoXpromo=${invFij"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723424",("invFijoXpromo="+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_invfijoxpromo.getObject()))+""),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1313;BA.debugLine="If thisLog Then Log($\"Prods variables disponibles"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723425",("Prods variables disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+""),0);}; - //BA.debugLineNum = 1314;BA.debugLine="If thisLog Then Log($\"Prods variables2 disponible"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723426",("Prods variables2 disponibles = "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariables2disponibles))+""),0);}; - //BA.debugLineNum = 1315;BA.debugLine="Private maxPromosXVariables As Int = 0"; -_maxpromosxvariables = (int) (0); - //BA.debugLineNum = 1316;BA.debugLine="Private maxPromosXVariables2 As Int = 0"; -_maxpromosxvariables2 = (int) (0); - //BA.debugLineNum = 1317;BA.debugLine="For x = 1 To maxPromosXFijos"; -{ -final int step36 = 1; -final int limit36 = _maxpromosxfijos; -_x = (int) (1) ; -for (;_x <= limit36 ;_x = _x + step36 ) { - //BA.debugLineNum = 1318;BA.debugLine="If thisLog Then Log(\"==========================="; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723430","=====================================================",0);}; - //BA.debugLineNum = 1319;BA.debugLine="If thisLog Then Log(\"==========================="; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723431","=====================================================",0);}; - //BA.debugLineNum = 1320;BA.debugLine="For i = 0 To idProdsFijos.Size - 1"; -{ -final int step39 = 1; -final int limit39 = (int) (_idprodsfijos.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit39 ;_i = _i + step39 ) { - //BA.debugLineNum = 1321;BA.debugLine="If thisLog Then Log($\"FIJO - ${idProdsFijos.Get"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723433",("FIJO - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_idprodsfijos.Get(_i))+", "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",_invdispparapromo.Get(_idprodsfijos.Get(_i)))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1)))+""),0);}; - //BA.debugLineNum = 1322;BA.debugLine="invDispParaPromo.Put(idProdsFijos.Get(i), invDi"; -_invdispparapromo.Put(_idprodsfijos.Get(_i),(Object)(((int)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsfijos.Get(_i)))))-((int)(BA.ObjectToNumber(_prodsfijospiezas.Get(_i))))*(_i+1))); - } -}; - //BA.debugLineNum = 1324;BA.debugLine="If thisLog Then LogColor(\"Inv disponible despues"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723436","Inv disponible despues de restar fijos = "+BA.ObjectToString(_invdispparapromo),anywheresoftware.b4a.keywords.Common.Colors.Blue);}; - //BA.debugLineNum = 1326;BA.debugLine="totalProdsVariablesDisponibles = 0"; -_totalprodsvariablesdisponibles = (int) (0); - //BA.debugLineNum = 1327;BA.debugLine="totalProdsVariables2Disponibles = 0"; -_totalprodsvariables2disponibles = (int) (0); - //BA.debugLineNum = 1328;BA.debugLine="For i = 0 To idProdsVariables.Size - 1 'Obtenemo"; -{ -final int step46 = 1; -final int limit46 = (int) (_idprodsvariables.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit46 ;_i = _i + step46 ) { - //BA.debugLineNum = 1329;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; -if (_invdispparapromo.ContainsKey(_idprodsvariables.Get(_i))) { - //BA.debugLineNum = 1330;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVar"; -_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables.Get(_i))))); - }; - } -}; - //BA.debugLineNum = 1333;BA.debugLine="For i = 0 To idProdsVariables2.Size - 1 'Obtenem"; -{ -final int step51 = 1; -final int limit51 = (int) (_idprodsvariables2.getSize()-1); -_i = (int) (0) ; -for (;_i <= limit51 ;_i = _i + step51 ) { - //BA.debugLineNum = 1334;BA.debugLine="If invDispParaPromo.ContainsKey(idProdsVariable"; -if (_invdispparapromo.ContainsKey(_idprodsvariables2.Get(_i))) { - //BA.debugLineNum = 1335;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVa"; -_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles+(double)(BA.ObjectToNumber(_invdispparapromo.Get(_idprodsvariables2.Get(_i))))); - }; - } -}; - //BA.debugLineNum = 1339;BA.debugLine="If thisLog Then Log($\"Var disponibles - var req"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723451",("Var disponibles - var requeridos : "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_totalprodsvariablesdisponibles))+" - "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_prodsvariablesrequeridos*_x))+""),0);}; - //BA.debugLineNum = 1340;BA.debugLine="totalProdsVariablesDisponibles = totalProdsVaria"; -_totalprodsvariablesdisponibles = (int) (_totalprodsvariablesdisponibles-(_prodsvariablesrequeridos*_x)); - //BA.debugLineNum = 1341;BA.debugLine="totalProdsVariables2Disponibles = totalProdsVari"; -_totalprodsvariables2disponibles = (int) (_totalprodsvariables2disponibles-(_prodsvariables2requeridos*_x)); - //BA.debugLineNum = 1342;BA.debugLine="If thisLog Then Log(\"prodsVariables disponibles"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723454","prodsVariables disponibles despues de promo = "+BA.NumberToString(_totalprodsvariablesdisponibles),0);}; - //BA.debugLineNum = 1343;BA.debugLine="If thisLog Then Log(\"prodsVariables2 disponibles"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723455","prodsVariables2 disponibles despues de promo = "+BA.NumberToString(_totalprodsvariables2disponibles),0);}; - //BA.debugLineNum = 1344;BA.debugLine="If totalProdsVariablesDisponibles < 0 Then Exit"; -if (_totalprodsvariablesdisponibles<0) { -if (true) break;}; - //BA.debugLineNum = 1345;BA.debugLine="If totalProdsVariables2Disponibles < 0 Then Exit"; -if (_totalprodsvariables2disponibles<0) { -if (true) break;}; - //BA.debugLineNum = 1346;BA.debugLine="maxPromosXVariables = x"; -_maxpromosxvariables = _x; - } -}; - //BA.debugLineNum = 1349;BA.debugLine="If thisLog Then LogColor(\"Max promos de prodsVari"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381723461","Max promos de prodsVariables POR inventario = "+BA.NumberToString(_maxpromosxvariables),anywheresoftware.b4a.keywords.Common.Colors.Red);}; - //BA.debugLineNum = 1350;BA.debugLine="Return maxPromosXVariables"; -if (true) return _maxpromosxvariables; - //BA.debugLineNum = 1351;BA.debugLine="End Sub"; -return 0; -} -public static String _revisauug(anywheresoftware.b4a.BA _ba) throws Exception{ -int _daa = 0; - //BA.debugLineNum = 374;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 375;BA.debugLine="Try"; -try { //BA.debugLineNum = 377;BA.debugLine="If Tracker.FLP.GetLastKnownLocation.IsInitialize"; -if (mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 378;BA.debugLine="Dim daa As Int = Tracker.UUGCoords.DistanceTo(T"; -_daa = (int) (mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ .DistanceTo((android.location.Location)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getObject()))); - //BA.debugLineNum = 379;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"${f"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("378905349",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 380;BA.debugLine="If daa > 40 And Tracker.FLP.GetLastKnownLocatio"; -if (_daa>40 && mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()<35) { - //BA.debugLineNum = 381;BA.debugLine="kmt.ExecNonQuery2(\"INSERT INTO RUTA_GPS(fecha,"; -_kmt.ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_fechakmt(_ba,BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getTime()))),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLatitude()),(Object)(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getLongitude())})); - //BA.debugLineNum = 382;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a a"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("378905352","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation().getAccuracy()),0);}; - }; - //BA.debugLineNum = 384;BA.debugLine="Tracker.UUGCoords = Tracker.FLP.GetLastKnownLoc"; -mostCurrent._tracker._uugcoords /*anywheresoftware.b4a.gps.LocationWrapper*/ = mostCurrent._tracker._flp /*uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper*/ .GetLastKnownLocation(); - }; - } - catch (Exception e12) { - (_ba.processBA == null ? _ba : _ba.processBA).setLastException(e12); //BA.debugLineNum = 387;BA.debugLine="LogColor(\"If Tracker.FLP.GetLastKnownLocation.Is"; -anywheresoftware.b4a.keywords.Common.LogImpl("378905357","If Tracker.FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(_ba)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 389;BA.debugLine="End Sub"; -return ""; -} -public static String _totalpedido(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _ct = null; -String _ptotal = ""; -String _tempt = ""; - //BA.debugLineNum = 687;BA.debugLine="Sub totalPedido As String"; - //BA.debugLineNum = 688;BA.debugLine="Private cT As Cursor = Starter.skmt.ExecQuery($\"s"; -_ct = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_ct = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._starter._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select sum(PE_COSTO_TOT) as total from PEDIDO where PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_traecliente(_ba)))+"'")))); - //BA.debugLineNum = 689;BA.debugLine="Private pTotal As String = \"0\""; -_ptotal = "0"; - //BA.debugLineNum = 690;BA.debugLine="If cT.RowCount > 0 Then"; -if (_ct.getRowCount()>0) { - //BA.debugLineNum = 691;BA.debugLine="cT.Position = 0"; -_ct.setPosition((int) (0)); - //BA.debugLineNum = 693;BA.debugLine="Private tempT As String = cT.GetLong(\"total\")"; -_tempt = BA.NumberToString(_ct.GetLong("total")); - //BA.debugLineNum = 694;BA.debugLine="If tempT <> \"null\" And tempT <> Null Then"; -if ((_tempt).equals("null") == false && _tempt!= null) { - //BA.debugLineNum = 696;BA.debugLine="pTotal = tempT"; -_ptotal = _tempt; - }; - }; - //BA.debugLineNum = 700;BA.debugLine="cT.Close"; -_ct.Close(); - //BA.debugLineNum = 701;BA.debugLine="Return pTotal"; -if (true) return _ptotal; - //BA.debugLineNum = 702;BA.debugLine="End Sub"; -return ""; -} -public static String _traealmacen(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _a = ""; - //BA.debugLineNum = 660;BA.debugLine="Sub traeAlmacen As String 'ignore"; - //BA.debugLineNum = 661;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 662;BA.debugLine="Private a As String"; -_a = ""; - //BA.debugLineNum = 663;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select ID_AL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ID_ALMACEN from CAT_ALMACEN"))); - //BA.debugLineNum = 664;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 665;BA.debugLine="a = C.GetString(\"ID_ALMACEN\")"; -_a = _c.GetString("ID_ALMACEN"); - //BA.debugLineNum = 666;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 667;BA.debugLine="Return a"; -if (true) return _a; - //BA.debugLineNum = 668;BA.debugLine="End Sub"; -return ""; -} -public static String _traecliente(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _cl = ""; - //BA.debugLineNum = 732;BA.debugLine="Sub traeCliente As String 'ignore"; - //BA.debugLineNum = 733;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 734;BA.debugLine="Private cl As String"; -_cl = ""; - //BA.debugLineNum = 735;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"Select CUENTA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select CUENTA from cuentaa"))); - //BA.debugLineNum = 736;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 737;BA.debugLine="cl = c.GetString(\"CUENTA\")"; -_cl = _c.GetString("CUENTA"); - //BA.debugLineNum = 738;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 739;BA.debugLine="Return cl"; -if (true) return _cl; - //BA.debugLineNum = 740;BA.debugLine="End Sub"; -return ""; -} -public static String _traefecha(anywheresoftware.b4a.BA _ba) throws Exception{ -String _sdate = ""; -String _stime = ""; - //BA.debugLineNum = 742;BA.debugLine="Sub traeFecha As String 'ignore"; - //BA.debugLineNum = 743;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 744;BA.debugLine="Private sDate As String =DateTime.Date(DateTime.N"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 745;BA.debugLine="Private sTime As String =DateTime.Time(DateTime.N"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 746;BA.debugLine="Return sDate & sTime"; -if (true) return _sdate+_stime; - //BA.debugLineNum = 747;BA.debugLine="End Sub"; -return ""; -} -public static String _traeinventario(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _inventario = ""; - //BA.debugLineNum = 1521;BA.debugLine="Sub traeinventario(id As String) As String"; - //BA.debugLineNum = 1522;BA.debugLine="Dim c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1523;BA.debugLine="Dim inventario As String = \"0\""; -_inventario = "0"; - //BA.debugLineNum = 1524;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ALMACEN from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_id))+"'")))); - //BA.debugLineNum = 1526;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1527;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1528;BA.debugLine="inventario = c.GetString(\"CAT_GP_ALMACEN\")"; -_inventario = _c.GetString("CAT_GP_ALMACEN"); - }; - //BA.debugLineNum = 1530;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1531;BA.debugLine="Return inventario"; -if (true) return _inventario; - //BA.debugLineNum = 1532;BA.debugLine="End Sub"; -return ""; -} -public static int _traemaxpromos(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.collections.Map _pm) throws Exception{ -boolean _thislog = false; -anywheresoftware.b4a.objects.collections.List _maxpromos = null; -int _vendidas = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; - //BA.debugLineNum = 1131;BA.debugLine="Sub traeMaxPromos(pm As Map) As Int"; - //BA.debugLineNum = 1132;BA.debugLine="Private thisLog As Boolean = False 'Si es verdade"; -_thislog = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 1133;BA.debugLine="Private maxPromos As List"; -_maxpromos = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 1134;BA.debugLine="Private vendidas As Int = 0"; -_vendidas = (int) (0); - //BA.debugLineNum = 1135;BA.debugLine="maxPromos.Initialize"; -_maxpromos.Initialize(); - //BA.debugLineNum = 1137;BA.debugLine="If thisLog Then Log(pm)"; -if (_thislog) { -anywheresoftware.b4a.keywords.Common.LogImpl("381395718",BA.ObjectToString(_pm),0);}; - //BA.debugLineNum = 1138;BA.debugLine="If pm.Get(\"historico\") = \"1\" Then maxPromos.Add(p"; -if ((_pm.Get((Object)("historico"))).equals((Object)("1"))) { -_maxpromos.Add(_pm.Get((Object)("maxRecurrente")));}; - //BA.debugLineNum = 1139;BA.debugLine="maxPromos.Add(pm.Get(\"maxPromos\")) 'Agregamos max"; -_maxpromos.Add(_pm.Get((Object)("maxPromos"))); - //BA.debugLineNum = 1140;BA.debugLine="maxPromos.Add(pm.Get(\"maxXcliente\")) 'Agregamos m"; -_maxpromos.Add(_pm.Get((Object)("maxXcliente"))); - //BA.debugLineNum = 1141;BA.debugLine="maxPromos.Sort(True)"; -_maxpromos.Sort(anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 1144;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("select sum(PE_CANT) as vendidas from PEDIDO where PE_PROID = ? and PE_CLIENTE = ? ",new String[]{(BA.ObjectToString(_pm.Get((Object)("id")))).trim(),_traecliente(_ba).trim()}))); - //BA.debugLineNum = 1145;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1146;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1147;BA.debugLine="vendidas = c.GetInt(\"vendidas\")"; -_vendidas = _c.GetInt("vendidas"); - }; - //BA.debugLineNum = 1154;BA.debugLine="Return maxPromos.Get(0) - vendidas 'Regresamos el"; -if (true) return (int) ((double)(BA.ObjectToNumber(_maxpromos.Get((int) (0))))-_vendidas); - //BA.debugLineNum = 1155;BA.debugLine="End Sub"; -return 0; -} -public static anywheresoftware.b4a.objects.collections.Map _traemosinventariodisponibleparapromo(anywheresoftware.b4a.BA _ba,String _promo) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -anywheresoftware.b4a.objects.collections.Map _prods = null; -int _i = 0; - //BA.debugLineNum = 1018;BA.debugLine="Sub traemosInventarioDisponibleParaPromo(promo As"; - //BA.debugLineNum = 1019;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1020;BA.debugLine="Log(\"ESTAMOS VIENDO INVENTARIO\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("381199106","ESTAMOS VIENDO INVENTARIO",0); - //BA.debugLineNum = 1021;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"SELECT CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("SELECT CAT_GP_ID, CAT_GP_ALMACEN FROM "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" WHERE CAT_GP_ID IN (select CAT_DP_IDPROD FROM CAT_DETALLES_PAQ WHERE CAT_DP_ID = ?)"),new String[]{_promo}))); - //BA.debugLineNum = 1024;BA.debugLine="Private prods As Map"; -_prods = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1025;BA.debugLine="prods.Initialize"; -_prods.Initialize(); - //BA.debugLineNum = 1026;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1028;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step7 = 1; -final int limit7 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit7 ;_i = _i + step7 ) { - //BA.debugLineNum = 1029;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 1030;BA.debugLine="prods.Put(c.GetString(\"CAT_GP_ID\"), c.GetString"; -_prods.Put((Object)(_c.GetString("CAT_GP_ID")),(Object)(_c.GetString("CAT_GP_ALMACEN"))); - } -}; - }; - //BA.debugLineNum = 1035;BA.debugLine="Return prods"; -if (true) return _prods; - //BA.debugLineNum = 1036;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.collections.Map _traeprodiddebd(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -anywheresoftware.b4a.objects.collections.Map _m = null; - //BA.debugLineNum = 1369;BA.debugLine="Sub traeProdIdDeBD As Map 'ignore"; - //BA.debugLineNum = 1370;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1371;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1372;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_G"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_GP_ID,CAT_GP_NOMBRE,CAT_GP_TIPO,CAT_GP_SUBTIPO from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_NOMBRE In (Select PDESC from PROID)")))); - //BA.debugLineNum = 1373;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1374;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1375;BA.debugLine="m = CreateMap(\"id\":c.GetString(\"CAT_GP_ID\"), \"no"; -_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_c.GetString("CAT_GP_ID")),(Object)("nombre"),(Object)(_c.GetString("CAT_GP_NOMBRE")),(Object)("tipo"),(Object)(_c.GetString("CAT_GP_TIPO")),(Object)("subtipo"),(Object)(_c.GetString("CAT_GP_SUBTIPO"))}); - }else { - //BA.debugLineNum = 1377;BA.debugLine="m = CreateMap(\"id\":\"N/A\", \"nombre\":\"N/A\", \"tipo\""; -_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)("N/A"),(Object)("nombre"),(Object)("N/A"),(Object)("tipo"),(Object)("N/A"),(Object)("subtipo"),(Object)("N/A")}); - }; - //BA.debugLineNum = 1379;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1380;BA.debugLine="Return m"; -if (true) return _m; - //BA.debugLineNum = 1381;BA.debugLine="End Sub"; -return null; -} -public static String _traeprodnombre(anywheresoftware.b4a.BA _ba,String _id) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _h = null; -String _n = ""; - //BA.debugLineNum = 671;BA.debugLine="Sub traeProdNombre(id As String) As String"; - //BA.debugLineNum = 672;BA.debugLine="Private h As Cursor"; -_h = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 673;BA.debugLine="Private n As String"; -_n = ""; - //BA.debugLineNum = 674;BA.debugLine="h=B4XPages.MainPage.skmt.ExecQuery2($\"select CAT_"; -_h = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("select CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ? "),new String[]{_id.trim()}))); - //BA.debugLineNum = 675;BA.debugLine="If h.RowCount > 0 Then"; -if (_h.getRowCount()>0) { - //BA.debugLineNum = 676;BA.debugLine="h.Position = 0"; -_h.setPosition((int) (0)); - //BA.debugLineNum = 677;BA.debugLine="n = h.GetString(\"CAT_GP_NOMBRE\")"; -_n = _h.GetString("CAT_GP_NOMBRE"); - }; - //BA.debugLineNum = 680;BA.debugLine="h.Close"; -_h.Close(); - //BA.debugLineNum = 681;BA.debugLine="If n = Null Or n=\"\" Then n = \"N/A\""; -if (_n== null || (_n).equals("")) { -_n = "N/A";}; - //BA.debugLineNum = 683;BA.debugLine="Return n"; -if (true) return _n; - //BA.debugLineNum = 684;BA.debugLine="End Sub"; -return ""; -} -public static anywheresoftware.b4a.objects.collections.Map _traepromo(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ -String _iniciocontador = ""; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _sihistorico = ""; -anywheresoftware.b4a.objects.collections.Map _promomap = null; -anywheresoftware.b4a.objects.collections.List _prodsfijos = null; -anywheresoftware.b4a.objects.collections.List _prodsfijosprecios = null; -anywheresoftware.b4a.objects.collections.List _prodsfijospiezas = null; -anywheresoftware.b4a.objects.collections.List _prodsvariables = null; -anywheresoftware.b4a.objects.collections.List _prodsvariables2 = null; -anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios = null; -anywheresoftware.b4a.objects.collections.List _prodsvariablesprecios2 = null; -anywheresoftware.b4a.objects.collections.Map _prods = null; -anywheresoftware.b4a.objects.collections.Map _tipos = null; -int _i = 0; -String _pvr = ""; -String _pvr2 = ""; - //BA.debugLineNum = 932;BA.debugLine="Sub traePromo(promo As String, cliente As String)"; - //BA.debugLineNum = 933;BA.debugLine="Private inicioContador As String = DateTime.Now"; -_iniciocontador = BA.NumberToString(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 934;BA.debugLine="Private c As Cursor = B4XPages.MainPage.skmt.Exec"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from promos_comp where cat_pa_id = '"+_promo+"'"))); - //BA.debugLineNum = 935;BA.debugLine="Private siHistorico As String = 0"; -_sihistorico = BA.NumberToString(0); - //BA.debugLineNum = 936;BA.debugLine="Private promoMap As Map"; -_promomap = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 937;BA.debugLine="Private prodsFijos, prodsFijosPrecios, prodsFijos"; -_prodsfijos = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijosprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsfijospiezas = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariables2 = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariablesprecios = new anywheresoftware.b4a.objects.collections.List(); -_prodsvariablesprecios2 = new anywheresoftware.b4a.objects.collections.List(); - //BA.debugLineNum = 938;BA.debugLine="promoMap.Initialize"; -_promomap.Initialize(); - //BA.debugLineNum = 939;BA.debugLine="prodsFijos.Initialize"; -_prodsfijos.Initialize(); - //BA.debugLineNum = 940;BA.debugLine="prodsFijosPrecios.Initialize"; -_prodsfijosprecios.Initialize(); - //BA.debugLineNum = 941;BA.debugLine="prodsFijosPiezas.Initialize"; -_prodsfijospiezas.Initialize(); - //BA.debugLineNum = 942;BA.debugLine="prodsVariables.Initialize"; -_prodsvariables.Initialize(); - //BA.debugLineNum = 943;BA.debugLine="prodsVariables2.Initialize"; -_prodsvariables2.Initialize(); - //BA.debugLineNum = 944;BA.debugLine="prodsVariablesPrecios.Initialize"; -_prodsvariablesprecios.Initialize(); - //BA.debugLineNum = 945;BA.debugLine="prodsVariablesPrecios2.Initialize"; -_prodsvariablesprecios2.Initialize(); - //BA.debugLineNum = 946;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 947;BA.debugLine="If c.RowCount > 0 Then promoMap = CreateMap(\"id\":"; -if (_c.getRowCount()>0) { -_promomap = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("id"),(Object)(_promo),(Object)("maxXcliente"),(Object)(_c.GetString("CAT_PA_MAXPROMCLIE")),(Object)("maxRecurrente"),(Object)(_c.GetString("CAT_PA_MAXPROMREC")),(Object)("maxPromos"),(Object)(_c.GetString("CAT_PA_MAXPROM"))});}; - //BA.debugLineNum = 948;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select coun"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select count(*) as hist from HIST_PROMOS where HP_CLIENTE = '"+_cliente+"' and HP_CODIGO_PROMOCION = '"+_promo+"'"))); - //BA.debugLineNum = 949;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 950;BA.debugLine="If c.GetString(\"hist\") > 0 Then siHistorico = 1"; -if ((double)(Double.parseDouble(_c.GetString("hist")))>0) { -_sihistorico = BA.NumberToString(1);}; - //BA.debugLineNum = 951;BA.debugLine="promoMap.Put(\"historico\", siHistorico)"; -_promomap.Put((Object)("historico"),(Object)(_sihistorico)); - //BA.debugLineNum = 952;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery(\"Select * fr"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select * from CAT_DETALLES_PAQ where CAT_DP_ID = '"+_promo+"'"))); - //BA.debugLineNum = 953;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 954;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 955;BA.debugLine="Private prods, tipos As Map"; -_prods = new anywheresoftware.b4a.objects.collections.Map(); -_tipos = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 956;BA.debugLine="prods.Initialize"; -_prods.Initialize(); - //BA.debugLineNum = 957;BA.debugLine="tipos.Initialize"; -_tipos.Initialize(); - //BA.debugLineNum = 958;BA.debugLine="For i=0 To c.RowCount -1"; -{ -final int step26 = 1; -final int limit26 = (int) (_c.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit26 ;_i = _i + step26 ) { - //BA.debugLineNum = 959;BA.debugLine="c.Position=i"; -_c.setPosition(_i); - //BA.debugLineNum = 960;BA.debugLine="prods.Put(c.GetString(\"CAT_DP_IDPROD\"), CreateM"; -_prods.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("idProducto"),(Object)(_c.GetString("CAT_DP_IDPROD")),(Object)("precioSimptos"),(Object)(_c.GetString("CAT_DP_PRECIO_SIMPTOS")),(Object)("precio"),(Object)(_c.GetString("CAT_DP_PRECIO")),(Object)("almacen"),(Object)(_c.GetString("CAT_DP_ALMACEN")),(Object)("tipo"),(Object)(_c.GetString("CAT_DP_TIPO")),(Object)("piezas"),(Object)(_c.GetString("CAT_DP_PZAS")),(Object)("usuario"),(Object)(_c.GetString("CAT_DP_USUARIO")),(Object)("regalo"),(Object)(_c.GetString("CAT_DP_REGALO")),(Object)("clasif"),(Object)(_c.GetString("CAT_DP_CLASIF"))}).getObject())); - //BA.debugLineNum = 961;BA.debugLine="tipos.Put(c.GetString(\"CAT_DP_IDPROD\"), c.GetSt"; -_tipos.Put((Object)(_c.GetString("CAT_DP_IDPROD")),(Object)(_c.GetString("CAT_DP_TIPO"))); - //BA.debugLineNum = 962;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"0\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("0")) { - //BA.debugLineNum = 963;BA.debugLine="prodsFijos.Add(c.GetString(\"CAT_DP_IDPROD\"))"; -_prodsfijos.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 964;BA.debugLine="prodsFijosPrecios.Add(c.GetString(\"CAT_DP_PREC"; -_prodsfijosprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - //BA.debugLineNum = 965;BA.debugLine="prodsFijosPiezas.Add(c.GetString(\"CAT_DP_PZAS\""; -_prodsfijospiezas.Add((Object)(_c.GetString("CAT_DP_PZAS"))); - }; - //BA.debugLineNum = 967;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"1\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("1")) { - //BA.debugLineNum = 968;BA.debugLine="prodsVariables.Add(c.GetString(\"CAT_DP_IDPROD\""; -_prodsvariables.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 969;BA.debugLine="prodsVariablesPrecios.Add(c.GetString(\"CAT_DP_"; -_prodsvariablesprecios.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - }; - //BA.debugLineNum = 971;BA.debugLine="If c.GetString(\"CAT_DP_TIPO\") = \"2\" Then"; -if ((_c.GetString("CAT_DP_TIPO")).equals("2")) { - //BA.debugLineNum = 973;BA.debugLine="prodsVariables2.Add(c.GetString(\"CAT_DP_IDPROD"; -_prodsvariables2.Add((Object)(_c.GetString("CAT_DP_IDPROD"))); - //BA.debugLineNum = 974;BA.debugLine="prodsVariablesPrecios2.Add(c.GetString(\"CAT_DP"; -_prodsvariablesprecios2.Add((Object)(_c.GetString("CAT_DP_PRECIO"))); - }; - } -}; - //BA.debugLineNum = 979;BA.debugLine="promoMap.Put(\"productos\", prods) 'Mapa con los p"; -_promomap.Put((Object)("productos"),(Object)(_prods.getObject())); - //BA.debugLineNum = 980;BA.debugLine="promoMap.Put(\"tipos\", tipos) 'Mapa con los produ"; -_promomap.Put((Object)("tipos"),(Object)(_tipos.getObject())); - //BA.debugLineNum = 981;BA.debugLine="promoMap.Put(\"prodsFijos\", prodsFijos) 'Lista de"; -_promomap.Put((Object)("prodsFijos"),(Object)(_prodsfijos.getObject())); - //BA.debugLineNum = 982;BA.debugLine="promoMap.Put(\"prodsVariables\", prodsVariables) '"; -_promomap.Put((Object)("prodsVariables"),(Object)(_prodsvariables.getObject())); - //BA.debugLineNum = 983;BA.debugLine="promoMap.Put(\"prodsVariables2\", prodsVariables2)"; -_promomap.Put((Object)("prodsVariables2"),(Object)(_prodsvariables2.getObject())); - //BA.debugLineNum = 984;BA.debugLine="promoMap.Put(\"prodsFijosCant\", prodsFijos.Size)"; -_promomap.Put((Object)("prodsFijosCant"),(Object)(_prodsfijos.getSize())); - //BA.debugLineNum = 985;BA.debugLine="promoMap.Put(\"prodsFijosPrecios\", prodsFijosPrec"; -_promomap.Put((Object)("prodsFijosPrecios"),(Object)(_prodsfijosprecios.getObject())); - //BA.debugLineNum = 986;BA.debugLine="promoMap.Put(\"prodsFijosPiezas\", prodsFijosPieza"; -_promomap.Put((Object)("prodsFijosPiezas"),(Object)(_prodsfijospiezas.getObject())); - //BA.debugLineNum = 987;BA.debugLine="promoMap.Put(\"prodsVariablesCant\", prodsVariable"; -_promomap.Put((Object)("prodsVariablesCant"),(Object)(_prodsvariables.getSize())); - //BA.debugLineNum = 988;BA.debugLine="promoMap.Put(\"prodsVariables2Cant\", prodsVariabl"; -_promomap.Put((Object)("prodsVariables2Cant"),(Object)(_prodsvariables2.getSize())); - //BA.debugLineNum = 989;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios\", prodsVaria"; -_promomap.Put((Object)("prodsVariablesPrecios"),(Object)(_prodsvariablesprecios.getObject())); - //BA.debugLineNum = 990;BA.debugLine="promoMap.Put(\"prodsVariablesPrecios2\", prodsVari"; -_promomap.Put((Object)("prodsVariablesPrecios2"),(Object)(_prodsvariablesprecios2.getObject())); - //BA.debugLineNum = 991;BA.debugLine="promoMap.Put(\"resultado\", \"ok\")"; -_promomap.Put((Object)("resultado"),(Object)("ok")); - }else { - //BA.debugLineNum = 993;BA.debugLine="promoMap.Put(\"resultado\", \"No hay datos de la pr"; -_promomap.Put((Object)("resultado"),(Object)("No hay datos de la promoción.")); - }; - //BA.debugLineNum = 995;BA.debugLine="c = B4XPages.MainPage.skmt.ExecQuery2($\"Select CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2(("Select CAT_GP_STS, CAT_GP_IMP1, CAT_GP_NOMBRE from "+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._starter._tabla /*String*/ ))+" where CAT_GP_ID = ?"),new String[]{_promo}))); - //BA.debugLineNum = 996;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 997;BA.debugLine="Private pvr As String = 0"; -_pvr = BA.NumberToString(0); - //BA.debugLineNum = 998;BA.debugLine="Private pvr2 As String = 0"; -_pvr2 = BA.NumberToString(0); - //BA.debugLineNum = 999;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1000;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1001;BA.debugLine="pvr = c.GetString(\"CAT_GP_STS\")"; -_pvr = _c.GetString("CAT_GP_STS"); - //BA.debugLineNum = 1002;BA.debugLine="pvr2 = c.GetString(\"CAT_GP_IMP1\")"; -_pvr2 = _c.GetString("CAT_GP_IMP1"); - //BA.debugLineNum = 1003;BA.debugLine="If pvr = Null Or pvr = \"null\" Then pvr = 0"; -if (_pvr== null || (_pvr).equals("null")) { -_pvr = BA.NumberToString(0);}; - //BA.debugLineNum = 1004;BA.debugLine="If pvr2 = Null Or pvr2 = \"null\" Then pvr2 = 0"; -if (_pvr2== null || (_pvr2).equals("null")) { -_pvr2 = BA.NumberToString(0);}; - //BA.debugLineNum = 1005;BA.debugLine="promoMap.Put(\"prodsVariablesRequeridos\", pvr) 'C"; -_promomap.Put((Object)("prodsVariablesRequeridos"),(Object)(_pvr)); - //BA.debugLineNum = 1006;BA.debugLine="promoMap.Put(\"prodsVariables2Requeridos\", pvr2)"; -_promomap.Put((Object)("prodsVariables2Requeridos"),(Object)(_pvr2)); - //BA.debugLineNum = 1007;BA.debugLine="promoMap.put(\"descripcion\", c.GetString(\"CAT_GP_"; -_promomap.Put((Object)("descripcion"),(Object)(_c.GetString("CAT_GP_NOMBRE"))); - }; - //BA.debugLineNum = 1009;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 1014;BA.debugLine="Return promoMap"; -if (true) return _promomap; - //BA.debugLineNum = 1015;BA.debugLine="End Sub"; -return null; -} -public static int _traepromosvendidas(anywheresoftware.b4a.BA _ba,String _promo,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -int _pv = 0; - //BA.debugLineNum = 1158;BA.debugLine="Sub traePromosVendidas(promo As String, cliente As"; - //BA.debugLineNum = 1159;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 1160;BA.debugLine="Private pv As Int = 0"; -_pv = (int) (0); - //BA.debugLineNum = 1161;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select PE_CA"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select PE_CANT from PEDIDO where PE_PROID = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_promo))+"' and PE_CLIENTE = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 1162;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 1163;BA.debugLine="c.Position = 0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 1164;BA.debugLine="pv = c.GetInt(\"PE_CANT\")"; -_pv = _c.GetInt("PE_CANT"); - }; - //BA.debugLineNum = 1166;BA.debugLine="Return pv"; -if (true) return _pv; - //BA.debugLineNum = 1167;BA.debugLine="End Sub"; -return 0; -} -public static String _traeruta(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 705;BA.debugLine="Sub traeRuta As String 'ignore"; - //BA.debugLineNum = 706;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 707;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 708;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery(\"select CAT_CL"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO In (Select cuenta from cuentaa)"))); - //BA.debugLineNum = 709;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 710;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 711;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 712;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 714;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 715;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 716;BA.debugLine="End Sub"; -return ""; -} -public static String _traeruta2(anywheresoftware.b4a.BA _ba,String _cliente) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _r = ""; - //BA.debugLineNum = 719;BA.debugLine="Sub traeRuta2 (cliente As String) As String 'ignor"; - //BA.debugLineNum = 720;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 721;BA.debugLine="Private r As String"; -_r = ""; - //BA.debugLineNum = 722;BA.debugLine="c=B4XPages.MainPage.skmt.ExecQuery($\"select CAT_C"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery(("select CAT_CL_RUTA from kmt_info where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"' UNION ALL select CAT_CL_RUTA from kmt_info2 where CAT_CL_CODIGO = '"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(_cliente))+"'")))); - //BA.debugLineNum = 723;BA.debugLine="r = \"0\""; -_r = "0"; - //BA.debugLineNum = 724;BA.debugLine="If c.RowCount > 0 Then"; -if (_c.getRowCount()>0) { - //BA.debugLineNum = 725;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 726;BA.debugLine="r = c.GetString(\"CAT_CL_RUTA\")"; -_r = _c.GetString("CAT_CL_RUTA"); - }; - //BA.debugLineNum = 728;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 729;BA.debugLine="Return r"; -if (true) return _r; - //BA.debugLineNum = 730;BA.debugLine="End Sub"; -return ""; -} -public static String _traetablaprods(anywheresoftware.b4a.BA _ba,String _tipoventa) throws Exception{ -String _tablaprods = ""; - //BA.debugLineNum = 1453;BA.debugLine="Sub traeTablaProds(tipoventa As String) As String"; - //BA.debugLineNum = 1454;BA.debugLine="Private tablaProds As String = \"cat_gunaprod2\""; -_tablaprods = "cat_gunaprod2"; - //BA.debugLineNum = 1455;BA.debugLine="If tipoventa = \"ABORDO\" Or tipoventa = \"PREVENTA\""; -if ((_tipoventa).equals("ABORDO") || (_tipoventa).equals("PREVENTA") || (_tipoventa).equals("RECARGA")) { -_tablaprods = "cat_gunaprod";}; - //BA.debugLineNum = 1457;BA.debugLine="Return tablaProds"; -if (true) return _tablaprods; - //BA.debugLineNum = 1458;BA.debugLine="End Sub"; -return ""; -} -public static double _traetotalcliente(anywheresoftware.b4a.BA _ba) throws Exception{ -double _sumatotal = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; -int _i = 0; - //BA.debugLineNum = 854;BA.debugLine="Sub traeTotalCliente As Double"; - //BA.debugLineNum = 855;BA.debugLine="Private sumaTotal As Double"; -_sumatotal = 0; - //BA.debugLineNum = 856;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; -_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("Select PE_COSTO_TOT from pedido where PE_CLIENTE <> 0 "))); - //BA.debugLineNum = 857;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_cursorprueba.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 858;BA.debugLine="cursorprueba.Position = i"; -_cursorprueba.setPosition(_i); - //BA.debugLineNum = 860;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; -_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 861;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; -_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); - } -}; - //BA.debugLineNum = 864;BA.debugLine="cursorprueba.Close"; -_cursorprueba.Close(); - //BA.debugLineNum = 865;BA.debugLine="Return sumaTotal"; -if (true) return _sumatotal; - //BA.debugLineNum = 866;BA.debugLine="End Sub"; -return 0; -} -public static double _traetotalclienteabordo(anywheresoftware.b4a.BA _ba) throws Exception{ -double _sumatotal = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; -int _i = 0; - //BA.debugLineNum = 868;BA.debugLine="Sub traeTotalClienteabordo As Double"; - //BA.debugLineNum = 869;BA.debugLine="Private sumaTotal As Double"; -_sumatotal = 0; - //BA.debugLineNum = 870;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; -_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE = 0",new String[]{"ABORDO"}))); - //BA.debugLineNum = 871;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_cursorprueba.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 872;BA.debugLine="cursorprueba.Position = i"; -_cursorprueba.setPosition(_i); - //BA.debugLineNum = 874;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; -_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 875;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; -_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); - } -}; - //BA.debugLineNum = 878;BA.debugLine="cursorprueba.Close"; -_cursorprueba.Close(); - //BA.debugLineNum = 879;BA.debugLine="Return sumaTotal"; -if (true) return _sumatotal; - //BA.debugLineNum = 880;BA.debugLine="End Sub"; -return 0; -} -public static double _traetotalclientepreventa(anywheresoftware.b4a.BA _ba) throws Exception{ -double _sumatotal = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; -int _i = 0; - //BA.debugLineNum = 882;BA.debugLine="Sub traeTotalClientepreventa As Double"; - //BA.debugLineNum = 883;BA.debugLine="Private sumaTotal As Double"; -_sumatotal = 0; - //BA.debugLineNum = 884;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; -_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 885;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_cursorprueba.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 886;BA.debugLine="cursorprueba.Position = i"; -_cursorprueba.setPosition(_i); - //BA.debugLineNum = 888;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; -_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 889;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; -_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); - } -}; - //BA.debugLineNum = 892;BA.debugLine="cursorprueba.Close"; -_cursorprueba.Close(); - //BA.debugLineNum = 893;BA.debugLine="Return sumaTotal"; -if (true) return _sumatotal; - //BA.debugLineNum = 894;BA.debugLine="End Sub"; -return 0; -} -public static double _traetotalclientepreventaparacredito(anywheresoftware.b4a.BA _ba) throws Exception{ -double _sumatotal = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; -int _i = 0; - //BA.debugLineNum = 896;BA.debugLine="Sub traeTotalClientepreventaparacredito As Double"; - //BA.debugLineNum = 897;BA.debugLine="Private sumaTotal As Double"; -_sumatotal = 0; - //BA.debugLineNum = 898;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; -_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0 AND PE_CLIENTE IN (SELECT CUENTA FROM CUENTAA)",new String[]{"PREVENTA"}))); - //BA.debugLineNum = 899;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_cursorprueba.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 900;BA.debugLine="cursorprueba.Position = i"; -_cursorprueba.setPosition(_i); - //BA.debugLineNum = 902;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; -_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 903;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; -_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); - } -}; - //BA.debugLineNum = 906;BA.debugLine="cursorprueba.Close"; -_cursorprueba.Close(); - //BA.debugLineNum = 907;BA.debugLine="Return sumaTotal"; -if (true) return _sumatotal; - //BA.debugLineNum = 908;BA.debugLine="End Sub"; -return 0; -} -public static double _traetotalclienteventa(anywheresoftware.b4a.BA _ba) throws Exception{ -double _sumatotal = 0; -anywheresoftware.b4a.sql.SQL.CursorWrapper _cursorprueba = null; -int _i = 0; - //BA.debugLineNum = 910;BA.debugLine="Sub traeTotalClienteventa As Double"; - //BA.debugLineNum = 911;BA.debugLine="Private sumaTotal As Double"; -_sumatotal = 0; - //BA.debugLineNum = 912;BA.debugLine="Private cursorprueba As Cursor = B4XPages.MainPag"; -_cursorprueba = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_cursorprueba = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery2("Select PE_COSTO_TOT from pedido where PE_FOLIO = ? AND PE_CLIENTE <> 0",new String[]{"VENTA"}))); - //BA.debugLineNum = 913;BA.debugLine="For i= 0 To cursorprueba.RowCount -1"; -{ -final int step3 = 1; -final int limit3 = (int) (_cursorprueba.getRowCount()-1); -_i = (int) (0) ; -for (;_i <= limit3 ;_i = _i + step3 ) { - //BA.debugLineNum = 914;BA.debugLine="cursorprueba.Position = i"; -_cursorprueba.setPosition(_i); - //BA.debugLineNum = 916;BA.debugLine="sumaTotal = sumaTotal + cursorprueba.GetString"; -_sumatotal = _sumatotal+(double)(Double.parseDouble(_cursorprueba.GetString("PE_COSTO_TOT"))); - //BA.debugLineNum = 917;BA.debugLine="sumaTotal = NumberFormat2(sumaTotal, 0, 2, 2, Fa"; -_sumatotal = (double)(Double.parseDouble(anywheresoftware.b4a.keywords.Common.NumberFormat2(_sumatotal,(int) (0),(int) (2),(int) (2),anywheresoftware.b4a.keywords.Common.False))); - } -}; - //BA.debugLineNum = 920;BA.debugLine="cursorprueba.Close"; -_cursorprueba.Close(); - //BA.debugLineNum = 921;BA.debugLine="Return sumaTotal"; -if (true) return _sumatotal; - //BA.debugLineNum = 922;BA.debugLine="End Sub"; -return 0; -} -public static anywheresoftware.b4a.objects.collections.Map _traetotalesclienteactual(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.collections.Map _m = null; -anywheresoftware.b4a.sql.SQL.CursorWrapper _c_prodsx = null; - //BA.debugLineNum = 1408;BA.debugLine="Sub traeTotalesClienteActual As Map"; - //BA.debugLineNum = 1409;BA.debugLine="Private m As Map"; -_m = new anywheresoftware.b4a.objects.collections.Map(); - //BA.debugLineNum = 1410;BA.debugLine="m.Initialize"; -_m.Initialize(); - //BA.debugLineNum = 1411;BA.debugLine="Private c_prodsX As Cursor=B4XPages.MainPage.skmt"; -_c_prodsx = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); -_c_prodsx = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (_ba)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecQuery("select ifnull(sum(PE_CANT), 0) as cantProds, ifnull(sum(PE_COSTO_TOT), 0) as costoTotal FROM PEDIDO WHERE PE_CLIENTE IN (Select CUENTA from cuentaa) order by PE_PRONOMBRE asc"))); - //BA.debugLineNum = 1412;BA.debugLine="c_prodsX.Position=0"; -_c_prodsx.setPosition((int) (0)); - //BA.debugLineNum = 1414;BA.debugLine="m = CreateMap(\"productos\": c_prodsX.GetString(\"ca"; -_m = anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("productos"),(Object)(_c_prodsx.GetString("cantProds")),(Object)("monto"),(Object)(_c_prodsx.GetString("costoTotal"))}); - //BA.debugLineNum = 1415;BA.debugLine="Return m"; -if (true) return _m; - //BA.debugLineNum = 1416;BA.debugLine="End Sub"; -return null; -} -public static String _traeusuariodebd(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.sql.SQL.CursorWrapper _c = null; -String _u = ""; - //BA.debugLineNum = 750;BA.debugLine="Sub traeUsuarioDeBD As String 'ignore"; - //BA.debugLineNum = 751;BA.debugLine="Private c As Cursor"; -_c = new anywheresoftware.b4a.sql.SQL.CursorWrapper(); - //BA.debugLineNum = 752;BA.debugLine="Private u As String = \"SinUsuario\""; -_u = "SinUsuario"; - //BA.debugLineNum = 753;BA.debugLine="If Not(kmt.IsInitialized) Then revisaBD"; -if (anywheresoftware.b4a.keywords.Common.Not(_kmt.IsInitialized())) { -_revisabd(_ba);}; - //BA.debugLineNum = 754;BA.debugLine="c=kmt.ExecQuery(\"select USUARIO from usuarioa\")"; -_c = (anywheresoftware.b4a.sql.SQL.CursorWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.sql.SQL.CursorWrapper(), (android.database.Cursor)(_kmt.ExecQuery("select USUARIO from usuarioa"))); - //BA.debugLineNum = 755;BA.debugLine="c.Position=0"; -_c.setPosition((int) (0)); - //BA.debugLineNum = 756;BA.debugLine="If c.RowCount > 0 Then u = c.GetString(\"USUARIO\")"; -if (_c.getRowCount()>0) { -_u = _c.GetString("USUARIO");}; - //BA.debugLineNum = 757;BA.debugLine="c.Close"; -_c.Close(); - //BA.debugLineNum = 758;BA.debugLine="Return u"; -if (true) return _u; - //BA.debugLineNum = 759;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/swiftbutton.java b/B4A/Objects/src/adm/keymon/com/mx/swiftbutton.java deleted file mode 100644 index e1e5d64..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/swiftbutton.java +++ /dev/null @@ -1,320 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.B4AClass; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class swiftbutton extends B4AClass.ImplB4AClass implements BA.SubDelegator{ - private static java.util.HashMap htSubs; - private void innerInitialize(BA _ba) throws Exception { - if (ba == null) { - ba = new BA(_ba, this, htSubs, "adm.keymon.com.mx.swiftbutton"); - if (htSubs == null) { - ba.loadHtSubs(this.getClass()); - htSubs = ba.htSubs; - } - - } - if (BA.isShellModeRuntimeCheck(ba)) - this.getClass().getMethod("_class_globals", adm.keymon.com.mx.swiftbutton.class).invoke(this, new Object[] {null}); - else - ba.raiseEvent2(null, true, "class_globals", false); - } - - public anywheresoftware.b4a.keywords.Common __c = null; -public String _meventname = ""; -public Object _mcallback = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null; -public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public anywheresoftware.b4a.objects.B4XCanvas _cvs = null; -public anywheresoftware.b4a.objects.B4XViewWrapper _xlbl = null; -public int _clr1 = 0; -public int _clr2 = 0; -public int _disabledcolor = 0; -public boolean _pressed = false; -public Object _tag = null; -public boolean _mdisabled = false; -public int _cornersradius = 0; -public int _sideheight = 0; -public boolean _mhaptic = false; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public String _base_resize(double _width,double _height) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _v = null; - //BA.debugLineNum = 54;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A"; - //BA.debugLineNum = 55;BA.debugLine="cvs.Resize(Width, Height)"; -_cvs.Resize((float) (_width),(float) (_height)); - //BA.debugLineNum = 56;BA.debugLine="For Each v As B4XView In mBase.GetAllViewsRecursi"; -_v = new anywheresoftware.b4a.objects.B4XViewWrapper(); -{ -final anywheresoftware.b4a.BA.IterableList group2 = _mbase.GetAllViewsRecursive(); -final int groupLen2 = group2.getSize() -;int index2 = 0; -; -for (; index2 < groupLen2;index2++){ -_v = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(group2.Get(index2))); - //BA.debugLineNum = 57;BA.debugLine="v.SetLayoutAnimated(0, 0, 0, Width, Height)"; -_v.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_width),(int) (_height)); - } -}; - //BA.debugLineNum = 59;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 60;BA.debugLine="End Sub"; -return ""; -} -public String _class_globals() throws Exception{ - //BA.debugLineNum = 12;BA.debugLine="Sub Class_Globals"; - //BA.debugLineNum = 13;BA.debugLine="Private mEventName As String 'ignore"; -_meventname = ""; - //BA.debugLineNum = 14;BA.debugLine="Private mCallBack As Object 'ignore"; -_mcallback = new Object(); - //BA.debugLineNum = 15;BA.debugLine="Public mBase As B4XView 'ignore"; -_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 16;BA.debugLine="Private xui As XUI 'ignore"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 17;BA.debugLine="Private cvs As B4XCanvas"; -_cvs = new anywheresoftware.b4a.objects.B4XCanvas(); - //BA.debugLineNum = 18;BA.debugLine="Public xLBL As B4XView"; -_xlbl = new anywheresoftware.b4a.objects.B4XViewWrapper(); - //BA.debugLineNum = 19;BA.debugLine="Public clr1, clr2, disabledColor As Int"; -_clr1 = 0; -_clr2 = 0; -_disabledcolor = 0; - //BA.debugLineNum = 20;BA.debugLine="Private pressed As Boolean"; -_pressed = false; - //BA.debugLineNum = 21;BA.debugLine="Public Tag As Object"; -_tag = new Object(); - //BA.debugLineNum = 22;BA.debugLine="Private mDisabled As Boolean"; -_mdisabled = false; - //BA.debugLineNum = 23;BA.debugLine="Public CornersRadius, SideHeight As Int"; -_cornersradius = 0; -_sideheight = 0; - //BA.debugLineNum = 24;BA.debugLine="Public mHaptic As Boolean"; -_mhaptic = false; - //BA.debugLineNum = 25;BA.debugLine="End Sub"; -return ""; -} -public String _designercreateview(Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{ -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; - //BA.debugLineNum = 32;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl"; - //BA.debugLineNum = 33;BA.debugLine="mBase = Base"; -_mbase = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base)); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_tag = _mbase.getTag(); - //BA.debugLineNum = 34;BA.debugLine="Tag = mBase.Tag : mBase.Tag = Me"; -_mbase.setTag(this); - //BA.debugLineNum = 35;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"p\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel(ba,"p"); - //BA.debugLineNum = 36;BA.debugLine="p.Color = xui.Color_Transparent"; -_p.setColor(_xui.Color_Transparent); - //BA.debugLineNum = 37;BA.debugLine="clr1 = xui.PaintOrColorToColor(Props.Get(\"Primary"; -_clr1 = _xui.PaintOrColorToColor(_props.Get((Object)("PrimaryColor"))); - //BA.debugLineNum = 38;BA.debugLine="clr2 = xui.PaintOrColorToColor(Props.Get(\"Seconda"; -_clr2 = _xui.PaintOrColorToColor(_props.Get((Object)("SecondaryColor"))); - //BA.debugLineNum = 39;BA.debugLine="disabledColor = xui.PaintOrColorToColor(Props.Get"; -_disabledcolor = _xui.PaintOrColorToColor(_props.GetDefault((Object)("DisabledColor"),(Object)(((int)0xff999999)))); - //BA.debugLineNum = 40;BA.debugLine="CornersRadius = DipToCurrent(Props.GetDefault(\"Co"; -_cornersradius = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("CornersRadius"),(Object)(15))))); - //BA.debugLineNum = 41;BA.debugLine="SideHeight = DipToCurrent(Props.GetDefault(\"SideH"; -_sideheight = __c.DipToCurrent((int)(BA.ObjectToNumber(_props.GetDefault((Object)("SideHeight"),(Object)(5))))); - //BA.debugLineNum = 42;BA.debugLine="mDisabled = Not(Props.GetDefault(\"ButtonEnabled\","; -_mdisabled = __c.Not(BA.ObjectToBoolean(_props.GetDefault((Object)("ButtonEnabled"),(Object)(__c.True)))); - //BA.debugLineNum = 43;BA.debugLine="mHaptic = Props.GetDefault(\"HapticFeedback\", Fals"; -_mhaptic = BA.ObjectToBoolean(_props.GetDefault((Object)("HapticFeedback"),(Object)(__c.False))); - //BA.debugLineNum = 44;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 45;BA.debugLine="xLBL = Lbl"; -_xlbl = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 46;BA.debugLine="xLBL.Visible = True"; -_xlbl.setVisible(__c.True); - //BA.debugLineNum = 47;BA.debugLine="mBase.AddView(xLBL, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_xlbl.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 48;BA.debugLine="mBase.AddView(p, 0, 0, 0, 0)"; -_mbase.AddView((android.view.View)(_p.getObject()),(int) (0),(int) (0),(int) (0),(int) (0)); - //BA.debugLineNum = 49;BA.debugLine="xLBL.SetTextAlignment(\"CENTER\", \"CENTER\")"; -_xlbl.SetTextAlignment("CENTER","CENTER"); - //BA.debugLineNum = 50;BA.debugLine="cvs.Initialize(mBase)"; -_cvs.Initialize(_mbase); - //BA.debugLineNum = 51;BA.debugLine="Base_Resize(mBase.Width, mBase.Height)"; -_base_resize(_mbase.getWidth(),_mbase.getHeight()); - //BA.debugLineNum = 52;BA.debugLine="End Sub"; -return ""; -} -public String _draw() throws Exception{ -anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null; -anywheresoftware.b4a.objects.B4XCanvas.B4XPath _p = null; -int _c = 0; - //BA.debugLineNum = 121;BA.debugLine="Private Sub Draw"; - //BA.debugLineNum = 122;BA.debugLine="cvs.ClearRect(cvs.TargetRect)"; -_cvs.ClearRect(_cvs.getTargetRect()); - //BA.debugLineNum = 123;BA.debugLine="Dim r As B4XRect"; -_r = new anywheresoftware.b4a.objects.B4XCanvas.B4XRect(); - //BA.debugLineNum = 124;BA.debugLine="Dim p As B4XPath"; -_p = new anywheresoftware.b4a.objects.B4XCanvas.B4XPath(); - //BA.debugLineNum = 125;BA.debugLine="r.Initialize(0, SideHeight, mBase.Width, mBase.He"; -_r.Initialize((float) (0),(float) (_sideheight),(float) (_mbase.getWidth()),(float) (_mbase.getHeight())); - //BA.debugLineNum = 126;BA.debugLine="If pressed = False Then"; -if (_pressed==__c.False) { - //BA.debugLineNum = 127;BA.debugLine="xLBL.Top = 0"; -_xlbl.setTop((int) (0)); - //BA.debugLineNum = 128;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 129;BA.debugLine="cvs.DrawPath(p, clr2, True, 0)"; -_cvs.DrawPath(_p,_clr2,__c.True,(float) (0)); - //BA.debugLineNum = 130;BA.debugLine="r.Initialize(0, 0, mBase.Width, mBase.Height - S"; -_r.Initialize((float) (0),(float) (0),(float) (_mbase.getWidth()),(float) (_mbase.getHeight()-_sideheight)); - //BA.debugLineNum = 131;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 132;BA.debugLine="cvs.DrawPath(p, clr1, True, 0)"; -_cvs.DrawPath(_p,_clr1,__c.True,(float) (0)); - }else { - //BA.debugLineNum = 134;BA.debugLine="xLBL.Top = SideHeight"; -_xlbl.setTop(_sideheight); - //BA.debugLineNum = 135;BA.debugLine="p.InitializeRoundedRect(r, CornersRadius)"; -_p.InitializeRoundedRect(_r,(float) (_cornersradius)); - //BA.debugLineNum = 136;BA.debugLine="Dim c As Int"; -_c = 0; - //BA.debugLineNum = 137;BA.debugLine="If mDisabled Then c = disabledColor Else c = clr"; -if (_mdisabled) { -_c = _disabledcolor;} -else { -_c = _clr1;}; - //BA.debugLineNum = 138;BA.debugLine="cvs.DrawPath(p, c, True, 0)"; -_cvs.DrawPath(_p,_c,__c.True,(float) (0)); - }; - //BA.debugLineNum = 141;BA.debugLine="cvs.Invalidate"; -_cvs.Invalidate(); - //BA.debugLineNum = 142;BA.debugLine="End Sub"; -return ""; -} -public boolean _getenabled() throws Exception{ - //BA.debugLineNum = 62;BA.debugLine="Public Sub getEnabled As Boolean"; - //BA.debugLineNum = 63;BA.debugLine="Return Not(mDisabled)"; -if (true) return __c.Not(_mdisabled); - //BA.debugLineNum = 64;BA.debugLine="End Sub"; -return false; -} -public String _initialize(anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{ -innerInitialize(_ba); - //BA.debugLineNum = 27;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa"; - //BA.debugLineNum = 28;BA.debugLine="mEventName = EventName"; -_meventname = _eventname; - //BA.debugLineNum = 29;BA.debugLine="mCallBack = Callback"; -_mcallback = _callback; - //BA.debugLineNum = 30;BA.debugLine="End Sub"; -return ""; -} -public String _p_touch(int _action,float _x,float _y) throws Exception{ -boolean _inside = false; - //BA.debugLineNum = 72;BA.debugLine="Private Sub p_Touch (Action As Int, X As Float, Y"; - //BA.debugLineNum = 73;BA.debugLine="If mDisabled Then Return"; -if (_mdisabled) { -if (true) return "";}; - //BA.debugLineNum = 74;BA.debugLine="Dim Inside As Boolean = x > 0 And x < mBase.Width"; -_inside = _x>0 && _x<_mbase.getWidth() && _y>0 && _y<_mbase.getHeight(); - //BA.debugLineNum = 75;BA.debugLine="Select Action"; -switch (BA.switchObjectToInt(_action,_mbase.TOUCH_ACTION_DOWN,_mbase.TOUCH_ACTION_MOVE,_mbase.TOUCH_ACTION_UP,(int) (3))) { -case 0: { - //BA.debugLineNum = 77;BA.debugLine="SetPressedState(True)"; -_setpressedstate(__c.True); - //BA.debugLineNum = 78;BA.debugLine="Draw"; -_draw(); - break; } -case 1: { - //BA.debugLineNum = 80;BA.debugLine="If pressed <> Inside Then"; -if (_pressed!=_inside) { - //BA.debugLineNum = 81;BA.debugLine="SetPressedState(Inside)"; -_setpressedstate(_inside); - //BA.debugLineNum = 82;BA.debugLine="Draw"; -_draw(); - }; - break; } -case 2: -case 3: { - //BA.debugLineNum = 85;BA.debugLine="SetPressedState(False)"; -_setpressedstate(__c.False); - //BA.debugLineNum = 86;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 87;BA.debugLine="If Inside Then"; -if (_inside) { - //BA.debugLineNum = 88;BA.debugLine="If mHaptic Then XUIViewsUtils.PerformHapticFee"; -if (_mhaptic) { -_xuiviewsutils._performhapticfeedback /*String*/ (ba,_mbase);}; - //BA.debugLineNum = 89;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_Click"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_Click"); - }; - break; } -} -; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return ""; -} -public String _setcolors(int _primary,int _secondary) throws Exception{ - //BA.debugLineNum = 111;BA.debugLine="Public Sub SetColors(Primary As Int, Secondary As"; - //BA.debugLineNum = 112;BA.debugLine="clr1 = Primary"; -_clr1 = _primary; - //BA.debugLineNum = 113;BA.debugLine="clr2 = Secondary"; -_clr2 = _secondary; - //BA.debugLineNum = 114;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 115;BA.debugLine="End Sub"; -return ""; -} -public String _setenabled(boolean _b) throws Exception{ - //BA.debugLineNum = 66;BA.debugLine="Public Sub setEnabled(b As Boolean)"; - //BA.debugLineNum = 67;BA.debugLine="mDisabled = Not(b)"; -_mdisabled = __c.Not(_b); - //BA.debugLineNum = 68;BA.debugLine="pressed = mDisabled"; -_pressed = _mdisabled; - //BA.debugLineNum = 69;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 70;BA.debugLine="End Sub"; -return ""; -} -public String _setpressedstate(boolean _newstate) throws Exception{ - //BA.debugLineNum = 94;BA.debugLine="Private Sub SetPressedState(NewState As Boolean)"; - //BA.debugLineNum = 95;BA.debugLine="If pressed = NewState Then Return"; -if (_pressed==_newstate) { -if (true) return "";}; - //BA.debugLineNum = 96;BA.debugLine="If NewState And xui.SubExists(mCallBack, mEventNa"; -if (_newstate && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonDown",(int) (0))) { - //BA.debugLineNum = 97;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonD"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonDown"); - }; - //BA.debugLineNum = 99;BA.debugLine="If NewState = False And xui.SubExists(mCallBack,"; -if (_newstate==__c.False && _xui.SubExists(ba,_mcallback,_meventname+"_ButtonUp",(int) (0))) { - //BA.debugLineNum = 100;BA.debugLine="CallSubDelayed(mCallBack, mEventName & \"_ButtonU"; -__c.CallSubDelayed(ba,_mcallback,_meventname+"_ButtonUp"); - }; - //BA.debugLineNum = 102;BA.debugLine="pressed= NewState"; -_pressed = _newstate; - //BA.debugLineNum = 103;BA.debugLine="End Sub"; -return ""; -} -public String _update() throws Exception{ - //BA.debugLineNum = 117;BA.debugLine="Public Sub Update"; - //BA.debugLineNum = 118;BA.debugLine="Draw"; -_draw(); - //BA.debugLineNum = 119;BA.debugLine="End Sub"; -return ""; -} -public Object callSub(String sub, Object sender, Object[] args) throws Exception { -BA.senderHolder.set(sender); -return BA.SubDelegator.SubNotFound; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/tracker.java b/B4A/Objects/src/adm/keymon/com/mx/tracker.java deleted file mode 100644 index 9be07b8..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/tracker.java +++ /dev/null @@ -1,641 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.objects.ServiceHelper; -import anywheresoftware.b4a.debug.*; - -public class tracker extends android.app.Service{ - public static class tracker_BR extends android.content.BroadcastReceiver { - - @Override - public void onReceive(android.content.Context context, android.content.Intent intent) { - BA.LogInfo("** Receiver (tracker) OnReceive **"); - android.content.Intent in = new android.content.Intent(context, tracker.class); - if (intent != null) - in.putExtra("b4a_internal_intent", intent); - ServiceHelper.StarterHelper.startServiceFromReceiver (context, in, false, BA.class); - } - - } - static tracker mostCurrent; - public static BA processBA; - private ServiceHelper _service; - public static Class getObject() { - return tracker.class; - } - @Override - public void onCreate() { - super.onCreate(); - mostCurrent = this; - if (processBA == null) { - processBA = new BA(this, null, null, "adm.keymon.com.mx", "adm.keymon.com.mx.tracker"); - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "SHELL", false); - } - try { - Class.forName(BA.applicationContext.getPackageName() + ".main").getMethod("initializeProcessGlobals").invoke(null, null); - } catch (Exception e) { - throw new RuntimeException(e); - } - processBA.loadHtSubs(this.getClass()); - ServiceHelper.init(); - } - _service = new ServiceHelper(this); - processBA.service = this; - - if (BA.isShellModeRuntimeCheck(processBA)) { - processBA.raiseEvent2(null, true, "CREATE", true, "adm.keymon.com.mx.tracker", processBA, _service, anywheresoftware.b4a.keywords.Common.Density); - } - if (!false && ServiceHelper.StarterHelper.startFromServiceCreate(processBA, false) == false) { - - } - else { - processBA.setActivityPaused(false); - BA.LogInfo("*** Service (tracker) Create ***"); - processBA.raiseEvent(null, "service_create"); - } - processBA.runHook("oncreate", this, null); - if (false) { - if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) { - BA.LogInfo("stopping spontaneous created service"); - stopSelf(); - } - } - } - @Override - public void onStart(android.content.Intent intent, int startId) { - onStartCommand(intent, 0, 0); - } - @Override - public int onStartCommand(final android.content.Intent intent, int flags, int startId) { - if (ServiceHelper.StarterHelper.onStartCommand(processBA, new Runnable() { - public void run() { - handleStart(intent); - }})) - ; - else { - ServiceHelper.StarterHelper.addWaitForLayout (new Runnable() { - public void run() { - processBA.setActivityPaused(false); - BA.LogInfo("** Service (tracker) Create **"); - processBA.raiseEvent(null, "service_create"); - handleStart(intent); - ServiceHelper.StarterHelper.removeWaitForLayout(); - } - }); - } - processBA.runHook("onstartcommand", this, new Object[] {intent, flags, startId}); - return android.app.Service.START_NOT_STICKY; - } - public void onTaskRemoved(android.content.Intent rootIntent) { - super.onTaskRemoved(rootIntent); - if (false) - processBA.raiseEvent(null, "service_taskremoved"); - - } - private void handleStart(android.content.Intent intent) { - BA.LogInfo("** Service (tracker) Start **"); - java.lang.reflect.Method startEvent = processBA.htSubs.get("service_start"); - if (startEvent != null) { - if (startEvent.getParameterTypes().length > 0) { - anywheresoftware.b4a.objects.IntentWrapper iw = ServiceHelper.StarterHelper.handleStartIntent(intent, _service, processBA); - processBA.raiseEvent(null, "service_start", iw); - } - else { - processBA.raiseEvent(null, "service_start"); - } - } - } - - @Override - public void onDestroy() { - super.onDestroy(); - if (false) { - BA.LogInfo("** Service (tracker) Destroy (ignored)**"); - } - else { - BA.LogInfo("** Service (tracker) Destroy **"); - processBA.raiseEvent(null, "service_destroy"); - processBA.service = null; - mostCurrent = null; - processBA.setActivityPaused(true); - processBA.runHook("ondestroy", this, null); - } - } - -@Override - public android.os.IBinder onBind(android.content.Intent intent) { - return null; - }public anywheresoftware.b4a.keywords.Common __c = null; -public static int _nid = 0; -public static boolean _tracking = false; -public static anywheresoftware.b4a.phone.Phone.PhoneWakeState _lock = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper _flp = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _actuallr = null; -public static boolean _flpstarted = false; -public static anywheresoftware.b4a.gps.LocationWrapper _uugcoords = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public adm.keymon.com.mx.xuiviewsutils _xuiviewsutils = null; -public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequest() throws Exception{ -uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 112;BA.debugLine="Private Sub CreateLocationRequest As LocationReque"; - //BA.debugLineNum = 114;BA.debugLine="Dim lr As LocationRequest"; -_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 115;BA.debugLine="lr.Initialize"; -_lr.Initialize(); - //BA.debugLineNum = 116;BA.debugLine="lr.SetInterval(1) 'Intervalo deseado para actuali"; -_lr.SetInterval((long) (1)); - //BA.debugLineNum = 117;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; -_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 118;BA.debugLine="lr.SetSmallestDisplacement(0) 'Solo registra camb"; -_lr.SetSmallestDisplacement((float) (0)); - //BA.debugLineNum = 119;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; -_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 120;BA.debugLine="actualLR=lr"; -_actuallr = _lr; - //BA.debugLineNum = 121;BA.debugLine="Return lr"; -if (true) return _lr; - //BA.debugLineNum = 122;BA.debugLine="End Sub"; -return null; -} -public static uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _createlocationrequestsmalld() throws Exception{ -uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest _lr = null; - //BA.debugLineNum = 124;BA.debugLine="Private Sub CreateLocationRequestSmallD As Locatio"; - //BA.debugLineNum = 126;BA.debugLine="Dim lr As LocationRequest"; -_lr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 127;BA.debugLine="lr.Initialize"; -_lr.Initialize(); - //BA.debugLineNum = 128;BA.debugLine="lr.SetInterval(2000) 'Intervalo deseado para actu"; -_lr.SetInterval((long) (2000)); - //BA.debugLineNum = 129;BA.debugLine="lr.SetFastestInterval(lr.GetInterval / 2) 'Interv"; -_lr.SetFastestInterval((long) (_lr.GetInterval()/(double)2)); - //BA.debugLineNum = 130;BA.debugLine="lr.setNumUpdates(2) 'Solicitamos solo 2 actualiza"; -_lr.SetNumUpdates((int) (2)); - //BA.debugLineNum = 131;BA.debugLine="lr.SetSmallestDisplacement(1) 'Solo registra camb"; -_lr.SetSmallestDisplacement((float) (1)); - //BA.debugLineNum = 132;BA.debugLine="lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY"; -_lr.SetPriority(_lr.Priority.PRIORITY_HIGH_ACCURACY); - //BA.debugLineNum = 133;BA.debugLine="actualLR=lr"; -_actuallr = _lr; - //BA.debugLineNum = 134;BA.debugLine="Return lr"; -if (true) return _lr; - //BA.debugLineNum = 135;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.NotificationWrapper _createnotification(String _body) throws Exception{ -anywheresoftware.b4a.objects.NotificationWrapper _notification = null; - //BA.debugLineNum = 198;BA.debugLine="Sub CreateNotification (Body As String) As Notific"; - //BA.debugLineNum = 199;BA.debugLine="Dim notification As Notification"; -_notification = new anywheresoftware.b4a.objects.NotificationWrapper(); - //BA.debugLineNum = 200;BA.debugLine="notification.Initialize2(notification.IMPORTANCE_"; -_notification.Initialize2(_notification.IMPORTANCE_LOW); - //BA.debugLineNum = 201;BA.debugLine="notification.Icon = \"icon\""; -_notification.setIcon("icon"); - //BA.debugLineNum = 202;BA.debugLine="notification.SetInfo(\"ADM\", Body, Main)"; -_notification.SetInfoNew(processBA,BA.ObjectToCharSequence("ADM"),BA.ObjectToCharSequence(_body),(Object)(mostCurrent._main.getObject())); - //BA.debugLineNum = 203;BA.debugLine="Return notification"; -if (true) return _notification; - //BA.debugLineNum = 204;BA.debugLine="End Sub"; -return null; -} -public static String _dameultimaubicacionconocida() throws Exception{ -String _coords = ""; - //BA.debugLineNum = 137;BA.debugLine="Sub dameUltimaUbicacionConocida"; - //BA.debugLineNum = 138;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then 'M"; -if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 140;BA.debugLine="If Starter.Logger Then LogColor($\"Mandamos UUC \""; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("383296259",("Mandamos UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|Acc:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|Spd:"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 141;BA.debugLine="Dim coords As String = FLP.GetLastKnownLocation."; -_coords = BA.NumberToString(_flp.GetLastKnownLocation().getLatitude())+","+BA.NumberToString(_flp.GetLastKnownLocation().getLongitude())+","+_formatofecha(BA.NumberToString(_flp.GetLastKnownLocation().getTime())); - }; - //BA.debugLineNum = 145;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionfailed(int _connectionresult1) throws Exception{ - //BA.debugLineNum = 56;BA.debugLine="Sub flp_ConnectionFailed(ConnectionResult1 As Int)"; - //BA.debugLineNum = 57;BA.debugLine="Log(\"Failed to connect to location provider\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("382837505","Failed to connect to location provider",0); - //BA.debugLineNum = 58;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_connectionsuccess() throws Exception{ - //BA.debugLineNum = 51;BA.debugLine="Sub flp_ConnectionSuccess"; - //BA.debugLineNum = 54;BA.debugLine="End Sub"; -return ""; -} -public static String _flp_locationchanged(anywheresoftware.b4a.gps.LocationWrapper _location1) throws Exception{ -String _sdate = ""; -String _stime = ""; -String _coords = ""; - //BA.debugLineNum = 155;BA.debugLine="Sub flp_LocationChanged (Location1 As Location)"; - //BA.debugLineNum = 158;BA.debugLine="B4XPages.MainPage.lat_gps = Location1.Latitude"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ = BA.NumberToString(_location1.getLatitude()); - //BA.debugLineNum = 159;BA.debugLine="B4XPages.MainPage.lon_gps = Location1.Longitude"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ = BA.NumberToString(_location1.getLongitude()); - //BA.debugLineNum = 160;BA.debugLine="UUGCoords = Location1"; -_uugcoords = _location1; - //BA.debugLineNum = 168;BA.debugLine="Dim sDate,sTime As String"; -_sdate = ""; -_stime = ""; - //BA.debugLineNum = 169;BA.debugLine="DateTime.DateFormat = \"MM/dd/yyyy\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("MM/dd/yyyy"); - //BA.debugLineNum = 170;BA.debugLine="sDate=DateTime.Date(DateTime.Now)"; -_sdate = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 171;BA.debugLine="sTime=DateTime.Time(DateTime.Now)"; -_stime = anywheresoftware.b4a.keywords.Common.DateTime.Time(anywheresoftware.b4a.keywords.Common.DateTime.getNow()); - //BA.debugLineNum = 172;BA.debugLine="If Not(B4XPages.MainPage.skmt.IsInitialized) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .IsInitialized())) { -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .Initialize(mostCurrent._starter._ruta /*String*/ ,"kmt.db",anywheresoftware.b4a.keywords.Common.True);}; - //BA.debugLineNum = 173;BA.debugLine="Try"; -try { //BA.debugLineNum = 174;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT INT"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(_sdate+_stime),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lat_gps /*String*/ ),(Object)(mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._lon_gps /*String*/ )})); - //BA.debugLineNum = 175;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery(\"DELETE FROM"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery("DELETE FROM HIST_GPS"); - } - catch (Exception e13) { - processBA.setLastException(e13); //BA.debugLineNum = 177;BA.debugLine="LogColor(LastException, Colors.Red)"; -anywheresoftware.b4a.keywords.Common.LogImpl("383427350",BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 180;BA.debugLine="Dim coords As String = Location1.Latitude&\",\"&Loc"; -_coords = BA.NumberToString(_location1.getLatitude())+","+BA.NumberToString(_location1.getLongitude())+","+_formatofecha(BA.NumberToString(_location1.getTime())); - //BA.debugLineNum = 185;BA.debugLine="If Location1.Accuracy < 100 Then"; -if (_location1.getAccuracy()<100) { - }; - //BA.debugLineNum = 189;BA.debugLine="CallSub2(Starter, \"GPS_LocationChanged\", Location"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,(Object)(mostCurrent._starter.getObject()),"GPS_LocationChanged",(Object)(_location1)); - //BA.debugLineNum = 192;BA.debugLine="If B4XPages.MainPage.cliente.IsInitialized Then"; -if (mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._cliente /*adm.keymon.com.mx.c_cliente*/ .IsInitialized /*boolean*/ ()) { - //BA.debugLineNum = 193;BA.debugLine="CallSub2(B4XPages.GetPage(\"Cliente\"), \"GPS_Locat"; -anywheresoftware.b4a.keywords.Common.CallSubNew2(processBA,mostCurrent._b4xpages._getpage /*Object*/ (processBA,"Cliente"),"GPS_LocationChanged",(Object)(_location1)); - }; - //BA.debugLineNum = 196;BA.debugLine="End Sub"; -return ""; -} -public static String _formatofecha(String _fecha) throws Exception{ -String _origformat = ""; -String _lastupdate = ""; - //BA.debugLineNum = 214;BA.debugLine="Sub formatoFecha(fecha As String) As String 'Convi"; - //BA.debugLineNum = 216;BA.debugLine="Dim OrigFormat As String = DateTime.DateFormat '"; -_origformat = anywheresoftware.b4a.keywords.Common.DateTime.getDateFormat(); - //BA.debugLineNum = 217;BA.debugLine="DateTime.DateFormat=\"yyMMddHHmmss\""; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat("yyMMddHHmmss"); - //BA.debugLineNum = 218;BA.debugLine="Dim lastUpdate As String=DateTime.Date(fecha)"; -_lastupdate = anywheresoftware.b4a.keywords.Common.DateTime.Date((long)(Double.parseDouble(_fecha))); - //BA.debugLineNum = 219;BA.debugLine="DateTime.DateFormat=OrigFormat 'return to orig d"; -anywheresoftware.b4a.keywords.Common.DateTime.setDateFormat(_origformat); - //BA.debugLineNum = 221;BA.debugLine="Return lastUpdate"; -if (true) return _lastupdate; - //BA.debugLineNum = 222;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 30;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 31;BA.debugLine="Private nid As Int = 51042"; -_nid = (int) (51042); - //BA.debugLineNum = 32;BA.debugLine="Private Tracking As Boolean"; -_tracking = false; - //BA.debugLineNum = 33;BA.debugLine="Private lock As PhoneWakeState"; -_lock = new anywheresoftware.b4a.phone.Phone.PhoneWakeState(); - //BA.debugLineNum = 35;BA.debugLine="Public FLP As FusedLocationProvider"; -_flp = new uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper(); - //BA.debugLineNum = 36;BA.debugLine="Dim actualLR As LocationRequest"; -_actuallr = new uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest(); - //BA.debugLineNum = 37;BA.debugLine="Private flpStarted As Boolean"; -_flpstarted = false; - //BA.debugLineNum = 39;BA.debugLine="Dim UUGCoords As Location 'Ultima Ubicacion Guard"; -_uugcoords = new anywheresoftware.b4a.gps.LocationWrapper(); - //BA.debugLineNum = 40;BA.debugLine="End Sub"; -return ""; -} -public static String _revisaflp() throws Exception{ -boolean _todobienflp = false; - //BA.debugLineNum = 225;BA.debugLine="Sub revisaFLP 'ignore"; - //BA.debugLineNum = 226;BA.debugLine="LogColor(\"**** **** Revisamos FLP **** ****\", Col"; -anywheresoftware.b4a.keywords.Common.LogImpl("383689473","**** **** Revisamos FLP **** ****",anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (78),(int) (0),(int) (227))); - //BA.debugLineNum = 227;BA.debugLine="Private todoBienFLP As Boolean = True"; -_todobienflp = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 228;BA.debugLine="Try"; -try { //BA.debugLineNum = 229;BA.debugLine="If Not(FLP.IsInitialized) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { - //BA.debugLineNum = 230;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta inicializado .."; -mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta inicializado ... 'Reinicializando FLP'"); - //BA.debugLineNum = 231;BA.debugLine="FLP.Initialize(\"flp\")"; -_flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 232;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e10) { - processBA.setLastException(e10); //BA.debugLineNum = 235;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsInitialized) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("383689482","If Not(Tracker.FLP.IsInitialized) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 237;BA.debugLine="Try"; -try { //BA.debugLineNum = 238;BA.debugLine="If FLP.IsInitialized Then"; -if (_flp.IsInitialized()) { - //BA.debugLineNum = 239;BA.debugLine="Try"; -try { //BA.debugLineNum = 240;BA.debugLine="If Not(FLP.IsConnected) Then"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { - //BA.debugLineNum = 241;BA.debugLine="Subs.log2DB(\"revisaFLP: No esta conectado ..."; -mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: No esta conectado ... 'Reconectando FLP'"); - //BA.debugLineNum = 243;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 244;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e21) { - processBA.setLastException(e21); //BA.debugLineNum = 247;BA.debugLine="LogColor(\"If Not(Tracker.FLP.IsConnected) -->"; -anywheresoftware.b4a.keywords.Common.LogImpl("383689494","If Not(Tracker.FLP.IsConnected) --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 249;BA.debugLine="Try"; -try { //BA.debugLineNum = 250;BA.debugLine="If FLP.IsConnected And _ FLP.GetLastKnown"; -if (_flp.IsConnected() && _flp.GetLastKnownLocation().IsInitialized() && _flp.GetLastKnownLocation().DistanceTo((android.location.Location)(_uugcoords.getObject()))>500) { - //BA.debugLineNum = 253;BA.debugLine="Subs.log2DB(\"revisaFLP: 'No se esta actualiza"; -mostCurrent._subs._log2db /*String*/ (processBA,"revisaFLP: 'No se esta actualizando, lo reiniciamos ...'"); - //BA.debugLineNum = 254;BA.debugLine="StartService(Me)"; -anywheresoftware.b4a.keywords.Common.StartService(processBA,tracker.getObject()); - //BA.debugLineNum = 255;BA.debugLine="todoBienFLP = False"; -_todobienflp = anywheresoftware.b4a.keywords.Common.False; - }; - } - catch (Exception e30) { - processBA.setLastException(e30); //BA.debugLineNum = 258;BA.debugLine="LogColor(\"If FLP.IsConnectctd and FLP.getLKL.I"; -anywheresoftware.b4a.keywords.Common.LogImpl("383689505","If FLP.IsConnectctd and FLP.getLKL.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }; - //BA.debugLineNum = 261;BA.debugLine="If todoBienFLP Then LogColor(\" +++ +++ Sin error"; -if (_todobienflp) { -anywheresoftware.b4a.keywords.Common.LogImpl("383689508"," +++ +++ Sin errores en FLP",anywheresoftware.b4a.keywords.Common.Colors.Green);}; - } - catch (Exception e35) { - processBA.setLastException(e35); //BA.debugLineNum = 263;BA.debugLine="LogColor(\"If Tracker.FLP.IsInitialized --> \"&Las"; -anywheresoftware.b4a.keywords.Common.LogImpl("383689510","If Tracker.FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 266;BA.debugLine="End Sub"; -return ""; -} -public static String _revisauug() throws Exception{ -int _daa = 0; - //BA.debugLineNum = 270;BA.debugLine="Sub revisaUUG 'ignore"; - //BA.debugLineNum = 271;BA.debugLine="Try"; -try { //BA.debugLineNum = 273;BA.debugLine="If FLP.IsInitialized And FLP.IsConnected Then"; -if (_flp.IsInitialized() && _flp.IsConnected()) { - //BA.debugLineNum = 274;BA.debugLine="Try"; -try { //BA.debugLineNum = 275;BA.debugLine="If FLP.GetLastKnownLocation.IsInitialized Then"; -if (_flp.GetLastKnownLocation().IsInitialized()) { - //BA.debugLineNum = 277;BA.debugLine="Dim daa As Int = UUGCoords.DistanceTo(FLP.Get"; -_daa = (int) (_uugcoords.DistanceTo((android.location.Location)(_flp.GetLastKnownLocation().getObject()))); - //BA.debugLineNum = 278;BA.debugLine="If Starter.Logger Then LogColor($\"**** UUC \"$"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("383755016",("**** UUC \""+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("",(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getAccuracy()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLatitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.8",(Object)(_flp.GetLastKnownLocation().getLongitude()))+"|"+anywheresoftware.b4a.keywords.Common.SmartStringFormatter("0.2",(Object)(_flp.GetLastKnownLocation().getSpeed()))+"|"),anywheresoftware.b4a.keywords.Common.Colors.RGB((int) (255),(int) (112),(int) (35)));}; - //BA.debugLineNum = 279;BA.debugLine="If daa > 40 And FLP.GetLastKnownLocation.Accu"; -if (_daa>40 && _flp.GetLastKnownLocation().getAccuracy()<35) { - //BA.debugLineNum = 280;BA.debugLine="B4XPages.MainPage.skmt.ExecNonQuery2(\"INSERT"; -mostCurrent._b4xpages._mainpage /*adm.keymon.com.mx.b4xmainpage*/ (processBA)._skmt /*anywheresoftware.b4a.sql.SQL*/ .ExecNonQuery2("INSERT INTO RUTA_GPS(fecha, lat, lon) VALUES (?,?,?)",anywheresoftware.b4a.keywords.Common.ArrayToList(new Object[]{(Object)(mostCurrent._subs._fechakmt /*String*/ (processBA,BA.NumberToString(_flp.GetLastKnownLocation().getTime()))),(Object)(_flp.GetLastKnownLocation().getLatitude()),(Object)(_flp.GetLastKnownLocation().getLongitude())})); - //BA.debugLineNum = 281;BA.debugLine="If Starter.Logger Then Log(\"++++ Distancia a"; -if (mostCurrent._starter._logger /*boolean*/ ) { -anywheresoftware.b4a.keywords.Common.LogImpl("383755019","++++ Distancia a anterior="+BA.NumberToString(_daa)+"|"+"Precision="+BA.NumberToString(_flp.GetLastKnownLocation().getAccuracy()),0);}; - }; - //BA.debugLineNum = 283;BA.debugLine="UUGCoords = FLP.GetLastKnownLocation"; -_uugcoords = _flp.GetLastKnownLocation(); - }; - } - catch (Exception e14) { - processBA.setLastException(e14); //BA.debugLineNum = 286;BA.debugLine="LogColor(\"FLP.GetLastKnownLocation.IsInitializ"; -anywheresoftware.b4a.keywords.Common.LogImpl("383755024","FLP.GetLastKnownLocation.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - }else { - //BA.debugLineNum = 289;BA.debugLine="Log(\"StartFLP\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("383755027","StartFLP",0); - //BA.debugLineNum = 290;BA.debugLine="StartFLP"; -_startflp(); - }; - } - catch (Exception e21) { - processBA.setLastException(e21); //BA.debugLineNum = 293;BA.debugLine="LogColor(\"If FLP.IsInitialized --> \"&LastExcepti"; -anywheresoftware.b4a.keywords.Common.LogImpl("383755031","If FLP.IsInitialized --> "+BA.ObjectToString(anywheresoftware.b4a.keywords.Common.LastException(processBA)),anywheresoftware.b4a.keywords.Common.Colors.Red); - }; - //BA.debugLineNum = 295;BA.debugLine="End Sub"; -return ""; -} -public static String _service_create() throws Exception{ - //BA.debugLineNum = 42;BA.debugLine="Sub Service_Create"; - //BA.debugLineNum = 43;BA.debugLine="Service.AutomaticForegroundMode = Service.AUTOMAT"; -mostCurrent._service.AutomaticForegroundMode = mostCurrent._service.AUTOMATIC_FOREGROUND_NEVER; - //BA.debugLineNum = 45;BA.debugLine="FLP.Initialize(\"flp\")"; -_flp.Initialize(processBA,"flp"); - //BA.debugLineNum = 46;BA.debugLine="FLP.Connect"; -_flp.Connect(); - //BA.debugLineNum = 47;BA.debugLine="lock.PartialLock"; -_lock.PartialLock(processBA); - //BA.debugLineNum = 48;BA.debugLine="StartFLP"; -_startflp(); - //BA.debugLineNum = 49;BA.debugLine="End Sub"; -return ""; -} -public static String _service_destroy() throws Exception{ - //BA.debugLineNum = 206;BA.debugLine="Sub Service_Destroy"; - //BA.debugLineNum = 207;BA.debugLine="If Tracking Then"; -if (_tracking) { - //BA.debugLineNum = 208;BA.debugLine="StopFLP"; -_stopflp(); - }; - //BA.debugLineNum = 210;BA.debugLine="Tracking = False"; -_tracking = anywheresoftware.b4a.keywords.Common.False; - //BA.debugLineNum = 211;BA.debugLine="lock.ReleasePartialLock"; -_lock.ReleasePartialLock(); - //BA.debugLineNum = 212;BA.debugLine="End Sub"; -return ""; -} -public static String _service_start(anywheresoftware.b4a.objects.IntentWrapper _startingintent) throws Exception{ - //BA.debugLineNum = 60;BA.debugLine="Sub Service_Start (StartingIntent As Intent)"; - //BA.debugLineNum = 62;BA.debugLine="Service.StopAutomaticForeground"; -mostCurrent._service.StopAutomaticForeground(); - //BA.debugLineNum = 63;BA.debugLine="Service.StartForeground(nid, CreateNotification(\""; -mostCurrent._service.StartForeground(_nid,(android.app.Notification)(_createnotification("...").getObject())); - //BA.debugLineNum = 64;BA.debugLine="Track"; -_track(); - //BA.debugLineNum = 65;BA.debugLine="StartServiceAt(Me, DateTime.Now + 5 * DateTime.Ti"; -anywheresoftware.b4a.keywords.Common.StartServiceAt(processBA,tracker.getObject(),(long) (anywheresoftware.b4a.keywords.Common.DateTime.getNow()+5*anywheresoftware.b4a.keywords.Common.DateTime.TicksPerMinute),anywheresoftware.b4a.keywords.Common.True); - //BA.debugLineNum = 66;BA.debugLine="FLP.GetLastKnownLocation.Initialize"; -_flp.GetLastKnownLocation().Initialize(); - //BA.debugLineNum = 67;BA.debugLine="End Sub"; -return ""; -} -public static void _startflp() throws Exception{ -ResumableSub_StartFLP rsub = new ResumableSub_StartFLP(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_StartFLP extends BA.ResumableSub { -public ResumableSub_StartFLP(adm.keymon.com.mx.tracker parent) { -this.parent = parent; -} -adm.keymon.com.mx.tracker parent; - -@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 = 87;BA.debugLine="Do While FLP.IsConnected = False"; -if (true) break; - -case 1: -//do while -this.state = 4; -while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { -this.state = 3; -if (true) break; -} -if (true) break; - -case 3: -//C -this.state = 1; - //BA.debugLineNum = 88;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); -this.state = 5; -return; -case 5: -//C -this.state = 1; -; - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 93;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequest)"; -parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequest().getObject())); - //BA.debugLineNum = 96;BA.debugLine="flpStarted = True"; -parent._flpstarted = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 98;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static void _startflpsmall() throws Exception{ -ResumableSub_StartFLPSmall rsub = new ResumableSub_StartFLPSmall(null); -rsub.resume(processBA, null); -} -public static class ResumableSub_StartFLPSmall extends BA.ResumableSub { -public ResumableSub_StartFLPSmall(adm.keymon.com.mx.tracker parent) { -this.parent = parent; -} -adm.keymon.com.mx.tracker parent; - -@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 = 102;BA.debugLine="Do While FLP.IsConnected = False"; -if (true) break; - -case 1: -//do while -this.state = 4; -while (parent._flp.IsConnected()==anywheresoftware.b4a.keywords.Common.False) { -this.state = 3; -if (true) break; -} -if (true) break; - -case 3: -//C -this.state = 1; - //BA.debugLineNum = 103;BA.debugLine="Sleep(500)"; -anywheresoftware.b4a.keywords.Common.Sleep(processBA,this,(int) (500)); -this.state = 5; -return; -case 5: -//C -this.state = 1; -; - //BA.debugLineNum = 104;BA.debugLine="Log(\"sleeping\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("383099652","sleeping",0); - if (true) break; - -case 4: -//C -this.state = -1; -; - //BA.debugLineNum = 106;BA.debugLine="dameUltimaUbicacionConocida 'Regresamos ultima ub"; -_dameultimaubicacionconocida(); - //BA.debugLineNum = 107;BA.debugLine="FLP.RequestLocationUpdates(CreateLocationRequestS"; -parent._flp.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_createlocationrequestsmalld().getObject())); - //BA.debugLineNum = 110;BA.debugLine="End Sub"; -if (true) break; - - } - } - } -} -public static String _stopflp() throws Exception{ - //BA.debugLineNum = 147;BA.debugLine="Public Sub StopFLP"; - //BA.debugLineNum = 149;BA.debugLine="If flpStarted Then"; -if (_flpstarted) { - //BA.debugLineNum = 150;BA.debugLine="FLP.RemoveLocationUpdates 'Eliminamos todas las"; -_flp.RemoveLocationUpdates(); - //BA.debugLineNum = 151;BA.debugLine="flpStarted = False"; -_flpstarted = anywheresoftware.b4a.keywords.Common.False; - }; - //BA.debugLineNum = 153;BA.debugLine="End Sub"; -return ""; -} -public static String _track() throws Exception{ - //BA.debugLineNum = 69;BA.debugLine="Public Sub Track"; - //BA.debugLineNum = 71;BA.debugLine="If Not(FLP.IsInitialized) Then FLP.Initialize(\"fl"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsInitialized())) { -_flp.Initialize(processBA,"flp");}; - //BA.debugLineNum = 72;BA.debugLine="If Not(FLP.IsConnected) Then FLP.Connect"; -if (anywheresoftware.b4a.keywords.Common.Not(_flp.IsConnected())) { -_flp.Connect();}; - //BA.debugLineNum = 73;BA.debugLine="If Tracking And actualLR.IsInitialized Then"; -if (_tracking && _actuallr.IsInitialized()) { - //BA.debugLineNum = 75;BA.debugLine="Return 'Si ya estamos \"rastreando\" no hacemos na"; -if (true) return ""; - }; - //BA.debugLineNum = 77;BA.debugLine="If Starter.rp.Check(Starter.rp.PERMISSION_ACCESS_"; -if (mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .Check(mostCurrent._starter._rp /*anywheresoftware.b4a.objects.RuntimePermissions*/ .PERMISSION_ACCESS_FINE_LOCATION)==anywheresoftware.b4a.keywords.Common.False) { - //BA.debugLineNum = 78;BA.debugLine="Log(\"No permission\")"; -anywheresoftware.b4a.keywords.Common.LogImpl("382968585","No permission",0); - //BA.debugLineNum = 79;BA.debugLine="Return"; -if (true) return ""; - }; - //BA.debugLineNum = 81;BA.debugLine="StartFLP 'Iniciamos FusedLocationProvider"; -_startflp(); - //BA.debugLineNum = 82;BA.debugLine="Tracking = True"; -_tracking = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 83;BA.debugLine="End Sub"; -return ""; -} -} diff --git a/B4A/Objects/src/adm/keymon/com/mx/xuiviewsutils.java b/B4A/Objects/src/adm/keymon/com/mx/xuiviewsutils.java deleted file mode 100644 index fd4cf9b..0000000 --- a/B4A/Objects/src/adm/keymon/com/mx/xuiviewsutils.java +++ /dev/null @@ -1,159 +0,0 @@ -package adm.keymon.com.mx; - - -import anywheresoftware.b4a.BA; -import anywheresoftware.b4a.BALayout; -import anywheresoftware.b4a.debug.*; - -public class xuiviewsutils { -private static xuiviewsutils mostCurrent = new xuiviewsutils(); -public static Object getObject() { - throw new RuntimeException("Code module does not support this method."); -} - public anywheresoftware.b4a.keywords.Common __c = null; -public static boolean _utilsinitialized = false; -public static anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null; -public b4a.example.dateutils _dateutils = null; -public adm.keymon.com.mx.main _main = null; -public adm.keymon.com.mx.appupdater _appupdater = null; -public adm.keymon.com.mx.mapa_rutas _mapa_rutas = null; -public adm.keymon.com.mx.notificationservice _notificationservice = null; -public adm.keymon.com.mx.pendientes _pendientes = null; -public adm.keymon.com.mx.starter _starter = null; -public adm.keymon.com.mx.subs _subs = null; -public adm.keymon.com.mx.tracker _tracker = null; -public adm.keymon.com.mx.newinst2 _newinst2 = null; -public adm.keymon.com.mx.b4xpages _b4xpages = null; -public adm.keymon.com.mx.b4xcollections _b4xcollections = null; -public adm.keymon.com.mx.httputils2service _httputils2service = null; -public static String _addstubtoclvifneeded(anywheresoftware.b4a.BA _ba,b4a.example3.customlistview _customlistview1,int _color) throws Exception{ -b4a.example3.customlistview._clvitem _lastitem = null; -anywheresoftware.b4a.objects.B4XViewWrapper _p = null; -int _height = 0; - //BA.debugLineNum = 34;BA.debugLine="Public Sub AddStubToCLVIfNeeded(CustomListView1 As"; - //BA.debugLineNum = 35;BA.debugLine="If CustomListView1.Size = 0 Then Return"; -if (_customlistview1._getsize()==0) { -if (true) return "";}; - //BA.debugLineNum = 36;BA.debugLine="Dim LastItem As CLVItem = CustomListView1.GetRawL"; -_lastitem = _customlistview1._getrawlistitem((int) (_customlistview1._getsize()-1)); - //BA.debugLineNum = 37;BA.debugLine="If LastItem.Offset + LastItem.Panel.Height < Cust"; -if (_lastitem.Offset+_lastitem.Panel.getHeight()<_customlistview1._asview().getHeight()) { - //BA.debugLineNum = 39;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"stub\")"; -_p = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_p = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),"stub"); - //BA.debugLineNum = 40;BA.debugLine="p.Color = Color"; -_p.setColor(_color); - //BA.debugLineNum = 41;BA.debugLine="Dim Height As Int = CustomListView1.AsView.Heigh"; -_height = (int) (_customlistview1._asview().getHeight()-_lastitem.Offset-_lastitem.Panel.getHeight()-anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (3))); - //BA.debugLineNum = 42;BA.debugLine="If xui.IsB4J Then Height = Height + 5"; -if (_xui.getIsB4J()) { -_height = (int) (_height+5);}; - //BA.debugLineNum = 43;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, CustomListView1.AsV"; -_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),_customlistview1._asview().getWidth(),_height); - //BA.debugLineNum = 44;BA.debugLine="CustomListView1.Add(p, \"\")"; -_customlistview1._add(_p,(Object)("")); - //BA.debugLineNum = 45;BA.debugLine="CustomListView1.sv.ScrollViewContentHeight = Cus"; -_customlistview1._sv.setScrollViewContentHeight((int) (_customlistview1._sv.getScrollViewContentHeight()-_customlistview1._getdividersize())); - }; - //BA.debugLineNum = 47;BA.debugLine="End Sub"; -return ""; -} -public static adm.keymon.com.mx.b4ximageview _createb4ximageview(anywheresoftware.b4a.BA _ba) throws Exception{ -adm.keymon.com.mx.b4ximageview _iv = null; -anywheresoftware.b4a.objects.B4XViewWrapper _base = null; - //BA.debugLineNum = 85;BA.debugLine="Public Sub CreateB4XImageView As B4XImageView"; - //BA.debugLineNum = 86;BA.debugLine="Dim iv As B4XImageView"; -_iv = new adm.keymon.com.mx.b4ximageview(); - //BA.debugLineNum = 87;BA.debugLine="iv.Initialize(Null, \"\")"; -_iv._initialize /*String*/ (_ba,anywheresoftware.b4a.keywords.Common.Null,""); - //BA.debugLineNum = 88;BA.debugLine="Dim base As B4XView = xui.CreatePanel(\"\")"; -_base = new anywheresoftware.b4a.objects.B4XViewWrapper(); -_base = _xui.CreatePanel((_ba.processBA == null ? _ba : _ba.processBA),""); - //BA.debugLineNum = 89;BA.debugLine="base.SetLayoutAnimated(0, 0, 0, 100dip, 100dip)"; -_base.SetLayoutAnimated((int) (0),(int) (0),(int) (0),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100)),anywheresoftware.b4a.keywords.Common.DipToCurrent((int) (100))); - //BA.debugLineNum = 90;BA.debugLine="iv.DesignerCreateView(base, Null, CreateMap(\"Roun"; -_iv._designercreateview /*String*/ ((Object)(_base.getObject()),(anywheresoftware.b4a.objects.LabelWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.LabelWrapper(), (android.widget.TextView)(anywheresoftware.b4a.keywords.Common.Null)),anywheresoftware.b4a.keywords.Common.createMap(new Object[] {(Object)("Round"),(Object)(anywheresoftware.b4a.keywords.Common.False),(Object)("ResizeMode"),(Object)("FIT"),(Object)("BackgroundColor"),(Object)(((int)0xffaaaaaa)),(Object)("CornersRadius"),(Object)(0)})); - //BA.debugLineNum = 91;BA.debugLine="Return iv"; -if (true) return _iv; - //BA.debugLineNum = 92;BA.debugLine="End Sub"; -return null; -} -public static anywheresoftware.b4a.objects.B4XViewWrapper _createlabel(anywheresoftware.b4a.BA _ba) throws Exception{ -anywheresoftware.b4a.objects.LabelWrapper _lbl = null; - //BA.debugLineNum = 78;BA.debugLine="Public Sub CreateLabel As B4XView"; - //BA.debugLineNum = 79;BA.debugLine="Dim lbl As Label"; -_lbl = new anywheresoftware.b4a.objects.LabelWrapper(); - //BA.debugLineNum = 80;BA.debugLine="lbl.Initialize(\"\")"; -_lbl.Initialize(_ba,""); - //BA.debugLineNum = 81;BA.debugLine="Return lbl"; -if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_lbl.getObject())); - //BA.debugLineNum = 82;BA.debugLine="End Sub"; -return null; -} -public static String _initialize(anywheresoftware.b4a.BA _ba) throws Exception{ - //BA.debugLineNum = 10;BA.debugLine="Private Sub Initialize"; - //BA.debugLineNum = 11;BA.debugLine="If UtilsInitialized Then Return"; -if (_utilsinitialized) { -if (true) return "";}; - //BA.debugLineNum = 12;BA.debugLine="UtilsInitialized = True"; -_utilsinitialized = anywheresoftware.b4a.keywords.Common.True; - //BA.debugLineNum = 19;BA.debugLine="End Sub"; -return ""; -} -public static String _performhapticfeedback(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; - //BA.debugLineNum = 21;BA.debugLine="Public Sub PerformHapticFeedback (View As B4XView)"; - //BA.debugLineNum = 22;BA.debugLine="Initialize"; -_initialize(_ba); - //BA.debugLineNum = 24;BA.debugLine="Dim jo As JavaObject = View"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 25;BA.debugLine="jo.RunMethod(\"performHapticFeedback\", Array(1))"; -_jo.RunMethod("performHapticFeedback",new Object[]{(Object)(1)}); - //BA.debugLineNum = 31;BA.debugLine="End Sub"; -return ""; -} -public static String _process_globals() throws Exception{ - //BA.debugLineNum = 2;BA.debugLine="Sub Process_Globals"; - //BA.debugLineNum = 6;BA.debugLine="Private UtilsInitialized As Boolean"; -_utilsinitialized = false; - //BA.debugLineNum = 7;BA.debugLine="Private xui As XUI"; -_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI(); - //BA.debugLineNum = 8;BA.debugLine="End Sub"; -return ""; -} -public static String _setalpha(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _view,float _level) throws Exception{ -anywheresoftware.b4j.object.JavaObject _jo = null; -float _alpha = 0f; - //BA.debugLineNum = 95;BA.debugLine="Public Sub SetAlpha (View As B4XView, Level As Flo"; - //BA.debugLineNum = 97;BA.debugLine="Dim jo As JavaObject = View"; -_jo = new anywheresoftware.b4j.object.JavaObject(); -_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_view.getObject())); - //BA.debugLineNum = 98;BA.debugLine="Dim alpha As Float = Level"; -_alpha = _level; - //BA.debugLineNum = 99;BA.debugLine="jo.RunMethod(\"setAlpha\", Array(alpha))"; -_jo.RunMethod("setAlpha",new Object[]{(Object)(_alpha)}); - //BA.debugLineNum = 107;BA.debugLine="End Sub"; -return ""; -} -public static String _setbitmapandfill(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _imageview,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp) throws Exception{ -anywheresoftware.b4a.objects.ImageViewWrapper _iiv = null; - //BA.debugLineNum = 65;BA.debugLine="Public Sub SetBitmapAndFill (ImageView As B4XView,"; - //BA.debugLineNum = 66;BA.debugLine="ImageView.SetBitmap(Bmp)"; -_imageview.SetBitmap((android.graphics.Bitmap)(_bmp.getObject())); - //BA.debugLineNum = 67;BA.debugLine="Dim iiv As ImageView = ImageView"; -_iiv = new anywheresoftware.b4a.objects.ImageViewWrapper(); -_iiv = (anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_imageview.getObject())); - //BA.debugLineNum = 69;BA.debugLine="iiv.Gravity = Gravity.FILL"; -_iiv.setGravity(anywheresoftware.b4a.keywords.Common.Gravity.FILL); - //BA.debugLineNum = 75;BA.debugLine="End Sub"; -return ""; -} -public static String _settextorcsbuildertolabel(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.B4XViewWrapper _xlbl,Object _text) throws Exception{ - //BA.debugLineNum = 50;BA.debugLine="Public Sub SetTextOrCSBuilderToLabel(xlbl As B4XVi"; - //BA.debugLineNum = 52;BA.debugLine="xlbl.Text = Text"; -_xlbl.setText(BA.ObjectToCharSequence(_text)); - //BA.debugLineNum = 62;BA.debugLine="End Sub"; -return ""; -} -}